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_d2074f6d9fadd615 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.925, -0.313, -0.324), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.002, 0.074).lineTo(0.019, 0.039).lineTo(0.026, 0.044).threePointArc((0.029, 0.048), (0.034, 0.048)).threePointArc((0.038, 0.048), (0.043, 0.046)).threePointArc((0.046, 0.047), ... | 3 | 26 | 0.07526 |
train_2eef30a559855d0e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.2, -0.092, 0.54), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.075, 0.198).lineTo(-0.075, 0.024).lineTo(0.209, 0.024).lineTo(0.209, -0.11).lineTo(-0.209, -0.11).lineTo(-0.209, 0.198).lineTo(-0.075, 0.198).close().revolve(angleDegrees=270, axisSt... | 8 | 222 | 0.619423 |
train_96ab13c007391387 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.193, -0.603), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, 0.405).threePointArc((0.943, 0.357), (1, 0.242)).lineTo(1, -0.246).threePointArc((0.943, -0.357), (0.83, -0.405)).lineTo(-1, -0.405).lineTo(-1, 0.208).lineTo(-0.798, 0.405).lineTo... | 14 | 92 | 1.387945 |
train_d4cdf5a9068c2d3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.79, 0.889).lineTo(0.79, 0.682).lineTo(1, 0.682).lineTo(1, -0.596).threePointArc((0.911, -0.806), (0.704, -0.889)).lineTo(-0.744, -0.889).threePointArc((-0.922, -0.818), (-1, -0.637)).lineT... | 11 | 197 | 1.253301 |
train_b4e347cdaa7db950 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.71, 0.337).lineTo(0.919, 0.239).lineTo(1, 0.118).lineTo(1, 0).lineTo(0.84, 0).lineTo(0.84, 0.101).lineTo(0.739, 0.239).lineTo(0, 0.176).lineTo(0, 0.337).lineTo(0.71, 0.337).close().revolv... | 2 | 12 | 0.452945 |
train_d31d37bba44f8f16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.01, -0.438), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.145, 0.268).threePointArc((0.224, 0.234), (0.257, 0.155)).lineTo(0.257, -0.181).threePointArc((0.231, -0.242), (0.17, -0.268)).lineTo(-0.201, -0.268).threePointArc((-0.24, -0.251), (-0... | 11 | 93 | 0.723589 |
train_fe2ad7f57cd0693d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.172, 1).lineTo(0.172, 0.671).lineTo(0.501, 0.671).lineTo(0.501, -1).lineTo(-0.133, -1).lineTo(-0.133, -0.631).lineTo(-0.501, -0.631).lineTo(-0.501, 0.583).lineTo(-0.085, 1).lineTo(0.172, 1... | 3 | 18 | 0.722247 |
train_ec460471ce1271cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.12, 0.038, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.185, 0.961).lineTo(0.408, 0.933).threePointArc((0.697, 0.791), (0.783, 0.392)).threePointArc((-0.502, -0.961), (-0.185, 0.961)).close().moveTo(-0.12, 0.846).lineTo(0.496, 0.794).th... | 4 | 53 | 0.231488 |
train_2e8afcebb4cc6849 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.844, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.551, 0.772).lineTo(0.533, 0.687).lineTo(0.799, 0.558).lineTo(0.747, 0.442).lineTo(0.474, 0.553).lineTo(0.423, 0.483).lineTo(0.613, 0.257).lineTo(0.518, 0.172).lineTo(0.314, 0.384).lineTo(0... | 8 | 109 | 3.155661 |
train_1340997e962bca4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.431).lineTo(1, -0.251).lineTo(0.814, -0.431).lineTo(-0.869, -0.431).threePointArc((-0.956, -0.395), (-1, -0.308)).lineTo(-1, 0.339).threePointArc((-0.965, 0.405), (-0.9, 0.431)).lineTo(... | 11 | 29 | 0.408362 |
train_ece032c3aecaa36a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.361, 0.411, -0.476), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.221, 0.355).lineTo(0.221, -0.137).lineTo(-0.221, -0.137).lineTo(-0.221, 0.027).lineTo(-0.074, 0.027).lineTo(-0.074, 0.191).lineTo(0.074, 0.191).lineTo(0.074, 0.355).lineTo(0.221, 0... | 4 | 92 | 0.649781 |
train_3b129f500a87b214 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.827, 0.558).lineTo(1, 0.385).lineTo(1, -0.446).lineTo(0.888, -0.558).lineTo(-0.827, -0.558).lineTo(-1, -0.385).lineTo(-1, 0.319).lineTo(-0.761, 0.558).lineTo(0.827, 0.558).close().extrude(... | 12 | 92 | 1.401188 |
train_499d63e78deea15e | 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.387, 2).lineTo(0.387, 1.465).lineTo(0.885, 1.465).lineTo(0.885, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.387, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result ... | 2 | 16 | 3.280567 |
train_4687be0ffc59fb53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.356, 0.138).lineTo(0.384, 0.111).lineTo(0.384, -0.09).lineTo(0.335, -0.138).lineTo(-0.343, -0.138).lineTo(-0.384, -0.099).lineTo(-0.384, 0.084).lineTo(-0.33, 0.138).lineTo(0.356, 0.13... | 13 | 104 | 0.183747 |
train_3590c5eac230e4fa | 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.077, 0.929).lineTo(0.548, 0.76).threePointArc((0.679, 0.635), (0.819, 0.519)).lineTo(0.967, 0.207).threePointArc((0.963, 0.017), (0.977, -0.173)).lineTo(0.824, -0.544).threePointArc((0.722... | 4 | 188 | 0.572693 |
train_9f8739a6c08bbdf1 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.935).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.125).extrude(1.186, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 13 | 63 | 2.598964 |
train_a50af5e63a7a7061 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.139), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.973, 0.547).lineTo(0.973, 0).lineTo(-0.973, 0).lineTo(-0.973, 0.547).lineTo(-0.815, 0.547).lineTo(-0.815, 0.159).lineTo(0.815, 0.159).lineTo(0.815, 0.547).lineTo(0.973, 0.547).close().ext... | 6 | 35 | 0.394803 |
train_91f7a1c465bf1884 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.016, -0.488), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.327).lineTo(1, 0.243).lineTo(0.159, 0.243).lineTo(0.159, -0.243).lineTo(1, -0.243).lineTo(1, -0.327).lineTo(-1, -0.327).lineTo(-1, -0.243).lineTo(-0.159, -0.243).lineTo(-0.159, 0.24... | 7 | 30 | 0.465616 |
train_c39c0650e263fb51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.011, 0.08).lineTo(0.034, 0.074).lineTo(0.068, 0.044).lineTo(0.08, 0).lineTo(0.068, -0.044).lineTo(0.034, -0.074).lineTo(-0.011, -0.08).lineTo(-0.053, -0.061).lineTo(-0.078, -0.023).lineTo(... | 7 | 76 | 0.067942 |
train_b65db30b4f49d4c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.225, 0).lineTo(0.225, 0.553).lineTo(0.16, 0.553).lineTo(0.16, 0.427).lineTo(1, 0.427).lineTo(1, 0).lineTo(0.225, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0... | 7 | 47 | 0.860086 |
train_4d962a8a81d4d5a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.377, 1.558, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.01, 0.416).lineTo(0.159, 0.167).lineTo(0.219, 0.149).lineTo(0.281, 0.135).lineTo(0.306, 0.062).threePointArc((0.34, 0.063), (0.362, 0.036)).threePointArc((0.386, 0.018), (0.416, 0.01)... | 6 | 230 | 0.71848 |
train_df782677a61fcf5b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.324, 0, 0.088), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.259, 0.258).threePointArc((0.322, 0.232), (0.348, 0.168)).lineTo(0.348, -0.168).threePointArc((0.322, -0.232), (0.259, -0.258)).lineTo(-0.259, -0.258).threePointArc((-0.322, -0.232), (... | 5 | 50 | 0.272594 |
train_5c68b101f085de27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.498, 0.858).threePointArc((0.641, 0.37), (0.858, 0.498)).lineTo(1, 0).threePointArc((0.641, -0.37), (0.858, -0.498)).lineTo(0.498, -0.858).threePointArc((0, -0.741), (0, -1)).... | 6 | 102 | 0.333881 |
train_619e490bad854605 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.031, -0.134, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.086, 0.361).lineTo(0.207, 0.239).lineTo(0.207, 0.068).lineTo(0.181, 0.013).lineTo(0.149, -0.036).threePointArc((0.122, -0.062), (0.086, -0.054)).threePointArc((0.062, -0.055), (0.043... | 6 | 59 | 0.297338 |
train_5bc6016c868f9466 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.18, 0.278, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.191, 0.721).threePointArc((0.226, 0.707), (0.24, 0.672)).lineTo(0.24, 0.527).threePointArc((0.254, 0.495), (0.287, 0.481)).lineTo(0.394, 0.481).threePointArc((0.455, 0.455), (0.481,... | 23 | 148 | 0.847197 |
train_6e951b621c085f19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.484), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.307, 0.968).lineTo(0.307, 0.295).lineTo(1, 0.295).lineTo(1, 0).lineTo(0.108, 0).lineTo(0.108, 0.968).lineTo(0.307, 0.968).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 4 | 11 | 1.085888 |
train_a764d1809e17409f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.056, -0.142, -0.543), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.336, 0.661).lineTo(0.68, -0.005).lineTo(0.34, -0.661).lineTo(-0.357, -0.65).lineTo(-0.68, 0.017).lineTo(-0.342, 0.657).lineTo(0.336, 0.661).close().workplane(... | 14 | 544 | 1.445777 |
train_4ea1a709f73b12b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.191, 0.993, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.306, 2.197).lineTo(0.744, 1.598).lineTo(0.973, 0.976).lineTo(0.529, 0.471).lineTo(-0.139, 0.178).lineTo(-0.618, 0.726).lineTo(-0.973, 1.404).lineTo(-0.469, 2.032).lineTo(0.306, 2.... | 3 | 68 | 4.681358 |
train_a3e90483b64827f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.684, 0.661).threePointArc((0.723, 0.645), (0.739, 0.606)).lineTo(0.739, -0.626).threePointArc((0.728, -0.651), (0.704, -0.661)).lineTo(-0.681, -0.661).threePointArc((-0.721, -0.645), (-0.73... | 6 | 24 | 0.41574 |
train_a2aca69ae1cc1bbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.051, -0.178, -0.033), normal=(0.972, -0.003, -0.236), xDir=(0.003, 1, 0))).moveTo(-0.749, 0.341).threePointArc((0.749, 0.749), (0.341, -0.749)).lineTo(-0.068, -0.477).threePointArc((-0.273, -0.273), (-0.341, 0.068)).lineTo(-0.749, 0.341).close()... | 13 | 277 | 1.663954 |
train_d49dfe4a0b80d946 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.011, -0.137, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.58, 0.432).threePointArc((1.011, 0), (0.58, -0.432)).lineTo(-0.58, -0.432).threePointArc((-1.011, 0), (-0.58, 0.432)).lineTo(0.58, 0.432).close().extrude(0.182, both=True)
result ... | 10 | 76 | 0.348431 |
train_b768b575f3cd2b33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.26, -0.559), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.885, 0.325).threePointArc((0.965, 0.292), (1, 0.212)).lineTo(1, -0.179).threePointArc((0.956, -0.283), (0.853, -0.325)).lineTo(-0.883, -0.325).threePointArc((-0.964, -0.291), (-1, -0.20... | 10 | 113 | 1.183429 |
train_8411505838eeba23 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.358, 0, -0.112), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.234, 0).lineTo(0.234, 0.225).lineTo(0.149, 0.225).lineTo(0.149, 0.16).lineTo(0.641, 0.16).lineTo(0.641, 0).lineTo(0.234, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axis... | 8 | 156 | 0.239825 |
train_71dc29caa1fdc77c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.332, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.25).lineTo(1, -0.246).lineTo(0.983, -0.256).lineTo(-1, -0.256).lineTo(-1, 0.249).lineTo(-0.986, 0.249).lineTo(-0.986, 0.256).lineTo(0.987, 0.256).threePointArc((0.992, 0.253), (1, 0... | 12 | 99 | 0.287225 |
train_60facb60dbe34a51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.152, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.055, 1.146).threePointArc((0.054, 1.14), (0.144, 1.072)).threePointArc((0.2, 0.973), (0.231, 0.884)).threePointArc((0.27, 0.824), (0.333, 0.776)).threePointArc((0.409, 0.714), (0.459... | 2 | 36 | 1.357296 |
train_cda8d06f0c088fca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.532), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.063)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.532), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.433), (-0.377, 0.78), (-0.778, 0.973), (-... | 4 | 59 | 2.945482 |
train_1e238d8e7b897c92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.552, -0.549, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.448, 0.334).threePointArc((0, -0.114), (-0.448, 0.334)).threePointArc((0, 0.782), (0.448, 0.334)).close().extrude(0.745)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.032... | 14 | 12 | 0.722505 |
train_a37c4452c7ec3235 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.074, 0.297, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.592, 0.699).lineTo(0.741, -0.544).threePointArc((-0.592, -0.699), (-0.592, -0.544)).threePointArc((-0.741, 0.544), (-0.592, 0.699)).close().extrude(0.318)
result = result.cut(cq.W... | 10 | 10 | 0.093638 |
train_66d310e5cbefb8ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.21, 0, -0.173), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.79, 0.5).lineTo(0.79, 0).lineTo(-0.79, 0).lineTo(-0.79, 0.5).lineTo(-0.555, 0.5).lineTo(-0.555, 0.235).lineTo(0.555, 0.235).lineTo(0.555, 0.5).lineTo(0.79, 0.5).close().extrude(0.365, ... | 7 | 38 | 0.432143 |
train_a59135d256249890 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.685), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.264, 1.37).lineTo(0.264, 0.264).lineTo(2, 0.264).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.37).lineTo(0.264, 1.37).close().extrude(0.571, both=True)
result = result.cut(cq.Workplane(cq.Plane... | 4 | 14 | 1.175612 |
train_6744d82775f48644 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.718, 0.232).lineTo(0.92, 0.116).lineTo(1, 0.081).lineTo(1, 0).lineTo(0.881, 0).lineTo(0.881, 0.07).lineTo(0.781, 0.116).lineTo(0, 0.113).lineTo(0, 0.232).lineTo(0.718, 0.232).close().revo... | 3 | 13 | 0.324341 |
train_4585c4f53d57bf04 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.059, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.642, 0.847).threePointArc((0.757, 0.799), (0.805, 0.684)).threePointArc((0.833, 0.52), (0.758, 0.371)).lineTo(0.714, 0.059).lineTo(0.905, -0.254).lineTo(0.805, -0.567).threePointArc((0.75... | 9 | 73 | 4.347952 |
train_f2d273613c22bb4d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.075, -0.349), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.415).lineTo(1, -0.415).lineTo(-1, -0.415).lineTo(-1, 0.415).lineTo(1, 0.415).close().extrude(0.428, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.075, 0.079)... | 12 | 105 | 1.370921 |
train_0ca3bd04b616f5c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.213).lineTo(0, 0.178).threePointArc((0.046, 0.157), (0.153, 0.148)).lineTo(0.328, 0.148).threePointArc((0.449, 0.138), (0.5, 0.114)).lineTo(0.5, 0.081).threePointArc((0.548, 0.059)... | 3 | 40 | 0.069021 |
train_072c38c4b698693f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, -0.426, -0.425), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.151, 0.275).threePointArc((-0.08, 0.278), (0.012, 0.219)).threePointArc((0.101, 0.114), (0.163, -0.009)).threePointArc((0.182, -0.117), (0.151, -0.182)).threePointArc((0.08, -0.... | 6 | 128 | 1.327671 |
train_746581e28f0e8a31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.467).lineTo(0.333, -0.233).lineTo(1, -0.233).lineTo(1, -0.467).lineTo(-0.333, -0.467).lineTo(-0.333, 0).lineTo(-1, 0).lineTo(-1, 0.467).lineTo(0.333, 0.467).close().extrude(0.677)
r... | 5 | 16 | 0.666747 |
train_0a99d85c6b9fc60e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.163, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.05, 0.837).threePointArc((0.133, 0.803), (0.168, 0.72)).lineTo(0.168, 0.32).threePointArc((0.213, 0.213), (0.32, 0.168)).lineTo(0.785, 0.168).threePointArc((0.821, 0.152), (0.837, 0.11... | 13 | 244 | 0.423788 |
train_f3b665e66997e7b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.828, -0.673, 0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.938, -0.131).lineTo(-0.654, 0.704).lineTo(0.142, 0.991).lineTo(0.85, 0.513).lineTo(0.938, -0.369).lineTo(0.339, -0.991).lineTo(-0.496, -0.885).close().moveTo(-0.106, 0.127).lineT... | 9 | 12 | 0.927035 |
train_40ea61d9affbd03b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.067, -0.569, -0.678), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.429).lineTo(0.05, 0.25).threePointArc((0.048, 0.204), (0.072, 0.164)).lineTo(0.225, 0.007).threePointArc((0.253, -0.01), (0.286, -0.01)).lineTo(0.521, 0.05).threePointArc((0... | 7 | 86 | 0.869496 |
train_4a391d2acd69eec0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.497), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.331, 1).lineTo(0.331, 0.6).lineTo(0.994, 0.6).lineTo(0.994, -0.2).lineTo(0.331, -0.2).lineTo(0.331, -1).lineTo(-0.331, -1).lineTo(-0.331, -0.2).lineTo(-0.994, -0.2).lineTo(-0.994, 1).lineT... | 13 | 197 | 2.120208 |
train_b07bec971f5effc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.323, -0.02, -0.001), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.357, 0.319).lineTo(0.642, 0.24).threePointArc((0.67, 0.216), (0.675, 0.18)).lineTo(0.542, -0.302).threePointArc((0.531, -0.316), (0.513, -0.319)).lineTo(0.449, -0.301).threePointA... | 12 | 301 | 0.239228 |
train_393d12d60b6eb433 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.007, -0.743), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.682, 0.784).lineTo(0.733, -0.784).threePointArc((0.598, -0.991), (0.327, -0.888)).lineTo(0.282, -0.126).lineTo(0.121, -0.687).lineTo(-0.733, 0.196).lineTo(0.264, 0.446).lineTo(0.253, 0... | 21 | 33 | 1.821229 |
train_d4902fe45ba4cf41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.459, -0.329, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.916).threePointArc((0.647, 0.647), (0.916, 0)).lineTo(0.424, 0).threePointArc((0.3, 0.3), (0, 0.424)).lineTo(0, 0.916).close().extrude(2)
result = result.union(cq.Workplane(cq.Pla... | 5 | 24 | 1.106821 |
train_1912d28f0bf7eb53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.158, 0.986).threePointArc((0.276, 0.961), (0.391, 0.925)).threePointArc((0.501, 0.878), (0.603, 0.816)).threePointArc((0.689, 0.733), (0.756, 0.633)).threePointArc((0.801, 0.522), (0.827, ... | 4 | 67 | 0.68776 |
train_2ea6180e30fa34e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.031, -0.236, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.251).lineTo(1, -0.289).lineTo(1.085, -0.289).lineTo(1.085, -0.347).lineTo(-1.051, -0.347).lineTo(-1.051, -0.253).lineTo(-1, -0.253).lineTo(-1, 0.267).lineTo(-1.063, 0.267).line... | 19 | 127 | 0.398307 |
train_b121768a04efc0c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.559, -0.107, 0.297), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.703, 1.019).threePointArc((-0.363, 1.089), (0.19, 0.847)).threePointArc((0.632, 0.437), (0.703, 0.097)).threePointArc((0.363, 0.027), (-0.19, 0.269)).threePointArc((-0.632, 0.68)... | 12 | 18 | 0.94324 |
train_6ea7e09b7cc14b7d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.137, 0.209, -0.455), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.331, 0.969).threePointArc((-0.235, 0.928), (-0.194, 0.833)).lineTo(-0.194, 0.649).threePointArc((-0.174, 0.602), (-0.128, 0.582)).lineTo(0.337, 0.582).threePointArc((0.509, 0.509... | 21 | 246 | 0.45158 |
train_5c6f71e0ecaad66e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, -0.157, -0.927), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.516, 1.853).lineTo(0.516, 0.516).lineTo(2, 0.516).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.853).lineTo(0.516, 1.853).close().extrude(0.737, both=True)
result = result.union(cq.Workplan... | 4 | 44 | 2.134474 |
train_ea5d304722abfc95 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.495, -0.495, -0.755), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.504, 0.091).lineTo(0.504, 0.06).lineTo(0.372, 0.06).lineTo(0.372, -0.06).lineTo(0.504, -0.06).lineTo(0.504, -0.091).lineTo(0.341, -0.091).lineTo(0.341, 0.091).lineTo(0.504, 0.09... | 10 | 144 | 0.957242 |
train_65e608eb91c105cd | 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.106, 1).threePointArc((0.206, 0.949), (0.249, 0.848)).lineTo(0.249, 0.623).threePointArc((0.286, 0.535), (0.374, 0.498)).lineTo(0.618, 0.498).threePointArc((0.709, 0.46), (0.747, 0.369)).l... | 12 | 127 | 1.154585 |
train_353117ae102c538f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.882, 0.876).threePointArc((0.965, 0.841), (1, 0.758)).lineTo(1, -0.577).threePointArc((0.911, -0.787), (0.701, -0.876)).lineTo(-0.798, -0.876).threePointArc((-0.94, -0.816), (-1, -0.674)).lineTo(-1, 0.798).threePointArc((-0.977, 0.853), (-0.922, 0.8... | 3 | 30 | 0.394685 |
train_a77a2a552814cb9c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.946, 0.324).lineTo(0.946, -0.324).lineTo(-0.946, -0.324).lineTo(-0.946, 0.324).lineTo(-0.416, 0.324).lineTo(-0.416, -0.028).lineTo(0.416, -0.028).lineTo(0.416, 0.324).lineTo(0.946, 0.324).... | 5 | 53 | 0.694099 |
train_37019ffc0bec3b7c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.124, -0.042, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.516, 0.702).lineTo(0.737, 0.481).lineTo(-0.441, -0.702).lineTo(-0.663, -0.481).lineTo(-0.737, -0.407).lineTo(-0.663, -0.333).lineTo(-0.516, -0.332).lineTo(-0.589, -0.26).lineTo(-0... | 21 | 468 | 0.562883 |
train_a0091cb830966a42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.294, 0.417).lineTo(0.294, 0).lineTo(-0.294, 0).lineTo(-0.294, 0.417).lineTo(-0.169, 0.417).lineTo(-0.169, 0.125).lineTo(0.169, 0.125).lineTo(0.169, 0.417).lineTo(0.294, 0.417).close().ext... | 6 | 45 | 0.215883 |
train_251dee1c59d5344b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.382, 1).threePointArc((0.465, 0.965), (0.5, 0.882)).lineTo(0.5, 0.64).threePointArc((0.542, 0.542), (0.64, 0.5)).lineTo(0.816, 0.5).threePointArc((0.945, 0.445), (1, 0.316)).lineTo(1, 0.08... | 8 | 94 | 0.922137 |
train_2b7cb3f86ac088e5 | 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.323, 1).threePointArc((-0.237, 0.963), (-0.2, 0.877)).lineTo(-0.2, 0.715).threePointArc((-0.166, 0.634), (-0.085, 0.6)).lineTo(0.412, 0.6).threePointArc((0.544, 0.544), (0.6, 0.412)).line... | 9 | 602 | 0.426489 |
train_674eb477d9d671ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.01, 0.034, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.059, 0.111).lineTo(-0.021, 0.091).threePointArc((0.071, -0.003), (0.087, -0.057)).lineTo(0.103, -0.111).lineTo(0.065, -0.091).threePointArc((-0.049, -0.032), (-0.103, 0.042)).lineTo(-0.... | 13 | 96 | 0.024345 |
train_44b75142e374865e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.725), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.243, 1.449).lineTo(0.243, 0.675).lineTo(1, 0.675).lineTo(1, 0.424).lineTo(0.887, 0.424).lineTo(0.887, 0).lineTo(0, 0).lineTo(0, 1.449).lineTo(0.243, 1.449).close().revolve(angleDegrees=36... | 4 | 16 | 1.851905 |
train_cc2ceccc16a3a882 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.087, -0.251, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.659, 0.137).threePointArc((0.426, 0.706), (0.582, -0.207)).lineTo(0.58, -0.632).threePointArc((0.506, -0.706), (0.186, -0.656)).lineTo(0.174, -0.137).threePointArc((0.176, -0.128... | 13 | 116 | 0.427878 |
train_5cb79d7964549f54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.114, 0.017, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0.763).threePointArc((0.817, 0.603), (0.766, 0.381)).threePointArc((0.785, 0.178), (0.886, 0)).threePointArc((0.8, -0.182), (0.832, -0.381)).lineTo(0.656, -0.763).threePointAr... | 4 | 101 | 2.729549 |
train_86f825744c1ef01f | 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.414).extrude(1.375)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.306).extrude(1.036))
result = result.cut(cq.Workplane(cq.Plan... | 8 | 29 | 0.515367 |
train_93aad726a45f5bcd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.573, 0.265, 0.219), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.21, 0.869).lineTo(0.261, 0.721).threePointArc((0.25, 0.648), (0.258, 0.574)).threePointArc((0.284, 0.502), (0.282, 0.426)).threePointArc((0.267, 0.343), (0.21, 0.279)).threePointAr... | 10 | 199 | 0.11615 |
train_d01080335cac70ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.117, 0.551).threePointArc((0.355, 0.49), (0.455, 0.346)).lineTo(0.455, 0.043).threePointArc((0.477, 0.013), (0.527, 0)).lineTo(0.745, 0).threePointArc((0.861, -0.03), (0.91, -0.1)).lineTo(... | 19 | 330 | 1.34799 |
train_9e3fee6d9bbfd725 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.274, 0.471, -0.067), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.116, 0.266).threePointArc((0.183, 0.239), (0.21, 0.172)).lineTo(0.21, 0.061).threePointArc((0.183, -0.006), (0.116, -0.034)).lineTo(-0.116, -0.034).threePointArc((-0.183, -0.006),... | 4 | 77 | 0.54626 |
train_35c236d5a1fadc7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.917, -0.836, -0.578), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.835).threePointArc((1.296, 1.296), (1.835, 0)).lineTo(1.18, 0).threePointArc((0.833, 0.833), (0, 1.18)).lineTo(0, 1.835).close().extrude(1.156)
result = result.union(cq.Workpl... | 3 | 15 | 2.108499 |
train_eb3552a8d717f094 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.428).extrude(1.897, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.939).extrude(1, both=True))
result = result.cut(cq.Workplane('XY').circle(0.633).extrude(5.696, both=True))
resu... | 6 | 23 | 3.001894 |
train_27f9550aa84de40c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.053, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.803, 0.22).threePointArc((1.004, 0), (0.803, -0.22)).lineTo(0, -0.22).lineTo(-0.803, -0.22).threePointArc((-1.004, 0), (-0.803, 0.22)).lineTo(0, 0.22).lineTo(0.803, 0.22).close().extru... | 18 | 118 | 0.063777 |
train_9d82c9b61cf3af9e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.08, 0, -0.328), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.708, 0.943).threePointArc((0.856, 0.888), (0.919, 0.758)).lineTo(0.919, 0.285).threePointArc((0.868, 0.18), (0.749, 0.135)).lineTo(-0.525, 0.135).threePointArc((-0.587, 0.112), (-0.613,... | 23 | 423 | 1.103205 |
train_57e5782803008e85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0.024, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.042, 0.76).lineTo(0.329, 0.664).threePointArc((0.411, 0.615), (0.46, 0.533)).lineTo(0.546, 0.276).threePointArc((0.547, 0.222), (0.508, 0.184)).lineTo(0.289, 0.074).threePointArc((... | 3 | 22 | 2.176428 |
train_015d18aec89b4d60 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.072, 0.249, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.371, 0.278).lineTo(0.873, -0.228).lineTo(0.803, -0.302).threePointArc((0.783, -0.312), (0.764, -0.302)).lineTo(0.652, -0.19).threePointArc((0.64, -0.184), (0.628, -0.19)).lineTo(0... | 7 | 39 | 3.169709 |
train_af20b9726e22e2a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.163, -0.014, -0.254), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.632, 0.53).lineTo(0.632, 0).lineTo(-0.632, 0).lineTo(-0.632, 0.53).lineTo(-0.522, 0.53).lineTo(-0.522, 0.11).lineTo(0.522, 0.11).lineTo(0.522, 0.53).lineTo(0.632, 0.53).close().... | 11 | 94 | 0.185954 |
train_3251cb6d01c028a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.524, -0.377, -0.644), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.471, 0.936).lineTo(0.471, -0.183).threePointArc((-0.471, 0.378), (0.471, 0.936)).close().extrude(1.285)
result = result.faces('>Z').shell(-0.039)
result = result.union(cq.Workpla... | 4 | 29 | 0.231146 |
train_5ae905b679631f1b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.574, 1).threePointArc((0.714, 0.935), (0.771, 0.798)).lineTo(0.771, -0.525).threePointArc((0.632, -0.853), (0.3, -1)).lineTo(-0.347, -1).threePointArc((-0.647, -0.868), (-0.771, -0.571)).l... | 11 | 101 | 0.59177 |
train_be1a9de94558f0cd | 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.83, 0.174).threePointArc((0.949, 0.124), (1, 0.003)).lineTo(1, -0.004).threePointArc((0.949, -0.124), (0.83, -0.174)).lineTo(-0.83, -0.174).lineTo(-1, -0.003).lineTo(-1, 0.174).lineTo(0.83... | 7 | 27 | 0.317257 |
train_8c7a71afa6b67c6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.204, -0.9, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.437, 0.768).threePointArc((0.073, 0.783), (0.563, 0.643)).threePointArc((0.902, 0.385), (1, 0.078)).threePointArc((0.83, -0.195), (0.437, -0.361)).threePointArc((-0.073, -0.375), (-0.5... | 10 | 139 | 2.535997 |
train_bb6328ba9c3accf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.371, 0.096, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.053, 0.253).lineTo(0.072, 0.184).lineTo(0.072, 0.095).lineTo(0.099, 0).lineTo(0.196, 0).lineTo(0.215, -0.07).lineTo(0.215, -0.197).lineTo(0.2, -0.253).lineTo(-0.195, -0.253).lineT... | 16 | 110 | 0.513595 |
train_c4213ea5585ab8d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.288, 0, -2.222), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.632).extrude(1.918)
result = result.union(cq.Workplane(cq.Plane(origin=(-1.288, 0, -0.879), normal=(0.774, 0, 0.633), xDir=(0.633, 0, -0.774))).circle(0.534).extrude(2.314))
result = ... | 7 | 24 | 0.787255 |
train_f3bf7067f2050c5d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.025, 0.101).lineTo(0.056, 0.087).lineTo(0.081, 0.064).lineTo(0.098, 0.034).lineTo(0.104, 0).lineTo(0.098, -0.034).lineTo(0.081, -0.064).lineTo(0.056, -0.087).lineTo(0.025, -0.101).lineTo(-0.009, -0.104).lineTo(-0.042, -0.094).lineTo(-0.071, -0.076).... | 5 | 25 | 0.095449 |
train_0b2d24184d0dc748 | 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.404, 0.667).lineTo(-0.404, -0.337).lineTo(0.734, -0.337).lineTo(0.734, -0.667).lineTo(-0.734, -0.667).lineTo(-0.734, 0.667).lineTo(-0.404, 0.667).close().extrude(2)
result = result.cut(cq.Wor... | 8 | 14 | 1.592691 |
train_0a926af84650ee85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.54), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.152).threePointArc((0.094, 0.139), (0.114, 0.108)).lineTo(0.114, -0.109).threePointArc((0.095, -0.139), (0.05, -0.152)).lineTo(-0.041, -0.152).threePointArc((-0.092, -0.137), (-0.114... | 11 | 204 | 0.292361 |
train_3d53f75383705e32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.504, 1).lineTo(0.504, -0.642).lineTo(0.15, -0.642).lineTo(0.15, -1).lineTo(-0.504, -1).lineTo(-0.504, 0.503).threePointArc((-0.359, 0.847), (-0.01, 1)).lineTo(0.504, 1).close().extrude(0.1... | 14 | 48 | 0.815562 |
train_89a7f6d244eed43e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.243, 0, -0.431), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.256).extrude(0.718)
result = result.union(cq.Workplane(cq.Plane(origin=(0.243, 0, -0.819), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.281, 0.473).lineTo(0.281, 0.075).lineTo(0.452, 0... | 10 | 73 | 0.751888 |
train_894d0fd49aed808a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.109, -0.37), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.621).lineTo(1, -0.621).lineTo(-0.847, -0.621).threePointArc((-0.95, -0.577), (-1, -0.476)).lineTo(-1, 0.531).threePointArc((-0.966, 0.595), (-0.903, 0.621)).lineTo(1, 0.621).close().... | 7 | 103 | 1.282257 |
train_bb1f4796b19a5b2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.649, 0.351).threePointArc((0.889, 0.25), (0.991, 0.007)).lineTo(0.991, -0.007).threePointArc((0.889, -0.25), (0.649, -0.351)).lineTo(-0.649, -0.351).threePointArc((-0.889, -0.25), (-0.991,... | 13 | 56 | 0.794964 |
train_d2703dd5822edcfe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.545, -0.463, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.089).threePointArc((0.772, 0.772), (1.089, 0)).lineTo(0.638, 0).threePointArc((0.45, 0.45), (0, 0.638)).lineTo(0, 1.089).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 8 | 69 | 1.07545 |
train_4c52992a4364581f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.459, 0.895).threePointArc((-0.371, 0.855), (-0.333, 0.761)).lineTo(-0.333, 0.422).threePointArc((-0.266, 0.251), (-0.108, 0.179)).lineTo(0.945, 0.179).threePointArc((0.982, 0.163), (1, 0.... | 10 | 66 | 1.034284 |
train_d630a57bb4d60709 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.235, 0.985, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.069, 2.26).lineTo(1.025, 1.304).lineTo(0.069, 0.21).lineTo(-1.025, 1.166).lineTo(-0.069, 2.26).close().extrude(1.173)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.332, 2.482, -... | 11 | 42 | 2.485284 |
train_5cedf2b1d7251fd7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.057, 0.557, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.277).threePointArc((0.198, 0.198), (0.277, 0)).threePointArc((0.198, -0.198), (0, -0.277)).threePointArc((-0.198, -0.198), (-0.277, 0)).threePointArc((-0.198, 0.198), (0, 0.277... | 3 | 11 | 0.111967 |
train_7682db8049a77cc2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.961, 1, 0.005), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.32, 1.845).lineTo(0.754, 1.617).lineTo(0.869, 0.526).lineTo(-0.134, 0.078).lineTo(-0.869, 0.894).lineTo(-0.32, 1.845).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(orig... | 3 | 77 | 4.073935 |
train_91eea3941878f103 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.745).threePointArc((0.607, 0.558), (0.405, 0.372)).lineTo(0.805, 0).threePointArc((0.607, -0.558), (0.405, -0.372)).lineTo(0, -0.745).threePointArc((-0.607, -0.558), (-0.405, -0.372)).lineTo(-0.805, 0).threePointArc((-0.607, 0.558), (-0.405, 0.37... | 2 | 28 | 0.663975 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.