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_82d88875520d6339
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.044, -0.017, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 0.638).lineTo(0.9, -0.638).lineTo(-0.9, -0.638).lineTo(-0.9, 0.638).lineTo(-0.496, 0.638).lineTo(-0.496, -0.234).lineTo(0.496, -0.234).lineTo(0.496, 0.638).lineTo(0.9, 0.638)....
13
92
0.295023
train_53fedb27494c7fb2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.411, 0, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.435, 0.448).threePointArc((0.544, 0.402), (0.589, 0.293)).lineTo(0.589, -0.29).lineTo(0.431, -0.448).lineTo(-0.446, -0.448).lineTo(-0.446, -0.305).lineTo(-0.589, -0.305).lineTo(-0.589...
14
143
0.252074
train_7314e8623ddb646d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.056, -0.072, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.645, 0.728).threePointArc((-0.667, 0.795), (-0.61, 0.753)).lineTo(-0.05, 0.193).threePointArc((0.009, 0.164), (0.067, 0.193)).lineTo(0.444, 0.57).threePointArc((0.485, 0.591), (...
7
69
1.308151
train_9774b2cfeb23abdb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.013, -0.322, 0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.292, 1.005).threePointArc((0.427, 0.958), (0.484, 0.846)).lineTo(0.484, 0.727).threePointArc((0.529, 0.64), (0.634, 0.603)).lineTo(0.815, 0.603).threePointArc((0.923, 0.565), (0.96...
13
12
0.420726
train_6f79e5abbe182a34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 1).lineTo(0.248, 0.929).lineTo(0.319, 0.929).lineTo(0.319, -0.904).lineTo(0.223, -0.904).lineTo(0.223, -1).lineTo(-0.266, -1).lineTo(-0.266, -0.947).lineTo(-0.319, -0.947).lineTo(-0.3...
7
23
0.306226
train_6cdc1a1ee5dda757
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.203, 0.233, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.346, 1.164).threePointArc((0.805, 0.974), (1, 0.519)).lineTo(1, -0.112).threePointArc((0.805, -0.572), (0.346, -0.763)).lineTo(-0.346, -0.763).threePointArc((-0.805, -0.572), (-1, -0.1...
13
379
1.031653
train_72580384733ca513
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.057, 0.197).threePointArc((0.107, 0.189), (0.128, 0.169)).lineTo(0.128, -0.165).threePointArc((0.104, -0.187), (0.046, -0.197)).lineTo(-0.051, -0.197).threePointArc((-0.105, -0.188), (-0.128, ...
2
39
0.197776
train_58acf39e5d393637
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.917, 0.219).lineTo(1, 0.006).lineTo(0.358, -0.219).lineTo(0.321, -0.112).lineTo(0.427, -0.075).threePointArc((0.496, 0.069), (0.708, 0.143)).lineTo(0.917, 0.219).close().revolve(angleDegre...
14
119
0.450339
train_dbe4bb62051ae7f9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.626, 0.921).threePointArc((0.887, 0.785), (0.998, 0.465)).lineTo(0.998, -0.203).threePointArc((0.972, -0.276), (0.913, -0.307)).lineTo(0.68, -0.307).threePointArc((0.553, -0.374), (0.499, -0.531)).lineTo(0.499, -0.782).threePointArc((0.466, -0.88), ...
10
262
0.505695
train_de86bb5070f7319f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.699, -0.152).lineTo(0.97, -0.24).lineTo(0.961, -0.275).lineTo(0.687, -0.201).lineTo(0.628, -0.343).lineTo(0.863, -0.504).lineTo(0.845, -0.535).lineTo(0.602, -0.387).lineTo(0.506, -0.506).li...
2
91
0.319324
train_a4a0924ba773d2a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(5.807, -0.922, 0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(5.446, 1.087).lineTo(6.807, 0.906).lineTo(5.446, 0.725).lineTo(1.361, 0.181).threePointArc((1.361, -0.181), (2.723, -0.362)).lineTo(8.169, -0.725).lineTo(9.53, -0.906).lineTo(8.169, ...
8
19
0.068664
train_84f592bcb4005d51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.228, -0.02, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.06, 0.827).lineTo(0.03, -0.98).lineTo(-1.06, -0.439).threePointArc((0.015, 0.98), (1.06, 0.827)).close().moveTo(0.535, 0.652).lineTo(-0.125, -0.506).lineTo(-0.552, -0.294).lineTo(-...
21
39
0.695632
train_4494858d41ae7cb3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.119), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.115, 0.412).lineTo(-0.029, 0.266).threePointArc((0, 0.333), (0.038, 0.38)).threePointArc((0.095, 0.341), (0.131, 0.28)).lineTo(0.298, 0.28).lineTo(0.339, 0.194).lineTo(0.383, 0.018).threeP...
4
26
0.682443
train_03c12b94ff75e342
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, 0.149, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.412, 0.412).threePointArc((0.412, -0.412), (-0.412, -0.412)).threePointArc((-0.412, 0.412), (0.412, 0.412)).close().sweep(cq.Workplane(cq.Plane(origin=(0.097, 0.149, -0.323), norma...
12
119
0.817851
train_51dfc6c9541ce51b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.025, -1.58), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.124, 2.537).lineTo(0.124, 1.904).lineTo(1, 1.904).lineTo(1, 1.449).lineTo(0.243, 1.449).lineTo(0.243, 0.688).lineTo(0.154, 0.688).lineTo(0.154, 0).lineTo(0, 0).lineTo(0, 2.537).lineTo(...
27
84
1.373203
train_df412657d260075a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.059, 0, 0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.551, 0.913).threePointArc((-0.507, 0.896), (-0.488, 0.855)).lineTo(-0.488, -0.272).threePointArc((-0.419, -0.425), (-0.257, -0.489)).lineTo(0.857, -0.489).threePointArc((0.915, -0.512)...
11
35
0.26486
train_547616466a1afd5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.063, -0.02, 0.093), normal=(-0.183, -0.188, -0.965), xDir=(0, 0.982, -0.191))).moveTo(0, 0.952).threePointArc((0.096, 0.824), (0.215, 0.887)).threePointArc((0.309, 0.766), (0.43, 0.776)).lineTo(0.43, 0.206).lineTo(0.118, 0.206).threePointArc((0....
8
100
0.64254
train_56bb47a3bc887532
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.028, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.34).lineTo(0, 0.271).threePointArc((0.045, 0.239), (0.151, 0.226)).lineTo(0.406, 0.226).threePointArc((0.472, 0.217), (0.5, 0.197)).lineTo(0.5, 0.109).threePointArc((0.533, 0.085),...
6
46
0.257443
train_299477f5685261a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.177, 1).lineTo(0.779, 0.652).lineTo(1.015, 0).lineTo(0.779, -0.652).lineTo(0.177, -1).lineTo(-0.508, -0.879).lineTo(-0.954, -0.348).lineTo(-0.954, 0.348).lineTo(-0.508, 0.879).lineTo(...
4
23
0.455928
train_fd7b1af608dbfbfd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.034, -0.285), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.668, 0.468).lineTo(0.889, 0.346).lineTo(0.966, 0.164).lineTo(0.966, 0).lineTo(0.833, 0).lineTo(0.833, 0.141).lineTo(0.737, 0.346).lineTo(0, 0.333).lineTo(0, 0.468).lineTo(0.668, 0.46...
9
37
0.440637
train_32fbb30f1269b43b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.184, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 1).threePointArc((-0.043, 0.949), (0, 0.846)).lineTo(0, 0.688).threePointArc((0.057, 0.554), (0.19, 0.498)).lineTo(0.376, 0.498).threePointArc((0.462, 0.462), (0.498, 0.376)).lineTo(0...
5
40
0.989466
train_ee9881c79fc23d7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.763, 0.732, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.352, 0.086).threePointArc((0.258, -0.142), (0.03, -0.236)).lineTo(-0.047, -0.236).threePointArc((-0.274, -0.142), (-0.369, 0.086)).lineTo(-0.369, 0.17).threePointArc((-0.274, 0.397), (...
3
39
0.715841
train_1c80936b25fd5c15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.126, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 0.395).threePointArc((0.928, -0.395), (-0.059, -0.268)).lineTo(0.024, -0.124).threePointArc((0.052, -0.067), (0.073, -0.008)).lineTo(0.128, 0.184).threePointArc((0.149, 0.231), (0...
4
25
0.403986
train_a96169d66e414062
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.131, 0, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.868, 0.826).lineTo(0.868, -0.826).lineTo(-0.868, -0.826).lineTo(-0.868, 0.826).lineTo(-0.555, 0.826).lineTo(-0.555, -0.571).lineTo(0.555, -0.571).lineTo(0.555, 0.826).lineTo(0.868, 0.8...
6
39
0.147367
train_c342e8889c49d054
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.014, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.216).lineTo(0.5, 0.145).threePointArc((0.525, 0.131), (0.584, 0.124)).lineTo(0.882, 0.124).threePointArc((0.965, 0.116), (1, 0.095)).lineTo(1, -0.184).threePointArc((0.922, -0.229), (...
5
24
0.044883
train_b9ab294fbe4e13e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.017, 0.005, -0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.818, 0.83).threePointArc((0.832, 0.336), (0.626, 0.195)).threePointArc((0.369, -0.09), (0.315, -0.386)).threePointArc((0.378, -0.52), (0.484, -0.614)).threePointArc((0.461, -0.8),...
4
50
0.614183
train_524ea96a65631360
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, 0.025, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.836, -0.215).lineTo(0.978, -0.293).lineTo(0.949, -0.377).lineTo(0.797, -0.331).lineTo(0.689, -0.518).lineTo(0.791, -0.645).lineTo(0.733, -0.71).lineTo(0.61, -0.61).lineTo(0.438, -0...
9
107
1.075801
train_87e2ebe36e22f922
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.879, 0.401).workplane(offset=2).rect(0.154, 0.318).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.506), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.129).extrude(1.197, both=Tr...
8
50
0.530566
train_4ef8296b28065ef5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.814, 0.276).lineTo(0.92, 0.192).lineTo(1, 0.096).lineTo(1, 0).lineTo(0.918, 0).lineTo(0.918, 0.083).lineTo(0.818, 0.192).lineTo(0, 0.193).lineTo(0, 0.276).lineTo(0.814, 0.276).close().rev...
4
23
0.246902
train_a271a5b22efe129c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.768, 0.872).lineTo(0.768, 0.648).lineTo(1, 0.648).lineTo(1, -0.621).lineTo(0.741, -0.621).lineTo(0.741, -0.872).lineTo(-0.737, -0.872).lineTo(-0.737, -0.614).lineTo(-1, -0.614).lineTo(-1, ...
4
36
0.525827
train_3e07d2af66fc20d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.193, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.428, 0.694).threePointArc((0.222, 0.774), (0.743, 0.4)).threePointArc((0.828, -0.207), (0.428, -0.694)).threePointArc((-0.222, -0.774), (-0.743, -0.4)).threePointArc((-0.828, 0.2...
17
131
0.505839
train_80cab44216edce1d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.655).lineTo(1, -0.655).lineTo(-0.922, -0.655).threePointArc((-0.976, -0.632), (-1, -0.576)).lineTo(-1, 0.518).lineTo(-0.863, 0.655).lineTo(1, 0.655).close().extrude(0.045) result = resu...
9
38
0.668826
train_4c39defea2c87d64
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.698, 0.601).threePointArc((0.903, 0.521), (1, 0.332)).lineTo(1, -0.19).threePointArc((0.856, -0.479), (0.542, -0.601)).lineTo(-0.601, -0.601).threePointArc((-0.874, -0.495), (-1, -0.244)).lineTo(-1, 0.324).threePointArc((-0.901, 0.519), (-0.69, 0.60...
2
21
3.469577
train_b7f2b989af406d20
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.184, -0.019, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.815, 0.815).lineTo(0.815, -0.272).lineTo(0.272, -0.272).lineTo(0.272, -0.815).lineTo(-0.815, -0.815).lineTo(-0.815, 0.272).lineTo(-0.272, 0.272).lineTo(-0.272, 0.815).lineTo(0.81...
9
30
0.7608
train_ca996b6697acd1f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.476, 0.131, 0.414), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.203, 0.023).threePointArc((0, -0.18), (-0.203, 0.023)).threePointArc((0, 0.228), (0.203, 0.023)).close().extrude(0.362) result = result.union(cq.Workplane(cq.Plane(origin=(0.459, -...
32
179
0.985801
train_2dcd4376bd244936
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.608, 0.893).lineTo(-0.608, -0.623).lineTo(1, -0.623).lineTo(1, -0.893).lineTo(-1, -0.893).lineTo(-1, 0.893).lineTo(-0.608, 0.893).close().extrude(1.179) result = result.edges().chamfer(0.0...
3
42
1.271598
train_faf1d0125effd4d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.164, -0.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.949, 0.588).threePointArc((0.984, 0.572), (1, 0.538)).lineTo(1, -0.51).threePointArc((0.977, -0.565), (0.922, -0.588)).lineTo(-0.915, -0.588).threePointArc((-0.974, -0.562), (-1, -0.50...
4
19
1.001166
train_5c1d98ad0fa9adc9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.332, 0.371).lineTo(-0.332, 0.3).threePointArc((-0.285, 0.277), (-0.172, 0.268)).lineTo(0.07, 0.268).threePointArc((0.254, 0.252), (0.332, 0.215)).lineTo(0.332, -0.087).threePointArc((0.40...
10
119
0.18245
train_ee2b065ff981e5e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.267, -0.177, 0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.732, 0.387).lineTo(0.732, 0.138).lineTo(0.467, 0.138).lineTo(0.467, -0.387).lineTo(0.218, -0.387).lineTo(0.218, 0.138).lineTo(-0.047, 0.138).lineTo(-0.047, 0.387).lineTo(0.732, 0....
18
147
0.400118
train_0836b8fc1f321861
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.121, -0.556, 0.032), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.071, 0.297).lineTo(0.105, 0.279).lineTo(0.143, 0.106).lineTo(-0.01, 0.017).lineTo(-0.143, 0.135).lineTo(-0.071, 0.297).close().extrude(1.556) result = result.union(cq.Workplane(c...
6
54
0.119305
train_4739dfc251966a0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.555, 2).extrude(0.403) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.022, -0.799).lineTo(-0.022, -0.701).lineTo(0.022, -0.701)....
13
55
0.304049
train_db912a02f8dfe577
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.729), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.228).lineTo(1, -0.223).threePointArc((0.992, -0.236), (0.979, -0.243)).lineTo(-0.988, -0.243).lineTo(-0.988, -0.231).lineTo(-1, -0.231).lineTo(-1, 0.235).threePointArc((-0.997, 0.241), ...
9
11
1.415672
train_7bf483997419c4e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.749, -0.497, -0.714), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.497).threePointArc((1.059, 1.059), (1.497, 0)).lineTo(0.936, 0).threePointArc((0.663, 0.663), (0, 0.936)).lineTo(0, 1.497).close().extrude(1.428) result = result.union(cq.Work...
7
46
1.962638
train_54e84d35d444911f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, 0.035, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.062, 0.62).threePointArc((0.023, 0.81), (0.23, 0.575)).lineTo(-0.062, -0.514).threePointArc((0.038, -0.81), (-0.23, -0.469)).lineTo(0.062, 0.62).close().extrude(0.287, taper=-9.028...
6
25
0.197606
train_ded2368382d6076a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.268, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.264).extrude(1.155) result = result.union(cq.Workplane(cq.Plane(origin=(-0.268, 0, -0.191), normal=(0.51, 0, 0.86), xDir=(0.86, 0, -0.51))).circle(0.169).extrude(1.284)) result = resu...
7
40
0.203573
train_362efe0a67f831c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.269, 0.053, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.135, 0.503).threePointArc((0.135, 0.503), (0.271, 0.268)).threePointArc((0.135, 0.034), (-0.135, 0.034)).threePointArc((-0.271, 0.268), (-0.135, 0.503)).close().extrude(1.053) result ...
22
359
0.3966
train_d64d78339a9949a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, -0.116), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.164, 0.567).lineTo(0.268, 0.379).lineTo(0.505, 0.071).lineTo(0.375, -0.305).lineTo(-0.004, -0.567).lineTo(-0.433, -0.31).lineTo(-0.505, 0.186).lineTo(-0.164, 0.567).close().sweep(cq.Workp...
10
48
0.467637
train_7344a570a9919624
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.49, 1).lineTo(0.11, 0.729).threePointArc((0.49, 0.864), (0.62, 0.489)).lineTo(0.948, 0.325).lineTo(0.934, 0.209).lineTo(0.988, 0.118).lineTo(0.588, -0.328).lineTo(-0.038, -0.817).line...
5
56
1.95778
train_6998bac0534d3e93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.248, -0.478, 0.274), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.119, 0.701).lineTo(0.148, 0.38).lineTo(0.372, 0.292).lineTo(0.42, -0.244).lineTo(0.458, -0.672).lineTo(0.137, -0.701).lineTo(0.012, 0.691).lineTo(0.119, 0.701).close().revolve(an...
16
258
1.477034
train_6cd56b33ba1f81db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.102, 0.052, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.651, 0.594).threePointArc((-0.488, 0.501), (-0.359, 0.535)).lineTo(-0.113, 0.485).threePointArc((-0.076, 0.467), (-0.051, 0.433)).lineTo(0.115, 0.044).threePointArc((0.244, 0.078), (0...
8
86
1.641808
train_2db904de6b754633
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.185, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, 0.399).threePointArc((0.963, 0.361), (1, 0.273)).lineTo(1, -0.224).threePointArc((0.948, -0.347), (0.825, -0.399)).lineTo(-0.027, -0.399).threePointArc((-0.053, -0.388), (-0.064,...
5
73
1.161936
train_1fa9e24459ff1c16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.389, 0.101, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.079).threePointArc((0.108, 0.076), (0.111, 0.069)).lineTo(0.111, 0.022).threePointArc((0.108, 0.014), (0.1, 0.011)).lineTo(-0.038, 0.011).threePointArc((-0.042, 0.009), (-0.043...
5
46
0.138619
train_6e8f9e78e4d6cc7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.014), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.133).lineTo(0.914, 0).lineTo(1, -0.133).lineTo(0.309, -0.133).lineTo(0.309, 0.133).lineTo(1, 0.133).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result...
9
71
0.315511
train_773dc071fa4b7a39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.399, 0.341, 0.193), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.242, 0.225).lineTo(0.628, 0.097).lineTo(0.563, -0.097).lineTo(0.467, -0.065).lineTo(0.435, -0.161).lineTo(0.338, -0.128).lineTo(0.307, -0.225).lineTo(0.017, -0.129).lineTo(0.049, -...
19
270
0.635394
train_515d102e62dbe815
import cadquery as cq import math result = cq.Workplane('XY').circle(0.675).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.171).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0...
4
7
2.215346
train_7c6c7776e6847b95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.346), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.672, 1.345).lineTo(0.672, 0.741).lineTo(0.25, 0.741).lineTo(0.25, 0).lineTo(0, 0).lineTo(0, 1.345).lineTo(0.672, 1.345).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
3
19
0.97291
train_3f44a3f2ef9b66b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.091, 1).threePointArc((0.319, 0.851), (0.352, 0.94)).lineTo(0.725, 0.695).threePointArc((0.864, 0.282), (0.955, 0.311)).lineTo(0.995, -0.134).threePointArc((0.759, -0.5), (0.839, -0.552))...
5
52
0.510648
train_1031476f2608e67a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.75, 0.981).lineTo(0.75, -0.491).lineTo(0, -0.491).lineTo(0, -0.981).lineTo(-0.75, -0.981).lineTo(-0.75, 0.981).lineTo(0.75, 0.981).close().extrude(0.208, taper=-9.222) result = result.cut(...
9
48
0.548067
train_fc1498c660ce6067
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 1).threePointArc((0.601, 0.958), (0.643, 0.857)).lineTo(0.643, -0.769).lineTo(0.412, -1).lineTo(-0.643, -1).lineTo(-0.643, 0.806).lineTo(-0.449, 0.806).lineTo(-0.449, 1).lineTo(0.5, 1)....
3
11
1.429149
train_9922352f683051fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.735), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.915, 0.98).threePointArc((0.975, 0.956), (1, 0.899)).lineTo(1, 0.748).threePointArc((0.982, 0.707), (0.938, 0.689)).lineTo(0.257, 0.689).threePointArc((0.184, 0.66), (0.153, 0.591)).lineTo...
1
18
1.608979
train_dea2a5d141ee6370
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.923, 2).lineTo(0.923, 0.616).lineTo(0.789, 0.616).lineTo(0.789, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.923, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) final_r...
1
5
4.908873
train_9cc9ce8c594b35f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.144), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.853, 0.287).lineTo(0.92, 0.233).lineTo(1, 0.1).lineTo(1, 0).lineTo(0.853, 0).lineTo(0.853, 0.086).lineTo(0.753, 0.233).lineTo(0, 0.14).lineTo(0, 0.287).lineTo(0.853, 0.287).close().revolv...
9
28
0.205029
train_d9564fd3568dd228
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.018, 0.099).lineTo(0.05, 0.087).lineTo(0.077, 0.065).lineTo(0.095, 0.035).lineTo(0.1, 0).lineTo(0.095, -0.035).lineTo(0.077, -0.065).lineTo(0.05, -0.087).lineTo(0.018, -0.099).lineTo(-0.018...
5
43
0.048717
train_4a2e23c25348c299
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.048, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.881).threePointArc((0.998, -0.176), (0.333, -0.881)).threePointArc((0.111, -0.529), (-0.111, -0.881)).threePointArc((-0.998, 0.176), (0.333, 0.881)).close().extrude(2.964, both...
5
73
1.671196
train_dd0b7cf16229f7df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.389, -0.286, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.779).threePointArc((0.552, 0.552), (0.779, 0)).lineTo(0.195, 0).threePointArc((0.138, 0.138), (0, 0.195)).lineTo(0, 0.779).close().extrude(2) result = result.union(cq.Workplane(cq...
8
50
0.74964
train_e9b9266c02332930
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.374, 0, -0.486), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.159, 0.972).lineTo(0.159, 0.159).lineTo(0.749, 0.159).lineTo(0.749, 0).lineTo(0, 0).lineTo(0, 0.972).lineTo(0.159, 0.972).close().extrude(1, both=True) result = result.cut(cq.Workpla...
5
21
0.436164
train_ae803664d49cc229
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.038, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.279, 0.87).threePointArc((0.912, -0.277), (1, -0.493)).threePointArc((0.674, -0.945), (-0.087, -0.83)).lineTo(-0.96, 0.01).threePointArc((-0.968, 0.019), (-0.974, 0.029)).lineTo(-1, 0.077)...
5
24
0.959741
train_91edd44cee43f7e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0.198, -0.49), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.444, -0.367).lineTo(-0.935, -0.367).lineTo(-0.935, 0.367).lineTo(-0.444, 0.367).lineTo(-0.444, 0.736).lineTo(0.444, 0.736).lineTo(0.444, 0.367).lineTo(0.935, 0.367).lineTo(0.935, -...
7
142
0.843793
train_42742e917471698a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.163, 0.049, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.561, 0.359).lineTo(-0.448, 0.374).threePointArc((-0.441, 0.374), (-0.436, 0.371)).lineTo(-0.244, 0.164).lineTo(-0.062, -0.031).threePointArc((-0.045, -0.045), (-0.021, -0.054)).li...
9
86
0.279075
train_6e4dab28012574fe
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.956, 0.382).lineTo(1, 0.334).lineTo(0.857, 0.202).lineTo(0.893, -0.029).lineTo(0.658, -0.158).lineTo(0.511, -0.382).lineTo(0.335, -0.191).lineTo(0.956, 0.382).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result....
4
10
0.604014
train_8e05548d341e83af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.286).threePointArc((0.707, 0.202), (1, 0)).threePointArc((0.707, -0.202), (0, -0.286)).threePointArc((-0.707, -0.202), (-1, 0)).threePointArc((-0.707, 0.202), (0, 0.286)).close().extrud...
3
19
0.17842
train_bf99a5df609f5f8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0.061, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.011, 0.111).threePointArc((0.019, 0.107), (0.022, 0.097)).lineTo(0.022, 0.064).threePointArc((0.024, 0.058), (0.029, 0.055)).lineTo(0.089, 0.055).threePointArc((0.104, 0.047), (0.111, ...
6
81
0.020285
train_a851d36bcbdc5364
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.053, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.152).lineTo(0.818, 0).lineTo(1, -0.152).lineTo(0.461, -0.152).lineTo(0.461, 0.152).lineTo(1, 0.152).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = re...
12
56
0.294181
train_5a711935ebf5eaa4
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, 0.223).workplane(offset=2).rect(0.639, 0.21).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.812, -0.028, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.307, 1.106).threePoin...
5
28
0.200031
train_9a1b4091d448f47d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, 0.002, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.83, 1.001).threePointArc((0.258, 0.425), (0.83, -1.001)).threePointArc((-0.333, -0.543), (-0.83, 1.001)).close().moveTo(-0.296, 0.251).lineTo(-0.006, -0.025).lineTo(0.177, -0.319)...
4
47
0.806915
train_ff0a7b513e345db8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.151, 0.846).threePointArc((0.171, 0.791), (0.514, 0.616)).threePointArc((0.928, 0.027), (0.802, -0.576)).threePointArc((0.549, -0.768), (0.136, -0.846)).threePointArc((-0.161, -0.794), (-...
7
228
1.575627
train_bd58d4bc2bd85acf
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.181).lineTo(0.718, 0).lineTo(1, -0.181).lineTo(0.146, -0.181).lineTo(0.146, 0.181).lineTo(1, 0.181).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.389, 0.389, 0), norm...
11
73
0.528139
train_57d84b9e716ac1eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.52, 0.571).threePointArc((0.574, 0.557), (0.597, 0.527)).lineTo(0.597, 0.429).threePointArc((0.642, 0.368), (0.748, 0.342)).lineTo(0.856, 0.342).threePointArc((0.951, 0.32), (1, 0.265)).lin...
8
34
1.007427
train_7aa57505ef9601ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.925, 0.635).threePointArc((0.972, 0.615), (1, 0.568)).lineTo(1, -0.604).threePointArc((0.983, -0.625), (0.961, -0.635)).lineTo(-1, -0.635).lineTo(-1, 0.607).lineTo(-0.966, 0.607).lineTo(-0....
6
42
0.839457
train_1225bf33e49a589e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.321, -0.146, 0.13), normal=(-0.36, -0.537, -0.763), xDir=(0.831, -0.556, 0))).moveTo(0.257, 0.175).lineTo(0.177, -0.175).lineTo(-0.177, -0.175).lineTo(-0.257, 0.175).lineTo(0.257, 0.175).close().extrude(0.865, both=True) result = result.edges()....
18
317
0.622474
train_cb00e66cdbfab5be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.044, 1).threePointArc((0.645, 0.747), (0.891, 0.145)).lineTo(0.891, -0.434).threePointArc((0.731, -0.827), (0.332, -1)).lineTo(-0.891, -1).lineTo(-0.891, 0.699).threePointArc((-0.807, 0.90...
5
59
0.711378
train_339c7940bd0f4600
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.908).lineTo(1, -0.908).lineTo(-1, -0.908).lineTo(-1, 0.908).lineTo(-0.63, 0.908).lineTo(-0.63, -0.641).lineTo(0.63, -0.641).lineTo(0.63, 0.908).lineTo(1, 0.908).close().extrude(0.164, both=True) result = result.union(cq.Workplane(cq.Plane(origin=...
8
36
0.461868
train_23529735b2076615
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.235, -0.018, 0.025), normal=(-0.137, -0.127, -0.982), xDir=(0, 0.992, -0.128))).moveTo(0.051, 0.448).lineTo(0.063, 0.362).lineTo(0.063, -0.315).lineTo(0.044, -0.448).lineTo(0.024, -0.448).lineTo(0, -0.275).lineTo(0, -0.088).lineTo(-0.012, 0).lin...
8
157
0.224662
train_f9003e5b792246b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.024, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.036, 1.063).lineTo(0.373, 0.725).lineTo(0.373, -0.804).lineTo(0.113, -1.063).lineTo(-0.224, -1.063).lineTo(-0.373, -0.913).lineTo(-0.373, 0.704).lineTo(-0.013, 1.063).lineTo(0.036, 1.0...
8
31
0.387132
train_f951b29398f7efe5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.13, 0.184, 0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.104, 0.735).threePointArc((-0.031, 0.709), (0, 0.647)).lineTo(0, 0.443).threePointArc((0.027, 0.39), (0.089, 0.367)).lineTo(0.579, 0.367).threePointArc((0.779, 0.296), (0.861, 0.12...
5
66
0.545538
train_197bc1b571e3d594
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, -0.071, -0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.684, 0.233).threePointArc((0.957, 0), (0.684, -0.233)).lineTo(-0.41, -0.233).threePointArc((-0.957, 0.233), (-0.41, 0.233)).lineTo(0.684, 0.233).close().moveTo(-0.525, 0.007).line...
24
90
0.182827
train_57cf6e3741f5ccef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.428, 0.397, 0.358), normal=(0.355, -0.474, 0.806), xDir=(0.8, 0.6, 0))).moveTo(0.084, 0.185).lineTo(0.205, -0.131).lineTo(0.111, -0.149).lineTo(-0.084, -0.185).lineTo(-0.097, -0.15).lineTo(0.097, -0.113).lineTo(0.084, -0.078).lineTo(-0.111, -0....
10
206
0.716709
train_9c5b0d784207a92e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.679, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.215, 0.317).threePointArc((0.35, 0.261), (0.406, 0.126)).lineTo(0.406, -0.126).threePointArc((0.35, -0.261), (0.215, -0.317)).lineTo(-0.215, -0.317).threePointArc((-0.35, -0.261), (-0.406,...
4
28
1.884392
train_f10c09dbd989a095
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.076).threePointArc((0.168, 0.073), (0.198, 0.066)).lineTo(0.198, 0.047).threePointArc((0.228, 0.041), (0.296, 0.038)).lineTo(0.861, 0.038).threePointArc((0.953, 0.034), (0.992, ...
2
70
0.036307
train_1d2fdc1a344bc7e6
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.921).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.389), normal=(0.714, 0, 0.7), xDir=(0.7, 0, -0.714))).circle(0.294).extrude(2.578)) result = result.cut(cq.Workplane...
11
131
1.483274
train_f2364337f9c51ae0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.085, 0.399, -0.022), normal=(0.169, 0.41, 0.896), xDir=(-0.924, 0.382, 0))).moveTo(0.425, 0.007).threePointArc((0.422, -0.061), (0.387, -0.129)).threePointArc((0.27, -0.156), (0.154, -0.183)).threePointArc((-0.037, -0.176), (-0.199, -0.136)).th...
10
106
0.703018
train_c6196c5a785d7eec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.546, -0.597, -0.479), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.322, 1.204).threePointArc((0.341, 1.069), (0.423, 0.961)).lineTo(0.466, 0.719).threePointArc((0.52, 0.602), (0.497, 0.476)).threePointArc((0.402, 0.339), (0.272, 0.233)).lineTo(0...
3
18
2.146805
train_1e52d49738e5c12a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.085, 0.005, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.915, 0.814).lineTo(0.915, -0.814).lineTo(-0.915, -0.814).lineTo(-0.915, 0.814).lineTo(-0.581, 0.814).lineTo(-0.581, -0.524).lineTo(0.581, -0.524).lineTo(0.581, 0.814).lineTo(0.915, ...
21
196
1.304705
train_cbc5f13b5793dd46
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.367), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.636).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.636).lineTo(-0.58, 0.636).lineTo(-0.58, 0.415).lineTo(0.58, 0.415).lineTo(0.58, 0.636).lineTo(1, 0.636).close().extrude(0.426, both=True) r...
11
53
0.687452
train_52d02aac462d2a63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.517, -0.274, 0.15), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.572, 0.813).lineTo(0.572, -0.201).lineTo(-0.572, -0.201).lineTo(-0.572, 0.813).lineTo(-0.183, 0.813).lineTo(-0.183, 0.159).lineTo(0.183, 0.159).lineTo(0.183, 0.813).lineTo(0.572, 0...
23
208
1.253233
train_7853013937a71708
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 0.05, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.986, 0.218).lineTo(0.714, 0.053).threePointArc((0.986, -0.019), (0.641, -0.218)).lineTo(-0.986, 0.218).close().extrude(0.327, taper=12.443) result = result.cut(cq.Workplane(cq.Pla...
3
12
0.090984
train_c4b1b363edeb8c43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.026, 0.013), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.077).lineTo(0.769, 0).lineTo(1, -0.077).lineTo(0.158, -0.077).lineTo(0.158, 0.077).lineTo(1, 0.077).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result ...
13
93
0.262027
train_cdd5c505d4f240b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.511, 0.984, 0.045), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.015, 1.511).lineTo(0.21, 1.389).threePointArc((0.242, 1.388), (0.258, 1.362)).lineTo(0.297, 1.328).lineTo(0.33, 1.289).threePointArc((0.347, 1.265), (0.341, 1.236)).lineTo(0.353, ...
4
97
1.889186
train_9fbbdc8426fc73cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.074, 1).threePointArc((0.197, 0.94), (0.249, 0.82)).lineTo(0.249, 0.117).threePointArc((0.284, 0.035), (0.366, 0)).lineTo(0.599, 0).threePointArc((0.703, -0.044), (0.747, -0.147)).lineTo(0...
7
53
0.781263
train_4e9a74dc0cc51049
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.074, 0, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.507, 0.802).lineTo(-0.253, 0.718).lineTo(-0.422, 0.38).lineTo(0.507, 0.127).lineTo(0.675, 0.464).lineTo(0.929, 0.38).lineTo(0.591, -0.802).lineTo(0.169, -0.718).lineTo(0.338, -0.38).l...
11
88
1.0547