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_1c5215020468050f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.047), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.343, 0.271).threePointArc((0.357, 0.267), (0.364, 0.255)).lineTo(0.385, 0.091).threePointArc((0.404, 0.06), (0.439, 0.05)).lineTo(0.974, 0.12).threePointArc((0.986, 0.117), (0.992, 0.106)... | 4 | 44 | 0.198248 |
train_cb95c96462779686 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0.003, 0.751), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.432, 1.007).lineTo(0.812, 0.807).lineTo(1.006, -0.438).lineTo(-0.118, -1.007).lineTo(-1.006, -0.114).lineTo(-0.432, 1.007).close().extrude(1.503)
result = result.faces('>Z').shel... | 4 | 71 | 0.772696 |
train_79dc215699732bd6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, -0.016, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.973, 0.295).lineTo(0.973, 0.121).lineTo(-0.325, 0.121).lineTo(-0.325, -0.121).lineTo(0.973, -0.121).lineTo(0.973, -0.295).lineTo(-0.973, -0.295).lineTo(-0.973, 0.295).lineTo(0.973... | 17 | 142 | 0.099855 |
train_43c75f7f8870cb67 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.107, 0.035, -0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.183, 0.38).threePointArc((0.698, 0.252), (0.892, 0.008)).lineTo(0.095, -0.38).threePointArc((-0.441, -0.2), (-0.892, 0.019)).threePointArc((-0.252, 0.142), (0.183, 0.38)).close().e... | 12 | 134 | 0.20244 |
train_f7bf9bd9172311ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.048, 2).extrude(0.379)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.142, -0.335, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.222, 0.48).lineTo(-0.13, 0.406).lineTo(-0.015, 0.236)... | 16 | 88 | 0.572436 |
train_133e1c0f46cec120 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.208, 0.072, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.018, 0.261).lineTo(0.127, 0.153).lineTo(0.018, 0.008).lineTo(-0.127, 0.116).lineTo(-0.018, 0.261).close().extrude(1.208)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.067, -0.0... | 20 | 135 | 0.062459 |
train_5d7a82491467e05b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.359, 0.077), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.644, -0.048).threePointArc((0.58, -0.144), (0.325, -0.112)).threePointArc((0.863, 0.081), (1, -0.142)).threePointArc((0.832, -0.175), (0.644, -0.048)).close().revolve(angleDegrees=180... | 9 | 67 | 0.327795 |
train_8caebaf783f9d6e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.344, -0.035, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.226, 0.257).lineTo(0.226, -0.219).lineTo(-0.226, -0.219).lineTo(-0.226, 0.257).lineTo(-0.085, 0.257).lineTo(-0.085, -0.073).lineTo(0.085, -0.073).lineTo(0.085, 0.257).lineTo(0.226... | 9 | 108 | 0.622836 |
train_c7891c7b0ee9621b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, -0.006, -0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.247, 0.823).threePointArc((0.427, 0.84), (0.552, 0.602)).lineTo(0.174, 0.232).threePointArc((0.152, 0.188), (0.176, 0.146)).lineTo(0.958, -0.541).threePointArc((0.979, -0.648), (0... | 5 | 35 | 0.457413 |
train_3371a454a3191134 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.416).lineTo(1, -0.322).lineTo(0.907, -0.416).lineTo(-1, -0.416).lineTo(-1, 0.301).lineTo(-0.886, 0.416).lineTo(1, 0.416).close().extrude(0.254)
result = result.union(cq.Workplane(cq.Pla... | 11 | 26 | 0.303276 |
train_9b01a9dbd3f03fe4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.218, -0.693, -0.463), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.519, 1.073).lineTo(0.519, 0.771).lineTo(0.165, 0.771).lineTo(0.165, 0.36).lineTo(0.055, 0.339).threePointArc((-0.001, 0.346), (-0.055, 0.332)).lineTo(-0.165, 0.36).lineTo(-0.165,... | 23 | 268 | 0.567143 |
train_803b02b998728088 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.694), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.268, 1).lineTo(0.797, 0.471).lineTo(0.797, -1).lineTo(-0.436, -1).lineTo(-0.797, -0.64).lineTo(-0.797, 1).lineTo(0.268, 1).close().extrude(0.449)
result = result.union(cq.Workplane(cq.Plan... | 13 | 36 | 1.454215 |
train_cd4291e3b56fe5ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.53).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.53).lineTo(-0.49, 0.53).lineTo(-0.49, 0.246).lineTo(0.49, 0.246).lineTo(0.49, 0.53).lineTo(1, 0.53).close().extrude(0.198, both=True)
result... | 6 | 54 | 0.345546 |
train_0cd7514956dc4c2f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.052, 0.025, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.186, 0.333).threePointArc((0.348, -0.305), (-0.251, -0.333)).lineTo(-0.348, 0.132).threePointArc((-0.345, 0.183), (-0.315, 0.225)).lineTo(-0.186, 0.333).close().extrude(1, taper=7.738... | 12 | 102 | 0.738247 |
train_a273a4cdc7f83d97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.634, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.528, 0.667).threePointArc((-0.494, 0.653), (-0.48, 0.619)).lineTo(-0.48, -0.108).threePointArc((-0.405, -0.284), (-0.229, -0.359)).lineTo(0.705, -0.359).threePointArc((0.763, -0.383), (0.7... | 5 | 10 | 0.814026 |
train_aa8690b85bde7e29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.393, 0.05, -0.829), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.008, 0.941).threePointArc((1.151, 0.903), (1.211, 0.815)).lineTo(1.211, 0.686).threePointArc((1.153, 0.601), (1.016, 0.565)).lineTo(0.744, 0.565).threePointArc((0.647, 0.54), (0.60... | 15 | 100 | 1.185325 |
train_5e401137046c1762 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.815, 0.499).threePointArc((0.896, 0.466), (0.93, 0.383)).lineTo(0.93, -0.414).threePointArc((0.905, -0.474), (0.845, -0.499)).lineTo(-0.868, -0.499).threePointArc((-0.912, -0.48), (-0.... | 7 | 45 | 0.64927 |
train_b4142bc0a7053438 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.425), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.403, 0.48).lineTo(0.403, 0).lineTo(-0.403, 0).lineTo(-0.403, 0.48).lineTo(-0.075, 0.48).lineTo(-0.075, 0.328).lineTo(0.075, 0.328).lineTo(0.075, 0.48).lineTo(0.403, 0.48).close().ext... | 4 | 39 | 0.627795 |
train_360cf3cc785f1a64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.029, -0.53, -0.024), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.108, 0.294).threePointArc((0.191, 0.348), (0.378, 0.234)).threePointArc((0.344, 0.017), (0.108, -0.175)).threePointArc((-0.191, -0.229), (-0.378, -0.114)).threePointArc((-0.344,... | 15 | 278 | 1.419317 |
train_e503abfa958b7d3f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.056, -0.044, -0.749), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.09, 0.07).threePointArc((0.095, 0.068), (0.097, 0.064)).lineTo(0.097, -0.039).threePointArc((0.088, -0.061), (0.066, -0.07)).lineTo(-0.074, -0.07).threePointArc((-0.09, -0.063), (... | 4 | 45 | 0.042237 |
train_4f6e64044f926284 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.23, -0.084, 0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.269, -0.228).lineTo(0.183, -0.286).threePointArc((-0.269, 0.286), (0.269, -0.228)).close().extrude(0.551)
result = result.union(cq.Workplane(cq.Plane(origin=(0.138, -0.306, 0.725), ... | 11 | 96 | 0.732527 |
train_f2f9230116dcca19 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.983, 1.481, 2)
result = result.edges().fillet(0.127)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.58).extrude(3.966, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm... | 14 | 106 | 1.458101 |
train_6e17238c6ee1e3f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.531, 0.196).workplane(offset=2).rect(0.652, 0.182).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.004, 0, 0.957), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.313).extrude(0.156).cut(... | 4 | 35 | 0.187846 |
train_abe70e53ea036484 | 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(0.765, 0.796).lineTo(1, 0.565).lineTo(1, -0.796).lineTo(-0.762, -0.796).threePointArc((-0.923, -0.728), (-1, -0.562)).lineTo(-1, 0.677).lineTo(-0.872, 0.796).lineTo(0.765, 0.796).close().ext... | 15 | 153 | 1.774555 |
train_563e076178859d8c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 4.978), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.588, 0.517).lineTo(0.588, -0.517).lineTo(-0.196, -0.517).lineTo(-0.196, 0).lineTo(-0.588, 0).lineTo(-0.588, 0.517).lineTo(0.588, 0.517).close().extrude(5.978, both=True)
result = result.cut... | 7 | 18 | 0.464522 |
train_cd3832fa732ed362 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.19), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.16, 0.38).lineTo(0.16, 0.16).lineTo(2, 0.16).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.38).lineTo(0.16, 0.38).close().extrude(0.973, both=True)
result = result.cut(cq.Workplane(cq.Plane(origi... | 5 | 21 | 0.647671 |
train_49ef8443ed7afe01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.03, 0, -0.351), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.176, 1).lineTo(0.778, 0.652).lineTo(1.015, 0).lineTo(0.778, -0.652).lineTo(0.176, -1).lineTo(-0.508, -0.879).lineTo(-0.955, -0.348).lineTo(-0.955, 0.348).lineTo(-0.508, 0.879).lineTo(0... | 5 | 57 | 1.327162 |
train_49d1691c1efee921 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.15, 0, -0.162), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.278, 0.323).lineTo(0.278, 0.278).lineTo(0.3, 0.278).lineTo(0.3, 0).lineTo(0, 0).lineTo(0, 0.323).lineTo(0.278, 0.323).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq... | 3 | 12 | 0.181657 |
train_82f0dc50e40677bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.105, -0.044, -0.363), normal=(0.791, 0.155, 0.592), xDir=(-0.193, 0.981, 0))).moveTo(-0.11, 0.073).lineTo(0.11, 0.037).lineTo(0.33, -0.037).lineTo(-0.257, -0.073).lineTo(-0.33, -0.037).lineTo(-0.293, 0).lineTo(-0.257, 0.037).lineTo(-0.11, 0.073... | 9 | 111 | 0.196479 |
train_d3c4c9ed7f4df0f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.575, 0.003, 0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.452, 0.514).threePointArc((0.616, 0.445), (0.685, 0.281)).lineTo(0.685, 0.006).threePointArc((0.632, -0.118), (0.508, -0.171)).lineTo(0.104, -0.171).threePointArc((0.031, -0.202), ... | 22 | 544 | 0.138111 |
train_ec307bc34bd60f2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.297, 0.221, 0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.156, 0.779).lineTo(-0.156, 0.156).lineTo(0.156, 0.156).lineTo(0.156, -0.156).lineTo(0.779, -0.156).lineTo(0.779, -0.467).lineTo(0.156, -0.467).lineTo(0.156, -0.779).lineTo(-0.156,... | 16 | 141 | 0.232269 |
train_1d72d8e722ca2f7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.533, -0.801, -0.337), normal=(-0.701, 0.593, 0.396), xDir=(-0.646, -0.764, 0))).moveTo(0.19, 0.209).lineTo(0.19, -0.209).lineTo(-0.19, -0.209).lineTo(-0.19, 0.209).lineTo(0.19, 0.209).close().extrude(2.703, both=False)
result = result.cut(cq.Wor... | 4 | 32 | 0.396746 |
train_3ec4b5a7cc0ed6aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.677, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.609, 1.436).lineTo(0.78, 1.131).lineTo(0.829, 0.829).lineTo(0.795, 0.527).threePointArc((0.708, 0.386), (0.71, 0.222)).lineTo(0.609, -0.083).threePointArc((-0.829, 0.678), (0.609, 1.436))... | 3 | 94 | 1.103054 |
train_a01dd9d645c88c92 | 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.945, 0.409).lineTo(1, 0.354).lineTo(1, -0.338).threePointArc((0.979, -0.388), (0.929, -0.409)).lineTo(-0.868, -0.409).lineTo(-1, -0.277).lineTo(-1, 0.279).lineTo(-0.87, 0.409).lineTo(0.945... | 10 | 49 | 0.501875 |
train_87d62bccc6676db8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.282, 0.155).lineTo(0.434, 0.003).lineTo(0.434, -0.003).threePointArc((0.389, -0.111), (0.282, -0.155)).lineTo(-0.348, -0.155).lineTo(-0.434, -0.07).lineTo(-0.434, 0.003).threePointArc((-0.3... | 5 | 34 | 0.462364 |
train_945f1e5ef6d043ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.542), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.084).lineTo(1, 0.145).lineTo(0.58, 0.145).lineTo(0.58, 0).lineTo(0.49, 0).lineTo(0.49, 1.084).lineTo(1, 1.084).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 4 | 24 | 2.231502 |
train_3886430c9fca6d2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.135).lineTo(0.632, 0).lineTo(1, -0.135).lineTo(0.441, -0.135).lineTo(0.441, 0.135).lineTo(1, 0.135).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = re... | 14 | 78 | 0.172237 |
train_efd516c28c88f4bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.079, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.651, 0.65).lineTo(-0.651, -0.444).lineTo(1, -0.444).lineTo(1, -0.65).lineTo(-1, -0.65).lineTo(-1, 0.65).lineTo(-0.651, 0.65).close().extrude(0.504, taper=0.976)
result = result.cut(cq... | 31 | 96 | 0.469789 |
train_dc32696a24092374 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.411, 0, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.513, -0.115).lineTo(0.57, -0.148).lineTo(0.556, -0.194).lineTo(0.495, -0.18).lineTo(0.443, -0.283).lineTo(0.485, -0.335).lineTo(0.457, -0.372).lineTo(0.403, -0.338).lineTo(0.32, -0.41... | 4 | 121 | 0.232865 |
train_57bf5f5e0ceef28a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.06, 0.151, -0.576), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.331, 0.401).lineTo(0.331, -0.401).lineTo(-0.331, -0.401).lineTo(-0.331, 0.401).lineTo(-0.195, 0.401).lineTo(-0.195, -0.039).lineTo(0.195, -0.039).lineTo(0.195, 0.401).lineTo(0.331... | 7 | 106 | 0.286438 |
train_3bb4cc15cd390072 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.722, 0.013, 0.197), normal=(-0.162, -0.634, -0.756), xDir=(0.969, -0.248, 0))).moveTo(0.285, 0.444).lineTo(0.285, 0.125).lineTo(0.081, 0.125).lineTo(0.081, -0.444).lineTo(-0.081, -0.444).lineTo(-0.081, 0.125).lineTo(-0.285, 0.125).lineTo(-0.285,... | 18 | 425 | 0.557295 |
train_cac0ea30f47d2555 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.442, -0.51, -0.871), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.227, 0.031).threePointArc((0.262, 0.022), (0.273, -0.009)).threePointArc((0.248, -0.031), (0.213, -0.022)).threePointArc((0.203, 0.009), (0.227, 0.031)).close().sweep(cq.Workplan... | 13 | 130 | 0.531295 |
train_ae7555972dde2bbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.082, 0.041, 0.109), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.452, 0.639).lineTo(0.452, -0.503).threePointArc((-0.452, 0.068), (0.452, 0.639)).close().extrude(0.917)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.031, 0.546, 0.133), ... | 10 | 77 | 1.34496 |
train_1ecf7a0eafa54566 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.236, 0, 0.42), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.012, 0.272).lineTo(0.305, 0.027).lineTo(-0.009, -0.272).lineTo(-0.305, 0.05).lineTo(0.012, 0.272).close().sweep(cq.Workplane(cq.Plane(origin=(0.346, 0, 0.043), normal=(0, -1, 0), xDir=... | 7 | 238 | 0.302695 |
train_1c97492d4a1d99c7 | 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.852, 0.667).lineTo(0.852, 0.112).lineTo(0.277, 0.112).lineTo(0.277, -0.667).lineTo(-0.277, -0.667).lineTo(-0.277, 0.112).lineTo(-0.852, 0.112).lineTo(-0.852, 0.667).lineTo(0.852, 0.667).close(... | 6 | 10 | 2.754572 |
train_110b4c861c788476 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.41).lineTo(1, -0.348).lineTo(0.938, -0.41).lineTo(-0.972, -0.41).lineTo(-1, -0.382).lineTo(-1, 0.346).lineTo(-0.936, 0.41).lineTo(1, 0.41).close().extrude(0.189)
result = result.union(c... | 13 | 65 | 0.200038 |
train_0848ff0c3c1aad97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.773, 0, -0.753), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.387, 1.505).lineTo(0.387, 0.387).lineTo(1.545, 0.387).lineTo(1.545, 0).lineTo(0, 0).lineTo(0, 1.505).lineTo(0.387, 1.505).close().extrude(1, both=True)
final_result = result
| 1 | 8 | 2.061162 |
train_169d8066339acec0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.718), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.784).extrude(1.007)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.784, 0, -0.718), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.078, 0.34), (-0.295, 0.613), (-0.609, 0.... | 8 | 113 | 1.85106 |
train_c204167395e100f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.076, 0.02, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.55, 0.349).lineTo(-0.55, -0.236).lineTo(0.837, -0.236).lineTo(0.837, -0.349).lineTo(-0.837, -0.349).lineTo(-0.837, 0.349).lineTo(-0.55, 0.349).close().extrude(0.524, taper=1.821)
re... | 18 | 136 | 0.398659 |
train_55958dc54a13e8f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.076, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.329, 0.312).lineTo(0.483, 0.157).lineTo(0.483, -0.086).lineTo(0.257, -0.312).lineTo(-0.177, -0.312).lineTo(-0.483, -0.006).lineTo(-0.483, 0.006).lineTo(-0.177, 0.312).lineTo(0.329, 0.3... | 15 | 88 | 0.225527 |
train_3c2776625275551a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.047, -0.115, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.105, 0.863).lineTo(0.68, 0.702).lineTo(0.427, 0.265).lineTo(0.866, 0.012).lineTo(0.958, -0.333).lineTo(0.266, -0.518).lineTo(0.359, -0.863).lineTo(-0.519, -0.357).lineTo(-0.173, -0.26... | 6 | 50 | 1.199511 |
train_d5bfe50688e4a25b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.355, -0.18, 0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.402, 0.258).threePointArc((0.444, 0.252), (0.458, 0.235)).lineTo(0.458, -0.193).threePointArc((0.443, -0.211), (0.397, -0.214)).lineTo(0.229, -0.204).threePointArc((0.075, -0.203), ... | 17 | 258 | 0.442818 |
train_53eb9d5340a674c8 | 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.661, 0.782).lineTo(0.661, 0.448).lineTo(1, 0.448).lineTo(1, -0.359).threePointArc((0.868, -0.658), (0.573, -0.782)).lineTo(-1, -0.782).lineTo(-1, 0.378).lineTo(-0.591, 0.782).lineTo(0.661,... | 9 | 108 | 0.60385 |
train_e54d168e21f804ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.352), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.222).lineTo(1, 0.165).threePointArc((0.989, 0.16), (0.961, 0.157)).lineTo(-0.455, 0.157).threePointArc((-0.573, 0.147), (-0.624, 0.123)).lineTo(-0.624, -0.07).threePointArc((-0.496,... | 3 | 18 | 0.301775 |
train_8289199244e74eff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.937, 2).extrude(0.196)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.335, 0.196).lineTo(0.335, -0.196).lineTo(-0.335, -0.196).... | 12 | 36 | 0.20548 |
train_99ba05675baebb8f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.052).threePointArc((0.039, 0.039), (0.052, 0)).threePointArc((0.039, -0.039), (0, -0.052)).threePointArc((-0.039, -0.039), (-0.052, 0)).threePointArc((-0.039, 0.039), (0, 0.052)).close... | 10 | 124 | 0.160702 |
train_9e8ebdc48b326780 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.361, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.467, 0.52).threePointArc((0.588, 0.47), (0.639, 0.35)).lineTo(0.639, -0.376).lineTo(0.493, -0.52).lineTo(-0.639, -0.52).lineTo(-0.639, 0.52).lineTo(0.467, 0.52).close().extrude(0.391)... | 11 | 53 | 0.573333 |
train_d99fa657e3bd27f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.327).threePointArc((0.969, 0.298), (1, 0.229)).lineTo(1, -0.149).threePointArc((0.946, -0.276), (0.822, -0.327)).lineTo(-0.815, -0.327).threePointArc((-0.944, -0.273), (-1, -0.143))... | 10 | 20 | 0.222135 |
train_a291da32eba9523d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.351), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.703).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.703).lineTo(-0.904, 0.703).lineTo(-0.904, 0.088).lineTo(0.904, 0.088).lineTo(0.904, 0.703).lineTo(1, 0.703).close().extrude(0.44, both=True... | 10 | 79 | 0.21081 |
train_ca6e7a1fcb8f9fbd | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.055, 1).threePointArc((0.124, 0.923), (0.2, 0.745)).lineTo(0.2, 0.452).threePointArc((0.275, 0.275), (0.452, 0.2)).lineTo(0.849, 0.2).threePointArc((0.955, 0.156), (1, 0.05)).lineTo(1, -0.538).threePointArc((0.981, -0.582), (0.937, -0.6)).lineTo(0.... | 4 | 63 | 1.929102 |
train_a2073c33989ae21b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.42, -0.201, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.838).threePointArc((0.595, 0.595), (0.838, 0)).lineTo(0.301, 0).threePointArc((0.213, 0.213), (0, 0.301)).lineTo(0, 0.838).close().extrude(2)
result = result.union(cq.Workplane(cq.... | 7 | 46 | 0.894043 |
train_82d59b42860b84b9 | 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.788, 0.667).lineTo(0.788, 0.215).lineTo(-0.336, 0.215).lineTo(-0.336, -0.215).lineTo(0.788, -0.215).lineTo(0.788, -0.667).lineTo(-0.788, -0.667).lineTo(-0.788, 0.667).lineTo(0.788, 0.667).clos... | 5 | 28 | 3.19211 |
train_dce066d31e085310 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.063, -0.161), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.635, 0.71).threePointArc((0.708, 0.68), (0.739, 0.606)).lineTo(0.739, -0.481).threePointArc((0.708, -0.554), (0.635, -0.585)).lineTo(-0.635, -0.585).threePointArc((-0.708, -0.554), (... | 13 | 64 | 3.228593 |
train_c34281aa5a357150 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.569).lineTo(1, -0.569).lineTo(-1, -0.569).lineTo(-1, 0.569).lineTo(-0.372, 0.569).lineTo(-0.372, -0.3).lineTo(0.372, -0.3).lineTo(0.372, 0.569).lineTo(1, 0.569).close().extrude(0.879, taper=2.453, both=True)
result = result.cut(cq.Workplane(cq.Pl... | 6 | 52 | 2.501493 |
train_74849c7cf9a7b195 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.869, 0.141).lineTo(1, 0.104).lineTo(0.881, 0.066).lineTo(0.237, -0.024).lineTo(0.227, -0.23).lineTo(-0.279, -0.23).lineTo(-0.289, -0.024).lineTo(-0.905, 0.061).threePointArc((-1, 0.12... | 1 | 20 | 0.097691 |
train_3391d34d09f2ed3d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.671), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.865).lineTo(1, 0.291).lineTo(-0.425, 0.291).lineTo(-0.425, -0.291).lineTo(1, -0.291).lineTo(1, -0.865).lineTo(-1, -0.865).lineTo(-1, 0.865).lineTo(1, 0.865).close().extrude(1.342, taper... | 8 | 18 | 3.289848 |
train_549da46f04dfb913 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.358, 0, -0.131), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.582, 0.42).lineTo(0.582, 0).lineTo(-0.582, 0).lineTo(-0.582, 0.42).lineTo(-0.501, 0.42).lineTo(-0.501, 0.081).lineTo(0.501, 0.081).lineTo(0.501, 0.42).lineTo(0.582, 0.42).close().ext... | 5 | 37 | 0.084202 |
train_b9a400b898a20a03 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.097, 0.202, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.469, 0.441).threePointArc((0.511, 0.428), (0.529, 0.398)).lineTo(0.529, -0.303).threePointArc((0.472, -0.4), (0.338, -0.441)).lineTo(-0.324, -0.441).threePointArc((-0.468, -0.397),... | 10 | 99 | 0.926676 |
train_d125f99bee42bc88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.795, 0.253).lineTo(0.912, 0.184).lineTo(1, 0.089).lineTo(1, 0).lineTo(0.835, 0).lineTo(0.835, 0.076).lineTo(0.739, 0.184).lineTo(0, 0.098).lineTo(0, 0.253).lineTo(0.795, 0.253).close().re... | 6 | 30 | 0.325217 |
train_adf67d0b55d476c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.034, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.236).lineTo(1, 0.127).lineTo(-0.378, 0.127).lineTo(-0.378, -0.127).lineTo(1, -0.127).lineTo(1, -0.236).lineTo(-1, -0.236).lineTo(-1, 0.236).lineTo(1, 0.236).close().extrude(0.171)
... | 20 | 183 | 0.027238 |
train_07a709d367e48f62 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.153, 0, -0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.565, 0.044).lineTo(0.827, 0.013).threePointArc((0.847, 0.001), (0.835, -0.011)).lineTo(0.575, -0.045).threePointArc((0.445, -0.052), (0.299, -0.057)).lineTo(-0.204, -0.057).threePoint... | 19 | 506 | 0.074867 |
train_d42170213d817ff9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.137, -0.593, 0.467), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.15, 1.111).lineTo(0.383, 0.896).lineTo(0.533, 0.604).lineTo(0.431, 0.249).lineTo(0.084, 0.075).lineTo(-0.266, 0.213).lineTo(-0.533, 0.487).lineTo(-0.487, 0.878).lineTo(-0.192, 1.1... | 2 | 18 | 0.431279 |
train_331c24e2f7289179 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.03, -0.198, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.259, 0.098).threePointArc((0.352, 0.054), (0.641, 0.036)).threePointArc((0.755, -0.272), (-0.223, -0.066)).threePointArc((-0.227, -0.022), (-0.517, 0.015)).threePointArc((-0.755, 0... | 16 | 386 | 0.990003 |
train_9e5010fbb02c7343 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.317, 0.14).lineTo(0.454, 0.003).lineTo(0.454, -0.049).lineTo(0.363, -0.14).lineTo(-0.454, -0.14).lineTo(-0.454, 0.019).lineTo(-0.332, 0.019).lineTo(-0.332, 0.14).lineTo(0.317, 0.14).close(... | 10 | 81 | 0.191063 |
train_19856cd4e04d8142 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0.001, 0.414), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.359, 0.548).threePointArc((-0.226, 0.548), (-0.104, 0.487)).threePointArc((-0.015, 0.404), (0.047, 0.339)).threePointArc((0.11, 0.309), (0.197, 0.302)).threePointArc((0.31, 0.288... | 6 | 572 | 1.030951 |
train_8f4cf223024d3ef6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.694).lineTo(1, -0.607).threePointArc((0.974, -0.669), (0.912, -0.694)).lineTo(-1, -0.694).lineTo(-1, 0.58).lineTo(-0.885, 0.694).lineTo(1, 0.694).close().extrude(0.092)
result = result.... | 10 | 45 | 1.082329 |
train_74fb00e3cd843a3f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.498, 0.391).lineTo(0.498, -0.13).lineTo(1, -0.13).lineTo(1, -0.391).lineTo(-0.498, -0.391).lineTo(-0.498, -0.13).lineTo(-1, -0.13).lineTo(-1, 0.13).lineTo(0, 0.13).lineTo(0, 0.391).lineTo(0.498, 0.391).close().extrude(0.587, both=True)
result = resu... | 6 | 48 | 0.86045 |
train_79679cb4d257a471 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, 0, -0.437), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.718, -0.104).lineTo(0.979, -0.166).lineTo(0.962, -0.245).lineTo(0.7, -0.187).lineTo(0.665, -0.284).lineTo(0.901, -0.416).lineTo(0.866, -0.486).lineTo(0.627, -0.362).lineTo(0.57, -0.448... | 11 | 186 | 0.918936 |
train_b43d7aa3551faf13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.552).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.552).lineTo(-0.84, 0.552).lineTo(-0.84, 0.16).lineTo(0.84, 0.16).lineTo(0.84, 0.552).lineTo(1, 0.552).close().extrude(0.548, both=True)
res... | 2 | 15 | 0.541194 |
train_44006b99feb1310b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.9, 0.524).lineTo(0.9, 0.317).lineTo(1.003, 0.317).lineTo(1.003, 0).lineTo(0.569, 0).lineTo(0.569, 0.524).lineTo(0.9, 0.524).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=... | 3 | 59 | 0.757714 |
train_95dcbefd73ec5486 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.931, 1).lineTo(0.931, -0.922).threePointArc((0.907, -0.976), (0.853, -1)).lineTo(-0.853, -1).lineTo(-0.853, -0.92).lineTo(-0.931, -0.92).lineTo(-0.931, 0.949).lineTo(-0.88, 0.949).lineTo(-... | 10 | 40 | 1.320291 |
train_0f576273478a8ee3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.812, 0.5).threePointArc((0.944, 0.444), (1, 0.312)).lineTo(1, 0.085).threePointArc((0.975, 0.025), (0.915, 0)).lineTo(0.109, 0).threePointArc((0.032, -0.032), (0, -0.109)).lineTo(0, -0.403... | 11 | 85 | 0.532829 |
train_43a3b44c3a4cc85f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.868, 0.277).threePointArc((0.961, 0.239), (1, 0.146)).lineTo(1, -0.084).threePointArc((0.942, -0.221), (0.807, -0.277)).lineTo(-0.752, -0.277).threePointArc((-0.926, -0.205), (-1, -0.031))... | 8 | 76 | 0.07201 |
train_e61c1e911e0fa7bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.186, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.187, 0.828).lineTo(0.187, 0.276).lineTo(0.56, 0.276).lineTo(0.56, -0.276).lineTo(0.933, -0.276).lineTo(0.933, -0.828).lineTo(0.187, -0.828).lineTo(0.187, -0.276).lineTo(-0.56, -0.276).line... | 3 | 14 | 3.70944 |
train_30ab0591b246dcb1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.532, 0.893).lineTo(-0.532, -0.483).lineTo(1, -0.483).lineTo(1, -0.893).lineTo(-1, -0.893).lineTo(-1, 0.893).lineTo(-0.532, 0.893).close().extrude(0.19, taper=5.468)
result = result.cut(cq... | 3 | 24 | 0.157918 |
train_5ab86556d46ed807 | 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.124, 0.26).threePointArc((0.199, 0.23), (0.231, 0.155)).lineTo(0.231, -0.159).threePointArc((0.201, -0.231), (0.13, -0.26)).lineTo(-0.155, -0.26).threePointArc((-0.208, -0.238), (-0.231, -... | 7 | 35 | 0.426161 |
train_4345d930bfdae8c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.264, 1).lineTo(0.264, 0.853).lineTo(0.408, 0.853).lineTo(0.408, -0.691).threePointArc((0.318, -0.909), (0.1, -1)).lineTo(-0.137, -1).lineTo(-0.408, -0.728).lineTo(-0.408, 1).lineTo(0.264, ... | 2 | 18 | 0.286578 |
train_1b3e4a24db7dca03 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.913), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.089)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.913), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.5, 0.866), (-1.5, 0.866), (-2, 0), (-1.5, -0.866... | 12 | 104 | 0.535353 |
train_4b0d9e654db32404 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, -0.031, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.245, 0.333).threePointArc((0.245, 0.056), (-0.163, -0.333)).threePointArc((-0.245, -0.333), (-0.245, -0.222)).lineTo(0.071, 0.101).threePointArc((0.079, 0.112), (0.082, 0.124)).lineTo(... | 3 | 16 | 0.402004 |
train_d90bde5db3246fb4 | 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.625, 0.13).threePointArc((0.755, 0), (0.625, -0.13)).lineTo(0.354, -0.13).lineTo(0.082, -0.13).threePointArc((-0.048, 0), (0.082, 0.13)).lineTo(0.354, 0.13).lineTo(0.625, 0.13).close().extrude... | 6 | 42 | 0.148176 |
train_cc6ee18e1eaf12b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.492, -0.33, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.98).threePointArc((0.695, 0.695), (0.98, 0)).lineTo(0.422, 0).threePointArc((0.299, 0.299), (0, 0.422)).lineTo(0, 0.98).close().extrude(2)
result = result.union(cq.Workplane(cq.Pla... | 9 | 55 | 1.248458 |
train_a542830912cabe5b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.061, 0.251, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, 0.749).threePointArc((0.126, 0.737), (0.14, 0.708)).lineTo(0.14, 0.38).threePointArc((0.183, 0.288), (0.286, 0.25)).lineTo(0.504, 0.25).threePointArc((0.641, 0.198), (0.698, ... | 7 | 134 | 0.656218 |
train_219dc41463db48cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.246, 0, -0.764), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.099, 0.571).lineTo(0.307, 0.334).threePointArc((0.36, 0.303), (0.416, 0.327)).lineTo(0.554, 0.448).threePointArc((0.734, 0.058), (0.742, -0.287)).threePointArc((0.702, -0.412), (0.53,... | 5 | 57 | 1.985459 |
train_80c4357262a31fa8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.707, 0.589).lineTo(0.707, 0).lineTo(-0.707, 0).lineTo(-0.707, 0.589).lineTo(-0.498, 0.589).lineTo(-0.498, 0.207).lineTo(0.498, 0.207).lineTo(0.498, 0.589).lineTo(0.707, 0.589).close().ext... | 17 | 583 | 0.765627 |
train_02969407c247c077 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, 0.166, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, 0.037).lineTo(0.055, -0.037).lineTo(-0.055, -0.037).lineTo(-0.055, -0.018).lineTo(0, -0.018).lineTo(0, 0.018).lineTo(0.018, 0.018).lineTo(0.018, 0.037).lineTo(0.055, 0.037).close()... | 16 | 227 | 0.311534 |
train_29d23be8f114827a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.272, 0.653).lineTo(-0.272, -0.245).lineTo(0.667, -0.245).lineTo(0.667, -0.653).lineTo(-0.667, -0.653).lineTo(-0.667, 0.653).lineTo(-0.272, 0.653).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.313, -0.471, -0.848... | 12 | 57 | 2.48868 |
train_2597142643e03ab8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.578, 1).lineTo(0.578, -1).lineTo(-0.578, -1).lineTo(-0.578, 1).lineTo(0.578, 1).close().extrude(0.672, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.373), normal=(... | 7 | 47 | 2.983253 |
train_47434c7c1e2d141a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.86).lineTo(1, 0.123).lineTo(-0.711, 0.123).lineTo(-0.711, -0.123).lineTo(1, -0.123).lineTo(1, -0.86).lineTo(-1, -0.86).lineTo(-1, -0.617).lineTo(0.711, -0.617).lineTo(0.711, -0.37).lineTo(-1, -0.37).lineTo(-1, 0.37).lineTo(0.711, 0.37).lineTo(0.7... | 8 | 103 | 0.753612 |
train_23dceead01386618 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.253), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.575).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.575).lineTo(-0.69, 0.575).lineTo(-0.69, 0.26).lineTo(0.69, 0.26).lineTo(0.69, 0.575).lineTo(1, 0.575).close().extrude(0.306, both=True)
res... | 10 | 41 | 0.498438 |
train_cc91d64669d87b29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.045, 0.243, 0.574), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.021, 0.179).threePointArc((0.06, 0.148), (0.071, 0.089)).threePointArc((0.078, 0.054), (0.111, 0.042)).threePointArc((0.151, 0.02), (0.156, -0.018)).threePointArc((0.129, -0.05), ... | 6 | 70 | 0.239638 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.