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_90fe075230b96e7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.633).extrude(0.446) result = result.cut(cq.Workplane(cq.Plane(origin=(0.633, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.063, 0.274), (-0.238, 0.494), (-0.492, 0.616), (...
6
119
0.695315
train_1392fc860822e75a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.776, -0.142).lineTo(0.978, -0.203).lineTo(0.972, -0.234).lineTo(0.766, -0.189).lineTo(0.719, -0.324).lineTo(0.901, -0.432).lineTo(0.888, -0.459).lineTo(0.699, -0.367).lineTo(0.62, -0.486)....
10
155
0.89599
train_44c84a98e26cb004
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.384), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.815).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.815).lineTo(-0.818, 0.815).lineTo(-0.818, 0.151).lineTo(0.818, 0.151).lineTo(0.818, 0.815).lineTo(1, 0.815).close().extrude(0.234, both=Tru...
4
31
0.316595
train_c37f199429a039fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.112, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.82).lineTo(1, 0.519).lineTo(-0.694, 0.519).lineTo(-0.694, -0.519).lineTo(1, -0.519).lineTo(1, -0.82).lineTo(-1, -0.82).lineTo(-1, 0.82).lineTo(1, 0.82).close().extrude(0.291, both=T...
18
154
0.773742
train_44780e72e665edc1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.234, 0, -0.367), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.267, 0.628).lineTo(0.315, 0.342).lineTo(0.522, 0.279).lineTo(0.602, -0.198).lineTo(0.666, -0.58).lineTo(0.379, -0.628).lineTo(0.171, 0.612).lineTo(0.267, 0.628).close().revolve(angleD...
12
77
0.620812
train_75d36fe03fdf9b51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.04, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.092, 0.085).lineTo(0.117, 0.06).lineTo(0.117, 0.011).lineTo(0.127, 0).lineTo(0.15, 0).lineTo(0.159, -0.009).lineTo(0.159, -0.069).lineTo(0.143, -0.085).lineTo(0.046, -0.085).lineTo(-0.01, ...
9
88
0.057497
train_42aab6989a4ec0e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.723).lineTo(1, 0.102).lineTo(0.31, 0.102).lineTo(0.31, -0.723).lineTo(-0.31, -0.723).lineTo(-0.31, 0.102).lineTo(-1, 0.102).lineTo(-1, 0.723).lineTo(1, 0.723).close().extrude(0.36) resul...
17
10
0.63126
train_9d3bb441893a8488
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.678, 0.187).workplane(offset=1.237).rect(0.365, 0.098).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.054).extrude(0.562,...
6
32
0.089258
train_275654dd4b8f617a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.124, 0.153, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.132, 0.813).threePointArc((0.625, 0.509), (0.873, -0.215)).threePointArc((-0.873, -0.813), (0.132, 0.813)).close().extrude(0.733) result = result.cut(cq.Workplane(cq.Plane(origin=(...
7
27
1.96241
train_df7034e0618a3467
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(-0.758, 1).lineTo(-0.409, 1).lineTo(-0.409, 0.341).lineTo(0.409, 0.341).lineTo(0.409, 1).lineTo(0.758, 1).lineTo(0.758, -1).lineTo(0.409, -1).lineTo(0.409, -0.341).lineTo(-0.409, -0.341).lin...
4
259
0.401484
train_66ff29d4848ed767
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.035, 0.002, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.4, -0.133).threePointArc((-0.799, -0.267), (-0.4, 0.133)).lineTo(0.532, 0.133).threePointArc((0.799, 0.267), (0.532, -0.133)).lineTo(-0.4, -0.133).close().extrude(0.532) result =...
5
24
0.337306
train_cb9237fcc33dee85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.713, -0.375, -0.136), normal=(0.911, 0.303, 0.279), xDir=(-0.315, 0.949, 0))).moveTo(0.175, 0.869).lineTo(0.175, -0.869).threePointArc((-0.175, 0), (0.175, 0.869)).close().extrude(2.242, both=False) result = result.cut(cq.Workplane(cq.Plane(ori...
3
14
0.949577
train_65dbef4fa2b6dd85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.449), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.428, 0.897).lineTo(0.428, 0.428).lineTo(2, 0.428).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.897).lineTo(0.428, 0.897).close().extrude(0.852, both=True) result = result.cut(cq.Workplane(cq.Pl...
8
67
1.35761
train_a65de04f64c6de61
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.38, 0.395, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.445).lineTo(0, 0.222).lineTo(0.445, 0.222).lineTo(0.445, 0).lineTo(0.222, 0).lineTo(0.222, -0.445).lineTo(0, -0.445).lineTo(0, 0).lineTo(-0.445, 0).lineTo(-0.445, 0.445).lineTo(...
9
95
0.702051
train_66bd298e255e67bd
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.031, 0.392).lineTo(0.253, 0.3).threePointArc((0.282, 0.269), (0.313, 0.24)).lineTo(0.389, 0.058).threePointArc((0.387, 0.012), (0.39, -0.035)).lineTo(0.318, -0.225).threePointArc((0.28, -0.262...
2
39
2.419829
train_3cfb110149f60f51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.457).extrude(0.666) result = result.cut(cq.Workplane(cq.Plane(origin=(0.458, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.052, 0.212), (-0.198, 0.376), (-0.401, 0.454...
9
95
0.35106
train_e5342fed15b23442
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.977, 0.872, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.712, 1.638).lineTo(0.93, 1.127).lineTo(0.917, 0.617).lineTo(0.712, 0.107).threePointArc((-0.93, 0.872), (0.712, 1.638)).close().extrude(1.954) result = result.faces('<Z').shell(-0.095)...
3
51
0.838189
train_c52b80b290b5a32c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.447, 0.881).threePointArc((0.447, 0.881), (0.895, 0)).threePointArc((0.447, -0.881), (-0.447, -0.881)).threePointArc((-0.895, 0), (-0.447, 0.881)).close().extrude(0.384, taper=4.626)...
5
6
1.064326
train_1d0cc0dcdb3da0ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.837, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 0.244).threePointArc((0.384, 0.301), (0.445, 0.381)).threePointArc((0.452, 0.54), (0.31, 0.598)).lineTo(0.253, 0.725).threePointArc((0.131, 0.82), (-0.02, 0.82)).threePointArc...
3
111
1.613653
train_e356b58c1333f636
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.162, -0.521), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.756, 0.346).threePointArc((0.928, 0.275), (1, 0.103)).lineTo(1, -0.129).threePointArc((0.935, -0.282), (0.782, -0.346)).lineTo(-0.89, -0.346).threePointArc((-0.966, -0.315), (-1, -0.2...
8
66
1.380538
train_9c03e03d49e956d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.301, 0.357, -0.007), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.336, 0.186).threePointArc((-0.182, 0.233), (0.079, 0.143)).threePointArc((0.294, -0.03), (0.336, -0.186)).threePointArc((0.182, -0.233), (-0.079, -0.143)).threePointArc((-0.294, ...
6
67
1.292041
train_bfb23ca10dfda87a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.019, 0, -0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.961, 0.275).threePointArc((0.961, 0.275), (-0.961, -0.275)).lineTo(-0.961, 0.275).close().moveTo(-0.64, 0.275).threePointArc((0.321, 0), (-0.64, 0)).lineTo(-0.64, 0.275).close().extr...
20
40
2.222343
train_2b2bc502e310d1bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.551), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.836, 0.711).threePointArc((0.905, 0.698), (0.933, 0.666)).lineTo(0.933, -0.491).threePointArc((0.79, -0.645), (0.451, -0.711)).lineTo(0.16, -0.711).threePointArc((-0.171, -0.647), (-0....
2
36
1.82603
train_6cfee3798014f723
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.252, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.743).lineTo(0.248, -0.248).lineTo(0.743, -0.248).lineTo(0.743, -0.743).lineTo(-0.743, -0.743).lineTo(-0.743, 0.248).lineTo(-0.248, 0.248).lineTo(-0.248, 0.743).lineTo(0.248, 0.7...
6
21
0.514478
train_5a45acf0ff4964d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.962, 0.105).lineTo(0.1, -0.032).lineTo(0.962, 0.105).lineTo(0.845, -0.267).threePointArc((0.582, -0.839), (-0.108, -0.949)).lineTo(-0.045, -0.231).lineTo(-0.281, -0.976).threePointArc...
3
55
3.500243
train_5106fd8e54a0bb39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.471), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.834).threePointArc((0.978, 0.823), (1, 0.788)).lineTo(1, -0.834).lineTo(-0.896, -0.834).lineTo(-1, -0.743).lineTo(-1, 0.834).lineTo(0.943, 0.834).close().extrude(0.943) result = res...
12
139
2.833993
train_530b17b263395532
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.606, 0.14, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, -0.322).lineTo(0.388, -0.341).lineTo(0.381, -0.359).lineTo(0.372, -0.375).lineTo(0.36, -0.39).lineTo(0.347, -0.402).lineTo(0.332, -0.412).lineTo(0.315, -0.419).lineTo(0.298, -0....
7
234
0.496025
train_e5d8ea8196533874
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, 1.293, -0.007), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.749, 1.231).lineTo(0.734, 1.131).lineTo(0.964, 1.051).lineTo(0.932, 0.949).lineTo(0.698, 1.012).lineTo(0.654, 0.921).lineTo(0.849, 0.778).lineTo(0.79, 0.69).lineTo(0.584, 0.82).li...
1
86
3.744996
train_1e5728c085fa3415
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.027, -0.207, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.853).threePointArc((0.487, 0.853), (0.973, 0.512)).lineTo(-0.487, -0.853).threePointArc((-0.973, -0.853), (-0.973, -0.512)).lineTo(-0.973, -0.226).threePointArc((-0.962, -0.173...
4
13
0.278015
train_263d23550890a2d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.391, -0.066, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.497, 0.187).threePointArc((0.609, 0.157), (0.549, -0.069)).threePointArc((0.15, -0.204), (-0.609, 0.121)).lineTo(0.154, 0.037).threePointArc((0.209, 0.033), (0.261, 0.051)).lineTo...
5
29
0.236581
train_14a0f7877e007024
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -0.34, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.982, 0.183).lineTo(0.982, 0).lineTo(0.327, 0).lineTo(0.327, -0.183).lineTo(-0.982, -0.183).lineTo(-0.982, 0).lineTo(-0.327, 0).lineTo(-0.327, 0.183).lineTo(0.982, 0.183).close().ex...
6
50
0.23671
train_4c3b9647da033b56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.503, 0.088, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.084, 0.193).threePointArc((0.296, -0.071), (-0.019, -0.193)).lineTo(0.084, 0.193).close().moveTo(0.218, 0.01).threePointArc((0.231, -0.04), (0.194, -0.077)).threePointArc((0.144, -0.06...
5
110
0.736047
train_a251478418cc3ee9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.215, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.784, 0.165).lineTo(0.736, 0).lineTo(0.784, -0.165).lineTo(0.322, -0.165).lineTo(0.322, 0.165).lineTo(0.784, 0.165).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)...
14
97
0.367302
train_97ac2f0ea513fcb4
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.003, 0.041).lineTo(0.019, 0.037).lineTo(0.03, 0.028).lineTo(0.039, 0.014).lineTo(0.041, 0).lineTo(0.039, -0.014).lineTo(0.03, -0.028).lineTo(0.019, -0.037).lineTo(0.003, -0.041).lineTo(-0.011, -0.04).lineTo(-0.024, -0.033).lineTo(-0.036, -0.022).lin...
9
71
0.014118
train_8d35001baa92e953
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.312, -0.052, -0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.078, 0.765).threePointArc((0.078, 0.574), (0.234, 0.574)).threePointArc((0.857, 0), (0.234, -0.574)).threePointArc((-0.234, -0.765), (-0.546, -0.574)).threePointArc((-0.546, -0....
13
105
0.33704
train_f5ea89b4d29ce891
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.316, 0.338).threePointArc((0.34, 0.328), (0.351, 0.303)).lineTo(0.351, -0.18).threePointArc((0.304, -0.291), (0.192, -0.338)).lineTo(-0.274, -0.338).threePointArc((-0.328, -0.316), (-0.351...
4
30
0.607265
train_ea5e474d13a02d48
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.259, 0.394).threePointArc((0.354, 0.354), (0.394, 0.259)).lineTo(0.394, -0.307).threePointArc((0.368, -0.368), (0.307, -0.394)).lineTo(0.047, -0.394).threePointArc((0.014, -0.38), (0, -0.347))...
7
209
0.951672
train_0506576055ff1629
import cadquery as cq import math result = cq.Workplane('XY').circle(0.868).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.137).extrude(0.849, both=True)) result = result.cut(cq.Workplane('XY').circle(0.688).extrude(2.98, both=True)) resul...
10
31
1.421717
train_41a5564db74733b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.442, -0.745), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.263, 0.558).threePointArc((0.311, 0.538), (0.332, 0.489)).lineTo(0.332, -0.489).threePointArc((0.311, -0.538), (0.263, -0.558)).lineTo(-0.263, -0.558).threePointArc((-0.311, -0.538), ...
5
59
0.864301
train_4ea4b336c77ca77b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.626, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.432, 0.374).lineTo(0.432, -0.08).lineTo(-0.432, -0.08).lineTo(-0.432, 0.374).lineTo(-0.353, 0.374).lineTo(-0.353, 0.036).lineTo(-0.275, 0.036).lineTo(-0.275, 0.374).lineTo(-0.196, 0.374).l...
2
26
1.212463
train_94e6ad7eee2c9acb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.06, 0.443, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.558, 0).threePointArc((0, -0.558), (-0.558, 0)).threePointArc((0, 0.558), (0.558, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.06, 0.443, -0.119), normal=(0, -1, 0), xDir=(1,...
4
25
0.552128
train_f23551cc285249c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.837, 0.037, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.037, 0.086).lineTo(0.034, -0.07).threePointArc((0.044, -0.086), (0.054, -0.091)).lineTo(0.13, -0.091).lineTo(-0.043, -0.091).lineTo(-0.13, -0.091).lineTo(-0.092, -0.091).threePointAr...
8
41
0.741964
train_2112c50947da4451
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.264, 0.333).threePointArc((0.609, 0.269), (0.755, 0.116)).lineTo(0.755, -0.205).threePointArc((0.669, -0.295), (0.465, -0.333)).lineTo(-0.172, -0.333).threePointArc((-0.582, -0.257), (-0.75...
3
28
1.829887
train_50e381f36ecdeadb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.254, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.804, 0.375).threePointArc((0.935, 0.353), (1, 0.303)).lineTo(1, 0.141).threePointArc((0.923, 0.08), (0.764, 0.054)).lineTo(-0.67, 0.054).threePointArc((-0.699, 0.049), (-0.711, 0.038))...
6
281
1.430833
train_ed157d2083513ed1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.848, 0.092, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.101, 0.152).threePointArc((0.108, 0.111), (0.131, 0.076)).lineTo(0.152, 0).lineTo(0.134, -0.076).threePointArc((0.122, -0.116), (0.101, -0.152)).threePointArc((-0.152, 0), (0.101,...
3
85
0.044819
train_4dc51ac3ff3cc72c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, 0.037, 0.044), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.966, 0.099).lineTo(0.656, 0).lineTo(0.966, -0.099).lineTo(0.172, -0.099).lineTo(0.172, 0.099).lineTo(0.966, 0.099).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(...
12
65
0.156548
train_8e7473d21a224abd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.137, 0.094, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.046, 0.905).lineTo(0.227, 0.725).lineTo(0.227, 0.619).lineTo(0.392, 0.453).lineTo(0.603, 0.453).lineTo(0.68, 0.376).lineTo(0.68, -0.735).lineTo(0.509, -0.905).lineTo(0.338, -0.905...
11
192
0.791389
train_494372d486337fb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -2.252), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.809, 3.251).lineTo(0.809, 1.252).lineTo(0.344, 1.252).lineTo(0.344, 0).lineTo(0, 0).lineTo(0, 3.251).lineTo(0.809, 3.251).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
3
14
0.336849
train_2f9f7d8e0ac63908
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(3.3, -5.801, -10.631), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-2.052, 8.122).lineTo(8.109, 2.194).threePointArc((-7.709, -8.122), (-2.052, 8.122)).close().moveTo(-1.949, 4.828).threePointArc((2.25, -5.231), (-8.109, 0.811)).lineTo(-1.949, 4.828...
7
8
0.629978
train_edcd89eb8971faba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.091, -0.49, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.768, 1.126).threePointArc((1, 0.898), (0.768, 0.674)).lineTo(0.256, 0.527).threePointArc((0.012, 0.659), (-0.256, 0.73)).lineTo(-0.768, 0.674).threePointArc((-1, 0.898), (-0.768, 1.126...
11
243
0.925636
train_d2c5748161d6bf96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.74, 0.172, 0.049), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.257, 0.293).lineTo(0.257, 0.133).lineTo(-0.139, -0.232).lineTo(-0.257, 0.293).close().extrude(0.387) result = result.union(cq.Workplane(cq.Plane(origin=(0.782, 0, 0), normal=(0, -1...
5
72
0.274579
train_9a7360c07715fe85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.306, 0.393).lineTo(-0.091, 0.964).lineTo(0.722, 0.713).lineTo(0.507, 0.142).lineTo(1.007, -0.012).lineTo(0.805, -0.547).lineTo(0.306, -0.393).lineTo(0.091, -0.964).lineTo(-0.722, -0.71...
10
190
0.927763
train_f46cc6b0b3dd9221
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.667).lineTo(0.943, 0.293).lineTo(0.187, 0.293).lineTo(0.187, -0.667).lineTo(-0.187, -0.667).lineTo(-0.187, 0.293).lineTo(-0.943, 0.293).lineTo(-0.943, 0.667).lineTo(0.943, 0.667).cl...
5
106
2.456012
train_0c6a3b8932a72037
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.019, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.287).lineTo(1, -0.203).lineTo(0.916, -0.287).lineTo(-0.877, -0.287).lineTo(-1, -0.164).lineTo(-1, 0.186).lineTo(-0.898, 0.186).lineTo(-0.898, 0.287).lineTo(1, 0.287).close().extrud...
16
308
0.142865
train_55aaaf1cffe5a86a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.495, 0, -0.369), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.119, 0.738).lineTo(0.119, 0.119).lineTo(0.99, 0.119).lineTo(0.99, 0).lineTo(0, 0).lineTo(0, 0.738).lineTo(0.119, 0.738).close().extrude(1, both=True) result = result.cut(cq.Workplane...
6
47
0.367942
train_6c210cad992f5abd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.621, -2.746, -3.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.371, 2.96).lineTo(-0.186, -3.242).lineTo(-1.806, -2.96).lineTo(-2.371, -2.446).lineTo(-2.211, -2.059).lineTo(-1.166, -1.41).lineTo(-1.732, -0.896).lineTo(-1.572, -0.508).lineTo(-0...
12
20
0.079876
train_4911400c5b0caf73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.142, 0, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.427, 0.777).lineTo(-0.427, -0.346).lineTo(0.858, -0.346).lineTo(0.858, -0.777).lineTo(-0.858, -0.777).lineTo(-0.858, 0.777).lineTo(-0.427, 0.777).close().extrude(0.583) result = resul...
15
49
0.777064
train_39b8e4157f28084d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.513, 0.152, 0.217), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.481, 0.452).lineTo(0.481, 0.25).lineTo(-0.144, -0.452).lineTo(-0.481, 0.452).close().revolve(angleDegrees=90, axisStart=(0.486, -0.308), axisEnd=(0.486, 0.308)) result = result.un...
4
40
1.117987
train_1f2762bef183b261
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.827, 1).threePointArc((0.859, 0.977), (0.874, 0.942)).lineTo(0.874, -0.933).threePointArc((0.857, -0.975), (0.819, -1)).lineTo(-0.824, -1).threePointArc((-0.859, -0.976), (-0.874, -0.94))....
15
191
0.83759
train_7e8136fd45efc240
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.122, 1.003).lineTo(0.396, 0.929).threePointArc((0.495, 0.847), (0.615, 0.801)).lineTo(0.782, 0.632).threePointArc((0.833, 0.493), (0.927, 0.378)).lineTo(1.006, 0.072).threePointArc((0.991,...
5
211
1.608281
train_8c143e0ac63bc585
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.151, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.177, 0.642).lineTo(0.626, 0.574).lineTo(0.05, -0.642).lineTo(-0.398, -0.574).lineTo(-0.626, -0.458).lineTo(-0.59, -0.382).lineTo(-0.255, -0.27).lineTo(-0.482, -0.154).lineTo(-0.446, -0.078...
8
129
0.814247
train_d82db4393e27328e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.858, 0.355).workplane(offset=2).rect(0.288, 0.149).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.215).extrude(1.06, both=Tru...
2
10
0.139399
train_2765a5b6804ab026
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.24, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.444, 0.151).threePointArc((0.489, 0.118), (0.468, 0.066)).lineTo(0.225, 0.024).lineTo(0.044, -0.151).threePointArc((-0.031, -0.133), (-0.027, -0.069)).lineTo(0.158, 0.11).lineTo(0.444, ...
12
103
0.228087
train_90932976c13424d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.123, 0.001, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, 0.286).threePointArc((0.841, 0.263), (0.876, 0.209)).lineTo(0.876, -0.16).threePointArc((0.82, -0.248), (0.684, -0.286)).lineTo(-0.812, -0.286).threePointArc((-0.857, -0.273), ...
4
42
0.43598
train_3c193d985722257c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.576), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.768).lineTo(1, 0.289).lineTo(0.24, 0.289).lineTo(0.24, -0.768).lineTo(-0.24, -0.768).lineTo(-0.24, 0.289).lineTo(-1, 0.289).lineTo(-1, 0.768).lineTo(1, 0.768).close().extrude(1.153) res...
5
10
1.688095
train_5669786030285f70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, 1).threePointArc((0.77, 0.97), (0.8, 0.9)).lineTo(0.8, 0.749).threePointArc((0.756, 0.644), (0.651, 0.6)).lineTo(0.535, 0.6).threePointArc((0.44, 0.56), (0.4, 0.465)).lineTo(0.4, -0.106...
9
135
0.688312
train_70d3a3e8f52ae559
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.988, -0.143).lineTo(0.951, -0.282).lineTo(0.891, -0.414).lineTo(0.809, -0.536).lineTo(0.707, -0.645).lineTo(0.588, -0.737).lineTo(0.454, -0.812).lineTo(0.309, -0.867).lineTo(0.156, -0.9).l...
13
880
0.847685
train_78daee48b63dccc7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.741), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.908).lineTo(1, -0.908).lineTo(-0.641, -0.908).threePointArc((-0.888, -0.808), (-1, -0.557)).lineTo(-1, 0.522).lineTo(-0.605, 0.908).lineTo(1, 0.908).close().extrude(1.481) result = resu...
11
46
3.121301
train_dfa5b131dbdb4355
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.678, 0.343).lineTo(0.919, 0.295).lineTo(1, 0.121).lineTo(1, 0).lineTo(0.793, 0).lineTo(0.793, 0.104).lineTo(0.692, 0.295).lineTo(0, 0.136).lineTo(0, 0.343).lineTo(0.678, 0.343).close().re...
3
18
0.46046
train_d8ef0ab0275d5498
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.721, 0, 0.149), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.255, 0.441).threePointArc((0.255, 0.441), (0.509, 0)).threePointArc((0.255, -0.441), (-0.255, -0.441)).threePointArc((-0.509, 0), (-0.255, 0.441)).close().sweep(cq.Workplane(cq.Plane(...
8
101
0.334047
train_8ea1a2fc8b58d0be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.288, -0.106, 0.27), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.152, 0.088).lineTo(0.148, 0.067).lineTo(0.205, 0.042).lineTo(0.194, 0.015).lineTo(0.135, 0.034).lineTo(0.124, 0.016).lineTo(0.168, -0.028).lineTo(0.148, -0.049).lineTo(0.1, -0.011)...
4
284
0.346626
train_8a6e41b1961acfba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.05, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.352, 0.24).lineTo(-0.352, -0.114).lineTo(0.998, -0.114).lineTo(0.998, -0.24).lineTo(-0.998, -0.24).lineTo(-0.998, 0.24).lineTo(-0.352, 0.24).close().extrude(0.171, taper=-0.341) result...
6
54
0.07306
train_ee343b69d7ee3048
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.65, -0.528, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.349, 0).threePointArc((0, -0.349), (-0.349, 0)).threePointArc((0, 0.349), (0.349, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.65, 0.371, -0.495), normal=(0, 0, 1), xDir=(1, 0, ...
7
16
0.124954
train_f2def26e86316d67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.312, 0.197).workplane(offset=2).rect(1.26, 0.228).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.016, 0.286), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.242, 0.291).lineTo(0.27...
4
32
0.234134
train_7c4059646f72ec45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.002, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.717, -0.151).lineTo(0.972, -0.24).lineTo(0.952, -0.313).lineTo(0.694, -0.238).lineTo(0.63, -0.376).lineTo(0.841, -0.543).lineTo(0.798, -0.605).lineTo(0.579, -0.451).lineTo(0.473, ...
7
124
0.775663
train_0e980737f4de5367
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.461, -0.234, 0.105), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.22, 0.195).threePointArc((0.241, 0.186), (0.25, 0.164)).lineTo(0.25, -0.164).threePointArc((0.241, -0.186), (0.22, -0.195)).lineTo(-0.22, -0.195).threePointArc((-0.241, -0.186), (-...
4
45
0.38595
train_ac1eaac6b364a1b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.965, 2).lineTo(0.965, 1.565).lineTo(0.684, 1.565).lineTo(0.684, 0.999).lineTo(0.325, 0.999).lineTo(0.325, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.965, 2).close().revolve(angleDegrees=360, axisS...
3
9
2.177628
train_d514effe56ccd115
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.098, -0.374, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.114, 0.444).threePointArc((0.177, 0.371), (0.193, 0.267)).threePointArc((0.157, 0.162), (0.078, 0.082)).threePointArc((-0.021, 0.049), (-0.114, 0.073)).threePointArc((-0.177, 0.1...
5
44
0.315041
train_0c8b19c59b23fb4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.827, -0.064, 0.028), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.104, 0.145).threePointArc((-0.063, 0.173), (-0.013, 0.138)).threePointArc((0.012, 0.078), (0.024, 0.05)).threePointArc((0.062, 0.062), (0.129, 0.068)).threePointArc((0.173, 0.03...
1
14
0.069724
train_b97a4c7ea8af5aeb
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.092, 0.092).lineTo(0.092, 0.013).lineTo(-0.061, 0.013).lineTo(-0.061, -0.013).lineTo(0.092, -0.013).lineTo(0.092, -0.092).lineTo(-0.092, -0.092).lineTo(-0.092, -0.066).lineTo(0.061, -0.066).li...
9
110
0.037096
train_1c952d9fc0377628
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.395, 2).extrude(0.3) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.022, 0.826).lineTo(0.022, -0.826).lineTo(-0.022, -0.826).clos...
5
57
0.198677
train_0f7d9b7ab033d420
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.27), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.51, 0.539).lineTo(0.51, 0.41).lineTo(1, 0.41).lineTo(1, 0).lineTo(0.404, 0).lineTo(0.404, 0.539).lineTo(0.51, 0.539).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0...
2
12
1.092355
train_ab0bc0ebc56e12ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.405, 0.308).workplane(offset=2).rect(0.745, 0.239).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.179).extrude(0.916, both=Tr...
8
47
0.160649
train_830b6296e88a21e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, 0.024, 0.224), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.304, 0.024).threePointArc((0, -0.28), (-0.304, 0.024)).threePointArc((0, 0.328), (0.304, 0.024)).close().moveTo(-0.03, 0.145).threePointArc((0.077, 0.101), (0.121, -0.006)).threePo...
6
113
0.349482
train_6f24614a92a8014e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.005, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.84, -0.105).lineTo(0.983, -0.144).lineTo(0.973, -0.204).lineTo(0.829, -0.183).lineTo(0.802, -0.283).lineTo(0.928, -0.353).lineTo(0.904, -0.408).lineTo(0.773, -0.357).lineTo(0.723, -0....
4
148
1.146211
train_9523e613b9b1f30a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.145), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.756, 0.289).lineTo(0.756, 0).lineTo(-0.756, 0).lineTo(-0.756, 0.289).lineTo(-0.67, 0.289).lineTo(-0.67, 0.085).lineTo(0.67, 0.085).lineTo(0.67, 0.289).lineTo(0.756, 0.289).close().extrude...
7
59
0.129684
train_643a52a03203527f
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.1).lineTo(0.847, 0).lineTo(1, -0.1).lineTo(0.214, -0.1).lineTo(0.214, 0.1).lineTo(1, 0.1).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, 0, 1), x...
10
66
0.345325
train_e23f7e488e52f343
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.308) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.919).extrude(0.925, both=True)) result = result.union(cq.Workpl...
12
44
0.417564
train_ee0ce2864078032d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.083, 0.013, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.775, 0.215).threePointArc((0.568, -0.984), (-0.266, -0.095)).lineTo(-0.804, 0.726).threePointArc((-0.725, 0.984), (-0.618, 0.82)).lineTo(-0.079, 0).threePointArc((-0.158, -0.259), ...
8
419
0.3489
train_cf1fd389d15f5672
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.692, -0.369, 0.271), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.071, 1.135).lineTo(0.067, 0.778).lineTo(0.405, 0.962).lineTo(0.208, 0.633).lineTo(0.565, 0.486).lineTo(0.183, 0.432).lineTo(0.291, 0.062).lineTo(0.01, 0.327).lineTo(-0.213, 0.012...
8
115
0.419067
train_9f74ccccd556ce0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.832, 0.721).lineTo(1, 0.553).lineTo(1, -0.498).lineTo(0.776, -0.721).lineTo(-0.861, -0.721).lineTo(-1, -0.582).lineTo(-1, 0.538).lineTo(-0.817, 0.721).lineTo(0.832, 0.721).close().extrude(0...
14
189
0.801233
train_f5f893758499670b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.448).lineTo(1, -0.448).lineTo(-1, -0.448).lineTo(-1, 0.448).lineTo(1, 0.448).close().extrude(0.108) result = result.union(cq.Workplane(cq.Plane(origin=(-0.332, 0, -0.109), normal=(0, 0,...
13
64
0.130998
train_3120e227d8297901
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.125, -0.105), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.118, 0.317).lineTo(0.205, 0.278).lineTo(0.268, 0.216).lineTo(0.301, 0.125).lineTo(0.32, 0.072).lineTo(0.346, 0.018).lineTo(0.331, -0.035).threePointArc((0.325, -0.061), (0.325, -0.088...
9
44
0.629451
train_ae2dcc74fb10ff11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.068, 2).extrude(0.201) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.48, -0.679).lineTo(-0.48, -0.296).lineTo(0.48, -0.296).clo...
19
40
0.08953
train_388eb0df3f7f5ecb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.016, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.056, 0.349).lineTo(0.094, 0.207).lineTo(0.019, -0.07).lineTo(0.069, -0.252).lineTo(0.042, -0.349).lineTo(-0.094, 0.157).lineTo(-0.068, 0.254).lineTo(-0.019, 0.072).lineTo(0.056, 0.349).clo...
4
98
0.06975
train_ae60f2815afc2c0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.691), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.833, 0.92).threePointArc((0.945, 0.885), (1, 0.808)).lineTo(1, -0.547).threePointArc((0.838, -0.811), (0.48, -0.92)).lineTo(-0.603, -0.92).threePointArc((-0.875, -0.834), (-1, -0.637))...
4
46
3.074534
train_1401c93e625cd7a8
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.325, 0.87).lineTo(-0.325, -0.384).lineTo(1, -0.384).lineTo(1, -0.87).lineTo(-1, -0.87).lineTo(-1, 0.87).lineTo(-0.325, 0.87).close().extrude(0.368) result = result.cut(cq.Workplane(cq.Pla...
3
8
0.66919
train_06cdc23975c7a652
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.011, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.207, 0.867).lineTo(0.874, -0.522).threePointArc((0.745, -0.901), (0.207, -0.851)).lineTo(-0.874, 0.539).threePointArc((-0.772, 0.901), (-0.207, 0.867)).close().moveTo(-0.473, 0.75...
3
37
0.43874
train_7bde73acdb11db03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.566, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.64, 0.867, 1.318) result = result.edges().fillet(0.094) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.566, -0.022), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.088).extrude(3.2...
15
209
1.213061
train_6f7639d820b0c9de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0.258, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.419, 0.62).lineTo(0.507, 0.402).lineTo(0.564, 0.184).lineTo(0.505, -0.034).lineTo(0.496, -0.252).lineTo(0.419, -0.47).threePointArc((-0.036, -0.924), (-0.491, -0.47)).lineTo(-0.564, -0...
6
282
1.291314