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_194ccad3969f94ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.04, -0.051, -0.398), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.551, 1.051).threePointArc((0.718, 0.98), (0.789, 0.814)).lineTo(0.789, -0.917).threePointArc((0.749, -1.011), (0.655, -1.051)).lineTo(0.418, -1.051).threePointArc((0.309, -1.005), ... | 24 | 479 | 2.216465 |
train_c80c101c5bf7a056 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.043, -0.043, -0.6), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.059, 0.462).threePointArc((0.085, 0.455), (0.109, 0.443)).lineTo(0.131, 0.086).lineTo(0.194, 0.055).lineTo(0.248, -0.013).lineTo(0.284, -0.158).threePointArc((0.283, -0.188), (0.27... | 10 | 139 | 0.267219 |
train_1fed37bbed033cdf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.037, 0.01, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.222, 0.332).threePointArc((0.263, -0.021), (-0.044, -0.332)).lineTo(-0.077, -0.281).threePointArc((-0.081, -0.278), (-0.085, -0.282)).lineTo(-0.098, -0.314).threePointArc((-0.101, -0.31... | 12 | 75 | 0.235149 |
train_efdce2c4f64c22d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.04, 0.746, 0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.05, 0.021).lineTo(0.243, -0.021).threePointArc((-0.243, 0.002), (0.05, 0.021)).close().extrude(0.448, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.586, 0.588, -0.... | 8 | 54 | 1.944131 |
train_11c64fc374f3d20c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.117, -0.074, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.314, 0.331).threePointArc((0.314, -0.331), (-0.157, -0.331)).lineTo(-0.314, 0.331).close().extrude(1.684)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 1), normal=(0, 0,... | 3 | 63 | 0.971519 |
train_e27857349f571607 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.686, -1.44, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.452, 1.686).threePointArc((0.926, 1.604), (1.686, 0.452)).threePointArc((1.604, -0.926), (0.452, -1.686)).threePointArc((-0.926, -1.604), (-1.686, -0.452)).threePointArc((-1.604,... | 7 | 17 | 1.133219 |
train_0c228f6dcb4c08bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.119, 0, -0.51), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.715, 0.822).threePointArc((0.833, 0.782), (0.881, 0.688)).lineTo(0.881, 0.315).threePointArc((0.809, 0.176), (0.635, 0.117)).lineTo(-0.514, 0.117).threePointArc((-0.566, 0.1), (-0.588,... | 7 | 168 | 2.298254 |
train_e732b00498a93abf | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.001, 0.056).lineTo(0.04, 0.038).lineTo(0.056, -0.001).lineTo(0.039, -0.039).lineTo(0.001, -0.056).lineTo(-0.039, -0.039).lineTo(-0.056, 0).lineTo(-0.04, 0.038).lineTo(-0.001, 0.056).close().extrude(1, taper=-10.468, both=True)
result = result.cut(c... | 2 | 74 | 0.123351 |
train_6be97fbcc5e4a44c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.059, 0, 0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.618, 0.294).threePointArc((1.083, 0), (0.618, -0.294)).lineTo(-0.618, -0.294).threePointArc((-1.083, 0), (-0.618, 0.294)).lineTo(0.618, 0.294).close().extrude(0.104, both=True)
result =... | 22 | 304 | 0.120681 |
train_27784b7bedf47f99 | 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.111, 0.088).lineTo(0.111, -0.088).lineTo(-0.111, -0.088).lineTo(-0.111, 0.088).lineTo(-0.066, 0.088).lineTo(-0.066, -0.044).lineTo(0.066, -0.044).lineTo(0.066, 0.088).lineTo(0.111, 0.088).clos... | 3 | 17 | 0.042947 |
train_549ce563badd19f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.205, -0.135, -0.711), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.345, 0.353).lineTo(0.02, 0.162).lineTo(0.088, 0.214).lineTo(0.181, 0.244).lineTo(0.029, -0.069).lineTo(0.469, -0.282).lineTo(0.432, -0.353).lineTo(0.335, -0.303).threePointArc((0... | 9 | 76 | 0.379178 |
train_088de29b4cba3be8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.028, 0.021, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.803, 0.552).threePointArc((0.338, 1.02), (0.994, -0.032)).threePointArc((0.667, -0.813), (0.713, -0.976)).threePointArc((0.544, -1.02), (0.329, -0.901)).threePointArc((-0.779, -0.837)... | 7 | 18 | 2.294746 |
train_680e35fcaab7c89f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.435, -0.103, -0.257), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.009, 0.134).lineTo(0.052, 0.111).lineTo(0.07, 0.065).lineTo(0.054, 0.019).lineTo(0.013, -0.007).lineTo(-0.036, 0).lineTo(-0.068, 0.037).lineTo(-0.07, 0.086).lineTo(-0.039, 0.124... | 7 | 45 | 0.035784 |
train_ec297588e84a559c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.041, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.165, 0.392).lineTo(-0.165, -0.206).lineTo(0.367, -0.206).lineTo(0.367, -0.392).lineTo(-0.367, -0.392).lineTo(-0.367, 0.392).lineTo(-0.165, 0.392).close().extrude(2, taper=-5.94)
result = ... | 20 | 16 | 0.754998 |
train_d0218bdb0bc28137 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.239, 0.302).lineTo(0.417, 0.123).lineTo(0.417, -0.302).lineTo(-0.286, -0.302).threePointArc((-0.378, -0.263), (-0.417, -0.171)).lineTo(-0.417, 0.175).threePointArc((-0.38, 0.265), (-0.291,... | 7 | 40 | 0.89572 |
train_1748bcfd5ac8fc7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.096, 0.093, 0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.409, 0.906).lineTo(0.409, -0.906).lineTo(-0.409, -0.906).lineTo(-0.409, 0.906).lineTo(-0.114, 0.906).lineTo(-0.114, 0.143).lineTo(0.114, 0.143).lineTo(0.114, 0.906).lineTo(0.409, 0.... | 15 | 193 | 1.74387 |
train_e96cb1b206688fe5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.421), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.671, 0.929).lineTo(0.671, 0.606).lineTo(0.517, 0.606).lineTo(0.517, 0).lineTo(0, 0).lineTo(0, 0.929).lineTo(0.671, 0.929).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 12 | 151 | 0.627428 |
train_c09d20d2dfeacf24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.945, -0.196).lineTo(0.972, -0.237).lineTo(0.945, -0.326).lineTo(0.908, -0.33).lineTo(0.821, -0.507).lineTo(0.831, -0.555).lineTo(0.776, -0.63).lineTo(0.74, -0.621).lineTo(0.599, -0.758).li... | 9 | 209 | 1.856762 |
train_cf833454a6fd8156 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.287, -0.137, -0.607), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.368, 0.279).lineTo(0.544, -0.066).lineTo(0.441, -0.257).lineTo(0.415, -0.257).threePointArc((0.399, -0.279), (0.15, -0.222)).lineTo(0.123, -0.224).lineTo(-0.035, -0.023).lineTo(0.... | 9 | 129 | 0.856665 |
train_13a869fe9d4e2912 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.54, 2).extrude(0.17)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.111, -0.346, 0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.145, 0.208).threePointArc((-0.06, 0.189), (0.01, ... | 7 | 74 | 0.152037 |
train_c90472332e76ff57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.377).lineTo(0.75, -0.228).lineTo(1, -0.314).lineTo(0.606, -0.377).lineTo(0.106, -0.204).lineTo(-0.394, -0.032).lineTo(-1, 0.377).close().extrude(0.548)
result = result.faces('>Z').shel... | 4 | 50 | 0.098834 |
train_102d46fd2f2b511d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.079, 0.048, -0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.428, 0.509).threePointArc((0.688, 0.082), (0.698, -0.453)).threePointArc((0.575, -0.614), (-0.055, -0.563)).threePointArc((-0.565, -0.244), (-0.692, -0.19)).threePointArc((-0.698, ... | 21 | 74 | 0.719432 |
train_61509dc9de9d31f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.352, 0.161, 0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.648, 0.287).lineTo(0.648, 0.172).lineTo(0.074, 0.172).lineTo(0.074, 0.057).lineTo(0.648, 0.057).lineTo(0.648, -0.287).lineTo(-0.041, -0.287).lineTo(-0.041, -0.172).lineTo(0.533, -0... | 15 | 193 | 0.578989 |
train_d7322ceee71c9bb0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.043, 0.438, 0.138), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.067, 0).threePointArc((0.048, -0.048), (0, -0.067)).threePointArc((-0.048, -0.048), (-0.067, 0)).threePointArc((-0.048, 0.048), (0, 0.067)).threePointArc((0.048, 0.048), (0.067, 0)... | 6 | 120 | 0.342214 |
train_9352066247e7bf7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.042, 0, -0.972), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.148, 0).threePointArc((0.128, -0.02), (0.108, 0)).threePointArc((0.128, 0.02), (0.148, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.042, 0, -0.972), normal=(0, 0, 1), xDir=(1, 0,... | 8 | 28 | 0.105586 |
train_80978a5c1634ab77 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.443), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.34, 2.599).lineTo(0.34, 1.714).lineTo(0.919, 1.714).lineTo(0.919, 1.393).lineTo(1, 1.393).lineTo(1, 1.171).lineTo(0.367, 1.171).lineTo(0.367, 0).lineTo(0, 0).lineTo(0, 2.599).lineTo(0.34,... | 4 | 22 | 1.215728 |
train_5a22e88b535819a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.994).extrude(0.957)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.994, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.19, 0.584), (-0.686, 0.945), (-1.302, 0.... | 11 | 104 | 2.440268 |
train_d887e5e8f8388695 | 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.082, 0.106).threePointArc((0.103, 0.09), (0.111, 0.051)).lineTo(0.111, -0.048).threePointArc((0.102, -0.089), (0.081, -0.106)).lineTo(-0.1, -0.106).threePointArc((-0.108, -0.1), (-0.111, -0.08... | 11 | 20 | 0.066851 |
train_b12d8a0836a14020 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.895, 0.158).threePointArc((0.968, 0.128), (1, 0.054)).lineTo(1, -0.089).threePointArc((0.979, -0.138), (0.929, -0.158)).lineTo(-0.928, -0.158).threePointArc((-0.978, -0.137), (-1, -0.087)).... | 9 | 38 | 0.161071 |
train_14e9eecce161a4c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, 0.589), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.13, 1.138).threePointArc((0.317, 1.1), (0.477, 0.998)).threePointArc((0.592, 0.844), (0.668, 0.678)).threePointArc((0.744, 0.531), (0.851, 0.4)).threePointArc((0.983, 0.252), (1.093, 0... | 7 | 122 | 1.822153 |
train_c8a962b84ca7dcf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.315, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.63, -0.104).lineTo(0.675, -0.128).lineTo(0.668, -0.159).lineTo(0.62, -0.153).lineTo(0.587, -0.251).lineTo(0.624, -0.286).lineTo(0.61, -0.314).lineTo(0.566, -0.297).lineTo(0.509, -0.38... | 9 | 176 | 0.252477 |
train_935beb74b6f25bdc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.109, 0.243, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.073, 0.732).threePointArc((0.301, 0.644), (0.397, 0.434)).lineTo(0.397, -0.253).threePointArc((0.434, -0.333), (0.521, -0.366)).lineTo(0.658, -0.366).threePointArc((0.753, -0.404),... | 34 | 284 | 0.913984 |
train_a49f3eb75f3fd315 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.138, -0.006, 0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.337, 0.994).threePointArc((0.45, 0.947), (0.497, 0.834)).lineTo(0.497, -0.4).threePointArc((0.468, -0.468), (0.4, -0.497)).lineTo(0.164, -0.497).threePointArc((0.049, -0.546), (0, ... | 17 | 205 | 0.249182 |
train_0d46e5f1e66aa917 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.864, -0.832, -0.374), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.898, 0.527).lineTo(1.156, 0.343).threePointArc((1.295, 0.206), (1.489, 0.231)).lineTo(1.703, -0.107).threePointArc((0.694, -0.546), (0.474, 0.532)).lineTo(0.838, 0.546).threePoi... | 8 | 102 | 1.574382 |
train_989f873393c54548 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.293, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.215, 0.637).lineTo(0.215, 0.325).lineTo(-0.13, 0.325).lineTo(-0.13, -0.325).lineTo(0.215, -0.325).lineTo(0.215, -0.637).lineTo(-0.215, -0.637).lineTo(-0.215, 0.637).lineTo(0.215, 0.637... | 17 | 194 | 0.560312 |
train_57ebec72e7ee9e29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.089, -0.128, -0.642), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.162, 0.162).lineTo(0.162, -0.162).lineTo(-0.162, -0.162).lineTo(-0.162, 0.162).lineTo(-0.054, 0.162).lineTo(-0.054, 0.054).lineTo(0.054, 0.054).lineTo(0.054, 0.162).lineTo(0.162, ... | 20 | 45 | 0.174785 |
train_eb97ea01d8edb6c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, -0.104, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.207, 0.497).threePointArc((0.969, -0.258), (-0.197, -0.497)).lineTo(-0.84, -0.325).threePointArc((-0.969, -0.29), (-0.9, -0.033)).lineTo(0, -0.274).threePointArc((0.223, -0.472), ... | 14 | 348 | 0.706889 |
train_eabcb792784edc97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.204, -0.01, -0.708), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.228, 0.023).threePointArc((0.259, 0.031), (0.282, 0.008)).threePointArc((0.274, -0.023), (0.243, -0.031)).threePointArc((0.22, -0.008), (0.228, 0.023)).close().sweep(cq.Workplane... | 6 | 51 | 0.063958 |
train_7f963871a151cbb6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.279, 0.284).lineTo(1, 0.257).lineTo(0.993, 0.077).lineTo(0.452, 0.097).lineTo(0.446, -0.083).lineTo(0.987, -0.104).lineTo(0.98, -0.284).lineTo(0.259, -0.257).lineTo(0.279, 0.284).close().... | 5 | 75 | 0.799222 |
train_679208531358c945 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.06, 0.001, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.148, 0.326).lineTo(-0.148, -0.176).lineTo(0.373, -0.176).lineTo(0.373, -0.326).lineTo(-0.373, -0.326).lineTo(-0.373, 0.326).lineTo(-0.148, 0.326).close().extrude(0.861, taper=-12.4... | 15 | 179 | 1.306719 |
train_f3bd8904e61d1906 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.403, -0.747, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.73, 1.634).lineTo(0.73, -0.141).threePointArc((-0.73, 0.747), (0.73, 1.634)).close().workplane(offset=0.122).moveTo(0.698, 1.595).lineTo(0.698, -0.102).threePointArc((-0.698, 0.747), ... | 10 | 21 | 1.471159 |
train_be60b9861d423e8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.179, -0.432), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, 0.168).threePointArc((0.963, 0.131), (1, 0.042)).lineTo(1, -0.168).lineTo(-0.941, -0.168).lineTo(-1, -0.109).lineTo(-1, 0.046).threePointArc((-0.964, 0.132), (-0.878, 0.168)).line... | 13 | 79 | 0.43912 |
train_0759d799a8e9606c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.121, 0.013, 0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 0.727).threePointArc((0.81, 0.217), (0.727, -0.419)).threePointArc((0.217, -0.81), (-0.419, -0.727)).threePointArc((-0.81, -0.217), (-0.727, 0.419)).threePointArc((-0.217, 0.81... | 1 | 6 | 1.252046 |
train_97d62296c79ac4b6 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.089, 0.845).threePointArc((0.167, 0.811), (0.2, 0.73)).lineTo(0.2, 0.539).threePointArc((0.232, 0.458), (0.309, 0.424)).lineTo(0.519, 0.424).threePointArc((0.576, 0.398), (0.6, 0.338)).lineTo(0.6, -0.332).threePointArc((0.626, -0.396), (0.687, -0.42... | 9 | 305 | 1.200238 |
train_74aacf7560d735a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.809), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.359, 1.163).lineTo(0.359, 0.664).lineTo(1, 0.664).lineTo(1, 0.454).lineTo(0.116, 0.454).lineTo(0.116, 0).lineTo(0, 0).lineTo(0, 1.163).lineTo(0.359, 1.163).close().revolve(angleDegrees=36... | 3 | 14 | 0.696179 |
train_4dfa9e6b794f7496 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.287, -0.03, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.04, 0.969).lineTo(0.784, 0.899).lineTo(0.822, 0.813).threePointArc((0.914, 0.796), (0.941, 0.238)).lineTo(0.927, 0.108).lineTo(0.984, 0.009).lineTo(0.849, -0.134).lineTo(0.91, -0.... | 15 | 113 | 0.361636 |
train_c61b1bebb8b4b58a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.824)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.089, 0.407), (-0.33, 0.743), (-0.69, 0.947),... | 13 | 108 | 2.121631 |
train_2a0107b825cc02d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, -0.109, -0.744), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.072, 0.807).threePointArc((0.191, 0.773), (0.242, 0.695)).lineTo(0.242, 0.581).threePointArc((0.284, 0.513), (0.386, 0.485)).lineTo(0.648, 0.485).threePointArc((0.702, 0.469), (0.... | 5 | 120 | 1.572492 |
train_748c8daa9e4ec02c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.441), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.616, 0.491).threePointArc((1, 0), (0.616, -0.491)).lineTo(0, -0.491).lineTo(-0.616, -0.491).threePointArc((-1, 0), (-0.616, 0.491)).lineTo(0, 0.491).lineTo(0.616, 0.491).close().extrude(0.... | 6 | 19 | 1.540293 |
train_2e107a9d504a4404 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.025, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.614, 0.852).lineTo(0.687, 0.584).threePointArc((0.893, 0.441), (0.797, 0.176)).lineTo(0.974, -0.473).lineTo(0.055, -0.852).lineTo(-0.095, -0.301).lineTo(-0.795, -0.671).threePointArc((... | 14 | 106 | 0.547556 |
train_20eb6f8803787b4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.313, 0.102).lineTo(0.348, -0.034).threePointArc((0.351, -0.051), (0.35, -0.068)).lineTo(0.337, -0.196).threePointArc((0.16, -0.379), (-0.115, -0.34)).threePointArc((-0.326, -0.102), (-0.351... | 2 | 23 | 0.864441 |
train_9ba78a9ef85a31f5 | 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.662).extrude(0.958)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.662, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.089, 0.33), (-0.332, 0.573), (-0.662, 0.662), (-... | 6 | 55 | 1.611707 |
train_262c9959ec75a4d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.119, 0.014, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.238, 0.275).lineTo(0.282, 0.247).lineTo(0.332, 0.258).lineTo(0.363, 0.217).lineTo(0.414, 0.21).lineTo(0.43, 0.161).lineTo(0.476, 0.137).lineTo(0.473, 0.086).lineTo(0.508, 0.048).lineTo... | 11 | 147 | 0.527747 |
train_72f704cfa197ce6a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.589), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.178).lineTo(1, 0.204).lineTo(0.897, 0.204).lineTo(0.897, 0).lineTo(0, 0).lineTo(0, 1.178).lineTo(1, 1.178).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
res... | 7 | 37 | 2.63298 |
train_9d6697c6dae9b4f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.199, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.796, 0.61).lineTo(0.796, -0.61).lineTo(-0.796, -0.61).lineTo(-0.796, 0.61).lineTo(-0.441, 0.61).lineTo(-0.441, -0.255).lineTo(0.441, -0.255).lineTo(0.441, 0.61).lineTo(0.796, 0.61).cl... | 32 | 363 | 0.189115 |
train_f4d68c5170fb6b21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.679), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.454).extrude(0.879)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.16).extrude(1.063))
result = result.cut(cq.Workplane(cq.P... | 11 | 86 | 0.526204 |
train_90374a8b23b40e49 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.223, -0.022, 0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.905).lineTo(0.799, -0.452).lineTo(0.267, -0.452).lineTo(0.267, -0.905).lineTo(-0.799, -0.905).lineTo(-0.799, -0.452).lineTo(-0.267, -0.452).lineTo(-0.267, 0.905).lineTo(0.7... | 8 | 185 | 0.709721 |
train_48ceb2676f64508c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.025, -0.003, 0.304), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.684, -0.052).lineTo(0.714, -0.085).lineTo(0.739, -0.121).lineTo(0.759, -0.159).lineTo(0.774, -0.2).lineTo(0.783, -0.241).lineTo(0.786, -0.284).lineTo(0.783, -0.326).lineTo(0.775, -... | 5 | 200 | 0.856132 |
train_74ab3d0f6a59b900 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.663, 0, -0.51), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.253, 1.02).lineTo(0.253, 0.253).lineTo(1.326, 0.253).lineTo(1.326, 0).lineTo(0, 0).lineTo(0, 1.02).lineTo(0.253, 1.02).close().extrude(1, both=True)
result = result.cut(cq.Workplane(c... | 6 | 30 | 1.081731 |
train_867c4b905de242a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.087, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.626).threePointArc((0.142, 0.619), (0.278, 0.567)).threePointArc((0.386, 0.473), (0.462, 0.353)).threePointArc((0.512, 0.224), (0.539, 0.088)).threePointArc((0.533, -0.056), (0.48, -0.... | 5 | 38 | 1.84834 |
train_dbe8093b20b49b4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.521), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.042).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.042).lineTo(-0.645, 1.042).lineTo(-0.645, 0.357).lineTo(0.645, 0.357).lineTo(0.645, 1.042).lineTo(1, 1.042).close().extrude(0.536, both=Tru... | 3 | 19 | 1.330523 |
train_036dd4e4ed2478c9 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.098, 0.098).lineTo(0.098, -0.098).lineTo(-0.098, -0.098).lineTo(-0.098, 0.098).lineTo(-0.047, 0.098).lineTo(-0.047, -0.057).lineTo(0.047, -0.057).lineTo(0.047, 0.098).lineTo(0.098, 0.098).close().extrude(1, both=True)
result = result.edges('|Y').fil... | 3 | 26 | 0.047266 |
train_a07e4fcc5cdb889e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.105, 0.001, 0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(4.371, 6.556).lineTo(3.278, 5.463).lineTo(1.093, 3.278).lineTo(0, 0).lineTo(2.185, -1.093).lineTo(6.556, -3.278).lineTo(7.649, -4.371).lineTo(5.463, -5.463).threePointArc((-1.093, -7... | 10 | 234 | 0.633936 |
train_429e30ce6bd063b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.121, 0.492, 0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.202).threePointArc((0.405, 0.472), (0.405, -0.067)).threePointArc((0.135, -0.067), (0.135, -0.202)).threePointArc((-0.405, -0.472), (-0.27, 0.067)).threePointArc((0, 0.067), (0,... | 6 | 57 | 0.797887 |
train_0a2ff453d3fbc16e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.068, -0.172, -0.411), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.119, 0.41).lineTo(0.339, 0.2).lineTo(0.313, -0.104).lineTo(0.058, -0.273).lineTo(-0.233, -0.179).lineTo(-0.339, 0.108).lineTo(-0.184, 0.369).lineTo(0.119, 0.41).close().extrude(0... | 3 | 30 | 0.316634 |
train_907abf410dab347e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-62.067, 55.919, -9.911), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(62.994, 60.619).lineTo(62.994, -60.619).lineTo(-62.994, -60.619).lineTo(-62.994, 60.619).lineTo(-39.132, 60.619).lineTo(-39.132, -40.336).lineTo(39.132, -40.336).lineTo(39.132, 60... | 18 | 6 | 1.577036 |
train_021c096a02e2aef8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.061, -0.475), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.515, -0.043).lineTo(0.505, -0.111).lineTo(0.654, -0.16).lineTo(0.63, -0.237).lineTo(0.479, -0.193).lineTo(0.45, -0.255).lineTo(0.577, -0.346).lineTo(0.533, -0.412).lineTo(0.401, -0.32... | 5 | 129 | 1.369861 |
train_3b0508d08bce08ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.215, -0.031, 0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.049, 0.04).threePointArc((-0.035, 0.055), (-0.016, 0.05)).threePointArc((0.002, 0.047), (0.016, 0.035)).lineTo(0.049, 0.04).threePointArc((0.092, -0.003), (0.049, -0.046)).lineTo... | 4 | 139 | 0.03625 |
train_3c065586f8fc8196 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.126, -0.217, -0.718), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.107, 0.629).lineTo(0, 0.552).lineTo(0, 0.417).lineTo(-0.142, 0.314).lineTo(-0.358, 0.314).lineTo(-0.437, 0.257).lineTo(-0.437, 0.074).lineTo(-0.334, 0).lineTo(0.704, 0).lineTo(0... | 8 | 136 | 1.014544 |
train_0bdc1055ac80ae9f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.014, -0.013, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.161, 0.949).threePointArc((0.938, 0.217), (0.777, -0.732)).threePointArc((-0.161, -0.949), (-0.938, -0.217)).threePointArc((-0.777, 0.732), (0.161, 0.949)).close().extrude(0.171, ... | 5 | 43 | 0.401269 |
train_666f78a45924cdd3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.029, -0.002, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.517, 0.603).threePointArc((0.675, 0.526), (0.6, 0.318)).threePointArc((0.355, 0.233), (0.32, 0.19)).lineTo(0.323, 0.151).threePointArc((0.468, -0.217), (0.456, -0.276)).lineTo(0.... | 4 | 114 | 2.011303 |
train_6ef02c2f516d9005 | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1, 1.799)
result = result.edges().fillet(0.452)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.248).extrude(4, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, ... | 5 | 36 | 2.131826 |
train_fa2cbc8ce84ba96b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.098, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.132).lineTo(0.066, 0.115).lineTo(0.115, 0.066).lineTo(0.132, 0).lineTo(0.115, -0.066).lineTo(0.066, -0.115).lineTo(0, -0.132).lineTo(-0.066, -0.115).lineTo(-0.115, -0.066).lineTo(-0.132,... | 6 | 52 | 0.057603 |
train_425af42d2e352f1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.228, -0.006, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.078, 0.633).threePointArc((0.132, 0.602), (0.154, 0.529)).lineTo(0.154, 0.373).threePointArc((0.189, 0.259), (0.272, 0.211)).lineTo(0.669, 0.211).threePointArc((0.741, 0.17), (0.7... | 10 | 241 | 0.684988 |
train_2ea7affdb38492e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.197, -0.092, 0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.641, 0.505).threePointArc((0.715, 0.489), (0.704, 0.386)).lineTo(0.19, 0.223).threePointArc((0.17, 0.212), (0.157, 0.195)).lineTo(0.136, 0.146).threePointArc((0.13, 0.134), (0.122... | 4 | 103 | 0.48436 |
train_a7093a717994456f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.188, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.181, 0.812).threePointArc((0.339, 0.745), (0.406, 0.587)).lineTo(0.406, -0.538).threePointArc((0.325, -0.731), (0.132, -0.812)).lineTo(-0.259, -0.812).threePointArc((-0.363, -0.769), (... | 27 | 239 | 0.543304 |
train_9cbfc61d26bd5da7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.158, 0.024, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.841, 0.74).threePointArc((0.208, 0.127), (0.841, -0.74)).lineTo(0.113, -0.593).threePointArc((-0.633, -0.254), (-0.841, 0.74)).close().extrude(0.314, both=True)
result = result.cu... | 5 | 30 | 1.257844 |
train_93dccb018f111897 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.073, -0.054, -0.034), normal=(-0.245, -0.762, 0.599), xDir=(0.952, -0.306, 0))).moveTo(-0.067, 0.797).lineTo(0, 0.73).lineTo(0, 0.079).lineTo(0.079, 0).lineTo(0.338, 0).lineTo(0.399, -0.061).lineTo(0.399, -0.299).lineTo(0.299, -0.399).lineTo(0.0... | 10 | 109 | 0.937784 |
train_f021752b689c3a42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.159, 0, -0.221), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.173, 1.221).lineTo(0.173, 0.173).lineTo(0.243, 0.173).lineTo(0.243, 0).lineTo(0, 0).lineTo(0, 1.221).lineTo(0.173, 1.221).close().extrude(0.256, both=True)
result = result.cut(cq.Wor... | 6 | 58 | 0.114384 |
train_26cc904d1933d8d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.151, -0.021, 0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.19, 0.274).threePointArc((0.241, 0.254), (0.261, 0.203)).lineTo(0.261, -0.24).lineTo(0.227, -0.24).lineTo(0.227, -0.274).lineTo(-0.261, -0.274).lineTo(-0.261, 0.2).lineTo(-0.187, 0... | 17 | 111 | 0.203278 |
train_406d772b0d33db06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.092, 0, -0.433), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.185, 0.862).lineTo(0.185, 0.185).lineTo(0.988, 0.185).lineTo(0.988, 0).lineTo(0, 0).lineTo(0, 0.862).lineTo(0.185, 0.862).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 10 | 29 | 0.293667 |
train_ca7b826a28bc6371 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.594).lineTo(0.976, 0.44).lineTo(0.976, -0.384).lineTo(0.769, -0.594).lineTo(-0.63, -0.594).lineTo(-0.976, -0.247).lineTo(-0.976, 0.271).lineTo(-0.654, 0.594).lineTo(0.825, 0.594)... | 9 | 40 | 0.633444 |
train_c64b0f4025b30734 | 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.236, 0.972).threePointArc((0.379, 0.926), (0.513, 0.86)).threePointArc((0.636, 0.774), (0.745, 0.67)).threePointArc((0.837, 0.551), (0.91, 0.421)).threePointArc((0.963, 0.281), (0.995, 0.1... | 8 | 236 | 0.583156 |
train_e1790dbb6cfdfb1e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.36, -0.202, 0.002), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.193, 0.097).threePointArc((0.221, 0.05), (0.232, -0.005)).threePointArc((0.206, -0.052), (0.152, -0.07)).threePointArc((0.096, -0.067), (0.055, -0.067)).threePointArc((0.021, -0.088... | 12 | 116 | 0.916375 |
train_f048d8e24c133537 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.183, -0.025, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.817, 0.264).lineTo(0.817, -0.256).threePointArc((0.809, -0.275), (0.791, -0.282)).lineTo(-0.791, -0.282).lineTo(-0.791, -0.256).lineTo(-0.817, -0.256).lineTo(-0.817, 0.26).lineTo... | 11 | 106 | 0.353953 |
train_603b6e09a25235dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.049, 0.259).threePointArc((0.517, 0.22), (0.817, 0.133)).lineTo(1, -0.023).lineTo(0.827, -0.208).lineTo(0.152, -0.259).lineTo(-0.603, -0.142).lineTo(-1, 0.014).threePointArc((-0.912, ... | 11 | 20 | 0.040595 |
train_e7e5fbee1091ced6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.264, 0.695, -0.788), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.144, 0.709).threePointArc((0.191, 0.69), (0.211, 0.642)).lineTo(0.211, 0.15).threePointArc((0.191, 0.103), (0.144, 0.083)).lineTo(-0.144, 0.083).threePointArc((-0.191, 0.103), (-0... | 18 | 42 | 0.996262 |
train_66bece5e72bdc048 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.224, 0.034, 0.103), normal=(0.063, -0.998, 0.031), xDir=(0.998, 0.063, 0))).moveTo(-0.376, 0.651).lineTo(-0.079, 0.556).threePointArc((0.054, 0.608), (0.106, 0.507)).lineTo(0.297, 0.467).lineTo(0.341, 0.394).lineTo(0.414, 0.412).lineTo(0.765, 0.... | 11 | 119 | 0.17582 |
train_48f8977eaec19af7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.006, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.115, 0.816).threePointArc((0.258, 0.79), (0.319, 0.729)).lineTo(0.319, 0.104).threePointArc((0.391, 0.031), (0.563, 0)).lineTo(0.819, 0).threePointArc((0.915, -0.017), (0.956, -0.059))... | 5 | 26 | 0.629799 |
train_daf67b3f729f9482 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.09, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.819, 0.91, 1.856)
result = result.edges().fillet(0.269)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.09, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.297).extrude(3.637, both=Tru... | 9 | 114 | 1.947193 |
train_bff6b36d6325841e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.095, -0.056, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.231, 0.842).threePointArc((0.726, 0.599), (0.757, 0.136)).threePointArc((0.748, 0.053), (0.653, -0.081)).threePointArc((0.496, -0.166), (0.455, -0.437)).threePointArc((-0.424, -0.... | 2 | 18 | 2.3009 |
train_f20b8204b648f69a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.999, -0.165), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.062, 0.36).lineTo(0.075, 0.203).lineTo(0.282, 0.235).lineTo(0.214, 0.037).lineTo(0.343, -0.128).lineTo(0.139, -0.167).lineTo(0.062, -0.36).lineTo(-0.075, -0.203).lineTo(-0.282, -0.2... | 5 | 18 | 0.352627 |
train_c58d177bb17b6378 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, 0.489).threePointArc((0.929, 0.418), (1, 0.249)).lineTo(1, -0.286).lineTo(0.797, -0.286).lineTo(0.797, -0.489).lineTo(-0.812, -0.489).lineTo(-1, -0.3).lineTo(-1, 0.382).lineTo(-0.892, ... | 7 | 15 | 0.430089 |
train_c9b4b3072a61fac0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.047, -0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.611, 0.241).lineTo(-0.488, 0.2).lineTo(-0.488, 0.127).lineTo(-0.345, 0.08).lineTo(0.828, 0.08).lineTo(0.975, 0.032).lineTo(0.975, -0.185).lineTo(0.805, -0.241).lineTo(-0.361, -0.241)... | 12 | 271 | 0.12104 |
train_0b5931c5bf06dd11 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.551, -0.015, -0.235), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.302, 0.435).lineTo(0.267, 0.037).lineTo(-0.302, 0.088).lineTo(-0.293, 0.191).threePointArc((-0.255, 0.156), (-0.203, 0.148)).lineTo(-0.106, 0.196).lineTo(-0.018, 0.127).lineTo(0.0... | 4 | 37 | 0.316267 |
train_aeab72be1836fb12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0.115, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.214, 0.68).threePointArc((0.994, -0.245), (-0.348, -0.68)).lineTo(-0.989, -0.289).threePointArc((-0.994, -0.284), (-0.987, -0.284)).lineTo(-0.765, -0.336).lineTo(-0.294, -0.444).t... | 7 | 19 | 0.502388 |
train_c98c4c8cb296736c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.046, -0.05, -0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.842, 0.949).threePointArc((0.917, 0.917), (0.95, 0.841)).lineTo(0.95, -0.594).threePointArc((0.844, -0.844), (0.594, -0.949)).lineTo(-0.748, -0.949).threePointArc((-0.89, -0.89), ... | 13 | 178 | 1.501972 |
train_b77153e69d887bd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.397, -0.093), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.553, 0.185).lineTo(0.553, 0.085).lineTo(0.602, 0.085).lineTo(0.602, 0).lineTo(0.204, 0).lineTo(0.204, 0.185).lineTo(0.553, 0.185).close().revolve(angleDegrees=360, axisStart=(0, ... | 9 | 59 | 0.188899 |
train_68209cc4eda78a10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.527, -0.715, -0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.494, 1.629).threePointArc((0.598, 1.487), (0.568, 1.313)).threePointArc((0.717, 1.187), (0.759, 0.996)).lineTo(0.639, 0.68).lineTo(0.596, 0.364).threePointArc((0.46, 0.233), (0.4... | 13 | 352 | 0.95506 |
train_5ed3fbf1bd924784 | 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(1, 0.742).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.742).lineTo(-0.836, 0.742).lineTo(-0.836, 0.164).lineTo(0.836, 0.164).lineTo(0.836, 0.742).lineTo(1, 0.742).close().extrude(0.398, both=Tru... | 3 | 19 | 0.48942 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.