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_633eaa8eda11002f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.07, -0.081, 0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.234, 0.371).extrude(0.322) result = result.union(cq.Workplane(cq.Plane(origin=(0.197, -0.081, 0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.338, 0.189).extrude(0.105)) result = r...
7
53
0.139402
train_aa63035a7c553a82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.117, -0.011, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.332, 0.44).extrude(0.542) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.092, -0.112, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.45, 0.251).extrude(0.256)) result = re...
34
102
0.195253
train_c59e67f677e4438d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.148, -0.212, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.522, 0.785).lineTo(-0.522, -0.081).threePointArc((0, -0.603), (0.522, -0.081)).lineTo(0.522, 0.785).lineTo(0.091, 0.785).threePointArc((0, 0.763), (-0.091, 0.785)).lineTo(-0.522, 0.7...
18
201
1.947244
train_98dd4483ce098d57
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.217).workplane(offset=0.916).circle(0.146).workplane(offset=1.084).circle(0.243).loft() result = result.edges().chamfer(0.147) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.445, 0.058, ...
5
11
0.156899
train_326e8f2ff1833fad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.39, 1).lineTo(0.39, 1).lineTo(0.39, 0.22).lineTo(-0.39, 0.22).lineTo(-0.39, 1).close().revolve(angleDegrees=360, axisStart=(0, 0), axisEnd=(0.547, 0)) result = result.edges().fillet(0.207) res...
7
29
2.140699
train_d3f2ae18f0533114
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.921, 0.349, 0.207), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.079, 0.137).lineTo(-0.079, -0.059).threePointArc((0, -0.137), (0.079, -0.059)).lineTo(0.079, 0.137).lineTo(-0.079, 0.137).close().transformed(offset=(0.186, 0.102, 0.059), rotate...
1
6
0.022265
train_a350516d17a152a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.657, -0.036, 0.141), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.128).sweep(cq.Workplane('XZ').spline([(-0.615, -0.045), (-0.53, -0.089), (-0.465, -0.02), (-0.508, 0.068), (-0.608, 0.05)])) result = result.edges().chamfer(0.032) result = resul...
8
64
0.168208
train_25f62764717a7109
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.439, -0.608, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.823, 1.391).lineTo(0.823, -0.175).lineTo(0.543, -0.175).lineTo(0.543, -0.256).lineTo(0.198, -0.256).lineTo(0.198, -0.175).lineTo(-0.198, -0.175).lineTo(-0.198, -0.256).lineTo(-0.543, ...
8
50
3.502966
train_772010a1d4bb9eb0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.389, -0.669, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.635, 0.661).extrude(0.521) result = result.union(cq.Workplane(cq.Plane(origin=(-0.951, -0.669, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.516, 0.438).extrude(0.288)) result...
11
97
0.296875
train_1e99ff6fe1a5afa6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.135, 0.116).extrude(0.23) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.004, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.095, 0.076).extrude(0.113)) result = result.u...
12
71
0.011579
train_6948ecfa6109619b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.128, 0.311, -0.331), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.056, 0.254).lineTo(0, 0.254).lineTo(0, 0.158).threePointArc((-0.01, 0.126), (-0.037, 0.105)).lineTo(-0.037, 0.068).lineTo(-0.037, 0.031).lineTo(-0.037, -0.118).lineTo(-0.056, -0.11...
10
366
0.377619
train_fbb4cb5948636797
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0.048, -0.352), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.608, -0.136).threePointArc((0.619, -0.094), (0.626, -0.053)).threePointArc((-0.626, 0.242), (0.566, -0.242)).threePointArc((0.59, -0.19), (0.608, -0.136)).close().sweep(cq.Workpla...
9
67
0.607778
train_1dcb2c5b9b4b37e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.746, 0.544, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.937, 0.132).lineTo(-0.937, 0.132).lineTo(-0.937, 0.457).lineTo(-0.187, 0.457).lineTo(-0.187, 1.036).lineTo(-0.937, 1.036).lineTo(-0.937, 1.361).lineTo(0.937, 1.361).lineTo(0.937, 0.132...
19
194
2.249938
train_126185856cfb6877
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.411).extrude(0.722) result = result.cut(cq.Workplane(cq.Plane(origin=(0.744, 0.106, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.539, 0.916).extrude(0.244)) result = result.cut(cq.W...
9
54
1.798146
train_f08d1c344a491c07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.442, 0.04, 0.052), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.249, -0.96).lineTo(-0.249, 0.96).lineTo(0.249, 0.96).lineTo(0.249, -0.96).lineTo(-0.249, -0.96).close().sweep(cq.Workplane('XZ').spline([(0.189, -0.269), (0.113, -0.127), (-0.151,...
13
53
0.76523
train_56d8217eeb3dc599
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.518), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.959).extrude(1.036) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.302, -0.346, -0.694), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.677, 0.596).extrude(1.242)) result = result.cut(cq...
4
15
3.49714
train_38b50f25f8b6b19e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.145, 0.062, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1.054, 0.748).threePointArc((0, 0.058), (1.054, 0.748)).lineTo(-1.054, 0.748).close().extrude(0.469) result = result.edges().chamfer(0.12) result = result.cut(cq.Workplane(cq.Plane(orig...
8
54
0.426208
train_2cb87069dd47dc66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.983, -0.273, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.281, -0.306).lineTo(-0.015, 0.106).lineTo(-0.144, 0.306).lineTo(0.114, 0.306).lineTo(0.13, 0.332).lineTo(0.144, 0.306).lineTo(0.015, 0.106).lineTo(0.281, -0.306).lineTo(0.267, -0.33...
1
14
0.035118
train_49a8bb576c9c150b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.569, 0.062, -0.3), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.476, -0.98).threePointArc((-0.172, -0.023), (-0.549, 1.07)).threePointArc((0.549, 0.338), (0.476, -0.98)).close().extrude(1.138) result = result.edges().fillet(0.06) result = result...
7
26
1.290063
train_efe2d225322fad07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.399).lineTo(1, 0.399).lineTo(1, 0.023).lineTo(-1, 0.023).lineTo(-1, 0.398).close().revolve(angleDegrees=270, axisStart=(0, 0), axisEnd=(0.913, 0)) result = result.cut(cq.Workplane(cq.Plane(...
3
13
0.712256
train_5b8bbd7dfa408d31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.952, 0.002), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.202, 0.045).lineTo(0.201, 0.048).lineTo(-0.021, -0.044).lineTo(-0.199, 0.047).lineTo(-0.202, 0.045).lineTo(-0.021, -0.048).lineTo(0.202, 0.045).close().sweep(cq.Workplane('YZ').spline...
1
8
0.003096
train_4e6d8412e1365b99
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.89).workplane(offset=0.402).circle(0.657).workplane(offset=0.412).circle(0.574).workplane(offset=0.419).circle(0.457).workplane(offset=0.408).circle(0.164).workplane(offset=0.359).circle(0.118...
6
21
1.217833
train_df9362abf93347be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.495, -0.172, -0.047), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.39, 0.777).lineTo(-0.39, -0.315).lineTo(0.016, -0.315).threePointArc((0.28, -0.205), (0.39, 0.06)).lineTo(0.39, 0.402).threePointArc((0.28, 0.667), (0.016, 0.777)).lineTo(-0.39,...
11
92
0.887842
train_30caa6675c3ee5e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.368, 0.286).extrude(0.551) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.072).extrude(0.349)) result = result.union(cq.Workpla...
13
113
0.083934
train_bf1e09fa4c4de4d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.402, -0.23, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.345, 0.854).lineTo(-0.035, 0.992).lineTo(-0.053, 0.941).lineTo(-0.102, 0.783).lineTo(-0.162, 0.57).lineTo(-0.214, 0.354).lineTo(-0.257, 0.134).lineTo(-0.293, -0.088).lineTo(-0.319, -0....
4
36
0.609749
train_ce96caa69cdf7b8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 1, -0.002), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.854, 0.504).lineTo(0.102, 0.504).threePointArc((0.854, 1.332), (-0.044, 1.999)).lineTo(-0.854, 1.999).lineTo(-0.854, 0.504).close().revolve(angleDegrees=90, axisStart=(0, 0), axisEnd=(0....
13
63
4.137745
train_4f753c6b8d98b6ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.235), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.308).workplane(offset=0.163).circle(0.207).workplane(offset=0.152).circle(0.24).workplane(offset=0.142).circle(0.319).workplane(offset=0.174).circle(0.255).workplane(offset=0.134).circle(...
13
217
0.217371
train_3833c2dfd0dfe4e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.17, -0.29, 0.123), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.418, 0.244).lineTo(0.418, -0.244).lineTo(-0.418, -0.244).lineTo(-0.418, 0.244).lineTo(0.418, 0.244).close().sweep(cq.Workplane('XZ').spline([(-0.17, 0.123), (-0.325, 0.185), (-0.51...
7
55
0.410395
train_d0f9aa80c0bb6804
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.742, 0.619, -0.238), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.765, 0.992).threePointArc((-0.122, 1.423), (-0.781, 0.689)).threePointArc((0.173, -0.189), (0.781, 0.957)).lineTo(0.765, 0.992).close().workplane(offset=0.221).moveTo(0.534, 0.879...
6
30
1.042066
train_84def068997b4f01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.218, 0, -0.027), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.565, 1.364).extrude(0.054) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.408 + 0.125, -0.546 + 0.182, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.059, -0.02).lineTo(0.059...
17
99
0.117196
train_e2b97dc4ed0d522a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.728, -0.2), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.425, -0.272).lineTo(-0.425, -0.106).threePointArc((-0.411, -0.009), (-0.368, 0.08)).threePointArc((-0.249, 0.188), (-0.093, 0.227)).lineTo(-0.059, 0.227).lineTo(-0.059, 0.272).lineTo(...
10
67
0.089954
train_c3e9802affc0059d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.452, -0.297), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.638).sweep(cq.Workplane('YZ').spline([(-0.452, -0.297), (-0.233, -0.038), (-0.015, 0.118), (0.204, 0.17), (0.422, 0.118), (0.64, -0.038), (0.859, -0.297)])) result = result.edges().c...
14
62
0.95453
train_681f0bc204dc3295
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.274, -0.101, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.452, 1.052).extrude(0.39) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.274 + 0.073 * math.cos(0.018 + 2 * math.pi * 0 / 5), 0.094 + 0.073 * math.sin(0.018 + 2 * math.pi * 0...
15
40
0.534949
train_1b3a509929d3d6bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.375, 0, 0.375), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.041, 0.116).lineTo(-0.625, 0.198).lineTo(-0.302, 0.096).lineTo(0.429, -0.136).lineTo(0.625, -0.198).lineTo(0.097, 0.166).lineTo(0.041, 0.116).close().sweep(cq.Workplane('XZ').spline([(0...
4
60
0.002639
train_e5dfa3733aab237a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.193, -0.706), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.653, 1.614).extrude(1.413) result = result.union(cq.Workplane(cq.Plane(origin=(0 + 0.327 * math.cos(4.954 + 2 * math.pi * 0 / 4), 0.513 + 0.327 * math.sin(4.954 + 2 * math.pi * 0 / 4), ...
9
50
3.553764
train_5cda74b6e464e168
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.041, 0.026, -0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.711, 0.946).extrude(0.549) result = result.union(cq.Workplane(cq.Plane(origin=(0.555, 0.537, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.096, 0.079).extrude(0.062)) result = r...
6
28
0.891343
train_82170823159f55b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.672, -0.254, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.243, 0.218).lineTo(-0.243, 0.104).lineTo(-0.328, 0.104).lineTo(-0.328, 0.066).lineTo(-0.243, 0.066).lineTo(-0.243, -0.218).lineTo(0.243, -0.218).lineTo(0.243, 0.066).lineTo(0.328...
2
23
0.159547
train_2c7c564655c41a35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.682, 0, 0.21), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.318, -0.486).lineTo(0.167, -0.486).lineTo(0.167, -0.418).threePointArc((0.318, -0.267), (0.167, -0.117)).lineTo(0.167, -0.048).lineTo(-0.318, 0.486).lineTo(-0.318, -0.486).close().swe...
8
52
0.550378
train_cde04c0d71043839
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.469, -0.169, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0).lineTo(0.275, 0.464).lineTo(-0.276, 0.463).lineTo(-0.533, 0.005).lineTo(-0.262, -0.472).lineTo(0.264, -0.461).close().moveTo(-0.121, 0.036).lineTo(0.12, 0.039).lineTo(0.11...
15
150
0.075915
train_d6446e2f663610a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.823, -0.583, 0.363), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.581, -0.12).threePointArc((0.637, 0.16), (0.572, 0.439)).threePointArc((-0.033, 0.82), (-0.637, 0.439)).lineTo(-0.203, 0.439).threePointArc((-0.033, 0.485), (0.137, 0.439)).threeP...
18
125
0.55584
train_9f80c7703ef708bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, 0.018, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.641, 0.826).extrude(0.319) result = result.union(cq.Workplane(cq.Plane(origin=(-0.292, -0.066, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.091).extrude(0.14)) result = resul...
17
100
0.573079
train_00e3162302bb52c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.534, -0.256, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.031, 0.101).threePointArc((-0.033, 0.081), (-0.023, 0.064)).threePointArc((-0.047, 0.049), (-0.063, 0.026)).threePointArc((-0.068, 0), (-0.063, -0.026)).threePointArc((-0.047, -...
13
147
0.257801
train_76590a0a5f3a9cca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.814, -0.581, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.482, -0.121).threePointArc((0.311, -0.191), (0.241, -0.361)).lineTo(-0.241, -0.361).threePointArc((-0.311, -0.191), (-0.482, -0.121)).lineTo(-0.482, 0.361).lineTo(-0.241, 0.361).lineTo...
1
10
0.548577
train_36332eed854ac046
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.441, -0.06, 0.07), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.091, 0.051).threePointArc((-0.293, 0.435), (0.091, 0.638)).threePointArc((0.293, 0.253), (-0.091, 0.051)).close().extrude(0.559) result = result.edges().fillet(0.104) result = resul...
13
49
0.201763
train_663e1e21ab9c8520
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.572), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.946, 1.723).extrude(1.225) result = result.union(cq.Workplane(cq.Plane(origin=(-0.133, -0.276, 0.617), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.25, 0.555).extrude(0.383)) result = result.un...
8
35
1.725225
train_293ec976c09b5623
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.098), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.428, -0.813).lineTo(-0.428, -0.813).threePointArc((-0.246, 0.037), (0.142, 0.813)).lineTo(0.428, 0.813).lineTo(0.428, -0.813).close().sweep(cq.Workplane('XZ').spline([(-0.729, -0.51), (-0.2...
6
21
1.929212
train_ede5f5d8acbc8a9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.501, 0.377, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.428, -0.458).lineTo(-0.013, 0.187).lineTo(-0.214, 0.499).lineTo(0.236, 0.499).lineTo(0.035, 0.187).lineTo(0.011, 0.149).lineTo(0.402, -0.458).lineTo(0.428, -0.499).lineTo(-0.406, -0.4...
6
40
0.084196
train_2860224adabf0030
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, -0.268, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.724, 0.029).lineTo(0.53, 0.507).lineTo(-0.011, 0.747).lineTo(-0.524, 0.529).lineTo(-0.739, 0.019).lineTo(-0.533, -0.497).lineTo(0.017, -0.732).lineTo(0.509, -0.548).close().moveTo...
7
100
0.18434
train_e3ca4cacf96afc88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.949, 0.037, -0.031), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.042, 0.041).lineTo(-0.036, 0.03).threePointArc((-0.044, 0.028), (-0.051, 0.032)).lineTo(-0.019, 0).lineTo(-0.008, -0.043).threePointArc((0.005, -0.053), (0.017, -0.043)).threePo...
3
39
0.002087
train_be825bcbfba121c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.821, -0.57), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.079).lineTo(0.477, 0.079).lineTo(0.477, 0.844).lineTo(-0.311, 0.844).lineTo(-0.311, 0.506).lineTo(-1, 0.506).lineTo(-1, 1.563).lineTo(1, 1.563).lineTo(1, 0.079).close().extrude(1.14...
4
60
1.875635
train_2d7f67b707850b73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.229, -0.446, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.473, 0.876).extrude(0.396) result = result.cut(cq.Workplane(cq.Plane(origin=(0.218, -0.507, -0.152), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.232, -0.46).threePointArc((0.111, -0...
17
136
1.121718
train_8826a3b4afa22033
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.517, 0.791, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.838, -0.483).lineTo(-0.838, -0.483).lineTo(-0.838, 1.517).lineTo(0.838, 1.517).lineTo(0.838, 1.238).lineTo(-0.33, 1.238).lineTo(-0.33, 0.07).lineTo(0.838, 0.07).lineTo(0.838, -0.483).c...
6
72
2.538947
train_09eb8fe8335a884f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.179, -0.367, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.257, 0.111).lineTo(0.772, 0.624).lineTo(0.257, 1.139).lineTo(-0.257, 0.624).lineTo(-0.772, 0.111).lineTo(-0.257, -0.404).lineTo(0.257, 0.111).close().workplane(offset=0.341).moveTo(0....
4
21
1.467203
train_30b651614f6e6cbe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, -0.071, -0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.161, 0.248).extrude(0.061) result = result.union(cq.Workplane(cq.Plane(origin=(-0.064, 0.053, -0.012), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.104, 0.906).lineTo(0.104, 1.064)....
2
46
0.031741
train_fb85f7993cee95da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.062, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.294).workplane(offset=1.133).circle(0.287).workplane(offset=0.867).circle(0.275).loft() result = result.edges().fillet(0.087) result = result.union(cq.Workplane(cq.Plane(origin=(0.289, 0....
10
25
0.44284
train_87fa75ebf16847e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, -0.286, 0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.842, 0.279).lineTo(0.537, 0.046).lineTo(0.842, 0.496).lineTo(-0.688, 0.516).lineTo(-0.842, 0.279).close().extrude(0.563) result = result.edges().fillet(0.113) result = result.unio...
11
64
0.205664
train_94ff5f0e1fc794d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.535, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.138).workplane(offset=0.092).circle(0.13).workplane(offset=0.089).circle(0.122).workplane(offset=0.073).circle(0.114).workplane(offset=0.082).circle(0.106).workplane(offset=0.081).circle(0...
11
158
0.028028
train_addc62eb6760b794
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.126), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.319).sweep(cq.Workplane('XZ').spline([(-0.379, -0.472), (-0.126, -0.269), (0.126, -0.269), (0.379, -0.472)])) result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.16 * math.cos(2.997 + 2...
11
49
0.498795
train_52c3dc766054de44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.653, 0.515, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.4, 1.115).threePointArc((1, 0.514), (0.4, -0.086)).lineTo(-1, -0.086).lineTo(-1, 0.215).lineTo(-1, 0.814).lineTo(-1, 1.115).lineTo(0.4, 1.115).close().extrude(1.306) result = result.ed...
8
25
2.387441
train_635129d64727931e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, -0.237), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.01, -0.045).lineTo(-0.01, 0.045).lineTo(-0.03, 0.045).lineTo(-0.03, 0.055).lineTo(0.03, 0.055).lineTo(0.03, 0.045).lineTo(0, 0.045).lineTo(0, -0.055).lineTo(-0.01, -0.055).lineTo(-0.01,...
1
11
0.002615
train_6fd6dea57c927d49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.168, 0, 0.367), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.813).workplane(offset=0.367).circle(0.831).workplane(offset=0.367).circle(0.801).loft() result = result.edges().chamfer(0.295) result = result.faces('>Z').shell(-0.03) result = result....
4
13
0.179927
train_3571c3cf041bf898
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.663).workplane(offset=0.595).circle(0.64).workplane(offset=0.446).circle(0.672).workplane(offset=0.512).circle(0.68).workplane(offset=0.447).circle(0.657).loft() result = result.edges().chamfe...
2
5
1.865228
train_9638fcfa8e066887
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.513, 0.933, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.673, 1.951).threePointArc((0, 2.513), (0.673, 1.951)).lineTo(1.008, 0.077).threePointArc((0, 0.92), (-1.008, 0.077)).lineTo(-0.673, 1.951).close().extrude(1.865) result = result.edges...
2
20
3.308363
train_3d125edd0f2bb032
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.455, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.889, 0.848).extrude(0.6) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.455, -0.467), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.144).extrude(1.093)) result = result.union(cq.Wo...
10
59
0.438024
train_5aa68cac96dd1765
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.536).extrude(0.774) result = result.faces('>Z').shell(-0.05)
2
11
0.402366
train_99cce0941bc07f16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, -0.512, 0.167), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.003, 0.019).threePointArc((0.011, 0.017), (0.018, 0.012)).threePointArc((0.024, -0.003), (0.018, -0.018)).threePointArc((0.003, -0.024), (-0.012, -0.018)).lineTo(-0.019, -0.018).li...
2
17
0.005653
train_63ea8bfd0d36acd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.17, 0, 0.156), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.765, 0.107).threePointArc((0.811, 0.088), (0.83, 0.042)).lineTo(0.83, -0.042).threePointArc((0.811, -0.088), (0.765, -0.107)).lineTo(0.449, -0.107).threePointArc((0.37, -0.129), (0.31,...
9
84
0.248226
train_749523da459e7f8a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.809, -0.364, 0.142), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.636).sweep(cq.Workplane('XY').spline([(-0.361, -0.364), (-0.616, -0.255), (-0.964, -0.205), (-1.328, -0.226)])) result = result.union(cq.Workplane(cq.Plane(origin=(-0.258, 0.254, -...
3
11
0.978429
train_1645fc2b7712d0c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.345, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, -0.049).lineTo(-0.788, -0.049).lineTo(-0.788, 0.196).lineTo(-0.244, 0.739).lineTo(0, 0.739).lineTo(0.788, -0.049).lineTo(0, -0.049).close().workplane(offset=0.261).moveTo(0, 0.008).lineTo...
6
21
0.35993
train_73190e2dc2b05dff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0, -0.074), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.103, -0.354).lineTo(0.011, -0.354).threePointArc((0.076, -0.327), (0.103, -0.263)).lineTo(0.103, 0.148).lineTo(0.103, 0.171).threePointArc((0.049, 0.3), (-0.08, 0.354)).lineTo(-0.10...
11
64
0.077473
train_1b95967054398ac4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.066, -0.477), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.625).extrude(0.955) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.65 + 0.13, 0.352, -1.777), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.027, -0.128).lineTo(0.054, -0.082).lin...
32
11
3.106136
train_bbe19f5dd58feb29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.544).workplane(offset=0.562).circle(0.421).workplane(offset=0.668).circle(0.438).workplane(offset=0.77).circle(0.474).loft() result = result.edges().fillet(0.106) result = result.cut(cq.Workpl...
17
65
1.21044
train_4ec3905c03b97980
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.185, 0.512, 0.13), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.61, 0.257).threePointArc((-0.58, 0.167), (-0.502, 0.111)).lineTo(-0.228, 0.029).lineTo(-0.228, 0.059).lineTo(0, 0.059).lineTo(0.228, 0.059).lineTo(0.228, 0.029).lineTo(0.502, 0.111...
25
140
0.390626
train_f66e1487bcdba271
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.516, -0.698, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.464, 0.76).threePointArc((-0.559, 0.415), (-0.48, 0.065)).threePointArc((-0.269, -0.113), (0, -0.178)).threePointArc((0.269, -0.113), (0.48, 0.065)).threePointArc((0.559, 0.415), (0....
14
80
0.995575
train_e9ce5905d6fae494
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.205, 0.029, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.237, 0.222).extrude(0.054) result = result.union(cq.Workplane(cq.Plane(origin=(0.205, 0.112, -0.099), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.069, -0.103).lineTo(-0.069, -0.103)....
25
164
0.06536
train_52e8ca5b3e2ebbd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.129, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.717, -0.117).lineTo(-0.622, 0.103).lineTo(-0.512, 0.103).lineTo(-0.512, 0.36).lineTo(-0.146, 0.527).threePointArc((-0.016, 0.557), (0.115, 0.535)).lineTo(0.5, 0.387).lineTo(0.436, 0.103)....
12
54
1.335149
train_c0d957b16ea69ed7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.295, -0.313, -0.6), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.503, 0.453).threePointArc((-0.705, 0.25), (-0.503, 0.048)).lineTo(0.164, 0.044).lineTo(0.705, 0.042).lineTo(0.705, 0.167).lineTo(0.705, 0.333).lineTo(0.705, 0.458).lineTo(-0.503, ...
29
186
0.307789
train_23caa0a167d3050a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.186, 0.538, 0.848), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.462).transformed(offset=(-0.121, 0.454, 0.233), rotate=(0, 0, 0)).circle(0.277).transformed(offset=(-0.445, 0.536, 0.448), rotate=(0, 60, 0)).circle(0.36).transformed(offset=(-0.66...
3
8
0.001391
train_5ee1a605bce0dd77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.072, 0.542, -0.814), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.916, 0.916).extrude(1.314) result = result.union(cq.Workplane(cq.Plane(origin=(-0.461, 0.441, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.093).extrude(0.283)) result = resul...
10
42
0.876237
train_62f8fc0fd8c751fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.636, 1.511).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.318, -0.494, -0.8), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.496, 0.55).extrude(1.209)) result = result.cut(cq.Workpl...
11
97
3.688415
train_184fa33bba2ec4b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.042, 0.84, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.61, 0.023).lineTo(-0.61, 1.45).lineTo(0.006, 1.45).lineTo(0.006, 2.06).lineTo(0.61, 2.06).lineTo(0.61, 0.023).lineTo(-0.61, 0.023).close().workplane(offset=0.424).moveTo(-0.572, 0.088)...
9
65
1.898401
train_58b910693cf46783
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.994, 1.93).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.797 + 0.1995, 0, -1.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.023, 0.31).lineTo(-0.023, -0.217).lineTo(-0.039, -...
5
30
7.377416
train_4f088e30d46de08f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.439, 0.539), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.539, 1.142).lineTo(-0.539, 1.128).lineTo(0.539, 0.058).lineTo(-0.539, 1.142).close().revolve(angleDegrees=360, axisStart=(-0.539, 1.142), axisEnd=(-0.539, 1.128)) result = result.edg...
3
11
0.144896
train_53313eab7b4f1dd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.444, -0.576, -0.204), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.37, -0.317).lineTo(0.073, -0.317).lineTo(0.073, -0.424).lineTo(-0.073, -0.424).lineTo(-0.073, -0.317).lineTo(-0.37, -0.317).lineTo(-0.37, 0.424).lineTo(0.37, 0.424).lineTo(0.37, ...
30
103
0.493999
train_c7067db0a1cd05e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.476), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1.028, -0.266).threePointArc((0, 0.531), (-1.028, -0.266)).lineTo(-0.763, -0.531).lineTo(0.763, -0.531).lineTo(1.028, -0.266).close().extrude(0.951) result = result.edges().chamfer(0.096) re...
18
162
1.167883
train_f576d1e1a0b2b930
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.886, -0.102, 0.241), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.098, 0.114).lineTo(-0.098, -0.082).lineTo(-0.001, 0.015).lineTo(0.031, 0.015).lineTo(-0.098, -0.114).lineTo(0.039, -0.114).lineTo(0.039, 0.055).lineTo(0.098, 0.114).lineTo(-0.098...
7
59
0.303418
train_067eccad3feab417
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.096, 0.53, 0.871), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.289, -0.317).lineTo(-0.281, -0.22).lineTo(-0.053, -0.22).lineTo(-0.06, -0.122).lineTo(-0.274, -0.122).lineTo(-0.248, 0.22).lineTo(-0.24, 0.317).lineTo(0.004, 0.317).lineTo(0.011, 0....
5
32
0.201288
train_bf63a7cf94b816cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.477, 0.081, -0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.046, 0.855).extrude(0.056) result = result.union(cq.Workplane(cq.Plane(origin=(0.477, 0.081, -0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.106, -0.02).lineTo(0.106, -0.076).li...
17
91
0.062221
train_7f85d93e3721c802
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.596), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.559, 0.901).extrude(0.967) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.163).extrude(0.669)) result = result.union(cq.Workpla...
10
107
0.59785
train_389293ba776e3986
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.447, -0.266, 0.522), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.239, 1.179).lineTo(-0.37, 1.093).lineTo(-0.509, -0.54).lineTo(0.509, -0.578).lineTo(0.239, 1.179).close().workplane(offset=0.241).moveTo(0.2, 1.036).lineTo(-0.31, 0.965).lineTo(-0...
3
50
0.928597
train_211dbee653d90049
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.117, 0.152), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.019, -0.146).lineTo(0.365, 0.237).lineTo(0.347, 0.256).lineTo(-0.055, -0.146).lineTo(-0.339, -0.146).lineTo(-0.339, -0.054).lineTo(-0.365, -0.054).lineTo(-0.365, -0.172).lineTo(-0...
11
106
0.081041
train_6e169db906a76fa9
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.29).workplane(offset=0.473).circle(0.349).workplane(offset=0.508).circle(0.442).workplane(offset=0.505).circle(0.45).loft() result = result.edges().fillet(0.162) result = result.union(cq.Workp...
12
37
0.561672
train_06bd67b40fcce38b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.413, -0.741, -0.289), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.23).workplane(offset=0.161).circle(0.25).workplane(offset=0.189).circle(0.2).workplane(offset=0.189).circle(0.228).loft() result = result.edges().chamfer(0.098) result = result.u...
10
44
0.189337
train_3128d55b102e8794
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.088, 0.086, -0.788), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0).threePointArc((-0.019, 0.06), (-0.069, 0.099)).threePointArc((-0.08, 0.103), (-0.091, 0.105)).threePointArc((-0.212, 0.001), (-0.092, -0.105)).threePointArc((-0.08, -0.103), (-...
3
19
0.017662
train_ecf01357db1bbb05
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, 0.623), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.396).workplane(offset=0.303).circle(0.56).workplane(offset=0.297).circle(0.523).workplane(offset=0.253).circle(0.355).workplane(offset=0.285).circle(0.367).workplane(offset=0.232).cir...
9
73
0.90074
train_07d24795e3fdc886
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.165, -0.237, 0.414), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.656, 0.016).threePointArc((-0.656, -1.091), (-0.165, 0.554)).threePointArc((0.325, 0.701), (0.656, 1.091)).threePointArc((0.543, 0.554), (0.656, 0.016)).close().extrude(0.829) res...
21
192
1.080885
train_bc44a2db2ca8f779
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.239, 0, -0.845), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.523, 1.519).extrude(1.689) result = result.union(cq.Workplane(cq.Plane(origin=(0.752, 0.253, -0.676), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.496, 0.55).extrude(0.939)) result = resul...
6
27
3.392379
train_fff0cc402422b44c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.059, 0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.047, -0.129).lineTo(-0.033, -0.129).lineTo(0.047, -0.049).lineTo(0.047, 0.072).lineTo(-0.01, 0.129).lineTo(-0.047, 0.129).lineTo(-0.047, -0.129).close().sweep(cq.Workplane('YZ').spline...
23
140
0.42097
train_965e0c186ea88383
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.258, 0.004).threePointArc((-0.087, 0.134), (-0.258, 0.461)).lineTo(-0.258, 0.583).threePointArc((-0.087, 0.91), (0.258, 1.041)).lineTo(0.258, 0.004).close().revolve(angleDegrees=360, axisSt...
4
19
1.314081
train_0ed9255612dba509
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.625, -0.859, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.216, -0.375).lineTo(-0.366, -0.115).lineTo(-0.76, -0.115).lineTo(-0.724, -0.052).lineTo(-0.402, -0.052).lineTo(-0.432, 0).lineTo(-0.402, 0.052).lineTo(-0.366, 0.115).lineTo(-0.216, 0...
3
34
0.291418