id stringlengths 22 22 | code stringlengths 192 136k | num_ops int64 1 59 | face_count int64 1 4.31k | volume float64 0 17.4 |
|---|---|---|---|---|
train_a9ba60e0432206de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, 0.004, 0.063), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-1.195, -0.584).lineTo(-0.489, -0.122).lineTo(0.204, 0.37).lineTo(1.195, 0.584).lineTo(0.399, 0.031).lineTo(-0.152, -0.347).lineTo(-1.195, -0.584).close().extrude(0.153)
result = re... | 8 | 52 | 0.075348 |
train_86c5be2b07236209 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.066, -0.181, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.868, 1.565).extrude(0.569)
result = result.union(cq.Workplane(cq.Plane(origin=(0.05, 0.764, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.988, 0.4).extrude(0.316))
result = resu... | 8 | 36 | 1.68556 |
train_f4f00f85e2f3fff8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.183, -0.305, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.635, 1.174).extrude(1.082)
result = result.faces('>Y').shell(-0.059)
result = result.union(cq.Workplane(cq.Plane(origin=(0.545, 0.39, 0.249), normal=(1, 0, 0), xDir=(0, 0, 1))).move... | 8 | 112 | 0.829502 |
train_232224503230eb1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.827, 0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.107, 0.042).lineTo(0.107, 0.173).lineTo(-0.107, 0.173).lineTo(-0.107, -0.173).lineTo(0.107, -0.173).lineTo(0.107, 0.042).close().sweep(cq.Workplane('YZ').spline([(-0.827, -0.136), (-0.... | 6 | 35 | 0.035981 |
train_53bc2b9d6e501135 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.267, -0.261, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.544).lineTo(0.309, 0.544).lineTo(0.309, -0.009).lineTo(0.043, -0.009).threePointArc((-0.001, -0.01), (-0.045, -0.009)).lineTo(-0.309, -0.009).lineTo(-0.309, 0.046).lineTo(-0.309, 0... | 5 | 73 | 0.385635 |
train_22c34a00d605f01f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.515, -0.493), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.493, 1.515).lineTo(0.493, 0.152).lineTo(0, 0.152).lineTo(0, -0.239).lineTo(-0.493, -0.239).lineTo(-0.493, -0.109).lineTo(-0.13, -0.109).lineTo(-0.13, 0.152).lineTo(-0.493, 0.152).lineT... | 8 | 54 | 4.553976 |
train_ecc4c36915ae2630 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.647, 0.01, -0.604), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.425, -0.089).threePointArc((-0.012, 0.059), (0.425, 0.109)).lineTo(0.425, -0.089).lineTo(-0.425, -0.089).close().extrude(1.293)
result = result.edges().chamfer(0.032)
result = res... | 10 | 64 | 0.189361 |
train_0e203c6e4a2e2dd4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.479, -0.051, 0.011), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.194, 0.122).lineTo(-0.194, -0.036).lineTo(0.194, -0.036).lineTo(0.194, 0.122).lineTo(-0.194, 0.122).close().extrude(0.33)
result = result.edges().fillet(0.028)
result = result.un... | 13 | 88 | 0.122193 |
train_30ca61448b1a81e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.439, 0.686, -0.378), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.527, 1.109).lineTo(-0.622, 1.109).lineTo(-0.622, -0.231).lineTo(0.622, -0.231).lineTo(0.622, 1.109).lineTo(-0.527, 1.109).close().extrude(1.372)
result = result.edges().fillet(0.... | 25 | 290 | 1.491454 |
train_3a2ee3fed80f92d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.018, -0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.916, 1.965).extrude(0.74)
result = result.union(cq.Workplane(cq.Plane(origin=(0.095, 0.08, 0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.724, 1.769).extrude(0.049))
result = result.... | 18 | 101 | 2.609701 |
train_d99187f46f5d6530 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.813, 0.285, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.917, 0.291).lineTo(-1, 0.291).lineTo(-1, 1.542).lineTo(1, 1.542).lineTo(1, 0.084).lineTo(0.917, 0.084).lineTo(0.917, 0.291).close().workplane(offset=0.081).moveTo(0.825, 0.344).lineTo(... | 7 | 36 | 0.655873 |
train_2c2322ae52e91e23 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.295, 0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.293).sweep(cq.Workplane('YZ').spline([(0.295, 0.403), (0.518, 0.587), (0.741, 0.679), (0.964, 0.679), (1.187, 0.587), (1.41, 0.403)]))
result = result.edges().chamfer(0.043)
result = re... | 7 | 21 | 0.216521 |
train_d3dd40f9bb52cfbd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.336, 1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.013, -0.252).lineTo(-0.013, 0.252).lineTo(-0.245, 0.252).lineTo(-0.245, 0.226).lineTo(-0.272, 0.226).lineTo(-0.272, 0.279).lineTo(0.272, 0.279).lineTo(0.272, -0.279).lineTo(-0.245, -0.279)... | 3 | 18 | 0.151695 |
train_f6fcb6dd37fc72c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.232, 0.22, -0.693), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.436, 1.56).extrude(1.693)
result = result.union(cq.Workplane(cq.Plane(origin=(0.288, 0.368, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.62, 0.551).extrude(0.324))
result = resu... | 18 | 207 | 3.075127 |
train_6a27186553463246 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.3, 0.369, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.112, -0.285).lineTo(0.112, -0.285).lineTo(0.178, 0.885).lineTo(-0.178, 0.885).lineTo(-0.112, -0.285).close().workplane(offset=0.18).moveTo(-0.12, -0.326).lineTo(0.12, -0.326).lineTo(0.1... | 35 | 75 | 0.219237 |
train_8ee665b3a7e11e5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.085, 0.033, 0.255), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.139, -0.915).lineTo(-0.139, 1.085).lineTo(0.028, 1.085).lineTo(0.139, -0.915).lineTo(-0.139, -0.915).close().extrude(0.28)
result = result.edges().chamfer(0.021)
result = result.u... | 9 | 82 | 0.091824 |
train_10c75a5d2bc44541 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.229, -0.501), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.13, 1.543).extrude(0.614)
result = result.union(cq.Workplane(cq.Plane(origin=(0.054, 0.759, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.509, 0.481).extrude(0.293))
result = resul... | 32 | 99 | 0.813033 |
train_7c91cc030ddf0a0f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.628).workplane(offset=0.306).circle(0.787).workplane(offset=0.327).circle(0.744).workplane(offset=0.334).circle(0.61).workplane(offset=0.339).circle(0.63).workplane(offset=0.38).circle(0.85).w... | 15 | 49 | 1.905358 |
train_c1fa8ac538bea701 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.376, -0.346, -0.096), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.806, -0.654).lineTo(-0.806, 1.346).lineTo(-0.194, 1.346).threePointArc((0.806, 0.346), (-0.194, -0.654)).lineTo(-0.806, -0.654).close().extrude(0.786)
result = result.edges().ch... | 6 | 33 | 1.766577 |
train_85c46f901995cc64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.288, -0.335), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.219, 1.424).extrude(0.359)
result = result.union(cq.Workplane(cq.Plane(origin=(0.061, 0.359, 0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.097, 1.282).extrude(0.056))
result = result... | 5 | 28 | 0.838008 |
train_87f39e7c29f8cac3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.579, 0.492, 0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.049, 0.097).threePointArc((0.049, 0), (-0.049, -0.097)).lineTo(-0.049, -0.092).lineTo(-0.049, 0.092).lineTo(-0.049, 0.097).close().sweep(cq.Workplane('YZ').spline([(0.492, 0.066),... | 17 | 194 | 0.967228 |
train_e47375b63f0e8493 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.146, 0.146, -0.788), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.06, 1.146).extrude(1.213)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.216, 0.146, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.353, 0.795).extrude(0.114))
result = res... | 15 | 77 | 1.268876 |
train_3ab3613ca0ff7792 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.173, -0.488, -0.559), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.032, 0.059).threePointArc((0.307, 0.161), (0.447, 0.418)).threePointArc((0.4, 0.68), (0.206, 0.861)).threePointArc((0.032, 0.898), (-0.141, 0.861)).lineTo(-0.447, 0.861).lineTo(-... | 10 | 120 | 1.731608 |
train_03742a7e7c12f582 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -1.145, -0.437), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.972, 1.998).lineTo(-1.002, 1.274).lineTo(-0.004, 0.209).lineTo(1.002, 1.152).lineTo(1.002, 1.998).lineTo(-0.972, 1.998).close().extrude(0.874)
result = result.edges().fillet(0.1... | 7 | 127 | 2.027162 |
train_7b30f2fad73f4bcf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.066, 0.015, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.521, -0.954).lineTo(0.517, -0.967).lineTo(0.542, 0.94).lineTo(-0.538, 0.985).close().moveTo(0.065, 0.171).lineTo(0.026, 0.129).lineTo(0.034, 0.216).lineTo(-0.078, 0.106).lineTo(-0... | 10 | 89 | 0.581887 |
train_274505683db2aed0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.229, -0.008, 0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.771, 0.007).lineTo(0.383, 0.649).lineTo(-0.362, 0.676).lineTo(-0.782, 0.006).lineTo(-0.386, -0.66).lineTo(0.369, -0.659).close().moveTo(-0.252, -0.168).lineTo(-0.209, -0.074).lineT... | 22 | 111 | 0.534411 |
train_2ad68a166fcd083e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.063, 0.01, -0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.96, 1.01).lineTo(-0.875, 0.318).lineTo(0.166, 0.318).lineTo(0.96, 1.01).lineTo(-0.96, 1.01).close().revolve(angleDegrees=270, axisStart=(0, 0), axisEnd=(0.601, 0))
result = result.e... | 5 | 26 | 3.027573 |
train_156b033d2c692efc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.07, 0.229, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.446, 0.958).extrude(1.055)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.039, 0.381, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.172).extrude(0.151))
result = result.... | 9 | 82 | 0.682596 |
train_408a0bdbddaa435b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.741), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.754, 2).extrude(1.483)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.123, 0.338, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2.105, 0.175).extrude(0.553))
result = result.edges()... | 8 | 69 | 4.258634 |
train_4b705df4ab27437a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.774, 0, 0.187), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.837).workplane(offset=0.349).circle(0.663).workplane(offset=0.246).circle(0.794).workplane(offset=0.344).circle(0.543).workplane(offset=0.356).circle(0.606).workplane(offset=0.253).cir... | 12 | 32 | 1.338849 |
train_f877a07a6d271550 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, 0.216, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.83, 0.963).extrude(0.34)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.084, -0.05, -0.286), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.096).extrude(0.201))
result = result.un... | 32 | 137 | 2.579357 |
train_9fd784062d29cf75 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.465, 0.145, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.069, 0.896).extrude(0.316)
result = result.faces('>Z').shell(-0.038)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.57, -0.442, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).c... | 7 | 74 | 0.265012 |
train_a1bf1635d1523bed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.948, 0.732, 0.033), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.759, 1.137).lineTo(-0.762, 1.137).lineTo(-0.762, 0.062).lineTo(0.762, 0.062).lineTo(0.762, 1.137).lineTo(-0.759, 1.137).close().revolve(angleDegrees=90, axisStart=(-0.759, 1.137),... | 17 | 121 | 1.199077 |
train_92f9461864b205a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.181, 0.074, -0.135), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.131, -0.819).lineTo(-0.131, -0.819).lineTo(-0.131, 1.181).lineTo(-0.038, 1.181).lineTo(-0.038, 0.719).lineTo(0.131, 0.719).lineTo(0.131, -0.819).close().extrude(0.492)
result = re... | 14 | 178 | 0.249442 |
train_c254d8f213c60773 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, -0.705, 0.34), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.284, -0.263).lineTo(0.229, -0.308).lineTo(-0.284, 0.308).lineTo(-0.174, 0.287).lineTo(0.284, -0.263).close().sweep(cq.Workplane('YZ').spline([(-0.705, 0.34), (-0.222, -0.152), (0.2... | 2 | 26 | 0.099931 |
train_763ac3b6972f4fc4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.11, 0, -0.596), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.78, 1.087).extrude(1.191)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.539, -0.076, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.052).extrude(0.057))
result = result.cut(c... | 12 | 50 | 2.194257 |
train_f4521dace75cfde1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.299, 0.375, 0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.624, 0.644).extrude(0.551)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.149, 1.15, 0.581), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1.069, 1.023).lineTo(1.049, 1.057).lin... | 3 | 22 | 0.27054 |
train_ff174b53c9e85b17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.031, 0.239, -0.017), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.152, 0.574).threePointArc((0, 0.726), (-0.152, 0.574)).lineTo(-0.152, -0.133).lineTo(0.152, -0.133).lineTo(0.152, 0.574).close().extrude(0.477)
result = result.cut(cq.Workplane(c... | 12 | 54 | 0.798155 |
train_a1c82e85bb17e8b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.078, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.153, 1.072).threePointArc((0, -0.916), (-0.153, 1.072)).lineTo(0.153, 1.072).close().extrude(0.353)
result = result.edges().fillet(0.013)
result = result.cut(cq.Workplane(cq.Plane(ori... | 39 | 126 | 0.689457 |
train_3f161ba97d1bb426 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.3, -0.133, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.4, 1.385).extrude(0.126)
result = result.union(cq.Workplane(cq.Plane(origin=(0.069, 0.124, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.656, 0.429).extrude(0.046))
result = resul... | 17 | 75 | 0.195032 |
train_0ed93e9d161d5c2c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.137, 0.097, 0.056), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, -0.004).threePointArc((-0.012, -0.005), (-0.024, -0.008)).threePointArc((-0.039, -0.007), (-0.032, 0.006)).threePointArc((0.001, 0.008), (0.033, 0.006)).threePointArc((0.039, -0.0... | 3 | 44 | 0.025912 |
train_1af703dcea042558 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.306, -0.077, 0.031), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.647, 0.603).extrude(0.076)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.276, -0.077, 0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.239).extrude(0.009))
result = resu... | 25 | 140 | 0.29782 |
train_01997718df49d193 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.682), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.436).extrude(0.702)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.463, 0.121, -0.612), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.578, 0.205).extrude(0.343))
result = result.cut(cq.W... | 12 | 40 | 0.965645 |
train_d14ca8c14f410367 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.848, -0.131, 0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.144).transformed(offset=(0.085, 0.005, 0.025), rotate=(10, 0, 0)).circle(0.142).transformed(offset=(0.17, 0.011, 0.08), rotate=(0, 45, 0)).circle(0.099).transformed(offset=(0.255,... | 2 | 5 | 0.083924 |
train_616caaebeba185cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.02), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.019, 1.059).lineTo(0.019, -1.059).lineTo(-0.019, -1.059).lineTo(-0.019, 1.059).lineTo(0.019, 1.059).close().workplane(offset=0.014).moveTo(0.015, 0.819).lineTo(0.015, -0.819).lineTo(-0.015,... | 2 | 49 | 0.001386 |
train_83995ace0729fb0a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.026, 0.652, -0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.045).lineTo(0.014, 0.066).lineTo(0.019, 0.041).lineTo(0.039, 0.055).lineTo(0.035, 0.031).lineTo(0.059, 0.035).lineTo(0.045, 0.015).lineTo(0.069, 0.01).lineTo(0.049, -0.004).lin... | 9 | 96 | 0.042327 |
train_1b1041a450fade9f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.671), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.704, 2).extrude(1.387)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.682 + 0.2275, 0, -0.879), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.139, 0.035).lineTo(0.139, -0.035).lineTo(-0.... | 13 | 166 | 4.563439 |
train_8485d72bf8da37ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.273, -1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.05, -0.05).lineTo(0.05, -0.033).lineTo(0.036, -0.023).lineTo(0.026, -0.026).lineTo(0, 0).lineTo(0.026, 0.026).lineTo(0.023, 0.036).lineTo(-0.026, 0.026).lineTo(-0.05, 0.05).lineTo(-0.05,... | 1 | 12 | 0.011434 |
train_b4ac53a46acc0f8e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.267, -0.167, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.342, -0.165).lineTo(-0.019, 0.337).lineTo(-0.175, 0.58).lineTo(0.138, 0.58).lineTo(0, 0.366).lineTo(0.019, 0.337).lineTo(0, 0.308).lineTo(0.304, -0.165).lineTo(0.342, -0.165).li... | 12 | 97 | 0.330807 |
train_7d6d4794bc16b744 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.962, -0.106, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.016, -0.033).lineTo(0.02, -0.038).lineTo(0.038, -0.02).lineTo(0.033, -0.016).lineTo(-0.004, 0.016).lineTo(-0.021, 0.038).threePointArc((-0.023, 0.023), (-0.038, 0.021)).lineTo(-0... | 1 | 10 | 0.001124 |
train_6e0e0a32bfb07501 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.067, 0.461, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.306).sweep(cq.Workplane('YZ').spline([(0.461, 0.187), (0.504, 0.344), (0.348, 0.484), (0.055, 0.551), (-0.261, 0.519), (-0.478, 0.401), (-0.509, 0.242)]))
result = result.edges().chamf... | 4 | 12 | 0.646092 |
train_3c38f590b70afc81 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.032, 0, -0.516), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.205, 1.55).extrude(1.032)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.116, 0.24, -0.21), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.76, 0.327).lineTo(-0.591, 0.327).threePointA... | 17 | 124 | 0.932819 |
train_7b0320168ae2114a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.426, -0.007, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.331, -0.007).lineTo(-0.423, -0.007).lineTo(-0.423, 0.993).lineTo(0.423, 0.993).lineTo(0.423, -0.007).lineTo(0.331, -0.007).lineTo(0.331, 0.084).lineTo(-0.237, 0.084).lineTo(0.331, 0.3... | 4 | 22 | 0.521701 |
train_76c81c8dd1704e79 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.791), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, -0.153).lineTo(0, -0.826).lineTo(0.561, -0.826).lineTo(0.673, -0.714).lineTo(0.673, 0.3).lineTo(1, 0.3).lineTo(1, 0.826).lineTo(-1, 0.826).lineTo(-1, 0.3).lineTo(-0.673, 0.3).lineTo(-0.67... | 5 | 35 | 0.867172 |
train_a212b7f651c02203 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.185, -0.226, -0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.057, 1.057).extrude(0.445)
result = result.union(cq.Workplane(cq.Plane(origin=(0.238, -0.173, 0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.475).extrude(0.028))
result = result... | 16 | 119 | 0.629333 |
train_ecb27b1cc6d21285 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.56).extrude(0.094)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.8 + 0.2, -0.624 + 0.312, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.128, 0.156).lineTo(-0.114, 0.17).lin... | 9 | 102 | 0.280508 |
train_e0b32b1e2e9c210d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.307, -0.128, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.385, 0.497).extrude(0.274)
result = result.faces('<Y').shell(-0.018)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.101, 0.081, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).re... | 5 | 54 | 0.043505 |
train_2ddf0f798084d7e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.598, 0.102, 0.135), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.547, 0.023).lineTo(0.547, 0.251).lineTo(-0.547, 0.251).lineTo(-0.547, 0.023).lineTo(0.547, 0.023).close().extrude(0.451)
result = result.edges().fillet(0.093)
result = result.union... | 16 | 314 | 0.096135 |
train_28d8b87aab7177d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.358, -0.159, 0.004), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.349, 0.28).lineTo(-0.349, -0.044).lineTo(-0.17, -0.044).lineTo(-0.17, -0.244).lineTo(0.349, -0.244).lineTo(0.349, 0.28).lineTo(-0.349, 0.28).close().workplane(offset=0.102).move... | 8 | 72 | 0.320971 |
train_f24c0934e9bbdb82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.101, 0.515, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.647, 1.844).lineTo(-0.201, 1.749).lineTo(0.276, 1.648).lineTo(0.723, 1.553).lineTo(0.67, 1.306).lineTo(0.215, 1.403).lineTo(0.215, 0.359).lineTo(-0.23, 0.359).lineTo(-0.23, 1.384).lin... | 12 | 41 | 0.575541 |
train_2fca1c43f0d04e6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0.002, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.003, -0.026).lineTo(0.71, 0.67).lineTo(-0.02, 0.952).lineTo(-0.682, 0.696).lineTo(-0.997, 0.011).lineTo(-0.687, -0.677).lineTo(-0.003, -0.956).lineTo(0.668, -0.692).close().moveTo... | 12 | 69 | 1.303133 |
train_c7f7f55dae0e5f14 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.708, -0.122, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.183, -0.144).lineTo(0.183, -0.111).lineTo(-0.04, -0.111).lineTo(-0.139, 0.06).lineTo(-0.042, 0.115).lineTo(-0.059, 0.144).lineTo(-0.183, 0.072).lineTo(-0.059, -0.144).lineTo(0.183, -0... | 1 | 10 | 0.061763 |
train_2908d827fa6008ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.075, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.1, 0.885).threePointArc((0.187, 0.849), (0.262, 0.792)).threePointArc((0.324, 0.712), (0.362, 0.619)).threePointArc((0.374, 0.525), (0.362, 0.431)).threePointArc((0.412, 0.288), (0.262, 0.... | 8 | 63 | 0.936096 |
train_ede541e25137fcac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.201, 0.121, -0.373), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.685, 0.365).lineTo(-0.626, 0.287).lineTo(-0.584, 0.231).lineTo(-0.432, 0.028).lineTo(0.432, 0.028).lineTo(0.685, 0.365).lineTo(-0.685, 0.365).close().extrude(0.455)
result = res... | 8 | 99 | 0.237805 |
train_69f1704b085e5b54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.302, -0.423), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.96, 1.396).extrude(0.846)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.172, -0.687, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.313).extrude(0.324))
result = result.cu... | 3 | 17 | 1.985358 |
train_76db1c0b36c1f8b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.411, 0, -0.115), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.518, 0.523).lineTo(0, 0.823).lineTo(0, 0.719).lineTo(0.518, 1.018).lineTo(0.518, -0.42).lineTo(0, -0.42).lineTo(0, -0.719).lineTo(-0.518, -1.018).lineTo(-0.518, 0.523).close().extru... | 4 | 88 | 1.50475 |
train_b0cd431206d49fe2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.26, -0.306, 0.281), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.22, 0.364).lineTo(0.22, 0.364).lineTo(0.22, -0.364).lineTo(-0.036, -0.364).threePointArc((-0.073, -0.296), (-0.144, -0.269)).lineTo(-0.22, -0.269).lineTo(-0.22, 0.364).close().sw... | 4 | 24 | 0.106372 |
train_9919c4bab2629e07 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.368, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.235, -0.632).lineTo(0.235, 1.368).lineTo(-0.235, 1.368).lineTo(-0.235, -0.632).lineTo(0.235, -0.632).close().extrude(0.523)
result = result.edges().fillet(0.169)
result = result.cut(c... | 3 | 31 | 0.421075 |
train_0be8b42109b0abec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.283, -0.073), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.271, 0.155).lineTo(-0.333, 0.073).lineTo(-0.337, 0.073).lineTo(0.337, -0.155).lineTo(0.322, -0.146).lineTo(0.234, -0.101).lineTo(-0.139, 0.088).lineTo(-0.271, 0.155).close().sweep(c... | 2 | 15 | 0.035363 |
train_cb2584409a44c062 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.118, -0.528), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.098, -0.11).lineTo(-0.098, -0.103).lineTo(0.029, -0.103).threePointArc((0.034, -0.102), (0.039, -0.1)).threePointArc((0.044, -0.095), (0.046, -0.089)).lineTo(0.091, 0.11).lineTo(0.0... | 16 | 90 | 0.027732 |
train_2d137778c944ded4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.907, 0.001, 0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).threePointArc((-0.026, -0.072), (-0.026, -0.088)).threePointArc((-0.03, -0.097), (-0.037, -0.104)).threePointArc((-0.039, -0.107), (-0.042, -0.108)).threePointArc((-0.073, -0.11), (-0.093, ... | 1 | 12 | 0.00666 |
train_77a3c7532306515a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.617, 1.128).extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.124, -0.217, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.219).extrude(1.285))
result = result.cut(cq.Workplan... | 8 | 30 | 3.068242 |
train_5f41ad57cb54a73d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.281, -0.182, -0.403), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.439, 0.623).extrude(0.624)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.704, -0.099, -0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.592, 0.289).extrude(0.217))
result ... | 12 | 131 | 0.586976 |
train_c119e2a3bcc623b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.395, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.29, 0.32).extrude(0.248)
result = result.union(cq.Workplane(cq.Plane(origin=(0.033, 0.772, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.039, 0.457).extrude(0.014))
result = result.... | 5 | 100 | 0.023063 |
train_f98d40a4eefed44e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.31, -0.197, -0.132), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.928, 0.176).threePointArc((-0.518, 0.283), (-0.097, 0.329)).threePointArc((0, 0.327), (0.097, 0.329)).threePointArc((0.518, 0.283), (0.928, 0.176)).threePointArc((0.518, 0.068), ... | 17 | 174 | 0.174296 |
train_d3f306f6b43a64a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.178, 0.334, -0.197), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.452, 0.108).lineTo(-0.042, 0.475).lineTo(-0.803, 0.475).lineTo(-0.803, 0.752).lineTo(0.165, 0.752).lineTo(0.773, 0.3).lineTo(0.803, -0.478).lineTo(0.452, 0.108).close().extrude(1.... | 16 | 272 | 1.088943 |
train_e0fd3d191a893c90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.508, 0.444, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.86, 0.492).lineTo(-0.86, 0.133).lineTo(-0.756, 0.133).lineTo(-0.756, -0.492).lineTo(0.788, -0.492).lineTo(0.788, -0.272).lineTo(0.86, -0.272).lineTo(0.86, 0.174).lineTo(-0.236, 0.174... | 2 | 22 | 0.267584 |
train_0fcab87a81904ecb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.205, -0.793), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.355, 1.591).extrude(0.994)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.249, -0.787, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.213).extrude(0.451))
result = result.c... | 15 | 189 | 1.700795 |
train_bb19091480328b48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, -0.437, -0.082), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.083, -0.082).threePointArc((0.117, -0.069), (0.111, -0.033)).lineTo(-0.019, 0.082).threePointArc((-0.117, 0.066), (-0.082, -0.026)).lineTo(0.083, -0.082).close().sweep(cq.Workpla... | 9 | 43 | 0.063098 |
train_146a5752baa131d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.099, -0.008, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.06, 0.001).lineTo(0.337, 1.008).lineTo(-0.852, 0.6).lineTo(-0.862, -0.6).lineTo(0.309, -0.992).close().moveTo(-0.51, 0.054).lineTo(-0.553, 0.054).lineTo(-0.568, 0.048).lineTo(-0.... | 15 | 101 | 1.512018 |
train_afd2b9e713fc0c4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.186, 1).threePointArc((-0.231, 0.89), (-0.341, 0.845)).lineTo(-0.341, 0.256).lineTo(0.031, 0.256).lineTo(0.031, 0.566).lineTo(0.341, 0.566).lineTo(0.341, 1).lineTo(0.031, 1).lineTo(-0.186, 1)... | 7 | 21 | 1.521971 |
train_cdcd910a988c2bad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.086, -0.132, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.597, 0.923).extrude(0.125)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.133, 0.503, -0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.839, 0.421).extrude(0.106))
result =... | 18 | 83 | 0.176004 |
train_6b6290b127d3475a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.694), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.748, 0.588).lineTo(-0.748, 0.429).lineTo(0.429, 0.429).lineTo(0.429, -0.748).lineTo(0.748, -0.748).lineTo(0.748, 0.588).lineTo(0.588, 0.588).lineTo(0.588, 0.748).lineTo(0.429, 0.748).line... | 5 | 43 | 0.898207 |
train_ebaa7060d2b42e61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.413, 0.548, -0.375), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.355).workplane(offset=0.286).circle(0.582).workplane(offset=0.211).circle(0.575).workplane(offset=0.202).circle(0.245).workplane(offset=0.253).circle(0.245).loft()
result = resul... | 20 | 99 | 0.577627 |
train_a8bb70db2e79f4f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.143, -0.005, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.284, 0.037).extrude(0.025)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.428, -0.012, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.317, 0.006).extrude(0.011))
result... | 9 | 57 | 0.000916 |
train_84739419f2bfa788 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, -0.065, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.754, 1.166).extrude(1.797)
result = result.union(cq.Workplane(cq.Plane(origin=(0.054, 0.582, 0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.06, 0.133).extrude(0.122))
result = resul... | 12 | 81 | 1.457013 |
train_5ed33106de4e4fac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.183, -0.045, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.117, 0.719).extrude(0.779)
result = result.union(cq.Workplane(cq.Plane(origin=(0.53, -0.122, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.338, 0.42).extrude(0.342))
result = ... | 14 | 58 | 0.655772 |
train_e8173845de1018ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.214, 0.153, 0.023), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.345, 0.009).lineTo(-0.319, 0.125).threePointArc((-0.558, -0.213), (-0.608, -0.623)).threePointArc((-0.648, 0.8), (0.648, 0.21)).threePointArc((0.558, -0.291), (0.194, -0.648)).line... | 8 | 52 | 1.618402 |
train_0d1c34512f699b23 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.014, 0.025, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.02, -0.936).lineTo(-0.02, 0.987).lineTo(0.02, 1.027).lineTo(0.02, -0.976).lineTo(-0.02, -0.936).close().extrude(0.034)
result = result.edges().chamfer(0.001)
result = result.cut(cq.Wo... | 12 | 60 | 0.002337 |
train_4e2d826008285420 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, 0, -0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.065).threePointArc((-0.032, 0.035), (-0.005, 0)).threePointArc((0.032, 0.03), (0, 0.065)).close().extrude(0.078)
result = result.edges().chamfer(0.009)
result = result.cut(cq.Workpl... | 23 | 165 | 0.002234 |
train_7185576966a903bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.185, -1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.417, 0.556).lineTo(-0.417, 0.556).lineTo(-0.417, -0.185).lineTo(0.185, -0.185).lineTo(0.185, -0.556).lineTo(0.417, -0.556).lineTo(0.417, 0.556).close().sweep(cq.Workplane('YZ').spline([(0... | 5 | 33 | 0.685536 |
train_2509bacec735a418 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.394, -0.324, -0.033), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.677, 0.087).threePointArc((0.306, 0.397), (-0.162, 0.517)).threePointArc((-0.44, 0.411), (-0.677, 0.233)).lineTo(0.072, -0.517).lineTo(0.677, 0.087).close().extrude(0.409)
resul... | 9 | 58 | 0.373627 |
train_88b6fe02e31e49e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.148, -0.663, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.148, -0.337).lineTo(-0.148, 0.55).lineTo(-0.668, 0.85).lineTo(-0.668, 1.11).lineTo(-0.148, 0.81).lineTo(-0.148, 0.958).lineTo(-0.445, 1.129).lineTo(-0.445, 1.389).lineTo(-0.148, 1.2... | 9 | 44 | 0.129296 |
train_5694057697adc07f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.418, 0.139, -0.154), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.077, -0.126).lineTo(-0.224, -0.126).lineTo(-0.319, -0.236).lineTo(-0.319, -0.38).lineTo(0.319, -0.38).lineTo(0.251, -0.126).lineTo(0.204, 0.048).threePointArc((0.267, 0.19), (0.2... | 23 | 178 | 0.596425 |
train_2ef20f1a3dd67c65 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.553, -0.388, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.756, 0.395).lineTo(-0.13, -0.172).lineTo(-0.13, -0.124).lineTo(0.13, -0.124).lineTo(0.13, -0.172).lineTo(0.756, 0.395).lineTo(0.756, 1.175).lineTo(0.567, 1.388).lineTo(-0.567, 1.388)... | 10 | 69 | 1.219427 |
train_1fb5682a873e4c67 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, 0.02), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.736, 0.481).threePointArc((-0.14, 0.808), (0.512, 0.997)).threePointArc((0.795, 0.8), (0.596, 0.517)).threePointArc((0.047, 0.358), (-0.455, 0.082)).threePointArc((-0.795, 0.141),... | 10 | 41 | 2.000881 |
train_74082a41051d6438 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.351, 0.305, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1, 0.473).threePointArc((0.747, 0.332), (0.48, 0.219)).threePointArc((-0.252, 0.059), (-1, 0.102)).lineTo(-1, 0.306).threePointArc((-0.353, 0.253), (0.286, 0.364)).threePointArc((0.657, ... | 9 | 71 | 0.107582 |
train_1301e66b521c1696 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.076, 0.199, -0.375), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.956, 0.945).extrude(1.272)
result = result.faces('>Z').shell(-0.082)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.771, 0.263, 0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).re... | 10 | 44 | 0.492453 |
train_18c79e39514f97bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.336, 2).extrude(0.59)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.295, -1.595), normal=(0, 1, 0), xDir=(1, 0, 0))).circle(0.106).extrude(0.951))
result = result.cut(cq.Workplane(c... | 13 | 70 | 0.986511 |
train_d8b68bde485b8f92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.756, 0.728, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1.006, 0.825).lineTo(0.444, 1.662).lineTo(-0.563, 1.594).lineTo(-1.006, 0.688).lineTo(-0.444, -0.15).lineTo(0.563, -0.081).lineTo(1.006, 0.825).close().extrude(1.313)
result = result.edg... | 3 | 44 | 3.470931 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.