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_99b733c7451889ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, -0.65, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.066, -0.658).threePointArc((-0.986, 0.263), (0.197, 0.658)).lineTo(0.986, 0.658).lineTo(0.986, 0.526).lineTo(0.197, 0.526).threePointArc((-0.461, 0.658), (-0.724, 0)).threePointArc((-0... | 5 | 36 | 0.068875 |
train_c5461db4f08625d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.037, -0.119, 0.277), normal=(0.071, 0.228, 0.971), xDir=(0, -0.974, 0.229))).moveTo(-0.036, 0.094).lineTo(0.078, 0.038).threePointArc((0.107, 0.011), (0.08, -0.018)).lineTo(-0.045, -0.091).threePointArc((-0.088, -0.099), (-0.104, -0.055)).lineT... | 13 | 157 | 0.12749 |
train_1c34dd032f6595c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 0.8).threePointArc((0.173, 0.773), (0.2, 0.709)).lineTo(0.2, 0.477).threePointArc((0.223, 0.423), (0.277, 0.4)).lineTo(0.771, 0.4).threePointArc((0.932, 0.332), (1, 0.171)).lineTo(1, -... | 17 | 555 | 0.713549 |
train_11414ebbcd442bc7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.248, -0.24, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.303, 0.524).threePointArc((0.303, 0.524), (0.605, 0)).threePointArc((0.303, -0.524), (-0.303, -0.524)).threePointArc((-0.605, 0), (-0.303, 0.524)).close().sweep(cq.Workplane(cq.Plane(... | 15 | 83 | 0.818144 |
train_d4f0bd858a2fefb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.581, 0.051, -0.457), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.169, 0.857).threePointArc((0.384, 0.768), (0.472, 0.553)).lineTo(0.472, 0.246).threePointArc((0.384, 0.032), (0.169, -0.057)).lineTo(-0.169, -0.057).threePointArc((-0.384, 0.032),... | 13 | 77 | 1.370062 |
train_3de92f0d22b2f74e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.085, -0.195, 0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.964, -0.268).lineTo(-0.45, -0.805).threePointArc((-0.964, 0.671), (0.964, -0.268)).close().moveTo(0.193, 0.805).lineTo(0.578, -0.134).threePointArc((-0.578, 0.402), (0.193, 0.805))... | 14 | 174 | 0.508829 |
train_a5563fdeb590a5a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.002, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.762, 0.889).threePointArc((-0.718, 0.877), (-0.7, 0.846)).lineTo(-0.7, -0.411).threePointArc((-0.586, -0.601), (-0.315, -0.681)).lineTo(0.96, -0.681).threePointArc((0.987, -0.689)... | 5 | 119 | 0.436476 |
train_04d324a43723d552 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.335).lineTo(1, -0.209).lineTo(0.875, -0.335).lineTo(-0.899, -0.335).lineTo(-0.899, -0.233).lineTo(-1, -0.233).lineTo(-1, 0.276).threePointArc((-0.983, 0.317), (-0.94, 0.335)).lineTo(1, ... | 7 | 31 | 0.260613 |
train_e8de8dfccaf10ad4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.595), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.281, 0.436).lineTo(0.37, 0.345).lineTo(0.37, -0.271).lineTo(0.205, -0.436).lineTo(-0.279, -0.436).lineTo(-0.37, -0.344).lineTo(-0.37, 0.374).lineTo(-0.309, 0.436).lineTo(0.281, 0.436).clos... | 9 | 94 | 0.689129 |
train_cd276d9528faa8e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.017, -0.337, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.578, 0.228).lineTo(0.578, -0.228).threePointArc((0, -0.391), (-0.578, -0.228)).lineTo(-0.578, 0.228).threePointArc((0, 0.391), (0.578, 0.228)).close().moveTo(-0.052, 0.042).threePointA... | 10 | 286 | 1.109724 |
train_c99afa882d6fa271 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.261, 0.593, -0.265), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.022, 0.186).threePointArc((0.023, 0.157), (0.047, 0.108)).threePointArc((0.062, 0.071), (0.091, 0.053)).threePointArc((0.14, 0.031), (0.18, -0.013)).threePointArc((0.178, -0.066)... | 7 | 184 | 0.463371 |
train_5ac35c4da5a6217b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.352), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.758, 0.881).lineTo(0.758, -0.37).threePointArc((0.608, -0.732), (0.247, -0.881)).lineTo(-0.268, -0.881).threePointArc((-0.615, -0.738), (-0.758, -0.392)).lineTo(-0.758, 0.545).threePointAr... | 15 | 249 | 1.865144 |
train_f4afea826563341b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.296, -0.028, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.604, -0.408).threePointArc((-0.677, -0.355), (-0.673, -0.219)).threePointArc((0.677, 0.952), (0.494, -0.952)).threePointArc((-0.084, -0.897), (-0.604, -0.408)).close().extrude(0.738,... | 18 | 262 | 4.020115 |
train_f81a2ba1d0822908 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.831, 2).extrude(0.292)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.088, 0.129).lineTo(0.088, 0.129).lineTo(-0.088, -0.129).c... | 15 | 60 | 0.358177 |
train_aba6e2113a3d91a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.169, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.168).threePointArc((0.829, 0.14), (1, 0)).threePointArc((0.829, -0.14), (0, -0.168)).threePointArc((-0.829, -0.14), (-1, 0)).threePointArc((-0.829, 0.14), (0, 0.168)).close().extru... | 12 | 168 | 0.52484 |
train_f1d4424a5a077e28 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.504, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.195).extrude(1.239)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.504, 0, -0.133), normal=(0.735, 0, 0.678), xDir=(0.678, 0, -0.735))).circle(0.203).extrude(1.45))
result = r... | 8 | 24 | 0.122756 |
train_f5932c572588bf06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.016, 1, 0.071), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.361, 0.769).threePointArc((0.361, 0.769), (0.722, 0.143)).threePointArc((0.361, -0.482), (-0.361, -0.482)).threePointArc((-0.722, 0.143), (-0.361, 0.769)).close().extrude(1.156)
resu... | 17 | 211 | 2.053243 |
train_2506736d09096af1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.942, 0.218).lineTo(0.911, 0.207).lineTo(1, 0.077).lineTo(1, 0).lineTo(0.854, 0).lineTo(0.854, 0.066).lineTo(0.76, 0.207).lineTo(0, 0.081).lineTo(0, 0.218).lineTo(0.942, 0.218).close().rev... | 8 | 76 | 0.243049 |
train_98c5170e2e6c7416 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.379, 0.282, -0.211), normal=(-0.798, 0.599, -0.07), xDir=(-0.6, -0.8, 0))).moveTo(0.129, 0.312).lineTo(0.129, 0.127).lineTo(0.173, 0.144).threePointArc((0.195, 0.131), (0.218, 0.141)).threePointArc((0.242, 0.141), (0.262, 0.127)).lineTo(0.262, ... | 11 | 193 | 0.368776 |
train_3207639f74bee2dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, -0.59, -0.487), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.465, 0.033).threePointArc((0.455, -0.037), (0.45, -0.11)).threePointArc((0.442, -0.19), (0.42, -0.272)).threePointArc((0.377, -0.349), (0.312, -0.409)).threePointArc((0.23, -0.444... | 21 | 805 | 1.269603 |
train_82864546284a35bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, -0.006, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.064).lineTo(0.111, -0.013).threePointArc((-0.111, -0.064), (0.111, 0.064)).close().moveTo(0.056, 0.013).lineTo(0.042, -0.038).threePointArc((-0.056, 0.038), (0.056, 0.013)).clos... | 5 | 15 | 0.073188 |
train_671e1b8eb5945919 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.246, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.073, 0.222).lineTo(0.073, 0.111).lineTo(0.218, 0.111).lineTo(0.218, 0).lineTo(-0.073, 0).lineTo(-0.073, -0.222).lineTo(-0.218, -0.222).lineTo(-0.218, 0.222).lineTo(0.073, 0.222).close().ex... | 7 | 81 | 0.19525 |
train_e13e7b645b200af9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.27, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.55, 0.729).threePointArc((0.615, 0.702), (0.642, 0.636)).lineTo(0.642, -0.729).lineTo(-0.575, -0.729).threePointArc((-0.621, -0.708), (-0.642, -0.66)).lineTo(-0.642, 0.675).threePointA... | 11 | 82 | 0.605166 |
train_0052e13c7322fcd6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.051, -0.068, -0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.285, 0.53).threePointArc((0.693, 0.204), (0.204, -0.204)).threePointArc((0.204, -0.285), (0.122, -0.367)).threePointArc((-0.041, -0.53), (-0.285, -0.53)).threePointArc((-0.367, -0... | 6 | 34 | 1.435304 |
train_d9e7643754c86033 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.01, -0.001, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.272, 0.865).threePointArc((0.705, 0.585), (0.977, -0.281)).threePointArc((0.272, -0.865), (-0.705, -0.585)).threePointArc((-0.977, 0.281), (-0.272, 0.865)).close().extrude(0.419)
r... | 7 | 11 | 1.167233 |
train_9c19bec76a96971a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.018, 0.266, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.143, 1.693).threePointArc((0.469, 1.615), (0.805, 1.186)).threePointArc((0.67, 0.657), (0.143, 0.339)).threePointArc((-0.469, 0.417), (-0.805, 0.845)).threePointArc((-0.67, 1.374), (-... | 4 | 18 | 0.965709 |
train_6414f813b6b3f78a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, 0.381).threePointArc((0.951, 0.366), (1, 0.332)).lineTo(1, 0.228).threePointArc((0.949, 0.191), (0.846, 0.175)).lineTo(-0.278, 0.175).threePointArc((-0.385, 0.158), (-0.431, 0.11... | 7 | 33 | 0.263065 |
train_6627d010526f845f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.221, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.051, 0.426).threePointArc((-0.012, 0.391), (0.017, 0.373)).lineTo(0.061, 0.354).lineTo(0.114, 0.337).threePointArc((0.16, 0.354), (0.161, 0.33)).threePointArc((0.121, 0.282), (0.12, ... | 5 | 34 | 0.157337 |
train_d7f6c5b0be0d9ed9 | 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.273, 2).lineTo(0.273, 0.26).lineTo(0.963, 0.26).lineTo(0.963, 0).lineTo(0.261, 0).lineTo(0.261, 2).lineTo(0.273, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
r... | 7 | 128 | 1.254352 |
train_172d93d1ec9400f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.144, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.124, 0.144).threePointArc((0, 0.02), (-0.124, 0.144)).threePointArc((0, 0.268), (0.124, 0.144)).close().extrude(2)
final_result = result
| 1 | 3 | 0.09661 |
train_a1fd2b593d1ab51e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.292, -0.619), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.857, -0.602).lineTo(0.851, -0.62).lineTo(0.843, -0.639).lineTo(0.832, -0.655).lineTo(0.818, -0.671).lineTo(0.802, -0.683).lineTo(0.783, -0.694).lineTo(0.763, -0.701).lineTo(0.742, -0.... | 14 | 181 | 1.543628 |
train_cf5a8ce91542271f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.194, -0.354, -0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.562, 0.34).lineTo(0.263, -0.34).threePointArc((-0.562, 0.16), (0.562, 0.34)).close().extrude(0.527, taper=6.215, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.1... | 13 | 140 | 0.823258 |
train_799cb234cd097b57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.5, 0.867).lineTo(0.867, 0.5).lineTo(1, 0).lineTo(0.867, -0.5).lineTo(0.5, -0.867).lineTo(0, -1).lineTo(-0.5, -0.867).lineTo(-0.867, -0.5).lineTo(-1, 0).lineTo(-0.867, 0.5).lin... | 6 | 20 | 0.636429 |
train_514fdd814db7c25d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.042, 0, 0.028), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.957, 0.188).lineTo(0.886, 0).lineTo(0.957, -0.188).lineTo(0.443, -0.188).lineTo(0.443, 0.188).lineTo(0.957, 0.188).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1... | 12 | 63 | 0.595904 |
train_e940f7057aa3fc15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.076, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.373, 0.923).lineTo(0.562, 0.734).lineTo(0.562, -0.712).lineTo(0.35, -0.712).lineTo(0.35, -0.923).lineTo(-0.369, -0.923).threePointArc((-0.506, -0.866), (-0.562, -0.729)).lineTo(-0.562... | 7 | 83 | 1.152523 |
train_8c065134c82a9c0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.057, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.089).lineTo(1, 0.054).lineTo(-0.615, 0.054).lineTo(-0.615, -0.054).lineTo(1, -0.054).lineTo(1, -0.089).lineTo(-1, -0.089).lineTo(-1, 0.089).lineTo(1, 0.089).close().extrude(0.134)
r... | 25 | 207 | 0.608379 |
train_10c1df647a9836ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.201, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.585, 0.417).lineTo(0.662, 0.285).lineTo(0.653, 0.132).lineTo(0.701, 0.115).lineTo(0.722, -0.343).lineTo(0.794, -0.362).lineTo(0.794, -0.605).lineTo(0.88, -0.625).lineTo(0.88, -0.797).... | 3 | 43 | 4.966397 |
train_134e8fef05b63fe9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 0.498).threePointArc((0.466, 0.466), (0.498, 0.389)).lineTo(0.498, 0.162).threePointArc((0.546, 0.048), (0.66, 0)).lineTo(0.854, 0).threePointArc((0.951, -0.041), (1, -0.137)).lineTo(... | 4 | 30 | 0.45551 |
train_98aa4b39e9495e29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.703), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.639, 0.802).lineTo(1.025, 0).lineTo(0.639, -0.802).lineTo(-0.228, -1).lineTo(-0.923, -0.444).lineTo(-0.923, 0.444).lineTo(-0.228, 1).close().extrude(1.405)
result = ... | 5 | 33 | 1.862099 |
train_b23437d08d2c3e5d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.007, 0.033).lineTo(0.022, 0.027).lineTo(0.034, 0).lineTo(0.022, -0.027).lineTo(-0.007, -0.033).lineTo(-0.031, -0.015).lineTo(-0.031, 0.015).lineTo(-0.007, 0.033).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, ... | 5 | 17 | 0.009035 |
train_231700ea12a92ce1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.825, -0.654, -0.74), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.653).threePointArc((1.169, 1.169), (1.653, 0)).lineTo(0.554, 0).threePointArc((0.392, 0.392), (0, 0.554)).lineTo(0, 1.653).close().extrude(1.48)
result = result.union(cq.Workpl... | 5 | 21 | 3.288845 |
train_7f29fc71e019aee0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.803, 0.772).lineTo(0.803, 0.324).lineTo(0.223, 0.324).lineTo(0.223, -0.772).lineTo(-0.223, -0.772).lineTo(-0.223, 0.324).lineTo(-0.803, 0.324).lineTo(-0.803, 0.772).lineTo(0.803, 0.772).cl... | 9 | 112 | 1.208492 |
train_3b91462216aa57eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.023, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.088).lineTo(0.891, 0).lineTo(1, -0.088).lineTo(0.403, -0.088).lineTo(0.403, 0.088).lineTo(1, 0.088).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = re... | 15 | 98 | 0.24221 |
train_7e80d772d3fca272 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.824), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.264, 0.393).threePointArc((-0.094, 0.431), (0.101, 0.353)).threePointArc((0.269, 0.181), (0.365, -0.04)).threePointArc((0.363, -0.25), (0.264, -0.393)).threePointArc((0.094, -0.431), (-0.... | 10 | 417 | 0.559086 |
train_1924e24c213c139c | 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.194).lineTo(0.197, 0.004).lineTo(0.095, -0.194).lineTo(-0.103, -0.189).lineTo(-0.197, -0.006).lineTo(-0.098, 0.191).lineTo(0.094, 0.194).close().extrude(2)
result = result.edges().chamf... | 2 | 38 | 0.224335 |
train_62b7bd014bf25fbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0.102, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.076, 0.187).threePointArc((0.133, 0.197), (0.186, 0.169)).lineTo(-0.176, -0.196).threePointArc((-0.179, -0.197), (-0.18, -0.195)).lineTo(-0.186, -0.173).threePointArc((-0.137, -0.028),... | 4 | 72 | 0.112303 |
train_3362adeadd4f0904 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.216, -1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.445, 0.679).lineTo(0.349, 0.339).threePointArc((0.492, 0.118), (0.728, 0)).threePointArc((0.635, -0.166), (0.556, -0.339)).lineTo(0.445, -0.679).threePointArc((-0.728, 0), (0.445, 0.679))... | 4 | 26 | 2.935924 |
train_72dc16caf24e2b15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.199, 0.055, 0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.796, 0).threePointArc((0, -0.796), (-0.796, 0)).threePointArc((0, 0.796), (0.796, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.199, 0.055, 0.119), normal=(0, -1, 0), xDir=(1, 0... | 10 | 139 | 0.135374 |
train_270b7a8cb28fbe1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.645).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.645).lineTo(-0.597, 0.645).lineTo(-0.597, 0.398).lineTo(0.597, 0.398).lineTo(0.597, 0.645).lineTo(1, 0.645).close().extrude(0.199, both=Tru... | 9 | 53 | 0.346383 |
train_a1bd10740180d7c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.184), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.655, 0.271).lineTo(0.912, 0.218).lineTo(1, 0.095).lineTo(1, 0).lineTo(0.792, 0).lineTo(0.792, 0.082).lineTo(0.693, 0.218).lineTo(0, 0.068).lineTo(0, 0.271).lineTo(0.655, 0.271).close().re... | 6 | 40 | 0.277934 |
train_698c0efd88dbb107 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.023, -0.027, -0.524), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.519, 0.675).threePointArc((0.571, 0.636), (1.025, 0.045)).threePointArc((1.01, -0.014), (0.611, -0.643)).threePointArc((0.23, -0.675), (0.133, -0.643)).threePointArc((-0.223, -0.... | 5 | 56 | 1.570109 |
train_7032f10f6b334304 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.103, 0, 0.107), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.69, 0.033).lineTo(0.768, 0.012).lineTo(0.875, -0.009).lineTo(0.892, -0.015).lineTo(0.896, -0.022).lineTo(0.885, -0.03).lineTo(0.862, -0.033).lineTo(0.807, -0.026).lineTo(0.749, -0.003)... | 8 | 186 | 0.342205 |
train_aea478d6fbf7026a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.399, 0.514).lineTo(-0.399, -0.246).lineTo(0.667, -0.246).lineTo(0.667, -0.514).lineTo(-0.667, -0.514).lineTo(-0.667, 0.514).lineTo(-0.399, 0.514).close().extrude(1, taper=3.795, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.... | 7 | 38 | 0.754501 |
train_552435a25c7e7dd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.838, 0.479).lineTo(0.92, 0.328).lineTo(1, 0.167).lineTo(1, 0).lineTo(0.796, 0).lineTo(0.796, 0.144).lineTo(0.695, 0.328).lineTo(0, 0.275).lineTo(0, 0.479).lineTo(0.838, 0.479).close().revo... | 10 | 51 | 0.627849 |
train_2bd7743502e14fe4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.308, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.436, 0.933).threePointArc((0.617, 0.858), (0.691, 0.679)).lineTo(0.691, -0.741).lineTo(0.499, -0.741).lineTo(0.499, -0.933).lineTo(-0.439, -0.933).threePointArc((-0.618, -0.859), (-0.... | 9 | 26 | 0.769982 |
train_233c34fedf3e9242 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.16, -0.344, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.056, 0.222).lineTo(0.044, 0.214).lineTo(0.107, 0.144).lineTo(0.1, 0.044).lineTo(0.007, -0.002).lineTo(-0.076, 0.046).lineTo(-0.107, 0.134).lineTo(-0.056, 0.222).close().extrude(1... | 7 | 86 | 0.128282 |
train_2754de8386d408eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.044, -0.675, -0.076), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.207, 0.302).lineTo(0.244, 0.236).lineTo(0.261, 0.169).threePointArc((0.259, 0.135), (0.253, 0.102)).threePointArc((0.258, 0.065), (0.233, 0.036)).lineTo(0.207, -0.031).threePointA... | 5 | 87 | 0.506666 |
train_5f0324f9e368110a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.199, 1).lineTo(0.199, 0.199).lineTo(0.597, 0.199).lineTo(0.597, -1).lineTo(0.199, -1).lineTo(0.199, -0.597).lineTo(-0.199, -0.597).lineTo(-0.199, -1).lineTo(-0.597, -1).lineTo(-0.597, -0.199).lineTo(-0.199, -0.199).lineTo(-0.199, 1).lineTo(0.199, 1)... | 8 | 71 | 1.561909 |
train_1b9389ad929329bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.712, -0.318).lineTo(0.341, -0.7).lineTo(0.356, -0.739).lineTo(0.362, -0.78).lineTo(0.359, -0.822).lineTo(0.347, -0.861).lineTo(0.326, -0.897).lineTo(0.298, -0.926).lineTo(0.265, -0.947... | 12 | 337 | 0.886971 |
train_ea9a44799eb28ad2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.801, 1).threePointArc((0.909, 0.949), (0.955, 0.849)).lineTo(0.955, -0.552).threePointArc((0.813, -0.86), (0.478, -1)).lineTo(-0.449, -1).threePointArc((-0.804, -0.852), (-0.955, -0.526)).... | 8 | 52 | 0.751473 |
train_3f30e0a36448200d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.22).lineTo(1, 0.102).threePointArc((0.975, 0.087), (0.915, 0.081)).lineTo(-0.211, 0.081).threePointArc((-0.325, 0.069), (-0.373, 0.04)).lineTo(-0.373, -0.047).threePointArc((-0.332, -0.071), (-0.236, -0.081)).lineTo(0.915, -0.081).threePointArc((... | 8 | 46 | 0.476086 |
train_2186ad9aff6dca01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.073, -0.003, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.023, 0.594).lineTo(0.077, 0.515).lineTo(0.305, 0.357).lineTo(0.35, 0.291).lineTo(0.312, 0.225).lineTo(0.048, 0.026).lineTo(0.047, -0.647).lineTo(-0.047, -0.647).lineTo(-0.048, 0.... | 6 | 51 | 0.349288 |
train_249813fb9d1c64f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.581, 0.442).lineTo(0.581, 0.308).lineTo(1, 0.308).lineTo(1, 0).lineTo(0.374, 0).lineTo(0.374, 0.442).lineTo(0.581, 0.442).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 5 | 10 | 0.887139 |
train_34bc81abe56bec09 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.156, -0.428, 0.027), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.154, -0.152).lineTo(0.129, -0.173).threePointArc((-0.154, 0.173), (0.154, -0.152)).close().extrude(0.347)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.158, -0.58, 0.341)... | 12 | 71 | 0.826376 |
train_4d5fe6455a912a15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.08, 0, 0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.161, 0.94).threePointArc((-0.048, 0.899), (0, 0.805)).lineTo(0, 0.335).threePointArc((0.051, 0.232), (0.17, 0.189)).lineTo(0.37, 0.189).threePointArc((0.419, 0.171), (0.439, 0.13)).line... | 10 | 123 | 1.576187 |
train_cadee03c07644f4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.401, -0.177, 0.223), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.299, 0.143).lineTo(0.372, 0.092).lineTo(0.384, 0.104).threePointArc((0.453, 0.097), (0.434, 0.013)).threePointArc((0.47, -0.004), (0.447, -0.039)).lineTo(0.458, -0.136).threePoint... | 18 | 393 | 0.496975 |
train_4f3720982c679986 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.975, -0.884, 0.033), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.421, 1.93).threePointArc((0.763, 1.445), (0.659, 0.684)).threePointArc((0.169, 0.094), (-0.421, 0.02)).threePointArc((-0.763, 0.505), (-0.659, 1.265)).threePointArc((-0.169, 1.855... | 9 | 537 | 3.196441 |
train_dccfc315df4da669 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.849, 0.445, -0.137), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.462, 0.703).lineTo(0.453, 0.637).lineTo(0.694, 0.572).lineTo(0.672, 0.498).lineTo(0.434, 0.574).lineTo(0.407, 0.513).lineTo(0.62, 0.383).lineTo(0.578, 0.318).lineTo(0.371, 0.458).... | 4 | 389 | 2.200503 |
train_750b95a38f616615 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.39, 0.333).lineTo(0.39, -0.333).lineTo(-0.39, -0.333).lineTo(-0.39, 0.333).lineTo(-0.168, 0.333).lineTo(-0.168, -0.111).lineTo(0.168, -0.111).lineTo(0.168, 0.333).lineTo(0.39, 0.333).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.... | 19 | 260 | 0.72647 |
train_f8b9790682132083 | 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.456).extrude(0.875)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.456, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.061, 0.228), (-0.228, 0.395), (-0.456, 0.456), (... | 6 | 79 | 0.910704 |
train_3e1bc1d612b509b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.373, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.395, 2).lineTo(0.395, 0.395).lineTo(0.746, 0.395).lineTo(0.746, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.395, 2).close().extrude(0.99, both=True)
result = result.cut(cq.Workplane(cq.Plane(o... | 4 | 30 | 1.463638 |
train_83ab34ce6b69ef9b | 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.481, -0.934).lineTo(0.479, -0.946).lineTo(0.477, -0.957).lineTo(0.473, -0.968).lineTo(0.469, -0.977).lineTo(0.464, -0.985).lineTo(0.458, -0.991).lineTo(0.452, -0.996).lineTo(0.446, -0.999).... | 14 | 159 | 1.115312 |
train_97f5758c29ee9a88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, 0.269).lineTo(0.943, -0.269).threePointArc((-0.061, 0.232), (0.944, 0.269)).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).... | 4 | 81 | 1.388313 |
train_35bc567830afc27b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.759, -0.951, -0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.071, 1.833).threePointArc((0.25, 1.701), (0.425, 1.612)).threePointArc((0.644, 1.547), (0.872, 1.421)).threePointArc((0.997, 1.198), (0.945, 0.943)).threePointArc((0.77, 0.743), ... | 4 | 231 | 1.221099 |
train_ac7213549a92e6a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.579, 0.982).threePointArc((0.837, 0.925), (0.947, 0.791)).lineTo(0.947, -0.591).threePointArc((0.723, -0.866), (0.192, -0.982)).lineTo(-0.24, -0.982).threePointArc((-0.737, -0.873), (-0.947... | 2 | 63 | 3.946829 |
train_afdd49d1e431c3bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-3.883, 6.403, -1.659), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-5.969, 3.431).threePointArc((5.969, 6.329), (-2.099, -6.329)).lineTo(-5.969, 3.431).close().extrude(2.658)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.025, 6.772, -0.33), n... | 20 | 8 | 0.707854 |
train_733016ad099342ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.426, 0.086, -0.208), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.384, 0.036).lineTo(0.339, -0.087).lineTo(0.406, -0.127).lineTo(0.3, -0.253).lineTo(0.249, -0.194).lineTo(0.136, -0.26).lineTo(0.162, -0.333).lineTo(-0.001, -0.362).lineTo(-0.002,... | 5 | 221 | 0.494443 |
train_e8ff1f4303761fb9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.812, 2).extrude(0.173)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.301, -0.105).lineTo(0.301, -0.395).lineTo(-0.301, -0.395)... | 9 | 22 | 0.160143 |
train_840e4fff73898dc8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0.069, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.521, 0.322).lineTo(0.96, 0.39).threePointArc((0.988, 0.252), (1.007, 0.113)).threePointArc((1.01, 0.013), (1.002, -0.086)).lineTo(0.979, -0.255).lineTo(0.901, -0.374).lineTo(0.758,... | 15 | 114 | 1.033098 |
train_ad58ad31926e006d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.562), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.682, 1.124).lineTo(0.682, 0.449).lineTo(1, 0.449).lineTo(1, 0).lineTo(0.473, 0).lineTo(0.473, 1.124).lineTo(0.682, 1.124).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 5 | 44 | 1.190301 |
train_0992872c63517bda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.299, -0.226, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.598).threePointArc((0.423, 0.423), (0.598, 0)).lineTo(0.15, 0).threePointArc((0.106, 0.106), (0, 0.15)).lineTo(0, 0.598).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 7 | 57 | 0.336424 |
train_a018991d7b5d47a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.074, 0, 0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.173, 0.617).threePointArc((0.268, 0.577), (0.309, 0.482)).lineTo(0.309, 0.06).threePointArc((0.327, 0.018), (0.369, 0)).lineTo(0.5, 0).threePointArc((0.583, -0.035), (0.617, -0.118)).l... | 18 | 108 | 1.393216 |
train_8810a1c927c79994 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.192, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.21, 0.437).threePointArc((0.246, 0.374), (0.244, 0.284)).threePointArc((0.205, 0.179), (0.135, 0.077)).threePointArc((0.045, -0.009), (-0.053, -0.063)).threePointArc((-0.142, -0.078), (-0... | 5 | 42 | 0.329001 |
train_fae610519bd2e783 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 1).threePointArc((0.567, 0.901), (0.667, 0.665)).lineTo(0.667, -0.071).threePointArc((0.589, -0.255), (0.404, -0.333)).lineTo(0.209, -0.333).threePointArc((0.062, -0.395), (0, -0.542)... | 11 | 38 | 1.510322 |
train_54e15982258d07bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.491, 0.064, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.425).threePointArc((0.253, 0.321), (0.357, 0.069)).threePointArc((0.253, -0.184), (0, -0.289)).threePointArc((-0.253, -0.184), (-0.357, 0.069)).threePointArc((-0.253, 0.321), (0... | 7 | 128 | 0.912737 |
train_82a10e8d4443e324 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.371), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, 0.212).lineTo(1, 0.058).lineTo(1, -0.134).lineTo(0.922, -0.212).lineTo(-0.926, -0.212).lineTo(-1, -0.138).lineTo(-1, 0.049).lineTo(-0.837, 0.212).lineTo(0.845, 0.212).close().extrude(... | 9 | 19 | 0.55487 |
train_667dfb2f49472902 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.085, 0.219, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.188, 0.599).threePointArc((0.413, 0.506), (0.507, 0.281)).lineTo(0.507, -0.599).lineTo(-0.134, -0.599).lineTo(-0.507, -0.227).lineTo(-0.507, 0.599).lineTo(0.188, 0.599).close().ext... | 9 | 126 | 0.220199 |
train_d717e0463dca07f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.052, -0.125, -0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.157, 0.875).lineTo(0.517, 0.72).threePointArc((0.637, 0.346), (0.775, 0.422)).lineTo(0.879, 0.04).threePointArc((0.665, -0.287), (0.809, -0.35)).lineTo(0.579, -0.67).threePointAr... | 4 | 33 | 0.416787 |
train_87819e1c2c05dc3a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.012, -0.204, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.841, 0.054).lineTo(0.8, 0.029).lineTo(0.76, 0.003).lineTo(0.719, -0.022).lineTo(0.679, -0.047).lineTo(0.638, -0.072).lineTo(0.597, -0.098).lineTo(0.556, -0.123).lineTo(0.515, -0.1... | 7 | 592 | 0.517579 |
train_22f0fc2c90ab1706 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.137, 0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.312, 0.99).threePointArc((0.441, 0.936), (0.495, 0.807)).lineTo(0.495, 0.657).threePointArc((0.543, 0.543), (0.657, 0.495)).lineTo(0.813, 0.495).threePointArc((0.938, 0.443), (0.99, 0.3... | 5 | 93 | 1.386369 |
train_018cd857b93e5f6b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.748, -0.085).lineTo(0.991, -0.138).lineTo(0.973, -0.232).lineTo(0.729, -0.187).lineTo(0.703, -0.268).lineTo(0.926, -0.38).lineTo(0.885, -0.467).lineTo(0.659, -0.362).lineTo(0.615, -0.... | 5 | 112 | 0.605567 |
train_03d779786ad4a884 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, 0.032, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.094).threePointArc((0.104, 0.106), (0.104, -0.035)).lineTo(0.075, -0.035).threePointArc((0.104, -0.082), (0.045, -0.106)).lineTo(-0.075, -0.059).threePointArc((-0.104, -0.035), (-0... | 4 | 81 | 0.044906 |
train_9556fb8511eaedc6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.71, 0.479).threePointArc((0.914, 0.394), (1, 0.189)).lineTo(1, -0.189).threePointArc((0.914, -0.394), (0.71, -0.479)).lineTo(0.227, -0.479).threePointArc((0.021, -0.394), (-0.064, -0.189))... | 2 | 83 | 0.493345 |
train_7e017d357237bdf5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.421).lineTo(1, -0.156).lineTo(0.732, -0.156).lineTo(0.732, -0.421).lineTo(-0.647, -0.421).threePointArc((-0.889, -0.319), (-1, -0.073)).lineTo(-1, 0.073).lineTo(-0.647, 0.421).lineTo(1, ... | 8 | 49 | 0.380758 |
train_d94678023726ecf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.021, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.506, 1.958, 1.232)
result = result.edges().fillet(0.086)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.021, -0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.234).extrude(3.01... | 14 | 105 | 1.985435 |
train_5f3ed37b3eb17851 | 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.438, 0.995).threePointArc((0.79, 0.89), (0.939, 0.641)).lineTo(0.939, -0.744).threePointArc((0.833, -0.921), (0.583, -0.995)).lineTo(-0.328, -0.995).threePointArc((-0.757, -0.867), (-0.939... | 12 | 253 | 0.66807 |
train_6e37b3bcbdb561f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.056, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.614, 0.265).lineTo(-0.614, -0.094).threePointArc((-0.531, -0.149), (-0.333, -0.173)).lineTo(0.937, -0.173).threePointArc((0.976, -0.177), (1, -0.188)).lineTo(1, -0.259).threePointArc((... | 3 | 66 | 0.112643 |
train_b535dc1fc71fda62 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.491, 0.664).threePointArc((-0.379, 0.616), (-0.332, 0.505)).lineTo(-0.332, 0.137).threePointArc((-0.291, 0.041), (-0.194, 0)).lineTo(0.87, 0).threePointArc((0.956, -0.036), (1, -0.121)).li... | 4 | 53 | 0.652763 |
train_3d4219a7f3fee2d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.272, 1).lineTo(0.272, -1).lineTo(-0.025, -1).lineTo(-0.272, -0.93).lineTo(-0.272, -0.867).lineTo(-0.025, -0.747).lineTo(-0.272, -0.685).lineTo(-0.272, -0.622).lineTo(-0.025, -0.498).lineTo(... | 9 | 194 | 0.823734 |
train_31414816d245d970 | 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.801, 0.507).lineTo(0.801, -0.507).lineTo(-0.573, -0.507).threePointArc((-0.735, -0.44), (-0.801, -0.279)).lineTo(-0.801, 0.095).lineTo(-0.39, 0.507).lineTo(0.801, 0.507).close().extrude(0.667)... | 10 | 45 | 0.992759 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.