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_5042a4d325e5a18c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, -0.09).lineTo(0.991, -0.133).lineTo(0.976, -0.223).lineTo(0.81, -0.2).lineTo(0.782, -0.287).lineTo(0.931, -0.366).lineTo(0.893, -0.451).lineTo(0.737, -0.387).lineTo(0.691, -0.465)...
6
118
0.568345
train_8967438322674551
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.136, 0.271, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.016, 1.136).lineTo(0.096, 1.006).lineTo(-0.648, 0.544).lineTo(-0.567, 0.414).lineTo(0.177, 0.877).lineTo(0.258, 0.747).lineTo(-0.486, 0.284).lineTo(-0.405, 0.154).lineTo(0.338, 0.617)....
3
91
0.4829
train_106ddba0c6cbb1d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.505, 0.521).lineTo(0.645, 0.181).lineTo(1, 0.085).lineTo(0.719, -0.154).lineTo(0.738, -0.521).lineTo(0.424, -0.328).lineTo(0.08, -0.459).lineTo(0.167, -0.101).lineTo(-0.064, 0.185).lineTo(...
4
25
0.289827
train_052c821bfcbf9da1
import cadquery as cq import math result = cq.Workplane('XY').box(1.633, 1.246, 2) result = result.edges().fillet(0.047) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.197).extrude(3.266, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.818, 0.102,...
9
48
3.23731
train_eba6acdf26a9b55c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).box(2, 1.933, 1.412) result = result.edges().fillet(0.17) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.062), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.23).extrude(3.998, both=True)) r...
8
49
4.84184
train_0c5eda04ee8ecf27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.323, 1.24).lineTo(0.498, 1.065).lineTo(0.498, 0.39).lineTo(0.639, 0.249).lineTo(0.902, 0.249).lineTo(1, 0.159).lineTo(1, -0.588).lineTo(0.833, -0.747).lineTo(0.586, -0.747).lineTo(0.49...
17
236
0.876772
train_b72c485991344167
import cadquery as cq import math result = cq.Workplane('XY').circle(0.193).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.244).extrude(0.302, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
7
19
0.244334
train_8a3a7cb4607f2b2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.129, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.871, 0.098).lineTo(0.871, -0.049).lineTo(0, -0.049).lineTo(0, -0.098).lineTo(-0.435, -0.098).lineTo(-0.435, -0.049).lineTo(-0.871, -0.049).lineTo(-0.871, 0.098).lineTo(0.871, 0.098).close(...
8
51
0.168157
train_0915bc045970be60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.071, 0.388, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.397, 2.07).threePointArc((0.48, 2.036), (0.514, 1.953)).lineTo(0.514, 0.265).threePointArc((0.48, 0.182), (0.397, 0.148)).lineTo(0.238, 0.182).lineTo(0.079, 0.071).threePointArc((-0.00...
1
14
0.695738
train_0f5ba382f700e440
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.276, 0.289).lineTo(1.276, -0.289).lineTo(-1.276, -0.289).lineTo(-1.276, 0.289).lineTo(1.276, 0.289).close().extrude(0.358) result = result.union(cq.Workplane(cq.Plane(origin=(-0.85, 0, 0.0...
9
131
0.237419
train_31f008bcbb609328
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.792, -0.156).lineTo(0.966, -0.222).lineTo(0.947, -0.295).lineTo(0.768, -0.249).lineTo(0.705, -0.392).lineTo(0.849, -0.512).lineTo(0.813, -0.574).lineTo(0.653, -0.475).lineTo(0.549, -0...
11
181
0.427419
train_5ff16465978d90d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.06, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1, 0.249).workplane(offset=2).rect(0.074, 0.24).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0.672, -0.029, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1.288, 0.9).threePoi...
5
25
0.248492
train_f4c489249c776046
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.148, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.125).lineTo(1, 0.084).lineTo(1, 0.042).lineTo(1, -0.042).lineTo(-1, -0.125).lineTo(-1, 0.084).lineTo(-1, 0.125).close().extrude(0.825, both=True).intersect(cq.Workplane(cq.Plane(ori...
16
104
0.138389
train_1de71b697f163d50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.618).extrude(0.942) result = result.cut(cq.Workplane(cq.Plane(origin=(0.618, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.083, 0.309), (-0.309, 0.535), (-0.618, 0...
8
99
0.916906
train_98278367a42f09ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.012, -0.007, 0), normal=(0.879, 0.132, 0.458), xDir=(-0.149, 0.989, 0))).moveTo(0.242, 0.43).lineTo(0.242, 0).lineTo(0.403, 0).lineTo(0.403, -0.214).lineTo(0.081, -0.214).lineTo(0.081, -0.43).lineTo(-0.081, -0.43).lineTo(-0.081, -0.214).lineTo(-...
3
44
0.530384
train_ecfb489327e2bb7d
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.012, 0.096).threePointArc((-0.004, 0.091), (0, 0.078)).lineTo(0, 0.061).threePointArc((0.003, 0.052), (0.009, 0.048)).lineTo(0.051, 0.048).threePointArc((0.061, 0.042), (0.066, 0.027)).lin...
3
32
0.045124
train_22044ee6236b17db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.118, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.097, 0.818).threePointArc((0.165, 0.788), (0.194, 0.716)).lineTo(0.194, 0.547).threePointArc((0.232, 0.45), (0.324, 0.409)).lineTo(0.479, 0.409).threePointArc((0.551, 0.377), (0.581, 0.301...
6
143
0.514042
train_9988954186b75ec5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.307, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, 0.39).threePointArc((0.946, 0.338), (1, 0.211)).lineTo(1, -0.248).threePointArc((0.957, -0.348), (0.855, -0.39)).lineTo(-0.797, -0.39).threePointArc((-0.939, -0.33), (-1, -0.185))...
12
64
0.73961
train_a01d21b81dcba4e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.189, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.129, 0.179).lineTo(0.126, 0.161).lineTo(0.15, 0.152).lineTo(0.145, 0.135).lineTo(0.12, 0.141).lineTo(0.112, 0.125).lineTo(0.133, 0.11).lineTo(0.123, 0.095).lineTo(0.1, 0.108).lineTo(0.089...
8
87
0.125902
train_23760e3477a06334
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.439), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.978, -0.171).lineTo(0.914, -0.334).lineTo(0.809, -0.483).lineTo(0.669, -0.611).lineTo(0.5, -0.711).lineTo(0.309, -0.781).lineTo(0.105, -0.817).lineTo(-0.105, -0.817).lineTo(-0.309, -0.781)...
12
227
2.446433
train_3365f00bcabf5b9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.761, 0.998).threePointArc((0.889, 0.964), (0.943, 0.882)).lineTo(0.943, -0.928).threePointArc((0.911, -0.977), (0.834, -0.998)).lineTo(0.466, -0.998).threePointArc((0.359, -0.969), (0.314,...
8
77
0.285226
train_691c52ea32d1f18e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.051), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.821, 0.351).lineTo(0.821, 0.223).lineTo(1.004, 0.223).lineTo(1.004, 0).lineTo(0.27, 0).lineTo(0.27, 0.351).lineTo(0.821, 0.351).close().revolve(angleDegrees=360, axisStart=(0, 0, 0),...
5
25
1.107815
train_bc4e7814920241e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.639, 0.382).lineTo(1, 0.022).lineTo(1, -0.008).lineTo(0.625, -0.382).lineTo(-0.69, -0.382).lineTo(-1, -0.072).lineTo(-1, 0.008).lineTo(-0.625, 0.382).lineTo(0.639, 0.382).close().extrude(0...
11
25
0.18177
train_057102228dbbedb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.112, 0.159, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.678, -0.252).threePointArc((-0.678, -0.923), (-0.412, 0.378)).lineTo(-0.097, 0.923).lineTo(-0.23, 0.273).threePointArc((-0.545, -0.273), (-0.392, -0.846)).threePointArc((0.077, -0.874),...
2
44
0.695684
train_5f2219a2ec2207ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, 0.39, -0.013), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.412, 0.859).lineTo(0.412, -0.397).threePointArc((-0.412, 0.231), (0.412, 0.859)).close().moveTo(-0.096, 0.354).lineTo(-0.016, 0.308).lineTo(0.049, 0.293).lineTo(0.093, 0.231).lineT...
4
37
1.367689
train_2bc0d3f26d7f542b
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.758, 0.877).threePointArc((0.839, 0.845), (0.876, 0.776)).lineTo(0.876, 0.303).threePointArc((0.818, 0.178), (0.674, 0.125)).lineTo(-0.549, 0.125).threePointArc((-0.575, 0.116), (-0.586, 0.093...
4
116
3.840389
train_f39e1fb7e2b021d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.074, -0.164, -0.491), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.6, 0.684).threePointArc((-0.574, 0.672), (-0.562, 0.646)).lineTo(-0.562, -0.202).threePointArc((-0.527, -0.285), (-0.444, -0.32)).lineTo(0.859, -0.32).threePointArc((0.905, -0.34...
11
176
0.9158
train_5f996ab63e0e1764
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.234).lineTo(0.757, 0).lineTo(1, -0.234).lineTo(0.285, -0.234).lineTo(0.285, 0.234).lineTo(1, 0.234).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.548, 0, 0), normal=...
16
120
0.642592
train_e3706315c20e3913
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.144, -0.005, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.28, 0.84).threePointArc((0.14, 0.7), (0.561, 0.42)).threePointArc((0.7, 0.28), (0.84, 0)).threePointArc((0.84, -0.84), (0.28, -0.28)).threePointArc((0, 0.42), (-0.42, 0)).threePo...
14
36
0.473152
train_1b73641abb59c251
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.121, -0.013, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.77).threePointArc((0.876, 0.77), (0.292, -0.77)).lineTo(0.292, -0.257).threePointArc((0, -0.257), (0, -0.77)).threePointArc((-0.876, -0.257), (-0.292, 0.257)).threePointArc((0...
5
47
0.86009
train_2cf6f30f35a40fb5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.064, -0.14, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.306, -0.416).lineTo(-0.045, -0.244).lineTo(-0.138, -0.372).lineTo(-0.362, -0.368).threePointArc((-0.398, -0.33), (-0.419, -0.282)).threePointArc((-0.433, -0.166...
10
232
0.449091
train_ef7ed78044598f82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.69), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.157, -0.03).lineTo(0.145, -0.068).lineTo(0.202, -0.117).lineTo(0.174, -0.156).lineTo(0.109, -0.117).lineTo(0.077, -0.14).lineTo(0.095, -0.214).lineTo(0.049, -0.229).lineTo(0.02, -0.159).lin...
14
76
0.205189
train_52e311821795be95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.303, 0.015, 0.261), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.141, 0.282).threePointArc((0.141, 0.282), (0.283, 0.037)).threePointArc((0.141, -0.207), (-0.141, -0.207)).threePointArc((-0.283, 0.037), (-0.141, 0.282)).close().extrude(0.158) ...
6
188
0.119478
train_2086040793c40cdd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.48, 0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.431, -0.52).lineTo(-0.431, -0.459).lineTo(0.039, 0.52).close().moveTo(-0.093, 0.163).lineTo(-0.154, 0.134).lineTo(-0.209, 0.172).lineTo(-0.204, 0.239).lineTo(-0.144, 0.268).lineTo(-0.088...
5
97
0.261749
train_8a0e823ca997453d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.334, 0.911).lineTo(-0.334, -0.301).lineTo(1, -0.301).lineTo(1, -0.911).lineTo(-1, -0.911).lineTo(-1, 0.911).lineTo(-0.334, 0.911).close().extrude(0.386) result = result.cut(cq.Workplane(c...
14
9
0.781825
train_3e063ffefaf5d1e1
import cadquery as cq import math result = cq.Workplane('XY').circle(1).extrude(0.444, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.186).extrude(0.379, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
6
52
2.421835
train_2b4dbab9277a742b
import cadquery as cq import math result = cq.Workplane('XY').box(1.612, 2, 1.38) result = result.edges().fillet(0.097) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.633).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(...
10
171
0.831217
train_577e0ea04065dbce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.625, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.375, 0).threePointArc((0, -0.375), (-0.375, 0)).threePointArc((0, 0.375), (0.375, 0)).close().revolve(angleDegrees=270, axisStart=(-0.858, 0.625), axisEnd=(0.858, 0.625)) result = result.e...
3
15
1.274086
train_e10e889495e56ff6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, 1.801, -0.006), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.491, 2.751).lineTo(-0.491, 1.355).lineTo(0.993, 1.355).lineTo(0.993, 0.852).lineTo(-0.993, 0.852).lineTo(-0.993, 2.751).lineTo(-0.491, 2.751).close().revolve(angleDegrees=90, axi...
12
68
3.396331
train_0ae81dd0a54bc220
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.352, 0.332).threePointArc((-0.299, 0.321), (-0.276, 0.295)).lineTo(-0.276, -0.124).threePointArc((-0.241, -0.163), (-0.157, -0.18)).lineTo(0.512, -0.18).threePointArc((0.569, -0.192), (0.5...
4
66
1.303367
train_035ca1ff678a7aca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.4, -0.6), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.262, 0.8).threePointArc((-0.218, 0.782), (-0.2, 0.738)).lineTo(-0.2, 0.168).threePointArc((-0.15, 0.05), (-0.032, 0)).lineTo(0.92, 0).threePointArc((0.976, -0.023), (1, -0.079)).lineTo(1,...
19
22
1.523273
train_2802f94657ae487d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.008).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.008).lineTo(-0.723, 1.008).lineTo(-0.723, 0.273).lineTo(0.723, 0.273).lineTo(0.723, 1.008).lineTo(1, 1.008).close().extrude(0.199, both=Tru...
4
23
0.424532
train_52715a456264d387
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.093, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.005, 0.221).lineTo(0.158, 0.155).lineTo(0.221, -0.001).lineTo(0.155, -0.157).lineTo(-0.001, -0.221).lineTo(-0.155, -0.157).lineTo(-0.221, -0.002).lineTo(-0.16, 0.152).lineTo(-0.005, 0.221...
4
76
0.230806
train_edadc3918453dddc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.342, 0.883).threePointArc((0.453, 0.842), (0.5, 0.744)).lineTo(0.5, 0.527).threePointArc((0.529, 0.467), (0.596, 0.442)).lineTo(0.923, 0.442).threePointArc((0.977, 0.421), (1, 0.373)).line...
4
32
1.021707
train_fa394d164e010326
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.648, 0.493).lineTo(0.648, 0.143).lineTo(1, 0.143).lineTo(1, -0.224).threePointArc((0.921, -0.414), (0.729, -0.493)).lineTo(-1, -0.493).lineTo(-1, 0.493).lineTo(0.648, 0.493).close().extrud...
11
32
0.569067
train_803f9599a2da9f3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.329, 1).lineTo(0.329, 0.5).lineTo(0.988, 0.5).lineTo(0.988, 0).lineTo(0.329, 0).lineTo(0.329, -0.5).lineTo(0.988, -0.5).lineTo(0.988, -1).lineTo(-0.988, -1).lineTo(-0.988, 1).lineTo(0.329,...
8
13
1.412235
train_006bfb882d0c800c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.547, 1).threePointArc((0.697, 0.936), (0.761, 0.788)).lineTo(0.761, -0.884).threePointArc((0.727, -0.965), (0.647, -1)).lineTo(-0.61, -1).threePointArc((-0.716, -0.955), (-0.761, -0.849))....
10
128
0.421728
train_c4f6592a0b976ca3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.25, -0.436, -0.385), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.071, 0.264).lineTo(0.1, 0.195).lineTo(0.058, 0.176).lineTo(0.088, 0.107).lineTo(0.045, 0.089).lineTo(0.075, 0.019).lineTo(0.032, 0.001).lineTo(0.062, -0.069).lineTo(0.019, -0.087)...
16
124
0.360851
train_e23a2379d31f0683
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.299, -0.269, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 0.863).threePointArc((0.274, 0.825), (0.301, 0.734)).lineTo(0.301, 0.213).threePointArc((0.345, 0.063), (0.45, 0)).lineTo(0.779, 0).threePointArc((0.866, -0.053), (0.903, -0.178)...
7
8
0.051271
train_dafe8b9bebd28af4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.364, -0.071, 0.122), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.511, 0.256).lineTo(0.495, 0.191).lineTo(0.538, 0.089).lineTo(0.538, 0).lineTo(0.437, 0).lineTo(0.437, 0.077).lineTo(0.384, 0.191).lineTo(0, 0.155).lineTo(0, 0.256).lineTo(0.511, 0...
7
35
0.916155
train_9660d4024c61fd90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.109, 0.753).lineTo(0.316, 0.693).lineTo(0.64, 0.412).lineTo(0.761, 0).lineTo(0.64, -0.412).lineTo(0.316, -0.693).lineTo(-0.109, -0.753).lineTo(-0.498, -0.576).lineTo(-0.731, -0.215).line...
2
14
0.601575
train_a737c9813daedef4
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.709).extrude(1.348) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.509).extrude(1.056)) result = result.cut(cq.Workplane(cq.Plan...
5
30
2.686241
train_6c1b5a5c9e6fe451
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.453, -0.832, -0.465), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.534, 0.949).lineTo(0.359, -0.043).lineTo(-0.534, 0.556).lineTo(0.534, 0.949).close().extrude(1.664) result = result.union(result.mirror(mirrorPlane='XY', basePointVector=(-0.453,...
6
50
1.464004
train_848ab2149a66a2de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.381, -0.191, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.761).threePointArc((0.539, 0.539), (0.761, 0)).lineTo(0.316, 0).threePointArc((0.225, 0.225), (0, 0.316)).lineTo(0, 0.761).close().extrude(2) result = result.union(cq.Workplane(cq...
7
29
0.70192
train_b5ece4c5e9cde965
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.356, 2).lineTo(0.356, 0.439).lineTo(0.744, 0.439).lineTo(0.744, 0).lineTo(0.293, 0).lineTo(0.293, 2).lineTo(0.356, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
6
34
0.815327
train_b10031ee7ea9119d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.069, -0.287), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.527, 0.364).threePointArc((0.662, 0.457), (0.764, 0.327)).lineTo(0.954, -0.186).threePointArc((0.961, -0.413), (0.738, -0.457)).lineTo(0.416, -0.414).threePointArc((0.145, -0.283), (0...
9
64
1.649861
train_be2cbcdd3230805a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.558), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.178, 0.296).threePointArc((0.222, 0.244), (0.202, 0.178)).threePointArc((0.219, 0.117), (0.244, 0.059)).lineTo(0.146, -0.059).threePointArc((0.22, -0.096), (0.229, -0.178)).threePointArc((...
5
29
0.404732
train_6f6120953608c1ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.11, 0.024, 0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.171, 0.819).threePointArc((0.413, 0.968), (1.088, 0.209)).threePointArc((0.853, -0.729), (0.128, -0.968)).threePointArc((-1.088, -0.295), (-0.171, 0.819)).close().extrude(0.196, bot...
9
480
0.813459
train_a4f166b1c39b5aa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.103, -0.284, -0.557), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.586, -0.283).lineTo(0.614, -0.321).lineTo(0.639, -0.36).lineTo(0.66, -0.4).lineTo(0.678, -0.441).lineTo(0.692, -0.483).lineTo(0.702, -0.525).lineTo(0.709, -0.568).lineTo(0.713, -0...
7
126
0.647532
train_8b87e8d8c0964fc3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.762, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.865, 1.439).threePointArc((0.957, 1.4), (0.996, 1.307)).lineTo(0.996, 0.215).threePointArc((0.957, 0.122), (0.865, 0.084)).lineTo(-0.865, 0.084).threePointArc((-0.957, 0.122), (-0.996, 0....
13
1,273
4.583454
train_352c78979c7e1344
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.61, 0.746, 0.006), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.79, 0.904).lineTo(0.797, 0.738).threePointArc((0.755, 0.676), (0.741, 0.605)).lineTo(0.823, 0.068).lineTo(0.302, 0.146).threePointArc((0.271, -0.152), (0.167, -0.126)).threePointArc...
6
62
2.129746
train_72cfde20817c7d78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.568, -0.781).lineTo(0.561, -0.82).lineTo(0.549, -0.858).lineTo(0.533, -0.893).lineTo(0.513, -0.924).lineTo(0.489, -0.95).lineTo(0.463, -0.972).lineTo(0.434, -0.987).lineTo(0.404, -0.997).l...
9
111
0.489173
train_e2a463ceb2b8d755
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.266, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.537).lineTo(0.734, -0.565).lineTo(-0.696, -0.565).lineTo(-0.734, -0.527).lineTo(-0.734, 0.542).lineTo(-0.711, 0.565).lineTo(0.706, 0.565).lineTo(0.706, 0.537).lineTo(0.734, 0.53...
11
119
0.710089
train_9fdb38af14a0c311
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.309), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.397, 0.256).threePointArc((0.461, 0.229), (0.487, 0.166)).lineTo(0.487, -0.256).lineTo(-0.394, -0.256).threePointArc((-0.46, -0.229), (-0.487, -0.164)).lineTo(-0.487, 0.136).lineTo(-0.366,...
16
77
0.143101
train_2329fa68755b6706
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.93, 0.926).lineTo(0.93, 0.864).lineTo(1, 0.864).lineTo(1, -0.869).lineTo(0.935, -0.926).lineTo(-0.919, -0.926).threePointArc((-0.971, -0.904), (-1, -0.853)).lineTo(-1, 0.874).threePointArc...
10
52
0.588448
train_855af528de499c5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.154, 1).threePointArc((0.222, 0.971), (0.25, 0.903)).lineTo(0.25, 0.184).threePointArc((0.305, 0.055), (0.434, 0)).lineTo(0.672, 0).threePointArc((0.727, -0.023), (0.75, -0.078)).lineTo(0....
10
58
1.240142
train_44276a09d4f92ecf
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(0.818, 0.26).threePointArc((0.944, 0.209), (1, 0.079)).lineTo(1, -0.005).threePointArc((0.923, -0.186), (0.745, -0.26)).lineTo(-0.816, -0.26).threePointArc((-0.944, -0.207), (-1, -0.078)).li...
10
16
0.477261
train_fb0d005d794f41de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.251, 0.808).lineTo(0.49, 1).lineTo(0.826, 0.279).lineTo(0.793, -0.414).lineTo(0.327, -1).lineTo(-0.392, -0.845).lineTo(-0.784, -0.283).lineTo(-0.826, 0.43).close().moveTo(-0.176, 0.173).l...
8
238
0.816598
train_7297d4065353c2a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.661, 0.103, 0.295), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.086, 0.149).threePointArc((0.086, 0.149), (0.172, 0)).threePointArc((0.086, -0.149), (-0.086, -0.149)).threePointArc((-0.172, 0), (-0.086, 0.149)).close().extrude(0.231) result =...
7
190
0.117991
train_c24eea29adeacf8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.139), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.26).lineTo(1, 1.139).lineTo(0.422, 1.139).lineTo(0.422, 1.017).lineTo(0.232, 1.017).lineTo(0.232, 0.652).lineTo(0.112, 0.652).lineTo(0.112, 0).lineTo(0, 0).lineTo(0, 1.26).lineTo(1, 1....
7
25
0.294247
train_a75cf6e311ff7bbe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.032, -0.101, -0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.936, 1.277, 1.446) result = result.edges().fillet(0.2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.032, -0.101, -0.054), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.373).extr...
15
160
1.662066
train_4d13d8761a0e94f9
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.516, 0.183).workplane(offset=2).rect(0.362, 0.189).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.095, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).polarArray(0.136, 45, 360, 24).circl...
2
54
0.160878
train_a9f78d23dd06d2ab
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.945).lineTo(1, 0.531).lineTo(0.229, 0.531).lineTo(0.229, -0.945).lineTo(-0.229, -0.945).lineTo(-0.229, 0.531).lineTo(-1, 0.531).lineTo(-1, 0.945).lineTo(1, 0.945).close().extrude(0.709, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=...
18
34
2.081071
train_ce0e59be67835f71
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.41, 1).lineTo(-0.41, 0.332).lineTo(0.82, 0.332).lineTo(0.82, -0.332).lineTo(0.41, -0.332).lineTo(0.41, -0.664).lineTo(0, -0.664).lineTo(0, -1).lineTo(-0.41, -1).lineTo(-0.41, -0.332).line...
16
63
0.71709
train_c5ede9c443a41393
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.063, 0.003, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.937, 0.737).lineTo(0.937, 0.488).lineTo(0.15, 0.488).lineTo(0.15, -0.737).lineTo(-0.15, -0.737).lineTo(-0.15, 0.488).lineTo(-0.937, 0.488).lineTo(-0.937, 0.737)...
1
31
0.407951
train_77a17782773472c9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.118, 1).lineTo(0.118, 0.882).lineTo(-0.235, 0.294).lineTo(0.471, -0.059).lineTo(0.824, 0.412).lineTo(0.941, 0.294).lineTo(0.118, -1).lineTo(-0.118, -0.882).lineTo(0.235, -0.412).lineTo(-0.353, 0.059).lineTo(-0.706, -0.412).lineTo(-0.941, -0.294).li...
3
23
0.900271
train_13cf56bd95fdc44d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.398), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.796).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.796).lineTo(-0.661, 0.796).lineTo(-0.661, 0.339).lineTo(0.661, 0.339).lineTo(0.661, 0.796).lineTo(1, 0.796).close().extrude(0.298, both=Tru...
3
23
0.582186
train_6eea2cbf99b05c26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.3), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.65, 0.5).lineTo(-0.65, 0.35).lineTo(0.65, 0.35).lineTo(0.65, 0.5).lineTo(1, 0.5).close().extrude(0.283, both=True) result = result...
5
41
0.42877
train_f481f1acd6d4d589
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.02, 0.695, 0.01), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.349, 1.071).threePointArc((0.378, 0.977), (0.304, 0.911)).lineTo(0.023, 0.641).threePointArc((-0.064, 0.708), (-0.121, 0.787)).threePointArc((-0.217, 0.896), (-0.326, 1.02)).threePoi...
3
10
2.75393
train_ac90714db756a2a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.522, 0.555).lineTo(-0.528, 0.336).lineTo(-0.331, 0.476).lineTo(-0.267, 0.449).lineTo(-0.273, 0.23).lineTo(-0.076, 0.37).lineTo(-0.012, 0.343).lineTo(-0.018, 0.124).lineTo(0.179, 0.26...
5
147
0.409265
train_e5f86124c85183df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.738, 0.646).threePointArc((0.86, 0.572), (0.912, 0.398)).lineTo(0.912, -0.252).threePointArc((0.83, -0.529), (0.635, -0.646)).lineTo(-0.66, -0.646).threePointArc((-0.837, -0.54), (-0.912, ...
4
111
0.84438
train_2dbd486d609798de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.037, 0.276, 0.419), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.305, 0.036).threePointArc((0, -0.268), (-0.305, 0.036)).threePointArc((0, 0.341), (0.305, 0.036)).close().extrude(0.467) result = result.union(cq.Workplane(cq.Plane(origin=(0.022, ...
8
50
0.310091
train_91e12d40d90b0b04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, 0.002, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.771, -0.127).lineTo(0.983, -0.196).lineTo(0.954, -0.307).lineTo(0.739, -0.254).lineTo(0.688, -0.37).lineTo(0.866, -0.505).lineTo(0.804, -0.6).lineTo(0.616, -0.48).lineTo(0.53, -0....
8
109
0.258123
train_f6d4579588476b9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.135), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.226).lineTo(0.847, 0).lineTo(1, -0.226).lineTo(0.294, -0.226).lineTo(0.294, 0.226).lineTo(1, 0.226).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = r...
12
60
0.586946
train_71b932f879674b6b
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.843, 1).lineTo(0.843, 0.427).lineTo(0.188, 0.427).lineTo(0.188, -0.427).lineTo(0.843, -0.427).lineTo(0.843, -1).lineTo(-0.843, -1).lineTo(-0.843, -0.427).lineTo(-0.188, -0.427).lineTo(-0.188, 0.427).lineTo(-0.843, 0.427).lineTo(-0.843, 1).lineTo(0.8...
1
22
0.201879
train_52f4a420038e09ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.036, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.193, 0.196).lineTo(0.193, 0.133).lineTo(0.038, 0.133).lineTo(0.038, -0.196).lineTo(-0.038, -0.196).lineTo(-0.038, 0.133).lineTo(-0.193, 0.133).lineTo(-0.193, 0.196).lineTo(0.193, 0.196).cl...
11
273
0.087613
train_ec2679a826e12894
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.08, 0.11), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.237, 0.468).lineTo(-0.206, 0.461).lineTo(-0.206, 0.164).lineTo(-0.083, 0.164).lineTo(-0.083, 0.461).lineTo(0.04, 0.461).lineTo(0.04, 0.164).lineTo(0.163, 0.164).lineTo(0.163, 0.461).li...
6
101
0.640171
train_f324099d21f126e9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.161, 0.132).threePointArc((0.186, 0.116), (0.196, 0.079)).lineTo(0.196, -0.099).threePointArc((0.189, -0.122), (0.174, -0.132)).lineTo(-0.183, -0.132).threePointArc((-0.192, -0.126), (-0.196, -0.113)).lineTo(-0.196, -0.058).threePointArc((-0.193, -0...
6
27
0.141621
train_bab15e820a7e2787
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.799, -0.599, -0.64), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.599).threePointArc((1.128, 1.128), (1.599, 0)).lineTo(0.837, 0).threePointArc((0.591, 0.591), (0, 0.837)).lineTo(0, 1.599).close().extrude(0.948) result = result.union(cq.Workp...
4
20
2.028448
train_66c1d81d4ae288dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.416) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.592).extrude(1.249, both=True)) result = result.union(cq.Workpl...
17
72
1.983441
train_3635fa2dedcb700e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.309, 0, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.612, 0.576).threePointArc((0.668, 0.553), (0.691, 0.497)).lineTo(0.691, -0.576).lineTo(-0.643, -0.576).lineTo(-0.691, -0.527).lineTo(-0.691, 0.538).threePointArc((-0.681, 0.565), (-0.6...
14
194
1.178436
train_6566e5d671c4dc84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.085, 0.389).lineTo(0.374, -0.047).threePointArc((0.394, -0.349), (0.078, -0.389)).lineTo(-0.394, 0.062).threePointArc((-0.376, 0.38), (-0.085, 0.389)).close().moveTo(-0.162, 0.288)....
21
59
0.553235
train_76476aa63a4f38ed
import cadquery as cq import math result = cq.Workplane('XY').box(1.874, 0.938, 2) result = result.edges().fillet(0.126) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.254).extrude(3.749, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
6
48
2.607014
train_14ced35ec44f821b
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.982, 0.089).lineTo(0.982, -0.089).lineTo(-0.982, -0.089).lineTo(-0.982, 0.089).lineTo(-0.389, 0.089).lineTo(-0.389, -0.034).lineTo(0.389, -0.034).lineTo(0.389, 0.089).lineTo(0.982, 0.089).close().extrude(0.134, taper=-7.46, both=True) result = resul...
9
164
0.068299
train_ac3df00f606e3a61
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.526), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.001).extrude(1.051) result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.526), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.133, 0.501), (-0.5, 0.868), (-1.001, 1.0...
8
87
2.636326
train_c75e7ef11f4c94a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 0.419).threePointArc((0.363, 0.326), (0.455, 0.104)).lineTo(0.455, -0.091).lineTo(0.128, -0.419).lineTo(-0.16, -0.419).lineTo(-0.16, -0.123).lineTo(-0.455, -0.123).lineTo(-0.455, 0.00...
14
76
0.348857
train_270b7846479f720e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.106, -0.389, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.15, 0.21).threePointArc((0.899, 0.21), (0.3, -0.09)).threePointArc((0.15, -0.09), (0, -0.15)).threePointArc((-0.15, -0.21), (-0.3, -0.21)).threePointArc((-0.45, -0.15), (-0.599,...
6
106
0.412598
train_7aba2af1b08000ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.399).lineTo(1, -0.399).lineTo(-0.064, -0.399).lineTo(-0.064, -0.133).lineTo(0.734, -0.133).lineTo(0.734, 0.133).lineTo(-0.064, 0.133).lineTo(-0.064, 0.399).lineTo(1, 0.399).close().extr...
5
24
0.666096
train_0de63e850f124e41
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.369, 1).threePointArc((0.547, 0.926), (0.622, 0.746)).lineTo(0.622, -0.774).lineTo(0.396, -0.774).lineTo(0.396, -1).lineTo(-0.622, -1).lineTo(-0.622, 0.661).lineTo(-0.283, 1).lineTo(0.369,...
11
38
0.635276
train_c57ec465a71b5ba7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.951, 0.381, 0.163), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.12, 0.365).threePointArc((0.197, 0.285), (0.222, 0.129)).threePointArc((0.187, -0.061), (0.102, -0.236)).threePointArc((-0.011, -0.347), (-0.12, -0.365)).threePointArc((-0.197, -0...
7
81
0.535137