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_3aa8100c8e832bd6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.18).lineTo(0.332, -0.18).lineTo(-0.332, -0.18).lineTo(-0.332, 0.18).lineTo(0.332, 0.18).close().extrude(0.426, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -...
9
45
0.457745
train_46a0e987e06d9c76
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.72, 0.119).lineTo(0.836, 0.003).lineTo(0.836, -0.003).lineTo(0.72, -0.119).lineTo(-0.72, -0.119).lineTo(-0.836, -0.003).lineTo(-0.836, 0.003).lineTo(-0.72, 0.119).lineTo(0.72, 0.119).close...
10
88
0.479474
train_4255a5e1f1b3a573
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.439, 1).threePointArc((0.565, 0.947), (0.618, 0.82)).lineTo(0.618, -0.772).threePointArc((0.551, -0.933), (0.39, -1)).lineTo(-0.618, -1).lineTo(-0.618, 0.812).lineTo(-0.43, 1).lineTo(0.439...
3
31
0.563832
train_05079e4817f85709
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, 0.144, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.424, 0.741).threePointArc((0.424, 0.741), (0.847, 0)).threePointArc((0.424, -0.741), (-0.424, -0.741)).threePointArc((-0.847, 0), (-0.424, 0.741)).close().sweep(cq.Workplane(cq.Pl...
3
36
1.462929
train_b7b86df2cceebe28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.436, 0, -0.988), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.398, 1.976).lineTo(0.398, 0.398).lineTo(0.79, 0.398).lineTo(0.79, 0).lineTo(0, 0).lineTo(0, 1.976).lineTo(0.398, 1.976).close().extrude(1, both=True) result = result.union(cq.Workpla...
3
34
1.048668
train_4e1b06cc16d7f910
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.486, -0.28, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.969).threePointArc((0.688, 0.688), (0.969, 0)).lineTo(0.496, 0).threePointArc((0.35, 0.35), (0, 0.496)).lineTo(0, 0.969).close().extrude(2) result = result.union(cq.Workplane(cq.Pl...
6
42
1.169018
train_2798fbbd339d714f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.079, -0.333, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.201, 0.539).threePointArc((0.335, 0.465), (0.418, 0.347)).threePointArc((0.437, 0.204), (0.39, 0.059)).threePointArc((0.283, -0.068), (0.133, -0.157)).threePointArc((-0.037, -0.1...
10
109
0.484038
train_cab93bf53e542bc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.474, 0.597).threePointArc((0.56, 0.56), (0.597, 0.474)).lineTo(0.597, 0.354).threePointArc((0.643, 0.245), (0.753, 0.199)).lineTo(0.858, 0.199).threePointArc((0.952, 0.159), (1, 0.066)).li...
4
29
0.674856
train_9675f646a3df7393
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.848, 0.51).lineTo(1, 0.358).lineTo(1, -0.401).threePointArc((0.967, -0.478), (0.89, -0.51)).lineTo(-0.89, -0.51).threePointArc((-0.967, -0.478), (-1, -0.401)).lineTo(-1, 0.51).lineTo(0.848...
8
61
0.313219
train_99bc098e87ef30f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.242, 0, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.351, 0.605).lineTo(0.351, 0.202).lineTo(0.702, 0.202).lineTo(0.702, -0.605).lineTo(0, -0.605).lineTo(0, 0.202).lineTo(-0.351, 0.202).lineTo(-0.351, -0.202).lineTo(-0.702, -0.202).lineTo...
16
398
0.297298
train_f4a3a8f71efd028e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.38).lineTo(1, -0.38).lineTo(-1, -0.38).lineTo(-1, 0.38).lineTo(1, 0.38).close().extrude(0.285) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.141), normal=(0, 0, 1), xDir=(1,...
17
157
0.318423
train_0054f53690d2acbb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.06, 0.04, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.582, 0.939).threePointArc((0.833, 0.833), (0.939, 0.582)).lineTo(0.939, 0.127).threePointArc((0.902, 0.038), (0.813, 0)).lineTo(0.555, 0).threePointArc((0.495, -0.025), (0.47, -0.08...
21
232
0.467165
train_f801a59329a96622
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.759, -0.028, -0.795), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.179, 0.19).lineTo(0.165, 0.114).threePointArc((0.179, 0.069), (0.214, 0.038)).lineTo(0.241, -0.038).lineTo(0.204, -0.114).lineTo(0.179, -0.19).threePointArc((0.001, -0.368), (-0....
6
120
0.238815
train_b2d7399b473b8e15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.232, 0.388, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.347, 0.504).threePointArc((0.504, -0.347), (-0.347, -0.504)).threePointArc((-0.504, 0.347), (0.347, 0.504)).close().sweep(cq.Workplane(cq.Plane(origin=(0.232, 0.388, -0.161), norma...
8
254
0.265077
train_6c6cf4bc4fa30449
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.233), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.777, 0.467).lineTo(0.777, 0.276).lineTo(1, 0.276).lineTo(1, 0).lineTo(0.176, 0).lineTo(0.176, 0.467).lineTo(0.777, 0.467).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
5
34
1.016597
train_2280a5535cdb813a
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.346, 0.122).lineTo(0.346, -0.122).lineTo(-0.022, -0.122).lineTo(-0.022, 0.122).lineTo(0.346, 0.122).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1,...
10
41
0.153081
train_e8edc72a47653215
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.447, 0.134, 0.581), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.019, 0.022).lineTo(0.019, -0.022).threePointArc((-0.019, 0), (0.019, 0.022)).close().transformed(offset=(0.02, -0.037, 0.071), rotate=(0, 20, 0)).moveTo(0.015, 0.017).lineTo(0.015...
6
30
0.388537
train_f609f2ad4d6c9525
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.421, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.045, 1.146).lineTo(0.742, 0.669).lineTo(0.531, -0.227).lineTo(-0.387, -0.303).lineTo(-0.742, 0.546).lineTo(-0.045, 1.146).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(orig...
7
7
2.914742
train_af48c070a56d27b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, 0.005, 0.257), normal=(0.84, -0.181, -0.512), xDir=(0.211, 0.978, 0))).moveTo(0.746, 0.415).threePointArc((0.901, 0.349), (0.967, 0.194)).lineTo(0.967, -0.271).threePointArc((0.924, -0.372), (0.823, -0.415)).lineTo(-0.903, -0.415).threePoin...
5
130
0.767124
train_dc0be1d506f46203
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.084, -0.001, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.65, 0.231).lineTo(-0.65, 0.159).threePointArc((-0.629, 0.143), (-0.579, 0.137)).lineTo(0.918, 0.137).threePointArc((1.035, 0.121), (1.084, 0.084)).lineTo(1.084, 0.028).threePoin...
4
24
0.102002
train_eb0f0597e98e14fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.068, -0.647, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.016, 0.79).lineTo(0.142, 0.695).lineTo(-0.102, 0.303).lineTo(0.356, 0.019).lineTo(0.257, -0.139).lineTo(-0.356, 0.24).lineTo(-0.016, 0.79).close().extrude(0.926) result = result.fac...
5
67
0.163937
train_3afdac13bb63c470
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.113, -0.124, 0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.014, 4.126).lineTo(-0.632, 3.664).lineTo(-0.179, 1.827).lineTo(1.509, 1.63).lineTo(3.65, 2.841).lineTo(4.389, 2.873).threePointArc((3.517, -2.883), (0.339, -4.142)).lineTo(-0.003...
11
69
0.854703
train_0b5001a89c9f226f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.121, 0.776, 0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.227, 0.223).threePointArc((0.223, -0.227), (-0.227, -0.223)).threePointArc((-0.223, 0.227), (0.227, 0.223)).close().sweep(cq.Workplane(cq.Plane(origin=(0.121, 0.776, 0.132), normal=...
3
21
0.112621
train_0a49e999a60d2a35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.528, 0, 0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.285, 0.313).lineTo(0.285, -0.313).threePointArc((0, -0.599), (-0.285, -0.313)).lineTo(-0.285, 0.313).threePointArc((0, 0.599), (0.285, 0.313)).close().sweep(cq.Workplane(cq.Plane(origin...
5
40
1.174392
train_c153852ba4fd1d8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.402), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.482, 1.899).lineTo(0.482, 0.804).lineTo(1, 0.804).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.899).lineTo(0.482, 1.899).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
6
11
0.439471
train_a0efbe99c70aebf5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.584, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.432, 0.667).lineTo(-0.432, -0.463).lineTo(0.736, -0.463).lineTo(0.736, -0.667).lineTo(-0.736, -0.667).lineTo(-0.736, 0.667).lineTo(-0.432, 0.667).close().extrude(1, both=True) result = res...
15
38
0.796415
train_b6f1371b00b08e38
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.918, 1.007).threePointArc((0.953, 0.993), (0.967, 0.96)).lineTo(0.967, -0.72).threePointArc((0.877, -0.922), (0.663, -1.007)).lineTo(-0.763, -1.007).threePointArc((-0.907, -0.95), (-0.967,...
3
100
0.523246
train_1cfada8142987df2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0, -0.163), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.942, 0.325).lineTo(0.912, 0.229).lineTo(1, 0.113).lineTo(1, 0).lineTo(0.868, 0).lineTo(0.868, 0.098).lineTo(0.773, 0.229).lineTo(0, 0.202).lineTo(0, 0.325).lineTo(0.942, 0.325).close(...
4
15
0.432428
train_9b8f9e52beaf94ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.578), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.549, 0.746).threePointArc((-0.499, 0.73), (-0.478, 0.693)).lineTo(-0.478, -0.082).threePointArc((-0.369, -0.275), (-0.11, -0.357)).lineTo(0.903, -0.357).threePointArc((0.971, -0.378),...
14
20
2.249984
train_8f2326cf57dc3cbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.296, -0.127, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.591).threePointArc((0.419, 0.419), (0.591, 0)).lineTo(0.207, 0).threePointArc((0.147, 0.147), (0, 0.207)).lineTo(0, 0.591).close().extrude(2) result = result.union(cq.Workplane(cq...
8
25
0.525352
train_925ffd4868700ed1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.324), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.761, 0.649).lineTo(0.912, 0.55).lineTo(1, 0.227).lineTo(1, 0).lineTo(0.906, 0).lineTo(0.906, 0.195).lineTo(0.81, 0.55).lineTo(0, 0.563).lineTo(0, 0.649).lineTo(0.761, 0.649).close().revol...
5
93
0.365639
train_c57c39a79a1f465f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.083, 0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.013, 0.389).threePointArc((0.251, 0.533), (0.623, 0.453)).lineTo(0.769, 0.311).lineTo(1.002, -0.125).lineTo(0.954, -0.116).threePointArc((0.811, -0.521), (0.4, -0.573)).lineTo(-0.7...
5
125
0.862378
train_8853c3e87126e932
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.156, -1.12, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.435, 0.749).threePointArc((0, 0.314), (-0.435, 0.749)).threePointArc((0, 1.183), (0.435, 0.749)).close().workplane(offset=0.174).moveTo(0.475, 0.749).threePointArc((0, 0.273), (-0.475,...
6
43
1.164569
train_4b7cccbde509391b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.199, 0.269).lineTo(0.199, 0.223).threePointArc((0.239, 0.195), (0.332, 0.182)).lineTo(0.454, 0.182).threePointArc((0.554, 0.169), (0.597, 0.138)).lineTo(0.597, 0.094).threePointArc((0.629,...
4
242
0.319029
train_19c10dc09009b64c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.32, -1, -0.003), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.295, 0.583).lineTo(0.062, 0.038).lineTo(-0.295, 0.512).lineTo(0.295, 0.583).close().extrude(2) result = result.edges().fillet(0.024) final_result = result
2
20
0.302233
train_d317bed0ec7ec709
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.138, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.028, 0.805).threePointArc((0.295, 0.678), (0.431, 0.377)).lineTo(0.431, -0.256).threePointArc((0.478, -0.359), (0.588, -0.402)).lineTo(0.74, -0.402).threePointArc((0.826, -0.436), (0....
6
46
0.329561
train_520fc525293564a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-2.877, 0, -5.627), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.353).extrude(6.558) result = result.union(cq.Workplane(cq.Plane(origin=(-2.877, 0, -1.037), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(0.754).extrude(3.686)) result = ...
6
35
1.026788
train_63a92023b941d724
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.631), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.853, 0.346).lineTo(0.853, -0.327).lineTo(0.798, -0.327).lineTo(0.798, -0.38).lineTo(-0.788, -0.38).threePointArc((-0.834, -0.361), (-0.853, -0.315)).lineTo(-0.853, 0.332).threePointArc((-0...
5
35
1.229833
train_ffa053710590d69e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.038, -0.004, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.962, 0.505).lineTo(0.962, 0.421).lineTo(0, 0.336).lineTo(0.962, 0.336).lineTo(0.962, 0.252).lineTo(0, 0.252).lineTo(0.962, 0.168).lineTo(0, 0.084).lineTo(0.962, 0).lineTo(0, -0.08...
8
96
0.529138
train_c1bbf6bc19411cc1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.772, 0.5).threePointArc((0.932, 0.432), (1, 0.272)).lineTo(1, -0.225).threePointArc((0.918, -0.418), (0.725, -0.5)).lineTo(-0.91, -0.5).threePointArc((-0.973, -0.473), (-1, -0.41)).lineTo(...
15
120
0.533901
train_e04b1a1c7ea8b34d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.039, 0.007, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.793, -0.305).lineTo(0.918, -0.415).lineTo(0.859, -0.525).lineTo(0.714, -0.459).lineTo(0.502, -0.685).lineTo(0.548, -0.845).lineTo(0.438, -0.906).lineTo(0.353, -0.772).lineTo(0.052,...
3
49
0.483145
train_c79497b98b2f80e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, -0.013, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.795, 0.474).threePointArc((0.88, 0.457), (0.915, 0.417)).lineTo(0.915, 0.255).threePointArc((0.872, 0.206), (0.768, 0.185)).lineTo(-0.123, 0.185).threePointArc((-0.251, 0.16), (-0...
5
125
1.20158
train_8794dbf9d8b8c2ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.067, 0.163, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.853, 0.202).lineTo(0.932, 0.123).lineTo(0.932, -0.058).threePointArc((0.889, -0.16), (0.789, -0.202)).lineTo(-0.793, -0.202).lineTo(-0.793, -0.062).lineTo(-0.932, -0.062).lineTo(-...
9
59
0.382014
train_20e169361d0482b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.007, 1).lineTo(0.712, 0.702).lineTo(1, -0.028).lineTo(0.692, -0.722).lineTo(0.006, -1).lineTo(-0.71, -0.705).lineTo(-1, 0.024).lineTo(-0.693, 0.721).lineTo(-0.007, 1).close().extrude(0.18)...
14
92
1.180359
train_7f6181a4e8cedf4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.144, -1, 0.184), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.132, 0.349).threePointArc((0.166, 0.334), (0.181, 0.3)).lineTo(0.196, 0.244).threePointArc((0.196, 0.209), (0.167, 0.189)).lineTo(0.211, 0.133).lineTo(0.199, 0.078).lineTo(0.181, 0.02...
2
30
0.578043
train_54a996bd6d783fe1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.884).extrude(0.771) result = result.cut(cq.Workplane(cq.Plane(origin=(0.888, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.332, 0.693), (-1.082, 0.861), (-1.68...
8
67
2.376242
train_a523e69bdb4753bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, 0.193, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.861, 0.199).threePointArc((0.994, -0.066), (0.861, -0.199)).lineTo(0.728, -0.199).lineTo(-0.596, -0.199).threePointArc((-0.994, -0.066), (-0.596, 0.066)).lineTo(0.861, 0.199).clos...
4
29
0.362831
train_bda58232a7cb1edc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.198, -0.184, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.801, 0.616).lineTo(0.801, 0).lineTo(0.267, 0).lineTo(0.267, -0.616).lineTo(-0.267, -0.616).lineTo(-0.267, 0).lineTo(-0.801, 0).lineTo(-0.801, 0.616).lineTo(0.801, 0.616).close().e...
16
83
0.210863
train_7e2d0cde2891b60b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.2, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.478, 0.528).lineTo(0.478, -0.529).lineTo(0.472, -0.535).lineTo(-0.471, -0.535).lineTo(-0.478, -0.528).lineTo(-0.478, 0.527).lineTo(-0.47, 0.527).lineTo(-0.47, 0.535).lineTo(0.471, 0.535...
13
161
0.383441
train_b34c5a13fd070b52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.231, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.453, 0.425).lineTo(0.553, 0.326).lineTo(0.553, -0.332).threePointArc((0.525, -0.398), (0.459, -0.425)).lineTo(-0.469, -0.425).lineTo(-0.553, -0.341).lineTo(-0.553, 0.361).lineTo(-0.48...
11
71
0.3224
train_227c52c27e5060d6
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(0.458, 1).threePointArc((0.668, 0.912), (0.755, 0.704)).lineTo(0.755, -0.727).threePointArc((0.675, -0.919), (0.482, -1)).lineTo(-0.509, -1).threePointArc((-0.682, -0.927), (-0.755, -0.754))...
10
20
1.222277
train_bedb5bd4ce495968
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.074, -0.011, -0.007), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.69, 0.629).threePointArc((0.979, 0.339), (0.69, 0.05)).lineTo(-0.69, 0.05).threePointArc((-0.979, 0.339), (-0.69, 0.629)).lineTo(0.69, 0.629).close().extrude(0.845) result = resul...
6
74
0.872035
train_f4c6c32677a22df1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.522), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.631, 0.35).lineTo(0.767, 0.229).threePointArc((0.996, 0.171), (0.804, 0.025)).lineTo(0.684, -0.2).lineTo(0.75, -0.268).lineTo(0.761, -0.369).threePointArc((0.612, -0.488), (0.482, -0....
5
95
1.355596
train_ad79609ef86c7f61
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.111, -0.376), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.396).threePointArc((0.973, 0.37), (1, 0.307)).lineTo(1, -0.396).lineTo(-0.826, -0.396).lineTo(-1, -0.221).lineTo(-1, 0.229).threePointArc((-0.95, 0.347), (-0.833, 0.396)).lineTo(...
10
42
0.63182
train_fffcfc6f7b2cbc49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.576) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.503, 0.858), (-1.497, 0.858), (-2, 0), (-1.497, ...
14
190
1.269379
train_e6b1c087f93e9a7a
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.939, 0.225).workplane(offset=2).rect(0.655, 0.112).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.113, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).polarArray(0.309, 30, 360, 6).circle...
2
12
0.231199
train_9a5735d0389e4c9f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.001, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.801, 0.112).lineTo(0.782, 0.076).lineTo(0.764, 0.04).lineTo(0.746, 0.004).lineTo(0.728, -0.032).lineTo(0.711, -0.069).lineTo(0.694, -0.105).lineTo(0.677, -0.142).lineTo(0.66, -0.17...
7
426
0.864908
train_7bbd6aaf14648be4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, 0, -0.562), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.617, -0.082).threePointArc((-0.044, 0.999), (0.617, -0.065)).lineTo(0.595, -0.928).threePointArc((0.585, -0.96), (0.557, -0.979)).lineTo(0.504, -0.998).threePointArc((0.487, -0.999),...
7
104
0.66791
train_b6ae997d3bfa37fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.051, 0, -0.008), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.175, 0.484).threePointArc((0.365, 0.405), (0.443, 0.216)).lineTo(0.443, -0.216).threePointArc((0.365, -0.405), (0.175, -0.484)).lineTo(-0.175, -0.484).threePointArc((-0.365, -0.405), ...
24
43
0.163827
train_9083278806e04761
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.615, 1.842) result = result.edges().fillet(0.524) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.384).extrude(3.972, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
5
36
2.969465
train_1de55b6e7fa6f3f2
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, 1).threePointArc((0.704, 0.704), (1, 0)).threePointArc((0.704, -0.704), (0, -1)).threePointArc((-0.704, -0.704), (-1, 0)).threePointArc((-0.704, 0.704), (0, 1)).close().moveTo(-0.109, 0.557...
5
155
0.769186
train_1f5de1b5e4017447
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.898, 0.766, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.244, 1.459).threePointArc((0.348, 1.28), (0.419, 1.085)).threePointArc((0.525, 0.902), (0.434, 0.711)).threePointArc((0.241, 0.575), (0.244, 0.338)).threePointArc((-0.525, 0.898), (0.2...
1
6
1.542267
train_20d115106612ac91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.998).extrude(0.686) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.587).extrude(2.063, both=True)) result = result.union(cq.Wo...
12
43
1.462654
train_bf7c8e772607d7cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.449), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.897).lineTo(1, 0.276).lineTo(0.576, 0.276).lineTo(0.576, 0).lineTo(0.071, 0).lineTo(0.071, 0.897).lineTo(1, 0.897).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
6
31
2.006037
train_5e72dfa8955853bf
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.273, 0.962).lineTo(0.444, 0.896).threePointArc((0.466, 0.62), (0.6, 0.798)).lineTo(0.736, 0.674).threePointArc((0.658, 0.409), (0.847, 0.527)).lineTo(0.929, 0.361).threePointArc((0.761, 0.143), (0.979, 0.184)).lineTo(0.996, 0).threePointArc((0.761, ...
3
153
0.430079
train_993e295eba5ecd13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.723, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.102, 0.588).threePointArc((0.152, 0.567), (0.205, 0.562)).lineTo(0.304, 0.499).lineTo(0.42, -0.01).lineTo(0.351, -0.098).lineTo(0.273, -0.17).lineTo(0.131, -0.136).lineTo(0.078, -0.251).lin...
7
261
1.231606
train_a611835b3da3e701
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.2, -0.242, 0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.089, 0.758).lineTo(0.089, 0.223).lineTo(0.446, 0.58).lineTo(0.268, 0.134).lineTo(0.714, 0.045).lineTo(0.268, -0.134).lineTo(0.624, -0.491).lineTo(0.178, -0.312).lineTo(0.089, -0.758...
8
158
0.540211
train_034dea325630a4a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.072, -0.321), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.906, 0.218).threePointArc((0.972, 0.192), (1, 0.126)).lineTo(1, -0.007).threePointArc((0.937, -0.156), (0.789, -0.218)).lineTo(-0.822, -0.218).lineTo(-1, -0.041).lineTo(-1, 0.054).thre...
9
37
0.552089
train_d79d1e295d319463
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.387, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.261, 2).lineTo(0.261, 0.261).lineTo(0.774, 0.261).lineTo(0.774, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.261, 2).close().extrude(0.833, both=True) result = result.cut(cq.Workplane(cq.Plane(...
5
53
1.065451
train_97a53b793451e4b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.028, 0), normal=(0.452, 0.427, -0.783), xDir=(-0.687, 0.727, 0))).moveTo(0.448, 0.571).lineTo(0.448, -0.16).lineTo(0.448, -0.571).lineTo(-0.448, -0.571).lineTo(-0.448, -0.16).lineTo(-0.448, 0.571).lineTo(-0.367, 0.571).lineTo(-0.367, -0.16)....
7
129
0.540433
train_07e6a230035faa53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.016), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.887, -0.144).threePointArc((0.958, -0.169), (0.776, -0.27)).threePointArc((0.544, -0.286), (0.33, -0.199)).threePointArc((0.255, -0.125), (0.211, -0.029)).threePointArc((0.212, 0.079), (0...
4
44
1.52471
train_08e2a97b72596f39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.09, -0.174, 0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.414, 0.728).threePointArc((0.507, 0.689), (0.546, 0.596)).lineTo(0.546, 0.494).threePointArc((0.585, 0.403), (0.676, 0.364)).lineTo(0.803, 0.364).threePointArc((0.878, 0.332), (0.91...
7
81
0.332547
train_5edbc31be1a3eca5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.858, -0.159).lineTo(0.978, -0.208).lineTo(0.968, -0.251).lineTo(0.843, -0.226).lineTo(0.788, -0.376).lineTo(0.891, -0.454).lineTo(0.871, -0.494).lineTo(0.756, -0.437).lineTo(0.664, -0.568)...
6
113
0.537921
train_16a833e8cd555c9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.011, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.73, 2).lineTo(0.73, 1.242).lineTo(0.658, 1.242).lineTo(0.658, 1.105).lineTo(0.852, 1.105).lineTo(0.852, 0.976).lineTo(0.562, 0.976).lineTo(0.562, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.73,...
8
241
1.45677
train_e1f9c4c9964fbaeb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.064, 0.061, 0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.679, 0).threePointArc((0, -0.679), (-0.679, 0)).threePointArc((0, 0.679), (0.679, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.064, 0.061, 0.162), normal=(0, -1, 0), xDir=(1, 0...
3
12
0.71837
train_96da77f8717e88d2
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.686, 0.215).workplane(offset=2).rect(0.455, 0.183).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.164).extrude(0.642, both=Tr...
13
121
0.11583
train_9af0a8c09caa22fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.614, -0.019, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.098, 0.311).lineTo(0.098, 0.203).lineTo(0.293, 0.251).threePointArc((0, -0.311), (-0.293, 0.251)).threePointArc((-0.201, 0.299), (-0.098, 0.311)).close().twistExtrude(0.621, 72....
9
87
0.728525
train_170505142e56d10d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.067, 1).threePointArc((0.08, 0.943), (0.085, 0.829)).lineTo(0.085, 0.683).threePointArc((0.091, 0.553), (0.106, 0.498)).lineTo(0.129, 0.498).threePointArc((0.137, 0.467), (0.141, 0.395)).l...
3
64
0.104427
train_30683cbbbfb6c146
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.829, 0.025, 0.305), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.078, 0.759).lineTo(0.542, 0.436).lineTo(0.751, -0.137).lineTo(0.246, -0.464).lineTo(-0.362, -0.596).lineTo(-0.751, -0.035).lineTo(-0.42, 0.5).lineTo(0.078, 0.759).close().extrude(1...
14
199
2.577762
train_7bcb14e127838a9f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.2, 0.034, 0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, 0.464).lineTo(0.8, 0.278).lineTo(-0.533, 0.278).lineTo(-0.533, 0.093).lineTo(0.8, 0.093).lineTo(0.8, -0.464).lineTo(-0.8, -0.464).lineTo(-0.8, -0.278).lineTo(0.533, -0.278).lineTo...
21
219
1.075583
train_dd3a6c6750b7e661
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.773, 0.989).lineTo(0.773, -0.985).lineTo(0.758, -1).lineTo(-0.759, -1).lineTo(-0.773, -0.986).lineTo(-0.773, 0.985).lineTo(-0.758, 1).lineTo(0.762, 1).lineTo(0.773, 0.989).close().extrude(...
6
24
0.537283
train_9a6dbb88429a02fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.349, 0.522, -0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.239, 0.413).threePointArc((0.124, 0.461), (0.413, 0.239)).threePointArc((0.461, -0.124), (0.239, -0.413)).threePointArc((-0.124, -0.461), (-0.413, -0.239)).threePointArc((-0.461, ...
4
17
0.50861
train_32a9691c6d0da0e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0, -0.306), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.977, 0.611).lineTo(0.977, 0).lineTo(-0.977, 0).lineTo(-0.977, 0.611).lineTo(-0.777, 0.611).lineTo(-0.777, 0.199).lineTo(0.777, 0.199).lineTo(0.777, 0.611).lineTo(0.977, 0.611).close()...
7
62
0.650674
train_38ad4cd4a9088471
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.039, -0.008, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.664, 0).lineTo(0.645, -0.173).threePointArc((0.864, -0.233), (0.59, -0.337)).lineTo(0.501, -0.48).threePointArc((0.669, -0.646), (0.383, -0.596)).lineTo(0.244, -0.677).threePoint...
9
149
0.422152
train_a972c3948209a547
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.145, -0.012, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.854, -0.026).threePointArc((0.625, 0.889), (-0.289, -0.889)).lineTo(-0.854, -0.026).close().moveTo(0.854, 0.222).lineTo(-0.181, -0.418).threePointArc((0.571, 0.654), (0.854, 0.2...
7
43
0.112415
train_0bff9ffa32114395
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.356), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.711).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.711).lineTo(-0.72, 0.711).lineTo(-0.72, 0.28).lineTo(0.72, 0.28).lineTo(0.72, 0.711).lineTo(1, 0.711).close().extrude(0.322, both=True) res...
3
27
0.423598
train_b9a36e308cc1eb10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, -0.006, 0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.371, 0.205).lineTo(0.494, 0.082).lineTo(0.494, -0.103).lineTo(0.392, -0.205).lineTo(-0.34, -0.205).lineTo(-0.494, -0.052).lineTo(-0.494, 0.072).lineTo(-0.361, 0.205).lineTo(0.371, ...
16
260
0.39894
train_e9bc2399e4197431
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.366).lineTo(0.869, 0).lineTo(1, -0.366).lineTo(0.108, -0.366).lineTo(0.108, 0.366).lineTo(1, 0.366).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.341, 0.428, 0), norm...
19
125
1.194697
train_7537de863638bf33
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.02, 0.084).lineTo(0.054, 0.068).lineTo(0.078, 0.037).lineTo(0.086, 0).lineTo(0.078, -0.037).lineTo(0.054, -0.068).lineTo(0.02, -0.084).lineTo(-0.02, -0.084).lineTo(-0.054, -0.068).lineTo(-0.078, -0.037).lineTo(-0.086, 0).lineTo(-0.078, 0.037).lineTo...
4
27
0.05487
train_5624b5bd972c6ed7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.035, -0.043, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.965, 0.391).lineTo(0.965, -0.391).lineTo(-0.965, -0.391).lineTo(-0.965, 0.391).lineTo(-0.382, 0.391).lineTo(-0.382, -0.151).lineTo(0.382, -0.151).lineTo(0.382, 0.391).lineTo(0.965...
22
113
1.24503
train_92689a6c5006e8a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.155, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.359).lineTo(1, -0.186).threePointArc((0.948, -0.309), (0.827, -0.359)).lineTo(-0.805, -0.359).lineTo(-1, -0.164).lineTo(-1, 0.359).lineTo(1, 0.359).close().extrude(0.72) result = re...
14
112
1.024198
train_44520496f9c85a1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.387, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.15, 0.613).threePointArc((0.371, 0.522), (0.463, 0.301)).lineTo(0.463, -0.36).threePointArc((0.388, -0.539), (0.209, -0.613)).lineTo(-0.302, -0.613).lineTo(-0.302, -0.451).lineTo(-0.46...
9
43
0.477746
train_78e334ddbf2c45ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.355, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, 0.317).threePointArc((0.975, 0.3), (1, 0.261)).lineTo(1, -0.284).lineTo(0.959, -0.317).lineTo(-0.9, -0.317).threePointArc((-0.966, -0.291), (-1, -0.225)).lineTo(-1, 0.268).lineTo(...
17
150
1.094704
train_28d94fbbe060cfd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.217, -0.086, -0.582), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.29, 0.116).threePointArc((0.521, 0), (0.29, -0.116)).lineTo(-0.29, -0.116).threePointArc((-0.521, 0), (-0.29, 0.116)).lineTo(0.29, 0.116).close().workplane(off...
12
214
0.626433
train_ded43c415316d674
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.118, 0, 0.201), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.697, 0.75).lineTo(0.697, -0.75).threePointArc((-0.697, 0), (0.697, 0.75)).close().extrude(0.859) result = result.faces('>Z').shell(-0.067) result = result.cut(cq.Workplane(cq.Plane(or...
5
68
0.525518
train_04295ff7584759f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.231, 0, 0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.546, 0.6).threePointArc((-0.519, 0.589), (-0.507, 0.561)).lineTo(-0.507, -0.211).threePointArc((-0.469, -0.301), (-0.379, -0.339)).lineTo(0.715, -0.339).threePointArc((0.753, -0.355), ...
20
230
0.10217
train_6f5ed88fe2ec48b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.057, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.256, 0.636).threePointArc((0.697, 0.453), (0.876, 0.012)).lineTo(0.876, -0.012).threePointArc((0.697, -0.453), (0.256, -0.636)).lineTo(-0.463, -0.636).lineTo(-0.876, -0.219).lineTo(-0...
8
51
2.446098
train_1238abff4b565ce7
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.048, -0.605).threePointArc((-0.085, -0.601), (-0.12, -0.59)).lineTo(-0.406, -0.464).threePointArc((-0.428, -0.452), (-0.448, -0.438)).lineTo(-0.506, -0.386).threePointArc((-0.513, -0.377), (-...
2
32
1.161553
train_9a627d8314f2cdb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.568, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.3, 0.558).threePointArc((0.295, 0.386), (0.387, 0.24)).lineTo(0.376, -0.078).lineTo(0.3, -0.395).threePointArc((-0.387, 0.082), (0.3, 0.558)).close().moveTo(0.042, 0.255).threePointAr...
6
136
1.088893
train_483b60dcb08f465f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.604, 0.745, 0.543), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.333, 0.594).lineTo(0.61, 0.271).lineTo(0.201, 0.249).threePointArc((0.201, 0.129), (0.151, 0.093)).threePointArc((0.011, 0.15), (-0.097, 0.21)).threePointArc((-0.228, 0.098), (-0.3...
19
1,366
1.765169