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_73697bee7fc0c289 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.737, -0.069).lineTo(0.992, -0.115).lineTo(0.979, -0.194).lineTo(0.724, -0.154).lineTo(0.707, -0.221).lineTo(0.946, -0.319).lineTo(0.918, -0.395).lineTo(0.677, -0.302).lineTo(0.645, -0... | 11 | 322 | 1.081659 |
train_938823f9cb0ab215 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.358, 0.221).workplane(offset=2).rect(0.593, 0.191).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.025, 0.525, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.261, 0.454).l... | 8 | 42 | 0.144437 |
train_5c490db79a8e22f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.772, -0.089).lineTo(0.99, -0.136).lineTo(0.978, -0.209).lineTo(0.758, -0.173).lineTo(0.733, -0.258).lineTo(0.936, -0.354).lineTo(0.907, -0.422).lineTo(0.701, -0.337).lineTo(0.657, -0.415).... | 2 | 122 | 0.583482 |
train_45559ffc6b45b654 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.406, -0.321, 0.594), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.025, 0.448).lineTo(0.343, 0.275).lineTo(0.406, -0.082).lineTo(0.167, -0.353).lineTo(-0.195, -0.335).lineTo(-0.406, -0.041).lineTo(-0.308, 0.307).lineTo(0.025, 0.448).close().extru... | 6 | 54 | 0.72385 |
train_4bb94e8b1238d9b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.197, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, 0.179).threePointArc((0.731, 0.179), (0.937, 0)).lineTo(0.937, -0.415).lineTo(-0.06, -0.415).lineTo(-0.06, 0).threePointArc((-0.02, 0), (-0.06, 0.179)).threePointArc((-0.06, 0.415), ... | 4 | 115 | 2.068604 |
train_8b472bdaa08b6c81 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.755), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.189, 0.667).threePointArc((0.29, 0.624), (0.333, 0.522)).lineTo(0.333, 0.242).threePointArc((0.405, 0.072), (0.575, 0)).lineTo(0.929, 0).threePointArc((0.979, -0.021), (1, -0.071)).lineTo(... | 10 | 119 | 1.14636 |
train_82d2a40e5423d8ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.525, 0, 0.03), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.272, 0.549).threePointArc((0.412, 0.491), (0.471, 0.349)).lineTo(0.471, -0.349).threePointArc((0.412, -0.491), (0.272, -0.549)).lineTo(-0.272, -0.549).threePointArc((-0.412, -0.491), (... | 8 | 202 | 0.136123 |
train_6d5c3d4ebb71227f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.486, 0.896).lineTo(-0.486, -0.567).lineTo(0.971, -0.567).lineTo(0.971, -0.896).lineTo(-0.971, -0.896).lineTo(-0.971, 0.896).lineTo(-0.486, 0.896).close().extrude(0.161, taper=-10.066)
res... | 24 | 216 | 0.237851 |
train_944e2d5e868d3996 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.001), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.697, 0.561).lineTo(0.952, 0.324).threePointArc((0.959, 0.317), (0.963, 0.309)).lineTo(0.989, 0.247).threePointArc((1, 0.236), (0.984, 0.226)).lineTo(0.943, 0.192).threePointArc((0.933, 0.... | 2 | 75 | 1.506598 |
train_ed6dcfa363c924d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.84, 0.564).lineTo(1, 0.405).lineTo(1, -0.355).lineTo(0.789, -0.355).lineTo(0.789, -0.564).lineTo(-1, -0.564).lineTo(-1, 0.564).lineTo(0.84, 0.564).close().extrude(0.233)
result = result.un... | 7 | 16 | 0.439576 |
train_9c5ad71c4018f74b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.069, -0.407), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.241, 0.175).threePointArc((0.314, 0.145), (0.343, 0.073)).lineTo(0.343, -0.175).lineTo(-0.172, -0.175).lineTo(-0.343, -0.004).lineTo(-0.343, 0.004).lineTo(-0.172, 0.175).lineTo(0.241, ... | 13 | 83 | 0.520727 |
train_991536388c16bc3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.306, 0, -0.187), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.68, 0.441).lineTo(0.68, 0).lineTo(-0.68, 0).lineTo(-0.68, 0.441).lineTo(-0.593, 0.441).lineTo(-0.593, 0.087).lineTo(0.593, 0.087).lineTo(0.593, 0.441).lineTo(0.68, 0.441).close().ext... | 7 | 67 | 0.1219 |
train_de77cd96628b47da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.644, -0.34, -0.596), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.323, 0.355).threePointArc((0.346, 0.343), (0.356, 0.314)).lineTo(0.356, -0.181).threePointArc((0.315, -0.303), (0.216, -0.355)).lineTo(-0.023, -0.355).threePointArc((-0.057, -0.33... | 14 | 179 | 0.756023 |
train_49ac23cdff0fdf8f | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.282).lineTo(0.72, 0).lineTo(1, -0.282).lineTo(0.258, -0.282).lineTo(0.258, 0.282).lineTo(1, 0.282).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.547, 0, 0), normal=(0... | 5 | 31 | 0.612373 |
train_4540f9e71dac7a4c | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(0.572, 0.365).threePointArc((0.701, 0.342), (0.833, 0.309)).threePointArc((0.867, 0.247), (0.95, 0.226)).lineTo(0.999, -0.099).threePointArc((0.952, -0.219), (0.811, -0.247)).lineTo(0.631, -0.365).threePointArc((0.504, -0.335), (0.348, -0.328)).threeP... | 1 | 23 | 1.239659 |
train_e46b5296b03679f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.08, 0.039, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, 0.584).lineTo(0.919, 0.316).threePointArc((0.917, 0.308), (0.909, 0.305)).lineTo(0.695, 0.293).threePointArc((0.683, 0.288), (0.679, 0.275)).lineTo(0.693, 0.03).threePointArc(... | 23 | 487 | 0.999795 |
train_3c0ecfbfc28eed41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.737).lineTo(1, -0.739).threePointArc((0.99, -0.748), (0.981, -0.75)).lineTo(-0.973, -0.75).threePointArc((-0.986, -0.745), (-1, -0.732)).lineTo(-1, 0.741).threePointArc((-0.99, 0.748), ... | 13 | 178 | 0.599968 |
train_1acabad333c46cde | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.883, 0.24).lineTo(0.883, 0.124).lineTo(1, 0.124).lineTo(1, -0.1).threePointArc((0.958, -0.199), (0.859, -0.24)).lineTo(-0.922, -0.24).threePointArc((-0.976, -0.217), (-1, -0.162)).lineTo(-... | 13 | 129 | 0.400793 |
train_a6208232148339ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.09, 0.008, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.508, 0.282).threePointArc((0.282, 0.96), (0.508, -0.056)).threePointArc((0.169, -0.96), (-0.508, -0.847)).threePointArc((-0.508, -0.734), (-0.395, -0.621)).threePointArc((-0.282, ... | 11 | 15 | 0.746892 |
train_0448bc6c9fffe3ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.492, -0.358, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.981).threePointArc((0.696, 0.696), (0.981, 0)).lineTo(0.487, 0).threePointArc((0.344, 0.344), (0, 0.487)).lineTo(0, 0.981).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 34 | 1.319046 |
train_be056ac18a3ad6c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.031), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.001, 0.799).lineTo(1.001, -0.799).lineTo(-1.001, -0.799).lineTo(-1.001, -0.266).lineTo(0.715, -0.266).lineTo(0.715, 0.266).lineTo(-1.001, 0.266).lineTo(-1.001, 0.799).lineTo(1.001, 0.799).c... | 10 | 192 | 1.792536 |
train_55fda36684f3509b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.315, 0, -0.171), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.284, 0).threePointArc((0, -0.284), (-0.284, 0)).threePointArc((0, 0.284), (0.284, 0)).close().moveTo(-0.021, 0.188).lineTo(0.012, 0.141).lineTo(0.068, 0.128).lineTo(0.02, 0.096).lineT... | 10 | 155 | 0.386331 |
train_dfa806445fd7a647 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.653), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.989, 0.684).lineTo(0.452, -0.684).lineTo(-0.452, -0.684).lineTo(-0.989, 0.684).lineTo(0.989, 0.684).close().extrude(1.574)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.831, -... | 11 | 121 | 2.338618 |
train_c9c7c5ab014a697f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.897, 0.925).lineTo(0.897, 0.823).lineTo(1, 0.823).lineTo(1, -0.825).lineTo(0.9, -0.825).lineTo(0.9, -0.925).lineTo(-1, -0.925).lineTo(-1, 0.815).lineTo(-0.89, 0.815).lineTo(-0.89, 0.925).l... | 15 | 257 | 0.577993 |
train_c020240ec94d1fd5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.645, 0.426, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.177, 0.307).threePointArc((0.177, 0.307), (0.355, 0)).threePointArc((0.177, -0.307), (-0.177, -0.307)).threePointArc((-0.355, 0), (-0.177, 0.307)).close().sweep(cq.Workplane(cq.Pl... | 13 | 59 | 0.062343 |
train_2068c1cd5485cffa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.03, 0.328, -0.798), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.048, 0.1).threePointArc((-0.034, 0.094), (-0.028, 0.082)).lineTo(-0.028, 0.069).threePointArc((-0.022, 0.055), (-0.007, 0.05)).lineTo(0.007, 0.05).threePointArc((0.022, 0.044), (0.... | 17 | 153 | 0.085576 |
train_141f17e8c68e27aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.046, -0.194, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.24, 0.557).threePointArc((0.278, 0.54), (0.294, 0.497)).lineTo(0.294, 0.377).threePointArc((0.306, 0.347), (0.332, 0.334)).lineTo(0.443, 0.334).threePointArc((0.476, 0.319), (0.49, 0.2... | 10 | 153 | 0.714354 |
train_b056f38140516e94 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.387, -0.379, -0.905), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.122, 0.545).lineTo(0.351, 0.493).threePointArc((0.436, 0.378), (0.45, 0.47)).lineTo(0.526, 0.452).lineTo(0.526, -0.545).lineTo(0.287, -0.442).lineTo(-0.377, -0.545).lineTo(-0.33,... | 8 | 67 | 2.228574 |
train_1a12a98ab95a43a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.017, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.716, 0.58).workplane(offset=2).rect(0.841, 0.848).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.244, -0.393, 0.48), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.321, 1.411).three... | 9 | 54 | 0.803077 |
train_89fcdcdc7e018110 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.711, 0.387).threePointArc((0.915, 0.303), (1, 0.099)).lineTo(1, -0.088).threePointArc((0.911, -0.299), (0.7, -0.387)).lineTo(-0.658, -0.387).threePointArc((-0.898, -0.287), (-1, -0.045)).l... | 11 | 70 | 0.298139 |
train_746f9f804f8f2983 | 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(1, 0.084).lineTo(1, -0.011).lineTo(0.926, -0.084).lineTo(-1, -0.084).lineTo(-1, 0.026).threePointArc((-0.983, 0.066), (-0.941, 0.084)).lineTo(1, 0.084).close().extrude(0.041)
result = result.... | 7 | 33 | 0.169044 |
train_b6c0b0cab9fbfc8e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.121, -0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.987, 0.626).lineTo(-0.708, 0.269).lineTo(-0.141, 0.447).lineTo(0.283, 0.269).threePointArc((0.708, 0.269), (0.845, -0.09)).lineTo(1.129, -0.447).lineTo(0.708, -0.269).lineTo(0.566, -... | 1 | 19 | 0.212174 |
train_d0382a41c92d1d47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.667, 0.5).lineTo(0.667, 0.167).lineTo(1, 0.167).lineTo(1, -0.5).lineTo(-1, -0.5).lineTo(-1, -0.167).lineTo(-0.333, -0.167).lineTo(-0.333, 0.167).lineTo(0, 0.167).lineTo(0, 0.5).lineTo(0.667... | 19 | 10 | 1.493706 |
train_2621b9095da3ccea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.007, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.686, 0.338).lineTo(0.675, 0.169).lineTo(0.934, 0.237).lineTo(1.001, -0.022).lineTo(0.911, -0.101).lineTo(0.9, -0.27).lineTo(0.641, -0.338).lineTo(0.652, -0.169).lineTo(0.483, -0.158)... | 8 | 86 | 0.683705 |
train_fb754f8762b5b15c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, -0.305, -0.685), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.695).extrude(0.604)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.697, -0.305, -0.685), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.08, 0.323), (-0.3, 0.572),... | 8 | 93 | 0.89088 |
train_1646175e4fef07bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.398, 0.146), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.601, 0.186).lineTo(0.506, -0.186).threePointArc((0.162, -0.091), (0.601, 0.186)).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.union(cq.Work... | 5 | 21 | 0.790691 |
train_00abb2a7451f2ce2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.062, 0.021).threePointArc((0.083, 0.021), (0.062, -0.021)).lineTo(-0.062, -0.021).threePointArc((-0.083, -0.021), (-0.062, 0.021)).lineTo(0.062, 0.021).close().extrude(1, taper=-11.212, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0,... | 6 | 51 | 0.175621 |
train_5bcf020de493d453 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.118), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.46, 0.237).lineTo(0.46, 0).lineTo(-0.46, 0).lineTo(-0.46, 0.237).lineTo(-0.395, 0.237).lineTo(-0.395, 0.065).lineTo(0.395, 0.065).lineTo(0.395, 0.237).lineTo(0.46, 0.237).close().extrude(... | 7 | 65 | 0.134242 |
train_51b87d6378c7d2d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.546)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.999, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.229, 0.641), (-0.819, 0.979), (-1.491, 0... | 10 | 75 | 0.712502 |
train_5da24e6dc30bb644 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.028, 0.088).lineTo(0.075, 0.055).lineTo(0.091, 0).lineTo(0.075, -0.055).lineTo(0.028, -0.088).lineTo(-0.028, -0.088).lineTo(-0.075, -0.055).lineTo(-0.091, 0).lineTo(-0.075, 0.055).lineTo(-0... | 4 | 20 | 0.048951 |
train_61539fb24242cf80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.011, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.622)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.011, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.377, 0.782), (-1.222, 0.975), (-1.901, 0... | 7 | 53 | 1.128855 |
train_5691779188421da0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.158, -0.047, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.191, 0.08).lineTo(0.191, -0.08).lineTo(-0.191, -0.08).lineTo(-0.191, -0.027).lineTo(0.135, -0.027).lineTo(0.135, 0.027).lineTo(-0.191, 0.027).lineTo(-0.191, 0.08).lineTo(0.191, 0.08).c... | 3 | 39 | 0.27197 |
train_7175a99a213534c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, 0.147, 0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.809, -0.116).threePointArc((0.809, 0.645), (-0.68, -0.645)).lineTo(-0.809, -0.116).close().moveTo(-0.328, 0.026).threePointArc((0.697, 0.045), (-0.264, -0.239)).lineTo(-0.328, 0.02... | 15 | 46 | 1.864275 |
train_0eb327b9f87c4709 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.112), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.522, 0).lineTo(0.522, 0.224).lineTo(1, 0.224).lineTo(1, 0.075).lineTo(0.449, 0.075).lineTo(0.449, 0).lineTo(0.522, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 9 | 90 | 0.304592 |
train_19c98421e2de9c0e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.968, 0.314).lineTo(0.968, 0).lineTo(-0.968, 0).lineTo(-0.968, 0.314).lineTo(-0.866, 0.314).lineTo(-0.866, 0.102).lineTo(0.866, 0.102).lineTo(0.866, 0.314).lineTo(0.968, 0.314).close().ext... | 6 | 37 | 0.334588 |
train_ca405337540b8abb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.799, 0.182).workplane(offset=2).rect(0.649, 0.146).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.4, -0.06, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.299, 1.763).lineTo(0... | 8 | 38 | 0.113215 |
train_a22bd1e62bdef671 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.743), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.481, 0.507).threePointArc((0.55, 0.479), (0.577, 0.41)).lineTo(0.577, -0.433).lineTo(0.504, -0.507).lineTo(-0.577, -0.507).lineTo(-0.577, 0.304).threePointArc((-0.519, 0.448), (-0.374, 0.5... | 9 | 43 | 2.23955 |
train_ba9ef096bbabf6f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.031, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.506, 0.283).lineTo(0.309, 0.213).threePointArc((0.344, 0.156), (0.578, 0.139)).lineTo(0.825, -0.028).lineTo(0.907, -0.029).lineTo(0.945, -0.057).lineTo(0.89, -0.081).lineTo(0.81, -0.... | 7 | 104 | 0.198091 |
train_c605e7d0adbbb00d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.123, 1).lineTo(0.123, 0.785).lineTo(0.339, 0.785).lineTo(0.339, -0.774).lineTo(0.111, -0.774).lineTo(0.111, -1).lineTo(-0.054, -1).lineTo(-0.054, -0.716).lineTo(-0.339, -0.716).lineTo(-0.33... | 13 | 152 | 0.398558 |
train_28b9be5d36d21092 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.048, 0.362, 0.986), normal=(0.06, -0.03, -0.998), xDir=(0, 1, -0.03))).moveTo(0, 0.229).lineTo(0, 0).lineTo(0.458, 0).lineTo(0.458, -0.229).lineTo(-0.458, -0.229).lineTo(-0.458, 0).lineTo(-0.229, 0).lineTo(-0.229, 0.229).lineTo(0, 0.229).close()... | 9 | 90 | 0.169742 |
train_c04e1b36cffb90aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.232, 1.835).lineTo(0.497, 0.816).lineTo(1.591, 1.118).lineTo(1.921, -0.149).lineTo(0.827, -0.451).lineTo(1.091, -1.47).lineTo(-0.232, -1.835).lineTo(-0.497, -0.816).lineTo(-1.591, -1.118).l... | 8 | 60 | 0.583799 |
train_f76bf65494aa31ee | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.296).lineTo(1, 0.133).lineTo(-0.429, 0.133).lineTo(-0.429, -0.133).lineTo(1, -0.133).lineTo(1, -0.296).lineTo(-1, -0.296).lineTo(-1, 0.296).lineTo(1, 0.296).close().extrude(0.43, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.121... | 5 | 90 | 0.576845 |
train_e53d8f93534be9fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.329, 0.132, 0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.326, 0.867).lineTo(0.326, 0).lineTo(0.195, 0).lineTo(0.195, -0.434).lineTo(0.326, -0.434).lineTo(0.326, -0.867).lineTo(0.065, -0.867).lineTo(0.065, -0.434).lineTo(-0.065, -0.434).lin... | 14 | 257 | 0.501511 |
train_0d6833499686e265 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.318).lineTo(1, -0.318).lineTo(-1, -0.318).lineTo(-1, 0.318).lineTo(1, 0.318).close().extrude(0.208)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xD... | 2 | 18 | 0.258226 |
train_e7d728e98c1b1d25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.31, 2.473).lineTo(0.31, 0.31).lineTo(1, 0.31).lineTo(1, 0).lineTo(0, 0).lineTo(0, 2.473).lineTo(0.31, 2.473).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
resu... | 6 | 12 | 0.263629 |
train_2191ea0a93ef4dcb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.691, 0.85).lineTo(0.691, 0.539).lineTo(1, 0.539).lineTo(1, -0.607).lineTo(0.758, -0.607).lineTo(0.758, -0.85).lineTo(-0.564, -0.85).lineTo(-0.564, -0.413).lineTo(-1, -0.413).lineTo(-1, 0.4... | 12 | 43 | 0.782485 |
train_7af33673494ad881 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.234, -0.075), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.514, 0.669).lineTo(0.766, 0.571).lineTo(0.284, -0.669).lineTo(0.173, -0.626).lineTo(0.298, -0.29).lineTo(0.23, -0.06).lineTo(0.387, 0.299).lineTo(0.514, 0.669).close().revolve(angleD... | 4 | 27 | 0.844882 |
train_f270873ab71406db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.719, 1).lineTo(0.719, 0.766).lineTo(0.953, 0.766).lineTo(0.953, -0.791).lineTo(0.744, -0.791).lineTo(0.744, -1).lineTo(-0.719, -1).lineTo(-0.719, -0.768).lineTo(-0.953, -0.768).lineTo(-0.9... | 17 | 299 | 1.177115 |
train_32f2729fdee731ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.096, 0.458, 0.337), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.073, 0.48).threePointArc((0.249, 0.486), (0.386, 0.417)).threePointArc((0.465, 0.285), (0.473, 0.11)).threePointArc((0.409, -0.082), (0.283, -0.262)).threePointArc((0.113, -0.401)... | 7 | 56 | 1.171425 |
train_8906c623bd424a74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.225, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.392).extrude(1.381)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.225, 0, -0.033), normal=(0.488, 0, 0.873), xDir=(0.873, 0, -0.488))).circle(0.466).extrude(0.922))
result = ... | 6 | 14 | 0.830083 |
train_a92d5d7b1cdaa2f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.536, 0.59).lineTo(0.536, -0.59).lineTo(-0.295, -0.59).threePointArc((-0.465, -0.52), (-0.536, -0.349)).lineTo(-0.536, 0.59).lineTo(0.536, 0.59).close().extrude(0.544, both=True)
result = r... | 16 | 68 | 1.254182 |
train_02ffbca9b7ab68f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.214, -0.412, 0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.108, 0.292).lineTo(0.129, 0.273).lineTo(0.129, 0.096).lineTo(0.17, 0.058).lineTo(0.23, 0.058).lineTo(0.257, 0.033).lineTo(0.257, -0.158).lineTo(0.11, -0.292).lineTo(-0.05, -0.292)... | 11 | 30 | 0.435397 |
train_51b481e95aad8bda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.07, -0.418, -0.156), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.855, 0.566).lineTo(0.929, 0.509).lineTo(0.703, 0.213).threePointArc((0.738, -0.048), (0.568, -0.27)).lineTo(0.342, -0.566).lineTo(0.12, -0.396).lineTo(0.855, 0.566).close().revolv... | 24 | 61 | 0.586582 |
train_ebdcda31c9d9565c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.408, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.591).lineTo(0.418, 0.418).lineTo(0.591, 0).lineTo(0.418, -0.418).lineTo(0, -0.591).lineTo(-0.418, -0.418).lineTo(-0.591, 0).lineTo(-0.418, 0.418).lineTo(0, 0.591).close().extrude(0.... | 10 | 78 | 0.322144 |
train_6bccb7ef333c975f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.952, 0.595).lineTo(0.952, 0.547).lineTo(1, 0.547).lineTo(1, -0.595).lineTo(-1, -0.595).lineTo(-1, 0.561).lineTo(-0.966, 0.595).lineTo(0.952, 0.595).close().extrude(0.136)
result = result.u... | 10 | 40 | 0.666703 |
train_f71c58f9d91e0bf0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.319, -0.254, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.687).threePointArc((0.485, 0.485), (0.687, 0)).lineTo(0.323, 0).threePointArc((0.229, 0.229), (0, 0.323)).lineTo(0, 0.687).close().extrude(2)
result = result.union(cq.Workplane(cq... | 12 | 94 | 0.499526 |
train_b53754f1681046fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.574), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.858).lineTo(1, -0.858).lineTo(-1, -0.858).lineTo(-1, 0.858).lineTo(-0.363, 0.858).lineTo(-0.363, -0.222).lineTo(0.363, -0.222).lineTo(0.363, 0.858).lineTo(1, 0.858).close().extrude(1.14... | 10 | 12 | 2.359351 |
train_d019ad01f4a67d38 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.087, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, 0.094).lineTo(0.094, -0.031).lineTo(0.156, -0.031).lineTo(0.156, -0.094).lineTo(-0.031, -0.094).lineTo(-0.031, 0.031).lineTo(-0.156, 0.031).lineTo(-0.156, 0.094).lineTo(0.094, 0.... | 10 | 51 | 0.086817 |
train_379eb47f43435f5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.331, 0, 0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.479, 0.995).threePointArc((0.582, 0.926), (0.625, 0.763)).lineTo(0.625, -0.227).threePointArc((0.645, -0.301), (0.691, -0.332)).lineTo(0.881, -0.332).threePointArc((0.994, -0.408), (1.0... | 19 | 438 | 1.717753 |
train_104693c8676fcd4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.326, 0.284).lineTo(0.326, 0).lineTo(-0.326, 0).lineTo(-0.326, 0.284).lineTo(-0.286, 0.284).lineTo(-0.286, 0.039).lineTo(0.286, 0.039).lineTo(0.286, 0.284).lineTo(0.326, 0.284).close().ext... | 3 | 19 | 0.079317 |
train_ec05f4aedafed53d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.623, 0.43).lineTo(0.92, 0.337).lineTo(1, 0.15).lineTo(1, 0).lineTo(0.82, 0).lineTo(0.82, 0.129).lineTo(0.72, 0.337).lineTo(0, 0.25).lineTo(0, 0.43).lineTo(0.623, 0.43).close().revolve(ang... | 8 | 20 | 0.539206 |
train_f8f23f15692e9b06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.466).threePointArc((0.945, 0.419), (1, 0.305)).lineTo(1, -0.286).lineTo(0.814, -0.466).lineTo(-0.851, -0.466).lineTo(-1, -0.326).lineTo(-1, 0.466).lineTo(0.83, 0.466).close().extrude... | 13 | 161 | 0.171547 |
train_748ee7ba0fc9f720 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.925), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.885)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.925), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.235, 0.642), (-0.827, 0.984), (-1.499, 0... | 9 | 98 | 2.229934 |
train_437d2a8ab3c24a49 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.411, 0.835).threePointArc((0.819, 0.67), (1, 0.256)).lineTo(1, -0.017).threePointArc((0.754, -0.6), (0.172, -0.835)).lineTo(-0.199, -0.835).threePointArc((-0.764, -0.607), (-1, -0.043)).li... | 2 | 26 | 0.75778 |
train_ad34d979e7e64679 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.346, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.653).extrude(0.5)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.346, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.449).extrude(1.504, both=True))
result = result.union(c... | 17 | 78 | 0.464115 |
train_b93eddac98cdef68 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.208, 0.312).threePointArc((0.296, 0.294), (0.333, 0.253)).lineTo(0.333, 0.121).threePointArc((0.41, 0.036), (0.592, 0)).lineTo(0.921, 0).threePointArc((0.977, -0.011), (1, -0.037)).lineTo(... | 19 | 1,938 | 0.259054 |
train_8a95d242091e4405 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.774), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.124, 1.542).lineTo(1.124, 1.211).lineTo(1, 1.211).lineTo(1, 0).lineTo(0.714, 0).lineTo(0.714, 1.542).lineTo(1.124, 1.542).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 6 | 41 | 2.22157 |
train_7184806a54f459c3 | 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.058, 0.165).lineTo(0.135, 0.115).threePointArc((0.156, 0.132), (0.176, 0.034)).lineTo(0.17, -0.056).threePointArc((0.196, -0.065), (0.118, -0.131)).lineTo(0.035, -0.171).threePointArc((0.04, -... | 2 | 86 | 0.250237 |
train_7da8cc72cc2faba6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.165, -0.981), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.397, 1.981).lineTo(0.397, 0.347).lineTo(0.643, 0.347).lineTo(0.643, 0).lineTo(0.074, 0).lineTo(0.074, 1.981).lineTo(0.397, 1.981).close().revolve(angleDegrees=360, axisStart=(0, 0, 0... | 11 | 61 | 0.969967 |
train_fd586e276373a94b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.015, 0.019, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.21, 0.463).lineTo(0.483, -0.189).threePointArc((0.309, -0.664), (-0.188, -0.5)).threePointArc((-0.474, 0.19), (-0.483, 0.371)).threePointArc((-0.164, 0.664), (0.21, 0.463)).close().ext... | 8 | 61 | 1.684466 |
train_b17b2bb7abf4674e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.289, -0.44, -0.36), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.308, 0.705).lineTo(0.308, 0.175).threePointArc((-0.308, 0.44), (0.308, 0.705)).close().revolve(angleDegrees=180, axisStart=(0.311, -0.125), axisEnd=(0.311, 0.125))
result = result.... | 3 | 22 | 0.381318 |
train_cc6c992a3398ead2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.181, 0.129, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.818, 0.334).lineTo(0.818, -0.334).lineTo(-0.818, -0.334).lineTo(-0.818, 0.334).lineTo(-0.443, 0.334).lineTo(-0.443, -0.189).lineTo(0.443, -0.189).lineTo(0.443, 0.334).lineTo(0.818,... | 21 | 322 | 1.027083 |
train_247a35630631968b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.609, -0.103, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.372, -0.017).lineTo(0.362, -0.031).lineTo(0.353, -0.048).lineTo(0.346, -0.066).lineTo(0.34, -0.086).lineTo(0.337, -0.107).lineTo(0.336, -0.128).lineTo(0.338, -0.149).lineTo(0.341... | 9 | 380 | 1.570736 |
train_17c2b35063cf83b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.671, 0.507).lineTo(0.912, 0.464).lineTo(1, 0.177).lineTo(1, 0).lineTo(0.871, 0).lineTo(0.871, 0.151).lineTo(0.775, 0.464).lineTo(0, 0.386).lineTo(0, 0.507).lineTo(0.671, 0.507).close().re... | 7 | 37 | 0.389936 |
train_ad915333ece06d35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.037, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.963).extrude(0.602)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.037, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.722).extrude(1.803, both=True))
result = result.u... | 13 | 53 | 1.651744 |
train_938397f6a74946ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.42, 0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.298).threePointArc((0.129, 0.226), (0.149, 0.154)).lineTo(0.148, 0.011).threePointArc((0.142, -0.064), (0.111, -0.133)).threePointArc((-0.149, 0.082), (0.111, 0.298)).close().revo... | 10 | 389 | 0.39424 |
train_cb6e72cbac24c007 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.37, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.629).extrude(0.517, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.37, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.124).extrude(0.982, both=True))
result = result.cu... | 5 | 11 | 0.692062 |
train_f518fedf25010c7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.076, 0.315).lineTo(0.278, 0.113).lineTo(0.278, -0.118).threePointArc((0.221, -0.257), (0.081, -0.315)).lineTo(-0.071, -0.315).lineTo(-0.278, -0.108).lineTo(-0.278, 0.221).lineTo(-0.184, 0.... | 9 | 37 | 0.648709 |
train_5864a1d66dbeada0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.617, 0.447).lineTo(0.912, 0.418).lineTo(1, 0.157).lineTo(1, 0).lineTo(0.777, 0).lineTo(0.777, 0.133).lineTo(0.679, 0.418).lineTo(0, 0.23).lineTo(0, 0.447).lineTo(0.617, 0.447).close().rev... | 5 | 25 | 0.611923 |
train_4a0f1ce4f879e6cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.01, 0.247, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.606, 0.402).lineTo(0.886, -0.076).lineTo(0.854, -0.144).lineTo(0.606, -0.144).lineTo(0.606, -0.293).lineTo(-0.439, -0.402).lineTo(-0.756, -0.293).lineTo(-0.859, -0.043).lineTo(-0.88... | 6 | 102 | 1.400444 |
train_788baf4284341c62 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.172, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.277, 0.147).lineTo(0.277, -0.147).threePointArc((-0.018, 0), (0.277, 0.147)).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0.172, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo... | 5 | 30 | 0.263367 |
train_19ea0d24ed036b25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.356, 0, 0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.568, 0.284).lineTo(0.643, 0.21).lineTo(0.643, -0.284).lineTo(-0.643, -0.284).lineTo(-0.643, 0.21).lineTo(-0.568, 0.284).lineTo(0.568, 0.284).close().extrude(0.16)
result = result.union(... | 13 | 119 | 0.163252 |
train_2611a51530115f65 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.087, 0.595).threePointArc((0.165, 0.575), (0.199, 0.528)).lineTo(0.199, 0.396).threePointArc((0.218, 0.368), (0.264, 0.357)).lineTo(0.529, 0.357).threePointArc((0.577, 0.344), (0.597, 0.31... | 12 | 328 | 1.065374 |
train_b101af78dbaf8e46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.046, 0.053, -0.323), normal=(0.132, -0.354, 0.926), xDir=(0, -0.934, -0.357))).moveTo(0.609, 0.237).lineTo(0.609, 0.04).threePointArc((0.646, 0.012), (0.732, 0)).lineTo(0.863, 0).threePointArc((0.97, -0.015), (1.015, -0.049)).lineTo(1.015, -0.0... | 11 | 164 | 0.493132 |
train_2f139ac3da71408c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.321), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.248, 0.409).lineTo(0.927, -0.069).threePointArc((0.999, -0.14), (0.838, -0.199)).lineTo(-0.338, -0.422).threePointArc((-0.775, -0.149), (-0.999, 0.252)).lineTo(-0.38, 0.413).threePoi... | 9 | 161 | 0.624215 |
train_0e5a812a66a7c7d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.1, 0.099).lineTo(-0.303, 0.033).lineTo(0.409, 0.002).lineTo(0.612, 0.068).lineTo(1.005, 0.05).lineTo(0.497, -0.117).lineTo(0.1, -0.099).lineTo(0.303, -0.033).lineTo(-0.409, -0.002).lineTo... | 5 | 90 | 0.032026 |
train_897bee542da29ba3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.19, -0.375, -0.672), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.157, 0.202).threePointArc((0.129, 0.157), (0.147, 0.088)).threePointArc((0.106, 0.068), (0.068, 0.054)).threePointArc((0.059, -0.007), (0.03, -0.051)).lineTo(-0.035, -0.005).lineT... | 6 | 62 | 0.671532 |
train_dcc14d38d8fec075 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.822, -0.643, -0.473), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.642).threePointArc((1.161, 1.161), (1.642, 0)).lineTo(1.098, 0).threePointArc((0.777, 0.777), (0, 1.098)).lineTo(0, 1.642).close().extrude(0.945)
result = result.union(cq.Work... | 4 | 14 | 1.607175 |
train_6f12a351931a6f8a | import cadquery as cq
import math
result = cq.Workplane('XY').box(2.026, 1.014, 1.462)
result = result.edges().fillet(0.394)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.457).extrude(4.053, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0),... | 12 | 66 | 0.487176 |
train_91213d0140116ebe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.064, -0.34, -0.56), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.357, 0.53).lineTo(-0.357, -0.38).lineTo(0.586, -0.38).lineTo(0.586, -0.53).lineTo(-0.586, -0.53).lineTo(-0.586, 0.53).lineTo(-0.357, 0.53).close().extrude(0.933)
result = result.u... | 12 | 114 | 0.748978 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.