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_acefd22569b21ffb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.042, -0.127, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.585, 0.074).lineTo(0.455, -0.098).threePointArc((-0.585, -0.049), (0.585, 0.074)).close().moveTo(-0.195, 0.098).lineTo(0.455, 0.049).threePointArc((-0.325, -0.025), (-0.195, 0.098)).cl... | 1 | 5 | 1.274304 |
train_2f30df1d7135b80b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.234, 0.77, 0.04), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.369, 2.234).lineTo(1.032, 0.66).lineTo(-1.032, 0.234).lineTo(-0.369, 2.234).close().extrude(1.54)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.056, 0.199, -1.301), normal=(0,... | 15 | 419 | 3.954852 |
train_1646928892b9e2c9 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.175).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.205).extrude(0.335, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.051, 0.205, -0.3), normal=(0, 0,... | 8 | 28 | 0.202306 |
train_14555f83ca30af22 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.278).lineTo(0.853, 0).lineTo(1, -0.278).lineTo(0.287, -0.278).lineTo(0.287, 0.278).lineTo(1, 0.278).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.389, 0.389, 0), norm... | 12 | 39 | 0.901449 |
train_921b73a51dfc8971 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, 0, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.174, 0.365).threePointArc((-0.052, 0.349), (0, 0.312)).lineTo(0, 0.24).threePointArc((0.055, 0.2), (0.184, 0.183)).lineTo(0.412, 0.183).threePointArc((0.538, 0.166), (0.59, 0.127)).li... | 18 | 146 | 0.520793 |
train_4c5605cf6841e4e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.212)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.501, 0.866), (-1.499, 0.866), (-2, 0), (-1.499, ... | 4 | 29 | 0.688911 |
train_7008cee80da41889 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.15, -0.053, -0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 0.182).lineTo(0.165, 0.154).lineTo(0.157, 0.141).lineTo(0.086, 0.058).lineTo(0.074, 0.068).lineTo(-0.019, -0.039).lineTo(-0.019, -0.182).lineTo(-0.058, -0.182).lineTo(-0.058, ... | 12 | 188 | 0.631721 |
train_cdfe9b2388643c2c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.674).threePointArc((0.941, 0.615), (1, 0.474)).lineTo(1, -0.549).threePointArc((0.963, -0.637), (0.875, -0.674)).lineTo(-1, -0.674).lineTo(-1, 0.674).lineTo(0.799, 0.674).close().ex... | 7 | 50 | 0.566847 |
train_57d78e593a010207 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.054, 0, -0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.315, 0.715).lineTo(0.946, -0.715).lineTo(0, -0.715).lineTo(-0.946, -0.715).lineTo(-0.631, 0.715).lineTo(-0.315, 0.715).lineTo(0.315, 0.715).close().extrude(0.341)
result = result.cut(c... | 6 | 60 | 0.7757 |
train_c02d4ffd949d940d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, 0, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.979).extrude(0.865)
result = result.union(cq.Workplane(cq.Plane(origin=(0.02, 0, 0.017), normal=(0.558, 0, 0.83), xDir=(0.83, 0, -0.558))).circle(0.479).extrude(2.59))
result = result.cu... | 7 | 66 | 1.49413 |
train_9a0536ebfd700864 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.02, 1.012).lineTo(0.73, 0.7).lineTo(1.012, -0.006).lineTo(0.711, -0.719).lineTo(-0.014, -1.012).lineTo(-0.694, -0.736).lineTo(-1.012, -0.002).lineTo(-0.717, 0.713).lineTo(0.02, 1.012).clos... | 5 | 92 | 1.061683 |
train_3144838feceea795 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.101, -0.156, -0.619), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.43, 0.269).threePointArc((0.541, 0.22), (0.633, 0.141)).threePointArc((0.657, 0.108), (0.672, 0.071)).threePointArc((0.682, 0.012), (0.675, -0.048)).threePointArc((0.627, -0.149),... | 18 | 219 | 0.775762 |
train_af9fccb32eb5ae20 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.087, 0, -0.453), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.128, 0.925).threePointArc((0.251, 0.886), (0.303, 0.792)).lineTo(0.303, 0.552).threePointArc((0.338, 0.489), (0.421, 0.463)).lineTo(0.809, 0.463).threePointArc((0.88, 0.44), (0.91, 0.... | 6 | 66 | 1.13158 |
train_79a76d410beb32fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.818, 0.528, 0.339), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.633, 0.785).lineTo(0.633, 0.102).threePointArc((0.629, 0.073), (0.645, 0.048)).lineTo(0.661, -0.005).lineTo(0.633, -0.059).lineTo(-0.661, -0.059).lineTo(-0.661, 0.102).lineTo(-0.66... | 9 | 52 | 0.98932 |
train_28ac56626d95f3fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.127, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.357).lineTo(1, 0.154).lineTo(0.332, 0.154).lineTo(0.332, -0.357).lineTo(-0.332, -0.357).lineTo(-0.332, 0.154).lineTo(-1, 0.154).lineTo(-1, 0.357).lineTo(1, 0.357).close().extrude(0.5... | 2 | 19 | 0.74921 |
train_e8e680a3d4769e84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.424, -0.196, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, 0.236).lineTo(0.142, 0.183).threePointArc((0.157, 0.162), (0.177, 0.145)).lineTo(0.181, 0.091).lineTo(0.233, 0.062).lineTo(0.234, 0.006).lineTo(0.141, -0.162).lineTo(-0.042... | 6 | 84 | 0.297699 |
train_d3fde37abab11bb8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.287, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, 0.574).threePointArc((0.951, 0.539), (1, 0.455)).lineTo(1, 0.134).threePointArc((0.946, 0.04), (0.836, 0)).lineTo(-0.152, 0).threePointArc((-0.279, -0.046), (-0.332, -0.155)).lin... | 3 | 14 | 0.47474 |
train_f7168b04581d3e8f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.068, -0.004, 0.016), normal=(0.984, 0.174, -0.044), xDir=(-0.174, 0.985, 0))).moveTo(0.002, -0.67).threePointArc((-0.267, -0.938), (-0.478, -0.552)).lineTo(-0.958, -0.214).lineTo(-0.902, 0.457).lineTo(-0.54, 0.741).threePointArc((-0.468, 0.938)... | 8 | 126 | 0.343802 |
train_739a73253e78e624 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.605), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.209).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.209).lineTo(-0.684, 1.209).lineTo(-0.684, 0.316).lineTo(0.684, 0.316).lineTo(0.684, 1.209).lineTo(1, 1.209).close().extrude(0.262, both=Tru... | 5 | 28 | 0.662745 |
train_48e1f5d9a64772be | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.006, -0.933), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.805, 0.406).lineTo(0.523, 0.124).threePointArc((0.51, 0.08), (0.59, 0.047)).lineTo(0.877, 0.333).threePointArc((0.94, 0.238), (0.989, -0.11)).lineTo(0.601, -0.007).threePointArc((0.598... | 8 | 152 | 2.226342 |
train_f7d0c6ac93b3acfb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.283, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.454, 0.716).lineTo(0.454, 0.662).lineTo(0.508, 0.662).lineTo(0.508, -0.665).lineTo(0.457, -0.665).lineTo(0.457, -0.716).lineTo(-0.473, -0.716).threePointArc((-0.498, -0.705), (-0.508, ... | 8 | 28 | 0.523272 |
train_07aa0f294fb9615f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.27, -0.216, 0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.661, 0.391).threePointArc((0.707, 0.372), (0.726, 0.327)).lineTo(0.726, -0.327).threePointArc((0.707, -0.372), (0.661, -0.391)).lineTo(0.018, -0.391).threePointArc((-0.028, -0.372),... | 12 | 144 | 1.080802 |
train_06f95187af890f5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.875, 0.711).lineTo(0.875, 0.586).lineTo(1, 0.586).lineTo(1, -0.567).lineTo(0.855, -0.567).lineTo(0.855, -0.711).lineTo(-0.857, -0.711).lineTo(-0.857, -0.57).lineTo(-1, -0.57).lineTo(-1, 0.... | 7 | 88 | 0.986955 |
train_55d7f260a0d3647c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.139, -0.035, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.239, 0.138).threePointArc((0.265, 0.127), (0.277, 0.1)).lineTo(0.277, -0.075).threePointArc((0.258, -0.119), (0.213, -0.138)).lineTo(-0.264, -0.138).threePointArc((-0.273, -0.135... | 20 | 346 | 0.389094 |
train_6b9b59227a670022 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.149, 0.051, -0.443), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.055, 0.255).threePointArc((0.036, 0.239), (0.121, 0.192)).threePointArc((0.187, 0.122), (0.225, 0.038)).threePointArc((0.229, -0.045), (0.198, -0.117)).threePointArc((0.137, -0.1... | 10 | 1,548 | 1.132732 |
train_0f0f6cdd8ed297b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.367, 0.134).lineTo(0.367, -0.124).threePointArc((0.363, -0.132), (0.357, -0.134)).lineTo(-0.345, -0.134).threePointArc((-0.36, -0.128), (-0.367, -0.113)).lineTo(-0.367, 0.117).lineTo(-0.35... | 7 | 127 | 0.209637 |
train_ce84f289c3f75537 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.213, -0.032, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.472, 0.629).lineTo(0.472, 0.315).lineTo(0.786, 0.315).lineTo(0.786, 0).lineTo(0.472, 0).lineTo(0.472, -0.629).lineTo(0.157, -0.629).lineTo(0.157, -0.315).lineTo(-0.157, -0.315).li... | 24 | 248 | 0.542493 |
train_080ebe36ad722693 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.797, -0.156).lineTo(0.767, -0.309).lineTo(0.719, -0.454).lineTo(0.653, -0.588).lineTo(0.57, -0.707).lineTo(0.474, -0.809).lineTo(0.366, -0.891).lineTo(0.249, -0.951).lineTo(0.126, -0.988).... | 17 | 123 | 1.050997 |
train_e57f0ad82b19dc9b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.462), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.357).lineTo(1, -0.357).lineTo(-1, -0.357).lineTo(-1, 0.357).lineTo(1, 0.357).close().extrude(0.682)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.321), normal=(0, 0, 1), xD... | 6 | 60 | 0.613748 |
train_500089f1c5986e5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.357), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.296).extrude(0.664)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.296, 0, -0.357), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.086, 0.21), (-0.296, 0.296), (-0.506, 0.... | 10 | 90 | 0.223253 |
train_cf6fdd1b74b03d71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.059, 0, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.327, 0.262).lineTo(0.327, -0.262).lineTo(-0.327, -0.262).lineTo(-0.327, 0.262).lineTo(-0.118, 0.262).lineTo(-0.118, -0.053).lineTo(0.118, -0.053).lineTo(0.118, 0.262).lineTo(0.327, 0.2... | 18 | 124 | 0.418417 |
train_4761cf99f78d4a3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.074, 0.833).threePointArc((0.535, 0.641), (0.725, 0.183)).lineTo(0.725, -0.514).threePointArc((0.63, -0.738), (0.405, -0.833)).lineTo(-0.125, -0.833).threePointArc((-0.549, -0.657), (-0.725, -... | 6 | 60 | 1.211164 |
train_f9dae5e0ab94f7ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.257, 0.106, -0.981), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.179, 0).threePointArc((0.16, -0.019), (0.141, 0)).threePointArc((0.16, 0.019), (0.179, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.257, 0.106, -0.981), normal=(0, 0, 1), x... | 7 | 158 | 0.873137 |
train_e6983ff9bf49e682 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.678).lineTo(1, -0.678).lineTo(-0.855, -0.678).threePointArc((-0.957, -0.635), (-1, -0.533)).lineTo(-1, 0.678).lineTo(1, 0.678).close().extrude(0.189)
result = result.cut(cq.Workplane(cq... | 7 | 52 | 0.126623 |
train_4b109420d3ae4557 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.374, 0.371, -0.53), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.353, 0.354).threePointArc((0.62, -0.354), (-0.62, 0.25)).lineTo(-0.353, 0.354).close().extrude(1.061)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.369, -0.032, -0.689), norm... | 7 | 305 | 2.285143 |
train_a9ed35175f4e34d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.043, 0, 0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.754).threePointArc((0.389, 0.732), (0.413, 0.681)).lineTo(0.413, 0.455).threePointArc((0.438, 0.4), (0.498, 0.377)).lineTo(0.712, 0.377).threePointArc((0.792, 0.346), (0.825, 0.... | 19 | 296 | 0.283487 |
train_36df6401d8d83c1b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.343, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0.448).lineTo(0.656, -0.438).threePointArc((0.654, -0.445), (0.646, -0.448)).lineTo(-0.649, -0.448).lineTo(-0.656, -0.44).lineTo(-0.656, 0.444).lineTo(-0.652, 0.444).lineTo(-0.65... | 12 | 117 | 0.337979 |
train_f63e02ea327cb3d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, -0.016, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.03, 0.334).threePointArc((0.396, 0.425), (0.468, -0.038)).lineTo(0.453, -0.186).threePointArc((0.321, -0.315), (0.087, -0.277)).lineTo(0.072, -0.425).threePointArc((-0.045, -0.406... | 6 | 45 | 1.040014 |
train_90a2e71b1144733f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.013, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.044, 0.878).threePointArc((0.618, 0.959), (0.944, 0.684)).lineTo(0.429, -0.152).threePointArc((-0.329, -0.219), (0.14, -0.755)).threePointArc((-0.454, -0.959), (-0.944, -0.547)).three... | 1 | 14 | 0.409433 |
train_1f220149e137177f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.284, -0.483), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.663).lineTo(1, -0.549).threePointArc((0.966, -0.629), (0.886, -0.663)).lineTo(-0.838, -0.663).lineTo(-1, -0.502).lineTo(-1, 0.538).lineTo(-0.875, 0.538).lineTo(-0.875, 0.663).lineTo... | 9 | 26 | 2.643897 |
train_e28a0f7905125c4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.343, -0.225, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.686).threePointArc((0.485, 0.485), (0.686, 0)).lineTo(0.172, 0).threePointArc((0.122, 0.122), (0, 0.172)).lineTo(0, 0.686).close().extrude(2)
result = result.union(cq.Workplane(cq... | 3 | 15 | 0.803444 |
train_b451f6c1fc6f4a96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0.44, 0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.422, 0.367).threePointArc((0.367, -0.422), (-0.422, -0.367)).threePointArc((-0.367, 0.422), (0.422, 0.367)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.018, 0.44, 0.221), normal=... | 7 | 78 | 0.221744 |
train_92bd96e048241e0b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.873, 0.837).threePointArc((0.962, 0.79), (0.999, 0.678)).lineTo(0.999, 0.315).threePointArc((0.925, 0.094), (0.749, 0)).lineTo(0.465, 0).threePointArc((0.372, -0.049), (0.333, -0.165)).lineTo(0.333, -0.583).threePointArc((0.273, -0.762), (0.131, -0.... | 8 | 58 | 0.911347 |
train_78c0f6c3191b7a12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.853, -0.474, -0.017), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.383, 1.474).lineTo(0.383, 0.958).lineTo(0.82, 0.958).lineTo(0.82, -0.01).lineTo(0.383, -0.01).lineTo(0.383, -0.526).lineTo(-0.383, -0.526).lineTo(-0.383, -0.01).lineTo(-0.82, -0.... | 6 | 130 | 1.233305 |
train_71dfec89e012c171 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.264, -0.101, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.099, 0.84).threePointArc((0.458, 0.692), (0.607, 0.333)).lineTo(0.607, -0.333).threePointArc((0.458, -0.692), (0.099, -0.84)).lineTo(-0.099, -0.84).threePointArc((-0.458, -0.692), (-0.... | 28 | 418 | 1.32248 |
train_9377cf1b6d0a291c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 1).threePointArc((0.444, 0.97), (0.466, 0.915)).lineTo(0.466, -0.922).threePointArc((0.446, -0.971), (0.396, -1)).lineTo(-0.294, -1).threePointArc((-0.416, -0.942), (-0.466, -0.822)).... | 10 | 91 | 0.580663 |
train_4459036695c0b3b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.671).lineTo(1, 0.614).lineTo(1, -0.611).lineTo(0.94, -0.671).lineTo(-0.938, -0.671).lineTo(-1, -0.608).lineTo(-1, 0.606).lineTo(-0.937, 0.671).lineTo(0.943, 0.671).close().extrude(0... | 7 | 32 | 0.56186 |
train_131ee2c2dc9bf283 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.03, 2).extrude(0.267)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.365, -0.849).lineTo(-0.365, -0.649).lineTo(0.365, -0.649).c... | 9 | 22 | 0.394092 |
train_bd8bf68910bf6cb9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.989), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(1, 0).lineTo(0, -1).lineTo(-1, 0).lineTo(0, 1).close().extrude(1.977)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.989), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(... | 6 | 38 | 1.095814 |
train_524777d3d93e5e5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.127, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.359, 0.652).lineTo(-0.359, -0.138).lineTo(0.872, -0.138).lineTo(0.872, -0.652).lineTo(-0.872, -0.652).lineTo(-0.872, 0.652).lineTo(-0.359, 0.652).close().extrude(0.071)
result = resul... | 22 | 152 | 0.075841 |
train_e50159b04aa90d41 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.224).lineTo(0.607, 0).lineTo(1, -0.224).lineTo(0.316, -0.224).lineTo(0.316, 0.224).lineTo(1, 0.224).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.547, 0, 0), normal=(... | 10 | 51 | 0.403175 |
train_5bbdb05d3d1e86b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.843, 1).threePointArc((2.022, 0.919), (2.094, 0.744)).lineTo(2.094, -0.634).threePointArc((2, -0.888), (1.732, -1)).lineTo(-1.763, -1).threePointArc((-1.997, -0.895), (-2.094, -0.665)).lin... | 9 | 67 | 0.601525 |
train_77ba70380ec79151 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.282, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.683, -0.234).lineTo(0.581, -0.445).lineTo(0.422, -0.613).lineTo(0.222, -0.721).lineTo(0, -0.758).lineTo(-0.222, -0.721).lineTo(-0.422, -0.613).lineTo(-0.581, -0.445).lineTo(-0.683, -0... | 8 | 197 | 0.687972 |
train_9d80847c3433408c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.755, 1).lineTo(0.755, -0.597).lineTo(0, -0.597).lineTo(0, -1).lineTo(-0.755, -1).lineTo(-0.755, 0.597).lineTo(0, 0.597).lineTo(0, 1).lineTo(0.755, 1).close().extrude(0.774, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.689, -0.905, ... | 6 | 43 | 3.590353 |
train_cd46d329a6ec69db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.717, 0.995, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.171, 1.241).threePointArc((0, 1.222), (0.141, 1.151)).threePointArc((0.249, 1.058), (0.338, 0.961)).threePointArc((0.421, 0.852), (0.489, 0.719)).threePointArc((0.512, 0.553), (0.463,... | 4 | 12 | 2.261892 |
train_a21dc2538018ba9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.056, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.855, 2).lineTo(0.855, 0.311).lineTo(0.971, 0.311).lineTo(0.971, 0).lineTo(0.078, 0).lineTo(0.078, 2).lineTo(0.855, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1... | 6 | 41 | 4.114966 |
train_c4bf6772ec882140 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.023, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.1, 0.572).lineTo(0.449, 0.34).lineTo(0.462, -0.064).lineTo(0.218, -0.323).lineTo(-0.139, -0.526).lineTo(-0.433, -0.228).lineTo(-0.462, 0.137).lineTo(-0.268, 0.431).lineTo(0.1, 0.572).close... | 10 | 19 | 1.324005 |
train_4e69162ef49e0c91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.356).lineTo(1, -0.393).lineTo(-1, -0.393).lineTo(-1, 0.369).threePointArc((-0.992, 0.386), (-0.975, 0.393)).lineTo(0.962, 0.393).threePointArc((0.988, 0.382), (1, 0.356)).close().extrud... | 5 | 32 | 0.918675 |
train_4ed0ce1ae4519474 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0.023, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, 0.96).lineTo(0.724, 0.842).threePointArc((0.752, 0.81), (0.774, 0.775)).lineTo(0.902, 0.53).threePointArc((0.917, 0.458), (0.884, 0.392)).lineTo(-0.174, -0.797).threePointArc(... | 2 | 22 | 0.624824 |
train_c4c57b61f9770a61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.21, 0.073).lineTo(0.221, -0.015).threePointArc((-0.221, -0.073), (0.21, 0.073)).close().moveTo(0.104, 0.007).lineTo(0.098, -0.035).threePointArc((-0.11, 0.035), (0.104, 0.007)).close(... | 5 | 47 | 0.136822 |
train_591c97e7002a13cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.974, -0.927, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.909, 0.981).threePointArc((0, 0.071), (-0.909, 0.981)).threePointArc((0, 1.891), (0.909, 0.981)).close().extrude(0.356)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.571, -0.87... | 11 | 914 | 1.506266 |
train_589eed0a4077e0b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.451, 0.432, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.274, 0.474).threePointArc((0.274, 0.474), (0.548, 0)).threePointArc((0.274, -0.474), (-0.274, -0.474)).threePointArc((-0.548, 0), (-0.274, 0.474)).close().sweep(cq.Workplane(cq.P... | 4 | 25 | 0.701475 |
train_96fc19ec53306ced | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.158).lineTo(0.944, 0).lineTo(1, -0.158).lineTo(0.136, -0.158).lineTo(0.136, 0.158).lineTo(1, 0.158).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0... | 8 | 29 | 0.701408 |
train_f9cfee23be14c741 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.06, 0.009, -0.509), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.46, 0.413).lineTo(0.46, -0.413).lineTo(-0.46, -0.413).lineTo(-0.46, 0).lineTo(0.153, 0).lineTo(0.153, 0.413).lineTo(0.46, 0.413).close().extrude(0.69, taper=-11.789)
result = resul... | 18 | 90 | 0.581743 |
train_1afdb99b0b19010e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.106).lineTo(0.868, 0).lineTo(1, -0.106).lineTo(0.187, -0.106).lineTo(0.187, 0.106).lineTo(1, 0.106).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = re... | 12 | 74 | 0.328118 |
train_2e21d996fc6c6606 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.468, 0.001, -0.597), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.236, -0.018).lineTo(0.253, -0.09).lineTo(0.149, -0.251).threePointArc((0.1, -0.317), (0.03, -0.439)).lineTo(-0.09, -0.285).threePointArc((-0.161, -0.224), (-0.221, -0.158)).lineTo... | 2 | 22 | 0.404882 |
train_76e7a6c5ef03f485 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.199, 0.197, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.91, -0.103).lineTo(0.94, -0.502).lineTo(0.552, -0.907).threePointArc((0.266, -0.71), (0.08, -0.704)).lineTo(-0.567, -0.713).lineTo(-0.927, -0.55).lineTo(-0.999, 0.289).lineTo(-0.3... | 37 | 86 | 0.946401 |
train_267560309d9678a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.306, -1, 0.027), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.231, 0.647).threePointArc((-0.15, 0.664), (-0.046, 0.627)).threePointArc((0.065, 0.54), (0.166, 0.418)).threePointArc((0.242, 0.279), (0.281, 0.144)).threePointArc((0.277, 0.033), (0... | 3 | 16 | 0.51987 |
train_4df90d8962f47a59 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.188), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.096, 1).lineTo(-0.096, -0.129).lineTo(0.967, -0.129).lineTo(0.967, -1).lineTo(-0.967, -1).lineTo(-0.967, 1).lineTo(-0.096, 1).close().extrude(0.376)
result = result.cut(cq.Workplane(cq.Pl... | 22 | 18 | 0.955379 |
train_765fce23307087bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.118, 0, -0.45), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.391, 0.042).lineTo(0.391, 0.032).threePointArc((0.39, 0.029), (0.387, 0.028)).lineTo(0.351, 0.028).threePointArc((0.346, 0.025), (0.344, 0.021)).lineTo(0.344, -0.028).threePointArc((0.... | 6 | 152 | 0.286418 |
train_c5091ba3ee831295 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.449, 0.975).threePointArc((0.838, 0.815), (1, 0.426)).lineTo(1, -0.65).lineTo(0.674, -0.65).lineTo(0.674, -0.975).lineTo(-0.303, -0.975).lineTo(-1, -0.278).lineTo(-1, 0.495).threePointArc(... | 6 | 37 | 1.07328 |
train_e72fa411ae9c9c54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.145, -0.126, -0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.176, 0.292).lineTo(0.176, -0.058).lineTo(0.088, -0.058).lineTo(0.088, -0.292).lineTo(0, -0.292).lineTo(0, -0.175).lineTo(-0.088, -0.175).lineTo(-0.088, -0.058).lineTo(-0.176, -0.05... | 7 | 116 | 0.401171 |
train_c1e2d93e519fa25b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.09).lineTo(0.035, 0.083).lineTo(0.063, 0.063).lineTo(0.083, 0.035).lineTo(0.09, 0).lineTo(0.083, -0.035).lineTo(0.063, -0.063).lineTo(0.035, -0.083).lineTo(0, -0.09).lineTo(-0.035, -0.083).lineTo(-0.063, -0.063).lineTo(-0.083, -0.035).lineTo(-0.0... | 2 | 18 | 0.049392 |
train_886dc72d1ecd4b76 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.97, 0.999, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.447, 1.625).threePointArc((0.489, 1.288), (0.649, 1.036)).threePointArc((0.575, 0.935), (0.62, 0.816)).threePointArc((0.336, 0.709), (0.211, 0.544)).lineTo(-0.237, 0.314).lineTo(-0.428,... | 5 | 61 | 1.389957 |
train_7d16eba28a56b761 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.028, -0.06, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.932, 0.315).lineTo(0.932, -0.315).lineTo(-0.932, -0.315).lineTo(-0.932, 0.315).lineTo(-0.299, 0.315).lineTo(-0.299, -0.138).lineTo(0.299, -0.138).lineTo(0.299, 0.315).lineTo(0.932... | 23 | 217 | 0.734927 |
train_fb62cf4114ef93c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.138, 0.384).threePointArc((0.209, 0.349), (0.273, 0.302)).lineTo(0.385, 0.099).threePointArc((0.394, -0.006), (0.384, -0.112)).lineTo(0.294, -0.273).threePointArc((0.207, -0.336), (0.112, -0.3... | 4 | 36 | 0.86926 |
train_ac9623108c01d430 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.473, 0.095).lineTo(0.258, 1).lineTo(0.473, 0.779).lineTo(0.62, 0.566).lineTo(0.717, 0.381).lineTo(0.773, 0.2).threePointArc((0.784, 0.027), (0.776, -0.146)).threePointArc((0.766, -0.2... | 7 | 64 | 1.693515 |
train_1439198d16ed79c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.1, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.538).lineTo(1, -0.538).lineTo(-0.883, -0.538).lineTo(-0.883, -0.428).lineTo(-1, -0.428).lineTo(-1, 0.436).lineTo(-0.89, 0.436).lineTo(-0.89, 0.538).lineTo(1, 0.538).close().extrude(0.... | 13 | 55 | 0.779962 |
train_5fe688428c8e5467 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.328, -0.235, 0.881), normal=(0.344, 0.245, -0.906), xDir=(0, 0.965, 0.261))).moveTo(0.097, 0.281).lineTo(0.141, 0.237).lineTo(0.141, 0.194).lineTo(0.194, 0.141).lineTo(0.236, 0.141).lineTo(0.281, 0.095).lineTo(0.281, 0.024).lineTo(0.257, 0).lin... | 1 | 30 | 0.299385 |
train_367704178036fb4b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.403, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.592).extrude(0.365)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.403, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.474).extrude(1.091, both=True))
result = result.uni... | 15 | 113 | 0.461129 |
train_b628217c9cedce56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.375, 0, -0.145), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.625, 0.449).lineTo(0.625, 0).lineTo(-0.625, 0).lineTo(-0.625, 0.449).lineTo(-0.427, 0.449).lineTo(-0.427, 0.199).lineTo(0.427, 0.199).lineTo(0.427, 0.449).lineTo(0.625, 0.449).close(... | 3 | 41 | 0.192872 |
train_47e02ebee2bfcc96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.55, 0.477, -0.272), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.096, 0.565).threePointArc((0.127, 0.552), (0.159, 0.543)).threePointArc((0.221, 0.517), (0.247, 0.456)).lineTo(0.247, 0.117).threePointArc((0.221, 0.057), (0.159, 0.031)).lineTo(-0... | 10 | 593 | 0.595835 |
train_80cd985f4dec6f68 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.303, 0.261, -0.207), normal=(-0.75, -0.071, -0.658), xDir=(0.094, -0.996, 0))).moveTo(0.307, 0.595).lineTo(0.613, 0.149).lineTo(0.613, -0.504).lineTo(0.551, -0.595).lineTo(0.293, -0.595).lineTo(0.205, -0.467).lineTo(0.205, -0.177).lineTo(0.083,... | 3 | 57 | 1.489422 |
train_06c80a6db0186e10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.375, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.248, 1, 1.556)
result = result.edges().fillet(0.055)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.375, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.297).extrude(2.496, both=True))... | 8 | 101 | 0.89674 |
train_7952bcbee269d730 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.844, 0.326).lineTo(0.844, 0.178).lineTo(1, 0.178).lineTo(1, -0.13).lineTo(0.801, -0.13).lineTo(0.801, -0.326).lineTo(-0.86, -0.326).lineTo(-0.86, -0.194).lineTo(-1, -0.194).lineTo(-1, 0.10... | 14 | 55 | 0.224305 |
train_7c2c17eadecdfbf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.745), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.003).extrude(1.198)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.745), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.135, 0.502), (-0.501, 0.868), (-1.003, 1... | 8 | 197 | 2.548981 |
train_64943a39f3983976 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.154, -0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.134, 0.845).lineTo(0.751, 0.15).lineTo(0.134, -0.845).lineTo(-0.751, -0.15).close().moveTo(-0.078, 0.062).lineTo(-0.204, 0.062).lineTo(-0.206, 0.062).lineTo(-0.208, 0.063).lineTo(-0.2... | 2 | 62 | 0.928749 |
train_2e7da7562eca90e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.771, 0.924).lineTo(0.771, 0.702).lineTo(1, 0.702).lineTo(1, -0.471).lineTo(0.539, -0.471).lineTo(0.539, -0.924).lineTo(-0.592, -0.924).lineTo(-0.592, -0.525).lineTo(-1, -0.525).lineTo(-1, ... | 9 | 26 | 0.696436 |
train_92494c2150b67bba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.014, 0.026), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.573, 0.73).threePointArc((0.587, 0.656), (0.542, 0.477)).lineTo(0.551, 0.42).threePointArc((0.963, -0.005), (1, -0.07)).lineTo(0.984, -0.109).threePointArc((0.95, -0.149), (-0.127, -0.9... | 4 | 26 | 0.853491 |
train_d9162fcbb37e1636 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.163, 0, 0.318), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.837, 0).threePointArc((0, -0.837), (-0.837, 0)).threePointArc((0, 0.837), (0.837, 0)).close().extrude(0.377)
result = result.union(cq.Workplane(cq.Plane(origin=(0.163, -0.456, -0.183),... | 6 | 79 | 0.864585 |
train_eae00df76412cbe6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.426), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.414, 1).threePointArc((0.664, 0.887), (0.766, 0.642)).lineTo(0.766, -0.718).threePointArc((0.685, -0.909), (0.49, -1)).lineTo(-0.575, -1).threePointArc((-0.711, -0.934), (-0.766, -0.803)).... | 8 | 53 | 1.566944 |
train_fe8e312946295d3a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.049, 0.18, -0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.328, 0.222).threePointArc((0.896, 0.159), (0.95, 0.138)).threePointArc((0.947, 0.127), (0.866, 0.096)).lineTo(-0.393, -0.222).threePointArc((-0.95, -0.208), (-0.92, -0.087)).lineTo(... | 10 | 62 | 0.613875 |
train_7155af04d3ffd934 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.562), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.434)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.562), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.107, 0.431), (-0.38, 0.778), (-0.779, 0.966), (-... | 8 | 174 | 1.218801 |
train_1bb333531d0b1b9f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.14, 0.559, 0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.066, 0.325).threePointArc((0.238, 0.254), (0.309, 0.082)).lineTo(0.309, -0.082).threePointArc((0.238, -0.254), (0.066, -0.325)).lineTo(-0.066, -0.325).threePointArc((-0.238, -0.254),... | 6 | 78 | 0.491788 |
train_bd37e17bf73cc4c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.041), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.26, 0.279).lineTo(0.26, 0).lineTo(-0.26, 0).lineTo(-0.26, 0.279).lineTo(-0.026, 0.279).lineTo(-0.026, 0.234).lineTo(0.026, 0.234).lineTo(0.026, 0.279).lineTo(0.26, 0.279).close().extr... | 6 | 69 | 0.316792 |
train_578f448fa26b24a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.743, 0.235).threePointArc((0.924, 0.213), (1, 0.16)).lineTo(1, 0.039).threePointArc((0.96, 0.012), (0.867, 0)).lineTo(0.295, 0).threePointArc((0.228, -0.008), (0.2, -0.028)).lineTo(0.... | 4 | 40 | 0.090492 |
train_e1a2f71b375ad3fe | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.208).lineTo(0.831, 0).lineTo(1, -0.208).lineTo(0.311, -0.208).lineTo(0.311, 0.208).lineTo(1, 0.208).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0... | 8 | 63 | 0.694137 |
train_b22ba6653597c975 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.46), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.42, 1).threePointArc((0.735, 0.861), (0.861, 0.551)).lineTo(0.861, -0.333).threePointArc((0.673, -0.8), (0.203, -1)).lineTo(-0.113, -1).threePointArc((-0.646, -0.775), (-0.861, -0.242)).lin... | 8 | 72 | 1.717161 |
train_2bb7d73a2a12c4a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.199, 0.352).lineTo(-0.199, 0.098).threePointArc((-0.065, -0.025), (0.255, -0.077)).lineTo(0.919, -0.077).threePointArc((0.97, -0.085), (1, -0.105)).lineTo(1, -0.188).threePointArc((0.961, ... | 6 | 74 | 0.283594 |
train_f1533a2175416d1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.037, 0.563, 0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.229, 0.397).threePointArc((0.112, 0.418), (0.397, 0.229)).threePointArc((0.418, -0.112), (0.229, -0.397)).threePointArc((-0.112, -0.418), (-0.397, -0.229)).threePointArc((-0.418, 0... | 4 | 36 | 0.124961 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.