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_2ea33caf1b38dfee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.364, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.388).extrude(0.392, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.364, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.224).extrude(0.636, both=True)) result = resul...
4
15
0.405237
train_1bcf02c7e5b9958d
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(0.325, 0.974).lineTo(0.325, 0.325).lineTo(0.974, 0.325).lineTo(0.974, -0.974).lineTo(0.325, -0.974).lineTo(0.325, -0.325).lineTo(-0.325, -0.325).lineTo(-0.325, -0.974).lineTo(-0.974, -0.974)....
20
42
2.500075
train_97c8a9f2e320cb7d
import cadquery as cq import math result = cq.Workplane('XY').box(1.853, 1.493, 2) result = result.edges().fillet(0.21) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.287).extrude(3.703, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm...
7
76
4.146199
train_19983e10a2722cbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.152, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.175, 0.285).threePointArc((0.194, 0.277), (0.202, 0.258)).lineTo(0.202, 0.046).threePointArc((0.194, 0.027), (0.175, 0.02)).lineTo(-0.175, 0.02).threePointArc((-0.194, 0.027), (-0.202, 0....
3
26
0.212116
train_5627c78ccdb53a5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.678, 0.522, -0.084), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.444, 0.445).lineTo(0.444, -0.339).threePointArc((-0.444, 0.053), (0.444, 0.445)).close().moveTo(-0.017, 0.256).threePointArc((0.033, 0.256), (0.077, 0.232)).threePointArc((0.124, ...
10
106
1.726862
train_f7f27d25b453ce75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.712, 0.535, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.166, 1.536).lineTo(0.555, 1.264).lineTo(0.92, 0.632).lineTo(0.832, -0.146).lineTo(0.11, -0.465).lineTo(-0.685, -0.373).lineTo(-0.92, 0.378).lineTo(-0.809, 1.097).lineTo(-0.166, 1.536)...
5
63
0.311863
train_84dd169de18aa109
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.071, 0.806, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.267, 0.999).threePointArc((0.267, 0.999), (0.535, 0.536)).threePointArc((0.267, 0.073), (-0.267, 0.073)).threePointArc((-0.535, 0.536), (-0.267, 0.999)).close().moveTo(0.023, 0.773).l...
18
1,204
1.559294
train_1212021c32fb58a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.267), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.795, 0.534).lineTo(0.912, 0.459).lineTo(1, 0.186).lineTo(1, 0).lineTo(0.822, 0).lineTo(0.822, 0.16).lineTo(0.723, 0.459).lineTo(0, 0.359).lineTo(0, 0.534).lineTo(0.795, 0.534).close(...
5
37
0.527029
train_6795362108a00c2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.29, 0.213, 0.133), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.187, 0.345).lineTo(0.786, 0.211).lineTo(0.677, -0.279).threePointArc((0.617, -0.345), (0.591, -0.26)).threePointArc((0.565, -0.174), (0.506, -0.24)).threePointArc((0.446, -0.307), ...
8
109
1.330137
train_c61dde97d0cad0f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.029, 0.003, -0.556), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.137, 0.883).lineTo(0.57, 0.739).threePointArc((0.689, 0.633), (0.815, 0.533)).lineTo(1.028, 0.092).threePointArc((1.022, -0.019), (1.026, -0.13)).lineTo(0.808, -0.561).threePointA...
6
62
1.237518
train_635cdd54f26772c2
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.629, 0.234).lineTo(0.794, 0.139).lineTo(0.95, -0.255).lineTo(0.987, -0.261).threePointArc((0.967, -0.325), (0.927, -0.288)).lineTo(0.781, -0.283).threePointArc((0.679, -0.187), (0.605, -0.322)).lineTo(0.526, -0.362).lineTo(0.485, -0.325).lineTo(0.43...
5
25
1.066171
train_269ea8ef914854bf
import cadquery as cq import math result = cq.Workplane('XY').circle(0.723).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.327).extrude(1, both=True)) result = result.cut(cq.Workplane('XY').circle(0.393).extrude(3, both=True)) result = res...
7
14
1.928026
train_feeec2402215cc7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.714, 1).lineTo(0.714, 0.842).lineTo(0.872, 0.842).lineTo(0.872, -0.865).lineTo(0.739, -0.865).lineTo(0.739, -1).lineTo(-0.678, -1).threePointArc((-0.815, -0.943), (-0.872, -0.805)).line...
9
110
0.685821
train_8422b684026c5d37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 1).lineTo(0.87, -1).lineTo(-0.87, -1).lineTo(-0.87, 1).lineTo(0.87, 1).close().extrude(0.179, taper=8.228) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.634, 0.033, -1.221), norm...
6
10
0.579253
train_7c608d88b9353739
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.59, 2).extrude(0.344) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.147, 0.844).lineTo(0.147, -0.844).lineTo(-0.147, -0.844).c...
9
43
0.215499
train_a0fbc0269fa74d24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.129, -0.467), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 1.129).threePointArc((0, 0.129), (-1, 1.129)).threePointArc((0, 2.129), (1, 1.129)).close().extrude(1.221) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 1.74, -5.155), normal=...
22
239
3.64724
train_761c7761fd0d9cb3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.763, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.377, 1.415).threePointArc((0.377, 1.415), (0.753, 0.763)).threePointArc((0.377, 0.11), (-0.377, 0.11)).threePointArc((-0.753, 0.763), (-0.377, 1.415)).close().extrude(2) result = result....
23
188
3.430094
train_80e5988161b04e30
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.263, 0, -0.257), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.299, 1.218).lineTo(0.299, 0.299).lineTo(0.376, 0.299).lineTo(0.376, 0).lineTo(0, 0).lineTo(0, 1.218).lineTo(0.299, 1.218).close().extrude(1, both=True) result = result.cut(cq.Workpla...
13
99
0.806324
train_1b9611a43e4ae3f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0.002, -0.918), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.656).lineTo(0.544, 0.346).threePointArc((0.568, 0.321), (0.588, 0.292)).lineTo(0.793, -0.066).threePointArc((0.743, -0.301), (0.791, -0.536)).threePointArc((0.598, -0.529), (0...
9
58
2.276259
train_595f29de6954c638
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.367, -0.323, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.053, 0.376).lineTo(0.158, 0.346).lineTo(0.319, 0.205).lineTo(0.38, 0).lineTo(0.319, -0.205).lineTo(0.158, -0.346).lineTo(-0.053, -0.376).lineTo(-0.249, -0.287).lineTo(-0.365, -0.106)...
3
18
1.614049
train_26750158c6d72fe2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1.059, 1).lineTo(1.059, 0.497).lineTo(0.25, 0.497).lineTo(0.25, -0.497).lineTo(1.059, -0.497).lineTo(1.059, -1).lineTo(-1.059, -1).lineTo(-1.059, -0.497).lineTo(-0.25, -0.497).lineTo(-0.25, 0.497).lineTo(-1.059, 0.497).lineTo(-1.059, 1).lineTo(1.059, ...
5
138
1.176199
train_c126dc125d0f0af5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.061, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.325, 0.623).threePointArc((0.325, 0.623), (0.649, 0.061)).threePointArc((0.325, -0.501), (-0.325, -0.501)).threePointArc((-0.649, 0.061), (-0.325, 0.623)).close().moveTo(0.021, 0.525...
11
392
1.270333
train_54c4880da7c7e5fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.461, 1).lineTo(0.461, 0.866).lineTo(0.595, 0.866).lineTo(0.595, -0.903).lineTo(0.498, -0.903).lineTo(0.498, -1).lineTo(-0.595, -1).lineTo(-0.595, 0.837).lineTo(-0.432, 1).lineTo(0.461, 1)....
17
318
0.376761
train_8bb849e1c3ba9358
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.097).lineTo(0.788, 0).lineTo(1, -0.097).lineTo(0.233, -0.097).lineTo(0.233, 0.097).lineTo(1, 0.097).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), nor...
12
44
0.301568
train_30137eccd0dced60
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(1, 0.309).lineTo(1, -0.332).lineTo(-0.953, -0.332).threePointArc((-0.981, -0.32), (-1, -0.292)).lineTo(-1, 0.292).threePointArc((-0.981, 0.32), (-0.952, 0.332)).lineTo(0.968, 0.332).threePoi...
12
31
0.194517
train_f66a386d06b0701e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.226, 0, 0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.101, 0.607).threePointArc((0.179, 0.56), (0.212, 0.449)).lineTo(0.212, 0.217).threePointArc((0.257, 0.064), (0.364, 0)).lineTo(0.47, 0).threePointArc((0.587, -0.07), (0.636, -0.237)).l...
18
118
0.17895
train_e143686e6d005927
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.32, 0.151).threePointArc((0.364, 0.133), (0.383, 0.088)).lineTo(0.383, -0.084).threePointArc((0.363, -0.131), (0.315, -0.151)).lineTo(-0.312, -0.151).threePointArc((-0.362, -0.131), (...
15
96
0.184765
train_21bac8df2e4907a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.724, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.234, 1.453).lineTo(0.234, 1.073).lineTo(0.719, 1.073).lineTo(0.719, 0.374).threePointArc((0.625, 0.367), (0.557, 0.302)).lineTo(0.395, 0.329).lineTo(0.234, 0.374).lineTo(0.234, -0.006).li...
4
38
2.716493
train_9a1a50ad432969c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.511, 0.348).threePointArc((0.57, 0.323), (0.595, 0.263)).lineTo(0.595, -0.294).threePointArc((0.58, -0.332), (0.541, -0.348)).lineTo(-0.595, -0.348).lineTo(-0.595, 0.31).threePointArc((-0....
5
19
0.245184
train_60eaeb193195bff7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.26, -0.422), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.378).lineTo(0.568, 0).lineTo(0.037, -0.378).lineTo(0, -0.347).threePointArc((-0.036, -0.338), (0.054, 0.345)).lineTo(0.096, 0.378).close().extrude(0.886).union(cq.Workplane(cq.P...
10
77
0.263427
train_7930baf284da3839
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.055), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.2).lineTo(0.857, 0).lineTo(1, -0.2).lineTo(0.189, -0.2).lineTo(0.189, 0.2).lineTo(1, 0.2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(...
15
129
0.627224
train_a2eba2d86b8abe82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.502, 1).lineTo(0.502, 0.6).lineTo(-0.359, 0.6).lineTo(-0.359, 0.2).lineTo(0.502, 0.2).lineTo(0.502, -1).lineTo(-0.502, -1).lineTo(-0.502, -0.6).lineTo(0.359, -0.6).lineTo(0.359, -0.2).lineT...
9
120
1.193306
train_9b437ed1640efe40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.999, 0, -0.407), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.344).threePointArc((0.243, 0.243), (0.344, 0)).threePointArc((0.243, -0.243), (0, -0.344)).threePointArc((-0.243, -0.243), (-0.344, 0)).threePointArc((-0.243, 0.243), (0, 0.344)).cl...
2
14
0.28503
train_84e73046de067ec4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.484).lineTo(1, -0.203).threePointArc((0.916, -0.403), (0.719, -0.484)).lineTo(-0.748, -0.484).lineTo(-1, -0.233).lineTo(-1, 0.154).threePointArc((-0.901, 0.388), (-0.67, 0.484)).lineTo(...
4
19
0.129708
train_f7baf8233dfb42cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.051, 0.293, -0.252), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.129, 0.482).threePointArc((0.432, 0.249), (0.482, -0.129)).threePointArc((0.249, -0.432), (-0.129, -0.482)).threePointArc((-0.432, -0.249), (-0.482, 0.129)).threePointArc((-0.249, ...
4
67
0.587377
train_03ed70a3114ed6f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.109, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.891, 0.708).lineTo(0.891, -0.708).lineTo(-0.891, -0.708).lineTo(-0.891, 0.708).lineTo(-0.495, 0.708).lineTo(-0.495, -0.311).lineTo(0.495, -0.311).lineTo(0.495, 0.708).lineTo(0.891, 0....
14
110
0.46017
train_d3d22e3dc9c26425
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, 0.004, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.195, 0.565).lineTo(0.438, 0.51).threePointArc((0.506, 0.315), (0.727, 0.301)).lineTo(0.871, 0.062).lineTo(0.83, -0.178).lineTo(0.951, -0.248).lineTo(0.992, -0.393).threePointArc((0.819,...
2
80
1.648205
train_6e6109d719f13513
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.124, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.167, 0.855).threePointArc((-0.05, 0.798), (0, 0.664)).lineTo(0, 0.495).threePointArc((0.054, 0.348), (0.181, 0.287)).lineTo(0.883, 0.287).threePointArc((0.96, 0.25), (1, 0.162)).lineT...
5
63
0.482713
train_ce6e91cebcf61e34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.491, -0.255, -0.62), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.177, 0.362).lineTo(0.177, -0.227).lineTo(0.224, -0.314).lineTo(0.237, -0.417).threePointArc((-0.072, -0.66), (-0.237, -0.227)).lineTo(-0.237, 0.362).lineTo(-0.17, 0.362).threePoint...
8
90
1.041469
train_f982231584afdd56
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.123, 1.756) result = result.edges().fillet(0.511) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.386).extrude(4.001, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
11
86
1.062801
train_a6298c9c49d2c49b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.231, -0.101, -0.571), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.271, 0.237).lineTo(0.271, -0.237).lineTo(-0.271, -0.237).lineTo(-0.271, 0.237).lineTo(-0.159, 0.237).lineTo(-0.159, -0.125).lineTo(0.159, -0.125).lineTo(0.159, 0.237).lineTo(0.27...
8
130
0.765041
train_4fd1320db0a1d58d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.071, 0.215, 0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.062, 0.215).lineTo(0.329, -0.081).lineTo(0.318, -0.141).lineTo(0.061, -0.215).threePointArc((0.013, -0.163), (-0.082, -0.205)).lineTo(-0.329, -0.096).lineTo(-0.062, 0.215).close()....
13
159
0.638048
train_2854ba1d56da3b8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.383, 0.686).threePointArc((0.536, 0.642), (0.6, 0.537)).lineTo(0.6, 0.247).threePointArc((0.647, 0.17), (0.759, 0.137)).lineTo(0.859, 0.137).threePointArc((0.958, 0.108), (1, 0.04)).lineTo(...
11
196
1.691577
train_ccf2f687823e7991
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.37), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.741).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.741).lineTo(-0.827, 0.741).lineTo(-0.827, 0.168).lineTo(0.827, 0.168).lineTo(0.827, 0.741).lineTo(1, 0.741).close().extrude(0.428, both=True...
10
61
0.432564
train_50e0afcc7ed15afa
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.735, 0.279).threePointArc((0.914, 0.243), (1, 0.157)).lineTo(1, -0.033).threePointArc((0.954, -0.075), (0.863, -0.093)).lineTo(0.756, -0.093).threePointArc((0.644, -0.114), (0.597, -0.167)).lineTo(0.597, -0.223).threePointArc((0.561, -0.262), (0.478...
7
51
0.379672
train_aca9ea5c7ccfadee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.099, -0.537), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, 0.176).lineTo(1, 0.031).lineTo(1, -0.014).lineTo(0.838, -0.176).lineTo(-0.857, -0.176).lineTo(-1, -0.033).lineTo(-1, 0.004).lineTo(-0.827, 0.176).lineTo(0.854, 0.176).close().extr...
7
31
0.460087
train_aa8d98db744de139
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.673), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.792, 0.862).lineTo(0.792, 0.654).lineTo(1, 0.654).lineTo(1, -0.632).lineTo(0.769, -0.632).lineTo(0.769, -0.862).lineTo(-1, -0.862).lineTo(-1, 0.475).threePointArc((-0.886, 0.749), (-0.612,...
11
44
2.728212
train_c832af7aa32b5225
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.836), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.462, 1.671).lineTo(0.462, 1.453).lineTo(0.582, 1.453).lineTo(0.582, 0.849).lineTo(1, 0.849).lineTo(1, 0.46).lineTo(0.735, 0.46).lineTo(0.735, 0).lineTo(0, 0).lineTo(0, 1.671).lineTo(0.462...
8
113
1.23394
train_5f6f618b14c831fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.751, 0.443, 0.174), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.23, 0.628).lineTo(0.23, 0.251).threePointArc((0, 0.021), (-0.23, 0.251)).lineTo(-0.23, 0.628).threePointArc((0, 0.858), (0.23, 0.628)).close().extrude(0.887) result = result.union(...
7
73
0.521584
train_1b7175c4340657d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.36, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.229).extrude(0.97) result = result.union(cq.Workplane(cq.Plane(origin=(-0.36, 0, -0.32), normal=(0.493, 0, 0.87), xDir=(0.87, 0, -0.493))).circle(0.541).extrude(1.21)) result = result....
6
21
0.404649
train_9cc53969e84ceb48
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.74, -0.107).lineTo(0.987, -0.163).lineTo(0.98, -0.201).lineTo(0.732, -0.155).lineTo(0.702, -0.258).lineTo(0.932, -0.365).lineTo(0.916, -0.401).lineTo(0.684, -0.304).lineTo(0.633, -0.399).l...
3
132
0.723204
train_53c5131b1aba42e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.107, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.557, 0.664).threePointArc((0.632, 0.632), (0.664, 0.557)).lineTo(0.664, -0.059).threePointArc((0.713, -0.173), (0.827, -0.221)).lineTo(0.97, -0.221).threePointArc((1.066, -0.262), (1....
18
89
0.617098
train_0a0c5b78e5321860
import cadquery as cq import math result = cq.Workplane('XY').box(1.847, 1.216, 2) result = result.edges().fillet(0.349) result = result.cut(cq.Workplane(cq.Plane(origin=(0.129, 0.399, -0.144), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(1.084, 0.207), (1.046, 0.098), (0.938, 0.001), (0.742, -0.011), (0.603, 0.104)])....
10
75
3.19843
train_f02684a178b0b087
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.822, 0.126, -0.005), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.213, 0.205).lineTo(0.213, -0.205).threePointArc((0, -0.418), (-0.213, -0.205)).lineTo(-0.213, 0.205).threePointArc((0, 0.418), (0.213, 0.205)).close().revolve(angleDegrees=270, ax...
16
123
0.999357
train_91d634eba1d2e29e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.452, 0.498).threePointArc((-0.367, 0.462), (-0.332, 0.377)).lineTo(-0.332, 0.221).threePointArc((-0.316, 0.182), (-0.277, 0.166)).lineTo(0.905, 0.166).threePointArc((0.966, 0.14), (1, 0.0...
27
511
0.779466
train_cc20ac7400a62617
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.224, 0, -0.091), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.771, 0.068).lineTo(0.703, 0).lineTo(0.771, -0.068).lineTo(0.272, -0.068).lineTo(0.272, 0.068).lineTo(0.771, 0.068).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
11
62
0.16828
train_6ffb742b34c443e6
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.191, 0.332).lineTo(0.38, -0.005).lineTo(0.182, -0.332).lineTo(-0.188, -0.329).lineTo(-0.38, 0.005).lineTo(-0.193, 0.331).lineTo(0.191, 0.332).close().extrude(1, taper=-1.512, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(3, 0, 0), nor...
3
30
0.815538
train_24ce9e71cace0845
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.8), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.764, 0.729).lineTo(1, 0.495).lineTo(1, -0.605).lineTo(0.87, -0.729).lineTo(-0.777, -0.729).lineTo(-1, -0.511).lineTo(-1, 0.729).lineTo(0.764, 0.729).close().extrude(1.599) result = result.un...
5
15
4.477308
train_0309dd0fd5e42f10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.167, 0, -0.775), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.617, 1).lineTo(-0.617, -0.492).lineTo(1.718, -0.492).lineTo(1.718, -1).lineTo(-1.718, -1).lineTo(-1.718, 1).lineTo(-0.617, 1).close().extrude(1.55) result = result.cut(cq.Workplane(cq...
9
70
3.013609
train_0faeca3b334c0a03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.669, 0.366, -0.042), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.042, 0.096).threePointArc((-0.002, 0.078), (0.042, 0.079)).lineTo(0.127, 0.064).threePointArc((0.207, -0.016), (0.127, -0.096)).lineTo(-0.127, -0.096).threePointArc((-0.207, -0....
10
170
0.687725
train_55c4ee2aa2a451db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.171, -0.165, -0.22), normal=(-0.437, 0.888, 0.144), xDir=(-0.897, -0.442, 0))).moveTo(-0.595, 0.306).threePointArc((0.595, 0.246), (0.157, -0.306)).lineTo(-0.107, -0.176).lineTo(-0.382, -0.049).threePointArc((-0.483, 0.031), (-0.499, 0.125)).li...
7
157
1.849855
train_0bb834739bfe5e2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.146, -0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.076, 0.295).threePointArc((0.119, 0.255), (0.112, 0.196)).lineTo(0.06, 0.097).lineTo(0.076, -0.003).threePointArc((-0.119, 0.146), (0.076, 0.295)).close().extrude(2) result = result....
11
71
0.097325
train_0427d33f3e545eb5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.826, 0.226).threePointArc((1, 0), (0.826, -0.226)).lineTo(0.276, -0.226).lineTo(-0.276, -0.226).lineTo(-0.826, -0.226).threePointArc((-1, 0), (-0.826, 0.226)).lineTo(-0.276, 0.226).lineTo(...
2
42
0.377678
train_f1a5c91365ee981a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.364, -0.024), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.259, 0.629).threePointArc((0.498, 0.545), (0.659, 0.378)).threePointArc((0.721, 0.153), (0.673, -0.095)).threePointArc((0.523, -0.329), (0.294, -0.511)).threePointArc((0.019, -0.617)...
4
80
0.712762
train_8ee79f76d66f70c7
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.02, 0.079).lineTo(0.043, 0.068).lineTo(0.064, 0.049).lineTo(0.076, 0.026).lineTo(0.08, 0).lineTo(0.076, -0.026).lineTo(0.064, -0.049).lineTo(0.043, -0.068).lineTo(0.02, -0.079).lineTo(-0.007, -0.08).lineTo(-0.033, -0.073).lineTo(-0.054, -0.06).lineT...
9
91
0.032783
train_74f39f0a4595fa00
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.411, -0.08, -0.036), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.212, 0.709).lineTo(0.212, 0.043).threePointArc((-0.212, 0.376), (0.212, 0.709)).close().extrude(0.141) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.232, 0.213, -0.354), no...
21
74
0.313742
train_d1a9fb43083cc303
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.844, 0.199).threePointArc((0.985, 0.174), (0.898, 0.028)).lineTo(0.895, -0.016).threePointArc((0.84, -0.048), (0.874, -0.127)).lineTo(0.833, -0.263).threePointArc((0.757, -0.273), (0.715, -0.338)).lineTo(0.32, -0.275).lineTo(0.319, -0.066).lineTo(0....
2
23
0.551527
train_a678d40ddce6848d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, -0.001, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.817, 1.001).lineTo(-0.327, 0.779).lineTo(0.163, 0.334).lineTo(0.653, -0.222).lineTo(0.98, -1.001).lineTo(-0.98, -0.89).lineTo(-0.817, 1.001).close().extrude(0.212) result = resul...
5
83
0.473217
train_d0a6ef899d077636
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.247, 0.204).workplane(offset=2).rect(0.667, 0.102).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.103, -0.577), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.043, 0.318).lineTo(0.0...
8
43
0.102764
train_c437881da7932570
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.946, 0.321).lineTo(0.946, 0.267).lineTo(1, 0.267).lineTo(1, -0.25).threePointArc((0.979, -0.3), (0.929, -0.321)).lineTo(-0.936, -0.321).lineTo(-1, -0.257).lineTo(-1, 0.264).lineTo(-0.943, ...
11
190
0.311025
train_db2c62e0ec1f526a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, -0.649, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.311, 0.259).lineTo(0.311, 0.155).lineTo(-0.207, 0.155).lineTo(-0.207, 0.052).lineTo(0.311, 0.052).lineTo(0.311, -0.259).lineTo(-0.311, -0.259).lineTo(-0.311, -0.155).lineTo(0.207,...
14
243
1.068044
train_91b32bab2636cae4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.686, 0.446, -8.286), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.75, 1.138).threePointArc((0.91, 0.491), (1.339, -0.072)).lineTo(0.754, -1.138).threePointArc((0.064, -0.974), (-0.653, -1.029)).threePointArc((-0.957, -0.531), (-1.339, -0.069)).l...
9
48
0.93104
train_247b64451926cf2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.682, -0.534, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.438, 0.175).threePointArc((0.413, 0.112), (0.35, 0.086)).lineTo(-0.341, 0.086).threePointArc((-0.403, 0.112), (-0.429, 0.175)).lineTo(-0.407, 0.354).threePointArc((-0.404, 0.474), (-0...
5
231
2.010144
train_2d718dd7bda59d6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.04, 0.051, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.189, 0.756).lineTo(0.568, 0.568).lineTo(0.568, 0.379).lineTo(0.189, 0).lineTo(0.189, -0.945).lineTo(-0.189, -0.945).lineTo(-0.189, 0).lineTo(-0.568, 0.379).lineTo(-0.568, 0.568).lin...
4
84
0.206402
train_50c40e9e2c2145ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.658, 0.179, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.133).lineTo(0.1, 0).lineTo(0.033, 0).lineTo(0.033, -0.133).lineTo(-0.1, -0.133).lineTo(-0.1, 0).lineTo(-0.033, 0).lineTo(-0.033, 0.067).lineTo(0.033, 0.067).lineTo(0.033, 0.13...
13
81
1.73104
train_9052942b85db415c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.552), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.858, 0.714).lineTo(0.979, 0.593).lineTo(0.979, -0.497).lineTo(0.763, -0.714).lineTo(-0.905, -0.714).lineTo(-0.979, -0.637).lineTo(-0.979, 0.714).lineTo(0.858, 0.714).close().extrude(0.469)...
9
36
2.462638
train_86940adecbb021e1
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.494).extrude(0.719) result = result.cut(cq.Workplane(cq.Plane(origin=(0.494, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.095, 0.29), (-0.341, 0.47), (-0.647, 0.47), (-0....
7
83
0.763117
train_7087c42bdb410868
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.114, 0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, -0.247).lineTo(-1, 0.558).lineTo(-0.814, 0.558).lineTo(-0.814, -0.247).lineTo(-0.633, -0.247).lineTo(-0.633, 0.558).lineTo(-0.453, 0.558).lineTo(-0.453, -0.247).lineTo(-0.272, -0.247)...
10
128
0.574218
train_e86b9589899b7e14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.461, 0.699).threePointArc((-0.37, 0.683), (-0.332, 0.645)).lineTo(-0.332, -0.036).threePointArc((-0.259, -0.109), (-0.086, -0.139)).lineTo(0.088, -0.139).threePointArc((0.259, -0.11),...
28
142
0.637229
train_ffd8263d8042691a
import cadquery as cq import math result = cq.Workplane('XY').circle(0.413).extrude(0.224, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.264).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
5
61
0.231717
train_005daea4f5d51781
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.463).lineTo(0.636, 0).lineTo(1, -0.463).lineTo(0.358, -0.463).lineTo(0.358, 0.463).lineTo(1, 0.463).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane('XY').circle(0.478).extrude(1.846, both...
15
125
0.605879
train_7dce2f171a03b1d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.088, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.389, 0.714).lineTo(0.815, 0.361).lineTo(0.778, -0.204).lineTo(0.372, -0.532).lineTo(-0.081, -0.538).lineTo(-0.59, -0.456).lineTo(-0.815, 0.059).lineTo(-0.453, 0.457).lineTo(-0.094, 0.69).l...
14
222
2.586109
train_39ac78af386962f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.404, -0.248, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.809).threePointArc((0.571, 0.571), (0.809, 0)).lineTo(0.422, 0).threePointArc((0.298, 0.298), (0, 0.422)).lineTo(0, 0.809).close().extrude(2) result = result.union(cq.Workplane(cq...
9
77
0.67221
train_2438393a963c1e24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.227, 0.99).lineTo(0.679, 0.794).threePointArc((0.751, 0.714), (0.828, 0.64)).lineTo(1.002, 0.199).threePointArc((0.991, -0.002), (1, -0.202)).lineTo(0.841, -0.591).threePointArc((0.745, -0....
4
98
1.296305
train_4f76f2855e141005
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.514, 2).extrude(0.437) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.021, 0.764).lineTo(0.021, -0.764).lineTo(-0.021, -0.764)....
4
23
0.153479
train_af9c325504a019e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.25, 0.057, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.108, 0.717).lineTo(0.265, 0.675).threePointArc((0.313, 0.459), (0.409, 0.6)).lineTo(0.533, 0.494).threePointArc((0.481, 0.278), (0.629, 0.363)).lineTo(0.693, 0.214).threePointArc((0...
19
141
0.634499
train_8c5195eca79532bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.651, 2).extrude(0.635) result = result.cut(cq.Workplane(cq.Plane(origin=(0.569, 0.796, -0.005), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.01, 0.573).threePointArc((0.235, 0.557), (0.297, 0...
17
143
1.131344
train_b26d1a4eace0cd8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.382), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 0.376).lineTo(0.774, 0.163).lineTo(0.984, 0.163).lineTo(0.984, -0.17).lineTo(0.779, -0.17).lineTo(0.779, -0.376).lineTo(-0.801, -0.376).lineTo(-0.801, -0.191).lineTo(-0.984, -0.191).l...
20
164
0.285641
train_7e0bf147277ae207
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.034, -0.048, -0.214), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.092).lineTo(0.951, -0.092).lineTo(0.771, -0.092).lineTo(0.771, 0.092).lineTo(0.827, 0.092).lineTo(0.827, 0.025).lineTo(0.894, 0.025).lineTo(0.894, 0.092).lineTo(0.951, 0....
5
71
1.281375
train_8f0b30b77e84e070
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.458, 0.024, 0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.567, -0.189).threePointArc((-0.945, -0.189), (-0.567, 0.189)).threePointArc((-0.189, 0.945), (0.189, 0.945)).threePointArc((0.945, 0.567), (0.945, 0.189)).threePointArc((0.189, -0....
11
135
0.390534
train_ca2fbb7bbbf2f02b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.403, 0.693).threePointArc((0.624, 0.572), (0.718, 0.288)).lineTo(0.718, -0.61).threePointArc((0.699, -0.668), (0.654, -0.693)).lineTo(0.426, -0.693).threePointArc((0.379, -0.667), (0....
18
205
0.579789
train_9aa3c9d5b80c7782
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.192, -0.733), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.902, 0.3).lineTo(0.552, 0.094).lineTo(0.562, -0.037).lineTo(0.599, -0.053).lineTo(1, -0.053).lineTo(0.928, -0.258).lineTo(0.783, -0.427).lineTo(0.58, -0.077).threePointArc((0.54, -0.05...
4
228
1.911624
train_1c435e09a6d13791
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.246, 0.819, 0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.063, 1.212).threePointArc((0.277, 1.064), (0.446, 0.905)).threePointArc((0.609, 0.762), (0.781, 0.609)).threePointArc((0.931, 0.411), (0.995, 0.166)).threePointArc((0.933, -0.08), ...
3
26
4.052888
train_9576842d506e6d3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.421, 0.137).lineTo(0.421, -0.055).threePointArc((0.396, -0.112), (0.337, -0.137)).lineTo(-0.302, -0.137).lineTo(-0.302, -0.019).lineTo(-0.421, -0.019).lineTo(-0.421, 0.049).lineTo(-0.332, ...
7
44
0.261965
train_35a436a244af8022
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.18, -0.118, -0.476), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, -0.173).lineTo(0.145, -0.196).threePointArc((0.158, -0.197), (0.169, -0.19)).lineTo(0.193, -0.161).threePointArc((0.198, -0.15), (0.194, -0.139)).lineTo(0.097, -0.004).threePo...
8
176
0.539572
train_73fd2cce502f64bc
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.189, 0.189).threePointArc((0.212, 0.179), (0.221, 0.156)).lineTo(0.221, -0.125).threePointArc((0.202, -0.17), (0.157, -0.189)).lineTo(-0.168, -0.189).threePointArc((-0.205, -0.173), (-0.221, -...
4
25
0.22584
train_d04554fb37de4b8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.172, 0.111, -0.565), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, 0.326).threePointArc((0.804, 0.307), (0.823, 0.256)).lineTo(0.823, -0.255).lineTo(0.753, -0.326).lineTo(-0.762, -0.326).lineTo(-0.823, -0.264).lineTo(-0.823, 0.262).lineTo(-0...
11
39
1.434586
train_6c76eade365476af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.923).extrude(0.251) result = result.cut(cq.Workplane(cq.Plane(origin=(0.931, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.347, 0.722), (-1.129, 0.899), (-1.755, 0.4),...
4
31
1.149301
train_95d857f8f2edde5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.378, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.265, 2).lineTo(0.265, 0.265).lineTo(0.757, 0.265).lineTo(0.757, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.265, 2).close().extrude(0.257, both=True) result = result.cut(cq.Workplane(cq.Plane(...
7
48
0.184705
train_aa6a1effbb8ba29a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.112, 0.106, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.008, 0.37).threePointArc((1.185, 0.352), (1.259, 0.311)).lineTo(1.259, 0.128).threePointArc((1.191, 0.09), (1.029, 0.074)).lineTo(0.855, 0.074).threePointArc((0.697, 0.058), (0.63,...
27
140
0.104884