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_9daa82f6fd089893 | 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.369, 0.549).threePointArc((-0.349, 0.54), (-0.34, 0.52)).lineTo(-0.34, -0.212).threePointArc((-0.305, -0.295), (-0.222, -0.33)).lineTo(0.523, -0.33).threePointArc((0.548, -0.341), (0.559, -0.... | 5 | 34 | 0.632662 |
train_ddc50f6a3b49e0ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.406).lineTo(1, -0.406).threePointArc((0.99, -0.411), (0.985, -0.413)).lineTo(-0.979, -0.413).threePointArc((-0.988, -0.409), (-1, -0.401)).lineTo(-1, 0.401).threePointArc((-0.988, 0.409... | 13 | 54 | 0.230089 |
train_24e7174361b5364e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.864, -0.123).lineTo(0.978, -0.171).lineTo(0.95, -0.288).lineTo(0.83, -0.271).lineTo(0.787, -0.385).lineTo(0.877, -0.467).lineTo(0.818, -0.568).lineTo(0.71, -0.516).lineTo(0.63, -0.611).lin... | 7 | 165 | 0.872544 |
train_f74668457e9378c6 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.047, 0.111).threePointArc((0.079, 0.101), (0.093, 0.078)).lineTo(0.093, -0.082).threePointArc((0.081, -0.103), (0.053, -0.111)).lineTo(0.013, -0.111).threePointArc((-0.018, -0.102), (-0.031, -0.08)).lineTo(-0.031, -0.036).threePointArc((-0.037, -0.0... | 3 | 18 | 0.064194 |
train_46666596aa8c0533 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.364, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.45, 0.45).threePointArc((0.45, -0.45), (-0.45, -0.45)).threePointArc((-0.45, 0.45), (0.45, 0.45)).close().extrude(0.191)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.515, 0.193,... | 40 | 163 | 0.42196 |
train_104fde799498e5d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.763, 2).extrude(0.308)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.154, -0.772).lineTo(0.154, -0.772).lineTo(-0.154, -0.828)... | 13 | 264 | 0.166023 |
train_39123b4399ac21de | 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.86).lineTo(1, 0.439).lineTo(-0.408, 0.439).lineTo(-0.408, -0.439).lineTo(1, -0.439).lineTo(1, -0.86).lineTo(-1, -0.86).lineTo(-1, 0.86).lineTo(1, 0.86).close().extrude(0.364, taper=13.0... | 13 | 54 | 1.31239 |
train_b951b5788b02e23a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.389, -0.376), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.753).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.753).lineTo(-0.631, 0.753).lineTo(-0.631, 0.369).lineTo(0.631, 0.369).lineTo(0.631, 0.753).lineTo(1, 0.753).close().extrude(0.281, both... | 4 | 58 | 0.569085 |
train_0e2adb7414d7032f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.9).lineTo(1, -0.494).threePointArc((0.876, -0.785), (0.589, -0.9)).lineTo(-0.746, -0.9).threePointArc((-0.921, -0.83), (-1, -0.65)).lineTo(-1, 0.537).threePointArc((-0.888, 0.797), (-0.... | 14 | 200 | 1.452862 |
train_47132501c1e00c66 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, 1).threePointArc((0.886, 0.95), (0.936, 0.831)).lineTo(0.936, -0.919).threePointArc((0.912, -0.975), (0.855, -1)).lineTo(-0.783, -1).threePointArc((-0.891, -0.955), (-0.936, -0.847)).... | 5 | 83 | 0.54059 |
train_9253439d0b8220d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.226, 0.053, 0.06), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 0.752).lineTo(0.774, -0.752).lineTo(-0.774, -0.752).lineTo(-0.774, -0.251).lineTo(0.553, -0.251).lineTo(0.553, 0.251).lineTo(-0.774, 0.251).lineTo(-0.774, 0.752).lineTo(0.774, ... | 11 | 44 | 1.260243 |
train_0e15fd6f6d419236 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.082, -0.014, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.706, 0.595).threePointArc((0.738, 0.099), (0.842, -0.018)).threePointArc((0.905, -0.155), (0.777, -0.397)).threePointArc((0.742, -0.685), (0.46, -0.872)).threePointArc((0.245, -0.... | 22 | 84 | 1.69374 |
train_bc89bb23e6c98ce6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.906, 0, -0.821), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.46, 1.642).lineTo(0.46, 0.46).lineTo(1.812, 0.46).lineTo(1.812, 0).lineTo(0, 0).lineTo(0, 1.642).lineTo(0.46, 1.642).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq... | 6 | 42 | 2.349065 |
train_3cc8d67f44012452 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.219, 0, 0.529), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.171, 0.117).lineTo(0.78, 0.071).lineTo(0.772, -0.031).lineTo(0.67, -0.023).threePointArc((0.561, -0.117), (0.358, -0.102)).lineTo(0.155, -0.086).lineTo(0.171, 0.117).close().revolve(a... | 4 | 39 | 0.446732 |
train_bba00cf34dd9b80f | 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.594, 0.332).workplane(offset=2).rect(1.727, 0.304).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.506), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.056).extrude(1, both=True))... | 2 | 9 | 0.718072 |
train_0148d0831cda8af0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.054, 0.227, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.108, 0.622).lineTo(-0.108, 0.282).lineTo(0.243, 0.282).lineTo(0.263, 0.228).threePointArc((0.272, 0.2), (0.26, 0.173)).lineTo(0.243, 0.118).lineTo(-0.272, 0.118).lineTo(-0.272, 0... | 4 | 33 | 0.438073 |
train_e153d2e33a3fc4c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 1).lineTo(0.815, 0.898).lineTo(0.815, -0.927).threePointArc((0.797, -0.973), (0.752, -1)).lineTo(-0.756, -1).lineTo(-0.815, -0.93).lineTo(-0.815, 0.941).threePointArc((-0.802, 0.977),... | 4 | 28 | 1.071453 |
train_af864dbc468b6319 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.499, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, -0.5).lineTo(-1, -0.5).lineTo(-1, 0.5).lineTo(1, 0.5).close().extrude(0.342)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.269, 0.499, 0.115), normal=(0, 0, 1)... | 8 | 53 | 0.686216 |
train_46258dc1bf1a663d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.051), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.315, 0.908).threePointArc((-0.093, 0.827), (0, 0.625)).lineTo(0, 0.196).threePointArc((0.064, 0.058), (0.215, 0)).lineTo(0.82, 0).threePointArc((0.943, -0.049), (1, -0.164)).lineTo(1, -0.3... | 10 | 243 | 0.354125 |
train_53e14486f56faffb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.978), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.649, 1.444).lineTo(0.649, 0.398).lineTo(1, 0.398).lineTo(1, 0).lineTo(0.274, 0).lineTo(0.274, 1.444).lineTo(0.649, 1.444).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 6 | 49 | 2.191512 |
train_884018b108a180a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.677, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.279, 0.319).threePointArc((0.368, 0.281), (0.405, 0.192)).lineTo(0.405, -0.143).threePointArc((0.368, -0.232), (0.279, -0.27)).threePointArc((0.187, -0.275), (0.107, -0.319)).lineTo(-0.065... | 8 | 153 | 1.648516 |
train_a8cbebfac266a0af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.414, 2).lineTo(0.414, 0.444).lineTo(0.648, 0.444).lineTo(0.648, 0).lineTo(0.28, 0).lineTo(0.28, 2).lineTo(0.414, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
r... | 3 | 10 | 0.904698 |
train_9f72d31681e8b472 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.212).lineTo(0.904, 0).lineTo(1, -0.212).lineTo(0.329, -0.212).lineTo(0.329, 0.212).lineTo(1, 0.212).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0... | 14 | 86 | 0.673976 |
train_3314e1d69590e6f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.046, 0.317, -0.446), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.594, 0.114).lineTo(0.643, 0.026).threePointArc((0.618, -0.044), (0.594, -0.114)).lineTo(-0.643, -0.026).threePointArc((-0.618, 0.044), (-0.594, 0.114)).close(... | 10 | 69 | 0.546933 |
train_ccd6e52783eeea3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.114, 0.818, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.032, 0.172).threePointArc((0.145, 0.138), (0.236, 0.082)).threePointArc((0.291, 0.014), (0.301, -0.056)).threePointArc((0.266, -0.118), (0.191, -0.161)).threePointArc((0.086, -0.181), ... | 4 | 28 | 0.578011 |
train_a4dbd42139b79654 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.251, -1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.564, -0.061).lineTo(0.548, -0.147).lineTo(0.72, -0.206).lineTo(0.671, -0.332).lineTo(0.504, -0.26).lineTo(0.457, -0.335).lineTo(0.597, -0.452).lineTo(0.505, -0.552).lineTo(0.376, -0.425).... | 3 | 73 | 2.751604 |
train_d4acd6e545c1b754 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.285, -0.231, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.568).threePointArc((0.402, 0.402), (0.568, 0)).lineTo(0.143, 0).threePointArc((0.103, 0.103), (0, 0.143)).lineTo(0, 0.568).close().extrude(2)
result = result.union(cq.Workplane(cq... | 11 | 64 | 0.321806 |
train_38a786f37840786c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, 1).threePointArc((0.352, 0.897), (0.455, 0.649)).lineTo(0.455, -0.82).lineTo(0.275, -0.82).lineTo(0.275, -1).lineTo(-0.158, -1).lineTo(-0.455, -0.703).lineTo(-0.455, 0.754).lineTo(-0.... | 13 | 146 | 0.514616 |
train_cb1ee5939a683c6a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.94, 0.505).lineTo(1, 0.444).lineTo(1, -0.452).lineTo(0.948, -0.505).lineTo(-0.94, -0.505).lineTo(-1, -0.445).lineTo(-1, 0.451).lineTo(-0.947, 0.505).lineTo(0.94, 0.505).close().extrude(0.6... | 10 | 38 | 0.844561 |
train_917093b109f2d210 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.27, 0.01, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.883, -0.013).lineTo(0.831, -0.051).lineTo(0.782, -0.094).lineTo(0.738, -0.143).lineTo(0.699, -0.196).lineTo(0.665, -0.254).lineTo(0.637, -0.314).lineTo(0.614, -0.378).lineTo(0.598, -0.44... | 17 | 632 | 0.81295 |
train_b8ea8cb03b6ca1e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.809), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.294, 1.618).lineTo(0.294, 0.294).lineTo(2, 0.294).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.618).lineTo(0.294, 1.618).close().extrude(0.875, both=True)
result = result.cut(cq.Workplane(cq.Pl... | 7 | 70 | 1.654397 |
train_83c30044da52e989 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.084, 0, -0.335), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.916, 0.618).lineTo(0.916, 0).lineTo(-0.916, 0).lineTo(-0.916, 0.618).lineTo(-0.607, 0.618).lineTo(-0.607, 0.309).lineTo(0.607, 0.309).lineTo(0.607, 0.618).lineTo(0.916, 0.618).close(... | 11 | 148 | 0.686064 |
train_eff7f92944a70317 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.014, -0.057, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.218, 0.568).lineTo(0.541, 0.009).threePointArc((0.435, -0.276), (0.256, -0.525)).threePointArc((-0.056, -0.522), (-0.365, -0.568)).lineTo(-0.535, -0.045).threePointArc((-0.541, 0.... | 3 | 47 | 0.663716 |
train_3d905f2004948d35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.108, 0.98, 0.263), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.341, 0.892).threePointArc((0.431, 0.854), (0.469, 0.764)).lineTo(0.469, 0.153).threePointArc((0.431, 0.063), (0.341, 0.026)).lineTo(-0.341, 0.026).threePointArc((-0.431, 0.063), (-... | 5 | 58 | 1.655532 |
train_7de379a2ad3e71ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.122, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.652, 0.877).lineTo(0.652, 0.621).lineTo(-0.395, 0.621).lineTo(-0.395, -0.621).lineTo(0.652, -0.621).lineTo(0.652, -0.877).lineTo(-0.652, -0.877).lineTo(-0.652, 0.877).lineTo(0.652, 0.877).c... | 20 | 137 | 1.149395 |
train_0d25421ce7e7f86f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.647, -0.309, 0.457), normal=(-0.549, 0.621, -0.559), xDir=(-0.749, -0.663, 0))).moveTo(0.242, -0.243).lineTo(0.184, -0.27).threePointArc((0.169, -0.273), (0.153, -0.27)).lineTo(-0.155, -0.136).threePointArc((-0.188, -0.135), (-0.218, -0.163)).li... | 5 | 59 | 0.801341 |
train_038d1733f961f842 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.485).extrude(0.249, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.484).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 6 | 30 | 1.097855 |
train_adf94f61806d8766 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.623).lineTo(1, 0.374).lineTo(-0.664, 0.374).lineTo(-0.664, 0.124).lineTo(1, 0.124).lineTo(1, -0.623).lineTo(-1, -0.623).lineTo(-1, -0.374).lineTo(0.664, -0.374).lineTo(0.664, -0.124).li... | 9 | 29 | 2.47041 |
train_1a80eb6f6159f048 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.443, 0.415, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.077, 0.58).lineTo(0.085, 0.493).lineTo(0.092, 0.088).lineTo(0.406, 0.081).lineTo(0.453, 0.028).lineTo(0.401, 0.005).lineTo(0.397, -0.048).lineTo(0.092, -0.055).lineTo(0.085, -0.244... | 7 | 109 | 0.815538 |
train_ae43fc4fb93171fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.056, -0.001, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.367, 0.444).threePointArc((0.533, 0.548), (0.666, 0.521)).threePointArc((0.847, 0.337), (0.805, 0.211)).threePointArc((0.359, -0.223), (0.314, -0.304)).lineTo(0.313, -0.347).three... | 12 | 100 | 1.637661 |
train_37354d11b4459be0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.726), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.143, 1).threePointArc((0.133, 0.883), (0.25, 0.607)).lineTo(0.25, 0.195).threePointArc((0.308, 0.058), (0.445, 0)).lineTo(0.648, 0).threePointArc((0.72, -0.03), (0.75, -0.102)).lineTo(0.7... | 7 | 18 | 2.811012 |
train_228d44bb7f122e41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.012, 1).threePointArc((0.419, 0.831), (0.587, 0.426)).lineTo(0.587, -0.643).threePointArc((0.482, -0.894), (0.228, -1)).lineTo(-0.268, -1).lineTo(-0.268, -0.681).lineTo(-0.587, -0.681).lin... | 10 | 201 | 0.375246 |
train_0c580f51c832033f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.052, 0, -0.584), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.64, 0.802).lineTo(1.026, 0).lineTo(0.64, -0.802).lineTo(-0.228, -1).lineTo(-0.923, -0.446).lineTo(-0.923, 0.446).lineTo(-0.228, 1).close().extrude(1.168)
final_resul... | 1 | 9 | 3.362296 |
train_88a8f7e4614d39b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.576, 1).lineTo(0.576, 0.47).lineTo(-0.348, 0.47).lineTo(-0.348, -0.47).lineTo(0.576, -0.47).lineTo(0.576, -1).lineTo(-0.576, -1).lineTo(-0.576, 1).lineTo(0.576, 1).close().extrude(0.207)
r... | 5 | 51 | 0.296445 |
train_550fca253fa8acbd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.591, 0.758).threePointArc((0.2, 0.979), (0.779, 0.077)).lineTo(0.43, -0.02).threePointArc((0.405, -0.032), (0.434, -0.037)).lineTo(0.642, -0.044).threePointArc((0.697, -0.059), (0.71... | 6 | 86 | 0.338081 |
train_7cacfe1a8a2ff561 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.272).lineTo(0.905, 0).lineTo(1, -0.272).lineTo(0.4, -0.272).lineTo(0.4, 0.272).lineTo(1, 0.272).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.52, 0, -0.124), normal=(... | 11 | 57 | 0.864936 |
train_ac4d4f1e9d0fb37f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.055, -0.14, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.075, 0.056).threePointArc((0.131, 0.084), (0.131, -0.07)).lineTo(0.117, -0.056).threePointArc((-0.008, -0.084), (0.089, 0.028)).lineTo(0.075, 0.056).close().extrude(1.672).union(cq... | 7 | 26 | 0.116776 |
train_4cfb618f137aecb7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.742, -0.621).lineTo(0.032, -0.72).lineTo(-0.689, -0.595).lineTo(-1.007, 0.017).lineTo(-0.525, 0.508).lineTo(0.097, 0.72).lineTo(0.785, 0.537).lineTo(1.007, -0.046).close().moveTo(-0.17... | 8 | 138 | 0.59848 |
train_4eeff2ac3bef7d30 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.366, 0, -0.126), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.634, 0.356).lineTo(0.634, 0).lineTo(-0.634, 0).lineTo(-0.634, 0.356).lineTo(-0.444, 0.356).lineTo(-0.444, 0.19).lineTo(0.444, 0.19).lineTo(0.444, 0.356).lineTo(0.634, 0.356).close().e... | 4 | 64 | 0.233728 |
train_9b4ac5ddffcd329c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.395, 0.035, -0.459), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.605, 0.918).lineTo(0.605, 0.367).lineTo(0.361, 0.367).lineTo(0.361, 0).lineTo(0.107, 0).lineTo(0.107, 0.918).lineTo(0.605, 0.918).close().revolve(angleDegrees=360, axisStart=(0, ... | 4 | 35 | 0.773463 |
train_5a291fef4f3eafae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.076, 0, 0.606), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.078, 1.453).lineTo(0.394, 1.095).lineTo(0.089, 0.699).lineTo(-0.394, 0.921).lineTo(-0.078, 1.453).close().revolve(angleDegrees=270, axisStart=(-0.606, -0.348), axisEnd=(-0.606, 0.348)... | 7 | 139 | 0.318586 |
train_5f38cbf95cf1f206 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.811, -0.18).lineTo(0.958, -0.26).lineTo(0.906, -0.407).lineTo(0.75, -0.36).lineTo(0.653, -0.515).lineTo(0.754, -0.651).lineTo(0.642, -0.762).lineTo(0.519, -0.65).lineTo(0.365, -0.747).line... | 3 | 98 | 0.739214 |
train_f55936bbf2282ead | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.05, -0.065, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.126, 0.169).threePointArc((0.176, 0.145), (0.197, 0.088)).lineTo(0.197, -0.111).threePointArc((0.182, -0.152), (0.146, -0.169)).lineTo(-0.181, -0.169).threePointArc((-0.192, -0.164), (... | 6 | 36 | 0.260638 |
train_244db052ca130ceb | 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.805).extrude(2.773)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.94), normal=(0.074, 0, 0.997), xDir=(0.997, 0, -0.074))).circle(0.792).extrude(0.936))
result = result.cut(cq.Wo... | 4 | 5 | 3.923946 |
train_08898c1e4d746227 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.032, -0.05, 0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.398, 0.624).threePointArc((0.663, 0.416), (0.796, 0.208)).threePointArc((0.663, -0.416), (0.663, -0.624)).lineTo(0.531, -0.624).lineTo(-0.531, -0.416).threePointArc((-0.796, 0.416)... | 16 | 122 | 1.065557 |
train_7a9dd4aa47145126 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.334, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.091, 0.604).lineTo(0.415, 0.457).lineTo(0.429, 0.321).lineTo(0.665, 0.319).lineTo(0.636, -0.604).lineTo(-0.665, -0.591).lineTo(-0.636, 0.332).lineTo(-0.554, 0.331).lineTo(-0.563, 0.423).l... | 5 | 37 | 0.476505 |
train_7e75d43429d1f5e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.371), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.668, 0.173).lineTo(0.659, 0.005).lineTo(1, -0.014).lineTo(0.983, -0.182).lineTo(0.313, -0.145).lineTo(0.323, 0.023).lineTo(0.491, 0.014).lineTo(0.5, 0.182).lineTo(0.668, 0.173).close().re... | 7 | 72 | 0.631648 |
train_f52f02534e381dce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.745, 0.534).threePointArc((1, 0), (0.745, -0.534)).lineTo(0, -0.534).lineTo(-0.745, -0.534).threePointArc((-1, 0), (-0.745, 0.534)).lineTo(0, 0.534).lineTo(0.745, 0.534).close().extrude(0.... | 6 | 83 | 1.566635 |
train_ca005c0b2c23927b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.349, 0.198, 0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.321, 0.527).threePointArc((0.635, 0.154), (0.527, -0.321)).threePointArc((0.154, -0.635), (-0.321, -0.527)).threePointArc((-0.635, -0.154), (-0.527, 0.321)).threePointArc((-0.154, ... | 3 | 34 | 0.247205 |
train_afd41a484589974a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.18, 0.031), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.063, 0.623).threePointArc((0.144, 0.583), (0.178, 0.49)).lineTo(0.178, 0.271).threePointArc((0.194, 0.227), (0.232, 0.208)).lineTo(0.819, 0.208).threePointArc((0.869, 0.184), (0.89, 0.12... | 14 | 157 | 1.179853 |
train_f86a409c7d3af43f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.628), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.636, 1.256).lineTo(0.636, 0.446).lineTo(1, 0.446).lineTo(1, 0).lineTo(0.366, 0).lineTo(0.366, 1.256).lineTo(0.636, 1.256).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 6 | 49 | 1.513557 |
train_b1157958a4e4048b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.292), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.583).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.583).lineTo(-0.783, 0.583).lineTo(-0.783, 0.217).lineTo(0.783, 0.217).lineTo(0.783, 0.583).lineTo(1, 0.583).close().extrude(0.312, both=Tru... | 5 | 38 | 0.332069 |
train_4cf77b53cd93915e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.09, -0.015, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.551, -0.09).threePointArc((-0.747, -0.173), (-0.544, 0.109)).lineTo(0.587, 0.109).threePointArc((0.747, 0.173), (0.587, -0.081)).lineTo(-0.551, -0.09).close().extrude(0.126, tape... | 3 | 24 | 0.063232 |
train_0d9187c6d42d703c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, -0.246, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.565, 0.702).lineTo(0.835, -0.702).lineTo(-0.835, -0.702).lineTo(-0.565, 0.702).lineTo(0.565, 0.702).close().extrude(3.715, both=True)
result = result.intersect(cq.Workplane(cq.Plan... | 25 | 122 | 1.285356 |
train_9d2faf151a787411 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.236, 0.223, -0.019), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.014, 0.184).lineTo(0.027, 0.124).lineTo(0.097, 0.141).lineTo(0.076, 0.072).lineTo(0.134, 0.028).threePointArc((0.122, 0.022), (0.114, 0.012)).lineTo(0.09, 0.005).lineTo(0.066, 0.... | 7 | 230 | 0.084128 |
train_82d9293ead638ad0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.042, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.235).lineTo(1, -0.248).lineTo(-0.985, -0.248).threePointArc((-0.995, -0.244), (-1, -0.233)).lineTo(-1, 0.248).lineTo(0.988, 0.248).threePointArc((0.996, 0.244), (1, 0.235)).close()... | 12 | 105 | 0.166849 |
train_9f63b990067ff771 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, 0.345, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.086, 0.209).lineTo(0.139, 0.155).lineTo(0.139, -0.038).lineTo(0.108, -0.07).lineTo(0.022, -0.07).lineTo(0, -0.091).lineTo(0, -0.169).lineTo(-0.039, -0.209).lineTo(-... | 7 | 210 | 0.828337 |
train_3a3061a2ab035518 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.203, -0.355, -0.172), normal=(-0.224, 0.912, 0.343), xDir=(-0.971, -0.239, 0))).moveTo(-0.049, 0.452).threePointArc((0.767, 0.452), (0.767, -0.029)).lineTo(0.049, -0.452).threePointArc((-0.767, -0.452), (-0.767, 0.029)).lineTo(-0.049, 0.452).clo... | 3 | 58 | 0.75692 |
train_ac6c3a1b2a8bc2a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.577, 0.066), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.147, 0.357).lineTo(-0.147, -0.124).lineTo(0.488, -0.124).lineTo(0.488, -0.357).lineTo(-0.38, -0.357).lineTo(-0.488, -0.119).threePointArc((-0.441, 0.019), (-0.335, 0.119)).lineTo(-0.3... | 9 | 108 | 1.503881 |
train_0a619f6f3cceb3ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.021, -0.001, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.887).threePointArc((0.321, 0.998), (0.5, 0.749)).lineTo(0.368, 0.247).lineTo(-0.04, -0.893).threePointArc((-0.231, -0.998), (-0.449, -0.722)).lineTo(-0.25, -0.154).threePoi... | 13 | 1,045 | 0.14071 |
train_544635c354c0c56f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, 0.148, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.494, 0.191).lineTo(0.729, -0.047).threePointArc((0.977, -0.191), (0.246, -0.144)).lineTo(-0.491, 0.095).threePointArc((-0.977, 0.094), (-0.494, 0.191)).close().moveTo(0.65, -0.09... | 12 | 125 | 1.757614 |
train_5f0ade452e6869c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.226, 0.263, 0.205), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.126, 0.488).threePointArc((0.221, 0.448), (0.261, 0.353)).lineTo(0.261, 0.099).threePointArc((0.221, 0.004), (0.126, -0.036)).lineTo(-0.126, -0.036).threePointArc((-0.221, 0.004), ... | 18 | 427 | 0.348332 |
train_644e54cbbe675a47 | 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.233, 0.197).workplane(offset=2).rect(0.356, 0.113).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.11).extrude(0.592, both=Tru... | 9 | 67 | 0.047914 |
train_c58f81e08de14953 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.273, 0.976), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.166, 0.287).threePointArc((0.166, 0.287), (0.331, 0)).threePointArc((0.166, -0.287), (-0.166, -0.287)).threePointArc((-0.331, 0), (-0.166, 0.287)).close().sweep(cq.Workplane(cq.Plane(o... | 1 | 5 | 0.209624 |
train_682cd75b2147ec57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.386, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.699, 0.613).lineTo(0.699, 0.386).lineTo(0.928, 0.386).lineTo(0.928, -0.37).threePointArc((0.856, -0.541), (0.684, -0.613)).lineTo(-0.928, -0.613).lineTo(-0.928, 0.613).lineTo(0.699, 0.... | 5 | 26 | 2.173462 |
train_7168ea402fa2ab36 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.233, 0.999).threePointArc((0.286, 0.995), (0.336, 0.984)).lineTo(0.848, 0.822).threePointArc((0.858, 0.816), (0.862, 0.808)).lineTo(0.862, 0.636).lineTo(0.862, 0.463).threePointArc((0.... | 2 | 97 | 0.746973 |
train_f0c714e52af01499 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.102, 0.246, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.657, 0.241).threePointArc((0.898, 0), (0.657, -0.241)).lineTo(0.219, -0.241).lineTo(-0.219, -0.241).lineTo(-0.657, -0.241).threePointArc((-0.898, 0), (-0.657, 0.241)).lineTo(-0.219... | 11 | 198 | 0.713348 |
train_70baa4703d9a82e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.675, 0.394).lineTo(0.675, 0.249).lineTo(1, 0.249).lineTo(1, 0).lineTo(0.248, 0).lineTo(0.248, 0.394).lineTo(0.675, 0.394).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 8 | 49 | 0.440728 |
train_8ad7447961d5c1d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).threePointArc((0.664, 0.664), (1, 0)).threePointArc((0.664, -0.664), (0, -1)).threePointArc((-0.664, -0.664), (-1, 0)).threePointArc((-0.664, 0.664), (0, 1)).close().extrude(0.418)
res... | 12 | 607 | 1.091262 |
train_55eb98350770c32d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.859, 1).threePointArc((0.952, 0.952), (1, 0.859)).lineTo(1, -0.085).threePointArc((0.918, -0.258), (0.748, -0.332)).lineTo(-0.082, -0.332).threePointArc((-0.258, -0.406), (-0.332, -0.581))... | 7 | 139 | 0.761624 |
train_e025118e7881a437 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.871, 2, 1.435)
result = result.edges().fillet(0.049)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.416).extrude(3.741, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 8 | 41 | 3.165515 |
train_ae49633cb7cd1282 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.262, 0.449, 0.465), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.533, 0.096).lineTo(0.551, -0.021).lineTo(0.084, -0.096).lineTo(0.075, -0.037).lineTo(0.192, -0.019).lineTo(0.182, 0.04).lineTo(0.358, 0.068).lineTo(0.533, 0.096).close().revolve(a... | 13 | 280 | 0.899768 |
train_83c1055ec6e9d089 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.023, 1.049, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.091, 2.017).threePointArc((0.277, 1.853), (0.603, 1.567)).threePointArc((0.836, 1.202), (0.943, 0.814)).threePointArc((0.906, 0.462), (0.732, 0.198)).threePointArc((0.446, 0.065), (0.... | 11 | 26 | 3.31196 |
train_2e3f7b5eaf985280 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.704, 0.5).lineTo(0.919, 0.367).lineTo(1, 0.174).lineTo(1, 0).lineTo(0.854, 0).lineTo(0.854, 0.15).lineTo(0.755, 0.367).lineTo(0, 0.354).lineTo(0, 0.5).lineTo(0.704, 0.5).close().revolve(an... | 13 | 133 | 0.513873 |
train_120c572ed2b4090c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.325, -1.174, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.355, 2.131).lineTo(0.53, 2.063).lineTo(0.714, 2.003).lineTo(0.679, 1.726).lineTo(0.896, 1.703).lineTo(0.956, 1.521).lineTo(0.856, 0.671).lineTo(0.13, 0.217).lineTo(-0.68, 0.505).lineT... | 6 | 52 | 1.002672 |
train_bc55d04c522fb66d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 1).lineTo(0.9, -0.895).lineTo(0.797, -1).lineTo(-0.776, -1).lineTo(-0.9, -0.873).lineTo(-0.9, 0.895).threePointArc((-0.87, 0.969), (-0.798, 1)).lineTo(0.9, 1).close().extrude(0.181)
res... | 8 | 178 | 0.64239 |
train_2fda0b56ae0f933a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.71, 0.533, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.582, 1.543).threePointArc((1.672, 1.513), (1.71, 1.443)).lineTo(1.71, 0.975).threePointArc((1.666, 0.894), (1.56, 0.859)).lineTo(0.754, 0.859).threePointArc((0.535, 0.789), (0.442, 0.619... | 6 | 40 | 0.744285 |
train_04e575d2e3110ba1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.211, 3.062).lineTo(0.211, 2).lineTo(0.588, 2).lineTo(0.588, 0.665).lineTo(0.823, 0.665).lineTo(0.823, 0).lineTo(0, 0).lineTo(0, 3.062).lineTo(0.211, 3.062).close().revolve(angleDegrees=360, a... | 4 | 14 | 1.605172 |
train_b69c521dd9640e91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.829).lineTo(1, -0.856).lineTo(-0.969, -0.856).lineTo(-1, -0.832).lineTo(-1, 0.836).lineTo(-0.972, 0.856).lineTo(0.965, 0.856).lineTo(1, 0.829).close().extrude(0.198)
result = result.cut... | 8 | 121 | 0.580866 |
train_572ef578c696688b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.342, 0, -0.607), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.153, 1.214).lineTo(0.153, 0.153).lineTo(0.683, 0.153).lineTo(0.683, 0).lineTo(0, 0).lineTo(0, 1.214).lineTo(0.153, 1.214).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 11 | 35 | 0.581035 |
train_ff8bbf0b315b649d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.155, -1, 0.027), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.288, 0.301).threePointArc((0.293, 0.279), (0.284, 0.257)).threePointArc((0.295, 0.237), (0.298, 0.213)).lineTo(0.301, 0.17).threePointArc((0.29, 0.148), (0.3, 0.124)).lineTo(0.288, 0.... | 9 | 72 | 0.238035 |
train_9b1af52f0ac20903 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.522, 0.782).threePointArc((0.852, 0.646), (1, 0.31)).lineTo(1, -0.782).lineTo(-0.638, -0.782).threePointArc((-0.886, -0.68), (-1, -0.425)).lineTo(-1, 0.533).lineTo(-0.745, 0.782).lineTo(0.... | 8 | 46 | 0.738653 |
train_1ab57f69d59aac9f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.837, 0.975).lineTo(0.837, 0.824).lineTo(1, 0.824).lineTo(1, -0.847).threePointArc((0.955, -0.937), (0.864, -0.975)).lineTo(-0.795, -0.975).lineTo(-0.795, -0.778).lineTo(-1, -0.778).lineTo(... | 7 | 46 | 2.115583 |
train_0fecb7bdf5b159fa | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.123).lineTo(0.773, 0).lineTo(1, -0.123).lineTo(0.352, -0.123).lineTo(0.352, 0.123).lineTo(1, 0.123).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.445, -0.324, 0), no... | 11 | 93 | 0.353277 |
train_33eaba603c9405ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.086, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.117, 0.543).lineTo(0.309, 0.3).threePointArc((0.432, 0.196), (0.445, 0.036)).threePointArc((0.46, -0.161), (0.384, -0.38)).lineTo(0.1, -0.309).threePointArc((0.042, -0.294), (-0.001, -0.2... | 3 | 20 | 1.381395 |
train_0032922c30a6c958 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.217, -0.001), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.208, 0.442).threePointArc((0.232, 0.399), (0.246, 0.351)).lineTo(0.178, 0.262).lineTo(0.251, 0.172).threePointArc((0.25, 0.127), (0.244, 0.083)).lineTo(0.208, -0.007).threePointArc((0... | 4 | 47 | 0.621722 |
train_58716aee97c86683 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.076, 0, 0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 0.793).threePointArc((0.815, 0.77), (0.844, 0.716)).lineTo(0.844, -0.542).threePointArc((0.746, -0.718), (0.514, -0.793)).lineTo(-0.67, -0.793).threePointArc((-0.793, -0.753), (-0... | 13 | 37 | 0.278518 |
train_190fdc60dff3f83b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.811, 0.642).threePointArc((0.868, 0.623), (0.894, 0.576)).lineTo(0.894, 0.236).threePointArc((0.873, 0.199), (0.827, 0.183)).lineTo(0.429, 0.183).threePointArc((0.34, 0.155), (0.304, 0.089)).lineTo(0.304, -0.587).threePointArc((0.282, -0.626), (0.23... | 32 | 127 | 2.099489 |
train_a19d0781735cf93e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.237, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.246, 2).lineTo(0.246, 0.246).lineTo(0.378, 0.246).lineTo(0.378, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.246, 2).close().extrude(0.498, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 10 | 58 | 0.466403 |
train_4da3f01b4a4b1b32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, 0.608, -1.65), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.116, 0.234).threePointArc((0.261, -0.017), (0.145, -0.251)).threePointArc((-0.116, -0.234), (-0.261, 0.017)).threePointArc((-0.145, 0.251), (0.116, 0.234)).close().extrude(2.649)
r... | 7 | 78 | 0.664344 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.