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_644ca19f9cbd80f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.309, -0.183, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.133, 0.39).threePointArc((0.202, 0.377), (0.316, 0.31)).threePointArc((0.392, 0.122), (0.333, -0.107)).threePointArc((0.162, -0.299), (-0.137, -0.39)).threePointArc((-0.32, -0.31), (-... | 8 | 46 | 0.9551 |
train_854293dd1e9b07c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.266, -0.485, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.531).threePointArc((0.376, 0.376), (0.531, 0)).lineTo(0.265, 0).threePointArc((0.187, 0.187), (0, 0.265)).lineTo(0, 0.531).close().extrude(1.243)
result = result.union(cq.Work... | 8 | 62 | 0.155754 |
train_57f2f41c51c839ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.236, 0.27, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.5, 1.098).threePointArc((0.5, 1.098), (1, 0.236)).threePointArc((0.5, -0.63), (-0.5, -0.63)).threePointArc((-1, 0.236), (-0.5, 1.098)).close().extrude(0.54)
result = result.union(cq.Wo... | 8 | 23 | 1.670702 |
train_a7384f3125127335 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.415, 2).extrude(0.272)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.097, -0.111).lineTo(0.097, -0.89).lineTo(-0.097, -0.89).c... | 18 | 234 | 0.142149 |
train_cd55076cbd4b4069 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.609, 2).lineTo(0.609, 1.398).lineTo(0.604, 1.398).lineTo(0.604, 1.183).lineTo(0.665, 1.183).lineTo(0.665, 0.518).lineTo(0.492, 0.518).lineTo(0.492, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.... | 11 | 136 | 0.986741 |
train_e7b46bdd94896995 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.187, 0, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.006, 0.381).lineTo(0, 0.254).lineTo(0.248, 0.115).lineTo(0.386, 0.363).lineTo(0.381, 0.236).lineTo(0.628, 0.097).lineTo(0.76, 0.218).lineTo(0.736, -0.29).lineTo(0.616, -0.157).lineTo(0... | 5 | 29 | 0.121076 |
train_cb12675ffd4feff7 | 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.803, 2).lineTo(0.803, 0.266).lineTo(0.784, 0.266).lineTo(0.784, 0).lineTo(0.441, 0).lineTo(0.441, 2).lineTo(0.803, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 4 | 29 | 2.597915 |
train_589814fc10925e00 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.126, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.611, 0.873).lineTo(0.611, -0.626).lineTo(0.362, -0.873).lineTo(-0.34, -0.873).threePointArc((-0.531, -0.796), (-0.611, -0.604)).lineTo(-0.611, 0.657).lineTo(-0.392, 0.873).lineTo(0.611... | 6 | 39 | 0.295915 |
train_76a22c7b54b9e181 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.397, 0.273).threePointArc((0.545, 0.261), (0.5, 0.25)).lineTo(0.648, 0.238).threePointArc((0.727, 0.113), (0.681, 0.101)).lineTo(0.749, 0.021).threePointArc((0.737, -0.127), (0.68, -0.092)... | 10 | 160 | 1.856147 |
train_90d8a84f68d3bced | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, 0, -0.835), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.671)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.025, 0, 0.333), normal=(0.009, 0, 1), xDir=(1, 0, -0.009))).circle(0.409).extrude(2.522))
result = result.cut(cq... | 11 | 36 | 1.304519 |
train_7dbfe9ac8258272c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.818).lineTo(1, -0.761).lineTo(0.932, -0.818).lineTo(-1, -0.818).lineTo(-1, 0.818).lineTo(1, 0.818).close().extrude(0.214)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.13... | 14 | 105 | 0.706102 |
train_1699601b45c0d4ed | 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.011, 0.114).lineTo(0.052, 0.104).lineTo(0.085, 0.077).lineTo(0.107, 0.041).lineTo(0.114, 0).lineTo(0.107, -0.041).lineTo(0.085, -0.077).lineTo(0.052, -0.104).lineTo(0.011, -0.114).lineTo(-... | 6 | 31 | 0.077039 |
train_c40939dbfc853d7d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.601, -0.08, -0.234), normal=(-0.841, 0.112, 0.53), xDir=(-0.132, -0.991, 0))).moveTo(0.125, 0.731).threePointArc((0.13, 0.715), (0.132, 0.679)).lineTo(0.132, 0.524).threePointArc((0.128, 0.464), (0.12, 0.438)).lineTo(-0.085, 0.438).threePointArc... | 10 | 81 | 0.205593 |
train_f4347f355cee5d35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.153, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.714, 0.153).threePointArc((0, -0.561), (-0.714, 0.153)).threePointArc((0, 0.866), (0.714, 0.153)).close().moveTo(0.5, 0.239).threePointArc((0.561, 0.214), (0.586, 0.153)).threePointArc((0... | 4 | 28 | 2.942556 |
train_9179aa5d1db6ec86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.171), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.698, 0.341).lineTo(0.911, 0.18).lineTo(1, 0.118).lineTo(1, 0).lineTo(0.8, 0).lineTo(0.8, 0.102).lineTo(0.701, 0.18).lineTo(0, 0.146).lineTo(0, 0.341).lineTo(0.698, 0.341).close().revolve(... | 17 | 311 | 0.420963 |
train_d14d7fce29b02fc2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.144, 0.054, -0.73), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.082).lineTo(0.096, 0.049).lineTo(-0.063, 0.049).lineTo(-0.063, -0.049).lineTo(0.096, -0.049).lineTo(0.096, -0.082).lineTo(-0.096, -0.082).lineTo(-0.096, 0.082).lineTo(0.096,... | 5 | 152 | 0.036131 |
train_feeb58c02b7ae221 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.007, -0.409), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.808, 0.915).threePointArc((0.942, 0.86), (1, 0.728)).lineTo(1, -0.799).threePointArc((0.964, -0.882), (0.88, -0.915)).lineTo(-0.797, -0.915).threePointArc((-0.94, -0.858), (-1, -0.717... | 12 | 87 | 0.602148 |
train_848553a22f673999 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.598, 0.221).lineTo(-0.598, -0.144).lineTo(1, -0.144).lineTo(1, -0.221).lineTo(-1, -0.221).lineTo(-1, 0.221).lineTo(-0.598, 0.221).close().extrude(0.331, taper=11.817)
result = result.cut(... | 6 | 21 | 0.091037 |
train_5b6599b9fbab88ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.197, 0.272, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.314, 0.269).threePointArc((-0.093, 0.249), (0, 0.199)).lineTo(0, -0.031).threePointArc((0.078, -0.072), (0.261, -0.09)).lineTo(0.563, -0.09).threePointArc((0.731, -0.106), (0.802,... | 24 | 296 | 0.294464 |
train_3c795b337f9bca04 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.657, 0.388).lineTo(0.657, 0).lineTo(-0.657, 0).lineTo(-0.657, 0.388).lineTo(-0.49, 0.388).lineTo(-0.49, 0.167).lineTo(0.49, 0.167).lineTo(0.49, 0.388).lineTo(0.657, 0.388).close().extrude... | 4 | 71 | 0.537903 |
train_a10da3921d805fae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.026, -0.394, 0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.257, 0.715).threePointArc((0.365, 0.677), (0.375, 0.563)).threePointArc((0.285, 0.404), (0.118, 0.242)).threePointArc((-0.081, 0.12), (-0.257, 0.072)).threePointArc((-0.365, 0.11),... | 6 | 78 | 0.162416 |
train_712935d0583333bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.615, -0.144, -0.507), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.397, 0.739).threePointArc((0.464, 0.711), (0.492, 0.644)).lineTo(0.492, -0.47).threePointArc((0.464, -0.537), (0.397, -0.565)).lineTo(-0.397, -0.565).threePointArc((-0.464, -0.53... | 3 | 45 | 1.560533 |
train_51b3ad7b2ff99327 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.444), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 1).lineTo(0.5, -0.5).lineTo(1, -0.5).lineTo(1, -1).lineTo(-1, -1).lineTo(-1, -0.5).lineTo(0, -0.5).lineTo(0, 1).lineTo(0.5, 1).close().extrude(0.111, taper=5.391, both=True)
result = re... | 7 | 140 | 0.572851 |
train_a3f8d627acb1b23f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.119, 1).lineTo(0.262, 0.849).lineTo(0.262, -0.871).lineTo(0.141, -1).lineTo(-0.006, -1).lineTo(-0.262, -0.74).lineTo(-0.262, 0.739).lineTo(-0.005, 1).lineTo(0.119, 1).close().extrude(0.352... | 9 | 81 | 0.22837 |
train_0f087a063b21dfb1 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.016, 0.127).lineTo(0.074, 0.106).lineTo(0.114, 0.06).lineTo(0.128, 0).lineTo(0.114, -0.06).lineTo(0.074, -0.106).lineTo(0.016, -0.127).lineTo(-0.045, -0.121).lineTo(-0.097, -0.085).lineTo(-0.124, -0.031).lineTo(-0.124, 0.031).lineTo(-0.097, 0.085).l... | 7 | 59 | 0.100746 |
train_bf5815f5c98f1cdc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.678, 0.356).lineTo(1, 0.039).lineTo(1, -0.045).lineTo(0.684, -0.356).lineTo(-0.714, -0.356).lineTo(-1, -0.076).lineTo(-1, 0.195).lineTo(-0.829, 0.356).lineTo(0.678, 0.356).close().extrude(... | 11 | 53 | 0.64054 |
train_fac71f70d6be2356 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.678), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.356).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.356).lineTo(-0.437, 1.356).lineTo(-0.437, 0.563).lineTo(0.437, 0.563).lineTo(0.437, 1.356).lineTo(1, 1.356).close().extrude(0.669, both=Tru... | 4 | 73 | 1.399617 |
train_7a0e285c055dbfd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.663, 0.986).lineTo(0.663, -1).lineTo(-0.663, -1).lineTo(-0.663, 0.994).lineTo(-0.656, 1).lineTo(0.649, 1).lineTo(0.649, 0.986).lineTo(0.663, 0.986).close().extrude(0.291)
result = result.c... | 5 | 35 | 0.620537 |
train_22c014da511ba1b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.285, 0, -0.304), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.258, 0.607).lineTo(0.258, 0.258).lineTo(0.557, 0.258).lineTo(0.557, 0).lineTo(0, 0).lineTo(0, 0.607).lineTo(0.258, 0.607).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 11 | 76 | 0.303789 |
train_3525aa533d1fd4fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.903, -0.323, -13.417), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.965, 1.647).lineTo(1.903, 0.056).lineTo(0.926, -1.656).lineTo(-0.92, -1.659).lineTo(-1.903, 0.04).lineTo(-0.945, 1.659).lineTo(0.965, 1.647).close().extrude(17.124, both=True)
re... | 9 | 7 | 3.389206 |
train_b03846cc3217d698 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.136, -0.326, -0.663), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.279, 0.674).lineTo(-0.081, 0.59).lineTo(0.093, 0.603).lineTo(0.313, 0.421).lineTo(0.732, 0.156).lineTo(0.221, -0.674).lineTo(0, -0.493).lineTo(0.232, 0.019).lineTo(-0.685, 0.149)... | 5 | 35 | 0.76166 |
train_31e70feba3d1efc3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.819, -0.175).lineTo(0.96, -0.246).lineTo(0.924, -0.36).lineTo(0.774, -0.322).lineTo(0.689, -0.476).lineTo(0.795, -0.597).lineTo(0.719, -0.689).lineTo(0.592, -0.592).lineTo(0.455, -0.70... | 9 | 151 | 0.302378 |
train_679ae01341d4699f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.567, 0.627).threePointArc((0.873, 0.5), (1, 0.195)).lineTo(1, -0.317).threePointArc((0.908, -0.537), (0.688, -0.627)).lineTo(-0.543, -0.627).lineTo(-1, -0.172).lineTo(-1, 0.132).threePoint... | 4 | 40 | 0.966723 |
train_303db7decc055d74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, 0, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.498, 0.199).lineTo(0.912, 0.141).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.842, 0).lineTo(0.842, 0.06).lineTo(0.747, 0.141).lineTo(0, 0.05).lineTo(0, 0.199).lineTo(0.498, 0.199).close().rev... | 7 | 37 | 0.140158 |
train_43832a9383a9daa8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, -0.054, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.208, -0.132).threePointArc((-0.339, -0.15), (-0.357, -0.105)).lineTo(-0.49, -0.056).lineTo(-0.447, -0.03).lineTo(-0.491, -0.004).lineTo(-0.36, 0.045).lineTo(-0.136, 0.066).lineTo(-0... | 2 | 32 | 0.427773 |
train_d40b3a9df1134f4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.848), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.46, 0.169).threePointArc((0.577, 0.121), (0.625, 0.004)).lineTo(0.625, -0.004).lineTo(0.46, -0.004).lineTo(0.46, -0.169).lineTo(-0.46, -0.169).threePointArc((-0.577, -0.121), (-0.625, -0.0... | 11 | 60 | 2.610389 |
train_829b8a9aff9522c3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.197).threePointArc((0.087, 0.15), (0.098, 0.17)).lineTo(0.17, 0.098).threePointArc((0.173, 0), (0.197, 0)).lineTo(0.17, -0.098).threePointArc((0.087, -0.15), (0.098, -0.17)).lineTo(0, -0.197).threePointArc((-0.087, -0.15), (-0.098, -0.17)).lineTo... | 2 | 28 | 0.182094 |
train_5ab2c06b6d87c7ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.77, -0.95, -0.075), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.273, 0.699).lineTo(0.273, -0.223).threePointArc((-0.273, 0.239), (0.273, 0.699)).close().revolve(angleDegrees=180, axisStart=(-0.385, 0.77), axisEnd=(0.385, 0.77))
result = result.... | 17 | 875 | 1.298221 |
train_c087dd919956dca4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.24, 0.095, 0.505), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.472, 0).threePointArc((0, -0.472), (-0.472, 0)).threePointArc((0, 0.472), (0.472, 0)).close().workplane(offset=0.172).moveTo(0.417, 0).threePointArc((0, -0.417), (-0.417, 0)).threeP... | 7 | 145 | 0.568465 |
train_94cbf233b7c8fcbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.012, -0.256, 0.011), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.573, 0.522).lineTo(0.574, 0.503).lineTo(0.574, 0.485).lineTo(0.573, 0.466).lineTo(0.572, 0.448).lineTo(0.569, 0.43).lineTo(0.566, 0.412).lineTo(0.562, 0.394).lineTo(0.557, 0.377).l... | 5 | 181 | 0.502967 |
train_cbd1f302dcd3f9a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.566, -0.315, -0.947), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.111, 0.191).threePointArc((0.111, 0.191), (0.221, 0)).threePointArc((0.111, -0.191), (-0.111, -0.191)).threePointArc((-0.221, 0), (-0.111, 0.191)).close().transformed(offset=(0.0... | 2 | 11 | 0.229787 |
train_c81a3896a02319b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.494, 0.592).lineTo(-0.494, -0.344).lineTo(1, -0.344).lineTo(1, -0.592).lineTo(-1, -0.592).lineTo(-1, 0.592).lineTo(-0.494, 0.592).close().extrude(0.459)
result = result.cut(cq.Workplane(c... | 18 | 55 | 0.48502 |
train_4066fb9698c58b48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.323, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.088, 0.444).lineTo(0.173, 0.418).threePointArc((0.224, 0.336), (0.251, 0.376)).lineTo(0.32, 0.32).threePointArc((0.336, 0.225), (0.376, 0.251)).lineTo(0.418, 0.173).threePointArc((0.3... | 13 | 205 | 0.95426 |
train_69d7788ada85df5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.325, 0.085, -0.763), normal=(0.576, -0.22, 0.787), xDir=(0.357, 0.934, 0))).moveTo(0.397, 0.384).lineTo(0.397, -0.384).lineTo(-0.397, -0.384).lineTo(-0.397, 0.384).lineTo(-0.102, 0.384).lineTo(-0.102, 0.095).lineTo(0.102, 0.095).lineTo(0.102, 0... | 10 | 43 | 0.404476 |
train_18ee1fd53c541c88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.012, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.312, 0.726).lineTo(0.352, 0.655).lineTo(0.441, 0.654).lineTo(0.758, 0.115).threePointArc((0.94, 0.011), (0.719, -0.056)).lineTo(0.484, -0.212).threePointArc((0.35, -0.184), (0.317, -0... | 2 | 32 | 2.946632 |
train_00a687e8b2663746 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.724, -2.19, 0.804), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.192, 0.342).lineTo(0.206, -0.273).threePointArc((0.009, -0.342), (-0.192, -0.274)).lineTo(-0.206, 0.341).threePointArc((-0.007, 0.341), (0.192, 0.342)).close().extrude(3.472, both=... | 7 | 29 | 0.848179 |
train_32b7bfa0bc1ab380 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.024, 0.139, -0.825), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, -0.065).threePointArc((0.065, -0.152), (-0.109, -0.152)).lineTo(-0.022, -0.065).lineTo(-0.152, -0.065).threePointArc((-0.152, 0.065), (0.022, 0.152)).lineTo(-0.022, 0.022).li... | 6 | 118 | 0.078329 |
train_53bf4c81786ab044 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.223, 0, -0.28), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.296, 0.56).lineTo(0.296, 0.296).lineTo(0.445, 0.296).lineTo(0.445, 0).lineTo(0, 0).lineTo(0, 0.56).lineTo(0.296, 0.56).close().extrude(1, both=True)
result = result.cut(cq.Workplane(c... | 6 | 30 | 0.281325 |
train_906546ad3f9a3222 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.331, -0.174, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.661).threePointArc((0.468, 0.468), (0.661, 0)).lineTo(0.294, 0).threePointArc((0.207, 0.207), (0, 0.294)).lineTo(0, 0.661).close().extrude(1.615)
result = result.union(cq.Workplan... | 11 | 75 | 0.66803 |
train_830382e2f4a544c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, 0.118, 0.063), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.006, -0.2).threePointArc((-0.007, -0.215), (-0.008, -0.181)).lineTo(-0.021, 0.011).threePointArc((-0.024, 0.047), (-0.021, 0.038)).lineTo(-0.004, 0.134).lineTo(0.002, 0.157).threeP... | 14 | 242 | 0.21405 |
train_2e11ea099cd7cae9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.1, 0, -0.437), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 1).lineTo(1.044, 0).lineTo(0.325, -1).lineTo(-0.844, -0.616).lineTo(-0.844, 0.616).lineTo(0.325, 1).close().extrude(0.669)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.93, 0... | 10 | 163 | 1.580923 |
train_039a5cc4f4a5d9b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.46, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.672, 0.539).lineTo(0.672, -0.539).lineTo(-0.672, -0.539).lineTo(-0.672, 0.539).lineTo(0.672, 0.539).close().extrude(0.213)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.477, 0.11... | 6 | 144 | 0.283175 |
train_d54bcdc7bca7b905 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.234, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.509, 0.839).lineTo(0.509, -0.372).lineTo(-0.509, -0.372).lineTo(-0.509, -0.069).lineTo(-0.255, -0.069).lineTo(-0.255, 0.233).lineTo(0, 0.233).lineTo(0, 0.536).lineTo(0.255, 0.536).lineTo(... | 6 | 152 | 0.369224 |
train_c83b82033e9fa5c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.066, -0.128, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.247, 0.871).threePointArc((0.533, 0.751), (0.654, 0.465)).lineTo(0.654, -0.631).threePointArc((0.582, -0.8), (0.413, -0.871)).lineTo(-0.104, -0.871).threePointArc((-0.184, -0.837... | 8 | 48 | 0.527726 |
train_6305ad8c5d106a5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.383, 0.33, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.233, 1.088, 1)
result = result.edges().fillet(0.073)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.383, 0.33, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.181).extrude(2.467, both=... | 9 | 137 | 1.207235 |
train_0ef43ce724589c92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.995).extrude(0.629)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.004, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.584).extrude(1.887, both=True))
result = result.u... | 16 | 94 | 1.372992 |
train_8e3b40a89fcf1b20 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.674, -0.038, -0.877), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.158, 0).threePointArc((0.141, -0.017), (0.124, 0)).threePointArc((0.141, 0.017), (0.158, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.674, -0.038, -0.877), normal=(0, 0, 1),... | 5 | 47 | 0.161805 |
train_9023067869c0938b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.045, -0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.756, 0.862).threePointArc((-0.695, 0.836), (-0.67, 0.775)).lineTo(-0.67, -0.307).threePointArc((-0.603, -0.465), (-0.445, -0.531)).lineTo(0.916, -0.531).threePointArc((0.975, -0.556),... | 5 | 55 | 0.229503 |
train_2479a902d1e938db | 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.605).extrude(0.297)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.605, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.302, 0.525), (-0.908, 0.525), (-1.21, 0), (-0.90... | 9 | 76 | 4.033187 |
train_9b71504e19336e2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.309, -0.475, -0.967), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.213, -0.175).lineTo(-0.106, -0.175).lineTo(-0.106, -0.525).lineTo(0.106, -0.525).lineTo(0.106, 0.175).lineTo(0.213, 0.175).lineTo(0.213, 0.525).lineTo(-0.106, 0.525).lineTo(-0.1... | 16 | 170 | 1.091876 |
train_a1ad8e6dd479b38a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.033, -0.803, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.701, 0.803).threePointArc((0, 0.102), (-0.701, 0.803)).threePointArc((0, 1.503), (0.701, 0.803)).close().extrude(1.714)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.804,... | 16 | 78 | 2.557837 |
train_435cdc02a6f7ac32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.886, 0.904).threePointArc((0.967, 0.87), (1, 0.79)).lineTo(1, -0.793).lineTo(0.89, -0.904).lineTo(-0.918, -0.904).lineTo(-1, -0.822).lineTo(-1, 0.904).lineTo(0.886, 0.904).close().extrude(... | 2 | 58 | 0.705049 |
train_06b5b3b91361a489 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.063, 0.336, 0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.268, 0.537).lineTo(0.268, -0.537).lineTo(0, -0.537).lineTo(0, -0.268).lineTo(-0.268, -0.268).lineTo(-0.268, 0.268).lineTo(0, 0.268).lineTo(0, 0.537).lineTo(0.268, 0.537).close().swe... | 9 | 90 | 0.117925 |
train_1477731e11f27a9f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.474).lineTo(1, 0.331).lineTo(0.733, 0.331).lineTo(0.733, 0).lineTo(0.071, 0).lineTo(0.071, 0.474).lineTo(1, 0.474).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, ... | 6 | 49 | 1.142516 |
train_fa1c1e56e69f205a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 1).lineTo(1, 0.142).lineTo(-0.711, 0.142).lineTo(-0.711, -0.142).lineTo(1, -0.142).lineTo(1, -1).lineTo(-1, -1).lineTo(-1, -0.711).lineTo(0.711, -0.711).lineTo(0.711, -0.427).lineTo(-1, -0.427).lineTo(-1, 0.427).lineTo(0.711, 0.427).lineTo(0.711, 0... | 15 | 179 | 2.46191 |
train_fd907d8262e5a25a | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.106).lineTo(0.81, 0).lineTo(1, -0.106).lineTo(0.453, -0.106).lineTo(0.453, 0.106).lineTo(1, 0.106).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.366, -1, -0.062), no... | 14 | 119 | 0.227658 |
train_6edb22f2f7908a25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.204, 0.019, 0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.396, 0.27).lineTo(-0.396, 0).lineTo(0.396, 0).lineTo(0.396, 0.134).lineTo(0.792, 0.134).lineTo(0.792, -0.134).lineTo(0.396, -0.134).lineTo(0.396, -0.27).lineTo(0, -0.27).lineTo(0,... | 22 | 149 | 0.504665 |
train_63ad5a576cd09d10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.966, 1).lineTo(0.966, -0.705).threePointArc((0.881, -0.912), (0.674, -1)).lineTo(-0.577, -1).lineTo(-0.577, -0.608).lineTo(-0.966, -0.608).lineTo(-0.966, 0.72).threePointArc((-0.884, 0.917... | 8 | 51 | 1.051424 |
train_9f69fa8b46b2ba71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.29, 0.007, 0.452), normal=(0.857, 0.514, -0.043), xDir=(-0.515, 0.857, 0))).moveTo(0.092, 0.26).lineTo(0.092, 0.052).lineTo(0.276, 0.052).lineTo(0.276, -0.052).lineTo(0.092, -0.052).lineTo(0.092, -0.26).lineTo(-0.092, -0.26).lineTo(-0.092, -0.05... | 7 | 109 | 0.238133 |
train_0c3e6a60657957eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.65), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.012).extrude(0.644)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.012, 0, -0.65), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.297, 0.715), (-1.012, 1.012), (-1.727, 0.7... | 5 | 53 | 1.720298 |
train_bf38a5ec121a5a11 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.923).lineTo(1, -0.923).lineTo(-1, -0.923).lineTo(-1, 0.923).lineTo(-0.325, 0.923).lineTo(-0.325, -0.474).lineTo(0.325, -0.474).lineTo(0.325, 0.923).lineTo(1, 0.923).close().extrude(0.167, taper=3.401, both=True)
result = result.cut(cq.Workplane(c... | 15 | 91 | 0.879787 |
train_70406225db274ce6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.174, -0.487), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.394, 1.065).lineTo(0.394, 0.179).lineTo(0.572, 0.179).lineTo(0.572, 0).lineTo(0.085, 0).lineTo(0.085, 1.065).lineTo(0.394, 1.065).close().revolve(angleDegrees=360, axisStart=(0, 0, 0... | 5 | 44 | 0.816446 |
train_885782755a60f87b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.964, 0.326).lineTo(0.964, -0.326).lineTo(-0.964, -0.326).lineTo(-0.964, 0.326).lineTo(-0.588, 0.326).lineTo(-0.588, -0.224).lineTo(0.588, -0.224).lineTo(0.588, 0.326).lineTo(0.964, 0.326).... | 23 | 65 | 0.396911 |
train_27d72eded129ed63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.489, -0.003, -0.158), normal=(-0.731, -0.481, -0.484), xDir=(0.549, -0.836, 0))).moveTo(0.018, 0.337).lineTo(0.084, 0.271).lineTo(0.084, 0.226).lineTo(0.027, 0.169).lineTo(-0.034, 0.169).lineTo(-0.084, 0.118).lineTo(-0.084, 0.054).lineTo(-0.03, ... | 10 | 231 | 0.788311 |
train_bc784cea1dc33d6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.46, -0.086, -0.63), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.539).extrude(0.688)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.079, -0.086, -0.63), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.126, 0.347), (-0.446, 0.531)... | 11 | 155 | 0.972579 |
train_9c969c67df3d4e4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.103, 0, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.923, 0.423).lineTo(-0.692, 0.705).threePointArc((0.923, 0.423), (-0.692, -0.705)).threePointArc((-0.923, -0.423), (-0.923, 0.141)).close().extrude(1.705, both=True).intersect(cq.Workpl... | 29 | 157 | 0.47652 |
train_450fade53ff05d28 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, 0.291, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.106, 0.184).threePointArc((0.106, 0.184), (0.212, 0)).threePointArc((0.106, -0.184), (-0.106, -0.184)).threePointArc((-0.212, 0), (-0.106, 0.184)).close().sweep(cq.Workplane(cq.Plane... | 1 | 5 | 0.109775 |
train_6a7ae4843e930f96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.215, -0.346, 0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.063, 0.162).lineTo(-0.063, -0.078).lineTo(0.153, -0.078).lineTo(0.153, -0.162).lineTo(-0.153, -0.162).lineTo(-0.153, 0.162).lineTo(-0.063, 0.162).close().extrude(1.648)
result = r... | 16 | 56 | 2.761014 |
train_6e8b3598014fe497 | 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.957, 2).lineTo(0.957, 0).lineTo(-0.957, 0).lineTo(-0.957, 2).lineTo(-0.392, 2).lineTo(-0.392, 0.565).lineTo(0.392, 0.565).lineTo(0.392, 2).lineTo(0.957, 2).close().extrude(0.315, both=True)
r... | 6 | 28 | 1.762002 |
train_c517554c893c7807 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.384, 2).extrude(0.274)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.901, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).spline([(0.096, 0.151), (0.09, 0.19), (0.072, 0.244)]).spline([(0.0... | 15 | 63 | 0.179277 |
train_21daf189f3bbb4fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, 0, 0.015), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.081, 0.81).threePointArc((0.285, 0.727), (0.446, 0.534)).threePointArc((0.539, 0.259), (0.55, -0.056)).threePointArc((0.476, -0.361), (0.331, -0.612)).threePointArc((0.135, -0.769), (-... | 5 | 48 | 1.495357 |
train_18b21a91bc36d03c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.015, 0.135, 0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.844, 0.227).threePointArc((0.227, 0.844), (0.844, -0.227)).threePointArc((-0.227, -0.844), (-0.844, 0.227)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.015, 0.135, 0.315), norm... | 3 | 10 | 1.0482 |
train_58d36a71a040192e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, 0.36).lineTo(0.823, 0.184).lineTo(1, 0.184).lineTo(1, -0.36).lineTo(-0.685, -0.36).lineTo(-1, -0.045).lineTo(-1, 0.157).threePointArc((-0.94, 0.301), (-0.798, 0.36)).lineTo(0.823, 0.3... | 12 | 149 | 0.183634 |
train_cd282f7e11cc8123 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.539)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.9).extrude(1.613, both=True))
result = result.union(cq.Workplane(... | 15 | 73 | 0.406988 |
train_85aee965f01e9fd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.017, 0, -0.417), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.608, 0.411).lineTo(0.686, 0.365).lineTo(0.773, 0.393).lineTo(0.983, 0.158).threePointArc((0.939, 0.061), (0.981, -0.035)).lineTo(0.637, -0.411).lineTo(0.134, -0.082).lineTo(0.156, -0.... | 14 | 136 | 0.756625 |
train_b45973c636a21ceb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, 0, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.961, 2).extrude(0.259)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.006, 0, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.401, -0.68).lineTo(0.401, -0.921).lineTo(-0.401... | 14 | 60 | 0.469473 |
train_7e493d5eec4e9825 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.234, -0.349, 0.342), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.145, 0.906).lineTo(0.187, 0.83).lineTo(0.379, 0.591).lineTo(0.445, 0.25).lineTo(0.177, -0.026).lineTo(-0.173, 0.091).lineTo(-0.342, 0.342).lineTo(-0.445, 0.683).lineTo(-0.145, 0.... | 7 | 109 | 0.435513 |
train_6043d064b9202ca9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.101, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.366, 1).threePointArc((0.46, 0.96), (0.5, 0.866)).lineTo(0.5, 0.698).threePointArc((0.559, 0.559), (0.698, 0.5)).lineTo(0.81, 0.5).threePointArc((0.944, 0.444), (1, 0.31)).lineTo(1, -0... | 9 | 45 | 0.795322 |
train_83005bfb884c6374 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.066, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.29).extrude(1.312)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.066, 0, -0.08), normal=(0.211, 0, 0.977), xDir=(0.977, 0, -0.211))).circle(0.199).extrude(1.081))
result = re... | 3 | 6 | 0.209569 |
train_960357c535e4f14e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.025, -0.163, -1.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.241, 0.23).lineTo(0.241, -0.23).lineTo(-0.241, -0.23).lineTo(-0.241, -0.077).lineTo(0.161, -0.077).lineTo(0.161, 0.077).lineTo(-0.241, 0.077).lineTo(-0.241, 0.23).lineTo(0.241, 0.... | 16 | 119 | 0.298181 |
train_921fa7ae05201efc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, 1.001).threePointArc((0.451, 0.852), (0.6, 0.495)).lineTo(0.6, -0.595).threePointArc((0.481, -0.882), (0.194, -1.001)).lineTo(-0.227, -1.001).threePointArc((-0.49, -0.891), (-0.6... | 6 | 32 | 0.360913 |
train_6dbb079e37b9a854 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.005, -0.003), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.681, 0.11).lineTo(1, 0.088).lineTo(0.986, -0.124).lineTo(0.135, -0.067).lineTo(0.142, 0.039).lineTo(0.249, 0.032).threePointArc((0.468, 0.124), (0.681, 0.11)).close().revolve(angleDe... | 4 | 15 | 0.600874 |
train_1e970ab6583351e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.09, -0.244, -0.696), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.287, 0.293).lineTo(0.698, 0.138).threePointArc((0.789, 0.137), (0.713, 0.084)).lineTo(0.407, -0.285).lineTo(0.352, -0.269).lineTo(0.305, -0.293).lineTo(-0.051, 0.036).lineTo(0.182,... | 9 | 112 | 1.079086 |
train_bae428cc8fe052eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.301, -0.284, -0.676), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.641, 0.14).threePointArc((0.45, 0.691), (0.594, -0.131)).lineTo(0.592, -0.617).threePointArc((0.501, -0.691), (0.202, -0.628)).lineTo(0.197, -0.072).threePointArc((0.198, -0.065... | 43 | 88 | 0.835173 |
train_9cbe92925adba808 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.195, -0.579), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 0.804).lineTo(0.389, 0.448).lineTo(0.748, 0.448).lineTo(0.748, -0.804).lineTo(-0.278, -0.804).threePointArc((-0.61, -0.667), (-0.748, -0.334)).lineTo(-0.748, 0.31).threePointArc((... | 10 | 57 | 1.195564 |
train_7c010c356f1c9301 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.078, 0, 0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.746).threePointArc((0.32, 0.711), (0.435, 0.66)).threePointArc((0.539, 0.594), (0.632, 0.514)).threePointArc((0.71, 0.423), (0.772, 0.323)).threePointArc((0.817, 0.216), (0.844, 0... | 6 | 151 | 0.776282 |
train_aa2c825766824825 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 2.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.99, 1).lineTo(0.99, 0.726).lineTo(-0.664, 0.726).lineTo(-0.664, -0.726).lineTo(0.99, -0.726).lineTo(0.99, -1).lineTo(-0.99, -1).lineTo(-0.99, 1).lineTo(0.99, 1).close().extrude(3, both=True... | 4 | 21 | 1.208616 |
train_0fbd31075ee111d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.117, 0.032, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.35).extrude(1.168)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.117, 0.032, 0.493), normal=(0.77, 0, 0.638), xDir=(0.638, 0, -0.77))).circle(0.213).extrude(0.422))
resul... | 10 | 89 | 0.523243 |
train_c859fa8d6773d251 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.5), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.457, 1.968).lineTo(0.457, 1).lineTo(1, 1).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.968).lineTo(0.457, 1.968).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = ... | 2 | 4 | 1.467438 |
train_e97f10dba56b17ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.359, 0.003, 0.078), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.148, 0.44).lineTo(0.388, 0.259).lineTo(0.409, -0.066).lineTo(0.14, -0.218).lineTo(-0.146, -0.271).lineTo(-0.409, -0.073).lineTo(-0.363, 0.253).lineTo(-0.119, 0.403).lineTo(0.148, 0... | 7 | 199 | 1.344917 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.