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_a65e93d5f85d3e48
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.111, 0.083, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.297, 0.525).lineTo(0.604, -0.015).lineTo(0.317, -0.515).lineTo(-0.292, -0.53).lineTo(-0.604, 0.017).lineTo(-0.287, 0.53).lineTo(0.297, 0.525).close().extrude(1.589) result = resul...
9
79
1.613654
train_d62e14f55d21487f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.327, -0.168, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.653).threePointArc((0.462, 0.462), (0.653, 0)).lineTo(0.171, 0).threePointArc((0.121, 0.121), (0, 0.171)).lineTo(0, 0.653).close().extrude(2) result = result.union(cq.Workplane(cq...
5
28
0.570417
train_9127ee62b495e452
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.07, 0.246, 0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.324, 0.561).threePointArc((0.197, 0.737), (0.561, 0.324)).threePointArc((0.737, -0.197), (0.324, -0.561)).threePointArc((-0.197, -0.737), (-0.561, -0.324)).threePointArc((-0.737, 0....
6
31
0.434125
train_7950bc2c925bb40b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, 0.003, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.704, 0.711).lineTo(1.003, 0.586).lineTo(0.461, -0.711).lineTo(0.361, -0.669).lineTo(0.486, -0.37).lineTo(0.328, -0.187).lineTo(0.537, 0.312).lineTo(0.704, 0.711).close().revolve(angleD...
20
290
0.927703
train_2d7ab62df9d3c560
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.563, -0.4, 0.531), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.833).threePointArc((0.307, 0.706), (0.433, 0.4)).threePointArc((0.307, 0.094), (0, -0.033)).threePointArc((-0.307, 0.094), (-0.433, 0.4)).threePointArc((-0.307, 0.706), (0, 0.833...
5
56
0.958731
train_24b9225a8b812872
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.466).lineTo(1, -0.357).threePointArc((0.968, -0.434), (0.89, -0.466)).lineTo(-0.886, -0.466).lineTo(-1, -0.352).lineTo(-1, 0.32).lineTo(-0.853, 0.466).lineTo(1, 0.466).close().extrude(0...
6
26
0.384287
train_63c66f1e8f0b14a2
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.363, 0.889).lineTo(0.429, 0.432).lineTo(0.833, 0.314).lineTo(0.879, -0.256).lineTo(1, -0.815).lineTo(0.441, -0.889).lineTo(0.193, 0.865).lineTo(0.363, 0.889).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.c...
2
15
2.325904
train_f71fe8dc69ad3944
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.306), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.824, 0.515).threePointArc((0.932, 0.47), (0.976, 0.362)).lineTo(0.976, -0.515).lineTo(-0.896, -0.515).lineTo(-0.896, -0.435).lineTo(-0.976, -0.435).lineTo(-0.976, 0.443).lineTo(-0.905, 0.4...
9
84
0.968898
train_ca06d514e77f59dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.274, 0.034, -0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.462, 0.522).lineTo(0.462, -0.454).threePointArc((0.434, -0.513), (0.366, -0.538)).lineTo(-0.369, -0.538).threePointArc((-0.434, -0.514), (-0.462, -0.456)).lineTo(-0.462, 0.517).th...
11
203
1.044054
train_422ae547a2e366d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.207, 0, -0.935), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.793, 0.392).lineTo(0.793, 0.222).lineTo(-0.481, 0.222).lineTo(-0.481, -0.222).lineTo(0.793, -0.222).lineTo(0.793, -0.392).lineTo(-0.793, -0.392).lineTo(-0.793, 0.392).lineTo(0.793, 0....
5
24
1.135396
train_e1957df006ed4395
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.263, -0.407), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0).threePointArc((0.466, -0.53), (-0.064, 0)).threePointArc((0.466, 0.53), (1, 0)).close().moveTo(0.731, 0.265).threePointArc((0.819, 0.176), (0.731, 0)).threePointArc((0.554, -0.089)...
9
169
1.305204
train_093835c0ff3d9a9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.916, 0.219).threePointArc((0.975, 0.195), (1, 0.136)).lineTo(1, -0.155).threePointArc((0.98, -0.201), (0.935, -0.219)).lineTo(-0.93, -0.219).threePointArc((-0.979, -0.199), (-1, -0.15)).li...
9
65
0.375495
train_edea6758d29ec91e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.367, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.712, 0.482).lineTo(1, 0.198).lineTo(1, -0.255).threePointArc((0.925, -0.415), (0.77, -0.482)).lineTo(-1, -0.482).lineTo(-1, 0.213).lineTo(-0.728, 0.213).lineTo(-0.728, 0.482).lineTo(0....
9
42
0.611058
train_bd82855eed2ca483
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.096, -0.214, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.302, 0.518).lineTo(0.452, 0.432).lineTo(0.452, 0.345).lineTo(0.602, 0.259).lineTo(0.739, 0.259).lineTo(0.904, 0.164).lineTo(0.904, 0.061).lineTo(0.798, 0).lineTo(0.536, 0).lineTo...
17
463
0.351279
train_6519294e0147ffab
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.89, 0.508).threePointArc((0.962, 0.494), (1, 0.462)).lineTo(1, 0.284).threePointArc((0.971, 0.262), (0.922, 0.252)).lineTo(-0.249, 0.252).threePointArc((-0.375, 0.228), (-0.428, 0.171)).li...
5
41
1.836831
train_734c4551dee6f9df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.186, -0.17, -0.58), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.253, 0.477).lineTo(0.154, 0.174).lineTo(0.415, -0.01).lineTo(0.097, -0.009).lineTo(0.002, -0.314).lineTo(-0.097, -0.011).lineTo(-0.415, -0.015).lineTo(-0.157, 0.172).lineTo(-0.236, ...
4
188
0.700682
train_bf7476bc4261e9b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0, 0.311), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.788, 0.688).lineTo(0.961, -0.585).lineTo(0.706, -0.619).lineTo(0.568, 0.399).lineTo(0.313, 0.365).lineTo(0.452, -0.654).lineTo(0.197, -0.688).lineTo(0.024, 0.585).lineTo(0.788, 0.688)....
12
130
1.860462
train_94c66a9a72239467
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.451, 0, -0.658), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.505, 1.316).lineTo(0.505, 0.146).lineTo(0.55, 0.146).lineTo(0.55, 0).lineTo(0.067, 0).lineTo(0.067, 1.316).lineTo(0.505, 1.316).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ...
6
87
1.087064
train_b6178060e8a29f4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, -0.553), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.223, 0.35).lineTo(0.234, 0.301).lineTo(0.246, 0.252).threePointArc((0.256, 0.227), (0.242, 0.203)).lineTo(0.225, 0.156).threePointArc((0.211, 0.134), (0.213, 0.108)).lineTo(0.367, -0.08)...
3
62
0.588868
train_c9b043d1e1921d03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.207, 0, -0.077), normal=(-0.266, 0.064, -0.962), xDir=(0, 0.998, 0.067))).moveTo(0.333, 0.063).lineTo(0.333, 0.021).lineTo(0.998, 0.021).lineTo(0.998, -0.063).lineTo(-0.998, -0.063).lineTo(-0.998, -0.021).lineTo(-0.333, -0.021).lineTo(-0.333, 0....
14
132
0.039818
train_e71a3a19e3b1de7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.544, -0.097, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.086).threePointArc((0.771, 0.771), (1.086, 0)).lineTo(0.353, 0).threePointArc((0.251, 0.251), (0, 0.353)).lineTo(0, 1.086).close().extrude(2) result = result.union(cq.Workplane(cq...
10
63
1.707815
train_ea01c9537911bdf4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.947), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.685, 0.399).threePointArc((0.93, 0.449), (0.911, 0.164)).lineTo(0.168, -0.449).threePointArc((-0.049, -0.391), (-0.059, -0.214)).lineTo(0.685, 0.399).close().extrude(1.893).union(cq.W...
1
10
1.46299
train_a9e8ddbea8662463
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.915, 0.13, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.436, 1.13).threePointArc((0.653, 1.04), (0.743, 0.823)).lineTo(0.743, -0.562).threePointArc((0.653, -0.78), (0.436, -0.87)).lineTo(-0.436, -0.87).threePointArc((-0.653, -0.78), (-0.743,...
3
51
5.043135
train_48fc8bf5f61b8e57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.862, 0.045, -0.057), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.146, 0.272).lineTo(0.134, 0.215).lineTo(0.128, 0.159).threePointArc((0.152, 0.133), (0.168, 0.102)).lineTo(0.162, 0.045).lineTo(0.146, -0.011).threePointArc((-0.168, 0.13), (0.146...
11
104
0.574954
train_8d19acbc3ae02ebe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.154, 0.226, 0.378), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.159, 0.485).threePointArc((-0.04, 0.504), (0.085, 0.463)).threePointArc((0.198, 0.37), (0.28, 0.238)).threePointArc((0.319, 0.088), (0.31, -0.058)).threePointArc((0.254, -0.177),...
2
23
1.413198
train_d77c93ba609238ef
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.941, 0.249).workplane(offset=2).rect(0.05, 0.13).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-1.076, 0, -0.709), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.658, 1.067).lineTo(0.65...
7
36
0.091818
train_ab9db225bcf2637e
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.086, 1).threePointArc((0.166, 0.966), (0.2, 0.886)).lineTo(0.2, 0.685).threePointArc((0.225, 0.625), (0.285, 0.6)).lineTo(0.505, 0.6).threePointArc((0.572, 0.572), (0.6, 0.505)).lineTo(0.6,...
5
53
0.716727
train_b2a55c9cd4151fa8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.354, 1).threePointArc((0.608, 0.953), (0.713, 0.699)).lineTo(0.713, -0.823).threePointArc((0.645, -0.988), (0.479, -1)).lineTo(-0.295, -1).threePointArc((-0.591, -0.935), (-0.713, -0.6...
9
36
0.456077
train_4d492c16dd1b53d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.597, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.88, 0.403).lineTo(0.88, -0.312).lineTo(0.789, -0.403).lineTo(-0.79, -0.403).lineTo(-0.79, -0.312).lineTo(-0.88, -0.312).lineTo(-0.88, 0.26).threePointArc((-0.837, 0.362), (-0.737, 0.4...
11
48
0.402472
train_5b4ed4131169f9f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.707, 0.707).lineTo(1, 0).lineTo(0.707, -0.707).lineTo(0, -1).lineTo(-0.707, -0.707).lineTo(-1, 0).lineTo(-0.707, 0.707).lineTo(0, 1).close().extrude(0.283) result = result.cut...
3
15
0.665921
train_3b4edc1b41adcefd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.092, 0.409).workplane(offset=2).rect(0.125, 0.304).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -1.32), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.75).extrude(0.502, both=True...
6
35
0.408415
train_bf6b265e5fc7765c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.451, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.901, -0.156).lineTo(0.868, -0.309).lineTo(0.813, -0.454).lineTo(0.738, -0.588).lineTo(0.645, -0.707).lineTo(0.536, -0.809).lineTo(0.414, -0.891).lineTo(0.282, -0.951).lineTo(0.143, -0.988)...
3
82
2.494499
train_9fd08544fba62d20
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.16, 0.343).threePointArc((-0.047, 0.33), (0, 0.299)).lineTo(0, 0.171).threePointArc((0.11, 0.099), (0.372, 0.069)).lineTo(0.835, 0.069).threePointArc((0.951, 0.055), (1, 0.023)).line...
3
192
0.230744
train_dba9f42bef32845d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.947, -0.191).lineTo(0.974, -0.225).lineTo(0.962, -0.273).lineTo(0.927, -0.272).lineTo(0.855, -0.45).lineTo(0.871, -0.491).lineTo(0.846, -0.534).lineTo(0.812, -0.522).lineTo(0.693, -0.672)....
5
164
1.690929
train_fda5ea8d83de7e5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.32, -0.035, -0.462), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.178, 0.965).lineTo(1.178, 0.476).lineTo(-0.688, 0.476).lineTo(-0.688, -0.476).lineTo(1.178, -0.476).lineTo(1.178, -0.965).lineTo(-1.178, -0.965).lineTo(-1.178, 0.965).lineTo(1.178...
15
90
0.6664
train_a328a59fffb59c2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.792, 0.563).lineTo(1, 0.355).lineTo(1, -0.385).lineTo(0.822, -0.563).lineTo(-0.901, -0.563).lineTo(-1, -0.463).lineTo(-1, 0.447).lineTo(-0.882, 0.563).lineTo(0.792, 0.563).close().extrude(...
16
252
1.163878
train_f9cfae1f20cacd51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.082, -0.088, -0.107), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.208, 0.351).lineTo(0.285, -0.263).lineTo(-0.285, -0.023).lineTo(0.208, 0.351).close().moveTo(0.038, 0.188).lineTo(0.084, 0.134).lineTo(0.031, 0.088).lineTo(-0.015, 0.142).lineTo(0...
6
176
0.18024
train_d9eeddec6def3cc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.057, 0.014, -0.831), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.603, 0.554).lineTo(-0.276, 0.264).lineTo(-0.088, 0.214).lineTo(-0.037, 0.402).lineTo(0.152, 0.352).lineTo(0.29, 0.113).lineTo(0.478, 0.062).lineTo(0.716, 0.2).threePointArc((0.94...
6
60
1.41144
train_a526f3f5bee60bd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.986, 0.232).lineTo(0.986, -0.232).threePointArc((-0.986, 0), (0.986, 0.232)).close().extrude(0.082, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.527, 0.099, 0.05), norm...
4
26
0.50848
train_ab40fc35b5feddc8
import cadquery as cq import math result = cq.Workplane('XY').circle(1).extrude(0.398, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.138).extrude(1.261, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
9
48
2.095283
train_141f9da63ab18fd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.08, -1.199, -0.14), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.24, 0.522).threePointArc((0.273, 0.508), (0.288, 0.474)).lineTo(0.288, 0.023).threePointArc((0.273, -0.011), (0.24, -0.025)).lineTo(-0.24, -0.025).threePointArc((-0.273, -0.011), (-...
16
106
0.521925
train_953758f930a56487
import cadquery as cq import math result = cq.Workplane('XY').box(1.686, 2, 1.601) result = result.edges().fillet(0.24) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.237).extrude(3.372, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm...
5
32
4.373338
train_1f8efc7be0980b14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.625, 0.024), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.468).threePointArc((0.331, 0.331), (0.468, 0)).threePointArc((0.331, -0.331), (0, -0.468)).threePointArc((-0.331, -0.331), (-0.468, 0)).threePointArc((-0.331, 0.331), (0, 0.468)).cl...
1
6
0.648461
train_09435c7f4d672fbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.193, 0.295).lineTo(0.625, 0.255).lineTo(1, 0.119).lineTo(0.72, -0.295).lineTo(-0.064, -0.07).lineTo(0.193, 0.295).close().extrude(0.078).union(cq.Workplane(cq.Plane(origin=(0, 0, -0.113), ...
3
34
0.059776
train_e520c4575e476319
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.211).lineTo(0.921, 0.156).lineTo(1, 0.074).lineTo(1, 0).lineTo(0.845, 0).lineTo(0.845, 0.063).lineTo(0.744, 0.156).lineTo(0, 0.055).lineTo(0, 0.211).lineTo(0.95, 0.211).close().revo...
4
30
0.339964
train_b3a117ea0b598479
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.15, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.826).lineTo(0.849, -0.826).lineTo(-0.849, -0.826).lineTo(-0.849, 0.826).lineTo(-0.297, 0.826).lineTo(-0.297, -0.249).lineTo(0.297, -0.249).lineTo(0.297, 0.826).lineTo(0.849, 0.826).cl...
10
175
1.906242
train_48dba239164724c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.157).extrude(0.137, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.278).extrude(1, both=True)) result = result.cut(cq.Workp...
8
91
0.476036
train_c049995f384a058b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.131, 0.277, 0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.512, 0.512).threePointArc((0.723, 0), (0.512, -0.512)).threePointArc((0, -0.723), (-0.512, -0.512)).threePointArc((-0.723, 0), (-0.512, 0.512)).threePointArc((0, 0.723), (0.512, 0....
1
6
0.787678
train_23f734ea380a4bbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.279).lineTo(1, -0.279).lineTo(-1, -0.279).lineTo(-1, 0.279).lineTo(1, 0.279).close().extrude(0.323) result = result.union(cq.Workplane(cq.Plane(origin=(0.378, 0, 0.09), normal=(0, 0, 1)...
9
76
0.302383
train_193538b9cf5a6e72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0.188, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.148, 0.664).lineTo(-0.033, 0.604).threePointArc((0.006, 0.59), (0.046, 0.587)).lineTo(0.449, 0.613).threePointArc((0.47, 0.609), (0.486, 0.595)).lineTo(0.51, 0.56).threePointArc((0.514...
13
196
1.527341
train_e73a100d64a2ab87
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.249, 0.209).workplane(offset=2).rect(0.151, 0.087).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.117, -0.011, -0.716), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.073, 0.042).lin...
2
15
0.060846
train_b1a3efaad54a2f01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.062, -0.146, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.66, 0.427).lineTo(0.66, 0.241).threePointArc((0.728, 0.223), (0.628, -0.342)).threePointArc((0.267, -0.746), (-0.641, -0.587)).lineTo(-0.728, 0.223).lineTo(-0.66, 0.241).lineTo(-...
3
28
0.868309
train_fe34387c50590f74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.795, 0.654, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.978, 1.199).lineTo(0.978, 0.462).threePointArc((0.997, 0.42), (0.999, 0.374)).lineTo(1, 0.285).lineTo(0.999, 0.197).lineTo(0.978, 0.109).lineTo(-1, 0.109).lineTo(-1, 0.462).lineTo(-1, ...
11
380
2.231331
train_f70f00e4dcf013fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.95, 0.642).lineTo(1, 0.593).lineTo(1, -0.57).lineTo(0.927, -0.57).lineTo(0.927, -0.642).lineTo(-0.896, -0.642).threePointArc((-0.969, -0.612), (-1, -0.539)).lineTo(-1, 0.565).lineTo(-0.922...
9
61
0.522931
train_e69b2652ab0157d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.501, -0.503), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.416, 0.43).lineTo(0.379, 0.314).lineTo(0.433, 0.251).lineTo(0.372, 0.167).lineTo(0.295, 0.199).lineTo(0.196, 0.128).lineTo(0.203, 0.044).lineTo(0.104, 0.012).lineTo(0.061, 0.083).lin...
15
339
1.304188
train_282679b4dc73daa2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.692), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.381).threePointArc((0.123, 0.369), (0.134, 0.343)).lineTo(0.134, 0.286).threePointArc((0.151, 0.245), (0.192, 0.228)).lineTo(0.227, 0.228).threePointArc((0.269, 0.211), (0.286, 0.17...
10
150
0.564502
train_bdd6b14b42ce7f24
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.707, 0.707).threePointArc((0.707, -0.707), (-0.707, -0.707)).threePointArc((-0.707, 0.707), (0.707, 0.707)).close().extrude(0.594, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.706, -0.433, -1.3), normal=(1, 0, 0), xDir=(0, 1, 0)))...
13
6
3.731085
train_c817faccbdfddd6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.549), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.707, 0.707).lineTo(1, 0).lineTo(0.707, -0.707).lineTo(0, -1).lineTo(-0.707, -0.707).lineTo(-1, 0).lineTo(-0.707, 0.707).lineTo(0, 1).close().extrude(1.097) result = result.cut...
12
81
2.039203
train_9bd18fdee182289f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.764, 0.786).threePointArc((0.924, 0.719), (1, 0.554)).lineTo(1, -0.56).lineTo(0.768, -0.56).lineTo(0.768, -0.786).lineTo(-0.661, -0.786).threePointArc((-0.893, -0.688), (-1, -0.452)).lineTo...
5
39
1.61881
train_5a7bc63e9a8f801c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.181, 0.006), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.023, 0.321).lineTo(0.046, 0.213).lineTo(0.151, 0.179).lineTo(0.056, 0.124).lineTo(0.056, 0.014).lineTo(-0.026, 0.088).lineTo(-0.131, 0.054).lineTo(-0.087, 0.154).lineTo(-0.151, 0.244)....
7
27
0.073107
train_a6edf0cc8af27650
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.176), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.975, 0.353).lineTo(0.975, 0.167).lineTo(1, 0.167).lineTo(1, 0).lineTo(0.573, 0).lineTo(0.573, 0.353).lineTo(0.975, 0.353).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn...
9
78
0.687592
train_03f8ae17b434f86e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.191, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.351, 0.787).lineTo(0.53, 0.457).lineTo(-0.201, 0.253).lineTo(0.09, -0.284).lineTo(0.821, -0.08).lineTo(1, -0.411).lineTo(-0.351, -0.787).lineTo(-1, 0.411).close().moveTo(-0.067, 0.312).lin...
9
57
1.157408
train_0b37585bce3daf58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.357, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.066, 0.176).lineTo(0.066, 0.106).lineTo(0.197, 0.106).lineTo(0.197, -0.035).lineTo(0.131, -0.035).lineTo(0.131, 0.035).lineTo(0, 0.035).lineTo(0, -0.176).lineTo(-0.066, -0.176).lineTo(-0.06...
3
42
0.133512
train_0f1d9830c6b04df6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.285, 0.148, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.122).lineTo(0, 0.04).lineTo(0.163, 0.04).lineTo(0.163, -0.04).lineTo(0, -0.04).lineTo(0, -0.122).lineTo(-0.163, -0.122).lineTo(-0.163, -0.04).lineTo(-0.081, -0.04).lineTo(-0.08...
7
22
0.264742
train_e427b40bdd31f115
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.27, 0.389, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.605).threePointArc((0.453, 0.453), (0.605, 0)).threePointArc((0.453, -0.453), (0, -0.605)).threePointArc((-0.453, -0.453), (-0.605, 0)).threePointArc((-0.453, 0.453), (0, 0.605)...
5
45
0.191367
train_cbdb7ce1e7d9d037
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.094, -0.275, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, 0.613).lineTo(0.921, -0.613).lineTo(-0.921, -0.613).lineTo(-0.921, 0).lineTo(0.307, 0).lineTo(0.307, 0.613).lineTo(0.921, 0.613).close().extrude(0.166, taper=9.338, both=Tru...
6
110
0.350384
train_4c27fd684b051ca4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.637, -0.272, -0.369), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.252, 0.689).threePointArc((0.34, 0.578), (0.363, 0.439)).lineTo(0.233, 0.267).lineTo(0.162, 0.185).threePointArc((0.124, 0.074), (0.041, 0.086)).threePointArc((-0.074, 0.127), (-...
5
65
0.879785
train_b56083adb36a417f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.082, 0.229, -0.984), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.367, 0.723).threePointArc((0.497, 0.718), (0.612, 0.657)).threePointArc((0.66, 0.637), (0.68, 0.589)).lineTo(0.68, -0.489).threePointArc((0.66, -0.537), (0.612, -0.557)).lineTo(0...
14
455
3.988493
train_009930b50ea7fd59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.847, -1.299, -0.164), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.218, 2.299).lineTo(0.683, 1.491).lineTo(-0.388, 0.299).lineTo(-0.683, 0.564).lineTo(0.123, 1.461).lineTo(-0.482, 2.004).lineTo(-0.218, 2.299).close().revolve(angleDegrees=90, ax...
8
17
1.582329
train_f540dc65f65bda7a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.953, 0.831).threePointArc((0.985, 0.818), (1, 0.786)).lineTo(1, 0.547).threePointArc((0.975, 0.49), (0.918, 0.466)).lineTo(0.332, 0.466).threePointArc((0.227, 0.422), (0.183, 0.317)).lineT...
5
33
1.084555
train_e38acc8ae929351f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.484) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.848).extrude(1.451, both=True)) result = result.union(cq.Workpl...
16
53
0.665504
train_27f683cd003c2ae7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.206, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.051, 0.45).lineTo(0.087, 0.339).threePointArc((0.109, 0.335), (0.13, 0.325)).lineTo(0.171, 0.308).lineTo(0.211, 0.289).lineTo(0.244, 0.257).lineTo(0.133, 0.118).lineTo(0.051, -0.038).lin...
10
29
0.226864
train_a331f84ea99d1283
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.751), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.178).workplane(offset=1.502).rect(1.608, 0.132).loft() result = result.faces('>Z').edges().chamfer(0.016) result = result.faces('<Y').edges().fillet(0.023) final_result = result
3
16
0.421502
train_7c82f6abd7fc0425
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.139, 0.902).threePointArc((-0.041, 0.881), (0, 0.832)).lineTo(0, 0.569).threePointArc((0.069, 0.486), (0.231, 0.451)).lineTo(0.688, 0.451).threePointArc((0.825, 0.422), (0.882, 0.352)...
8
149
1.722339
train_15426611cc38b105
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.148, 0.908).threePointArc((0.561, 0.631), (0.759, 0.593)).threePointArc((0.876, 0.143), (1, 0)).threePointArc((0.766, -0.412), (0.759, -0.593)).threePointArc((0.284, -0.774), (0.148, -0.90...
7
193
0.868984
train_c5c21ec24aa01d01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.092, 0, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.251, 1).lineTo(0.251, 0.498).lineTo(0.502, 0.498).lineTo(0.502, 0).lineTo(0, 0).lineTo(0, -0.498).lineTo(0.251, -0.498).lineTo(0.251, -1).lineTo(-0.251, -1).lineTo(-0.251, -0.498).lineT...
12
104
0.707132
train_2e2e6a35c31b275a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 1).lineTo(1.052, 0).lineTo(0.325, -1).lineTo(-0.85, -0.619).lineTo(-0.85, 0.619).lineTo(0.325, 1).close().extrude(0.673) result = result.union(cq.Workplane(cq.Plane(origin=(0.013...
4
65
2.091333
train_df22cd6344af2aa7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.252), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.156).lineTo(1, -0.003).threePointArc((0.954, -0.111), (0.846, -0.156)).lineTo(-0.878, -0.156).threePointArc((-0.963, -0.12), (-1, -0.033)).lineTo(-1, 0.061).threePointArc((-0.971, 0.128...
6
41
0.104155
train_672526fe5da6bddf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.584, 2).lineTo(0.584, 1.931).lineTo(0.588, 1.931).lineTo(0.588, 0.824).lineTo(0.53, 0.824).lineTo(0.53, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.584, 2).close().revolve(angleDegrees=360, axi...
4
20
1.414358
train_eb1c5a0ea22e54a5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.975, 0.308).lineTo(0.975, -0.308).threePointArc((-0.975, 0), (0.975, 0.308)).close().extrude(0.448, both=True) result = result.edges().chamfer(0.046) result = result.edges('|Z').chamfer(0.04) result = result.edges(cq.selectors.NearestToPointSelector...
4
19
2.778418
train_1aa2fe56bc848e3b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.805, -0.61, -0.64), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.609).threePointArc((1.139, 1.139), (1.609, 0)).lineTo(1.071, 0).threePointArc((0.758, 0.758), (0, 1.071)).lineTo(0, 1.609).close().extrude(1.28) result = result.union(cq.Workpla...
6
25
1.810199
train_e3a02bb5c068b7a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, 0.101, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.479, 0.126).threePointArc((0.834, 0.106), (0.981, 0.057)).lineTo(0.981, -0.057).threePointArc((0.834, -0.106), (0.479, -0.126)).lineTo(-0.479, -0.126).threePointArc((-0.834, -0.106), (...
6
103
0.103836
train_2b682900d5c06a3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, 0.395).threePointArc((0.949, 0.344), (1, 0.223)).lineTo(1, -0.205).lineTo(0.81, -0.395).lineTo(-0.86, -0.395).lineTo(-1, -0.255).lineTo(-1, 0.177).threePointArc((-0.936, 0.331), (-0.7...
9
54
0.312534
train_bffc76b5f07031ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.557, 1).threePointArc((0.793, 0.901), (0.888, 0.667)).lineTo(0.888, -0.602).lineTo(0.492, -1).lineTo(-0.359, -1).threePointArc((-0.734, -0.842), (-0.888, -0.469)).lineTo(-0.888, 0.586).lin...
4
34
0.441129
train_c3da06d76d58cf2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.588, 0.714, 0.111), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.899, 0.674).lineTo(0.816, 0.105).lineTo(0.397, 0.116).threePointArc((0.279, 0.051), (0.118, 0.141)).lineTo(-0.123, -0.005).threePointArc((-0.327, -0.063), (-0.549, -0.038)).threePo...
8
34
0.816766
train_cb6975b33f035997
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.233, 0.096, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.766, 0.266).lineTo(0.766, -0.266).lineTo(-0.766, -0.266).lineTo(-0.766, 0.266).lineTo(0.766, 0.266).close().extrude(0.255) result = result.union(cq.Workplane(cq.Plane(origin=(-0.22...
13
60
0.157981
train_d6e85ac2ecc4fb8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.76).lineTo(1, -0.73).lineTo(0.962, -0.73).lineTo(0.962, -0.76).lineTo(-1, -0.76).lineTo(-1, 0.697).threePointArc((-0.973, 0.741), (-0.929, 0.76)).lineTo(1, 0.76).close().extrude(0.213) ...
20
104
0.8396
train_1ad9a873e2d70394
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.181, 0.118, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.815).threePointArc((0.576, 0.576), (0.815, 0)).threePointArc((0.576, -0.576), (0, -0.815)).threePointArc((-0.576, -0.576), (-0.815, 0)).threePointArc((-0.576, 0.576), (0, 0.815...
10
67
1.452938
train_5640c879d001d58d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 0.453).threePointArc((0.968, 0.429), (1, 0.372)).lineTo(1, -0.309).lineTo(0.846, -0.309).lineTo(0.846, -0.453).lineTo(-0.861, -0.453).lineTo(-1, -0.323).lineTo(-1, 0.354).lineTo(-0.89...
11
73
0.330835
train_a61c1ff298800a43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.471, 2).extrude(0.379) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.016, -0.252).lineTo(-0.016, -0.247).lineTo(0.016, -0.247).cl...
11
26
0.340516
train_89f7c0143ffcec10
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.029, 0.124).lineTo(0.079, 0.1).lineTo(0.128, 0).lineTo(0.079, -0.1).lineTo(-0.029, -0.124).lineTo(-0.115, -0.055).lineTo(-0.115, 0.055).lineTo(-0.029, 0.124).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 1), ...
11
63
0.093645
train_955baeb2982c0432
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.434, -0.199, 0.635), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.239, 1.399).threePointArc((0.012, 1.225), (0.607, 1.198)).threePointArc((1.113, 1.061), (1.57, 0.225)).threePointArc((1.666, 0.019), (2.181, -0.345)).threePointArc((2.112, -1.967...
19
155
0.205347
train_20bb90e7a425fafc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.143, 0.442), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.169, -0.22).threePointArc((0.059, -0.293), (-0.117, -0.211)).threePointArc((-0.08, -0.142), (-0.162, -0.127)).lineTo(-0.223, -0.045).threePointArc((-0.365, -0.009), (-0.305, 0.068)...
9
101
0.25635
train_0e6fbb0e0d286fac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.039, 0.154, 0.172), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.809, 0.155).lineTo(0.845, -0.021).lineTo(0.224, -0.155).lineTo(0.21, -0.094).lineTo(0.317, -0.067).lineTo(0.345, 0.055).lineTo(0.579, 0.094).lineTo(0.809, 0.155).close().revolve(an...
7
140
0.713139
train_6e6e8e9aa9cadafa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.174, 0.999).threePointArc((0.278, 0.965), (0.322, 0.884)).lineTo(0.322, 0.099).threePointArc((0.36, 0.029), (0.45, 0)).lineTo(0.763, 0).threePointArc((0.906, -0.047), (0.967, -0.159)).lineT...
11
108
1.729847
train_69c7739303a8400c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.225, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.353, 0.413).threePointArc((0.378, 0.403), (0.388, 0.378)).lineTo(0.388, -0.386).threePointArc((0.381, -0.405), (0.362, -0.413)).lineTo(-0.359, -0.413).threePointArc((-0.379, -0.404), ...
11
143
0.514519
train_945b71a9649e7569
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.14, -0.424, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.295, 0.562).lineTo(0.387, 0.295).threePointArc((0.505, 0.22), (0.396, 0.123)).lineTo(0.335, -0.145).threePointArc((0.398, -0.245), (0.242, -0.264)).lineTo(0.02, -0.376).lineTo(0.031, -0...
6
72
1.097848
train_b7f5f36c22d0ff3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, 1).threePointArc((0.673, 0.927), (0.745, 0.754)).lineTo(0.745, -0.641).threePointArc((0.64, -0.894), (0.386, -1)).lineTo(-0.391, -1).threePointArc((-0.641, -0.896), (-0.745, -0.647))....
6
50
0.682923
train_ae6ba784a0c8739c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.583, -0.498), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.106, 0.307).lineTo(0.106, -0.307).threePointArc((0, -0.412), (-0.106, -0.307)).lineTo(-0.106, 0.307).threePointArc((0, 0.412), (0.106, 0.307)).close().revolve(angleDegrees=180, axisSt...
1
6
0.302286
train_3d09c5f8413c0f35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, 0.033, -0.225), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.657, 0.429).lineTo(0.657, 0).lineTo(-0.657, 0).lineTo(-0.657, 0.429).lineTo(-0.628, 0.429).lineTo(-0.628, 0.029).lineTo(0.628, 0.029).lineTo(0.628, 0.429).lineTo(0.657, 0.429).clo...
11
98
0.101023