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_88822a8cdfcd3b1e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.18, -0.033, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.164).lineTo(0.082, 0.143).lineTo(0.143, 0.082).lineTo(0.164, 0).lineTo(0.143, -0.082).lineTo(0.082, -0.143).lineTo(0, -0.164).lineTo(-0.082, -0.143).lineTo(-0.143, -0.082).lineTo(-0.... | 6 | 39 | 0.19457 |
train_8078739ac2f965a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.524, 0.765).threePointArc((-0.42, 0.721), (-0.376, 0.617)).lineTo(-0.376, -0.04).threePointArc((-0.346, -0.111), (-0.275, -0.141)).lineTo(0.862, -0.141).threePointArc((0.959, -0.182), (1, ... | 8 | 44 | 0.621449 |
train_587d1df9c80ab514 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.259, 0.983).threePointArc((0.341, 0.967), (0.421, 0.945)).threePointArc((0.5, 0.918), (0.577, 0.886)).threePointArc((0.65, 0.85), (0.719, 0.805)).threePointArc((0.781, 0.752), (0.835, 0.692)).threePointArc((0.88, 0.627), (0.917, 0.558)).threePointAr... | 10 | 198 | 2.496325 |
train_11102709d19fe740 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.309, 0, -1.991), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.199).extrude(1.654)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.309, 0, -0.834), normal=(0.343, 0, 0.939), xDir=(0.939, 0, -0.343))).circle(0.483).extrude(1.8))
result = re... | 6 | 23 | 0.311926 |
train_93536e23670c2c9b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.298, -0.53, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.436, 0.024).threePointArc((0.436, 0.462), (0.026, -0.462)).threePointArc((-0.255, -0.337), (-0.436, 0.024)).close().extrude(0.026, both=True)
result = result.union(cq.Workplane(cq... | 7 | 90 | 0.694533 |
train_a602a5dd206010d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, 0.305, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.331, 0.207).threePointArc((0.428, 0.109), (0.331, 0.011)).lineTo(-0.331, 0.011).threePointArc((-0.428, 0.109), (-0.331, 0.207)).lineTo(0.331, 0.207).close().extrude(0.247)
result = res... | 15 | 138 | 0.254003 |
train_b7579796cc7dbbb0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(2.012, 1.898, 1.915), normal=(0, 0, 1), xDir=(1, 0, 0))).box(2.544, 3.308, 2.819)
result = result.edges().fillet(0.492)
result = result.cut(cq.Workplane(cq.Plane(origin=(2.012, 1.898, 1.915), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.598).extrud... | 12 | 204 | 3.57802 |
train_c7721b557c5e9a50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.529, -0.427, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.052).threePointArc((0.748, 0.748), (1.052, 0)).lineTo(0.454, 0).threePointArc((0.323, 0.323), (0, 0.454)).lineTo(0, 1.052).close().extrude(2)
result = result.union(cq.Workplane(cq... | 10 | 102 | 1.578046 |
train_33a2960ec50cbf34 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, 0.889).threePointArc((0.925, 0.838), (1, 0.719)).lineTo(1, -0.303).threePointArc((0.937, -0.402), (0.788, -0.444)).lineTo(0.532, -0.444).threePointArc((0.392, -0.484), (0.333, -0.577)... | 7 | 67 | 0.441833 |
train_190f52f9628290a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.193, 0.121, -0.463), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.201, 0.788).threePointArc((0.804, 0.397), (0.371, -0.769)).lineTo(0.34, -0.788).threePointArc((-0.372, -0.716), (-0.791, -0.134)).lineTo(-0.804, -0.101).threePointArc((-0.553, 0.5... | 8 | 131 | 2.709945 |
train_45b3fcdec0e1fa19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.25, -0.097, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.055, 0.419).threePointArc((0.135, 0.415), (0.314, 0.347)).lineTo(0.404, -0.043).threePointArc((0.273, -0.154), (0.297, -0.325)).threePointArc((0.12, -0.419), (-0.078, -0.392)).threePo... | 8 | 108 | 0.525665 |
train_178998ceb6f7c517 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.678, 0.305, -0.116), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.31, 1.414).threePointArc((0.372, 1.217), (0.255, 1.046)).threePointArc((0.316, 0.84), (0.173, 0.679)).lineTo(0.482, 0.311).threePointArc((0.367, 0.141), (0.31, -0.057)).threePoint... | 13 | 272 | 0.328007 |
train_8b2997d8c5705b5a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.253, -0.18, 0.316), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.581, 0.353).lineTo(0.535, 0.353).lineTo(0.535, 0.295).lineTo(0.457, 0.295).lineTo(0.457, 0.019).lineTo(0.363, 0.019).lineTo(0.363, -0.04).lineTo(0.332, -0.04).lineTo(0.337, -0.167)... | 10 | 165 | 1.160002 |
train_f3ff9143d60ac2ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.264)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.716).extrude(0.792, both=True))
result = result.union(cq.Workpl... | 12 | 31 | 0.558287 |
train_edb144fb416271d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, 0.231).lineTo(0.966, 0.116).lineTo(0.966, -0.231).lineTo(-0.966, -0.231).lineTo(-0.966, 0.116).lineTo(-0.845, 0.231).lineTo(-0.725, 0.116).lineTo(-0.604, 0.231).lineTo(-0.362, 0.116).... | 8 | 137 | 0.167949 |
train_712dab8d7536d370 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.029, 0.835, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.26, 1.97).threePointArc((0.783, 1.754), (0.999, 1.233)).lineTo(0.999, 0.826).threePointArc((0.783, 0.303), (0.26, 0.087)).lineTo(-0.26, 0.087).threePointArc((-0.783, 0.303), (-0.999, 0... | 15 | 46 | 5.207903 |
train_03bf6b3dffd79f26 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.826, 0.998).threePointArc((0.918, 0.969), (0.957, 0.899)).lineTo(0.957, -0.792).threePointArc((0.876, -0.937), (0.684, -0.998)).lineTo(-0.683, -0.998).threePointArc((-0.875, -0.937), (-0.957, -0.791)).lineTo(-0.957, 0.9).threePointArc((-0.918, 0.969... | 4 | 29 | 4.19002 |
train_fabd7501f7854765 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.912, -0.824, -0.697), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.824).threePointArc((1.29, 1.29), (1.824, 0)).lineTo(1.326, 0).threePointArc((0.937, 0.937), (0, 1.326)).lineTo(0, 1.824).close().extrude(1.393)
result = result.union(cq.Workpl... | 3 | 15 | 1.956931 |
train_7772244d861b54c5 | 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.037, 0.107).threePointArc((0.054, 0.099), (0.069, 0.088)).lineTo(0.109, 0.017).threePointArc((0.111, -0.003), (0.109, -0.024)).lineTo(0.066, -0.094).threePointArc((0.054, -0.102), (0.041, -0.1... | 4 | 34 | 0.075155 |
train_5d6bf7e7d85310cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.032, 0, -0.126), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.999, 0.254).lineTo(0.968, 0.174).lineTo(1, 0.088).lineTo(1, 0).lineTo(0.999, 0).lineTo(0.999, 0.075).lineTo(0.894, 0.174).lineTo(0, 0.202).lineTo(0, 0.254).lineTo(0.999, 0.254).close(... | 14 | 89 | 0.278933 |
train_bf487afeeea3a01d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.186, 0.373).lineTo(0.186, 0).lineTo(0.559, 0).lineTo(0.559, -0.373).lineTo(-0.559, -0.373).lineTo(-0.559, 0).lineTo(-0.186, 0).lineTo(-0.186, 0.373).lineTo(0.186, 0.373).close().extrude(5.684, taper=13.119, both=True)
final_result = result
| 1 | 20 | 0.417088 |
train_165353b09a9a8232 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.943, 0.379).lineTo(0.912, 0.211).lineTo(1, 0.133).lineTo(1, 0).lineTo(0.774, 0).lineTo(0.774, 0.113).lineTo(0.675, 0.211).lineTo(0, 0.158).lineTo(0, 0.379).lineTo(0.943, 0.379).close().rev... | 9 | 61 | 0.626103 |
train_1d347080c97d75fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.047, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.237, 0.758).lineTo(0.426, 0.284).lineTo(0.237, -0.663).threePointArc((0.142, -0.758), (0.047, -0.663)).lineTo(0.237, 0.095).lineTo(-0.331, 0.663).threePointArc((-0.426, 0.758), (-0.237, ... | 21 | 94 | 0.482952 |
train_89b33bc6dc361cbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0.012, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.032, 0.332).lineTo(0.208, 0.283).lineTo(0.332, 0.032).lineTo(0.283, -0.208).lineTo(0.032, -0.332).lineTo(-0.208, -0.283).lineTo(-0.332, -0.032).lineTo(-0.283, 0.208).lineTo(-0.032, 0.... | 8 | 74 | 0.371742 |
train_e8f46fdc17a4c467 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.214, 0.256, -0.436), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.456, -0.195).lineTo(0.533, -0.257).threePointArc((0.432, 0.257), (0.22, -0.003)).lineTo(0.244, -0.022).lineTo(0.267, 0.017).lineTo(0.315, 0.041).lineTo(0.324, 0.055).lineTo(0.35,... | 8 | 112 | 0.846805 |
train_398f312a7f8103e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.018), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.648, 0.221).lineTo(0.676, 0.19).lineTo(0.674, 0.134).lineTo(0.698, 0.108).lineTo(0.764, 0.105).lineTo(0.783, 0.084).lineTo(0.781, 0.034).lineTo(0.82, -0.009).lineTo(0.973, -0.016).lineTo(1... | 11 | 237 | 0.867775 |
train_f1f3ac6e52568c9e | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.642, 0.954).lineTo(-0.642, -0.638).lineTo(1, -0.638).lineTo(1, -0.954).lineTo(-1, -0.954).lineTo(-1, 0.954).lineTo(-0.642, 0.954).close().extrude(0.172, taper=12.681, both=True)
result = result.edges('>Z').chamfer(0.018)
result = result.faces('>X')... | 3 | 31 | 0.360936 |
train_7c9c64ec59fad82c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.517, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.032, 0.483).lineTo(0.065, 0.336).lineTo(0.235, 0.38).lineTo(0.18, 0.213).lineTo(0.321, 0.107).lineTo(0.156, 0.045).lineTo(0.16, -0.131).lineTo(0.01, -0.04).lineTo(-0.125, -0.153).line... | 6 | 116 | 0.655465 |
train_d1e67dfa0380df1e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.657, 0.461), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.11, 1.014).threePointArc((0.384, 0.901), (0.498, 0.626)).lineTo(0.498, 0.472).threePointArc((0.384, 0.198), (0.11, 0.084)).lineTo(-0.11, 0.084).threePointArc((-0.384, 0.198), (-0.498, ... | 8 | 86 | 3.023738 |
train_c665323bd32ef1ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.422), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.563).lineTo(0.333, 0.188).lineTo(1, 0.188).lineTo(1, -0.188).lineTo(0.333, -0.188).lineTo(0.333, -0.563).lineTo(-0.333, -0.563).lineTo(-0.333, -0.188).lineTo(-1, -0.188).lineTo(-1, ... | 20 | 14 | 1.47278 |
train_96c3e8c4d84208b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.32).lineTo(1, 0.23).threePointArc((0.976, 0.22), (0.94, 0.215)).lineTo(0.392, 0.215).threePointArc((0.278, 0.202), (0.23, 0.17)).lineTo(0.23, -0.157).threePointArc((0.292, -0.198), (0.4... | 5 | 85 | 0.730287 |
train_37c7beb81bc782e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.276, -0.035, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.647, -0.345).threePointArc((-0.546, 0.696), (0.361, 0.097)).lineTo(0.719, -0.525).threePointArc((0.723, -0.535), (0.722, -0.545)).lineTo(0.684, -0.69).threePointArc((0.681, -0.69... | 5 | 100 | 0.17801 |
train_4aa84542c8c84cf1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.82, 0.323, -0.453), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.202, 1.956).threePointArc((1.935, 1.821), (2.244, 1.501)).lineTo(2.244, 0.767).threePointArc((2.165, 0.686), (1.979, 0.652)).lineTo(1.079, 0.652).threePointArc((0.846, 0.609), (0.74... | 32 | 55 | 1.485134 |
train_3bc5690e0df6abd3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.251, 0.772, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.3, 0.277).lineTo(0.44, -0.221).lineTo(0.402, -0.277).lineTo(0.212, -0.158).threePointArc((0.018, -0.238), (-0.202, -0.072)).lineTo(-0.44, 0.07).lineTo(-0.3, 0.277).close().extrud... | 12 | 80 | 0.562749 |
train_a43ade602f40ced4 | 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(0.5, 0.23).lineTo(1, -0.23).lineTo(-1, -0.23).lineTo(-1, 0.23).lineTo(-0.5, 0.23).lineTo(0, 0.23).lineTo(0.5, 0.23).close().extrude(0.334)
result = result.cut(cq.Workplane(cq.Plane(origin=(-... | 4 | 45 | 0.242773 |
train_c1f54914cfb26e97 | 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(-0.081, 0.75).threePointArc((-0.024, 0.726), (0, 0.669)).lineTo(0, 0.353).threePointArc((0.031, 0.281), (0.103, 0.25)).lineTo(0.83, 0.25).threePointArc((0.949, 0.2), (1, 0.08)).lineTo(1, -0.... | 8 | 152 | 0.408749 |
train_57029c2d2692cc3e | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.268).extrude(1.109, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.436).extrude(0.651, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xD... | 12 | 61 | 0.51646 |
train_87dbfd55006a2caf | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.375).extrude(0.649, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.799).extrude(1, both=True))
result = result.cut(cq.Workplane('XY').circle(0.498).extrude(1.943, both=True))
resu... | 4 | 7 | 2.616245 |
train_49e8eedf7c8c2950 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.211).lineTo(0.2, 0.146).threePointArc((0.228, 0.126), (0.293, 0.118)).lineTo(0.521, 0.118).threePointArc((0.577, 0.111), (0.6, 0.095)).lineTo(0.6, 0.019).threePointArc((0.619, 0.0... | 9 | 26 | 0.20805 |
train_558953bf5cedefd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.105, -0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.863, 0.715).threePointArc((0.957, 0.648), (0.997, 0.491)).lineTo(0.997, -0.532).threePointArc((0.964, -0.661), (0.887, -0.715)).lineTo(-0.929, -0.715).threePointArc((-0.977, -0.681), ... | 7 | 61 | 2.221418 |
train_df6e3808badd3c18 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.894, 0.58).threePointArc((0.963, 0.553), (1, 0.484)).lineTo(1, -0.485).lineTo(0.895, -0.58).lineTo(-0.916, -0.58).lineTo(-0.916, -0.506).lineTo(-1, -0.506).lineTo(-1, 0.498).threePointArc(... | 14 | 113 | 0.458891 |
train_1be1b56603f0d52a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.402, 0.697, 0.156), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.037, 0.771).lineTo(0.305, 0.613).lineTo(0.349, 0.305).lineTo(0.135, 0.079).lineTo(-0.175, 0.105).lineTo(-0.349, 0.363).lineTo(-0.254, 0.66).lineTo(0.037, 0.771).close().extrude(0.8... | 6 | 78 | 0.580471 |
train_fffc93a1d8343c5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, 0.016, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.473, 0.23).lineTo(0.958, 0.149).threePointArc((0.956, -0.23), (-0.728, -0.228)).lineTo(-0.76, -0.194).lineTo(-0.739, -0.146).lineTo(-0.957, -0.141).lineTo(-0.958, -0.018).lineTo(-... | 11 | 184 | 0.154325 |
train_afe26bd01485c1b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.635), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.498, 0.858).lineTo(0.858, 0.498).lineTo(1, 0).lineTo(0.858, -0.498).lineTo(0.498, -0.858).lineTo(0, -1).lineTo(-0.498, -0.858).lineTo(-0.858, -0.498).lineTo(-1, 0).lineTo(-0.8... | 4 | 48 | 3.488217 |
train_f7e3129f6b81445b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.254, 0, -0.325), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.745, 0.649).lineTo(0.745, 0).lineTo(-0.745, 0).lineTo(-0.745, 0.649).lineTo(-0.454, 0.649).lineTo(-0.454, 0.29).lineTo(0.454, 0.29).lineTo(0.454, 0.649).lineTo(0.745, 0.649).close().e... | 10 | 137 | 0.322459 |
train_8c531d603beaf259 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.142, -0.038, 0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.514, 0.787).threePointArc((0.627, -0.787), (-0.399, 0.417)).lineTo(-0.741, 0.694).threePointArc((-0.855, 0.787), (-0.627, 0.787)).threePointArc((-0.171, 0.417), (-0.285, -0.046)).... | 10 | 86 | 0.40357 |
train_d4c3cfe5f0a2afc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.673, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.018, 0.473).threePointArc((0.108, 0.439), (0.18, 0.348)).threePointArc((0.225, 0.216), (0.237, 0.063)).threePointArc((0.212, -0.09), (0.154, -0.217)).threePointArc((0.074, -0.301), (-0.01... | 9 | 90 | 0.741878 |
train_6ba618317f7eab64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.038, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.601, 1).threePointArc((-0.53, 0.97), (-0.5, 0.899)).lineTo(-0.5, 0.61).threePointArc((-0.467, 0.533), (-0.39, 0.5)).lineTo(0.365, 0.5).threePointArc((0.46, 0.46), (0.5, 0.365)).lineTo... | 8 | 70 | 0.46623 |
train_894bb7a8e17d3928 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.011, 0.017, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.057, 0.109).lineTo(0.111, 0.002).lineTo(0.056, -0.108).lineTo(-0.055, -0.11).lineTo(-0.111, -0.001).lineTo(-0.056, 0.11).lineTo(0.057, 0.109).close().extrude(1, taper=0.475, both=True)
... | 5 | 56 | 0.06663 |
train_645094f0c78fef27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, -0.037, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.453, 0.375).threePointArc((0.584, 0.321), (0.638, 0.19)).lineTo(0.638, -0.148).threePointArc((0.571, -0.309), (0.411, -0.375)).lineTo(-0.467, -0.375).threePointArc((-0.588, -0.325... | 10 | 109 | 1.118901 |
train_a3fcfdd461f1924c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.161, 0, -0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.27, 0.838).threePointArc((0.375, 0.793), (0.419, 0.688)).lineTo(0.419, 0.482).threePointArc((0.438, 0.438), (0.482, 0.419)).lineTo(0.743, 0.419).threePointArc((0.81, 0.391), (0.838, 0... | 15 | 259 | 0.626303 |
train_3e33418260593c64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.399, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.487).lineTo(1, -0.487).lineTo(-1, -0.487).lineTo(-1, 0.46).lineTo(-0.965, 0.487).lineTo(1, 0.487).close().extrude(0.359)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.237, ... | 15 | 220 | 0.65 |
train_a992376d746ee073 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.281, 2).extrude(0.34)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.59, -0.95).lineTo(-0.59, -0.05).lineTo(0.59, -0.05).close().e... | 6 | 32 | 0.142976 |
train_922fa827446f41cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.199, -0.075, 0.953), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.145, 0.02).threePointArc((0.165, 0.004), (0.149, -0.009)).threePointArc((0.178, -0.031), (0.201, -0.058)).lineTo(0.151, -0.117).threePointArc((0.111, -0.122), (0.1, -0.181)).lineT... | 1 | 26 | 0.069014 |
train_8fc05ce65626d66e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.233, -0.032), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.168, 0.311).threePointArc((0.203, 0.296), (0.218, 0.261)).lineTo(0.218, 0.069).threePointArc((0.203, 0.034), (0.168, 0.019)).lineTo(-0.168, 0.019).threePointArc((-0.203, 0.034), (-0.... | 4 | 30 | 0.274495 |
train_f651d44fcbc07607 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.84, 0.225).lineTo(1, 0.063).lineTo(1, -0.101).lineTo(0.878, -0.225).lineTo(-0.781, -0.225).lineTo(-1, -0.004).lineTo(-1, 0.134).lineTo(-0.909, 0.225).lineTo(0.84, 0.225).close().extrude(0.... | 10 | 140 | 0.131412 |
train_2377877c6bcb4378 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0.115, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.571, 0.85).threePointArc((-0.488, 0.826), (-0.453, 0.768)).lineTo(-0.453, -0.412).threePointArc((-0.407, -0.49), (-0.296, -0.523)).lineTo(0.812, -0.523).threePointArc((0.885, -0.5... | 11 | 119 | 1.180578 |
train_3242e4740f1520d1 | 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.337).extrude(1.101)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.19).extrude(1.229))
result = result.cut(cq.Workplane(cq.Plane... | 6 | 8 | 0.308262 |
train_38b8a16bdb99e17e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 1).threePointArc((0.883, 0.883), (1, 0.607)).lineTo(1, -0.101).threePointArc((0.882, -0.382), (0.601, -0.5)).lineTo(0.094, -0.5).threePointArc((0.028, -0.528), (0, -0.594)).lineTo(0, ... | 12 | 62 | 1.679038 |
train_f0201f5fc202fb78 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.06, 0, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.903).lineTo(0.926, -0.903).lineTo(-0.926, -0.903).lineTo(-0.926, 0.903).lineTo(-0.59, 0.903).lineTo(-0.59, -0.606).lineTo(0.59, -0.606).lineTo(0.59, 0.903).lineTo(0.926, 0.903).c... | 3 | 50 | 0.275237 |
train_7b5a56bbe9fdebd3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.143, 1).lineTo(0.644, 0.795).threePointArc((0.736, 0.697), (0.834, 0.607)).lineTo(0.993, 0.235).threePointArc((0.985, 0.029), (0.996, -0.177)).lineTo(0.844, -0.546).threePointArc((0.71, -0... | 11 | 55 | 0.662137 |
train_4d445596ddf10eda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.335, 0, -0.335), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.16, 0.671).lineTo(0.16, 0.16).lineTo(1.335, 0.16).lineTo(1.335, 0).lineTo(0, 0).lineTo(0, 0.671).lineTo(0.16, 0.671).close().extrude(0.415, both=True)
result = result.cut(cq.Workplan... | 8 | 56 | 0.198448 |
train_b1f23e3001c6e2d2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.159, -0.217, 0.434), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.266, 0.486).lineTo(0.266, -0.053).lineTo(0.119, -0.053).lineTo(0.119, 0.139).lineTo(-0.119, 0.139).lineTo(-0.119, -0.053).lineTo(-0.266, -0.053).lineTo(-0.266, 0.486).lineTo(-0.1... | 6 | 83 | 0.451033 |
train_70f645630bd50dad | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.139).lineTo(0.787, 0).lineTo(1, -0.139).lineTo(0.305, -0.139).lineTo(0.305, 0.139).lineTo(1, 0.139).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.548, 0, 0), normal=... | 11 | 72 | 0.385635 |
train_34878e01a9addd1b | 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.628).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.389), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.5).extrude(0.523))
result = result.cut(cq.Workplane(cq.Plane(origi... | 10 | 30 | 1.483226 |
train_380b0ad647d33f0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.015, 0.001, -0.733), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.021, 0.192).lineTo(0.069, 0.18).threePointArc((0.091, 0.162), (0.116, 0.153)).lineTo(0.162, 0.107).threePointArc((0.167, 0.094), (0.176, 0.083)).lineTo(0.193, 0.017).threePointArc(... | 11 | 147 | 0.155801 |
train_bd7d7a822d460eb1 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.535).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.463).extrude(0.316, both=True))
result = result.cut(cq.Workplane('XY').circle(0.312).extrude(3, both=True))
result =... | 4 | 14 | 1.055659 |
train_9f3ecdfefc796789 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 0.86).threePointArc((0.5, 0.86), (1, 0)).threePointArc((0.5, -0.86), (-0.5, -0.86)).threePointArc((-1, 0), (-0.5, 0.86)).close().extrude(0.364)
result = result.cut(cq.Workplane(cq.Plan... | 8 | 8 | 1.134811 |
train_98f9904cf4b2ad30 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.274, 0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.424, 0.688).lineTo(-0.424, -0.262).lineTo(1, -0.262).lineTo(1, -0.688).lineTo(-1, -0.688).lineTo(-1, 0.688).lineTo(-0.424, 0.688).close().extrude(0.533, taper=6.011)
result = result.c... | 7 | 33 | 1.468756 |
train_4fab6adeb2b843ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.163, 0.751).threePointArc((0.458, 0.537), (0.798, 0.362)).threePointArc((0.951, 0.202), (1, 0.009)).lineTo(0.905, -0.6).lineTo(0.252, -0.751).threePointArc((-0.065, -0.66), (-0.395, -... | 5 | 19 | 1.324195 |
train_3e8391184db0f557 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.869, 0.916).threePointArc((0.958, 0.87), (0.995, 0.761)).lineTo(0.995, 0.491).threePointArc((0.95, 0.36), (0.844, 0.305)).lineTo(0.644, 0.305).threePointArc((0.541, 0.252), (0.498, 0.126))... | 5 | 60 | 0.227362 |
train_72520fb0bf45f7bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.102, 0.922, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.114, 0.968).threePointArc((0.16, 0.767), (0.214, 0.728)).threePointArc((0.388, 0.784), (0.538, 0.725)).lineTo(0.723, 0.557).lineTo(0.84, 0.429).threePointArc((0.731, 0.246), (0.673, 0.... | 1 | 50 | 2.550723 |
train_175a8bce9f89dd6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.43), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.733, -0.119).lineTo(0.981, -0.193).lineTo(0.957, -0.291).lineTo(0.705, -0.23).lineTo(0.66, -0.34).lineTo(0.874, -0.486).lineTo(0.82, -0.573).lineTo(0.601, -0.436).lineTo(0.521, -0.527).line... | 8 | 131 | 0.923278 |
train_0b18442d322f938b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.632, 1).threePointArc((0.815, 0.915), (0.888, 0.736)).lineTo(0.888, -1).lineTo(-0.693, -1).threePointArc((-0.829, -0.933), (-0.888, -0.796)).lineTo(-0.888, 1).lineTo(0.632, 1).close().extr... | 9 | 50 | 0.499943 |
train_fe24bebda041c105 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.361).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.568).extrude(0.436, both=True))
result = result.cut(cq.Workplane('XY').circle(0.332).extrude(3, both=True))
result =... | 8 | 40 | 0.322944 |
train_e91313c87efbdb88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.306), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.079, 0.611).lineTo(1.079, 0).lineTo(-1.079, 0).lineTo(-1.079, 0.611).lineTo(-0.806, 0.611).lineTo(-0.806, 0.272).lineTo(0.806, 0.272).lineTo(0.806, 0.611).lineTo(1.079, 0.611).close().ext... | 7 | 19 | 0.594563 |
train_95376d19e0810ea7 | 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(1, 0.896).lineTo(1, -0.896).lineTo(-0.624, -0.896).threePointArc((-0.887, -0.791), (-1, -0.524)).lineTo(-1, 0.154).lineTo(-0.254, 0.154).lineTo(-0.254, 0.896).lineTo(1, 0.896).close().extrude... | 10 | 16 | 0.274502 |
train_7c1f71a964a8605a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.115, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.379).lineTo(1, -0.373).threePointArc((0.995, -0.385), (0.983, -0.39)).lineTo(-1, -0.39).lineTo(-1, 0.379).threePointArc((-0.996, 0.387), (-0.989, 0.39)).lineTo(0.989, 0.39).threePo... | 13 | 94 | 1.65347 |
train_238b9c97aa62a127 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.147), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.875, 0.293).lineTo(0.92, 0.173).lineTo(1, 0.103).lineTo(1, 0).lineTo(0.812, 0).lineTo(0.812, 0.088).lineTo(0.712, 0.173).lineTo(0, 0.105).lineTo(0, 0.293).lineTo(0.875, 0.293).close().rev... | 4 | 14 | 0.49776 |
train_23a163c12c555e91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.571), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.607, 1.571).lineTo(0.607, 0.059).lineTo(0.446, 0.059).lineTo(0.446, 0).lineTo(0.202, 0).lineTo(0.202, 1.571).lineTo(0.607, 1.571).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax... | 15 | 559 | 1.555737 |
train_65c59f9eb5c38a85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.01).extrude(0.253)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.01, 0, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.296, 0.714), (-1.01, 1.01), (-1.724, 0.714... | 4 | 33 | 0.750012 |
train_dc3f43e11ab82bd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 0.207).threePointArc((0.956, 0.172), (1, 0.086)).lineTo(1, -0.083).threePointArc((0.955, -0.171), (0.865, -0.207)).lineTo(-0.917, -0.207).threePointArc((-0.969, -0.186), (-1, -0.133)).... | 7 | 48 | 0.091649 |
train_91f11ce02ccbd9a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.494, 0, 0.26), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.506, 0.465).lineTo(0.506, -0.465).threePointArc((0, -0.971), (-0.506, -0.465)).lineTo(-0.506, 0.465).threePointArc((0, 0.971), (0.506, 0.465)).close().extrude(0.52)
result = result.face... | 4 | 46 | 0.419071 |
train_807757bd5d72373d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.646, 0.918).threePointArc((0.896, 0.815), (1, 0.565)).lineTo(1, -0.791).lineTo(0.872, -0.918).lineTo(-0.759, -0.918).threePointArc((-0.929, -0.848), (-1, -0.678)).lineTo(-1, 0.649).lineTo(-... | 12 | 84 | 0.22811 |
train_a352c8ba531f16ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.22, 1).threePointArc((0.44, 0.9), (0.531, 0.685)).lineTo(0.531, -1).lineTo(-0.285, -1).threePointArc((-0.459, -0.919), (-0.531, -0.749)).lineTo(-0.531, 0.788).threePointArc((-0.47, 0.931),... | 15 | 40 | 0.302569 |
train_d5826c702933d67e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.01, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.662, 0.135).lineTo(-0.662, -0.101).lineTo(1, -0.101).lineTo(1, -0.135).lineTo(-1, -0.135).lineTo(-1, 0.135).lineTo(-0.662, 0.135).close().extrude(0.203)
result = result.cut(cq.Workpla... | 11 | 238 | 0.076471 |
train_0059b4ce0247109a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.037, 0.161).lineTo(0.104, 0.129).lineTo(0.149, 0.072).lineTo(0.166, 0).lineTo(0.149, -0.072).lineTo(0.104, -0.129).lineTo(0.037, -0.161).lineTo(-0.037, -0.161).lineTo(-0.104, -0.129).lineTo... | 7 | 36 | 0.086499 |
train_72ac0936b044acfc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.552, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.231).lineTo(0, 0.055).threePointArc((0.065, 0.016), (0.217, 0)).lineTo(0.855, 0).threePointArc((0.951, -0.01), (1, -0.035)).lineTo(1, -0.101).threePointArc((0.963, -0.118), (0.894,... | 9 | 248 | 0.24398 |
train_a8b0cd1a3e65c3f8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.538).lineTo(1, -0.538).lineTo(-1, -0.538).lineTo(-1, 0.538).lineTo(1, 0.538).close().extrude(0.418)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.161, 0, 0.167), normal=(0, 0, ... | 15 | 82 | 0.449228 |
train_c16d5ae27465c640 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.511), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.758, 0.609).threePointArc((0.889, 0.553), (0.946, 0.417)).lineTo(0.946, -0.389).lineTo(0.73, -0.609).lineTo(-0.488, -0.609).threePointArc((-0.814, -0.474), (-0.946, -0.146)).lineTo(-0.946,... | 11 | 42 | 1.442251 |
train_581f4e7e118a0a6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.299), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.615, 0.598).lineTo(0.615, 0.07).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.09, 0).lineTo(0.09, 0.598).lineTo(0.615, 0.598).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 5 | 39 | 0.601398 |
train_3f4dd060e5587b6b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.101, 0.449, -0.154), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.295, 0.278).lineTo(0.295, -0.278).threePointArc((0.022, -0.55), (-0.25, -0.278)).lineTo(-0.276, -0.139).threePointArc((-0.293, -0.071), (-0.295, 0)).threePointArc((-0.276, 0.068)... | 5 | 34 | 0.510134 |
train_1188322be92a9cb3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, 0.835).threePointArc((0.962, 0.799), (1, 0.71)).lineTo(1, -0.7).threePointArc((0.959, -0.796), (0.863, -0.835)).lineTo(-0.812, -0.835).threePointArc((-0.944, -0.781), (-1, -0.648)).li... | 8 | 29 | 0.389895 |
train_d925376e71c88a84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.462), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.596).lineTo(1, -0.596).lineTo(-1, -0.596).lineTo(-1, 0.596).lineTo(-0.648, 0.596).lineTo(-0.648, -0.428).lineTo(0.648, -0.428).lineTo(0.648, 0.596).lineTo(1, 0.596).close().extrude(0.92... | 8 | 83 | 0.94489 |
train_2a5c5a8869707432 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.239, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.191, 1).lineTo(0.255, 0.939).lineTo(1.148, 0.817).lineTo(0.191, -1).lineTo(-0.702, -0.878).lineTo(-1.148, -0.817).lineTo(-0.582, -0.651).lineTo(-1.029, -0.59).lineTo(-0.909, -0.363).... | 6 | 173 | 0.245942 |
train_324a36ddecbac63d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, 0.102, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.853).threePointArc((0.986, -0.328), (-0.533, -0.853)).lineTo(-0.965, -0.223).threePointArc((-0.986, -0.17), (-0.977, -0.115)).lineTo(-0.768, 0.386).threePointArc((-0.715, 0.... | 5 | 26 | 0.312676 |
train_f18c00956560c671 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.595, 0.331, 0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.21, 0.301).lineTo(0.21, 0).lineTo(0.314, 0).lineTo(0.314, -0.301).lineTo(-0.314, -0.301).lineTo(-0.314, 0.301).lineTo(0.21, 0.301).close().extrude(4.686, both=True).intersect(cq.Wo... | 7 | 107 | 0.600655 |
train_a3746ad1c058a635 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.429), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.508).lineTo(1, 0.451).lineTo(1, -0.409).threePointArc((0.97, -0.479), (0.901, -0.508)).lineTo(-1, -0.508).lineTo(-1, 0.431).threePointArc((-0.977, 0.485), (-0.922, 0.508)).lineTo(0.... | 17 | 69 | 0.764277 |
train_4c67b4babe8cd9c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.325, 0.397, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.212, 1.113).lineTo(0.212, -0.464).threePointArc((0, -0.675), (-0.212, -0.464)).lineTo(-0.212, 1.113).threePointArc((0, 1.325), (0.212, 1.113)).close().extrude(0.795)
result = result.ed... | 4 | 30 | 0.640995 |
train_1006b54db71c40cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.093, 0.006, 0.329), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.293, 0.803).lineTo(0.151, 0.602).threePointArc((0.363, 0.427), (0.453, 0.188)).lineTo(0.907, -0.149).lineTo(0.412, -0.534).lineTo(0.329, -0.78).lineTo(-0.004, -0.803).lineTo(-0.30... | 6 | 180 | 1.158678 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.