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_c1feadd2c8bd42ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.057, -0.152, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.78, -0.223).threePointArc((0.78, 0.668), (-0.335, -0.668)).lineTo(-0.78, -0.223).close().extrude(0.128) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.071, 0, -0.017), norma...
4
58
0.321421
train_34b5521687715a72
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.795, 0.201).workplane(offset=2).rect(0.345, 0.171).loft() final_result = result
1
6
0.21429
train_ef714836a7871fe9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.519, 0.838, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.015, 0.942).threePointArc((0.366, 0.923), (0.693, 0.843)).threePointArc((0.91, 0.717), (1, 0.557)).threePointArc((0.922, 0.392), (0.715, 0.246)).threePointArc((0.395, 0.142), (0.015, ...
3
18
1.548494
train_dee6b9307e67868a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.295, -0.012, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.705).extrude(0.278) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.295, -0.012, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.605).extrude(0.833, both=True)) result = ...
16
153
0.370066
train_9ec66af3b4914f8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.201, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.794, 0.634).lineTo(0.794, 0.301).lineTo(-0.461, 0.301).lineTo(-0.461, -0.301).lineTo(0.794, -0.301).lineTo(0.794, -0.634).lineTo(-0.794, -0.634).lineTo(-0.794, 0.634).lineTo(0.794, 0.6...
12
101
1.061987
train_44ed488b29689c21
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(4.846, 41.776, 19.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(40.869, 23.838).threePointArc((40.659, -23.474), (-0.211, -47.314)).threePointArc((-40.869, -23.838), (-40.659, 23.474)).threePointArc((0.211, 47.314), (40.869, 23.838)).close().swe...
3
4
1.017228
train_b5e6bf0070294820
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.5).lineTo(1, -0.5).lineTo(-1, -0.5).lineTo(-1, -0.167).lineTo(0.667, -0.167).lineTo(0.667, 0.167).lineTo(-1, 0.167).lineTo(-1, 0.5).lineTo(1, 0.5).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 3.008), norma...
4
40
2.611952
train_fa02e4c2d57b844b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.781, 0.924).threePointArc((0.928, 0.865), (1, 0.729)).lineTo(1, 0.502).threePointArc((0.93, 0.366), (0.789, 0.31)).lineTo(0.482, 0.31).threePointArc((0.376, 0.268), (0.332, 0.169)).lineTo(...
14
52
1.039956
train_9d9b6078e3fb4c74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.884).threePointArc((0.943, 0.841), (1, 0.743)).lineTo(1, 0.509).threePointArc((0.921, 0.359), (0.758, 0.296)).lineTo(0.589, 0.296).threePointArc((0.408, 0.228), (0.332, 0.067)).lineT...
4
52
0.544756
train_5ee576054b0f1791
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.374, 0, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.317, 0.459).threePointArc((0.394, 0.428), (0.426, 0.35)).lineTo(0.426, -0.291).threePointArc((0.377, -0.411), (0.258, -0.459)).lineTo(-0.426, -0.459).lineTo(-0.426, 0.326).lineTo(-0.2...
9
44
0.646117
train_bbc6b2d5db8a597d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.301, 0, 0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.353, 1).lineTo(-0.353, -0.369).lineTo(0.972, -0.369).lineTo(0.972, -1).lineTo(-0.972, -1).lineTo(-0.972, 1).lineTo(-0.353, 1).close().extrude(1.57, both=True).intersect(cq.Workplane(cq...
15
187
0.882003
train_e152279fdac17b1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.12, 0, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.344, 0.189).lineTo(0.641, 0.121).threePointArc((0.698, 0.211), (0.875, 0.116)).lineTo(0.833, -0.157).threePointArc((0.83, -0.168), (0.823, -0.175)).lineTo(0.776, -0.206).threePointArc...
19
119
0.434205
train_402d3182f5d11dd8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.153, 0.751).threePointArc((-0.067, 0.602), (-0.01, 0.502)).lineTo(0.1, 0.489).lineTo(0.283, 0.711).lineTo(0.531, 0.677).lineTo(0.782, 0.591).threePointArc((0.865, 0.552), (0.677, 0.3...
5
140
2.559205
train_c99821ebf1dbdaa2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.117, -0.163, -0.819), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.683, 0.437).lineTo(0.875, -0.437).lineTo(-0.875, -0.437).lineTo(-0.683, 0.437).lineTo(0.683, 0.437).close().extrude(1.669, taper=8.552) result = result.union(cq.Workplane(cq.Plane...
9
58
1.310603
train_cdc7ca83d73d1c75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.027, 0.031), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.068, 1.026).lineTo(0.309, 0.692).threePointArc((0.526, 0.634), (0.765, 0.22)).threePointArc((0.598, 0.032), (0.155, -0.316)).lineTo(0.373, -0.374).threePointArc((0.198, -1.026), (0.017...
5
80
0.758188
train_598912184cedac49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.874), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.498, 0.857).lineTo(0.857, 0.498).lineTo(1, 0).lineTo(0.857, -0.498).lineTo(0.498, -0.857).lineTo(0, -1).lineTo(-0.498, -0.857).lineTo(-0.857, -0.498).lineTo(-1, 0).lineTo(-0.8...
4
40
2.42087
train_bc3fe2b6481acd1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.348, 0.053, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.126, 0.147).lineTo(0.126, 0.105).lineTo(-0.077, 0.105).lineTo(-0.077, -0.105).lineTo(0.126, -0.105).lineTo(0.126, -0.147).lineTo(-0.126, -0.147).lineTo(-0.126, 0.147).lineTo(0.126, 0.1...
10
94
0.223723
train_2b10e516f76e5c53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.199, 0.347, 0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.01, 0.627).lineTo(0.35, 0.539).lineTo(0.599, 0.301).lineTo(0.682, -0.012).lineTo(0.593, -0.311).lineTo(0.334, -0.547).lineTo(0.02, -0.627).lineTo(-0.333, -0.548).lineTo(-0.597, -0.3...
22
112
1.22487
train_741dbc211dc3e408
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(1, 0).threePointArc((0, -1), (-1, 0)).threePointArc((0, 1), (1, 0)).close().extrude(0.429) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.671, 0.071, -1.515), normal=(0, 1, 0), xDir=(1...
6
5
1.344082
train_b1d26b596365ebe0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, -0.006, -0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.575, 0.549).lineTo(0.679, 0.401).threePointArc((0.846, 0.404), (0.946, 0.019)).lineTo(0.993, -0.068).lineTo(0.685, -0.532).threePointArc((0.481, -0.517), (0.365, -0.701)).lineTo(...
13
104
1.200569
train_b17995b21b42dd5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.357), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.469, 0.713).lineTo(0.469, 0.57).lineTo(1, 0.57).lineTo(1, 0).lineTo(0.363, 0).lineTo(0.363, 0.713).lineTo(0.469, 0.713).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
14
138
1.052712
train_1bdc0780ee3329f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.364), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.727).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.727).lineTo(-0.792, 0.727).lineTo(-0.792, 0.208).lineTo(0.792, 0.208).lineTo(0.792, 0.727).lineTo(1, 0.727).close().extrude(0.2, both=True)...
5
46
0.281665
train_a7420bc3afb1ce0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.105, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.577, 0.382).threePointArc((0.566, 0.339), (0.614, 0.16)).threePointArc((0.609, -0.03), (0.984, -0.241)).threePointArc((0.997, -0.891), (0.079, -0.771)).threePointArc((-0.133, -0.5...
6
52
2.219437
train_64cd26b75631649e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.309), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.632, 0.5).lineTo(-0.632, 0.368).lineTo(0.632, 0.368).lineTo(0.632, 0.5).lineTo(1, 0.5).close().extrude(0.2, both=True) result = ...
4
35
0.351962
train_12c698a5ac995773
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.755, 0.365).lineTo(1, 0.223).lineTo(0.606, -0.365).lineTo(-0.064, 0.076).lineTo(0.095, 0.257).lineTo(0.275, 0.098).lineTo(0.416, 0.343).lineTo(0.661, 0.202).lineTo(0.755, 0.365).close().ex...
1
18
0.228648
train_3d08df6678f81851
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.185, -0.047, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.555, -0.515).threePointArc((0.317, 0.674), (-0.238, -0.674)).lineTo(-0.555, -0.515).close().moveTo(-0.476, -0.278).threePointArc((0.555, 0.278), (-0.317, -0.436)).lineTo(-0.476,...
6
29
0.179606
train_af00b8b7d17cd168
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.361, -0.241, 0.044), normal=(-0.827, 0.553, -0.101), xDir=(-0.556, -0.831, 0))).moveTo(0, 0.844).threePointArc((0.704, 0.704), (0.844, 0)).threePointArc((0.704, -0.704), (0, -0.844)).threePointArc((-0.704, -0.704), (-0.844, 0)).threePointArc((-0...
2
50
0.564113
train_efe107bba8388b99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.212, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.844, 0.579).threePointArc((0.948, 0.542), (1, 0.451)).lineTo(1, 0.163).threePointArc((0.936, 0.049), (0.809, 0)).lineTo(0.54, 0).threePointArc((0.393, -0.054), (0.332, -0.181)).lineTo(...
17
97
2.065379
train_71c8e6ecbb34a8a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.385, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.577, -0.07).lineTo(0.61, -0.088).lineTo(0.603, -0.125).lineTo(0.568, -0.125).lineTo(0.549, -0.192).lineTo(0.577, -0.216).lineTo(0.562, -0.252).lineTo(0.528, -0.244).lineTo(0.495,...
5
196
0.257202
train_07471185defdc8b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.349, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.1).extrude(0.502, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(-0.349, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.393).extrude(1, both=True)) result = result.cut(...
5
40
0.792838
train_1ef0b80e47af3aa8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.233, 0.311, -0.371), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.088, 0.245).threePointArc((0.209, 0.245), (0.209, 0.103)).lineTo(-0.088, -0.245).threePointArc((-0.209, -0.245), (-0.209, -0.103)).lineTo(0.088, 0.245).close()....
7
84
0.291987
train_6edfbcae1ccd32d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.356, 0.339, 0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.215, 0.373).threePointArc((0.416, 0.111), (0.373, -0.215)).threePointArc((0.111, -0.416), (-0.215, -0.373)).threePointArc((-0.416, -0.111), (-0.373, 0.215)).threePointArc((-0.111, 0....
6
85
1.03218
train_47e795f990e8942c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.386).lineTo(1, -0.282).lineTo(0.887, -0.282).lineTo(0.887, -0.386).lineTo(-1, -0.386).lineTo(-1, 0.232).threePointArc((-0.947, 0.34), (-0.837, 0.386)).lineTo(1, 0.386).close().extrude(0.4...
18
261
0.44207
train_097038c5de90293b
import cadquery as cq import math result = cq.Workplane('XY').circle(0.601).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.295).extrude(0.912, both=True)) result = result.cut(cq.Workplane('XY').circle(0.501).extrude(3, both=True)) result =...
8
40
0.49344
train_b2be8c14e6be214c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.55, 0.828).threePointArc((1.008, 0), (0.55, -0.828)).lineTo(-0.55, -0.828).threePointArc((-1.008, 0), (-0.55, 0.828)).lineTo(0.55, 0.828).close().extrude(0.182, taper=5.936) result = resul...
11
160
0.492221
train_3da351621bcb96c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.557, -0.195, 0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.301, 0.122).threePointArc((0.438, 0.101), (0.225, -0.122)).lineTo(-0.34, -0.106).threePointArc((-0.385, -0.101), (-0.371, -0.093)).lineTo(0.023, 0.005).threePointArc((0.053, 0.022)...
10
188
0.713119
train_37ece52161a95776
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.913, -0.145).lineTo(0.982, -0.19).lineTo(0.953, -0.306).lineTo(0.875, -0.3).lineTo(0.817, -0.434).lineTo(0.868, -0.497).lineTo(0.803, -0.599).lineTo(0.731, -0.568).lineTo(0.633, -0.676...
3
83
1.321958
train_276c5f48d08d37c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, -0.13, -0.641), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.622, 0.302).lineTo(0.622, 0.091).lineTo(0.397, 0.091).lineTo(0.397, -0.302).lineTo(0.185, -0.302).lineTo(0.185, 0.091).lineTo(-0.04, 0.091).lineTo(-0.04, 0.302).lineTo(0.622, 0.302...
13
193
0.437116
train_e6725c97b3bc7161
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.222, 0.556, -0.716), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.236, 0.167).threePointArc((0.247, 0.163), (0.252, 0.154)).lineTo(0.252, 0.116).threePointArc((0.246, 0.105), (0.232, 0.1)).lineTo(-0.148, 0.1).threePointArc((-0.162, 0.095), (-0.1...
9
222
0.548142
train_a057ec807ae58426
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.2).lineTo(0.929, 0).lineTo(1, -0.2).lineTo(0.409, -0.2).lineTo(0.409, 0.2).lineTo(1, 0.2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.342, 0.429, 0), normal=(0, 0, ...
10
37
0.700124
train_1859dfef1d8b1e28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0.286, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.574, 0.574).threePointArc((0.765, 0), (0.574, -0.574)).threePointArc((0, -0.765), (-0.574, -0.574)).threePointArc((-0.765, 0), (-0.574, 0.574)).threePointArc((0, 0.765), (0.574, 0....
26
88
0.379225
train_928f8845a7dd0e76
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.083, 0.148).lineTo(-0.083, -0.106).lineTo(0.137, -0.106).lineTo(0.137, -0.148).lineTo(-0.137, -0.148).lineTo(-0.137, 0.148).lineTo(-0.083, 0.148).close().extrude(1, both=True) result = result.edges().fillet(0.015) final_result = result
2
38
0.049957
train_3a6f881704870111
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.167, 0.228, -0.298), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.108, 1.227).threePointArc((0.161, 0.882), (0.312, 0.778)).lineTo(0.454, 0.247).lineTo(0.512, -0.398).lineTo(0.362, -0.598).lineTo(0.226, -0.055).lineTo(-0.092, -0.482).lineTo(0.043...
5
75
0.636622
train_53e1263a8f204d81
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.649, 0.628).lineTo(0.649, -0.445).threePointArc((0.596, -0.573), (0.466, -0.628)).lineTo(-0.524, -0.628).threePointArc((-0.612, -0.59), (-0.649, -0.501)).lineTo(-0.649, 0.451).lineTo(-0.47...
13
61
0.707268
train_cfe81bd578cdb563
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, 0.187).lineTo(0.392, -0.172).lineTo(0.363, -0.201).lineTo(-0.367, -0.201).lineTo(-0.367, -0.176).lineTo(-0.392, -0.176).lineTo(-0.392, 0.172).lineTo(-0.363, 0.201).lineTo(0.378, 0...
7
21
0.381954
train_9a3c2fc2da73b53f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.317, -0.692), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.682, 1.383).lineTo(0.682, 0.208).lineTo(0.574, 0.208).lineTo(0.574, 0).lineTo(0.354, 0).lineTo(0.354, 1.383).lineTo(0.682, 1.383).close().revolve(angleDegrees=360, axisStart=(0, 0, 0)...
4
72
0.590909
train_133d4685fbfe8da5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.517), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.033).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.033).lineTo(-0.839, 1.033).lineTo(-0.839, 0.161).lineTo(0.839, 0.161).lineTo(0.839, 1.033).lineTo(1, 1.033).close().extrude(0.33, both=True...
4
24
0.381962
train_2366c1359c4bdab3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.207, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.066, 0.177).lineTo(0.066, 0).lineTo(0.196, 0).lineTo(0.196, -0.177).lineTo(-0.066, -0.177).lineTo(-0.066, 0).lineTo(-0.196, 0).lineTo(-0.196, 0.177).lineTo(0.066, 0.177).close().extrude(1, ...
12
110
0.171098
train_824ad812f6ec8535
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.401, 2).extrude(0.44) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.646, -0.056).lineTo(0.646, -0.937).lineTo(-0.646, -0.937).cl...
9
32
0.217555
train_298845f6a9389115
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, 0.696, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.247, 1.062).lineTo(0.819, 0.662).lineTo(1, -0.011).lineTo(0.706, -0.643).lineTo(0.074, -0.938).lineTo(-0.6, -0.758).lineTo(-1, -0.187).lineTo(-0.94, 0.507).lineTo(-0.447, 1.001).lineTo...
11
24
4.14371
train_eccfbcf9f4f40075
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.181, -0.16, -0.114), normal=(-0.514, 0.704, -0.49), xDir=(-0.808, -0.59, 0))).moveTo(0.165, 0.118).lineTo(0.169, 0.021).lineTo(0.156, -0.063).lineTo(0.177, -0.072).lineTo(0.183, -0.09).lineTo(0.16, -0.107).lineTo(0.131, -0.101).lineTo(0.074, -0...
15
264
1.061142
train_47e8828c4a28d405
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0.013, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.076, 0.66).lineTo(0.084, 0.5).lineTo(0.084, 0.105).lineTo(0.079, 0).lineTo(0.062, 0).lineTo(0.05, -0.227).lineTo(0.05, -0.441).lineTo(0.039, -0.66).lineTo(-0.072, -0.66).lineTo(-0.084...
8
160
0.28831
train_e2495a3a23ad8926
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.032, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.045, 0.534).lineTo(0.117, 0.463).lineTo(0.188, 0.392).threePointArc((0.192, 0.385), (0.19, 0.378)).lineTo(0.041, 0.082).threePointArc((0.04, 0.078), (0.042, 0.075)).lineTo(0.117, ...
2
63
0.836233
train_8c13c8122626a8ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(3.22, -2.412, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-2.552, 2.375).lineTo(2.966, -0.577).threePointArc((3.842, -0.925), (2.974, -1.064)).lineTo(0.452, -2.614).lineTo(0.484, -2.839).lineTo(0.231, -3.08).lineTo(-0.089, -2.823).lineTo(-2....
16
395
0.492192
train_95ce61ba7ca9342f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.394, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.04, 0.733).threePointArc((0.252, 0.644), (0.339, 0.432)).lineTo(0.339, 0.356).threePointArc((0.252, 0.144), (0.04, 0.056)).lineTo(-0.04, 0.056).threePointArc((-0.252, 0.144), (-0.339, 0.35...
5
58
0.7563
train_78467ddbc23f40d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.207, 0.071, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.158, 0.589).threePointArc((0.345, 0.598), (0.589, 0.158)).threePointArc((0.598, -0.345), (0.158, -0.589)).threePointArc((-0.345, -0.598), (-0.589, -0.158)).threePointArc((-0.598, ...
4
24
1.417169
train_a4cd6023a829ef3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.467) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.655).extrude(1.401, both=True)) result = result.union(cq.Workpl...
18
153
1.047545
train_69d3c3af23df1fee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.335, -0.077, -0.401), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, -0.201).lineTo(-0.021, -0.201).threePointArc((-0.03, -0.198), (-0.033, -0.19)).lineTo(-0.033, -0.078).threePointArc((-0.031, -0.065), (-0.024, -0.055)).lineTo(0.087, 0.055)....
12
219
0.9063
train_abacdcf500ba7e56
import cadquery as cq import math result = cq.Workplane('XY').circle(0.441).extrude(0.199, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.106).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.249, -0.203, 0), normal=(1, 0, ...
5
28
0.256636
train_df6cd51a8004b0eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.233, 0.974).threePointArc((0.376, 0.929), (0.511, 0.863)).threePointArc((0.635, 0.778), (0.744, 0.675)).threePointArc((0.837, 0.558), (0.911, 0.427)).threePointArc((0.965, 0.287), (0.9...
9
206
2.282286
train_9383b5320b56a8d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.477, 0.597).lineTo(-0.477, -0.361).lineTo(0.892, -0.361).lineTo(0.892, -0.597).lineTo(-0.892, -0.597).lineTo(-0.892, 0.597).lineTo(-0.477, 0.597).close().extrude(0.463, taper=-13.129) res...
4
30
0.764028
train_835cbd872bbc9a0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.22, 0.004, 0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.355, 0.403).lineTo(0.652, 0.288).threePointArc((0.78, 0.259), (0.733, 0.178)).lineTo(0.679, -0.038).lineTo(0.591, -0.064).lineTo(0.503, -0.089).lineTo(0.206, 0.025).threePointArc((0....
4
40
0.756075
train_4b065bd4d3989479
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, 0.214).threePointArc((0.982, 0), (0.767, -0.214)).lineTo(0.256, -0.214).lineTo(-0.256, -0.214).lineTo(-0.767, -0.214).threePointArc((-0.982, 0), (-0.767, 0.214)).lineTo(-0.256, 0.214)...
4
39
0.246963
train_6c9568dc48d17825
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.396), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.843, 0.653).threePointArc((0.949, 0.61), (1, 0.505)).lineTo(1, -0.385).threePointArc((0.914, -0.575), (0.728, -0.653)).lineTo(-1, -0.653).lineTo(-1, 0.437).lineTo(-0.78, 0.653).lineTo(0.84...
6
114
0.252004
train_1138eb8cb2b32683
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.537, -0.163, -0.454), normal=(0.632, 0.236, 0.738), xDir=(-0.35, 0.937, 0))).moveTo(0.308, 0.738).threePointArc((0.369, 0.718), (0.428, 0.694)).threePointArc((0.483, 0.665), (0.534, 0.632)).threePointArc((0.581, 0.595), (0.623, 0.555)).threePoi...
11
129
1.228113
train_6cf9cf753c341a2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.006, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.152, -0.017).threePointArc((-0.003, 0.222), (0.152, -0.018)).lineTo(0.152, -0.201).threePointArc((0.138, -0.222), (0.059, -0.204)).lineTo(0.059, -0.001).threePointArc((0.108, 0.045), (0.1...
18
47
0.112114
train_3ffc255a50b753d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.069, 0.999, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.654).threePointArc((0.414, 0.483), (0.585, 0.069)).threePointArc((0.414, -0.345), (0, -0.516)).threePointArc((-0.414, -0.345), (-0.585, 0.069)).threePointArc((-0.414, 0.483), (0, 0....
4
18
2.131891
train_1a61ae1f7b8d879d
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.131).lineTo(0.916, 0).lineTo(1, -0.131).lineTo(0.161, -0.131).lineTo(0.161, 0.131).lineTo(1, 0.131).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=(...
14
85
0.518444
train_1bdd3c1a8595c870
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.059, 0.223, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.31, 0.105).lineTo(0.183, -0.105).threePointArc((-0.02, 0.028), (0.31, 0.105)).close().extrude(0.505).union(cq.Workplane(cq.Plane(origin=(0.059, 0.223, -0.038), normal=(0, 0, 1), xD...
16
105
0.686656
train_e7b5f9382a75629d
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.069, 0.747).lineTo(0.332, 0.68).threePointArc((0.369, 0.65), (0.414, 0.633)).lineTo(0.576, 0.475).threePointArc((0.616, 0.373), (0.686, 0.29)).lineTo(0.748, 0.066).threePointArc((0.737, -0.005), (0.75, -0.076)).lineTo(0.693, -0.297).threePointArc((0...
4
90
3.127334
train_4fcc2a7260e36386
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.328), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.459, 0).lineTo(0.459, 0.656).lineTo(0.359, 0.656).lineTo(0.359, 0.345).lineTo(1, 0.345).lineTo(1, 0).lineTo(0.459, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
3
8
0.772105
train_c9c3981db0883c91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.841), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.288, 0.987).threePointArc((0.758, 0.946), (0.956, 0.849)).lineTo(0.956, -0.918).threePointArc((0.857, -0.966), (0.626, -0.987)).lineTo(-0.334, -0.987).threePointArc((-0.772, -0.948), ...
8
74
1.522364
train_98f29681da871ad9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.439), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.877).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.877).lineTo(-0.868, 0.877).lineTo(-0.868, 0.123).lineTo(0.868, 0.123).lineTo(0.868, 0.877).lineTo(1, 0.877).close().extrude(0.266, both=Tru...
6
62
0.2507
train_4d94eda1c070c5e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.386), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.868, -0.091).lineTo(0.992, -0.126).lineTo(0.978, -0.209).lineTo(0.85, -0.194).lineTo(0.826, -0.282).lineTo(0.94, -0.343).lineTo(0.908, -0.42).lineTo(0.786, -0.379).lineTo(0.743, -0.457).li...
6
150
1.917455
train_48a701949fdc0ebe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.385, 0, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.507, -0.14).lineTo(0.584, -0.19).lineTo(0.559, -0.256).lineTo(0.473, -0.228).lineTo(0.396, -0.346).lineTo(0.444, -0.424).lineTo(0.392, -0.473).lineTo(0.328, -0.411).lineTo(0.207, -0.48...
7
105
0.238777
train_a509bd88a51005eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.036, -0.301, -0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0.352).threePointArc((0.8, 0.308), (0.914, 0.205)).lineTo(0.914, -0.156).threePointArc((0.763, -0.294), (0.404, -0.352)).lineTo(-0.313, -0.352).threePointArc((-0.736, -0.283...
19
237
0.701972
train_54601f9375aa1915
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.869).lineTo(1, 0.484).lineTo(-0.438, 0.484).lineTo(-0.438, -0.484).lineTo(1, -0.484).lineTo(1, -0.869).lineTo(-1, -0.869).lineTo(-1, 0.869).lineTo(1, 0.869).close().extrude(0.184) resul...
3
132
0.374507
train_064280a9afb1b2bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.572), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.63).lineTo(1, -0.521).threePointArc((0.967, -0.599), (0.89, -0.63)).lineTo(-1, -0.63).lineTo(-1, 0.491).threePointArc((-0.958, 0.59), (-0.86, 0.63)).lineTo(1, 0.63).close().extrude(0.25...
11
27
2.068256
train_40d7db9812b8e8ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.834, 0.169).threePointArc((0.951, 0.121), (1, 0.005)).lineTo(1, -0.016).threePointArc((0.954, -0.124), (0.846, -0.169)).lineTo(-0.833, -0.169).threePointArc((-0.95, -0.121), (-1, -0.003))....
9
66
0.208132
train_45c5c8fee638944d
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.203, 0.621).lineTo(0.528, 0.384).lineTo(0.651, 0).lineTo(0.528, -0.384).lineTo(0.203, -0.621).lineTo(-0.203, -0.621).lineTo(-0.528, -0.384).lineTo(-0.651, 0).lineTo(-0.528, 0.384).lineTo(-0.20...
1
12
2.503932
train_88fad856b46088f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.725, -0.45, -0.921), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.449).threePointArc((1.025, 1.025), (1.449, 0)).lineTo(0.768, 0).threePointArc((0.542, 0.542), (0, 0.768)).lineTo(0, 1.449).close().extrude(1.843) result = result.union(cq.Workp...
6
89
2.714878
train_0409023597c26c0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.585, 0, -0.88), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.228, 1.88).lineTo(0.228, 0.228).lineTo(1.17, 0.228).lineTo(1.17, 0).lineTo(0, 0).lineTo(0, 1.88).lineTo(0.228, 1.88).close().extrude(0.463, both=True) result = result.cut(cq.Workplane...
9
51
0.632071
train_bd37859c79f4c46d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.075, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.798, 0.507).threePointArc((0.933, 0.45), (1, 0.31)).lineTo(1, -0.389).threePointArc((0.957, -0.472), (0.873, -0.507)).lineTo(-0.781, -0.507).threePointArc((-0.929, -0.444), (-1, -0.295...
11
178
0.665653
train_238ee36435bbe1c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.214, 0.229, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.307, 2.075).threePointArc((0.1, 1.936), (0.448, 1.375)).threePointArc((0.534, 0.719), (0.307, 0.354)).threePointArc((-0.1, 0.493), (-0.448, 1.055)).threePointArc((-0.534, 1.71), (-0.3...
6
246
0.653394
train_a73b6319b96507a7
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.328).lineTo(0.823, 0).lineTo(1, -0.328).lineTo(0.193, -0.328).lineTo(0.193, 0.328).lineTo(1, 0.328).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.445, 0.323, 0), nor...
7
25
1.274009
train_a4b7c723f9ee9672
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.245, 0.965).threePointArc((0.387, 0.917), (0.523, 0.849)).threePointArc((0.645, 0.766), (0.753, 0.66)).threePointArc((0.84, 0.54), (0.912, 0.407)).threePointArc((0.963, 0.265), (1, 0....
3
47
1.229524
train_85c0dfc1d0a5964e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.193, 0.312, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.395, 0.592).lineTo(0.395, 0.197).lineTo(0.79, 0.197).lineTo(0.79, -0.197).lineTo(0.395, -0.197).lineTo(0.395, -0.592).lineTo(-0.79, -0.592).lineTo(-0.79, -0.197).lineTo(0, -0.197).line...
11
44
1.452153
train_af63dad0ea798492
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.114, 0, -0.546), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.886, 0.003).threePointArc((0.816, -0.073), (0.739, -0.003)).threePointArc((0.809, 0.073), (0.886, 0.003)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.114, 0, -0.546), normal=(0, 0...
3
13
0.500113
train_05bb6f7f8ab80733
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.14).lineTo(0.844, 0).lineTo(1, -0.14).lineTo(0.251, -0.14).lineTo(0.251, 0.14).lineTo(1, 0.14).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=(0, 0,...
18
113
0.403672
train_dd1a454b6baa3934
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.628, -0.386), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.565, 0.978).threePointArc((-0.47, 0.94), (-0.43, 0.85)).lineTo(-0.43, -0.189).threePointArc((-0.351, -0.366), (-0.163, -0.441)).lineTo(0.851, -0.441).threePointArc((0.956, -0.482), (1...
8
58
0.218157
train_f1af37d8e83df1df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.18, -0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.191, 0.398).lineTo(-0.191, 0.239).lineTo(0.572, 0.239).lineTo(0.572, 0.08).lineTo(0.953, 0.08).lineTo(0.953, -0.08).lineTo(0.572, -0.08).lineTo(0.572, -0.239).lineTo(-0.191, -0.239).l...
26
159
0.296698
train_72d6205425835989
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.75, 0, 4.484), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.629).lineTo(0.314, 0.547).lineTo(0.547, 0.314).lineTo(0.629, 0).lineTo(0.547, -0.314).lineTo(0.314, -0.547).lineTo(0, -0.629).lineTo(-0.314, -0.547).lineTo(-0.547, -0.314).lineTo(-0....
10
51
0.124343
train_fa6f737c1bceaf9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.187, 0.255, -0.704), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.481).threePointArc((0.209, 0.395), (0.295, 0.186)).threePointArc((0.209, -0.023), (0, -0.109)).threePointArc((-0.209, -0.023), (-0.295, 0.186)).threePointArc((-0.209, 0.395), (...
3
57
0.496392
train_7425bdff10b6ac50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.144, 0.567, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.14, 0.431).lineTo(-0.054, 0.314).lineTo(0.037, 0.278).lineTo(0.042, 0.163).lineTo(0.329, 0.19).lineTo(0.523, 0.174).threePointArc((0.624, 0.069), (0.58, 0.029)).lineTo(0.309, -0.0...
22
206
0.270274
train_cb5414c3e7b4d863
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.429, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.165, 0.223).lineTo(-0.165, 0.171).threePointArc((-0.143, 0.156), (-0.09, 0.149)).lineTo(0.735, 0.149).threePointArc((0.799, 0.141), (0.826, 0.122)).lineTo(0.826, 0.082).threePointArc...
10
105
0.381716
train_f7ce85c8841f7442
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.068, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.111).threePointArc((0.108, 0.108), (0.111, 0.1)).lineTo(0.111, 0.071).threePointArc((0.106, 0.06), (0.095, 0.056)).lineTo(0.072, 0.056).threePointArc((0.06, 0.051), (0.056, 0.039)).l...
8
187
0.053617
train_ce2095b18f209fd9
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.764, 0.664).lineTo(0.764, 0.165).lineTo(-0.266, 0.165).lineTo(-0.266, -0.165).lineTo(0.764, -0.165).lineTo(0.764, -0.664).lineTo(-0.764, -0.664).lineTo(-0.764, 0.664).lineTo(0.764, 0.664).clos...
8
31
2.712959
train_ad695efd32a2342b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.969), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.858).lineTo(1, 0).lineTo(0.498, -0.858).lineTo(-0.498, -0.858).lineTo(-1, 0).lineTo(-0.498, 0.858).lineTo(0.498, 0.858).close().extrude(1.937) result = result.cut(cq.Workplane(cq.Pl...
6
40
3.731259
train_043571bc0463febe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.166, 0.032, -0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.453, 0.768).threePointArc((0.681, -0.768), (-0.432, -0.051)).lineTo(-0.811, 0.393).threePointArc((-0.829, 0.484), (-0.688, 0.552)).lineTo(-0.264, 0.06).threePointArc((-0.054, -0.5...
9
83
0.467523
train_80b70181ad0bd83b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.653), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.305).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.305).lineTo(-0.598, 1.305).lineTo(-0.598, 0.401).lineTo(0.598, 0.401).lineTo(0.598, 1.305).lineTo(1, 1.305).close().extrude(0.408, both=Tru...
4
32
1.265627