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_5bfd1175128519ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.369, 0.1, 0.699), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.161, -0.031).lineTo(0.158, -0.04).lineTo(0.153, -0.048).lineTo(0.146, -0.056).lineTo(0.138, -0.063).lineTo(0.129, -0.069).lineTo(0.118, -0.074).lineTo(0.107, -0.077).lineTo(0.094, -0....
13
460
0.46386
train_b36e9a27bb582fde
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.092, -0.041, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.146, 0.147).lineTo(0.146, 0.021).lineTo(-0.088, 0.021).lineTo(-0.088, -0.021).lineTo(0.146, -0.021).lineTo(0.146, -0.147).lineTo(-0.146, -0.147).lineTo(-0.146, -0.105).lineTo(0.088, -...
11
256
0.170878
train_ca3e3a9992cd5501
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.376, 0.116, -0.767), normal=(0.432, -0.183, 0.883), xDir=(0.39, 0.921, 0))).moveTo(0.132, 0.275).threePointArc((0.293, 0.211), (0.375, 0.09)).threePointArc((0.357, -0.055), (0.243, -0.185)).threePointArc((0.064, -0.266), (-0.132, -0.275)).three...
8
91
0.520957
train_4f77a7b1b228c23d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.795, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.476, 0.276).threePointArc((0, -0.2), (-0.476, 0.276)).threePointArc((0, 0.753), (0.476, 0.276)).close().revolve(angleDegrees=270, axisStart=(-0.571, 0.795), axisEnd=(0.571, 0.795)) result...
4
93
1.701158
train_3d5f4a21a58c88fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.766, 0.867).threePointArc((0.923, 0.826), (1, 0.72)).lineTo(1, 0.555).threePointArc((0.937, 0.471), (0.812, 0.436)).lineTo(0.444, 0.436).threePointArc((0.365, 0.414), (0.332, 0.361)).l...
7
46
0.485595
train_2d8e0371c5cf2bf0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.732, 0.434).lineTo(1, 0.164).lineTo(1, -0.333).lineTo(0.9, -0.434).lineTo(-0.861, -0.434).lineTo(-1, -0.294).lineTo(-1, 0.338).lineTo(-0.904, 0.434).lineTo(0.732, 0.434).close().extrude(0....
8
52
0.271234
train_8abe0dac7dca5365
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.098, -0.252, -0.153), normal=(-0.135, -0.517, 0.845), xDir=(0.968, -0.252, 0))).moveTo(0.227, 0.713).lineTo(0.236, 0.557).lineTo(0.323, 0.536).lineTo(0.355, 0.274).threePointArc((0.471, 0.026), (0.398, -0.627)).threePointArc((-0.069, -0.82), (-...
6
67
0.385456
train_2cc66785efe3effc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, -0.221, -0.152), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.028, 0.318).lineTo(0.121, 0.305).lineTo(0.079, 0.016).lineTo(-0.013, 0.029).lineTo(-0.001, 0.113).lineTo(-0.121, 0.13).lineTo(-0.103, 0.252).lineTo(0.016, 0.235).lineTo(0.028, 0....
3
46
0.141068
train_27683831bc09e93e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.626, -0.001), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.11, 0.374).lineTo(0.222, 0.243).lineTo(0.079, 0.122).lineTo(0.365, -0.212).lineTo(0.175, -0.374).lineTo(-0.11, -0.04).lineTo(-0.136, -0.068).threePointArc((-0.159, -0.063), (-0.178, -...
4
36
0.602031
train_56862f17f363bd78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.865, 0.849).lineTo(0.865, 0).lineTo(-0.289, 0).lineTo(-0.289, -0.849).lineTo(-0.865, -0.849).lineTo(-0.865, 0.849).lineTo(0.865, 0.849).close().extrude(0.727, taper=-10.445) result = resul...
5
32
1.572453
train_290fa0239f1bb9ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.199, -0.565, 0.065), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.344, 1.248).threePointArc((0.344, 1.248), (0.687, 0.652)).threePointArc((0.344, 0.057), (-0.344, 0.057)).threePointArc((-0.687, 0.652), (-0.344, 1.248)).close().workplane(offset...
10
28
1.063751
train_69ab0d224d32df48
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.084, -0.147, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.132, 0.781).threePointArc((-0.039, 0.754), (0, 0.69)).lineTo(0, 0.565).threePointArc((0.042, 0.497), (0.143, 0.468)).lineTo(0.708, 0.468).threePointArc((0.853, 0.427), (0.915, 0...
34
311
0.675898
train_12c9af106f88c877
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.178, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.262).lineTo(1, -0.262).lineTo(-1, -0.262).lineTo(-1, 0.262).lineTo(1, 0.262).close().extrude(0.6) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.084, -0.072), normal=(0, -1...
7
58
0.557783
train_d163799fe08cde87
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.41), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.623).lineTo(1, -0.27).lineTo(0.646, -0.623).lineTo(-0.802, -0.623).threePointArc((-0.941, -0.566), (-1, -0.426)).lineTo(-1, 0.279).threePointArc((-0.897, 0.523), (-0.655, 0.623)).lineTo(...
11
31
0.621934
train_d0647d46ede0f7c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.117, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.399, 0.989).threePointArc((-0.21, 0.969), (-0.044, 0.927)).threePointArc((0.108, 0.894), (0.264, 0.877)).threePointArc((0.436, 0.851), (0.609, 0.787)).threePointArc((0.753, 0.666), (0.83...
9
43
4.054905
train_3e372bfe418035cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.04, 2).extrude(0.272) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.403, -0.451).lineTo(0.403, -0.883).lineTo(-0.403, -0.883)....
8
28
0.270521
train_9ae81c9e454a3e6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.226, -0.615, 0.107), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.345, 0.322).threePointArc((0.4, 0.237), (0.507, 0.1)).threePointArc((0.552, -0.066), (0.472, -0.179)).threePointArc((0.311, -0.188), (0.158, -0.129)).threePointArc((0.054, -0.095)...
10
443
1.290313
train_87702beb5db8c287
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.05, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.008, 1).threePointArc((0.778, 0.584), (0.863, 0.493)).threePointArc((0.889, 0.388), (0.868, -0.484)).lineTo(0.83, -0.538).threePointArc((0.101, -0.971), (-0.004, -1)).threePointArc((-0....
4
44
0.018656
train_64baa7bd548ca324
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, 0, -0.912), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.073, 0.322).threePointArc((0.164, 0.481), (0.347, 0.504)).lineTo(0.916, 0.39).threePointArc((0.998, 0.343), (1.01, 0.248)).lineTo(0.896, -0.321).threePointArc((0.805, -0.481), (0.622,...
6
48
3.119796
train_50c38c37200af525
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.684, 0.449).lineTo(0.684, 0.138).lineTo(1, 0.138).lineTo(1, -0.159).lineTo(0.706, -0.449).lineTo(-0.774, -0.449).threePointArc((-0.927, -0.384), (-1, -0.229)).lineTo(-1, 0.069).lineTo(-0.61...
6
38
0.535708
train_6e82eef12beee85f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, -0.037, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.373, 0.921).threePointArc((0.808, 0.961), (0.858, 0.565)).lineTo(0.93, -0.79).threePointArc((0.736, -0.961), (0.485, -0.846)).lineTo(0.429, 0.005).threePointArc((0.387, 0.097), (0...
11
29
0.322504
train_bb2acd374ee434a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.247, 1.819).lineTo(1.804, 1.737).lineTo(1.909, 0.199).threePointArc((1.886, -0.642), (1.895, -1.484)).threePointArc((0.948, -1.667), (-0.006, -1.819)).threePointArc((-0.665, -1.665), (-1.08...
9
35
0.866639
train_599597fe0c1487e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.6, 0.94).lineTo(-0.6, 0.564).lineTo(-0.2, 0.564).lineTo(-0.2, 0.188).lineTo(0.6, 0.188).lineTo(0.6, 0.564).lineTo(1, 0.564).lineTo(1, -0.94).lineTo(0.2, -0.94).lineTo(0.2, -0.564).lineTo(...
10
29
0.757919
train_35ee540315ab2416
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.202).lineTo(0.765, 0).lineTo(1, -0.202).lineTo(0.368, -0.202).lineTo(0.368, 0.202).lineTo(1, 0.202).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.389, 0.389, 0), norm...
10
44
0.459196
train_644a51ba0de215e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.559, 0.262, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.553).threePointArc((0.704, 1.261), (1, 0.561)).threePointArc((0.704, -0.142), (0, -0.434)).threePointArc((-0.704, -0.142), (-1, 0.561)).threePointArc((-0.704, 1.261), (0, 1.553)).cl...
4
10
0.520269
train_5d7935f3b10a874e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, -0.002, -0.308), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.309, 0.616).lineTo(0.309, 0.309).lineTo(0.334, 0.309).lineTo(0.334, 0).lineTo(0, 0).lineTo(0, 0.616).lineTo(0.309, 0.616).close().extrude(1, both=True) result = result.cut(cq.Wo...
7
34
0.078098
train_47aa193be6c11c4b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.425), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.849).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.849).lineTo(-0.776, 0.849).lineTo(-0.776, 0.219).lineTo(0.776, 0.219).lineTo(0.776, 0.849).lineTo(1, 0.849).close().extrude(0.24, both=True...
12
57
0.276268
train_08fee38ef0d70e6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.378).lineTo(0.893, 0.271).lineTo(1, 0.271).lineTo(1, -0.31).lineTo(0.932, -0.31).lineTo(0.932, -0.378).lineTo(-0.909, -0.378).lineTo(-0.909, -0.286).lineTo(-1, -0.286).lineTo(-1, 0.2...
18
238
0.227089
train_f38d7b135bbd84cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.115, -0.395), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.552).lineTo(0.981, 0.302).threePointArc((0.998, 0.22), (0.939, 0.158)).lineTo(-0.434, -0.571).threePointArc((-0.548, -0.52), (-0.594, -0.411)).lineTo(-0.767, -0.258).three...
4
34
0.478097
train_283f9561dc9503d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.367).lineTo(1, -0.349).threePointArc((0.977, -0.385), (0.941, -0.4)).lineTo(-0.93, -0.4).threePointArc((-0.974, -0.382), (-1, -0.338)).lineTo(-1, 0.369).threePointArc((-0.983, 0.391), (...
13
145
0.166645
train_dd0631c25544a47e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.136, -0.133, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.863, 0.15).threePointArc((0.863, 0.818), (-0.17, -0.818)).lineTo(-0.863, 0.15).close().moveTo(0.553, -0.151).lineTo(-0.052, -0.385).threePointArc((-0.084, 0.736), (0.553, -0.151...
4
19
1.291394
train_7fcfb05e9746b15d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.989, -0.711, -0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.335, 0.164).threePointArc((0.388, 0.09), (0.426, -0.002)).threePointArc((0.419, -0.095), (0.357, -0.161)).threePointArc((0.257, -0.178), (0.152, -0.152)).threePointArc((0.07, -0...
5
114
1.704316
train_bcd533868aa77eb0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.864, 0.907).threePointArc((0.954, 0.871), (1, 0.79)).lineTo(1, -0.695).threePointArc((0.924, -0.843), (0.768, -0.907)).lineTo(-0.502, -0.907).threePointArc((-0.845, -0.773), (-1, -0.442)).l...
4
45
0.946377
train_bb1c57f3a1baeada
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.982, 1.062).lineTo(0.982, 0.152).lineTo(-0.657, 0.152).lineTo(-0.657, -0.152).lineTo(0.982, -0.152).lineTo(0.982, -1.062).lineTo(-0.982, -1.062).lineTo(-0.982, -0.762).lineTo(0.657, -0.762).lineTo(0.657, -0.457).lineTo(-0.982, -0.457).lineTo(-0.982,...
21
212
1.932706
train_506bc7368bd6e326
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.114, -0.336, -0.527), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.121, 0.273).lineTo(0.121, -0.273).threePointArc((0, -0.394), (-0.121, -0.273)).lineTo(-0.121, 0.273).threePointArc((0, 0.394), (0.121, 0.273)).close().revolve(angleDegrees=90, ax...
13
188
0.568952
train_4d8123610223ca4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.422).lineTo(1, -0.382).lineTo(0.96, -0.422).lineTo(-0.962, -0.422).lineTo(-1, -0.384).lineTo(-1, 0.39).threePointArc((-0.99, 0.413), (-0.968, 0.422)).lineTo(1, 0.422).close().extrude(0....
7
17
0.252972
train_78d93f17c97dba72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.01, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.928, 0.204).lineTo(0.961, 0.045).threePointArc((0.876, -0.059), (0.953, -0.163)).lineTo(0.09, -0.232).threePointArc((-0.23, -0.177), (-0.531, -0.116)).threePointArc((-0.839, -0.059), (-...
5
22
0.076865
train_488e54eec7c30a7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.352, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.483, 0.646).threePointArc((0.78, 0.298), (0.659, 0.136)).lineTo(0.506, -0.441).lineTo(0.056, -0.671).threePointArc((-0.483, -0.646), (-0.362, -0.484)).lineTo(-0.748, 0.118).lineTo(...
17
270
0.393833
train_f6d5c24836076390
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.244, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.472, 0.756).lineTo(0.539, 0.688).lineTo(0.539, -0.633).threePointArc((0.504, -0.719), (0.416, -0.756)).lineTo(-0.485, -0.756).lineTo(-0.485, -0.702).lineTo(-0.539, -0.702).lineTo(-0.5...
10
115
0.378757
train_1e2fdea88980acab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.199, 0.165), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.025, 0.8).lineTo(0.547, 0.583).lineTo(0.8, 0.025).lineTo(0.583, -0.547).lineTo(0.025, -0.8).lineTo(-0.547, -0.583).lineTo(-0.8, -0.025).lineTo(-0.583, 0.547).lineTo(-0.025, 0.8).close...
14
202
0.442097
train_7ea5d37c7c974668
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.46), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.181, 1).lineTo(0.45, 0.726).lineTo(0.45, -0.778).lineTo(0.233, -1).lineTo(-0.19, -1).lineTo(-0.45, -0.736).lineTo(-0.45, 0.684).lineTo(-0.139, 1).lineTo(0.181, 1).close().extrude(0.919) res...
10
79
0.967972
train_e2739e016da2206c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.41, 0.171, 0.171), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.59, 0.685).lineTo(0.59, 0.115).lineTo(-0.338, -0.685).lineTo(-0.59, 0.685).close().extrude(0.1) result = result.union(cq.Workplane(cq.Plane(origin=(0.41, -0.3, 0.171), normal=(0, 0...
10
38
1.342798
train_b99d0177d447f67c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.034, 0.136).lineTo(0.076, 0.116).lineTo(0.11, 0.085).lineTo(0.133, 0.045).lineTo(0.14, 0).lineTo(0.133, -0.045).lineTo(0.11, -0.085).lineTo(0.076, -0.116).lineTo(0.034, -0.136).lineTo(-0.0...
4
43
0.1199
train_7c017424a6705917
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.142, 0.161, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.336, 1.677).extrude(0.233) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.083, -0.021, 0.01), normal=(0, -1, 0), xDir=(0, 0, 1))).spline([(0.131, 0.076), (0.121, 0.099), (0.09...
14
82
0.11559
train_ddfc79c5b97486b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, 0.448, 0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.45, 0.382).threePointArc((0.475, 0.374), (0.485, 0.353)).lineTo(0.485, 0.226).threePointArc((0.473, 0.202), (0.445, 0.192)).lineTo(0.195, 0.192).threePointArc((0.138, 0.172), (0.114...
10
336
0.412903
train_65f828ec95b9b2c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 0.004, 0), normal=(-0.749, 0.152, -0.644), xDir=(-0.199, -0.98, 0))).moveTo(-0.856, 0.021).threePointArc((-0.86, 0.025), (-0.843, 0.029)).lineTo(-0.676, 0.052).threePointArc((-0.217, 0.084), (-0.146, 0.063)).lineTo(0.613, 0.059).threePoint...
1
15
0.079294
train_19bae66b2fcea5b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.968), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.903).lineTo(0.658, -0.903).lineTo(-0.658, -0.903).lineTo(-1, 0.903).lineTo(1, 0.903).close().extrude(1.939, taper=5.749) result = result.faces('>Z').shell(-0.15) result = result.cut(cq....
14
156
2.304705
train_ace06f7938b61cd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.18, -0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.676, 0.594).lineTo(-0.676, -0.435).lineTo(1, -0.435).lineTo(1, -0.594).lineTo(-1, -0.594).lineTo(-1, 0.594).lineTo(-0.676, 0.594).close().extrude(0.46) result = result.union(cq.Workpla...
3
39
0.330781
train_639c450a674f6878
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.377, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.566, -0.071).lineTo(0.618, -0.09).lineTo(0.612, -0.124).lineTo(0.559, -0.119).lineTo(0.54, -0.187).lineTo(0.585, -0.217).lineTo(0.573, -0.248).lineTo(0.522, -0.232).lineTo(0.489, -0.29...
8
237
0.449894
train_bab06b2ed7350d6d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, -0.195, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.737, 0.804).threePointArc((0.835, 0.766), (0.876, 0.676)).lineTo(0.876, -0.576).threePointArc((0.802, -0.737), (0.628, -0.804)).lineTo(-0.103, -0.804).threePointArc((-0.236, -0.7...
9
176
0.721229
train_4dadbb047c1d67e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.336, -0.2, 0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.097, 0.767).lineTo(0.578, 0.285).lineTo(0.578, -0.247).lineTo(0.06, -0.767).lineTo(-0.173, -0.767).lineTo(-0.578, -0.361).lineTo(-0.578, 0.255).lineTo(-0.067, 0.767).lineTo(0.097, 0...
15
93
1.653575
train_cde47ff199c1c45f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.253, -0.008, 0.106), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.578, 0.186).lineTo(0.596, 0.163).lineTo(0.603, 0.168).lineTo(0.624, 0.14).lineTo(0.609, 0.128).lineTo(0.671, 0.068).lineTo(0.733, -0.018).threePointArc((0.705, -0.186), (0.48, -0...
9
75
0.678229
train_b6ef130ea125e0b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.719, -0.439, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.438).threePointArc((1.015, 1.015), (1.438, 0)).lineTo(0.764, 0).threePointArc((0.539, 0.539), (0, 0.764)).lineTo(0, 1.438).close().extrude(0.902) result = result.union(cq.Work...
9
148
1.294154
train_4de548aea634f6bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.721, 0.535).threePointArc((0.911, 0.454), (1, 0.26)).lineTo(1, -0.177).threePointArc((0.887, -0.43), (0.638, -0.535)).lineTo(-0.645, -0.535).threePointArc((-0.89, -0.433), (-1, -0.184)).li...
10
46
0.47778
train_003b020ef1e21b44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.438, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.406, 0.561).threePointArc((0.557, 0.499), (0.62, 0.348)).lineTo(0.62, -0.43).threePointArc((0.582, -0.523), (0.49, -0.561)).lineTo(-0.414, -0.561).threePointArc((-0.56, -0.501), (-0.62...
12
57
1.435067
train_8770e819a0346bbb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.209, 0, -0.369), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.393, -0.03).lineTo(0.401, -0.06).lineTo(0.409, -0.09).lineTo(0.416, -0.12).lineTo(0.424, -0.151).lineTo(0.431, -0.181).lineTo(0.437, -0.212).lineTo(0.444, -0.242).lineTo(0.45, -0.273)...
2
286
0.606934
train_8ac7f8e67e798e58
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.136, 0.317).workplane(offset=2).rect(0.49, 0.439).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0.57, -0.16, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.122, 0.915).threePoi...
4
18
0.578893
train_59057fa83977aeec
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.479, 1).threePointArc((-0.377, 0.957), (-0.333, 0.854)).lineTo(-0.333, 0.172).threePointArc((-0.183, -0.183), (0.172, -0.333)).lineTo(0.894, -0.333).threePointArc((0.969, -0.365), (1, -0.439)).lineTo(1, -0.839).threePointArc((0.952, -0.952), (0.839...
2
22
0.926017
train_198f85eb22fb794d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, -0.169, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.75, -0.566).threePointArc((-0.394, 0.886), (0.5, -0.33)).lineTo(0.88, -0.661).threePointArc((0.883, -0.884), (0.632, -0.886)).lineTo(0.176, -0.49).threePointArc((0.138, -0.441), ...
3
18
0.280239
train_d116ad69e02ce8b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.542, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.771, 0.458).lineTo(0.771, 0.239).lineTo(0.987, 0.239).lineTo(0.987, -0.222).lineTo(0.752, -0.222).lineTo(0.752, -0.458).lineTo(-0.733, -0.458).lineTo(-0.733, -0.201).lineTo(-0.987, -0...
13
54
1.123095
train_a7ecd1f5f2edddcf
import cadquery as cq import math result = cq.Workplane('XY').moveTo(4.244, 0.766).lineTo(4.244, 0.498).lineTo(1, 0.498).lineTo(1, -0.766).lineTo(-1, -0.766).lineTo(-1, 0.498).lineTo(-4.244, 0.498).lineTo(-4.244, 0.766).lineTo(4.244, 0.766).close().extrude(3.369, both=True).intersect(cq.Workplane('XZ').moveTo(4.316, 0....
5
46
4.208532
train_37a39afe457e9d5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.228, 0, -0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.703).threePointArc((0.236, 0.517), (0.281, 0.585)).lineTo(0.436, 0.507).threePointArc((0.502, 0.291), (0.669, 0.388)).lineTo(0.735, 0.173).threePointArc((0.645, 0.037), (0.768, ...
11
222
0.294115
train_637586be657d78dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.624, 0.918, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.466, 1.624).lineTo(0.999, 0.162).lineTo(-0.999, -0.376).lineTo(-0.466, 1.624).close().extrude(1.837) result = result.cut(cq.Workplane(cq.Plane(origin=(-1.47, 3.102, -2.548), normal=(1...
10
93
1.469658
train_8ac3b0bfc35147d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.519, 0.481, 0.549), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.124, 0.422).threePointArc((0.154, 0.401), (0.156, 0.379)).lineTo(0.137, 0.335).threePointArc((0.112, 0.315), (0.064, 0.328)).threePointArc((0.054, 0.326), (0.046, 0.322)).lineTo(0....
9
78
0.599056
train_34f203f034426cca
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.259, 0.206).threePointArc((0.272, 0.201), (0.278, 0.188)).lineTo(0.278, -0.161).threePointArc((0.264, -0.193), (0.232, -0.206)).lineTo(0.056, -0.206).threePointArc((0.004, -0.184), (-0.018, -0...
4
34
0.320098
train_90878716319ca2bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.036, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.435, 0.16).lineTo(-0.435, -0.053).threePointArc((-0.387, -0.075), (-0.273, -0.084)).lineTo(0.898, -0.084).threePointArc((0.97, -0.089), (1, -0.103)).lineTo(1, -0.174).threePointArc((0...
12
152
0.276153
train_e8cae172e7d9a133
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.302, 0, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.297, 0.143).lineTo(0.297, -0.143).lineTo(-0.297, -0.143).lineTo(-0.297, 0.143).lineTo(0.297, 0.143).close().extrude(0.2, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(...
8
66
0.332169
train_e294168badb30596
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.526, -0.18, -0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.461, 0.089).threePointArc((0.099, 0.726), (0.461, -0.128)).lineTo(0.461, -0.669).threePointArc((0.437, -0.726), (0.299, -0.678)).lineTo(0.3, -0.089).threePointArc((0.416, 0.195),...
5
37
0.293928
train_090d0bb348010a5b
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.295, 0.598).lineTo(0.437, 0.501).lineTo(0.437, 0.408).lineTo(0.596, 0.299).lineTo(0.712, 0.299).lineTo(0.874, 0.188).lineTo(0.874, -0.203).lineTo(0.735, -0.299).lineTo(0.589, -0.299).lineTo(0.437, -0.403).lineTo(0.437, -0.501).lineTo(0.295, -0.598)....
4
68
2.62893
train_440ebb5f542135fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, 0.052, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.641, 0.937).threePointArc((0.641, 0.268), (0.962, -0.402)).lineTo(0.962, -0.613).threePointArc((0.947, -0.668), (0.902, -0.72)).lineTo(0.641, -0.937).threePointArc((-0.962, -0.134...
12
162
0.471165
train_32b08c109a1b19ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.174, 0.04, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.42, 0.622).lineTo(1.111, 0.131).threePointArc((0.216, -0.676), (-0.071, -0.021)).lineTo(0.362, 0.612).threePointArc((0.356, 0.676), (0.42, 0.622)).close().extrude(0.284).union(cq.Wo...
5
19
0.110381
train_a4194f9281eeefe3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.622), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.639, 0.801).lineTo(1.025, 0).lineTo(0.639, -0.801).lineTo(-0.228, -1).lineTo(-0.923, -0.445).lineTo(-0.923, 0.445).lineTo(-0.228, 1).close().extrude(1.244) result = ...
7
91
1.643262
train_b620a73f353f40e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.047, 0, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.569, 0.796).lineTo(-0.569, -0.412).lineTo(0.953, -0.412).lineTo(0.953, -0.796).lineTo(-0.953, -0.796).lineTo(-0.953, 0.796).lineTo(-0.569, 0.796).close().extrude(0.643, both=True) res...
26
330
1.963564
train_28828cf7f3166e8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.004, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.673, -0.15).lineTo(0.966, -0.259).lineTo(0.924, -0.386).lineTo(0.631, -0.28).lineTo(0.554, -0.412).lineTo(0.777, -0.63).lineTo(0.687, -0.728).lineTo(0.462, -0.513).lineTo(0.338, -...
4
68
0.594836
train_362415b0268a76d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.404, -0.297), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.592, 0.469).lineTo(0.592, 0).lineTo(-0.592, 0).lineTo(-0.592, 0.469).lineTo(-0.231, 0.469).lineTo(-0.231, 0.36).lineTo(0.231, 0.36).lineTo(0.231, 0.469).lineTo(0.592, 0.469).close().e...
8
119
0.518169
train_a01e2af0520ab68a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, 0.018, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.757, 0.649).lineTo(0.066, 0.443).threePointArc((0.108, 0.435), (0.152, 0.433)).lineTo(0.292, 0.433).threePointArc((0.321, 0.426), (0.344, 0.407)).lineTo(0.973, -0.433).threePoint...
11
36
0.326321
train_c104f543b97a80e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.22, 0.474, 0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.211, 0.366).threePointArc((0.211, 0.366), (0.423, 0)).threePointArc((0.211, -0.366), (-0.211, -0.366)).threePointArc((-0.423, 0), (-0.211, 0.366)).close().sweep(cq.Workplane(cq.Plan...
6
124
0.393275
train_4e59941cbd3bde7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.042, -0.002, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.688, 0.612).lineTo(0.688, 0.367).lineTo(-0.459, 0.367).lineTo(-0.459, 0.122).lineTo(0.688, 0.122).lineTo(0.688, -0.612).lineTo(-0.688, -0.612).lineTo(-0.688, -0.367).lineTo(0.459,...
18
156
0.301021
train_1b016a770df79d10
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.116).lineTo(0.691, 0).lineTo(1, -0.116).lineTo(0.377, -0.116).lineTo(0.377, 0.116).lineTo(1, 0.116).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...
6
38
0.313722
train_a6b572194161d25b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.6), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.476).lineTo(1, 0.353).lineTo(1, -0.476).lineTo(-0.845, -0.476).lineTo(-0.845, -0.321).lineTo(-1, -0.321).lineTo(-1, 0.476).lineTo(0.878, 0.476).close().extrude(0.074) result = re...
12
77
0.706151
train_eaa2e1d4d802a3cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.13, 7.46, -0.669), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(5.351, 6.689).lineTo(5.351, -6.689).threePointArc((-5.351, 6.689), (5.351, 6.689)).close().sweep(cq.Workplane(cq.Plane(origin=(0.13, 7.46, -0.669), normal=(0, -1, 0), xDir=(1, 0, 0)))....
18
116
2.713229
train_63b017ea7b231187
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.205, 0.214).lineTo(0.205, 0).lineTo(-0.205, 0).lineTo(-0.205, 0.214).lineTo(-0.143, 0.214).lineTo(-0.143, 0.062).lineTo(0.143, 0.062).lineTo(0.143, 0.214).lineTo(0.205, 0.214).close().ext...
2
14
0.088337
train_5e58813b8e73e190
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.457), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, 0.253).lineTo(1, 0.174).lineTo(1, -0.081).lineTo(0.828, -0.253).lineTo(-0.832, -0.253).lineTo(-1, -0.086).lineTo(-1, 0.164).lineTo(-0.911, 0.253).lineTo(0.921, 0.253).close().extrude(...
19
73
0.161369
train_216319356d5d1a89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.045, 0.11, -0.973), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.3, 0.019).threePointArc((0.298, -0.015), (0.331, -0.034)).threePointArc((0.366, -0.019), (0.368, 0.015)).threePointArc((0.335, 0.034), (0.3, 0.019)).close().sweep(cq.Workplane(cq....
6
34
0.093142
train_121c73930cf730ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.963), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.929).lineTo(1, 0.119).lineTo(1.219, 0.119).lineTo(1.219, 0).lineTo(0.412, 0).lineTo(0.412, 1.929).lineTo(1, 1.929).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
10
55
3.399103
train_c192d70e3e56f386
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.421, 2).lineTo(0.421, 1.21).lineTo(0.627, 1.21).lineTo(0.627, 1.131).lineTo(0.22, 1.131).lineTo(0.22, 0.974).lineTo(0.591, 0.974).lineTo(0.591, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.421,...
5
41
1.545014
train_5bf76ba12140fd93
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.424, 0.686).threePointArc((0.488, 0.659), (0.515, 0.595)).lineTo(0.515, -0.235).threePointArc((0.483, -0.311), (0.407, -0.342)).lineTo(-0.118, -0.342).threePointArc((-0.155, -0.358), (-0.171, -0.396)).lineTo(-0.171, -0.554).threePointArc((-0.21, -0....
7
124
1.009515
train_cc97aaf184bb3f39
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.092, 0.093).threePointArc((0.105, 0.087), (0.111, 0.073)).lineTo(0.111, 0.038).threePointArc((0.106, 0.025), (0.093, 0.02)).lineTo(0.05, 0.02).threePointArc((0.04, 0.016), (0.036, 0.007)).line...
4
18
0.048254
train_86a9b313b4016439
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.15, 0, -0.535), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.234, 1.07).lineTo(0.234, 0.234).lineTo(0.3, 0.234).lineTo(0.3, 0).lineTo(0, 0).lineTo(0, 1.07).lineTo(0.234, 1.07).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Pl...
7
39
0.414691
train_a5c01daac4de6f8a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.842, 0.26).lineTo(1, 0.11).lineTo(1, -0.104).lineTo(0.836, -0.26).lineTo(-0.87, -0.26).threePointArc((-0.956, -0.224), (-1, -0.137)).lineTo(-1, 0.131).threePointArc((-0.955, 0.222), (-0.86...
10
56
0.200933
train_e3e90deaa131835f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.33, 0.07, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.348, 0.343).threePointArc((0.426, 0.305), (0.459, 0.217)).lineTo(0.459, -0.185).threePointArc((0.418, -0.296), (0.319, -0.343)).lineTo(-0.055, -0.343).threePointArc((-0.124, -0.31),...
14
292
0.35925
train_cc1b999c1fe4425b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.4, 0.81, 0.014), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.042, 1.436).threePointArc((0.126, 1.488), (0.251, 1.345)).lineTo(0.545, 1.251).lineTo(0.985, 0.733).threePointArc((0.744, 0.536), (0.566, 0.411)).lineTo(0.58, 0.127).lineTo(0.177, 0....
9
14
1.399323
train_21b847f7e060714d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.913, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.449, 1.654).threePointArc((0.701, 1.55), (0.805, 1.298)).lineTo(0.805, 0.527).threePointArc((0.701, 0.276), (0.449, 0.171)).lineTo(-0.449, 0.171).threePointArc((-0.701, 0.276), (-0.805, 0...
16
27
4.020047
train_0b62fe8c5dc37469
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.225), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.32, 0.45).lineTo(0.32, 0.32).lineTo(2, 0.32).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.45).lineTo(0.32, 0.45).close().extrude(0.905, both=True) result = result.cut(cq.Workplane(cq.Plane(orig...
9
89
1.386796
train_8070fa55f03d2591
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.482, -0.216, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.962).threePointArc((0.683, 0.683), (0.962, 0)).lineTo(0.241, 0).threePointArc((0.171, 0.171), (0, 0.241)).lineTo(0, 0.962).close().extrude(2) result = result.union(cq.Workplane(cq...
7
46
1.615569
train_3da91bbf367cb14a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.13, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.608, -0.163).lineTo(0.754, -0.21).lineTo(0.722, -0.35).lineTo(0.58, -0.288).lineTo(0.548, -0.379).lineTo(0.678, -0.476).lineTo(0.616, -0.599).lineTo(0.494, -0.488).lineTo(0.443, -0.563).lin...
8
566
0.445159
train_e07f52c4832cc38a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.903).lineTo(1, -0.903).lineTo(-1, -0.903).lineTo(-1, 0.903).lineTo(-0.345, 0.903).lineTo(-0.345, -0.248).lineTo(0.345, -0.248).lineTo(0.345, 0.903).lineTo(1, 0.903).close().extrude(0.677, taper=6.283, both=True) result = result.cut(cq.Workplane(c...
12
48
3.006725
train_33809f03593a81ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.234, 0.128, -0.395), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 0.368).threePointArc((0.447, 0.364), (0.46, 0.339)).lineTo(0.231, -0.37).threePointArc((0.154, -0.383), (0.075, -0.382)).lineTo(-0.034, -0.246).threePointArc((-0.126, -0.278)...
9
93
0.648422
train_f2cf1acbc9853edf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.125, -0.071, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.796, 0.591).lineTo(0.806, -0.433).threePointArc((-0.806, -0.591), (0.796, 0.591)).close().moveTo(-0.025, 0.343).lineTo(0.262, 0.197).threePointArc((-0.282, -0.31), (-0.025, 0.343)...
7
56
0.451979
train_7e08ac32bcabce1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.294), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.286, 0.588).lineTo(0.286, 0).lineTo(-0.286, 0).lineTo(-0.286, 0.588).lineTo(-0.14, 0.588).lineTo(-0.14, 0.146).lineTo(0.14, 0.146).lineTo(0.14, 0.588).lineTo(0.286, 0.588).close().extrude...
8
99
0.409886