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_e5cb3575c708f5b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.049, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.303, 0.702).extrude(0.395) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.117, 0, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.083).extrude(0.091)) result = result.cut...
30
124
0.176331
train_3f4e7f79d42815eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.111, -0.02, -0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.365, 0.377).lineTo(0.366, -0.175).lineTo(-0.366, -0.171).lineTo(0.365, 0.377).close().extrude(0.587) result = result.edges().chamfer(0.139) result = result.union(cq.Workplane(cq.P...
19
460
0.107999
train_aaff79d753b6f52c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.164, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.666, 1).extrude(1.491) result = result.union(cq.Workplane(cq.Plane(origin=(-0.305, 0.087, 0.471), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.399, 0.393).extrude(0.529)) result = result.union...
5
36
2.597163
train_8e740e3f257faf56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.641, 0.607).extrude(0.901) result = result.faces('>Z').shell(-0.026) result = result.union(cq.Workplane(cq.Plane(origin=(-0.067, -0.128, -0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.067...
7
110
0.16791
train_2b976c01ed109984
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.231, -0.41, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.811, 1.069).extrude(0.244) result = result.union(cq.Workplane(cq.Plane(origin=(0.231, 0.249, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.131).extrude(0.216)) result = result...
29
138
1.113365
train_941b93767dc7e73c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.118, 0.232, -0.485), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.61, 1.537).extrude(0.971) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.362 + 0.122, 0.717, -1.484), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.062, 0.088).lineTo(-0.062, -...
8
24
0.914184
train_390bea8380fa3f60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.669, 0, -0.131), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.331, -0.249).lineTo(0.331, 0.249).lineTo(-0.103, 0.249).lineTo(-0.331, 0.142).lineTo(-0.331, -0.249).lineTo(0.331, -0.249).close().sweep(cq.Workplane('XZ').spline([(-0.669, -0.131), ...
3
14
0.353757
train_1ec0fb7611010c8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, 0, -0.76), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.406, 0.557).extrude(1.76) result = result.union(cq.Workplane(cq.Plane(origin=(-0.203, 0.088, 0.455), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.026, 0.076).extrude(0.29)) result = result.c...
10
55
0.386754
train_372dbd964814426d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.072, 0, -0.473), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.856, 1.426).extrude(0.946) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.058, 0.203, 0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.049).extrude(0.069)) result = result.cut(c...
11
37
2.432784
train_8674c914acb3e374
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.51, 0.013, -0.326), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.004, 0.02).lineTo(-0.001, 0.012).lineTo(-0.004, 0.011).lineTo(-0.005, 0.008).lineTo(-0.005, 0.005).lineTo(-0.014, 0.003).lineTo(-0.01, -0.003).lineTo(-0.004, -0.007).lineTo(0.004...
14
343
0.018094
train_40520d42f481c0b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.491), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.505, 2).extrude(0.982) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.173, 0.314, 0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.261, 0.531).extrude(0.302)) result = result.cut(cq.W...
13
105
1.468009
train_8dc5c0faebccc5ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.19, -0.088, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.263, 0.934).extrude(0.219) result = result.union(cq.Workplane(cq.Plane(origin=(0.188, 0.136, 0.037), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.077, 0.277).lineTo(-0.065, 0.269).li...
20
90
0.236543
train_71564d50449e3410
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, -0.01, 0.92), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.837, -0.801).lineTo(-0.837, -0.801).lineTo(-0.692, 0.801).lineTo(0.837, 0.801).lineTo(0.837, -0.801).close().extrude(1.712) result = result.edges().chamfer(0.257) result = result.u...
6
47
3.843648
train_6a072f869426c4fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.578, -0.096, -0.497), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.191, 0.097).threePointArc((0, -0.094), (0.191, 0.097)).lineTo(0.057, 0.097).lineTo(-0.057, 0.097).lineTo(-0.191, 0.097).close().extrude(0.195) result = result.edges().fillet(0.0...
7
389
0.352229
train_174c1860a731464f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.187, 0, -0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.671, 2).extrude(0.576) result = result.union(cq.Workplane(cq.Plane(origin=(-0.082 + 0.067, 0, 0.512), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.009, -0.053).lineTo(0.025, 0.02).lineTo...
22
114
0.686644
train_31e25bd896802a1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.018, 0, 0.263), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.034, 0.95).lineTo(0.034, -0.982).lineTo(-0.034, -0.982).lineTo(-0.034, 1.018).lineTo(0.034, 1.018).lineTo(0.034, 0.95).close().revolve(angleDegrees=270, axisStart=(0.034, 0.95), axisEn...
4
93
0.020171
train_c43a252a08c2d314
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.277, -0.664, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.162, 0.729).lineTo(-0.262, 0.455).lineTo(-0.411, 0.043).lineTo(-0.686, 0.043).lineTo(-0.536, 0.455).lineTo(-0.436, 0.729).lineTo(-0.236, 1.277).lineTo(0.236, 1.277).lineTo(0.436, 0.7...
18
128
1.02238
train_029c9486cb6d2d2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.063, 0.516, 0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.062, 0.12).lineTo(0.002, 0.379).lineTo(-0.009, 0.43).lineTo(-0.012, 0.379).lineTo(-0.026, 0.095).lineTo(-0.153, -0.095).lineTo(-0.139, -0.376).lineTo(-0.136, -0.43).lineTo(-0.125, ...
9
55
0.822677
train_f35e790ca6fe2ef8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0.005, 0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.072, 0.06).extrude(0.04) result = result.union(cq.Workplane(cq.Plane(origin=(-0.006, -0.008, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.011).extrude(0.009)) result = result....
6
54
0.002454
train_805d729c0e901fac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.063, -0.093), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.249, -0.166).lineTo(-0.091, -0.166).lineTo(-0.249, 0.166).lineTo(0.249, 0.166).lineTo(0.249, -0.166).close().extrude(0.058) result = result.edges().chamfer(0.027) result = result....
39
232
0.107421
train_d69ffaa3d7efc4ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.265), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-1, 0.144).lineTo(1, 0.144).lineTo(1, -0.144).lineTo(0.856, -0.144).lineTo(0.856, 0).lineTo(-0.712, 0).lineTo(-0.712, -0.144).lineTo(-1, -0.144).lineTo(-1, 0.144).close().extrude(0.53) resul...
10
92
0.152123
train_6a9f6e10013d0340
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.405, 1, 0.094), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.762, -0.096).threePointArc((-0.529, -0.086), (-0.762, 1.183)).lineTo(-0.192, 0.705).lineTo(0.762, -0.096).close().extrude(1.133) result = result.edges().chamfer(0.077) result = result....
18
115
0.917957
train_a334df0a4d31ee1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.025, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.753, 0.91).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(-0.134, -0.455, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.025).extrude(0.235)) result = result.cut(cq.Wor...
10
126
1.285334
train_5a79649e5a9d9aca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.618, 0, -0.115), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.396, 0.7).lineTo(0.396, -0.7).lineTo(-0.396, -0.7).lineTo(-0.396, 0.7).lineTo(0.396, 0.7).close().sweep(cq.Workplane('XZ').spline([(-0.618, -0.115), (-0.29, -0.002), (0.037, 0.059), ...
29
97
0.299152
train_dae1ffc365abcb9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.972, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.646, 0.832).lineTo(-0.646, 1.858).lineTo(0.646, 1.858).lineTo(0.646, 0.646).threePointArc((0, 0.087), (-0.646, 0.646)).lineTo(-0.646, 0.832).close().extrude(2) result = result.edges().cha...
21
27
2.717246
train_40c1776a04580158
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.554, 0.343, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, -0.446).lineTo(0.725, -0.446).lineTo(0.725, 1.554).lineTo(-0.725, 1.554).lineTo(-0.725, -0.446).lineTo(0, -0.446).close().extrude(0.736) result = result.edges().chamfer(0.069) result ...
20
75
1.980058
train_14c4bee0a53d09e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.204, -0.003, 0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.071, 1.226).extrude(0.912) result = result.union(cq.Workplane(cq.Plane(origin=(-0.398, 0.274, 0.955), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.109, -0.01).lineTo(0.001, 0.131).l...
5
49
1.676022
train_45f39efd876c658a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, 0.024), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.251).workplane(offset=0.588).circle(0.236).workplane(offset=0.433).circle(0.246).workplane(offset=0.498).circle(0.259).workplane(offset=0.481).circle(0.244).loft() result = result.cut(cq.W...
9
26
0.359068
train_69b8c6f9bbcb0d22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.136), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1, 0.038).threePointArc((0, -0.313), (-1, 0.038)).lineTo(-1, 0.313).lineTo(1, 0.313).lineTo(1, 0.038).close().extrude(0.273) result = result.edges().chamfer(0.026) result = result.cut(cq.Wor...
12
81
0.25795
train_227875e1e2397fb3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.118, 0.082, 0.043), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.882, 0.026).lineTo(-0.882, -0.115).lineTo(0.882, -0.115).lineTo(0.882, 0.026).lineTo(0.706, 0.026).lineTo(0.617, 0.115).lineTo(0.529, 0.026).lineTo(0.353, 0.026).lineTo(0.265, 0....
9
552
0.027235
train_5403a3b3fe60be53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.073, -0.829, -0.145), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.855, 0.878).lineTo(-0.855, -0.546).lineTo(0.855, -0.546).lineTo(0.855, 0.878).lineTo(-0.855, 0.878).close().extrude(1.658) result = result.edges().fillet(0.131) result = result....
4
48
3.733307
train_c19788986e01bb04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.478, 0.37, -0.06), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.719, 0.024).lineTo(0.719, 0.509).lineTo(0.94, 0.509).lineTo(0.94, 0.697).lineTo(-0.94, 0.697).lineTo(-0.94, 0.509).lineTo(-0.719, 0.509).lineTo(-0.719, 0.024).lineTo(0.719, 0.024).c...
5
30
0.952248
train_af0f61c80156178d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.81).extrude(0.036) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.724 + 0.1035, 0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.04, 0.04).lineTo(0.04, -0.04).lineTo(-0.04, ...
22
131
0.113064
train_5e85b80f386c43f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.331, 0.109), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.458).sweep(cq.Workplane('YZ').spline([(-0.572, -0.373), (-0.17, 0.15), (0.232, 0.15), (0.635, -0.373)])) result = result.cut(cq.Workplane(cq.Plane(origin=(0.168, -0.161, -0.203), normal...
6
31
0.459432
train_2fb5af5ce7e2b884
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.126, 0.719, -0.57), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.305).lineTo(0.395, -0.09).threePointArc((0, -0.254), (-0.395, -0.09)).lineTo(0, 0.305).close().extrude(0.778) result = result.edges().chamfer(0.034) result = result.union(cq.Wor...
6
54
0.358292
train_b2fd8e4393edadb0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.665, -0.083, -0.494), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.367, 1.135).threePointArc((0.367, 0.083), (-0.367, -0.968)).lineTo(-0.367, 1.135).close().extrude(0.894) result = result.edges().fillet(0.095) result = result.cut(cq.Workplane(c...
16
198
1.455342
train_ae1dbe5f99bfa345
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.043, -0.493, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.806, 0.903).extrude(0.873) result = result.union(cq.Workplane(cq.Plane(origin=(-0.003, -0.448, 0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.363).extrude(0.139)) result = res...
17
62
1.283591
train_8c3133c435a5cdab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.082, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.178, -0.057).lineTo(0.178, 0.057).lineTo(0.109, 0.057).lineTo(0.109, -0.048).lineTo(-0.041, -0.048).lineTo(-0.041, 0.057).lineTo(-0.178, 0.057).lineTo(-0.178, -0.057).lineTo(0.178, -0.057...
21
76
0.048226
train_e83944cfae017fe1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.045, 0.316, 0.056), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.158, -0.479).lineTo(-0.158, 0.245).threePointArc((-0.152, 0.287), (-0.135, 0.325)).lineTo(-0.158, 0.325).lineTo(-0.265, 0.325).threePointArc((-0.006, 0.516), (0.253, 0.325)).three...
15
149
0.311492
train_855c6a791d7ff7b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.118, 0.323, -0.728), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.256, 0.752).extrude(1.137) result = result.union(cq.Workplane(cq.Plane(origin=(0.199, -0.207, -0.336), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.366, 0.34).extrude(0.33)) result = re...
4
41
1.372368
train_52d4906ad3043765
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.642, 0.537), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.573).sweep(cq.Workplane('YZ').spline([(-0.642, 0.537), (-0.327, 0.101), (-0.012, -0.118), (0.303, -0.118), (0.618, 0.101), (0.933, 0.537)])) result = result.edges().chamfer(0.424) res...
3
13
1.460089
train_2b148a597b84d75c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.304, 0.075), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.535, 0.364).lineTo(1, 0.364).lineTo(1, -0.364).lineTo(-1, -0.364).lineTo(-1, 0.364).lineTo(-0.535, 0.364).close().extrude(0.406) result = result.edges().chamfer(0.173) result = result...
27
278
0.275244
train_e71b7889ec45bb59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.156, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.191, -0.174).threePointArc((0, 0.538), (-0.191, -0.174)).threePointArc((0, -0.226), (0.191, -0.174)).close().extrude(2) result = result.edges().chamfer(0.052) result = result.cut(cq.Workpl...
6
56
0.889299
train_19ead0cd355d2668
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.267, 0.019, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.297, 0.105).extrude(0.23) result = result.union(cq.Workplane(cq.Plane(origin=(0.22, 0.004, 0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.034, 0.024).extrude(0.275)) result = resu...
8
51
0.026373
train_fbe74e4bb6928e12
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.285, 0.291, 0.046), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.225, 0.299).lineTo(0.225, 0.45).lineTo(-0.458, 0.45).lineTo(-0.458, 0.148).lineTo(0.225, 0.148).lineTo(0.225, 0.019).lineTo(0.458, 0.019).lineTo(0.458, 0.299).lineTo(0.225, 0.299)....
29
191
0.16177
train_022111b264e854fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.901, 0.684, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.837, 1.901).threePointArc((-0.765, 1.594), (-0.586, 1.335)).threePointArc((0, 1.096), (0.585, 1.335)).threePointArc((0.765, 1.594), (0.836, 1.901)).lineTo(0.837, 1.901).lineTo(0.837, ...
1
9
2.737954
train_5383326435eb5905
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, -0.009, 0.049), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.208, -0.624).lineTo(1.04, -0.624).lineTo(0.764, -0.348).lineTo(0.07, 0.348).lineTo(-0.07, 0.486).lineTo(-0.208, 0.624).lineTo(-0.347, 0.486).lineTo(-0.208, 0.348).lineTo(-0.208, ...
2
56
0.117106
train_453c4f17bc2fef74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.801, 0.036, -0.059), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.163, 0.036).lineTo(0.163, -0.126).lineTo(0.199, -0.163).lineTo(-0.199, -0.163).lineTo(-0.199, 0.163).lineTo(0.163, 0.163).lineTo(0.163, 0.036).close().sweep(cq.Workplane('XZ').sp...
13
34
0.06873
train_3ddee10dafd44b60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.396, 0.645, 0.13), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.266).threePointArc((0.87, 0.396), (0, -0.475)).threePointArc((-0.87, 0.396), (0, 1.266)).close().extrude(1.291) result = result.edges().chamfer(0.209) result = result.cut(cq.Work...
10
38
2.732012
train_c3838714eae700fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.671).extrude(0.325) result = result.union(cq.Workplane(cq.Plane(origin=(0.1, 0.084, 0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.8, 1.503).extrude(0.027)) result = result.union(cq.Wo...
4
16
1.211112
train_67829d7cf5de5849
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.73, -0.07, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.176).lineTo(-0.212, 0.223).threePointArc((-0.264, 0.2), (-0.258, 0.144)).threePointArc((-0.229, 0.128), (-0.198, 0.134)).lineTo(-0.111, -0.016).lineTo(-0.024, -0.167).lineTo(0, ...
3
27
0.053054
train_49fec748d04d3682
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.083, 0, -0.098), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.636, 0.918).lineTo(0.636, 0.154).lineTo(-0.384, 0.154).lineTo(-0.384, 0.112).lineTo(-0.636, 0.112).lineTo(-0.636, 0.154).lineTo(-0.534, 0.154).lineTo(-0.534, 0.353).lineTo(-0.485, 0.3...
10
88
2.602083
train_546d4532c99eb6db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.659, 2).extrude(0.224) result = result.union(cq.Workplane(cq.Plane(origin=(0.083, 0.1, 0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.493, 1.8).extrude(0.039)) result = result.union(cq.Wo...
5
17
0.872906
train_2529f255645c8583
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.983, 0.436, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.826, -0.411).lineTo(-0.826, 1.436).lineTo(0.826, 1.436).lineTo(0.826, -0.564).lineTo(-0.826, -0.564).lineTo(-0.826, -0.411).close().extrude(1.967) result = result.edges().fillet(0.127...
18
108
4.960769
train_f8bdc8aa9d63b82d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.15, -0.365, -0.456), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.283, 0.221).lineTo(0.283, 0.611).lineTo(0.274, 0.611).lineTo(0.274, 0.602).lineTo(-0.283, 0.602).lineTo(-0.283, 0.221).lineTo(0.283, 0.221).close().revolve(angleDegrees=270, axis...
18
95
0.474817
train_554435ca9b3fd8cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.352, -0.007, -0.378), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.248, -0.33).threePointArc((-0.239, -0.332), (-0.231, -0.334)).lineTo(-0.231, -0.382).threePointArc((0, -0.41), (0.231, -0.382)).lineTo(0.231, -0.334).threePointArc((0.239, -0.33...
12
47
0.357309
train_c1155ee0d2f984f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.779).workplane(offset=0.574).circle(0.836).workplane(offset=0.496).circle(0.944).workplane(offset=0.531).circle(0.799).workplane(offset=0.4).circle(0.74).loft() result = result.edges().chamfer...
7
24
3.474813
train_9ca4dba3c6478e42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, -0.097, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.132, 0.958).extrude(0.084) result = result.union(cq.Workplane(cq.Plane(origin=(0.027, -0.049, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.018, 0.862).extrude(0.009)) result =...
9
86
0.385149
train_f5c1a6a354a9c1e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.006, 0.456), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.283, 0.406).lineTo(-0.259, -0.018).lineTo(-0.238, -0.406).lineTo(0, -0.336).lineTo(0.282, -0.252).lineTo(0.282, 0.406).lineTo(-0.283, 0.406).close().workplane(offset=0.466).moveT...
6
45
0.830836
train_ff6703e71658aeb4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.038, -0.195), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.182, -0.441).threePointArc((0.294, -0.018), (-0.147, 0.441)).lineTo(-0.147, 0.147).threePointArc((-0.294, -0.001), (-0.147, -0.148)).lineTo(-0.147, -0.441).lineTo(-0.182, -0.441).cl...
10
48
0.496039
train_2d460c5f7655585c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.42, -0.03), normal=(1, 0, 0), xDir=(0, 0, 1))).lineTo(0.03, 1.42).lineTo(0.03, 0.977).lineTo(0.434, 0.977).lineTo(0.357, -0.286).threePointArc((0.282, -0.493), (0.08, -0.58)).lineTo(0.03, -0.58).lineTo(0.03, -0.154).lineTo(-0.294, -0.154).clo...
30
97
0.455906
train_076d064f0c096edc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.074, -0.059, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.947, 1.05).extrude(0.574) result = result.faces('>Z').shell(-0.03) result = result.union(cq.Workplane(cq.Plane(origin=(-0.608, -0.07, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).rec...
9
36
0.264143
train_2e8201b07bccccbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.153, 0, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.757, 2).extrude(0.89) result = result.union(cq.Workplane(cq.Plane(origin=(0.369, -0.276, 0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.326, 0.958).extrude(0.163)) result = result.cu...
13
97
0.831115
train_63b9134216eac8b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, -0.007, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.955, -0.009).lineTo(0.721, 0.711).lineTo(0.035, 1.007).lineTo(-0.732, 0.703).lineTo(-0.974, -0.014).lineTo(-0.685, -0.664).lineTo(-0.036, -0.993).lineTo(0.649, -0.714).close().move...
13
87
0.470069
train_9db816981e2fabe2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.192), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.686, -0.254).lineTo(0.801, 0).lineTo(0.915, 0.254).lineTo(-0.915, 0.254).lineTo(-0.801, 0).lineTo(-0.686, -0.254).lineTo(0.686, -0.254).close().workplane(offset=0.128).moveTo(0.651, -0.241...
7
58
0.279329
train_b75662e17490a28c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.627, -0.043, -0.408), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.373, 0.312).lineTo(-0.339, 0.254).lineTo(-0.199, 0.011).lineTo(-0.088, -0.312).threePointArc((-0.088, -0.267), (-0.058, -0.233)).lineTo(-0.026, -0.29).lineTo(0.008, -0.233).lin...
7
58
0.287553
train_c8b93146595cf850
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.235, -0.542, 0.219), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.243).workplane(offset=0.226).circle(0.31).workplane(offset=0.218).circle(0.287).workplane(offset=0.193).circle(0.306).loft() result = result.edges().fillet(0.09) result = result....
19
170
0.473211
train_a85b3d54612ea602
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.126, 0, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.987, 1.864).extrude(1.59) result = result.union(cq.Workplane(cq.Plane(origin=(-0.126 + 0.179 * math.cos(2.198 + 2 * math.pi * 0 / 5), 0 + 0.179 * math.sin(2.198 + 2 * math.pi * 0 / 5), -...
13
64
2.375435
train_dcfae823e44cbd89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.312, 0.267, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.526, -0.239).lineTo(0.447, -0.028).threePointArc((0.42, 0.166), (0.312, 0.33)).threePointArc((-0.122, 0.439), (-0.435, 0.119)).lineTo(-0.526, -0.239).lineTo(-0.374, -0.239).threePointAr...
1
9
0.338946
train_3a37313b40438da7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, 0, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.65, 2).extrude(0.505) result = result.cut(cq.Workplane(cq.Plane(origin=(0.029 + 0.467 * math.cos(2.4 + 2 * math.pi * 0 / 5), 0 + 0.467 * math.sin(2.4 + 2 * math.pi * 0 / 5), -0.329), nor...
18
56
1.26032
train_d651ddc20b4e9513
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.747, 0.179), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.497, -0.253).threePointArc((-0.042, 0.083), (0.497, 0.253)).lineTo(-0.497, -0.253).close().sweep(cq.Workplane('YZ').spline([(-0.747, 0.179), (-0.368, 0.179), (0.011, 0.139), (0.39, 0...
1
4
0.005305
train_586d4cd6e50cbfcd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.107, 0.011, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.287, 0.484).extrude(0.098) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.022, -0.024, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.062).extrude(0.028)) result = result....
23
187
0.198084
train_e03032188d4998fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.367, -0.161, 0.673), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.013, -0.006).lineTo(0.013, 0.009).lineTo(-0.005, 0.009).threePointArc((-0.013, 0.001), (-0.005, -0.006)).lineTo(0.013, -0.006).close().extrude(0.047) result = result.edges().chamf...
3
22
0.000017
train_fcb58f005c5bd5ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.074, 0.241, -0.025), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.164, 0.33).threePointArc((-0.165, 0.315), (-0.164, 0.3)).lineTo(-0.164, -0.173).lineTo(0.165, 0.186).threePointArc((0.101, 0.489), (-0.164, 0.33)).close().extrude(0.67) result = r...
15
134
0.191007
train_7a5bc3eb9b9d6ea3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, 0.1, -0.703), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.368, 1.242).extrude(1.033) result = result.union(cq.Workplane(cq.Plane(origin=(0.237, -0.618, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.167, 0.207).extrude(0.112)) result = r...
9
42
1.329359
train_bc63fc11c2e06cdc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.37), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.883, -0.834).lineTo(-0.883, -0.931).lineTo(0.883, -0.931).lineTo(0.883, 0.931).lineTo(-0.883, -0.834).close().workplane(offset=0.278).moveTo(-0.817, -0.773).lineTo(-0.817, -0.862).lineTo(0...
12
90
1.087754
train_cc6dc23a0a5890eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.092, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.627).extrude(0.644) result = result.union(cq.Workplane(cq.Plane(origin=(0.189, -0.164, -0.374), normal=(0, -1, 0), xDir=(0, 0, 1))).threePointArc((0.35, -0.072), (0.308, -0.235)).thr...
5
23
0.78902
train_d3ce7fbd9f2e1043
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.215, -0.058, -0.085), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.915, 0.058).lineTo(-0.915, 0.058).lineTo(-0.915, 0.44).lineTo(0.915, 0.44).lineTo(0.915, 0.058).close().revolve(angleDegrees=180, axisStart=(0.915, 0.058), axisEnd=(-0.915, 0.05...
4
33
0.068035
train_115e94f47f90b8fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.647, -0.002, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.353, -0.006).lineTo(0.173, 0.314).lineTo(-0.183, 0.301).lineTo(-0.35, 0.007).lineTo(-0.167, -0.302).lineTo(0.182, -0.311).close().moveTo(-0.064, -0.087).lineTo(0.065, -0.085).line...
17
88
0.081286
train_a22e579aa88596e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.116, 0, -0.56), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.632, 2).extrude(1.119) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.116, 0.674, -0.335), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.145, 0.369).threePointArc((-0.338, 0.674), ...
23
69
3.190614
train_3e0a6c0c6d85215d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.44, 0.178, 0.721), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.322).workplane(offset=0.238).circle(0.336).workplane(offset=0.207).circle(0.366).workplane(offset=0.165).circle(0.336).workplane(offset=0.195).circle(0.323).workplane(offset=0.183)...
15
115
0.347472
train_ce7baf30e06fcfd5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.135, 0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.029).lineTo(-1, 0.002).lineTo(0.125, -0.037).lineTo(0.391, -0.047).lineTo(0.625, -0.055).lineTo(1, -0.068).lineTo(1, 0.068).lineTo(0.625, 0.068).lineTo(0.625, -0.037).lineTo(0.391, ...
2
14
0.009503
train_dd59b9241b7c7d7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.366, -0.324, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.283, -0.407).lineTo(-0.364, -0.326).lineTo(0.202, 0.24).lineTo(0.222, 0.26).threePointArc((0.283, 0.407), (0.344, 0.26)).lineTo(0.364, 0.24).lineTo(-0.283, -0.407).close().revolve(an...
2
9
0.296825
train_18f325b613353222
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.09, 0.155, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.09, 0.018).lineTo(-0.493, 0.33).lineTo(-0.91, -0.184).lineTo(-0.296, -0.64).lineTo(-0.119, -0.602).close().center(-0.438, 0.211).rect(0.358, 0.224).moveTo(0.975, -0.059).lineTo(0.9...
16
77
0.358669
train_a08fd57f1c0c4a42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.682, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.76, -0.318).lineTo(0.76, -0.318).lineTo(0.55, -0.041).lineTo(0.76, 0.002).lineTo(0.76, 1.682).lineTo(-0.76, 1.682).lineTo(-0.76, -0.318).close().revolve(angleDegrees=90, axisStart=(-0.76...
10
54
4.311797
train_f336bd0878ee9271
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.372, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(1.132, 0.7).threePointArc((0, 0.67), (-1.132, 0.7)).lineTo(0, 0.046).lineTo(1.132, 0.7).close().extrude(2) result = result.edges().fillet(0.052) result = result.cut(cq.Workplane(cq.Plane(or...
33
113
0.674693
train_098c3c000069bebe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.668, 0.007, -0.947), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.018, -0.166).threePointArc((-0.332, 0.165), (0.018, 0.496)).threePointArc((0.332, 0.165), (0.018, -0.166)).close().extrude(1.264) result = result.edges().chamfer(0.231) result = r...
33
358
0.800693
train_37e2aff3ad7b7ed3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.241, -0.118, 0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.598, -0.131).lineTo(0.598, -0.131).lineTo(0.598, 0.722).lineTo(-0.598, 0.722).lineTo(-0.598, -0.131).close().extrude(0.882) result = result.edges().chamfer(0.093) result = resul...
29
216
0.59431
train_0f13bbd4f17d43b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.053, 0.342).extrude(0.317) result = result.union(cq.Workplane(cq.Plane(origin=(-0.776, -0.063, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.448, 0.147).extrude(0.146)) result = res...
11
112
0.102032
train_f81d55b70a1a6ecc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.466, -0.656), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.083, 1.068).extrude(1.082) result = result.faces('<X').shell(-0.108) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.466, 0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.086, 0....
6
35
0.953699
train_dcc172f1184c7376
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.246, 0.769), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.217, 0.267).lineTo(0.217, -0.105).lineTo(0.203, -0.12).lineTo(-0.203, -0.12).lineTo(-0.203, -0.238).lineTo(0.203, -0.238).lineTo(0.217, -0.253).lineTo(0.217, -0.267).lineTo(-0.217, -0...
4
26
0.110382
train_93fccfc41ec2d3de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.593, -0.574, 0.002), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.176, 1.201).lineTo(-0.176, -0.757).lineTo(0.176, 0.717).lineTo(0.035, 0.911).lineTo(-0.176, 1.201).close().extrude(0.792) result = result.edges().fillet(0.046) result = result.cu...
28
126
0.172345
train_37f75273e915ab71
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.255, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.785, 1.49).extrude(0.69) result = result.faces('>Z').shell(-0.032) result = result.union(cq.Workplane(cq.Plane(origin=(0.147, -0.734, 0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.13...
4
49
0.291859
train_add0003b15feaf74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, 0.185, -0.027), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.614, -0.58).lineTo(0.586, -0.579).lineTo(0.581, 0.586).lineTo(-0.608, 0.583).close().moveTo(-0.251, 0.251).lineTo(-0.085, 0.251).lineTo(-0.084, 0.208).lineTo(-0.146, 0.207).lineTo...
16
116
0.071837
train_a8824b58401aa4ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.143, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.263).lineTo(1, 0.023).lineTo(-0.88, 0.023).threePointArc((-1, 0.143), (-0.88, 0.263)).lineTo(1, 0.263).close().extrude(0.465) result = result.edges().fillet(0.067) result = result....
5
52
0.196596
train_8d3e20a06298abac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.756), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(1).workplane(offset=0.759).circle(0.864).workplane(offset=0.752).circle(0.868).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.339 * math.cos(1.036 + 2 * math.pi * 0 / 5), 0 +...
8
59
3.252416
train_2ff7906895a4ee95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.823, -0.102, -0.054), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.115, 1.823).lineTo(0.115, 1.053).lineTo(-0.192, 1.053).lineTo(-0.192, 0.977).lineTo(0.115, 0.977).lineTo(0.115, -0.1).lineTo(-0.115, -0.1).lineTo(-0.115, -0.177).lineTo(0.192, -0...
17
63
0.133095
train_d8fea90aa4e21606
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.568, 0.022, 0.004), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.453, -0.013).lineTo(0.453, 0.092).lineTo(0.379, 0.087).lineTo(0.372, 0.066).lineTo(0.302, 0.061).lineTo(0.276, -0.013).lineTo(0.031, -0.013).lineTo(0.052, 0.044).lineTo(-0.214, 0....
6
37
0.065217
train_504393ab5de4ed2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.477, 0.014), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.444, 0.087).lineTo(-0.098, 0.087).threePointArc((0.231, 0.189), (0.444, 0.461)).lineTo(0.28, 0.563).threePointArc((0.155, 0.377), (-0.058, 0.304)).lineTo(-0.444, 0.304).lineTo(-0...
8
150
0.254352
train_49c56d2d906e42dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.375, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.68, 0.337).lineTo(0.68, -0.28).lineTo(0.699, -0.28).lineTo(0.699, 0.427).lineTo(-0.699, 0.427).lineTo(-0.699, 0.201).lineTo(-0.609, 0.201).lineTo(-0.609, 0.337).lineTo(0.68, 0.337).close(...
5
55
0.285643