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_c4afc3e18b2f19fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.135).lineTo(0.042, 0.128).lineTo(0.079, 0.109).lineTo(0.109, 0.079).lineTo(0.128, 0.042).lineTo(0.135, 0).lineTo(0.128, -0.042).lineTo(0.109, -0.079).lineTo(0.079, -0.109).lineTo(0.042, -... | 9 | 43 | 0.137966 |
train_bf131e3d61ab4324 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.407, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.134, 0.515).threePointArc((0.264, 0.454), (0.381, 0.37)).lineTo(0.512, 0.139).threePointArc((0.525, -0.011), (0.508, -0.16)).lineTo(0.341, -0.437).threePointArc((0.273, -0.483), (0.197, -0.... | 6 | 86 | 1.603562 |
train_5cdf4afb5a4f2f89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.025, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.794, 0.611).lineTo(0.794, 0.29).threePointArc((0.798, 0.245), (0.808, 0.202)).lineTo(0.916, -0.122).threePointArc((0.549, -0.611), (-0.061, -0.978)).lineTo(-0.916, 0.245).threePoi... | 4 | 175 | 0.181073 |
train_ea3d2051e7b31fc3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.183, -0.147, 0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.236).extrude(0.643, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.183, -0.147, 0.03), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.574).extrude(0.852, both=True)... | 10 | 257 | 1.085391 |
train_8aac69bb584ccf13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.288, -0.017, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.666, 0.565).lineTo(0.666, 0.339).lineTo(-0.476, 0.339).lineTo(-0.476, 0.113).lineTo(0.666, 0.113).lineTo(0.666, -0.565).lineTo(-0.666, -0.565).lineTo(-0.666, -0.339).lineTo(0.476, ... | 6 | 62 | 0.779215 |
train_ae44fd9d24f78e39 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.047, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.134, 0.942).lineTo(0.356, 0.883).threePointArc((0.495, 0.686), (0.556, 0.772)).lineTo(0.725, 0.616).threePointArc((0.756, 0.378), (0.851, 0.426)).lineTo(0.929, 0.209).threePointArc((0.... | 3 | 42 | 0.980345 |
train_d39ada521c5b198b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.175, 1).lineTo(0.376, 0.705).lineTo(-0.08, 0.39).lineTo(0.336, -0.213).lineTo(0.445, -0.174).lineTo(0.551, -0.132).lineTo(0.59, 0.005).lineTo(0.721, 0.012).lineTo(0.793, 0.102).lineTo(0.991, -0.189).lineTo(-0.175, -1).lineTo(-0.227, -0.942).lineTo(-... | 1 | 24 | 0.221666 |
train_f65f518f6fcfabb0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.22, -0.153, -0.008), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.523, 0.78).lineTo(0.78, -0.523).lineTo(-0.523, -0.78).lineTo(-0.78, 0.523).lineTo(0.523, 0.78).close().extrude(0.26)
result = result.union(cq.Workplane(cq.Plane(origin=(0.987, 0,... | 16 | 288 | 0.826428 |
train_47c362a4fdb466d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.197, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-1, 0.68).lineTo(-0.382, 0.68).lineTo(-0.382, -0.146).lineTo(0.382, -0.146).lineTo(0.382, 0.68).lineTo(1, 0.68).lineTo(1, -0.68).lineTo(-1, -0.68).close().moveTo(-0.374, 0.26).lineTo(-0.457,... | 6 | 62 | 0.7744 |
train_d29f743a95c70011 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.813, 0.415).threePointArc((0.944, 0.359), (1, 0.228)).lineTo(1, -0.204).threePointArc((0.936, -0.353), (0.79, -0.415)).lineTo(-0.768, -0.415).threePointArc((-0.93, -0.346), (-1, -0.182)).l... | 13 | 189 | 0.699421 |
train_486cc0bf908c4b6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.002, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.856, -0.185).lineTo(0.971, -0.245).lineTo(0.95, -0.313).lineTo(0.828, -0.284).lineTo(0.749, -0.453).lineTo(0.84, -0.547).lineTo(0.797, -0.605).lineTo(0.691, -0.538).lineTo(0.561, ... | 3 | 195 | 0.192255 |
train_b8221a1fab13eabf | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(0.816, 0.305).lineTo(1, -0.073).lineTo(0.525, -0.305).lineTo(0.475, -0.204).lineTo(0.85, -0.022).lineTo(0.764, 0.155).lineTo(0.39, -0.028).lineTo(0.34, 0.073).lineTo(0.816, 0.305).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0... | 1 | 8 | 0.618867 |
train_66bbb9dba5db22bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.62), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.8).lineTo(1, 0.48).lineTo(0.333, 0.48).lineTo(0.333, 0.16).lineTo(1, 0.16).lineTo(1, -0.48).lineTo(0.333, -0.48).lineTo(0.333, -0.8).lineTo(-0.333, -0.8).lineTo(-0.333, -0.48).lineTo(-1,... | 5 | 32 | 2.72422 |
train_026f6cfba5465d6a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.66, 0.156, 0.476), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.389, 0.67).threePointArc((0.479, 0.559), (0.524, 0.411)).threePointArc((0.422, 0.323), (0.258, 0.339)).threePointArc((0.155, 0.341), (0.083, 0.237)).threePointArc((-0.036, 0.127), (... | 4 | 28 | 0.413243 |
train_b50c8c361d18119c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.085, 0.545, 0.04), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.105, 0.18).threePointArc((0.105, 0.18), (0.208, 0)).threePointArc((0.105, -0.18), (-0.105, -0.18)).threePointArc((-0.208, 0), (-0.105, 0.18)).close().workplane(offset=0.049).moveT... | 15 | 507 | 0.129538 |
train_506275b2f8c8458c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.1, -0.25, 0.899), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.186, 0.323).threePointArc((0.186, 0.323), (0.372, 0)).threePointArc((0.186, -0.323), (-0.186, -0.323)).threePointArc((-0.372, 0), (-0.186, 0.323)).close().revolve(angleDegrees=90, ... | 7 | 146 | 0.702794 |
train_daefeebde646279e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.031, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.909, 0.72).threePointArc((0.968, 0.695), (1, 0.636)).lineTo(1, -0.664).threePointArc((0.976, -0.703), (0.936, -0.72)).lineTo(-0.944, -0.72).threePointArc((-0.978, -0.707), (-1, -0.672... | 18 | 143 | 0.590452 |
train_50ff0a84d6243e32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.803, 0, -0.843), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.265, 1.686).lineTo(0.265, 0.265).lineTo(1.605, 0.265).lineTo(1.605, 0).lineTo(0, 0).lineTo(0, 1.686).lineTo(0.265, 1.686).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 4 | 26 | 1.537328 |
train_465986d92654fa1b | 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.433, 0.592).lineTo(1, 0.03).lineTo(1, -0.068).lineTo(0.471, -0.068).lineTo(0.471, -0.592).lineTo(-1, -0.592).lineTo(-1, 0.592).lineTo(0.433, 0.592).close().extrude(0.169)
result = result.c... | 8 | 61 | 0.252284 |
train_5ddf3fea4a362c4b | 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.012, 0.664).lineTo(0.466, 0.473).lineTo(0.664, -0.007).lineTo(0.462, -0.476).lineTo(0.004, -0.664).lineTo(-0.47, -0.469).lineTo(-0.664, -0.015).lineTo(-0.468, 0.471).lineTo(-0.012, 0.664).clo... | 4 | 56 | 1.264432 |
train_1d34d2f1fee81e18 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.541), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.339, 1.081).lineTo(1.339, 0).lineTo(-1.339, 0).lineTo(-1.339, 1.081).lineTo(-0.821, 1.081).lineTo(-0.821, 0.517).lineTo(0.821, 0.517).lineTo(0.821, 1.081).lineTo(1.339, 1.081).close().ext... | 7 | 18 | 1.011258 |
train_c09d60ee98323ea7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.7).lineTo(1, -0.7).lineTo(-1, -0.7).lineTo(-1, 0.7).lineTo(1, 0.7).close().extrude(0.248)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, ... | 9 | 55 | 0.541368 |
train_c44dd7e5be3b0325 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.137, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.002, 0.398).threePointArc((0.062, 0.379), (0.116, 0.323)).threePointArc((0.153, 0.238), (0.167, 0.139)).threePointArc((0.155, 0.039), (0.119, -0.046)).threePointArc((0.066, -0.103), (0.00... | 4 | 26 | 0.273432 |
train_9772e67bd06211e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.501).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.501).lineTo(-0.677, 0.501).lineTo(-0.677, 0.323).lineTo(0.677, 0.323).lineTo(0.677, 0.501).lineTo(1, 0.501).close().extrude(0.2, both=True)... | 5 | 99 | 0.273758 |
train_da928dfccbb6c64d | 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.816, 0.94).threePointArc((0.942, 0.839), (0.995, 0.601)).lineTo(0.995, -0.608).threePointArc((0.943, -0.841), (0.819, -0.94)).lineTo(-0.904, -0.94).threePointArc((-0.968, -0.889), (-0.995,... | 7 | 18 | 2.232473 |
train_4c235436c51faad8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.046, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.007, 0.171).lineTo(0.378, 0.106).lineTo(0.479, -0.046).lineTo(0.217, -0.169).lineTo(-0.209, -0.171).lineTo(-0.479, -0.051).lineTo(-0.389, 0.102).lineTo(-0.007, 0.171).close().moveTo(-0.285... | 6 | 165 | 0.241854 |
train_714980e3b4b4eeb6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.148, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.131, 0.376).threePointArc((0.131, 0.376), (0.263, 0.149)).threePointArc((0.131, -0.079), (-0.131, -0.079)).threePointArc((-0.263, 0.149), (-0.131, 0.376)).close().extrude(2)
result = res... | 15 | 14 | 0.432472 |
train_6ff3f4cad530f09b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.054, -0.28, 0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.263, 0.494).lineTo(-0.08, 0.374).threePointArc((0.103, 0.255), (0.341, 0.292)).threePointArc((0.968, 0.315), (1.247, -0.01)).threePointArc((1.136, -0.323), (0.477, -0.277)).threeP... | 4 | 28 | 1.648211 |
train_ff5b8b7cc1722f60 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.53), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.325).lineTo(1, 0.219).threePointArc((0.962, 0.199), (0.889, 0.191)).lineTo(-0.188, 0.191).threePointArc((-0.332, 0.174), (-0.393, 0.135)).lineTo(-0.393, -0.152).threePointArc((-0.35,... | 4 | 20 | 0.90519 |
train_b687a0b90b43e126 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.292, -0.179, 0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.078, 0.442).threePointArc((0.328, 0.168), (0.184, -0.308)).lineTo(-0.078, -0.442).threePointArc((-0.328, -0.168), (-0.184, 0.308)).lineTo(0.078, 0.442).close().extrude(1.275, both... | 10 | 69 | 0.451243 |
train_13fc84b0a46338cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.814), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 0.514).lineTo(1, -0.186).lineTo(-0.019, -0.514).lineTo(-0.064, -0.374).lineTo(-0.008, -0.373).threePointArc((0.02, -0.373), (0.047, -0.369)).threePointArc((0.074, -0.362), (0.095, -0.... | 3 | 42 | 1.500813 |
train_b5687ec24434f072 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.259, 0.316, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.555, -0.233).threePointArc((-0.74, -0.168), (-0.567, -0.068)).lineTo(-0.098, 0.56).lineTo(0.5, 0.062).threePointArc((0.74, 0.005), (0.505, -0.12)).lineTo(0.039, -0.56).lineTo(-0.... | 20 | 176 | 1.002434 |
train_571dd151ccbe576e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.694, 0.399).lineTo(0.694, 0).lineTo(-0.694, 0).lineTo(-0.694, 0.399).lineTo(-0.352, 0.399).lineTo(-0.352, 0.339).lineTo(0.352, 0.339).lineTo(0.352, 0.399).lineTo(0.694, 0.399).close().ext... | 7 | 61 | 0.777652 |
train_d6a1b55283f741fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.448, 0.327, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.428, 0.331).threePointArc((0.551, 0), (0.428, -0.331)).lineTo(0, -0.331).lineTo(-0.428, -0.331).threePointArc((-0.551, 0), (-0.428, 0.331)).lineTo(0, 0.331).lineTo(0.428, 0.331).close()... | 9 | 61 | 0.335773 |
train_ba7c2713721e2ef6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.03, -0.188, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.75, -0.515).lineTo(-0.164, -0.802).threePointArc((-0.75, 0.802), (0.75, -0.515)).close().extrude(0.337)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0,... | 3 | 25 | 1.025353 |
train_5a636ed5ee8f9d66 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.269, -0.393, -0.582), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.044, 0.176).lineTo(-0.044, 0.088).lineTo(0.044, 0.088).lineTo(0.044, 0).lineTo(0.132, 0).lineTo(0.132, -0.176).lineTo(0.044, -0.176).lineTo(0.044, -0.088).lineTo(-0.044, -0.088).... | 22 | 819 | 0.164972 |
train_3738adbddd62724d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.25, 0.301, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.39, 1.191).threePointArc((0.615, 1.169), (0.812, 1.061)).threePointArc((0.945, 0.882), (1, 0.665)).threePointArc((0.961, 0.443), (0.855, 0.251)).threePointArc((0.713, 0.109), (0.562, 0.... | 16 | 585 | 0.898139 |
train_0d245a13e0396b89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.495, 0.431).threePointArc((0.402, 0.154), (0.503, 0.069)).lineTo(0.504, 0.038).lineTo(0.422, 0.034).lineTo(0.408, -0.041).lineTo(0.368, -0.099).lineTo(0.493, -0.431).lineTo(-0.504, -0.431).... | 10 | 163 | 1.406729 |
train_86a6f24bd0cc98f3 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.154).lineTo(0.822, 0).lineTo(1, -0.154).lineTo(0.379, -0.154).lineTo(0.379, 0.154).lineTo(1, 0.154).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.275, 0.476, 0), norm... | 8 | 32 | 0.481731 |
train_b25dfe02100d49dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, 0.6).threePointArc((0.171, 0.571), (0.2, 0.504)).lineTo(0.2, 0.343).threePointArc((0.243, 0.243), (0.343, 0.2)).lineTo(0.695, 0.2).threePointArc((0.91, 0.11), (1, -0.105)).lineTo(1, -... | 6 | 149 | 0.433758 |
train_41226131a061d4e9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.041, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.536, 0.565).threePointArc((0.616, 0.532), (0.649, 0.452)).lineTo(0.649, -0.369).threePointArc((0.616, -0.449), (0.536, -0.482)).lineTo(-0.536, -0.482).threePointArc((-0.616, -0.449), (-0.6... | 14 | 357 | 2.459735 |
train_2f378234abb4cf90 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 1).lineTo(1, -0.5).lineTo(0.5, -0.5).lineTo(0.5, -1).lineTo(-0.5, -1).lineTo(-0.5, 0.5).lineTo(-1, 0.5).lineTo(-1, 1).lineTo(1, 1).close().extrude(0.429, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.698, -0.299, -1.3), normal=(1,... | 6 | 11 | 2.566854 |
train_174ac7c5ea5ef3f7 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.079).lineTo(0.03, 0.073).lineTo(0.056, 0.056).lineTo(0.073, 0.03).lineTo(0.079, 0).lineTo(0.073, -0.03).lineTo(0.056, -0.056).lineTo(0.03, -0.073).lineTo(0, -0.079).lineTo(-0.03, -0.073).lineTo(-0.056, -0.056).lineTo(-0.073, -0.03).lineTo(-0.079,... | 2 | 20 | 0.039188 |
train_dc56585931823e64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.533, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.16, 0.594).lineTo(-0.222, -0.251).lineTo(0.653, -0.474).threePointArc((0.756, -0.636), (0.593, -0.758)).lineTo(-0.355, -0.525).threePointArc((-0.572, -0.549), (-0.756, -0.319)).lineT... | 7 | 12 | 0.871296 |
train_23aca95c9d0a8a45 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.749, 0.909).threePointArc((0.925, 0.836), (1, 0.661)).lineTo(1, -0.625).threePointArc((0.914, -0.827), (0.713, -0.909)).lineTo(-0.763, -0.909).threePointArc((-0.929, -0.841), (-1, -0.675))... | 3 | 19 | 0.819851 |
train_72e17e61a0848444 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.995).lineTo(0.249, 0.746).lineTo(0.249, 0.249).lineTo(0.746, 0.249).lineTo(0.995, 0).threePointArc((0.995, -0.497), (0.497, -0.995)).lineTo(0, -0.995).lineTo(-0.249, -0.746).lineTo... | 1 | 43 | 0.823039 |
train_1b9914cda862378f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.474, 0.275).lineTo(0.474, -0.275).lineTo(-0.474, -0.275).lineTo(-0.474, 0.275).lineTo(0.474, 0.275).close().extrude(0.189, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0,... | 7 | 53 | 0.172386 |
train_eb13af004f07a6e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.036, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.138, 0.826).lineTo(0.512, 0.576).threePointArc((0.533, 0.549), (0.518, 0.518)).lineTo(0.413, 0.413).lineTo(0.138, 0.138).lineTo(0.032, 0.032).threePointArc((0.016, 0), (0.032, -0.032)).... | 3 | 100 | 0.422979 |
train_4442efe5ccb0ce71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, -0.004, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.626, 0.113).threePointArc((0.794, 0.174), (0.626, -0.176)).lineTo(-0.618, -0.185).threePointArc((-0.794, 0.185), (-0.609, 0.113)).lineTo(0.626, 0.113).close().extrude(0.131)
resul... | 7 | 96 | 0.141256 |
train_024222af7c9990e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.321, 0.925, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.608, 1.322).threePointArc((0, 0.712), (-0.608, 1.322)).threePointArc((0, 1.93), (0.608, 1.322)).close().workplane(offset=0.513).moveTo(0.392, 1.322).threePointArc((0, 0.93), (-0.392, 1... | 6 | 65 | 1.853014 |
train_1a4971e703bc3703 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.454), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.908).lineTo(1, 0.409).lineTo(0.895, 0.409).lineTo(0.895, 0).lineTo(0.493, 0).lineTo(0.493, 0.908).lineTo(1, 0.908).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 4 | 27 | 1.865448 |
train_7420029971d77c1e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.371), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.818, 0.845).lineTo(0.818, 0.663).lineTo(1, 0.663).lineTo(1, -0.589).threePointArc((0.925, -0.77), (0.743, -0.845)).lineTo(-0.741, -0.845).threePointArc((-0.923, -0.77), (-1, -0.588)).lineT... | 8 | 16 | 1.282124 |
train_92df160b7b7027b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.263, -0.43, -0.259), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.284).threePointArc((0.2, 0.2), (0.284, 0)).threePointArc((0.2, -0.2), (0, -0.284)).threePointArc((-0.2, -0.2), (-0.284, 0)).threePointArc((-0.2, 0.2), (0, 0.284)).close().revol... | 10 | 118 | 1.157071 |
train_3b787f3983ee3b09 | 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.321, 0.664).threePointArc((-0.249, 0.648), (-0.218, 0.611)).lineTo(-0.218, 0.511).threePointArc((-0.178, 0.463), (-0.084, 0.442)).lineTo(0.128, 0.442).threePointArc((0.191, 0.429), (0.218, 0.... | 26 | 91 | 1.600692 |
train_205f6494043b2ee5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.516), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 0.892).threePointArc((0.952, 0.852), (1, 0.761)).lineTo(1, -0.677).threePointArc((0.927, -0.829), (0.776, -0.892)).lineTo(-0.835, -0.892).threePointArc((-0.946, -0.847), (-1, -0.741))... | 10 | 49 | 0.588589 |
train_76485053af85c31e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.128, 0.54, 0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.366, 0.459).lineTo(0.366, 0.276).lineTo(-0.184, 0.276).lineTo(-0.184, 0.092).lineTo(0.366, 0.092).lineTo(0.366, -0.459).lineTo(-0.366, -0.459).lineTo(-0.366, -0.276).lineTo(0.184, -... | 10 | 263 | 0.122045 |
train_4305463405c49465 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.204, -0.188, 0.079), normal=(0.532, 0.666, 0.523), xDir=(-0.781, 0.624, 0))).moveTo(0.54, 0.799).threePointArc((0.261, -0.799), (-0.54, 0.385)).threePointArc((-0.401, 0.59), (-0.204, 0.649)).lineTo(0.198, 0.564).threePointArc((0.347, 0.75), (0.5... | 7 | 42 | 1.055001 |
train_3720479d9add41d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.192, 1).threePointArc((-0.057, 0.943), (0, 0.808)).lineTo(0, 0.139).threePointArc((0.041, 0.041), (0.139, 0)).lineTo(0.41, 0).threePointArc((0.473, 0.027), (0.5, 0.09)).lineTo(0.5, 0.334).... | 6 | 51 | 1.328571 |
train_3e0737dad8b41bf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, -0.005, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.55, 0.918).threePointArc((0.918, 0.184), (0.918, -0.184)).threePointArc((0.55, -0.918), (0.184, -0.918)).lineTo(-0.184, -0.918).threePointArc((-0.55, -0.918), (-0.55, -0.55)).threePoin... | 22 | 26 | 1.059687 |
train_8959ad23aa15619f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.029, 0.061, -0.977), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.148, 0.022).threePointArc((0.159, 0.01), (0.164, -0.005)).threePointArc((0.153, -0.017), (0.137, -0.022)).threePointArc((0.125, -0.01), (0.121, 0.005)).threePointArc((0.132, 0.01... | 4 | 39 | 0.031527 |
train_2875259254c51aa5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.186, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.407, 0.703).lineTo(0.813, 0).lineTo(-0.407, -0.703).lineTo(-0.407, 0.703).close().extrude(0.623)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.524, -0.044, 0), normal=(0, 0, ... | 4 | 27 | 1.017908 |
train_7e4379a2b2ad9792 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.553)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.842).extrude(1.653, both=True))
result = result.union(cq.Workpl... | 16 | 66 | 0.740084 |
train_a747f9a2a730c96a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.901).lineTo(1, -0.901).lineTo(-1, -0.901).lineTo(-1, 0.901).lineTo(-0.547, 0.901).lineTo(-0.547, -0.448).lineTo(0.547, -0.448).lineTo(0.547, 0.901).lineTo(1, 0.901).close().extrude(0.67... | 19 | 14 | 1.269904 |
train_1f5de0b8a9356bb0 | 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.096, 0.375).threePointArc((0.197, 0.327), (0.288, 0.262)).lineTo(0.383, 0.094).threePointArc((0.392, -0.005), (0.383, -0.105)).lineTo(0.273, -0.296).threePointArc((0.204, -0.344), (0.128, -0.3... | 2 | 23 | 0.931979 |
train_9346d0134d8b9209 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.558, 0.232), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.018, 0.442).lineTo(0.074, 0.156).lineTo(0.348, 0.279).lineTo(0.182, 0.029).lineTo(0.45, -0.108).lineTo(0.15, -0.134).lineTo(0.21, -0.429).lineTo(0.135, -0.397).lineTo(0.072, -0.353).... | 3 | 34 | 0.292167 |
train_8394d49cba299113 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.033, 0.041, 0.004), normal=(-0.451, -0.198, 0.87), xDir=(0.403, -0.915, 0))).moveTo(0.272, 0.297).lineTo(0.272, -0.297).threePointArc((-0.272, 0), (0.272, 0.297)).close().extrude(0.953, both=True)
result = result.faces('>Z').shell(-0.064)
resul... | 7 | 34 | 0.206014 |
train_0ae66e3504df1da3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.231, 0, 0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.384, 0.611).threePointArc((0.384, 0.611), (0.769, 0)).threePointArc((0.384, -0.611), (-0.384, -0.611)).threePointArc((-0.769, 0), (-0.384, 0.611)).close().extrude(0.277)
result = resu... | 7 | 52 | 0.521423 |
train_253ca0c5573bc73d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.131, 0.017, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.451, 0.806).lineTo(0.869, -0.012).lineTo(0.445, -0.809).lineTo(-0.434, -0.816).lineTo(-0.869, -0.006).lineTo(-0.437, 0.816).lineTo(0.451, 0.806).close().extrude(0.048)
result = re... | 4 | 35 | 1.255887 |
train_d7721b04d85054bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.456, 0, -0.606), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.273, 0.341).lineTo(0.273, 0.147).lineTo(0.468, 0.147).lineTo(0.468, -0.179).lineTo(0.305, -0.341).lineTo(-0.27, -0.341).lineTo(-0.468, -0.144).lineTo(-0.468, 0.166).threePointArc((-0.... | 11 | 80 | 0.866521 |
train_56970cc775103dd6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.521).lineTo(0.825, 0.351).lineTo(1, 0.351).lineTo(1, -0.38).lineTo(0.851, -0.521).lineTo(-0.826, -0.521).threePointArc((-0.943, -0.472), (-1, -0.352)).lineTo(-1, 0.521).lineTo(0.825... | 14 | 52 | 0.271404 |
train_a906d3e2a2c45616 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.487, 0.514).lineTo(-0.394, 0.616).lineTo(-0.416, 0.8).lineTo(-0.207, 0.821).lineTo(-0.184, 0.636).lineTo(0.025, 0.656).lineTo(0.002, 0.841).lineTo(0.211, 0.861).lineTo(0.234, 0.676).lineT... | 9 | 248 | 0.684604 |
train_ed41d9bd7d5ba99f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.434, -0.512), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.503).lineTo(0.887, 0.39).lineTo(1, 0.39).lineTo(1, -0.406).lineTo(0.905, -0.503).lineTo(-0.8, -0.503).lineTo(-1, -0.303).lineTo(-1, 0.328).lineTo(-0.825, 0.503).lineTo(0.887, 0.... | 9 | 84 | 1.685424 |
train_269da27b96364e3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.005, -0.016), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.078).lineTo(0.837, 0).lineTo(1, -0.078).lineTo(0.117, -0.078).lineTo(0.117, 0.078).lineTo(1, 0.078).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result... | 17 | 161 | 0.233568 |
train_d07746c4c0a2f3ae | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.251).lineTo(0.912, 0).lineTo(1, -0.251).lineTo(0.174, -0.251).lineTo(0.174, 0.251).lineTo(1, 0.251).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.443, 0.322, 0), nor... | 12 | 105 | 0.993219 |
train_ce03668a9ab584a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.451, 1.886, 1.101)
result = result.edges().fillet(0.199)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.449), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.144).extrude(2.902, both=Tr... | 13 | 109 | 3.162467 |
train_c2445667f8e55220 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.689).lineTo(1, -0.66).lineTo(0.97, -0.66).lineTo(0.97, -0.689).lineTo(-1, -0.689).lineTo(-1, 0.689).lineTo(1, 0.689).close().extrude(0.212)
result = result.cut(cq.Workplane(cq.Plane(ori... | 20 | 388 | 0.454109 |
train_fa14e8c40e12a22c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.426, 0, -0.751), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.101, 0.671).lineTo(0.003, 0.536).lineTo(0.121, 0.658).lineTo(0.08, 0.494).lineTo(0.249, 0.477).lineTo(0.094, 0.406).lineTo(0.187, 0.264).lineTo(0.036, 0.341).lineTo(-0.018, 0.18).lin... | 4 | 129 | 0.296461 |
train_32c95d94231a33cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.146, 0, -0.089), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.38, 0.177).lineTo(0.38, 0).lineTo(-0.38, 0).lineTo(-0.38, 0.177).lineTo(-0.264, 0.177).lineTo(-0.264, 0.116).lineTo(0.264, 0.116).lineTo(0.264, 0.177).lineTo(0.38, 0.177).close().extr... | 10 | 122 | 0.164038 |
train_611c74dd4865684c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.781), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.562).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.562).lineTo(-0.827, 1.562).lineTo(-0.827, 0.173).lineTo(0.827, 0.173).lineTo(0.827, 1.562).lineTo(1, 1.562).close().extrude(0.638, both=Tru... | 3 | 20 | 1.263316 |
train_07ea9a2de5c790b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.041, 0.115, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.251, 0.885).lineTo(-0.035, 0.779).lineTo(0.131, 0.297).lineTo(0.297, -0.186).lineTo(0.357, -0.885).lineTo(-0.246, 0.347).lineTo(-0.357, 0.669).lineTo(-0.251, 0.885).close().extrude(0.6... | 6 | 28 | 0.787566 |
train_bc21ab8c476b0952 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.844, -0.123).lineTo(0.986, -0.173).lineTo(0.965, -0.266).lineTo(0.819, -0.241).lineTo(0.775, -0.356).lineTo(0.897, -0.443).lineTo(0.851, -0.527).lineTo(0.717, -0.461).lineTo(0.644, -0.... | 5 | 93 | 0.467443 |
train_c36957974f52b7b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.056, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.332, 0.862).lineTo(-0.332, -0.4).lineTo(0.91, -0.4).lineTo(0.91, -0.862).lineTo(-0.91, -0.862).lineTo(-0.91, 0.862).lineTo(-0.332, 0.862).close().extrude(0.183, taper=-10.448)
result ... | 7 | 191 | 0.62326 |
train_5275040122e6572b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.085, 0.329, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.762, 0.969).threePointArc((-0.687, 0.966), (-0.644, 0.905)).lineTo(-0.541, 0.555).threePointArc((-0.518, 0.522), (-0.478, 0.52)).lineTo(-0.24, 0.591).threePointArc((-0.145, 0.587... | 13 | 138 | 0.193936 |
train_b4de7a97ed6e8f24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.126, 0.033, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.598, 0.698).lineTo(0.598, 0.1).lineTo(-0.399, 0.1).lineTo(-0.399, -0.1).lineTo(0.598, -0.1).lineTo(0.598, -0.698).lineTo(-0.598, -0.698).lineTo(-0.598, -0.499).lineTo(0.399, -0.499).li... | 15 | 171 | 1.995408 |
train_092af97c27e8a4cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.477, 0.447, -0.172), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.206, 0.58).threePointArc((0.296, 0.543), (0.334, 0.453)).lineTo(0.426, 0.193).lineTo(0.401, -0.068).threePointArc((0.369, -0.199), (0.334, -0.328)).threePointArc((0.296, -0.418), ... | 5 | 46 | 1.008642 |
train_a529ce3e58a3434f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.096, 0.207, -0.084), normal=(-0.054, -0.609, -0.791), xDir=(0.996, -0.088, 0))).moveTo(0.239, 0.093).lineTo(0.239, -0.071).lineTo(0.188, -0.148).threePointArc((0.049, -0.202), (-0.172, -0.162)).lineTo(-0.239, -0.08).lineTo(-0.239, 0.102).threePo... | 15 | 209 | 0.770572 |
train_30e547eaf0249efe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.92, 2).extrude(0.349)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.203, -0.256).lineTo(0.203, -0.744).lineTo(-0.203, -0.744).... | 7 | 41 | 0.478783 |
train_9534199bbf378761 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.835), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.084).lineTo(0.102, 0.05).lineTo(-0.073, 0.05).lineTo(-0.073, 0.017).lineTo(0.102, 0.017).lineTo(0.102, -0.084).lineTo(-0.102, -0.084).lineTo(-0.102, -0.05).lineTo(0.073, -0.05).line... | 8 | 131 | 0.317527 |
train_fa0d3db1781c277e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.691).lineTo(1, -0.692).threePointArc((0.996, -0.699), (0.989, -0.702)).lineTo(-0.991, -0.702).threePointArc((-0.997, -0.7), (-1, -0.694)).lineTo(-1, 0.692).threePointArc((-0.996, 0.699)... | 15 | 98 | 0.403471 |
train_4c0c45db5d36d2d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.03, 0.119, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.041, 0.666).threePointArc((0.54, 0.344), (0.97, -0.016)).threePointArc((0.334, -0.286), (-0.143, -0.666)).threePointArc((-0.53, -0.333), (-0.97, -0.028)).threePointArc((-0.352, 0.25... | 14 | 500 | 0.877278 |
train_b8c8d03d20414ff6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, -0.032, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.905, 0.007).threePointArc((0.996, -0.178), (0.847, -0.284)).lineTo(-0.67, -0.032).threePointArc((-0.996, 0.161), (-0.621, 0.265)).lineTo(0.754, 0.035).threePointArc((0.866, 0.284), (0... | 6 | 24 | 1.075987 |
train_134c679dcc060ca1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.6, 0.5).lineTo(-0.6, 0.4).lineTo(0.6, 0.4).lineTo(0.6, 0.5).lineTo(1, 0.5).close().extrude(0.279, both=True)
result = result.uni... | 8 | 51 | 0.811613 |
train_5b25616698004de2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0.176, -0.988), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.118, 0.012).threePointArc((0.121, 0.002), (0.123, -0.007)).threePointArc((0.114, -0.009), (0.105, -0.012)).threePointArc((0.102, -0.002), (0.1, 0.007)).threePointArc((0.109, 0.00... | 4 | 21 | 0.045039 |
train_0deb7348e944851f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.499, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.063, 0.222).lineTo(0.063, 0.111).lineTo(0.189, 0.111).lineTo(0.189, -0.222).lineTo(-0.189, -0.222).lineTo(-0.189, 0.111).lineTo(-0.063, 0.111).lineTo(-0.063, 0.222).lineTo(0.063, 0.222).c... | 5 | 28 | 0.309078 |
train_58df30f6d0ca7368 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.066, 0.406, -0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.379, 0.569).threePointArc((0.387, -0.005), (-0.387, -0.569)).lineTo(-0.379, 0.569).close().moveTo(-0.035, 0.154).lineTo(0.001, 0.041).lineTo(0.109, 0.091).lineTo(0.054, -0.014).l... | 8 | 125 | 0.213179 |
train_60448f88c544bca9 | 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.109, 0.212).lineTo(0.222, -0.001).lineTo(0.106, -0.212).lineTo(-0.111, -0.209).lineTo(-0.222, 0.007).lineTo(-0.109, 0.212).lineTo(0.109, 0.212).close().extrude(2)
result = result.edges().chamf... | 4 | 83 | 0.087866 |
train_6fb86ed12105bfd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.507), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.257, 0.851).threePointArc((0.344, 0.819), (0.381, 0.74)).lineTo(0.381, 0.633).threePointArc((0.422, 0.547), (0.517, 0.511)).lineTo(0.697, 0.511).threePointArc((0.743, 0.494), (0.762, 0.454... | 4 | 91 | 1.190366 |
train_7b31c9c129284952 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.025, -0.764), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.838, 0.15).lineTo(0.938, 0.05).threePointArc((0.838, -0.15), (0.838, 0.05)).lineTo(0.14, -0.05).threePointArc((-0.06, -0.05), (0.04, 0.05)).lineTo(0.838, 0.15).close().moveTo(0.046, -... | 7 | 85 | 0.521546 |
train_be0b24c6002d0804 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.389, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.451, 0.61).threePointArc((0.519, 0.582), (0.547, 0.513)).lineTo(0.547, -0.542).threePointArc((0.527, -0.59), (0.479, -0.61)).lineTo(-0.547, -0.61).lineTo(-0.547, 0.499).lineTo(-0.437,... | 6 | 120 | 0.154163 |
train_92913713de5d319a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.158, -0.083, -0.359), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.538, 0.421).lineTo(0.583, 0.029).lineTo(0.585, -0.272).lineTo(0.543, -0.272).lineTo(0.395, -0.586).lineTo(0.273, -0.739).threePointArc((0.036, -0.84), (-0.353, -0.654)).lineTo(-0... | 8 | 95 | 0.632861 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.