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_0e240695d2e89d90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.296, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.703, 0.76).lineTo(0.703, 0.109).lineTo(-0.468, 0.109).lineTo(-0.468, -0.109).lineTo(0.703, -0.109).lineTo(0.703, -0.76).lineTo(-0.703, -0.76).lineTo(-0.703, -0.543).lineTo(0.468, -0.54... | 17 | 189 | 0.812211 |
train_e4f1bb0773648a08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.913, 1).lineTo(0.913, -0.928).lineTo(0.841, -0.928).lineTo(0.841, -1).lineTo(-0.855, -1).lineTo(-0.855, -0.942).lineTo(-0.913, -0.942).lineTo(-0.913, 1).lineTo(0.913, 1).close().extrude(0.... | 15 | 293 | 1.082128 |
train_b89103cfb67b34c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.114, -0.858), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.107, 0.183).threePointArc((-0.097, 0.179), (-0.093, 0.169)).lineTo(-0.093, -0.049).threePointArc((-0.073, -0.093), (-0.027, -0.112)).lineTo(0.154, -0.112).threePointArc((0.164, -0.116... | 4 | 119 | 0.08659 |
train_fd2774c3f57c84e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.061, -0.086, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.139, 0.774).threePointArc((0.249, 0.761), (0.355, 0.73)).threePointArc((0.403, 0.71), (0.449, 0.687)).threePointArc((0.567, 0.614), (0.669, 0.524)).lineTo(0.843, 0.335).threePoint... | 6 | 162 | 2.279667 |
train_e9af9added515a7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.028, -0.131, -0.04), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.589, 0.268).threePointArc((0.615, 0.244), (0.74, -0.121)).lineTo(0.725, -0.141).lineTo(0.7, -0.153).lineTo(0.708, -0.208).lineTo(0.679, -0.243).lineTo(0.359, -0.268).lineTo(0.318,... | 8 | 93 | 0.658817 |
train_466d0e48242f10c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.602, 2).extrude(0.238)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.169, -0.332).lineTo(0.169, -0.468).lineTo(-0.169, -0.468)... | 16 | 51 | 0.230758 |
train_70990fade598a451 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.062, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.559, -0.932).threePointArc((-1.678, 0.186), (0.186, 0.559)).threePointArc((1.678, -0.186), (0.186, -0.932)).close().extrude(1.329, both=True).intersect(cq.Workplane(cq.Plane(origin=(... | 13 | 103 | 1.126415 |
train_753a45b872763b6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.973, 0.706, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.132, 1.788).lineTo(0.67, 1.456).lineTo(0.814, 0.841).lineTo(0.483, 0.304).lineTo(-0.132, 0.158).lineTo(-0.67, 0.491).lineTo(-0.814, 1.105).lineTo(-0.483, 1.642).lineTo(0.132, 1.788).cl... | 3 | 56 | 3.103429 |
train_86e6b38747235e42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.658), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.856, 0.302).workplane(offset=1.316).rect(2, 0.228).loft()
final_result = result
| 1 | 6 | 0.671202 |
train_4882898b6a4d0a08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.064, -0.064, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.443, 0.831).threePointArc((0.443, 0.831), (0.884, 0.064)).threePointArc((0.443, -0.702), (-0.443, -0.702)).threePointArc((-0.884, 0.064), (-0.443, 0.831)).close().moveTo(0.62, 0.164... | 4 | 128 | 2.761478 |
train_f69fabbe5baa86a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.117, -0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.858).lineTo(1, 0).lineTo(0.5, 0).lineTo(0.5, -0.858).lineTo(-1, -0.858).lineTo(-1, 0).lineTo(-0.5, 0).lineTo(-0.5, 0.858).lineTo(1, 0.858).close().extrude(0.84)
result = result.cut... | 8 | 182 | 2.118855 |
train_9fed36da0ec1485d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.172, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.654, 0.755).lineTo(0.654, -0.755).threePointArc((-0.654, -0.755), (0.654, 0.755)).close().extrude(0.324, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.094, 0.354, 0), norma... | 7 | 64 | 1.221922 |
train_3c5fa72041c027b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0.315), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.844, 0.89).lineTo(0.009, 0.56).lineTo(0.882, 0.836).threePointArc((0.898, 0.715), (0.861, 0.599)).lineTo(0.67, 0.427).threePointArc((0.574, 0.334), (0.609, 0.206)).lineTo(0.552, -0.0... | 25 | 109 | 1.807736 |
train_6c6f6bbe10daf654 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.99, 0.172, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.853).threePointArc((0.61, 1.6), (0.863, 0.99)).threePointArc((0.61, 0.38), (0, 0.127)).threePointArc((-0.61, 0.38), (-0.863, 0.99)).threePointArc((-0.61, 1.6), (0, 1.853)).close().wo... | 11 | 10 | 0.413629 |
train_634a63ae00f1eeb2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.582, 0.998).threePointArc((0.743, 0.947), (0.812, 0.827)).lineTo(0.812, -0.524).threePointArc((0.781, -0.577), (0.71, -0.598)).lineTo(0.434, -0.598).threePointArc((0.319, -0.634), (0.271, ... | 5 | 70 | 0.414097 |
train_4e465bc8425916e6 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.167).lineTo(0.083, 0.145).lineTo(0.145, 0.083).lineTo(0.167, 0).lineTo(0.145, -0.083).lineTo(0.083, -0.145).lineTo(0, -0.167).lineTo(-0.083, -0.145).lineTo(-0.145, -0.083).lineTo(-0.167, 0).lineTo(-0.145, 0.083).lineTo(-0.083, 0.145).lineTo(0, 0.... | 7 | 70 | 0.039188 |
train_f8648927d6454d62 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.885, 0, -0.602), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.053, 0.371).lineTo(0.238, 0.332).lineTo(0.211, 0.146).lineTo(0.144, 0.012).lineTo(0.01, -0.115).lineTo(-0.142, -0.011).lineTo(-0.224, 0.12).lineTo(-0.238, 0.287).lineTo(-0.095, 0.376)... | 6 | 105 | 0.78794 |
train_4ab8731cd703225a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.125, -2.033, 0.749), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.563, 0.563).lineTo(-0.563, -0.25).lineTo(0.874, -0.25).lineTo(0.874, -0.563).lineTo(-0.874, -0.563).lineTo(-0.874, 0.563).lineTo(-0.563, 0.563).close().sweep(cq.Workplane(cq.Plane... | 6 | 163 | 0.503975 |
train_53fec6805ecbb42b | 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.094, 0.111).threePointArc((0.104, 0.108), (0.109, 0.099)).lineTo(0.109, 0.075).threePointArc((0.106, 0.069), (0.099, 0.067)).lineTo(0.046, 0.067).threePointArc((0.033, 0.062), (0.027, 0.052)).... | 21 | 50 | 0.041461 |
train_c181f34720071ef7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.103, 0.955).lineTo(0.257, 0.868).threePointArc((0.432, 0.592), (0.615, 0.78)).lineTo(0.79, 0.505).threePointArc((0.813, 0.151), (0.965, 0.231)).lineTo(0.989, -0.124).threePointArc((0.805,... | 3 | 48 | 0.37636 |
train_6062585c8d7d35c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.024, 0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.332).lineTo(1, 0).lineTo(0, 0).lineTo(0, -0.332).lineTo(-0.332, -0.332).lineTo(-0.332, 0).lineTo(-1, 0).lineTo(-1, 0.332).lineTo(1, 0.332).close().extrude(0.163, both=True)
result = ... | 29 | 138 | 0.271378 |
train_0ee519a691dbc6b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.536, 0.596, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.114, 0.389).lineTo(0.262, 0.368).lineTo(0.464, -0.007).lineTo(0.414, -0.144).threePointArc((0.38, -0.206), (0.333, -0.26)).lineTo(0.229, -0.361).threePointArc((0.192, -0.373), (0... | 15 | 156 | 0.707127 |
train_cd43b375832ff993 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.098, -0.945, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.5, 0.964).threePointArc((0.5, 0.964), (1, 0.098)).threePointArc((0.5, -0.768), (-0.5, -0.768)).threePointArc((-1, 0.098), (-0.5, 0.964)).close().moveTo(0.061, 0.456).threePointArc((0... | 13 | 445 | 4.243988 |
train_bbef0d3b783956b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.036, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.2, 0.17).lineTo(-0.2, 0.095).threePointArc((-0.112, 0.055), (0.097, 0.038)).lineTo(0.873, 0.038).threePointArc((0.962, 0.031), (1, 0.014)).lineTo(1, -0.023).threePointArc((0.976, -0.034),... | 4 | 52 | 0.351349 |
train_1d7bce346927ed6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.665, -0.998, -0.013), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.525, 1.065).threePointArc((0.488, 0.934), (0.498, 0.777)).threePointArc((0.448, 0.714), (0.303, 0.747)).lineTo(0.088, 0.695).lineTo(-0.046, 0.736).threePointArc((-0.101, 0.678), ... | 2 | 112 | 0.743168 |
train_7b01578815dce84f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.143, 1).lineTo(0.42, 0.92).lineTo(0.85, 0.546).lineTo(1.01, 0).lineTo(0.85, -0.546).lineTo(0.42, -0.92).lineTo(-0.143, -1).lineTo(-0.661, -0.764).lineTo(-0.97, -0.284).lineTo(-0.97, 0.... | 3 | 26 | 0.484909 |
train_39ddb730d6ecd21c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.443).lineTo(1, 0.266).lineTo(0.113, 0.266).lineTo(0.113, 0.089).lineTo(1, 0.089).lineTo(1, -0.443).lineTo(-0.064, -0.443).lineTo(-0.064, -0.266).lineTo(0.823, -0.266).lineTo(0.823, -0.0... | 5 | 114 | 0.567381 |
train_d6d84002e73cd11f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.609).lineTo(1, -0.305).lineTo(1, -0.609).lineTo(0.875, -0.609).lineTo(0.75, -0.305).lineTo(0.625, -0.609).lineTo(0.5, -0.609).lineTo(0.375, -0.305).lineTo(0.25, -0.609).lineTo(0.125, -0.609).lineTo(0, -0.305).lineTo(-0.125, -0.609).lineTo(-0.375,... | 4 | 56 | 1.537489 |
train_359da294b2359806 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.043, -0.233, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.052, 0.037).lineTo(0.052, -0.037).lineTo(-0.052, -0.037).lineTo(-0.052, 0.037).lineTo(-0.021, 0.037).lineTo(-0.021, -0.005).lineTo(0.021, -0.005).lineTo(0.021, 0.037).lineTo(0.052, 0.... | 8 | 164 | 0.11181 |
train_0f662f4e46a43cdd | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.604).lineTo(1, -0.889).lineTo(-1, -0.889).lineTo(-1, 0.604).threePointArc((-0.881, 0.889), (-0.774, 0.604)).threePointArc((-0.664, 0.316), (-0.553, 0.604)).threePointArc((-0.442, 0.889), (-0.332, 0.604)).threePointArc((-0.221, 0.316), (-0.111, 0.... | 13 | 246 | 2.841979 |
train_59dc29318880bb42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.362, 0, -0.811), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.203).extrude(0.876)
result = result.union(cq.Workplane(cq.Plane(origin=(0.362, 0, -0.197), normal=(0.457, 0, 0.889), xDir=(0.889, 0, -0.457))).circle(0.182).extrude(1.039))
result = re... | 7 | 68 | 0.149646 |
train_59a83a8f230b8f8b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.304, -0.282, -0.326), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.681, 1.326).lineTo(0.681, 0.082).lineTo(0.374, 0.082).lineTo(0.374, 0).lineTo(0.146, 0).lineTo(0.146, 1.326).lineTo(0.681, 1.326).close().revolve(angleDegrees=360, axisStart=(0,... | 7 | 75 | 1.446209 |
train_daf43b64f047fbbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.089, -0.259, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.026).lineTo(0, 0.013).lineTo(0.019, 0.013).lineTo(0.019, -0.026).lineTo(0, -0.026).lineTo(0, -0.013).lineTo(-0.019, -0.013).lineTo(-0.019, 0.026).lineTo(0, 0.026).close().extrude(1... | 6 | 68 | 0.057888 |
train_319f80c6126d32a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.011, 0.211, -0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.561, -0.112).threePointArc((-0.785, -0.225), (-0.561, 0.112)).lineTo(0.561, 0.112).threePointArc((0.785, 0.225), (0.561, -0.112)).lineTo(-0.561, -0.112).close().extrude(0.336)
res... | 14 | 144 | 0.648858 |
train_e3eb0182765188ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.201, 0, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.725, 0.413).threePointArc((0.777, 0.392), (0.798, 0.34)).lineTo(0.798, -0.413).lineTo(-0.694, -0.413).lineTo(-0.798, -0.308).lineTo(-0.798, 0.353).lineTo(-0.738, 0.413).lineTo(0.725, ... | 8 | 85 | 0.483729 |
train_2348ee6367897fed | 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, 0.111).threePointArc((0.079, 0.079), (0.111, 0)).threePointArc((0.079, -0.079), (0, -0.111)).threePointArc((-0.079, -0.079), (-0.111, 0)).threePointArc((-0.079, 0.079), (0, 0.111)).close().ex... | 4 | 12 | 0.03364 |
train_ad1771047dc46837 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.285, -0.549, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.165, 0.354).threePointArc((0.199, 0.333), (0.213, 0.285)).lineTo(0.213, 0.108).threePointArc((0.201, 0.068), (0.173, 0.051)).lineTo(-0.126, 0.051).threePointArc((-0.138, 0.044), (... | 16 | 248 | 0.365254 |
train_380cf3b6be90d265 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.246, -1, 0.744), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.038, 0.413).lineTo(0.203, 0.232).lineTo(0.096, 0.036).lineTo(-0.115, 0.066).lineTo(-0.203, 0.298).lineTo(0.038, 0.413).close().extrude(2)
result = result.union(cq.Workplane(cq.Plane(o... | 7 | 88 | 0.309131 |
train_4d666b0351f61754 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.31, 0.788).threePointArc((0.48, 0.728), (0.551, 0.582)).lineTo(0.551, 0.244).threePointArc((0.581, 0.183), (0.652, 0.158)).lineTo(0.779, 0.158).threePointArc((0.877, 0.122), (0.918, 0.038)... | 1 | 44 | 0.54905 |
train_7ea5c80832db7e59 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.33, -1, -0.105), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.241, 0.469).lineTo(0.245, 0.456).lineTo(0.234, 0.027).lineTo(0.077, 0.031).lineTo(0.084, 0.303).lineTo(-0.245, 0.312).lineTo(-0.241, 0.469).close().extrude(1.682)
result = result.uni... | 12 | 48 | 0.243862 |
train_5406e835eb9eb683 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.282).lineTo(0.333, 0.094).lineTo(1, 0.094).lineTo(1, -0.282).lineTo(-0.333, -0.282).lineTo(-0.333, -0.094).lineTo(-1, -0.094).lineTo(-1, 0.094).lineTo(0, 0.094).lineTo(0, 0.282).lin... | 10 | 84 | 0.119819 |
train_b8a29c23d2b46846 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.492), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.645, 0.638).threePointArc((0.887, 0.554), (1, 0.357)).lineTo(1, -0.221).threePointArc((0.956, -0.29), (0.87, -0.319)).lineTo(0.685, -0.319).threePointArc((0.623, -0.339), (0.597, -0.388)).... | 12 | 35 | 1.183242 |
train_33620ea975db8156 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, 0, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.103, 1).lineTo(1.103, 0.498).lineTo(0.664, 0.498).lineTo(0.664, -0.498).lineTo(0.221, -0.498).lineTo(0.221, -1).lineTo(-0.221, -1).lineTo(-0.221, 0).lineTo(-1.103, 0).lineTo(-1.103, 1).... | 14 | 23 | 0.295125 |
train_391833af9c55460e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.275, -0.649), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.725, 0.929).lineTo(0.725, 0.19).lineTo(0.174, 0.19).lineTo(0.174, 0).lineTo(0, 0).lineTo(0, 0.929).lineTo(0.725, 0.929).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd... | 4 | 90 | 1.717222 |
train_b0f56877f4cb1ec2 | 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.06, 0.148).threePointArc((0.07, 0.144), (0.074, 0.134)).lineTo(0.074, 0.093).threePointArc((0.08, 0.08), (0.093, 0.074)).lineTo(0.121, 0.074).threePointArc((0.14, 0.066), (0.148, 0.047)).lineT... | 18 | 120 | 0.109277 |
train_29167070c906a744 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.044, -0.003, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.84, 0.296).lineTo(1.041, -0.02).lineTo(0.84, -0.204).lineTo(0.739, -0.296).lineTo(0.504, -0.256).lineTo(0.369, -0.125).lineTo(0.269, -0.217).lineTo(0.034, -0.177).lineTo(-0.101, ... | 5 | 21 | 0.130057 |
train_f96d574e8081b739 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.07, 0.331), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.356, 0.616).threePointArc((0.356, 0.616), (0.712, 0)).threePointArc((0.356, -0.616), (-0.356, -0.616)).threePointArc((-0.712, 0), (-0.356, 0.616)).close().workplane(offset=0.407).move... | 14 | 277 | 1.32429 |
train_c1711a481a2985b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.429, 0.316).lineTo(0.429, 0).lineTo(-0.429, 0).lineTo(-0.429, 0.316).lineTo(-0.366, 0.316).lineTo(-0.366, 0.063).lineTo(0.366, 0.063).lineTo(0.366, 0.316).lineTo(0.429, 0.316).close().ext... | 3 | 20 | 0.168806 |
train_a5cdd99d852f98a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.412, 1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.423, 0.989).threePointArc((0.423, 0.989), (0.844, 0.258)).threePointArc((0.423, -0.474), (-0.423, -0.474)).threePointArc((-0.844, 0.258), (-0.423, 0.989)).close().revolve(angleDegrees=90,... | 7 | 119 | 3.904749 |
train_cce1984c1e9686d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.291, 1).threePointArc((0.76, 0.801), (0.952, 0.332)).lineTo(0.952, -0.416).lineTo(0.374, -0.416).lineTo(0.374, -1).lineTo(-0.302, -1).threePointArc((-0.763, -0.804), (-0.952, -0.343)).line... | 6 | 104 | 0.332438 |
train_f29615e2da9f4e2b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.14, 0.001), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.186, 0.126).lineTo(0.18, 0.095).threePointArc((0.252, 0.033), (0.244, -0.02)).lineTo(0.196, -0.033).threePointArc((0.175, -0.077), (0.114, -0.065)).threePointArc((0.069, -0.033), (0.046... | 8 | 49 | 0.279965 |
train_f95427c51dcde714 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0.641).threePointArc((0.898, 0.541), (1, 0.298)).lineTo(1, -0.317).threePointArc((0.904, -0.546), (0.677, -0.641)).lineTo(-0.502, -0.641).threePointArc((-0.854, -0.495), (-1, -0.143))... | 8 | 172 | 0.446695 |
train_daa710e41da6fca7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.308, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.542, 0.306).lineTo(0.542, -0.306).lineTo(-0.542, -0.306).lineTo(-0.542, 0.306).lineTo(-0.326, 0.306).lineTo(-0.326, -0.19).lineTo(0.326, -0.19).lineTo(0.326, 0.306).lineTo(0.542, 0.306).clo... | 9 | 115 | 0.374675 |
train_2d97d454bf07926b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.121, 0.293, -0.717), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.291, 0.301).lineTo(-0.291, -0.1).threePointArc((-0.22, -0.145), (-0.053, -0.163)).lineTo(0.731, -0.163).threePointArc((0.834, -0.175), (0.878, -0.202)).lineTo(0.878, -0.281).three... | 18 | 201 | 1.331033 |
train_47d29deeaa24ac1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.058, -0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.055).lineTo(1, 0.044).lineTo(1, 0.033).lineTo(0.25, 0).lineTo(0.25, -0.087).lineTo(-0.25, -0.087).lineTo(-0.25, 0).lineTo(-1, 0.033).lineTo(-1, 0.044).lineTo(-1, 0.055).lineTo(-0.25... | 13 | 320 | 0.032668 |
train_706de9e2de2b4943 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.487).lineTo(1, -0.487).lineTo(-1, -0.487).lineTo(-1, 0.34).lineTo(-0.855, 0.487).lineTo(1, 0.487).close().extrude(0.117)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.249... | 9 | 57 | 0.676187 |
train_3a9637554fe27717 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.998), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(3.845, 0.74).lineTo(4.295, 0.289).lineTo(4.295, -0.247).lineTo(3.803, -0.74).lineTo(-3.808, -0.74).lineTo(-4.295, -0.252).lineTo(-4.295, 0.231).lineTo(-3.787, 0.74).lineTo(3.845, 0.74).close... | 9 | 14 | 3.095869 |
train_89cd19b5ed90eb10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.128, 0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.644, 0.872).lineTo(-0.644, -0.666).lineTo(0.945, -0.666).lineTo(0.945, -0.872).lineTo(-0.945, -0.872).lineTo(-0.945, 0.872).lineTo(-0.644, 0.872).close().extrude(0.079, taper=10.123, b... | 20 | 152 | 0.166575 |
train_d98e636994b19897 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.803, 0.261, 0.016), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.045, 0.739).threePointArc((0.158, 0.519), (0.22, 0.391)).threePointArc((0.386, 0.478), (0.606, 0.53)).lineTo(0.579, 0.308).lineTo(0.546, 0.056).threePointArc((0.504, -0.062), (0.62... | 16 | 427 | 0.783325 |
train_4bec33d157e07220 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.36, 0.258, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.489).threePointArc((0.346, 0.346), (0.489, 0)).lineTo(0.122, 0).threePointArc((0.087, 0.087), (0, 0.122)).lineTo(0, 0.489).close().extrude(1.711)
result = result.union(cq.Workpl... | 8 | 43 | 0.427995 |
train_95424da9ec7c6c11 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.29).lineTo(1, -0.286).threePointArc((0.988, -0.296), (0.978, -0.3)).lineTo(-1, -0.3).lineTo(-1, 0.29).lineTo(-0.982, 0.3).lineTo(0.982, 0.3).lineTo(0.982, 0.29).lineTo(1, 0.29).close().... | 13 | 76 | 0.209506 |
train_337088cf1f6645b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.084, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.094).lineTo(0.332, 0.018).threePointArc((0.393, 0.005), (0.54, 0)).lineTo(0.879, 0).threePointArc((0.959, -0.003), (1, -0.01)).lineTo(1, -0.041).threePointArc((0.932, -0.054), ... | 11 | 330 | 0.060762 |
train_58221e98e469d6e7 | 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(-0.621, 0.241).lineTo(-0.621, -0.167).lineTo(1, -0.167).lineTo(1, -0.241).lineTo(-1, -0.241).lineTo(-1, 0.241).lineTo(-0.621, 0.241).close().extrude(0.086)
result = result.union(cq.Workplane... | 16 | 133 | 0.039772 |
train_d68cb9f34b853c7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.278, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.717, 0.5).threePointArc((0.741, 0.49), (0.751, 0.467)).lineTo(0.751, -0.455).lineTo(0.705, -0.5).lineTo(-0.726, -0.5).lineTo(-0.726, -0.476).lineTo(-0.751, -0.476).lineTo(-0.751, 0.46... | 13 | 55 | 0.759923 |
train_bc16e6ad3a87f452 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.183, 0.914, 0.15), normal=(0.225, -0.179, -0.958), xDir=(0, 0.983, -0.184))).moveTo(0.408, 0.302).lineTo(0.408, 0.101).lineTo(0.116, 0.101).lineTo(0.116, -0.302).lineTo(-0.116, -0.302).lineTo(-0.116, 0.101).lineTo(-0.408, 0.101).lineTo(-0.408, ... | 9 | 59 | 0.672222 |
train_2c38c9e552d5c617 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, 0.609).lineTo(1, 0.546).lineTo(1, -0.582).lineTo(0.973, -0.609).lineTo(-1, -0.609).lineTo(-1, 0.578).lineTo(-0.969, 0.609).lineTo(0.937, 0.609).close().extrude(0.2)
result = result.un... | 18 | 172 | 0.671039 |
train_993f6fb42ea3dd25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.33, 0, -0.434), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.67, 0.868).lineTo(0.67, 0).lineTo(-0.67, 0).lineTo(-0.67, 0.868).lineTo(-0.427, 0.868).lineTo(-0.427, 0.243).lineTo(0.427, 0.243).lineTo(0.427, 0.868).lineTo(0.67, 0.868).close().extru... | 4 | 64 | 0.2486 |
train_15caf83e8465b3a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.339).lineTo(1, 0.231).threePointArc((0.973, 0.214), (0.928, 0.207)).lineTo(0.384, 0.207).threePointArc((0.273, 0.189), (0.225, 0.146)).lineTo(0.225, -0.336).threePointArc((0.192, -0... | 4 | 49 | 0.129131 |
train_08222054339970e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.931, 0.363).threePointArc((0.978, 0.344), (1, 0.297)).lineTo(1, -0.317).threePointArc((0.983, -0.349), (0.951, -0.363)).lineTo(-0.957, -0.363).threePointArc((-0.985, -0.351), (-1, -0.323))... | 13 | 55 | 0.251365 |
train_5016e1afae802a63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 1).threePointArc((0.862, 0.95), (0.91, 0.853)).lineTo(0.91, 0.741).threePointArc((0.859, 0.638), (0.741, 0.595)).lineTo(0.544, 0.595).threePointArc((0.483, 0.572), (0.457, 0.519)).lin... | 6 | 54 | 1.891337 |
train_8ce004a7a4ec4f67 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.14, 0.5, 0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.499).threePointArc((0.353, 0.353), (0.499, 0)).threePointArc((0.353, -0.353), (0, -0.499)).threePointArc((-0.353, -0.353), (-0.499, 0)).threePointArc((-0.353, 0.353), (0, 0.499)).c... | 1 | 6 | 0.265899 |
train_4126d68220943446 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.18, -0.074, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.82, 0.746).lineTo(0.82, -0.746).lineTo(-0.82, -0.746).lineTo(-0.82, 0.746).lineTo(-0.368, 0.746).lineTo(-0.368, -0.37).lineTo(0.368, -0.37).lineTo(0.368, 0.746).lineTo(0.82, 0.746)... | 13 | 252 | 0.335381 |
train_086b8b6378b262bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.518, 1).lineTo(0.518, 0.6).lineTo(-0.37, 0.6).lineTo(-0.37, 0.2).lineTo(0.518, 0.2).lineTo(0.518, -1).lineTo(-0.518, -1).lineTo(-0.518, -0.6).lineTo(0.37, -0.6).lineTo(0.37, -0.2).lineTo(-... | 4 | 74 | 1.402687 |
train_4e638f16fcc0805d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.147, 0.145, -0.528), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.678, 0.451).lineTo(0.678, 0.271).lineTo(0.137, 0.271).lineTo(0.137, 0.09).lineTo(0.678, 0.09).lineTo(0.678, -0.451).lineTo(-0.043, -0.451).lineTo(-0.043, -0.271).lineTo(0.498, -0.2... | 11 | 193 | 0.631758 |
train_baf3f830a81edd74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.1, 0, 0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 1).lineTo(1.052, 0).lineTo(0.324, -1).lineTo(-0.852, -0.619).lineTo(-0.852, 0.619).lineTo(0.324, 1).close().extrude(0.356)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.128... | 3 | 53 | 1.315678 |
train_7c111348b1db2dcd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.167, 1).lineTo(0.167, 0).lineTo(0.5, 0).lineTo(0.5, -0.333).lineTo(0.167, -0.333).lineTo(0.167, -1).lineTo(-0.167, -1).lineTo(-0.167, -0.333).lineTo(-0.5, -0.333).lineTo(-0.5, 0).lineTo(-0.1... | 16 | 198 | 0.551265 |
train_6dd031752a4a9746 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.674, -0.128).lineTo(0.602, -0.311).lineTo(0.833, -0.516).lineTo(0.684, -0.686).lineTo(0.425, -0.507).lineTo(0.245, -0.603).lineTo(0.283, -0.897).lineTo(0.047, -0.936).lineTo(-0.027, -0.648... | 19 | 221 | 0.277118 |
train_7b03693a248d1b11 | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.448, 1.615)
result = result.edges().fillet(0.288)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.239).extrude(4, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.687, 0.379, 0),... | 8 | 54 | 3.192893 |
train_eedc67cfbf77b9b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.203, -0.775, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.84, 1.508).lineTo(0.84, 0.042).threePointArc((-0.84, 0.775), (0.84, 1.508)).close().workplane(offset=0.081).moveTo(0.685, 1.373).lineTo(0.685, 0.177).threePointArc((-0.685, 0.775), (0... | 4 | 11 | 0.406668 |
train_6ce2b87d7b31dfd8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.66, 3.001, -4.775), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.873, 0.227).lineTo(1.873, -0.227).threePointArc((1.422, 0), (1.873, 0.227)).close().sweep(cq.Workplane(cq.Plane(origin=(0.66, 3.001, -4.775), normal=(0, 0, 1), xDir=(1, 0, 0))).add... | 10 | 3 | 0.03234 |
train_8c388573ddd4568f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.091, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.132, 0.878).lineTo(0.119, 0.832).lineTo(0.34, 0.744).lineTo(0.317, 0.011).lineTo(0.267, -0.316).lineTo(0.111, -0.878).lineTo(-0.109, -0.804).lineTo(-0.34, -0.672).lineTo(-0.247, 0.305).li... | 11 | 217 | 0.8525 |
train_a181e0c75b853407 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.028, 0, -0.3), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.553, 0.757).lineTo(0.553, 0.06).lineTo(1, 0.06).lineTo(1, 0).lineTo(0.498, 0).lineTo(0.498, 0.757).lineTo(0.553, 0.757).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 7 | 30 | 0.198047 |
train_136ad87465116ab7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.495, 0.249, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.07, 0.524).lineTo(0.035, 0.414).lineTo(0.069, 0.434).lineTo(0.102, 0.456).threePointArc((0.12, 0.463), (0.14, 0.458)).lineTo(0.179, 0.461).lineTo(0.136, 0.315).lineTo(0.249, 0.214).li... | 8 | 83 | 0.124385 |
train_46148cca009b2c55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.039, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.812, 0.96).threePointArc((0.928, 0.896), (0.977, 0.744)).lineTo(0.977, 0.037).threePointArc((0.896, -0.214), (0.704, -0.32)).lineTo(0.136, -0.32).threePointArc((0.04, -0.373), (0,... | 4 | 71 | 3.461664 |
train_c6eb0038e7053654 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.187, 0.174).lineTo(0.187, 0).lineTo(-0.187, 0).lineTo(-0.187, 0.174).lineTo(-0.146, 0.174).lineTo(-0.146, 0.041).lineTo(0.146, 0.041).lineTo(0.146, 0.174).lineTo(0.187, 0.174).close().ext... | 6 | 78 | 0.041343 |
train_2fa6aa9af399af2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.244, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.756).extrude(0.422)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.244, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.589).extrude(1.265, both=True))
result = result.u... | 11 | 83 | 0.504895 |
train_a9bce53d1c6f4f35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.481, -0.126, 0.227), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.416, 0.177).lineTo(0.519, -0.177).threePointArc((0.166, -0.088), (0.416, 0.177)).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.union(c... | 8 | 55 | 0.94501 |
train_30fb9c27050ff0ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.032, -0.406), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.898, 0.824).threePointArc((0.962, 0.794), (0.989, 0.723)).lineTo(0.989, 0.481).threePointArc((0.934, 0.336), (0.804, 0.275)).lineTo(0.62, 0.275).threePointArc((0.532, 0.234), (0.495, 0... | 5 | 102 | 1.086163 |
train_d0596ee009b99789 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.044, -0.198, -0.602), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.36, 0.087).lineTo(-0.36, -0.328).threePointArc((-0.26, 0.328), (0.36, 0.087)).close().workplane(offset=0.789).moveTo(0.584, 0.279).lineTo(0.616, 0.061).threeP... | 19 | 122 | 0.691106 |
train_ec07ec7c148a7518 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0.015, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.003, -0.034).lineTo(1.01, -0.082).lineTo(1.01, -0.13).lineTo(1.002, -0.178).lineTo(0.988, -0.224).lineTo(0.968, -0.268).lineTo(0.941, -0.308).lineTo(0.908, -0.344).lineTo(0.871, -0... | 8 | 312 | 0.798045 |
train_1a0875054120a961 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, 0.021, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.77, 0.764).threePointArc((0.945, 0.69), (1.019, 0.515)).lineTo(1.019, -0.585).threePointArc((0.966, -0.711), (0.84, -0.764)).lineTo(0.612, -0.764).threePointArc((0.54, -0.734), (0.51, ... | 11 | 94 | 0.561832 |
train_ce257cbc9a30c446 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.395, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.422, 0.703).threePointArc((0.551, 0.65), (0.604, 0.522)).lineTo(0.604, -0.519).threePointArc((0.55, -0.649), (0.419, -0.703)).lineTo(-0.474, -0.703).lineTo(-0.474, -0.574).lineTo(-0.60... | 17 | 330 | 0.388857 |
train_0bd59389873041e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, -0.054, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.212, 0.528).threePointArc((-0.153, 0.57), (0.608, -0.038)).threePointArc((0.637, -0.067), (0.429, -0.519)).lineTo(0.383, -0.57).lineTo(0.061, -0.434).threePointArc((-0.012, -0.26... | 5 | 41 | 0.739653 |
train_bd71931d7834cf68 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, -0.463), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, -0.152).lineTo(0.981, -0.202).lineTo(0.971, -0.241).lineTo(0.835, -0.214).lineTo(0.783, -0.358).lineTo(0.9, -0.439).lineTo(0.88, -0.477).lineTo(0.756, -0.415).lineTo(0.671, ... | 5 | 103 | 1.923476 |
train_f9b2c24a0ca53cf0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.384, 0, -0.208), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.615, 0.539).lineTo(0.615, 0).lineTo(-0.615, 0).lineTo(-0.615, 0.539).lineTo(-0.335, 0.539).lineTo(-0.335, 0.28).lineTo(0.335, 0.28).lineTo(0.335, 0.539).lineTo(0.615, 0.539).close().... | 11 | 83 | 0.514973 |
train_2f42dad5796ed2e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-3.493, -1.158, 4.779), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(2.166, 0.187).threePointArc((2.382, 0.187), (2.49, 0)).threePointArc((2.382, -0.187), (2.166, -0.187)).threePointArc((2.058, 0), (2.166, 0.187)).close().sweep(cq.Workplane(cq.Plane... | 13 | 11 | 0.117326 |
train_1aff9d01eeccb5ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.134, 2).extrude(0.4)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.153, 0.584).lineTo(0.153, -0.584).lineTo(-0.153, -0.584).close(... | 10 | 30 | 0.749941 |
train_abf6eb4ed624f2c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.101, 0.836, 0.626), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.09, 0.126).lineTo(0.09, -0.126).threePointArc((-0.09, 0), (0.09, 0.126)).close().transformed(offset=(0.069, -0.106, 0.031), rotate=(0, 0, 90)).moveTo(0.056, 0.079).lineTo(0.056, -0... | 3 | 13 | 0.154101 |
train_181047ef7191ee88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.48, 0.125, -0.632), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.293, 0.87).threePointArc((-1.126, 0.838), (-1.056, 0.761)).lineTo(-1.056, -0.326).threePointArc((-0.956, -0.435), (-0.719, -0.481)).lineTo(1.716, -0.481).threePointArc((1.849, -0.5... | 7 | 50 | 2.106867 |
train_bf3552ca687d2cb6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.11, 0.006, 0.158), normal=(0.063, -0.111, -0.992), xDir=(0, 0.994, -0.111))).moveTo(0.928, 0.689).lineTo(0.928, 0.394).lineTo(0.213, 0.394).lineTo(0.213, -0.394).lineTo(0.928, -0.394).lineTo(0.928, -0.689).lineTo(-0.928, -0.689).lineTo(-0.928, ... | 15 | 106 | 1.097016 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.