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_a4234facf55f88c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.135).lineTo(1, 0.103).lineTo(-0.692, 0.103).lineTo(-0.692, -0.103).lineTo(1, -0.103).lineTo(1, -0.135).lineTo(-1, -0.135).lineTo(-1, 0.135).lineTo(1, 0.135).close().extrude(0.203, t...
7
85
0.020685
train_68e500cfee437f7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, -0.05, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.357).lineTo(0, 0.175).threePointArc((0.056, 0.141), (0.188, 0.127)).lineTo(0.344, 0.127).threePointArc((0.449, 0.115), (0.494, 0.088)).lineTo(0.494, 0.048).threePointArc((0.549...
21
239
0.970103
train_a91f6ee285e92b65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.328, 0.529, 0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.229, 0.47).lineTo(0.147, -0.47).lineTo(-0.147, -0.47).lineTo(-0.229, 0.47).lineTo(0.229, 0.47).close().extrude(0.693, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(...
6
29
0.758638
train_3b74fd118d627785
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.011, -0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.306, 1).threePointArc((0.441, 0.935), (0.498, 0.803)).lineTo(0.498, 0.624).threePointArc((0.536, 0.536), (0.624, 0.498)).lineTo(0.863, 0.498).threePointArc((0.954, 0.46), (1, 0.369)).l...
16
167
0.317331
train_3ebe08a323cff88f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.408, -0.332, -0.767), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.56, 0.498).lineTo(0.56, 0.299).lineTo(-0.373, 0.299).lineTo(-0.373, 0.1).lineTo(0.56, 0.1).lineTo(0.56, -0.498).lineTo(-0.56, -0.498).lineTo(-0.56, -0.299).lineTo(0.373, -0.299).l...
13
169
1.863444
train_d9530b26e519b9e8
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.129).lineTo(0.73, 0).lineTo(1, -0.129).lineTo(0.427, -0.129).lineTo(0.427, 0.129).lineTo(1, 0.129).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.275, -0.474, 0), norm...
14
69
0.21493
train_fe94c654325e3450
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.111, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.579, 0.173).lineTo(-0.579, -0.107).lineTo(1, -0.107).lineTo(1, -0.173).lineTo(-1, -0.173).lineTo(-1, 0.173).lineTo(-0.579, 0.173).close().extrude(0.26) result = result.cut(cq.Workplan...
6
36
0.063225
train_39ef9d3b4aca3d6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.621, 0.231).threePointArc((1, 0), (0.621, -0.231)).lineTo(-0.621, -0.231).threePointArc((-1, 0), (-0.621, 0.231)).lineTo(0.621, 0.231).close().extrude(0.335) result = result.edges(cq.selec...
2
7
0.303329
train_fec7e96a4b87dfe0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.459, -0.27, 0.641), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.387, 0.123).lineTo(0.365, 0.037).lineTo(0.506, -0.029).lineTo(0.452, -0.13).lineTo(0.319, -0.052).lineTo(0.26, -0.118).lineTo(0.354, -0.241).lineTo(0.26, -0.306).lineTo(0.178, -0.1...
4
106
1.568359
train_930b0cce3964ce9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.014, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.432).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.014, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.176).extrude(0.618, both=True)) result = result.cut(...
10
50
0.253578
train_76f178d21a899e94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.325, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.245).lineTo(1, 0.146).lineTo(1, -0.118).lineTo(0.873, -0.245).lineTo(-0.898, -0.245).lineTo(-1, -0.143).lineTo(-1, 0.141).lineTo(-0.898, 0.245).lineTo(0.901, 0.245).close().extr...
9
42
0.649651
train_ec1c8ad1b659e304
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.11, 0.743, 0.389), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.118, 0.257).lineTo(0.109, 0.077).lineTo(0.282, 0.026).lineTo(0.121, -0.056).lineTo(0.164, -0.231).lineTo(0.012, -0.133).lineTo(-0.118, -0.257).lineTo(-0.109, -0.077).lineTo(-0.282, ...
4
94
0.032255
train_8c266e5f5f56383f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.008, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.286).lineTo(0.286, -0.143).threePointArc((-0.143, -0.429), (-0.714, -0.429)).lineTo(-1, -0.286).threePointArc((-0.143, 0.429), (1, 0.286)).close().extrude(0.164, both=True) result =...
7
336
0.363192
train_5c2a4dd897629c80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.017, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.201).lineTo(0.919, 0).lineTo(1, -0.201).lineTo(0.319, -0.201).lineTo(0.319, 0.201).lineTo(1, 0.201).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = r...
17
99
0.556347
train_4f8368d2603e11d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.68, -0.43, -0.189), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.11, 0.367).lineTo(0.163, 0.346).lineTo(0.34, 0.137).lineTo(0.318, -0.135).lineTo(0.11, -0.313).lineTo(-0.163, -0.291).lineTo(-0.34, -0.082).lineTo(-0.318, 0.19).lineTo(-0.11, 0.36...
9
27
0.450078
train_a8cde8d83757e162
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.392, 2).extrude(0.307) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.097, -0.1).lineTo(0.097, -0.398).lineTo(-0.097, -0.398).c...
14
62
0.155487
train_d6fa8075c274bf9a
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.095).lineTo(0.88, 0).lineTo(1, -0.095).lineTo(0.301, -0.095).lineTo(0.301, 0.095).lineTo(1, 0.095).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0,...
8
50
0.349854
train_0ebac0431a547f53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.633), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.796, 1).lineTo(0.796, 0.597).lineTo(-0.398, 0.597).lineTo(-0.398, 0.199).lineTo(0.796, 0.199).lineTo(0.796, -1).lineTo(-0.796, -1).lineTo(-0.796, -0.597).lineTo(0.398, -0.597).lineTo(0.398...
17
153
2.37117
train_fc9e58efb745528b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.403, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.59).extrude(0.469) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.403, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.506).extrude(1.406, both=True)) result = result.un...
19
158
0.363092
train_1fc6eb904339a0f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.285).lineTo(1, 0.221).threePointArc((0.936, 0.178), (0.807, 0.16)).lineTo(0.664, 0.16).threePointArc((0.547, 0.144), (0.498, 0.107)).lineTo(0.498, 0.025).threePointArc((0.521, 0.007...
5
113
0.171575
train_e542f51c33a339ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.258, 0.967).threePointArc((0.402, 0.916), (0.537, 0.845)).threePointArc((0.659, 0.754), (0.766, 0.646)).threePointArc((0.855, 0.522), (0.924, 0.386)).threePointArc((0.972, 0.242), (0.998, 0...
7
162
0.820859
train_017e7f921f585603
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.032, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.176, 1).lineTo(0.777, 0.652).lineTo(1.016, 0).lineTo(0.777, -0.652).lineTo(0.176, -1).lineTo(-0.507, -0.878).lineTo(-0.953, -0.347).lineTo(-0.953, 0.347).lineTo(-0.507, 0.878).lineTo(...
3
13
0.823806
train_0ab665fff43c2f6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.547).extrude(1.489) result = result.union(cq.Workplane(cq.Plane(origin=(-0.033, 0, 0.043), normal=(0.182, 0, 0.983), xDir=(0.983, 0, -0.182))).circle(0.456).extrude(0.901)) result = r...
7
26
0.920618
train_14e697d4d2ffc5ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.365, 0.191).lineTo(0.365, 0.05).lineTo(0.506, 0.05).lineTo(0.506, -0.119).threePointArc((0.485, -0.17), (0.435, -0.191)).lineTo(-0.32, -0.191).threePointArc((-0.451, -0.136), (-0.506, -0.0...
10
53
1.014334
train_2412c888a95ce453
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.336, 0.896).threePointArc((0.531, 0.809), (0.701, 0.687)).lineTo(0.974, 0.218).threePointArc((1, -0.009), (0.963, -0.235)).lineTo(0.664, -0.696).threePointArc((0.486, -0.811), (0.286, -0.8...
4
26
0.494709
train_e71e9dcedfa29f19
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.068, -0.67, 0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.606, 1.067).threePointArc((0.809, 0.983), (0.893, 0.78)).lineTo(0.893, -0.644).threePointArc((0.809, -0.847), (0.606, -0.931)).lineTo(-0.466, -0.931).threePointArc((-0.669, -0.847)...
16
103
4.369205
train_798f5e696fa7d42b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.171, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.088, 0.323).threePointArc((0.088, 0.323), (0.176, 0.171)).threePointArc((0.088, 0.019), (-0.088, 0.019)).threePointArc((-0.176, 0.171), (-0.088, 0.323)).close().extrude(2) result = resul...
13
701
0.176686
train_16a6537aba61c097
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.034, -0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.314, 0.851).lineTo(1.204, -0.138).threePointArc((1, -0.658), (0.065, -0.862)).lineTo(-1.158, 0.054).threePointArc((-1.204, 0.111), (-1.201, 0.175)).lineTo(-1.045, 0.556).threePointArc...
2
30
1.120062
train_5d4f9ab6bb83c610
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.112, 0.034, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.113, 0.267).lineTo(1.113, 0.231).threePointArc((1.086, 0.217), (1.02, 0.211)).lineTo(-0.391, 0.211).threePointArc((-0.658, 0.188), (-0.771, 0.132)).lineTo(-0.771, -0.106).threePoi...
17
108
0.155693
train_589ec45a7ea2d4ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.996, 0.378, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.347, 0.378).threePointArc((0, 0.032), (-0.347, 0.378)).threePointArc((0, 0.725), (0.347, 0.378)).close().extrude(1.991) result = result.union(cq.Workplane(cq.Plane(origin=(1.158, 0.089...
2
4
0.751767
train_ba54397d897ce807
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.167, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.748, 0.541).lineTo(0.244, -0.268).lineTo(0.319, 0.207).lineTo(1.007, -0.17).lineTo(0.948, -0.541).lineTo(-1.007, 0.15).lineTo(-0.748, 0.541).close().extrude(0.363, taper=10.393) ...
6
140
0.174341
train_3cf4a5bc1c1723e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0.006, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.42, -0.122).threePointArc((-0.692, -0.302), (-0.42, 0.11)).lineTo(0.407, 0.11).threePointArc((0.692, 0.302), (0.407, -0.122)).lineTo(-0.42, -0.122).close().extrude(0.907, taper=-0.347...
15
124
1.069218
train_f1992d3f490ff34d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.09, 0.291, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.606, 0.808).lineTo(0.606, 0).lineTo(1.01, 0).lineTo(1.01, -0.404).lineTo(0.606, -0.404).lineTo(0.606, -0.808).lineTo(0.202, -0.808).lineTo(0.202, 0).lineTo(-0.202, 0).lineTo(-0.202...
16
79
0.64481
train_75e5757b7866abfc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.358, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.405, -0.543).lineTo(-0.915, -0.275).lineTo(-1, 0.117).lineTo(-0.622, 0.448).lineTo(0.043, 0.564).lineTo(0.684, 0.41).lineTo(1, 0.059).lineTo(0.844, -0.326).lineTo(0.289, -0.564).close().m...
2
225
0.972778
train_4771ffa6eaff4c63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.812, 1).threePointArc((0.836, 0.98), (0.848, 0.948)).lineTo(0.848, -1).lineTo(-0.832, -1).threePointArc((-0.844, -0.984), (-0.848, -0.972)).lineTo(-0.848, 1).lineTo(0.812, 1).close().extru...
9
45
3.405437
train_bb45b714a8c82127
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.51, 1).lineTo(0.875, 0.635).lineTo(0.875, -1).lineTo(-0.563, -1).threePointArc((-0.783, -0.908), (-0.875, -0.688)).lineTo(-0.875, 0.792).lineTo(-0.667, 1).lineTo(0.51, 1).close().extrude(0...
4
95
0.552478
train_4f1e3981091541ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.316, -0.565, 0.006), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.565, 0.706).threePointArc((0.522, 0.541), (0.526, 0.331)).threePointArc((0.478, 0.061), (0.293, -0.171)).threePointArc((0.007, -0.239), (-0.262, -0.12)).threePointArc((-0.437, 0.0...
6
90
0.821177
train_2ccb6185139ee061
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.18, -0.19), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.327, 0).threePointArc((0, -0.327), (-0.327, 0)).threePointArc((0, 0.327), (0.327, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.58, -0.18, -0.652), normal=(0, 0, 1), xDir=(1, 0, 0)...
10
138
0.922886
train_dcf55f5943a8f874
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.223), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.438, 0.446).lineTo(0.438, 0.194).lineTo(1, 0.194).lineTo(1, 0).lineTo(0.06, 0).lineTo(0.06, 0.446).lineTo(0.438, 0.446).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
2
12
0.748815
train_376966267cd0c400
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.425), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.006, 0.683).threePointArc((0.219, 0.595), (0.307, 0.382)).lineTo(0.307, -0.391).threePointArc((0.221, -0.597), (0.014, -0.683)).lineTo(-0.129, -0.683).threePointArc((-0.256, -0.632), (-0.3...
16
114
2.733168
train_9c457d08ea4b4570
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.269, -0.158, -0.379), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.024, 0.112).threePointArc((0.053, 0.072), (0.05, -0.011)).threePointArc((0.018, -0.087), (-0.024, -0.112)).threePointArc((-0.053, -0.072), (-0.05, 0.011)).threePointArc((-0.018,...
2
15
0.280852
train_f1e350d2723ca0ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.509, 0.919).lineTo(-0.509, -0.455).lineTo(1, -0.455).lineTo(1, -0.919).lineTo(-1, -0.919).lineTo(-1, 0.919).lineTo(-0.509, 0.919).close().extrude(1.378) result = result.cut(cq.Workplane(c...
10
8
2.20843
train_e625f7015990aea7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.723), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.175, 1).threePointArc((0.265, 0.962), (0.303, 0.87)).lineTo(0.303, -0.92).lineTo(0.223, -1).lineTo(-0.303, -1).lineTo(-0.303, 0.878).lineTo(-0.181, 1).lineTo(0.175, 1).close().extrude(0.35...
16
51
0.742784
train_161ec92ca4f0525a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.4) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.779).extrude(1.2, both=True)) result = result.union(cq.Work...
12
41
0.837415
train_b2fcee7d7d6ad1f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.093, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.815, 0.696).threePointArc((-0.582, -0.696), (-0.815, 0.696)).lineTo(0.815, 0.696).close().extrude(0.147, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.134, -0.111, 0.084),...
10
143
0.732226
train_a190d82038fb3e25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.428), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.166, 0.283).lineTo(0.332, 0.211).threePointArc((0.544, 0), (0.332, -0.212)).threePointArc((0.26, -0.224), (0.199, -0.183)).threePointArc((0.135, -0.141), (0.066, -0.176)).lineTo(-0.066, -0...
2
40
1.018258
train_5503f5c1a2680606
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.321, 0.963).lineTo(-0.321, 0.321).lineTo(0.963, 0.321).lineTo(0.963, -0.321).lineTo(0.321, -0.321).lineTo(0.321, -0.963).lineTo(-0.963, -0.963).lineTo(-0.963, 0.963).lineTo(-0.321, 0.963)...
20
53
0.526758
train_11b0a38299c45cfb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.189, -0.152, 0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.329, 0.8).threePointArc((0.381, 0.756), (0.403, 0.652)).lineTo(0.403, 0.145).threePointArc((0.425, 0.043), (0.476, 0)).lineTo(0.682, 0).threePointArc((0.769, -0.073), (0.806, -0.2...
15
235
1.313325
train_03532b2a4d755be0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.204, 0, -0.751), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.279, 1.502).lineTo(0.279, 0.279).lineTo(0.407, 0.279).lineTo(0.407, 0).lineTo(0, 0).lineTo(0, 1.502).lineTo(0.279, 1.502).close().extrude(1, both=True) result = result.cut(cq.Workpla...
7
50
0.512974
train_ad156ad568daad86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.357), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, -0.152).lineTo(0.969, -0.21).lineTo(0.939, -0.322).lineTo(0.81, -0.295).lineTo(0.747, -0.433).lineTo(0.838, -0.53).lineTo(0.775, -0.624).lineTo(0.661, -0.554).lineTo(0.553, -0.662).li...
11
137
0.923615
train_9d7b4ccbc0ea29ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1.454, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.076, 1.945).lineTo(2.076, -1.945).lineTo(-2.076, -1.945).lineTo(-2.076, 1.945).lineTo(-1.094, 1.945).lineTo(-1.094, -0.963).lineTo(1.094, -0.963).lineTo(1.094, 1.945).lineTo(2.076, 1.945).c...
4
50
1.288218
train_a4ea5612923a5cbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.161, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.683).extrude(0.314) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.161, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.605).extrude(0.941, both=True)) result = result.u...
16
179
0.371676
train_de5d26215f006a22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.957, 0.605, 0.617), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.269, 0.466).threePointArc((0.269, 0.466), (0.538, 0)).threePointArc((0.269, -0.466), (-0.269, -0.466)).threePointArc((-0.538, 0), (-0.269, 0.466)).close().sweep(cq.Workplane(cq.Pla...
10
30
0.725537
train_9339739d9d7bafeb
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.333, 0.963).lineTo(-0.333, 0.321).lineTo(1, 0.321).lineTo(1, -0.321).lineTo(0.333, -0.321).lineTo(0.333, -0.963).lineTo(-1, -0.963).lineTo(-1, 0.963).lineTo(-0.333, 0.963).close().extrude(0.087, both=True) result = result.cut(cq.Workplane(cq.Plane(...
13
629
0.337294
train_66db10dd340f27fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.962), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.923) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.962), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.5, 0.868), (-1.5, 0.868), (-2, 0), (-1.5, -0.868...
4
27
4.416536
train_163f6342d66da44c
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.376, 0.394).lineTo(0.376, 0.131).lineTo(0, 0.131).lineTo(0, -0.394).lineTo(-0.376, -0.394).lineTo(-0.376, 0.394).lineTo(0.376, 0.394).close().extrude(2) result = result.cut(cq.Workplane(cq.Pla...
19
16
0.277595
train_ef0274fc6b78ed11
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(1, 0.179).lineTo(0.661, -0.745).lineTo(-0.339, -0.924).lineTo(-1, -0.179).lineTo(-0.661, 0.745).lineTo(0.339, 0.924).close().moveTo(0.073, 0.145).lineTo(0.263, 0.145).lineTo(0.263, 0.02).lin...
9
68
0.788546
train_c02706ea0c8df9f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.489, 0, -0.886), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.511).extrude(0.576) result = result.union(cq.Workplane(cq.Plane(origin=(-0.489, 0, -0.482), normal=(0.76, 0, 0.65), xDir=(0.65, 0, -0.76))).circle(0.462).extrude(1.563)) result = resu...
7
24
0.496874
train_e38dfd418ce0656b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, -0.1).lineTo(0.989, -0.144).lineTo(0.98, -0.205).lineTo(0.794, -0.175).lineTo(0.767, -0.271).lineTo(0.935, -0.354).lineTo(0.912, -0.41).lineTo(0.739, -0.341).lineTo(0.69, -0.43)....
7
304
0.295621
train_a829c6dcaec72d38
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.848, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.067, 0.78).threePointArc((0.057, 0.711), (0.153, 0.65)).threePointArc((0.28, 0.638), (0.435, 0.595)).threePointArc((0.508, 0.465), (0.437, 0.316)).threePointArc((0.316, 0.223), (0.263, 0....
8
440
1.274733
train_e70bfaa1a9dbd013
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.859, 0.923).lineTo(1, 0.782).lineTo(1, -0.85).lineTo(0.927, -0.923).lineTo(-0.894, -0.923).lineTo(-1, -0.818).lineTo(-1, 0.86).lineTo(-0.937, 0.923).lineTo(0.859, 0.923).close().extrude(0....
5
32
0.193935
train_bcb1bbecad4c2500
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.096, 0.018, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.841).threePointArc((0.877, 0.826), (0.896, 0.79)).lineTo(0.896, -0.498).threePointArc((0.764, -0.739), (0.451, -0.841)).lineTo(-0.59, -0.841).threePointArc((-0.805, -0.771),...
7
108
0.430542
train_24c3430df87daf82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.377, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, -0.237).threePointArc((0.458, -0.244), (0.418, -0.203)).lineTo(0.3, 0.044).threePointArc((0.459, 0.312), (0.497, 0.234)).lineTo(0.865, -0.01).threePointArc((0.896, -0.049), (0.885...
15
191
0.363995
train_9e3e7f69f37b9405
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.156, 0.288, 0.305), normal=(0.234, -0.774, -0.589), xDir=(0.957, 0.289, 0))).moveTo(0.855, 0.553).lineTo(0.855, -0.553).lineTo(0.214, -0.553).lineTo(0.214, -0.151).lineTo(-0.855, -0.151).lineTo(-0.855, 0.151).lineTo(0.214, 0.151).lineTo(0.214, ...
1
10
1.070992
train_89ef3179489d2dd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.017, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.02, 0.56).lineTo(0.015, 0.464).lineTo(0.304, 0.349).lineTo(0.429, 0.429).lineTo(0.688, 0.294).lineTo(0.55, 0.217).lineTo(0.669, 0.098).lineTo(0.876, 0.105).lineTo(0.909, 0.048).lineTo(0.9...
10
287
1.782938
train_2aba2a2cd5f6b42c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.289, 0, -0.527), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.577, 1).lineTo(1.154, 0).lineTo(-0.577, -1).lineTo(-0.577, 1).close().extrude(1.054) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.445, 0.69, 0), normal=(1, 0, 0), xDir=(0, 0,...
5
23
1.114553
train_563a62dd5162975f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.591, 0, 0.128), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.503).threePointArc((0.355, 0.355), (0.503, 0)).threePointArc((0.355, -0.355), (0, -0.503)).threePointArc((-0.355, -0.355), (-0.503, 0)).threePointArc((-0.355, 0.355), (0, 0.503)).cl...
6
20
0.430213
train_0fe51f65f54dd0eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.367, -0.177, -0.224), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.34, 0.215).threePointArc((0.482, 0.127), (0.52, -0.036)).threePointArc((0.432, -0.177), (0.269, -0.215)).threePointArc((0.127, -0.127), (0.089, 0.036)).threePointArc((0.177, 0.17...
11
312
0.931568
train_9f205cb09992228f
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.312, 0.349).workplane(offset=2).rect(0.832, 0.105).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(1.061, 0, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.118, 0.673).lineTo(0.52...
4
13
0.47868
train_979d5f40c7e43c75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.349, -0.606), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.02, 0.766).threePointArc((0.657, 0.262), (0.759, 0.126)).threePointArc((0.819, -0.142), (0.752, -0.591)).threePointArc((0.613, -0.751), (0.355, -0.803)).threePointArc((-0.504, -0...
14
87
2.200006
train_d7290d875778fbf2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, -0.04, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.114, 0.196).threePointArc((0.156, 0.184), (0.174, 0.157)).lineTo(0.174, 0.069).threePointArc((0.155, 0.04), (0.111, 0.028)).lineTo(-0.063, 0.028).threePointArc((-0.08, 0.023), (-0.088,...
12
281
0.146744
train_0645f9b696442b6b
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(-0.609, 0.19).lineTo(-0.609, -0.132).lineTo(0.95, -0.132).lineTo(0.95, -0.19).lineTo(-0.95, -0.19).lineTo(-0.95, 0.19).lineTo(-0.609, 0.19).close().extrude(0.286, taper=-10.251) result = res...
4
49
0.095826
train_84a8114bdaf1e79c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.702).lineTo(1, -0.693).threePointArc((0.993, -0.706), (0.982, -0.709)).lineTo(-0.977, -0.709).threePointArc((-0.992, -0.704), (-1, -0.689)).lineTo(-1, 0.698).threePointArc((-0.995, 0.70...
11
110
0.916358
train_8ed666373e91a7af
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(0.815, -0.124).lineTo(0.984, -0.177).lineTo(0.969, -0.247).lineTo(0.797, -0.213).lineTo(0.756, -0.33).lineTo(0.905, -0.426).lineTo(0.872, -0.488).lineTo(0.714, -0.412).lineTo(0.643, -0.515)....
3
113
0.784483
train_965aa2623c44a6ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.073, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.932, 0.249).lineTo(0.932, -0.124).lineTo(0.932, -0.249).lineTo(-0.06, -0.249).lineTo(-0.06, -0.124).lineTo(-0.06, 0.249).lineTo(0.003, 0.249).lineTo(0.003, -0.124).lineTo(0.065, -0.124).li...
4
98
1.366405
train_4c38c293e9db1f8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 0.157, 0.35), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.6, -0.592).lineTo(0.626, -0.451).lineTo(0.535, -0.394).lineTo(0.341, -0.675).threePointArc((-0.357, -0.846), (-0.773, -0.218)).threePointArc((-0.349, 0.627), (0.338, 0.502)).lineTo(0...
17
229
0.53618
train_e475ce3abcd87cb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.143, -0.228, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.778, 0.772).lineTo(0.778, -0.772).lineTo(-0.778, -0.772).lineTo(-0.778, 0.772).lineTo(-0.345, 0.772).lineTo(-0.345, -0.335).lineTo(0.345, -0.335).lineTo(0.345, 0.772).lineTo(0.77...
39
154
1.892123
train_ebc7de2aa5a4fb84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.047, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.188, 0.326).lineTo(0.337, 0.146).lineTo(0.264, -0.061).lineTo(0.183, -0.266).lineTo(-0.051, -0.326).lineTo(-0.198, -0.144).lineTo(-0.337, 0.035).lineTo(-0.242, 0.251).lineTo(-0.034, 0.32...
5
97
0.412601
train_494029675d827834
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.654, 2).extrude(0.254) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.608, 0.775).lineTo(0.608, -0.775).lineTo(-0.608, -0.775)....
9
24
0.274109
train_75cf8f077a570086
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, -0.001, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.759, 0.692).threePointArc((0.969, 0.634), (1.058, 0.497)).lineTo(1.058, 0.064).threePointArc((1.029, 0.019), (0.96, 0)).lineTo(0.618, 0).threePointArc((0.555, -0.017), (0.529, -0...
19
188
0.628561
train_d873b6e5277bb267
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.252, 0, -0.972), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.19, 1.945).lineTo(0.19, 0.19).lineTo(0.505, 0.19).lineTo(0.505, 0).lineTo(0, 0).lineTo(0, 1.945).lineTo(0.19, 1.945).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq...
9
89
0.770305
train_eb409625a47f79d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.252), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.504).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.504).lineTo(-0.872, 0.504).lineTo(-0.872, 0.128).lineTo(0.872, 0.128).lineTo(0.872, 0.504).lineTo(1, 0.504).close().extrude(0.461, both=Tru...
4
17
0.35029
train_3b7709227f0a9cc5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.012, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.006, 0.923).lineTo(0.84, 0.642).lineTo(1, 0.012).lineTo(0.818, -0.586).lineTo(0.047, -0.923).lineTo(-0.617, -0.51).lineTo(-1, -0.014).lineTo(-0.876, 0.666).close().moveTo(-0.109, 0.20...
28
404
0.949907
train_40bd9af6799a2a5c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.422).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.422).lineTo(-0.775, 0.422).lineTo(-0.775, 0.22).lineTo(0.775, 0.22).lineTo(0.775, 0.422).lineTo(1, 0.422).close().extrude(0.438, both=True)...
6
141
0.380726
train_51632bc1de4c0706
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.006, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.682, 0.703).threePointArc((0.736, 0.68), (0.76, 0.625)).lineTo(0.76, 0.329).threePointArc((0.739, 0.28), (0.69, 0.259)).lineTo(0.288, 0.259).threePointArc((0.241, 0.239), (0.222, ...
8
195
0.523177
train_5dded72f12967386
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.902, 0.482).threePointArc((0.966, 0.456), (1, 0.393)).lineTo(1, -0.409).threePointArc((0.97, -0.461), (0.917, -0.482)).lineTo(-0.853, -0.482).threePointArc((-0.951, -0.442), (-1, -0.344))....
15
107
0.488207
train_6fc2ce803d152895
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.792, 0.976).threePointArc((0.883, 0.945), (0.922, 0.873)).lineTo(0.922, -0.824).threePointArc((0.865, -0.931), (0.731, -0.976)).lineTo(0.41, -0.976).threePointArc((0.338, -0.951), (0.308, ...
8
73
0.357057
train_20f94d2fd89b143a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.011, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.063, 1.978).extrude(0.211) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.011, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.412, -0.119).lineTo(0.412, -0.869).lineTo(-...
10
76
0.16749
train_0fe5235afe55fde5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.483), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.88).lineTo(1, 1.085).lineTo(0.325, 1.085).lineTo(0.325, 0.414).lineTo(0.259, 0.414).lineTo(0.259, 0.207).lineTo(0.251, 0.207).lineTo(0.251, 0).lineTo(0, 0).lineTo(0, 1.88).lineTo(1, 1....
5
58
1.666142
train_b59cd151d24bbbf6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.424).extrude(0.244) result = result.cut(cq.Workplane(cq.Plane(origin=(0.424, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.273), (-0.351, 0.417), (-0.636, 0.367), (...
6
48
1.069792
train_5ddb7f73a0ac9d0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.364, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.493, 0.534).threePointArc((-0.418, 0.635), (0.04, 0.472)).lineTo(0.036, 0.28).threePointArc((0.047, 0.21), (0.082, 0.158)).lineTo(0.675, -0.384).threePointArc((0.714, -0.523), (0...
4
92
0.502425
train_69f2719888eb8f42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.598).lineTo(1, 0.532).lineTo(1, -0.52).lineTo(0.912, -0.598).lineTo(-0.936, -0.598).lineTo(-1, -0.542).lineTo(-1, 0.529).lineTo(-0.922, 0.598).lineTo(0.926, 0.598).close().extrude(0...
19
126
0.298902
train_b381e08497d662d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.244, 0.159, -0.214), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.211, 0.429).lineTo(0.211, 0.211).lineTo(0.488, 0.211).lineTo(0.488, 0).lineTo(0, 0).lineTo(0, 0.429).lineTo(0.211, 0.429).close().extrude(0.84, both=True) result = result.cut(cq....
6
27
0.267961
train_5354ab9dada7efaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.16, 0.382, -0.485), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.063, 0.006).threePointArc((0.071, 0.006), (0.074, 0)).threePointArc((0.071, -0.006), (0.063, -0.006)).threePointArc((0.059, 0), (0.063, 0.006)).close().sweep(cq.Workplane(cq.Plane(...
9
60
0.155719
train_cc8ac56ae6e6074d
import cadquery as cq import math result = cq.Workplane('XY').circle(0.515).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.169).extrude(0.262, both=True)) result = result.cut(cq.Workplane('XY').circle(0.206).extrude(3, both=True)) result =...
8
75
0.920123
train_897b673cbe671709
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.183, 0.022, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.409, 0.795).threePointArc((0.466, 0.766), (0.49, 0.696)).lineTo(0.49, 0.477).threePointArc((0.509, 0.421), (0.555, 0.398)).lineTo(0.749, 0.398).threePointArc((0.796, 0.374), (0.81...
11
145
0.302282
train_0da403ad210bf570
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.183, 0, -0.293), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.26, 0.785).lineTo(0.26, 0.108).threePointArc((-0.26, 0.447), (0.26, 0.785)).close().revolve(angleDegrees=270, axisStart=(0.342, -0.24), axisEnd=(0.342, 0.24)) result = result.cut(cq.Wo...
16
489
0.896247
train_c158068d294f858a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0, -0.611), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.694, 1).threePointArc((0.756, 0.969), (0.781, 0.916)).lineTo(0.781, -0.57).threePointArc((0.749, -0.636), (0.672, -0.663)).lineTo(0.503, -0.663).threePointArc((0.424, -0.69), (0.392, ...
5
81
0.78645
train_3f149df519b495c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.076), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.428, 0.453).lineTo(0.428, 0.289).lineTo(1, 0.289).lineTo(1, 0).lineTo(0.336, 0).lineTo(0.336, 0.453).lineTo(0.428, 0.453).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
5
22
0.838138
train_3ff3e9b7c3f6ea08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.336), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.732, 0.829).threePointArc((0.783, 0.744), (0.994, -0.171)).threePointArc((0.965, -0.269), (0.884, -0.347)).threePointArc((-0.573, -0.87), (-0.693, -0.861)).lineTo(-0.731, -0.834).three...
2
24
1.711257