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_a1e24ac05ef3a7c5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.667, 0.539).lineTo(0.667, -0.539).lineTo(-0.667, -0.539).lineTo(-0.667, 0.539).lineTo(-0.318, 0.539).lineTo(-0.318, -0.191).lineTo(0.318, -0.191).lineTo(0.318, 0.539).lineTo(0.667, 0.539).close().extrude(1, both=True) result = result.cut(cq.Workplan...
8
74
1.827154
train_d5e7d8a35a725869
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.683), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.49, 1.607).lineTo(0.49, 1.276).lineTo(0.801, 1.276).lineTo(0.801, 0.891).lineTo(0.938, 0.891).lineTo(0.938, 0.342).lineTo(1, 0.342).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.607).lineTo(0.49,...
3
53
3.710022
train_a8d15705ffc320f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.473).lineTo(1, -0.473).lineTo(-1, -0.473).lineTo(-1, 0.473).lineTo(1, 0.473).close().extrude(0.233) result = result.cut(cq.Workplane(cq.Plane(origin=(0.251, 0, 0), normal=(0, 0, 1), xDi...
7
40
0.407914
train_ac69f29801d11291
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.914).lineTo(1, -0.91).threePointArc((0.994, -0.922), (0.983, -0.926)).lineTo(-1, -0.926).lineTo(-1, 0.926).lineTo(0.987, 0.926).threePointArc((0.995, 0.923), (1, 0.914)).close().extrude...
12
40
1.489044
train_3530a56fb35457b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.215, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.199, 1).lineTo(0.199, 0.199).lineTo(0.597, 0.199).lineTo(0.597, -0.199).lineTo(0.199, -0.199).lineTo(0.199, -0.597).lineTo(-0.199, -0.597).lineTo(-0.199, -1).lineTo(-0.597, -1).lineTo(...
7
112
0.789444
train_e2dc81fea77b8add
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.195, 0.808).lineTo(0.974, -0.018).threePointArc((0.512, -0.298), (0.344, -0.808)).threePointArc((-0.209, -0.602), (-0.776, -0.44)).threePointArc((-0.974, 0.075), (-0.965, 0.625)).threePoint...
4
105
1.675995
train_b3a439429ccc98c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0.181, -0.776), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.738, 0.814).lineTo(0.738, -0.628).threePointArc((0.684, -0.759), (0.552, -0.814)).lineTo(-0.414, -0.814).lineTo(-0.738, -0.489).lineTo(-0.738, 0.686).lineTo(-0.611, 0.814).lineTo(0...
9
62
3.085889
train_92a3558d167b8829
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.872, -0.077, 0.18), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.067, 0.115).threePointArc((0.092, 0.105), (0.101, 0.081)).lineTo(0.101, -0.081).threePointArc((0.092, -0.105), (0.067, -0.115)).lineTo(-0.067, -0.115).threePointArc((-0.092, -0.10...
3
30
0.110025
train_add27fcab880b217
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.046, 0.273, 0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.368, 0.605).threePointArc((0.408, 0.593), (0.425, 0.565)).lineTo(0.425, 0.479).threePointArc((0.393, 0.426), (0.318, 0.403)).lineTo(0.206, 0.403).threePointArc((0.161, 0.39), (0.14...
18
363
0.801031
train_228bd2657b8019dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.191, -0.853), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.854, 0.851).workplane(offset=1.706).rect(2, 0.27).loft() result = result.union(cq.Workplane(cq.Plane(origin=(0.841, -0.554, 0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.059, 1.17...
7
62
1.650131
train_ae29e4def6459a92
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, 0.042, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.24, 0.233).threePointArc((0.285, 0.332), (0.921, 0.159)).lineTo(-0.25, -0.207).threePointArc((-0.265, -0.332), (-0.921, -0.136)).lineTo(0.24, 0.233).close().extrude(1, taper=-0.34, both...
8
41
1.00744
train_ad1fc6e478f2cf1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.267, 0, -0.632), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.559, 1.263).lineTo(0.559, 0.611).lineTo(0.733, 0.611).lineTo(0.733, 0).lineTo(0, 0).lineTo(0, 1.263).lineTo(0.559, 1.263).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn...
9
58
0.788045
train_a94bf4506439e155
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.25, 0.003, -0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.093, 0.727).lineTo(0.568, 0.354).threePointArc((0.583, 0.343), (0.595, 0.328)).lineTo(0.705, 0.169).threePointArc((0.71, 0.16), (0.712, 0.15)).lineTo(0.75, -0.11).threePointArc((0....
7
86
1.465526
train_cde4fac91194a9a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.863, -0.154).lineTo(0.973, -0.198).lineTo(0.966, -0.232).lineTo(0.851, -0.211).lineTo(0.805, -0.357).lineTo(0.897, -0.425).lineTo(0.881, -0.458).lineTo(0.779, -0.41).lineTo(0.696, -0.54).l...
8
154
0.382257
train_677af0b4af4965f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.072, 0.031), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.211, 1).lineTo(0.118, 0.629).lineTo(0.558, 0.856).threePointArc((0.54, 0.774), (0.522, 0.693)).lineTo(0.57, 0.524).threePointArc((0.593, 0.431), (0.528, 0.361)).lineTo(1, 0.211).line...
11
44
1.989173
train_181c36608ecfd782
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.816, 0.982).lineTo(1, 0.806).lineTo(1, -0.851).lineTo(0.863, -0.982).lineTo(-0.773, -0.982).lineTo(-1, -0.762).lineTo(-1, 0.812).lineTo(-0.824, 0.982).lineTo(0.816, 0.982).close().extrude(...
17
257
1.885046
train_a39195563199682e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.034, -0.131, -0.561), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.123, 0.221).lineTo(0.087, 0.202).lineTo(0.193, 0.023).lineTo(0.092, -0.182).lineTo(-0.15, -0.179).lineTo(-0.193, 0.035).lineTo(-0.123, 0.221).close().extrude(0.6) result = resul...
20
89
0.160441
train_6e4c834d7478f8ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.453), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.843, 0.586).threePointArc((0.948, 0.565), (1, 0.517)).lineTo(1, -0.23).threePointArc((0.915, -0.316), (0.737, -0.351)).lineTo(0.121, -0.351).threePointArc((0.036, -0.369), (0, -0.409)).lin...
10
93
1.117962
train_cc861e4bb0a0c6a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0, -0.892), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.003).extrude(0.922) result = result.cut(cq.Workplane(cq.Plane(origin=(0.988, 0, -0.892), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.077, 0.384), (-0.295, 0.708), (-0.6...
15
135
1.949936
train_514341a160e24728
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.218, -0.365, -0.425), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.06, 0.603).lineTo(0.313, 0.554).lineTo(0.206, -0.266).lineTo(0.504, -0.305).lineTo(0.465, -0.603).lineTo(-0.504, -0.476).lineTo(-0.465, -0.178).lineTo(-0.167, -0.217).lineTo(-0....
17
231
0.532762
train_fbe684026ea39988
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, 0, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.906, 0.867).lineTo(0.951, 0.822).lineTo(0.951, -0.867).lineTo(-0.905, -0.867).lineTo(-0.905, -0.822).lineTo(-0.951, -0.822).lineTo(-0.951, 0.867).lineTo(0.906, 0.867).close().extrude(0...
8
65
0.412056
train_446d515ee8ad7bc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.585, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.095, 0.404).threePointArc((0.038, 0.413), (0.159, 0.366)).threePointArc((0.266, 0.308), (0.361, 0.229)).threePointArc((0.408, 0.114), (0.401, -0.006)).threePointArc((0.387, -0.119), (0.37...
10
330
1.39042
train_1ee84d72db95d4c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.409, 1).lineTo(0.513, 0.887).lineTo(0.513, -0.901).threePointArc((0.488, -0.966), (0.422, -1)).lineTo(-0.419, -1).lineTo(-0.513, -0.897).lineTo(-0.513, 0.92).lineTo(-0.441, 1).lineTo(0.409...
16
97
0.412231
train_6ff55158058ce11c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.164, -0.39, 0.057), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.48, 0.168).threePointArc((0.518, 0.171), (0.548, 0.147)).lineTo(0.607, 0.037).threePointArc((0.608, 0.015), (0.595, -0.002)).lineTo(0.277, -0.17).threePointArc((0.261, -0.171), (0...
10
249
1.096211
train_694af8eec146e33b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.008, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.544, 0.412).lineTo(-0.59, 0.988).threePointArc((0.117, 0.962), (0.834, 0.699)).threePointArc((1.043, 0.429), (0.959, -0.046)).lineTo(-0.181, -0.075).lineTo(-0.096, -0.774).lineT...
12
20
0.283114
train_854a91427270b404
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, -0.423, -0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.932, 0.06).lineTo(0.932, 0.038).lineTo(0.204, 0.038).lineTo(0.204, -0.06).lineTo(-0.204, -0.06).lineTo(-0.204, 0.038).lineTo(-0.932, 0.038).lineTo(-0.932, 0.06).lineTo(0.932, 0.06...
3
35
0.066537
train_6f41aea36f9c32dc
import cadquery as cq import math result = cq.Workplane('XY').circle(0.964).extrude(0.47, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.176).extrude(1, both=True)) result = result.cut(cq.Workplane('XY').circle(0.429).extrude(1.403, both=True)) resul...
9
55
1.951056
train_d77229a9023a3b72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, -0.026, 0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.069, 0.891).threePointArc((1.016, 0.408), (0.38, -0.608)).threePointArc((0.157, -0.615), (0.036, -0.798)).threePointArc((-0.093, -0.885), (-0.239, -0.891)).threePointArc((-0.597, -...
5
41
2.378647
train_e0a3df0907b2bca9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.5).lineTo(1, -0.5).lineTo(-1, -0.5).lineTo(-1, -0.167).lineTo(0.667, -0.167).lineTo(0.667, 0.167).lineTo(-1, 0.167).lineTo(-1, 0.5).lineTo(1, 0.5).close().extrude(22.421, both=True).intersect(cq.Workplane('XZ').moveTo(0.853, 0.6).threePointArc((0...
3
32
1.294453
train_6b6fe1a1d217ac63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.536, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.24, 0.224).lineTo(0.24, -0.224).threePointArc((0, -0.464), (-0.24, -0.224)).lineTo(-0.24, 0.224).threePointArc((0, 0.464), (0.24, 0.224)).close().revolve(angleDegrees=270, axisStart=(-0.10...
9
39
0.831004
train_f59ada370d1ef98c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.429), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.937, 1.18).lineTo(0.937, 0).lineTo(-0.937, 0).lineTo(-0.937, 1.18).lineTo(-0.712, 1.18).lineTo(-0.712, 0.227).lineTo(0.712, 0.227).lineTo(0.712, 1.18).lineTo(0.937, 1.18).close().extrude(...
8
146
1.059228
train_3c2cc7d358ecac7f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.59, 0.224, 0.014), normal=(0.25, -0.778, 0.577), xDir=(0.952, 0.305, 0))).moveTo(-0.143, 0.647).threePointArc((0.075, 0.568), (0.121, 0.518)).lineTo(0.157, 0.429).lineTo(0.242, 0.025).threePointArc((0.257, -0.275), (0.237, -0.417)).threePointArc...
8
111
1.013894
train_d999155776bb7132
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.467, 1).threePointArc((0.561, 0.961), (0.6, 0.867)).lineTo(0.6, 0.725).threePointArc((0.563, 0.637), (0.475, 0.6)).lineTo(0.333, 0.6).threePointArc((0.239, 0.561), (0.2, 0.467)).lineTo(0.2...
4
82
0.238667
train_469a3b20031b1129
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.75, -0.228).lineTo(1, -0.456).lineTo(0.75, -0.684).lineTo(0.5, -0.456).lineTo(0.5, -0.684).lineTo(0.5, -0.912).lineTo(0.25, -0.912).lineTo(0, -0.684).lineTo(-0.25, -0.912).lineTo(-0.5, -0.912).lineTo(-0.5, -0.684).lineTo(-0.5, -0.456).lineTo(-0.75, ...
12
614
0.620002
train_f9955007d71725a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.055, 0.061, 0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.047, 0.772).threePointArc((0.645, 0.426), (0.598, -0.345)).threePointArc((-0.047, -0.772), (-0.645, -0.426)).threePointArc((-0.598, 0.345), (0.047, 0.772)).close().sweep(cq.Workpla...
2
9
2.383953
train_7b3b17835efc2c6a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.034, 0, -0.843), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.271, 1.687).lineTo(0.271, 0.277).lineTo(1, 0.277).lineTo(1, 0).lineTo(0.156, 0).lineTo(0.156, 1.687).lineTo(0.271, 1.687).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
10
77
0.611721
train_db7120b02a6b2e8c
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.163, 0.272).workplane(offset=2).rect(1.078, 0.265).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.136, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).polarArray(0.419, 22.5, 360, 3).circ...
3
14
0.327456
train_997d751198974690
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.424, 0.144, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.566, 0.135).lineTo(0.566, -0.135).threePointArc((-0.566, 0), (0.566, 0.135)).close().extrude(0.097, taper=-3.013) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.424, 0.063, ...
10
152
0.550602
train_c41d155589fd783b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.937), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.403, 0.807).lineTo(0.403, 0.062).lineTo(1, 0.062).lineTo(1, 0).lineTo(0.211, 0).lineTo(0.211, 0.807).lineTo(0.403, 0.807).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
4
71
0.539716
train_6e430d95d69134c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.019, 0, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.284, 1).lineTo(0.373, 0.911).lineTo(0.373, -0.889).lineTo(0.263, -1).lineTo(-0.259, -1).lineTo(-0.373, -0.886).lineTo(-0.373, 0.897).lineTo(-0.27, 1).lineTo(0.284, 1).close().extrude(0...
12
138
0.45589
train_e77f2c39e2569b31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.375), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.409).threePointArc((0.966, 0.383), (1, 0.319)).lineTo(1, -0.308).threePointArc((0.963, -0.38), (0.89, -0.409)).lineTo(-0.906, -0.409).threePointArc((-0.966, -0.383), (-1, -0.32...
11
81
0.595065
train_39469377d9704c4b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.253, -0.107, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.622, 0.622).lineTo(0.622, 0.207).lineTo(0.207, 0.207).lineTo(0.207, -0.622).lineTo(-0.622, -0.622).lineTo(-0.622, -0.207).lineTo(-0.207, -0.207).lineTo(-0.207, 0.622).lineTo(0.62...
13
85
0.911556
train_f3468a3dac98aa25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.431, 0.078, -0.434), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.417, 1.049).lineTo(0.322, 0.572).lineTo(0.51, 0.123).threePointArc((0.416, 0.152), (0.338, 0.091)).threePointArc((0.274, 0.157), (0.183, 0.142)).lineTo(0.032, 0.218).lineTo(-0.417...
5
65
0.527254
train_b4e6ae74e51c0188
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.04, -0.531), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.895, 0).threePointArc((0, -0.895), (-0.895, 0)).threePointArc((0, 0.895), (0.895, 0)).close().extrude(0.099, taper=-10.858) result = result.cut(cq.Workplane(cq.Plane(origin=(0.008, 0.36...
9
247
0.594239
train_41e33a5c4b07b2f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.11, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.73).lineTo(0.446, -0.73).threePointArc((-0.446, -0.974), (-0.893, -0.73)).lineTo(-0.446, 0.73).threePointArc((0.446, 0.974), (0.893, 0.73)).close().moveTo(0.446, 0.73).lineTo(0,...
11
40
0.40142
train_dc270810e5afeccc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.193, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.16, 0.58).threePointArc((0.244, 0.545), (0.28, 0.46)).lineTo(0.28, -0.029).threePointArc((0.244, -0.114), (0.16, -0.149)).lineTo(0.096, -0.141).threePointArc((0.065, -0.16), (0.032, -0.17...
8
236
0.621673
train_c759bdaf48e6a50d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.238, -0.04, -0.8), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.559, 0.304).lineTo(0.559, 0.101).lineTo(0.762, 0.101).lineTo(0.762, -0.304).lineTo(0.559, -0.304).lineTo(0.559, -0.101).lineTo(-0.049, -0.101).lineTo(-0.049, 0.101).lineTo(0.357, 0....
12
171
0.818682
train_f756cc30913a2c40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0.21, 0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.813, 0.631).lineTo(0.813, 0.373).lineTo(-0.554, 0.373).lineTo(-0.554, -0.373).lineTo(0.813, -0.373).lineTo(0.813, -0.631).lineTo(-0.813, -0.631).lineTo(-0.813, 0.631).lineTo(0.813, ...
15
223
1.234901
train_050366d88d8fcf29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.013, -0.259), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.958, 0.518).lineTo(0.928, 0.433).lineTo(1.008, 0.182).lineTo(1.008, 0).lineTo(0.859, 0).lineTo(0.859, 0.156).lineTo(0.758, 0.433).lineTo(0, 0.369).lineTo(0, 0.518).lineTo(0.958, ...
11
73
0.458528
train_4f217add6b164885
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.322, -0.412, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.524, -0.029).threePointArc((-0.656, -0.088), (-0.393, 0.088)).lineTo(0.524, 0.088).threePointArc((0.656, 0.088), (0.524, -0.029)).lineTo(-0.524, -0.029).close().extrude(0.264, both=Tr...
2
12
0.516456
train_fc488a5b3332b1d8
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(1, 0.294).lineTo(1, 0.212).lineTo(-0.7, 0.212).lineTo(-0.7, -0.212).lineTo(1, -0.212).lineTo(1, -0.294).lineTo(-1, -0.294).lineTo(-1, 0.294).lineTo(1, 0.294).close().extrude(0.209) result = ...
5
45
0.082685
train_347ba3c8a402f6fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.473), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.062, 0.61).threePointArc((0.35, 0.556), (0.64, 0.507)).threePointArc((0.566, 0.213), (0.846, 0.011)).threePointArc((0.702, -0.135), (0.567, -0.287)).threePointArc((0.435, -0.483), (0.204, ...
7
22
1.747373
train_1c18594a86f70185
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.048, -0.054, -0.142), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.941, 0.111).lineTo(0.941, -0.139).lineTo(0.735, -0.139).lineTo(0.735, 0.111).threePointArc((0.747, 0.139), (0.758, 0.111)).threePointArc((0.77, 0.083), (0.781, 0.111)).threePoin...
2
44
1.00219
train_5545ffa85d2d1053
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).box(0.976, 1.268, 1.21) result = result.edges().fillet(0.021) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.134).extrude(1.951, both=T...
8
112
0.625638
train_3e9308287500a9b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.097, 0, -0.586), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.194, 1.172).lineTo(0.194, 0.194).lineTo(2.129, 0.194).lineTo(2.129, 0).lineTo(0, 0).lineTo(0, 1.172).lineTo(0.194, 1.172).close().extrude(1, both=True) result = result.cut(cq.Workpla...
7
6
0.454736
train_4b6e5a3d87735f73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.443, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.482, 2).lineTo(0.482, 0.482).lineTo(0.885, 0.482).lineTo(0.885, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.482, 2).close().extrude(0.306, both=True) result = result.cut(cq.Workplane(cq.Plane(...
11
65
0.377114
train_7a6909084d60f33f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.49).lineTo(1, -0.482).threePointArc((0.989, -0.488), (0.984, -0.49)).lineTo(-0.982, -0.49).threePointArc((-0.989, -0.487), (-1, -0.48)).lineTo(-1, 0.482).threePointArc((-0.989, 0.488), (...
11
38
0.133096
train_953eb92810bac0c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.852, 1).lineTo(0.944, 0.899).lineTo(0.944, -0.933).lineTo(0.885, -1).lineTo(-0.855, -1).lineTo(-0.944, -0.904).lineTo(-0.944, 0.904).lineTo(-0.855, 1).lineTo(0.852, 1).close().extrude(0.07...
8
83
0.298238
train_2ee05e94fa77de0d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.135, -1, -0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.484, 0.989).threePointArc((0.702, 0.831), (0.704, 0.562)).threePointArc((0.639, 0.351), (0.678, 0.135)).threePointArc((0.814, -0.063), (0.74, -0.292)).threePointArc((0.548, -0.467), ...
19
940
2.962578
train_6dd2b1aca1e21486
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.036, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.939, 0.388).threePointArc((0.982, 0.369), (1, 0.326)).lineTo(1, -0.3).threePointArc((0.974, -0.361), (0.912, -0.388)).lineTo(-0.879, -0.388).threePointArc((-0.964, -0.351), (-1, -0.267...
10
113
1.813684
train_b3cbf84943768ac5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.615, 0.324).lineTo(0.92, 0.221).lineTo(1, 0.114).lineTo(1, 0).lineTo(0.834, 0).lineTo(0.834, 0.097).lineTo(0.734, 0.221).lineTo(0, 0.158).lineTo(0, 0.324).lineTo(0.615, 0.324).close().rev...
6
41
0.421204
train_98b82d135f500d4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.817, 0.178, 0.064), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.419, 0.403).lineTo(0.419, -0.34).threePointArc((0, -0.759), (-0.419, -0.34)).lineTo(-0.419, 0.403).threePointArc((0, 0.822), (0.419, 0.403)).close().moveTo(0.173, 0.016).threePoint...
20
390
1.30212
train_2295dd29670c4398
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.383, -0.349, -0.393), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.191, 0.513).threePointArc((0.258, 0.479), (0.287, 0.399)).lineTo(0.287, -0.077).threePointArc((0.311, -0.143), (0.366, -0.171)).lineTo(0.466, -0.171).threePointArc((0.541, -0.209)...
6
95
1.804197
train_8bcb0eb03844fbd8
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, 0.728).lineTo(0.515, 0.515).lineTo(0.728, 0).lineTo(0.515, -0.515).lineTo(0, -0.728).lineTo(-0.515, -0.515).lineTo(-0.728, 0).lineTo(-0.515, 0.515).lineTo(0, 0.728).close().extrude(2) final_r...
1
10
2.99936
train_361f274fc1983d54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.494), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.988) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.494), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.825).extrude(2.961, both=True)) result = result.union(cq.Workpl...
12
56
2.248408
train_d7f6a8272c0adfbe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.046, -0.056, 0.519), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.153, 0.137).lineTo(0.282, 0.075).lineTo(0.387, 0.078).lineTo(0.396, 0.057).lineTo(0.758, -0.008).threePointArc((0.831, 0), (0.957, -0.029)).lineTo(0.906, -0.043).lineTo(0.83, -0....
2
38
0.232532
train_cd14efc0aba15822
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.651), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.301).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.301).lineTo(-0.467, 1.301).lineTo(-0.467, 0.533).lineTo(0.467, 0.533).lineTo(0.467, 1.301).lineTo(1, 1.301).close().extrude(0.875, both=Tru...
2
14
3.448765
train_e343d9b07f49ae59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.333, 0, -0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.356, 0.635).threePointArc((0.574, 0.569), (0.666, 0.413)).lineTo(0.666, -0.425).threePointArc((0.579, -0.573), (0.373, -0.635)).lineTo(-0.082, -0.635).threePointArc((-0.18, -0.605), (-...
15
183
0.214674
train_4eb9d2730ca25900
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.725), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.971, 1.449).lineTo(0.971, 1.219).lineTo(1, 1.219).lineTo(1, 1.149).lineTo(0.372, 1.149).lineTo(0.372, 0.649).lineTo(0.435, 0.649).lineTo(0.435, 0).lineTo(0, 0).lineTo(0, 1.449).lineTo(0.9...
2
10
1.375879
train_4f42ffdaf78fa8aa
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.724, 0.664).lineTo(0.724, -0.664).lineTo(-0.724, -0.664).lineTo(-0.724, 0.664).lineTo(-0.275, 0.664).lineTo(-0.275, -0.363).lineTo(0.275, -0.363).lineTo(0.275, 0.664).lineTo(0.724, 0.664).close().extrude(1, taper=0.76, both=True) result = result.cut...
22
180
2.338171
train_08a48543bbe1def2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.393, 0.175, -0.358), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.472, 0.607).lineTo(0.607, -0.472).threePointArc((-0.607, -0.607), (-0.472, 0.607)).close().extrude(0.34) result = result.union(cq.Workplane(cq.Plane(origin=(0.086, -0.01, -0.188),...
9
128
1.02574
train_177ef29d93f3598c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.455, 0.008, -0.645), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.082, 0.255).lineTo(0.54, -0.056).lineTo(0.056, -0.201).lineTo(0.059, -0.223).threePointArc((-0.035, -0.255), (0.006, -0.162)).lineTo(0.021, 0.224).lineTo(0.054, 0.231).lineTo(0.082...
7
90
0.543214
train_0c56dc7080778869
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.022, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.974, 0.481).lineTo(0.974, -0.734).lineTo(-0.974, -0.734).lineTo(-0.974, 0.481).threePointArc((-0.834, 0.734), (-0.695, 0.481)).threePointArc((-0.556, 0.23), (-0.418...
12
105
0.708176
train_f68d750c6500c22e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.122, 0.034, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.176, 0.945).lineTo(0.762, 0.47).threePointArc((0.928, 0.151), (0.544, -0.109)).lineTo(0.265, 0.025).threePointArc((0.254, 0.027), (0.255, 0.017)).lineTo(0.496, -0.691).threePoint...
3
30
0.39947
train_2f2e73f59fae4524
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.298).threePointArc((0.923, 0.276), (0.995, 0.225)).lineTo(0.995, 0.055).threePointArc((0.94, 0.016), (0.811, 0)).lineTo(0.341, 0).threePointArc((0.101, -0.03), (0, -0.102)).line...
6
122
0.145445
train_c82676a66b8a6009
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, -0.249, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.657, -0.3).lineTo(-0.39, -0.626).threePointArc((-0.657, 0.626), (0.657, -0.3)).close().extrude(0.056, taper=-0.698) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.215, -0...
23
579
0.118333
train_860eebb7dd91a6f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.85, 1.48, 0.253), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.373, 2.126).threePointArc((0.373, 2.126), (0.746, 1.48)).threePointArc((0.373, 0.834), (-0.373, 0.834)).threePointArc((-0.746, 1.48), (-0.373, 2.126)).close().revolve(angleDegrees=90...
34
562
1.987042
train_d32bd2ecce686c3d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.08, -0.07, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.556, -0.07).threePointArc((-0.833, -0.209), (-0.556, 0.209)).lineTo(0.694, 0.209).threePointArc((0.833, 0.209), (0.694, -0.07)).lineTo(-0.556, -0.07).close().extrude(0.812, both=True) r...
5
41
0.871511
train_e1ff38cf2c86bdc4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.925, 0.647).lineTo(1, 0.573).lineTo(1, -0.609).threePointArc((0.988, -0.635), (0.962, -0.647)).lineTo(-0.927, -0.647).threePointArc((-0.978, -0.625), (-1, -0.573)).lineTo(-1, 0.647).lineTo...
14
84
0.295431
train_1cd67577e6a14815
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.165, 0.416).lineTo(0.165, 0).lineTo(-0.165, 0).lineTo(-0.165, 0.416).lineTo(-0.041, 0.416).lineTo(-0.041, 0.123).lineTo(0.041, 0.123).lineTo(0.041, 0.416).lineTo(0.165, 0.416).close().ext...
7
43
0.207326
train_ce85eaec817531ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.131, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.393).lineTo(0.498, 0.286).threePointArc((0.521, 0.267), (0.575, 0.259)).lineTo(0.907, 0.259).threePointArc((0.967, 0.25), (1, 0.229)).lineTo(1, -0.032).threePointArc((0.945, -0...
13
259
0.386186
train_e07c18c98aa002da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.028, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.918, 0.828).threePointArc((0.97, 0.811), (1, 0.773)).lineTo(1, 0.649).threePointArc((0.966, 0.603), (0.905, 0.584)).lineTo(0.257, 0.584).threePointArc((0.191, 0.563), (0.163, 0.515))....
13
106
0.689786
train_1ea9675e0e6c12d9
import cadquery as cq import math result = cq.Workplane('XY').box(1.538, 2, 1.248) result = result.edges().fillet(0.043) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.394).extrude(3.077, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
7
35
2.168408
train_caf9746fddd6040e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.298), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.544).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.544).lineTo(-0.677, 0.544).lineTo(-0.677, 0.323).lineTo(0.677, 0.323).lineTo(0.677, 0.544).lineTo(1, 0.544).close().extrude(0.218, both=Tru...
8
71
0.478489
train_6b96a4465134f270
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0.003, 0.259), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.378, 0.896).lineTo(-0.378, -0.226).lineTo(1.007, -0.226).lineTo(1.007, -0.692).lineTo(0.637, -0.61).lineTo(0.267, -0.62).lineTo(-0.103, -0.896).lineTo(-0.473, -0.797).lineTo(-0.8...
2
83
0.742244
train_54dd82da2f762345
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.102, -0.047, -0.954), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.148, 0.022).threePointArc((0.162, 0.006), (0.155, -0.016)).threePointArc((0.134, -0.022), (0.119, -0.006)).threePointArc((0.127, 0.016), (0.148, 0.022)).close().sweep(cq.Workplan...
7
102
0.030215
train_7ff1c0d41d6116b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.647, 0.209).threePointArc((0.76, 0.162), (0.806, 0.05)).lineTo(0.806, -0.209).lineTo(-0.657, -0.209).threePointArc((-0.762, -0.165), (-0.806, -0.06)).lineTo(-0.806, 0.209).lineTo(0.647, 0....
12
137
0.223833
train_cedcd4d10cf46d6a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.861, 0.573).lineTo(0.985, 0.191).lineTo(0.985, -0.573).lineTo(-0.985, -0.573).lineTo(-0.985, 0.191).lineTo(-0.985, 0.573).lineTo(-0.861, 0.573).lineTo(-0.738, 0.191).lineTo(-0.615, 0....
24
576
0.624937
train_f0d0869cd43d7514
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.754, 0.067, -0.713), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.246, 0).threePointArc((0.209, -0.037), (0.171, 0)).threePointArc((0.209, 0.037), (0.246, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.754, 0.067, -0.713), normal=(0, 0, 1), x...
6
52
0.273578
train_36f0dc9566049c49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.035, 0.316, 0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.481, 0.481).threePointArc((0.481, 0.481), (0.481, -0.481)).threePointArc((-0.481, -0.481), (-0.481, 0.481)).close().sweep(cq.Workplane(cq.Plane(origin=(0.035, 0.316, 0.058), normal...
7
73
0.360866
train_ee90334d971225a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.952, 0.989).threePointArc((0.98, 0.977), (1, 0.949)).lineTo(1, -0.962).lineTo(0.962, -0.962).lineTo(0.962, -0.989).lineTo(-0.962, -0.989).lineTo(-1, -0.959).lineTo(-1, 0.989).lineTo(0.952,...
12
119
2.034214
train_e36ef309dfc3b3dc
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.848, 1).lineTo(0.962, 0.886).lineTo(0.962, -1).lineTo(-0.678, -1).threePointArc((-0.878, -0.916), (-0.962, -0.716)).lineTo(-0.962, 0.859).threePointArc((-0.92, 0.958), (-0.821, 1)).lineTo(...
8
71
0.654624
train_072641881388f188
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.292, 0.154, -0.41), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.708, 0.301).lineTo(0.708, -0.301).threePointArc((-0.045, 0), (0.708, 0.301)).close().extrude(1.153).union(cq.Workplane(cq.Plane(origin=(-0.292, 0.154, -0.41), normal=(0, 0, 1), xDi...
8
38
1.323292
train_19f2db19eea5623f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.088, 0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.912).lineTo(0, 0).lineTo(0.912, 0).lineTo(0.912, -0.456).lineTo(0.456, -0.456).lineTo(0.456, -0.912).lineTo(-0.456, -0.912).lineTo(-0.456, -0.456).lineTo(-0.912, -0.456).lineTo(-0.9...
13
282
2.013854
train_a3cc6ad5975aebc0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.768, 2).lineTo(0.768, 0.382).lineTo(0.884, 0.382).lineTo(0.884, 0).lineTo(0.059, 0).lineTo(0.059, 2).lineTo(0.768, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
5
21
3.855468
train_e5f540dbc6d51dd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.047, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.525, 0.692).lineTo(-0.525, -0.364).lineTo(1, -0.364).lineTo(1, -0.692).lineTo(-1, -0.692).lineTo(-1, 0.692).lineTo(-0.525, 0.692).close().extrude(0.537) result = result.cut(cq.Workpla...
9
50
0.602866
train_38848414570c5294
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.602).extrude(0.477) result = result.cut(cq.Workplane(cq.Plane(origin=(0.602, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.08, 0.301), (-0.301, 0.522), (-0.602, 0.602), (-...
3
52
0.947622
train_6d4a9ab59f6eda7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.223, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.744, -0.186).lineTo(0.96, -0.257).lineTo(0.904, -0.386).lineTo(0.69, -0.31).lineTo(0.618, -0.413).lineTo(0.791, -0.549).lineTo(0.686, -0.651).lineTo(0.518, -0.511).lineTo(0.409, -0.584).li...
7
297
1.775188
train_1ed8781aba61d0f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.191, -0.061, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.66, 0.14).threePointArc((0.807, 0.477), (0.66, -0.253)).threePointArc((0.514, -0.253), (0.367, -0.365)).threePointArc((-0.66, -0.477), (-0.807, -0.028)).threePointArc((-0.66, 0....
10
65
1.335665
train_6dbfc4f0c0abe4c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.652, -0.113).lineTo(0.974, -0.203).lineTo(0.945, -0.288).lineTo(0.618, -0.213).lineTo(0.589, -0.268).lineTo(0.869, -0.434).lineTo(0.814, -0.509).lineTo(0.524, -0.356).lineTo(0.478, -0.402)...
5
185
0.622023