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_20f688c3b8209fd1
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.837).lineTo(1, 0).lineTo(0.6, 0).lineTo(0.6, -0.419).lineTo(-0.2, -0.419).lineTo(-0.2, -0.837).lineTo(-1, -0.837).lineTo(-1, 0.419).lineTo(0.6, 0.419).lineTo(0.6, 0.837).lineTo(1, 0.837).close().extrude(0.36, taper=2.629, both=True) result = resu...
9
67
1.390062
train_54bd9c339c46c8ef
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.798, 0.267).lineTo(0.832, -0.264).threePointArc((0.652, -0.332), (0.423, -0.284)).lineTo(0.387, 0.079).threePointArc((0.339, 0.122), (0.207, 0.113)).lineTo(-0.647, -0.065).threePointArc((-0...
2
68
0.443052
train_f669a38445c5c263
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, -0.1, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.097, 0.226).threePointArc((-0.006, 0.252), (0.089, 0.202)).threePointArc((0.132, 0.104), (0.097, 0.016)).threePointArc((0.006, -0.013), (-0.089, 0.04)).threePointArc((-0.132, 0.137), ...
8
173
0.105323
train_462768dd310e353e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.318, 0.269, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1, 0.318).threePointArc((0, -0.682), (-1, 0.318)).threePointArc((0, 1.318), (1, 0.318)).close().extrude(0.539) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.467, -0.171, -1.3), no...
9
515
1.480445
train_c532d48831944a74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.031, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.382, 0.35).lineTo(-0.382, -0.093).lineTo(0.943, -0.093).lineTo(0.943, -0.35).lineTo(-0.943, -0.35).lineTo(-0.943, 0.35).lineTo(-0.382, 0.35).close().twistExtrude(0.143, -63.004) resul...
7
45
0.210932
train_38e02ed0c871eeb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.3, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.946, 0.699).lineTo(0.946, 0.324).lineTo(0.297, 0.324).lineTo(0.297, -0.699).lineTo(-0.297, -0.699).lineTo(-0.297, 0.324).lineTo(-0.946, 0.324).lineTo(-0.946, 0.699).lineTo(0.946, 0.699)....
14
106
1.414264
train_ef5cf81ff9ffa5ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0.099, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.021, 0.052).lineTo(0.021, -0.01).lineTo(0.042, -0.01).lineTo(0.042, -0.031).lineTo(-0.021, -0.031).lineTo(-0.021, -0.052).lineTo(-0.042, -0.052).lineTo(-0.042, 0.031).lineTo(0, 0.031).l...
2
28
0.011541
train_0b1de94434e717b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.511, 0.393), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.023, 0.205).threePointArc((0.085, 0.162), (0.097, 0.102)).threePointArc((0.053, 0.059), (-0.023, 0.059)).threePointArc((-0.085, 0.103), (-0.097, 0.163)).threePointArc((-0.053, 0.2...
9
121
0.270347
train_20071404e84b1051
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.285, -0.212, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.568).threePointArc((0.402, 0.402), (0.568, 0)).lineTo(0.159, 0).threePointArc((0.112, 0.112), (0, 0.159)).lineTo(0, 0.568).close().extrude(2) result = result.union(cq.Workplane(cq...
8
43
0.368816
train_5c7956f040adaf1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.08, 0.4, 0.114), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.078, 0.053).threePointArc((0.064, 0.02), (0.031, 0.006)).lineTo(-0.035, 0.006).threePointArc((-0.068, 0.02), (-0.082, 0.053)).lineTo(-0.082, 0.09).threePointArc((-0.068, 0.123), (-0.0...
8
181
0.674933
train_e08660edf61ccea8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.986, -1.121, 0.125), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.05, 0.812).lineTo(0.17, 0.629).lineTo(0.034, 0.459).threePointArc((0.011, 0.451), (-0.011, 0.462)).lineTo(-0.054, 0.473).lineTo(-0.097, 0.483).threePointArc((-0.122, 0.488), (-0.1...
8
245
1.900182
train_94bc002ff411b5a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.259, 0.965).threePointArc((0.707, 0.707), (0.965, -0.259)).threePointArc((0.259, -0.965), (-0.707, -0.707)).threePointArc((-0.965, 0.259), (-0.259, 0.965)).close().extrude(0.414) result =...
7
10
1.299125
train_479c540b9d9bfd74
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.903, 0.667).lineTo(0.903, 0.373).lineTo(0.147, 0.373).lineTo(0.147, -0.667).lineTo(-0.147, -0.667).lineTo(-0.147, 0.373).lineTo(-0.903, 0.373).lineTo(-0.903, 0.667).lineTo(0.903, 0.667).close(...
4
10
1.673448
train_6942cf559594aa7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -14.417), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.295, 0.394).lineTo(0.295, -0.394).lineTo(-0.295, -0.394).lineTo(-0.295, -0.197).lineTo(0, -0.197).lineTo(0, 0.394).lineTo(0.295, 0.394).close().extrude(15.063) result = result.union(cq.Wo...
13
8
0.478592
train_7c4ac228ece11a1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.017, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.399, 0.798).threePointArc((0.598, 0.798), (0.998, 0)).threePointArc((0.399, -0.798), (-0.598, -0.798)).threePointArc((-0.998, 0), (-0.399, 0.798)).close().extrude(0.838) result = res...
5
160
2.290342
train_ee22d59294a25e6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.03, 0.696, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.147, 0.497).threePointArc((-0.043, 0.279), (0.252, 0.295)).threePointArc((0.848, -0.354), (-0.047, -0.556)).threePointArc((-0.085, -0.536), (-0.21, -0.527)).threePointArc((-0.689, -...
16
93
0.764282
train_46bc057b6a6a4cd2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.027, -0.78, -0.507), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.108, 0.244).threePointArc((0.244, 0.108), (0.108, -0.244)).lineTo(-0.244, -0.108).lineTo(-0.108, 0.244).close().extrude(0.489, both=True) result = result.union(cq.Workplane(cq.Pla...
21
106
0.327598
train_2864ca47401cb295
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.8, 0, -0.561), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.267, 1.121).lineTo(0.267, 0.267).lineTo(1.6, 0.267).lineTo(1.6, 0).lineTo(0, 0).lineTo(0, 1.121).lineTo(0.267, 1.121).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq....
3
12
1.295613
train_9a7f97e3ae41ed16
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.939, 0.597).threePointArc((0.982, 0.579), (1, 0.536)).lineTo(1, -0.543).lineTo(0.944, -0.597).lineTo(-1, -0.597).lineTo(-1, 0.534).lineTo(-0.937, 0.597).lineTo(0.939, 0.597).close().extrud...
9
43
0.324373
train_f3f30f65089d7a78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.187, 0, -0.706), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.717, 0.091).threePointArc((0.781, 0.065), (0.808, 0)).threePointArc((0.781, -0.065), (0.717, -0.091)).threePointArc((0.653, -0.065), (0.626, 0)).threePointArc((0.653, 0.065), (0.717, ...
5
34
0.395062
train_650e4f23d962b082
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.883, 0.96, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.02, 1.505).lineTo(0.495, 1.273).lineTo(0.634, 0.726).lineTo(0.293, 0.276).lineTo(-0.271, 0.261).lineTo(-0.634, 0.694).lineTo(-0.523, 1.247).lineTo(-0.02, 1.505).close().workplane(offse...
4
25
3.225362
train_13c2e4636e34223c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.176, -0.223, -0.237), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.078, 0.504).lineTo(0.202, 0.342).lineTo(0.124, 0.154).lineTo(-0.078, 0.127).lineTo(-0.202, 0.289).lineTo(-0.124, 0.477).lineTo(0.078, 0.504).close().revolve(angleDegrees=360, axi...
7
49
1.440173
train_9a9eee5a2af65351
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.343), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.678, 0.536).lineTo(0.678, 0.415).lineTo(0.997, 0.415).lineTo(0.997, 0).lineTo(0.129, 0).lineTo(0.129, 0.536).lineTo(0.678, 0.536).close().revolve(angleDegrees=360, axisStart=(0, 0, 0...
9
83
1.301303
train_fcf1b6ac3f333b9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.133, -0.024, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.867, 0.496).lineTo(0.867, -0.496).lineTo(-0.867, -0.496).lineTo(-0.867, 0.496).lineTo(-0.613, 0.496).lineTo(-0.613, -0.38).lineTo(0.613, -0.38).lineTo(0.613, 0.496).lineTo(0.867, 0.49...
6
55
0.500695
train_aaec96538701eabd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.211, -0.267, -0.475), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.398, 0.409).threePointArc((0.42, 0.397), (0.429, 0.368)).lineTo(0.429, 0.292).threePointArc((0.419, 0.259), (0.394, 0.245)).lineTo(-0.283, 0.245).threePointArc((-0.3, 0.236), (-0...
13
326
0.476602
train_ec042ff4a233189e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.063, 0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, 0.095).threePointArc((0.793, -0.217), (-0.512, -0.861)).lineTo(-0.606, -0.55).threePointArc((-0.793, 0.072), (-0.281, 0.861)).close().extrude(0.048, taper=8.434) result = result...
23
142
0.743769
train_5982c2cb4fb21696
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.198, 0.221), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.077, 0.493).lineTo(-0.077, 0.07).lineTo(0.244, 0.07).lineTo(0.244, -0.097).lineTo(-0.244, -0.097).lineTo(-0.244, 0.493).lineTo(-0.077, 0.493).close().extrude(2) result = result.cut(c...
19
10
0.554268
train_a3bc21633e07ad74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.122, 0.184, 0.41), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.007, 0.64).lineTo(0.56, 0.441).lineTo(0.82, 0.178).threePointArc((0.662, -0.023), (0.577, -0.212)).threePointArc((0.448, -0.468), (0.186, -0.643)).lineTo(-0.557, -0.387).lineTo(-0...
15
239
1.779678
train_e46fa76e01f7e3bb
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.022, 0.052).threePointArc((0.027, 0.049), (0.033, 0.046)).lineTo(0.051, 0.014).threePointArc((0.052, 0.002), (0.051, -0.011)).lineTo(0.033, -0.043).threePointArc((0.026, -0.048), (0.017, -0.05...
3
28
0.110536
train_c4d06ea3e42062d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.371, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.159, 0.217).threePointArc((0.217, 0.193), (0.241, 0.135)).lineTo(0.241, -0.135).threePointArc((0.217, -0.193), (0.159, -0.217)).lineTo(-0.159, -0.217).threePointArc((-0.217, -0.193), (-0....
5
34
0.184703
train_e20c19269dc3c06c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, -0.307, -0.807), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.693, 0.913).lineTo(0.693, 0.607).lineTo(0.139, 0.607).lineTo(0.139, 0).lineTo(0, 0).lineTo(0, 0.913).lineTo(0.693, 0.913).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), a...
9
47
0.333707
train_03c069cb7d41be63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.172, 0.505, 0.544), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.229, 0.423).threePointArc((0.32, 0.333), (0.362, 0.191)).threePointArc((0.349, 0.021), (0.282, -0.153)).threePointArc((0.173, -0.303), (0.038, -0.407)).threePointArc((-0.104, -0.44...
18
207
0.311963
train_e770d3a70afea019
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.442), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.47, 0.2).lineTo(0.626, 0.045).lineTo(0.626, -0.005).lineTo(0.429, -0.2).lineTo(-0.462, -0.2).lineTo(-0.626, -0.036).lineTo(-0.626, 0.105).lineTo(-0.53, 0.2).lineTo(0.47, 0.2).close().extru...
10
54
0.396018
train_74ee493b541c3fd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.134, 0.063, -0.887), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.263, 0.453).lineTo(0.215, 0.314).lineTo(0.408, 0.023).threePointArc((0.363, -0.044), (0.448, -0.104)).lineTo(0.448, -0.346).lineTo(-0.104, -0.546).lineTo(-0.179, -0.486).lineTo(-0...
6
77
1.763004
train_cb1f93eb2de75948
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.16, 0.038, -0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.406, 0.702).threePointArc((0.702, 0.406), (0.406, -0.702)).threePointArc((-0.702, -0.406), (-0.406, 0.702)).close().sweep(cq.Workplane(cq.Plane(origin=(0.16, 0.038, -0.045), normal...
3
20
1.375368
train_24cbdf6be3335f6a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.376), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.478).lineTo(1, -0.478).lineTo(-1, -0.478).lineTo(-1, 0.478).lineTo(1, 0.478).close().extrude(0.428) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.052), normal=(0, 0, 1), x...
6
32
0.990024
train_6482b7095693493f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.706), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.552, 1.412).lineTo(0.552, 0.316).lineTo(1, 0.316).lineTo(1, 0).lineTo(0.488, 0).lineTo(0.488, 1.412).lineTo(0.552, 1.412).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
4
17
0.96463
train_7dcfdaf615f1affd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.423, 1).lineTo(0.423, 0.902).lineTo(0.512, 0.902).lineTo(0.512, -0.873).lineTo(0.393, -0.873).lineTo(0.393, -1).lineTo(-0.36, -1).lineTo(-0.36, -0.84).lineTo(-0.512, -0.84).lineTo(-0.512, ...
19
357
0.955206
train_c706dff59993373a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.276, 0.472).lineTo(0.276, -0.275).lineTo(0.078, -0.472).lineTo(-0.276, -0.472).lineTo(-0.276, 0.369).lineTo(-0.172, 0.472).lineTo(0.276, 0.472).close().extrude(0.687, both=True) result = r...
5
16
0.615536
train_e149b6c762f9a1c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.838) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, 0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.195, 0.584), (-0.692, 0.944), (-1.308, 0.944), (-1...
7
73
2.427881
train_175f0bea0be10361
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.619, -0.962, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 1.826).threePointArc((0.61, 1.573), (0.863, 0.963)).threePointArc((0.61, 0.352), (0, 0.099)).threePointArc((-0.61, 0.352), (-0.863, 0.963)).threePointArc((-0.61, 1.573), (0, 1.826))....
12
20
2.848899
train_8f5690551d9ebb98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.722, 0.942).threePointArc((-0.647, 0.919), (-0.615, 0.864)).lineTo(-0.615, -0.444).threePointArc((-0.525, -0.597), (-0.314, -0.662)).lineTo(0.913, -0.662).threePointArc((0.974, -0.681...
1
14
0.199097
train_6e61da461252fcbd
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.487, 2).lineTo(0.487, 1.559).lineTo(0.448, 1.559).lineTo(0.448, 1.284).lineTo(0.397, 1.284).lineTo(0.397, 0.825).lineTo(0.854, 0.825).lineTo(0.854, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.487, ...
9
56
2.238633
train_8c829feacc8f55fa
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.938).lineTo(0, 0.626).lineTo(-0.379, 0.626).lineTo(-0.379, 0).lineTo(0.758, 0).lineTo(0.758, -0.626).lineTo(0.379, -0.626).lineTo(0.379, -0.313).lineTo(0, -0.313).lineTo(0, -0.938).lineTo(-0.379, -0.938).lineTo(-0.379, -0.626).lineTo(-0.758, -0.6...
4
69
0.774893
train_8c1ebf62a3faa354
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.03, 0.344, -0.202), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.26, 0.953).lineTo(0.538, 0.793).lineTo(0.798, 0.022).lineTo(0.26, -0.59).lineTo(-0.538, -0.429).lineTo(-0.798, 0.342).lineTo(-0.26, 0.953).close().moveTo(-0.015, 0.522).threePoint...
10
156
1.137301
train_e0eaec64bbfe75e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.025), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.159).lineTo(1, -0.178).lineTo(0.72, -0.178).lineTo(0.72, 0.159).threePointArc((0.748, 0.178), (0.774, 0.159)).threePointArc((0.802, 0.14), (0.826, 0.159)).threePointArc((0.853, 0.178), ...
3
12
1.396151
train_a8d564878b9aff77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.029, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.12, 0.738).threePointArc((-0.036, 0.712), (0, 0.649)).lineTo(0, 0.083).threePointArc((0.033, 0.025), (0.112, 0)).lineTo(0.316, 0).threePointArc((0.445, -0.04), (0.5, -0.136)).lineTo(0...
12
41
2.516338
train_25e670f46abeaf3b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.443, -0.043, 0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 0.699).lineTo(0.389, 0.35).lineTo(0.779, 0.35).lineTo(0.779, 0).lineTo(0.389, 0).lineTo(0.389, -0.699).lineTo(-0.389, -0.699).lineTo(-0.389, -0.35).lineTo(-0.779, -0.35).line...
11
48
0.872115
train_7fb67d5de80ada9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, -0.005, 0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.134, 0.247).lineTo(0.253, -0.219).threePointArc((0.268, -0.247), (0.239, -0.244)).lineTo(-0.199, -0.082).threePointArc((-0.268, 0.108), (-0.134, 0.247)).close().extrude(7.085, both...
5
20
0.139779
train_430cc46dc97845f6
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.091).lineTo(0.921, 0).lineTo(1, -0.091).lineTo(0.132, -0.091).lineTo(0.132, 0.091).lineTo(1, 0.091).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
26
0.385551
train_348099ee357b6c8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.027, -0.184, 0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.648, 0.334).threePointArc((1.092, -0.382), (0.957, -0.962)).lineTo(0.6, -1.184).threePointArc((-0.426, -0.334), (-1.228, 0.16)).threePointArc((0.203, 1.049), (0.648, 0.334)).close...
16
414
0.378313
train_3775970dc86954fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.073, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.038, 1).lineTo(0.167, 0.871).lineTo(0.167, 0.784).lineTo(0.284, 0.667).lineTo(0.395, 0.667).lineTo(0.5, 0.562).lineTo(0.5, -0.591).lineTo(0.424, -0.667).lineTo(0.278, -0.667).lineTo(0.167,...
18
271
1.181313
train_90287176a6c5fa4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.9).lineTo(1, -0.9).lineTo(-1, -0.9).lineTo(-1, 0.9).lineTo(-0.486, 0.9).lineTo(-0.486, -0.473).lineTo(0.486, -0.473).lineTo(0.486, 0.9).lineTo(1, 0.9).close().extrude(0.191) result = re...
19
19
0.465508
train_b53d7845cfc68b01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, -0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.458, 0.877).threePointArc((0.458, 0.877), (0.916, 0)).threePointArc((0.458, -0.877), (-0.458, -0.877)).threePointArc((-0.916, 0), (-0.458, 0.877)).close().extrude(0.769) result = res...
6
41
2.162459
train_9e7f80e78a265c2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.348).threePointArc((0.961, 0.318), (1, 0.244)).lineTo(1, -0.348).lineTo(-0.896, -0.348).lineTo(-1, -0.253).lineTo(-1, 0.306).threePointArc((-0.979, 0.335), (-0.948, 0.348)).lineTo(0...
6
31
0.46474
train_f3ee06deb713a085
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.344, 0.995).threePointArc((0.661, 0.911), (0.795, 0.713)).lineTo(0.795, -0.311).threePointArc((0.707, -0.442), (0.497, -0.498)).lineTo(0.265, -0.498).threePointArc((0.079, -0.547), (0...
16
103
2.000707
train_93ad90e6d6dd68c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.166, 0.169, -0.003), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.323, -0.054).threePointArc((0.272, -0.178), (0.148, -0.23)).lineTo(-0.114, -0.23).threePointArc((-0.238, -0.178), (-0.289, -0.054)).lineTo(-0.258, 0.123).threePointArc((-0.336, 0....
5
45
0.180734
train_fabb163896f8b1c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.302, 0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.386, 0.698).lineTo(0.805, -0.025).lineTo(0.422, -0.695).lineTo(-0.418, -0.698).lineTo(-0.805, -0.033).lineTo(-0.416, 0.681).lineTo(0.386, 0.698).close().extrude(0.045) result = result....
10
383
0.480328
train_cda7b84f21a6bcd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, -0.402, -0.283), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.198, 0.363).lineTo(0.262, 0.16).threePointArc((0.31, 0.062), (0.278, -0.043)).lineTo(0.198, -0.246).threePointArc((-0.31, 0.059), (0.198, 0.363)).close().revolve(angleDegrees=360...
6
86
1.129856
train_58da42b973fd2a64
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, 1).lineTo(0.705, 0.705).lineTo(1, 0).lineTo(0.705, -0.705).lineTo(0, -1).lineTo(-0.705, -0.705).lineTo(-1, 0).lineTo(-0.705, 0.705).lineTo(0, 1).close().extrude(0.415) result = result.cut...
2
11
0.16754
train_11ff6b7b5d0e2a81
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.469, 0.06).lineTo(-0.469, -0.022).threePointArc((-0.368, -0.035), (-0.129, -0.04)).lineTo(0.887, -0.04).threePointArc((0.953, -0.041), (0.981, -0.045)).lineTo(0.981, -0.06).threePointArc((0...
9
56
0.029699
train_fc13b3d4fc8b7fec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.764).lineTo(1, -0.764).lineTo(-1, -0.764).lineTo(-1, 0.755).threePointArc((-0.989, 0.761), (-0.982, 0.764)).lineTo(1, 0.764).close().extrude(0.149) result = result.cut(cq.Workplane(cq.P...
25
97
0.142181
train_e4fc520acfb8d602
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.115, -0.177, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.113, 0.196).threePointArc((-0.106, 0.193), (-0.103, 0.188)).lineTo(-0.103, -0.086).threePointArc((-0.085, -0.117), (-0.041, -0.131)).lineTo(0.175, -0.131).threePointArc((0.185, -0.13...
15
150
0.263339
train_abaebbe7c7cfa8e7
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.394, 0.343).lineTo(0.394, 0).lineTo(0.131, 0).lineTo(0.131, -0.343).lineTo(-0.131, -0.343).lineTo(-0.131, 0).lineTo(-0.394, 0).lineTo(-0.394, 0.343).lineTo(0.394, 0.343).close().extrude(2) res...
20
88
0.69524
train_894b894f6ab00876
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.292, 0.362).threePointArc((0.786, 0.325), (1, 0.234)).lineTo(1, -0.146).threePointArc((0.934, -0.171), (0.802, -0.181)).lineTo(0.207, -0.181).threePointArc((0.062, -0.192), (0, -0.219)...
9
150
0.316437
train_4c81c850efa66c03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.027, -0.932), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.522, 0.397).lineTo(0.641, -0.397).lineTo(-0.041, -0.363).lineTo(-0.007, 0.318).lineTo(0.145, 0.206).lineTo(0.184, -0.059).lineTo(0.449, -0.02).lineTo(0.258, 0.358).lineTo(0.522, 0...
15
99
0.216608
train_4970b06d0eafcc54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.763, 0.924).threePointArc((0.93, 0.855), (1, 0.688)).lineTo(1, -0.692).threePointArc((0.93, -0.857), (0.764, -0.924)).lineTo(-0.899, -0.924).threePointArc((-0.97, -0.896), (-1, -0.827)).li...
13
207
1.368681
train_e8ded122330fca7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.521, 0.809).lineTo(-0.521, -0.33).lineTo(1, -0.33).lineTo(1, -0.809).lineTo(-1, -0.809).lineTo(-1, 0.809).lineTo(-0.521, 0.809).close().extrude(0.287) result = result.cut(cq.Workplane(cq....
10
29
0.544427
train_40d6e7d6efefae35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.282), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.925, 0.978).lineTo(0.925, 0.626).lineTo(1, 0.626).lineTo(1, 0).lineTo(0, 0).lineTo(0, 0.978).lineTo(0.925, 0.978).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
6
44
3.491908
train_bf2ef4f68e86bd2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.076, 0.458), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.202, 0.375).lineTo(0.129, 0.325).lineTo(0.171, 0.158).lineTo(0.099, 0.108).lineTo(0.14, -0.059).lineTo(0.068, -0.108).lineTo(0.11, -0.276).lineTo(0.037, -0.325).lineTo(0.079, -0.493).l...
5
98
0.100381
train_8de26854cd692d3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.6, 1).lineTo(0.6, 0.6).lineTo(1, 0.6).lineTo(1, -0.2).lineTo(0.6, -0.2).lineTo(0.6, -0.6).lineTo(0.2, -0.6).lineTo(0.2, -1).lineTo(-0.2, -1).lineTo(-0.2, -0.2).lineTo(-1, -0.2).lineTo(-1, 0...
19
47
0.695536
train_a1ddaf0f3a68a9fc
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.113).lineTo(1, 0.068).lineTo(-0.714, 0.068).lineTo(-0.714, 0.023).lineTo(1, 0.023).lineTo(1, -0.113).lineTo(-1, -0.113).lineTo(-1, -0.068).lineTo(0.714, -0.068).lineTo(0.714, -0.023).lineTo(-1, -0.023).lineTo(-1, 0.113).lineTo(1, 0.113).close().e...
3
26
0.387402
train_06bd92e8646887f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.166, 0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.347, 0.241).lineTo(-0.347, -0.074).threePointArc((-0.296, -0.103), (-0.175, -0.116)).lineTo(0.901, -0.116).threePointArc((0.97, -0.123), (1, -0.14)).lineTo(1, -0.249).threePointArc((0...
12
74
0.261596
train_8bc16f34375ff0a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.986, -0.755, 0.022), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.13, 1.755).lineTo(0.718, 1.468).lineTo(1.021, 0.626).threePointArc((0.966, 0.552), (0.894, 0.494)).lineTo(0.917, 0.27).threePointArc((0.861, 0.195), (0.849, 0.102)).lineTo(0.72, ...
4
40
5.38664
train_dc040466231d817c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.378, -0.1, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.757).threePointArc((0.536, 0.536), (0.757, 0)).lineTo(0.248, 0).threePointArc((0.176, 0.176), (0, 0.248)).lineTo(0, 0.757).close().extrude(2) result = result.union(cq.Workplane(cq.P...
11
69
0.979817
train_c29cc77d50eb6624
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.087, 0.8, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.794, -0.017).lineTo(0.751, -0.192).lineTo(0.914, -0.308).lineTo(0.842, -0.445).lineTo(0.654, -0.376).lineTo(0.534, -0.511).lineTo(0.625, -0.69).lineTo(0.498, -0.778).lineTo(0.363, -0.629...
13
261
2.826987
train_100133ed21c93d84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.593), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.724, 0.442).lineTo(0.875, 0.287).lineTo(0.875, -0.442).lineTo(-0.661, -0.442).threePointArc((-0.816, -0.378), (-0.875, -0.223)).lineTo(-0.875, 0.296).lineTo(-0.734, 0.442).lineTo(0.724, 0....
11
73
0.702042
train_ff1ed22b03b86f18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.565, 0.151, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.089, 0.524).lineTo(-1.042, 0.524).threePointArc((-2.089, -0.524), (-2.089, 0.524)).lineTo(2.089, 0.524).close().extrude(1.566, taper=10.776) result = result.cut(cq.Workplane(cq.Plane(o...
28
192
1.523958
train_49c58f7a0b8ec659
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.078, -0.847), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.078).threePointArc((0, -0.922), (-1, 0.078)).threePointArc((0, 1.078), (1, 0.078)).close().moveTo(0.047, 0.6).threePointArc((0.134, 0.564), (0.17, 0.477)).threePointArc((0.134, 0.3...
6
73
4.730757
train_03326f15b2bf79b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.693, -0.467, 0.054), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.01, 0.408).lineTo(0.142, 0.226).lineTo(0.369, 0.153).lineTo(0.244, -0.048).lineTo(0.245, -0.286).lineTo(0.014, -0.228).lineTo(-0.211, -0.303).lineTo(-0.228, -0.066).lineTo(-0.369...
8
81
0.451984
train_3bbcb7ab555fcf55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.096, 0.143, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.56, 0.579).lineTo(0.56, -0.388).threePointArc((0.044, -0.903), (-0.473, -0.388)).lineTo(-0.56, -0.065).lineTo(-0.56, 0.257).threePointArc((-0.427, 0.394), (-0.473, 0.579)).threePointAr...
4
8
0.536455
train_c6785581ffc1ef67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.064, 0.047, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.935, 0.856).lineTo(0.935, -0.856).lineTo(-0.935, -0.856).lineTo(-0.935, 0.856).lineTo(-0.232, 0.856).lineTo(-0.232, -0.057).lineTo(0.232, -0.057).lineTo(0.232,...
7
199
2.797526
train_bf593e7a20fe6897
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.543, -0.421, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.086).threePointArc((0.767, 0.767), (1.086, 0)).lineTo(0.667, 0).threePointArc((0.471, 0.471), (0, 0.667)).lineTo(0, 1.086).close().extrude(2) result = result.union(cq.Workplane(cq...
8
65
0.549869
train_50cb7690ca46d062
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.51).lineTo(1, -0.508).threePointArc((0.989, -0.533), (0.964, -0.543)).lineTo(-0.968, -0.543).threePointArc((-0.99, -0.533), (-1, -0.512)).lineTo(-1, 0.499).threePointArc((-0.987, 0.53),...
15
126
0.302517
train_d395439804199622
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.098, -0.001, -0.98), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.597, 0.598).lineTo(0.673, 0.52).lineTo(0.673, -0.04).lineTo(0.594, -0.119).lineTo(0.527, -0.119).lineTo(0.435, -0.212).lineTo(0.435, -0.546).lineTo(0.384, -0.598).lineTo(0.258, -0....
12
230
1.509077
train_435713c478fcebcf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.301, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.698).extrude(0.201, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.301, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.127).extrude(0.342, both=True)) result = result....
7
60
0.605858
train_4aaba92c95876419
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.4).lineTo(1, 0.358).lineTo(1, -0.4).lineTo(-0.966, -0.4).lineTo(-0.966, -0.366).lineTo(-1, -0.366).lineTo(-1, 0.4).lineTo(0.958, 0.4).close().extrude(0.192) result = result.unio...
14
133
0.319125
train_9591d22c4cd594fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.605, 0.225).lineTo(0.912, 0.181).lineTo(1, 0.079).lineTo(1, 0).lineTo(0.922, 0).lineTo(0.922, 0.068).lineTo(0.826, 0.181).lineTo(0, 0.155).lineTo(0, 0.225).lineTo(0.605, 0.225).close().re...
6
31
0.166943
train_f53f9e585aff3e24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.023, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.399, 0.269).lineTo(-0.236, -0.015).threePointArc((-0.193, -0.046), (-0.122, -0.03)).lineTo(0.402, 0.215).threePointArc((0.661, 0.208), (0.676, 0.088)).lineTo(-0.156, -0.301).threePoin...
2
30
0.282423
train_b540d54d0b572cd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.592).threePointArc((0.942, 0.573), (1, 0.527)).lineTo(1, -0.446).threePointArc((0.881, -0.55), (0.624, -0.592)).lineTo(0.205, -0.592).threePointArc((0.061, -0.568), (0, -0.512)...
4
49
1.234174
train_b87bfc2c61b722b7
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.605, 0.336).workplane(offset=2).rect(0.721, 0.119).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.208, -0.168, -0.007), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.646, 1.954).line...
4
18
0.195945
train_8736cfe9c2e1662d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.017, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.037, 0.061).lineTo(0.037, 0.037).lineTo(0.061, 0.037).lineTo(0.061, 0.012).lineTo(0.037, 0.012).lineTo(0.037, -0.012).lineTo(0.012, -0.012).lineTo(0.012, -0.061).lineTo(-0.037, -0.061)...
6
81
0.196894
train_bb5f876bb6a3a582
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.341, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.211, 1.317, 1.284) result = result.edges().fillet(0.131) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.341, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.077).extrude(2.422, both=...
10
100
1.663123
train_f7759fab867cc368
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.115, 0.004, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.856, 0.098).lineTo(0.856, 0.08).threePointArc((0.829, 0.074), (0.767, 0.071)).lineTo(0.328, 0.071).threePointArc((0.213, 0.066), (0.164, 0.053)).lineTo(0.164, -0.102).threePointAr...
24
536
0.259499
train_876b93fd8b3fcd59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.314, 0.997).threePointArc((-0.093, 0.934), (0, 0.786)).lineTo(0, 0.528).threePointArc((0.086, 0.39), (0.291, 0.332)).lineTo(0.677, 0.332).threePointArc((0.896, 0.27), (0.988, 0.123)).line...
5
28
2.042943
train_7f171b7cb062570a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.388, -0.999, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.22, 0.419).threePointArc((0.22, 0.419), (0.44, 0.039)).threePointArc((0.22, -0.342), (-0.22, -0.342)).threePointArc((-0.44, 0.039), (-0.22, 0.419)).close().moveTo(-0.014, 0.273).lineT...
6
138
2.325824
train_308ed6a709c4dc33
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.387, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.122, 0.519).lineTo(0.122, 0.173).lineTo(0.367, 0.173).lineTo(0.367, -0.173).lineTo(0.612, -0.173).lineTo(0.612, -0.519).lineTo(-0.367, -0.519).lineTo(-0.367, -0.173).lineTo(-0.612, -0...
27
71
0.201911
train_09afb45decad0358
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.295, 0.273).lineTo(0.295, -0.273).lineTo(-0.295, -0.273).lineTo(-0.295, 0.273).lineTo(-0.119, 0.273).lineTo(-0.119, 0.088).lineTo(0.119, 0.088).lineTo(0.119, 0.273).lineTo(0.295, 0.273).close(...
4
26
0.642199
train_af2eca8bddd33f95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.829).lineTo(1, 0.498).lineTo(-0.664, 0.498).lineTo(-0.664, 0.166).lineTo(1, 0.166).lineTo(1, -0.829).lineTo(-1, -0.829).lineTo(-1, -0.498).lineTo(0.664, -0.498).lineTo(0.664, -0.166).lin...
12
242
0.313761
train_09cbffd28a6641d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.085, 0, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.434).lineTo(0.915, 0.125).lineTo(0.915, -0.009).lineTo(0.491, -0.434).lineTo(-0.616, -0.434).lineTo(-0.915, -0.136).lineTo(-0.915, 0.009).lineTo(-0.491, 0.434).lineTo(0.607, 0.4...
11
65
0.341704