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_0511d80c242f982b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.043, 0, -0.152), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.735, 0.452).threePointArc((0.799, 0.443), (0.838, 0.392)).lineTo(0.885, 0.213).threePointArc((0.878, 0.162), (0.838, 0.131)).lineTo(0.375, 0.008).threePointArc((0.366, 0.001), (0.365,... | 5 | 79 | 1.273111 |
train_ca01d1787cdc7611 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.233, -0.231, -0.558), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.126, 0.301).lineTo(0.252, 0.259).threePointArc((0.537, -0.027), (0.252, -0.313)).lineTo(-0.252, -0.313).threePointArc((-0.537, -0.027), (-0.252, 0.259)).threeP... | 15 | 163 | 0.734704 |
train_0e78a6c32d4905f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.879, -1.037, -0.16), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.241, 1.889).threePointArc((-0.117, 1.802), (-0.008, 1.796)).lineTo(0.282, 1.629).threePointArc((0.439, 1.666), (0.636, 1.693)).threePointArc((0.705, 1.479), (0.661, 1.251)).three... | 22 | 70 | 2.687995 |
train_1f3bf03f32b58eb3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.104, -0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.814, 0.885).lineTo(0.814, -0.885).lineTo(0.272, -0.885).lineTo(0.272, -0.443).lineTo(-0.814, -0.443).lineTo(-0.814, 0.885).lineTo(-0.272, 0.885).lineTo(-0.272, 0.443).lineTo(0.272, 0.4... | 8 | 61 | 0.435721 |
train_0fc593525cdd0ee9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, 0, 0.032), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.327, 0.226).lineTo(0.338, -0.124).lineTo(0.591, -0.116).lineTo(0.592, -0.123).lineTo(0.752, -0.145).lineTo(0.741, -0.226).lineTo(0.553, -0.2).lineTo(0.3, -0.209).lineTo(0.275, -0.202).... | 15 | 207 | 0.412969 |
train_adee8737c0238b43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.351), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.264, 0.964).threePointArc((0.408, 0.913), (0.542, 0.841)).threePointArc((0.664, 0.748), (0.771, 0.639)).threePointArc((0.859, 0.514), (0.928, 0.378)).threePointArc((0.974, 0.232), (0.9... | 13 | 238 | 1.763064 |
train_7babe46e1f9486fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.673), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.705).lineTo(1, 0.043).lineTo(0.331, 0.043).lineTo(0.331, -0.705).lineTo(-0.331, -0.705).lineTo(-0.331, 0.043).lineTo(-1, 0.043).lineTo(-1, 0.705).lineTo(1, 0.705).close().extrude(1.058,... | 9 | 110 | 1.487646 |
train_ab0a267894b85e15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.031, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.177, 1).lineTo(0.779, 0.652).lineTo(1.016, 0).lineTo(0.779, -0.652).lineTo(0.177, -1).lineTo(-0.507, -0.879).lineTo(-0.954, -0.348).lineTo(-0.954, 0.348).lineTo(-0.507, 0.879).lineTo(0... | 4 | 33 | 0.225548 |
train_260e086bbae10667 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.041, 0.127, -0.309), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.48, 0.959).lineTo(0.48, 0.48).lineTo(0.959, 0.48).lineTo(0.959, 0).lineTo(0.48, 0).lineTo(0.48, -0.959).lineTo(-0.959, -0.959).lineTo(-0.959, 0).lineTo(0, 0).lineTo(0, 0.959).lineT... | 11 | 79 | 0.545908 |
train_2a0cd75f3698ad42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.996, 0.179, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.053, 1.687).lineTo(0.251, 1.495).lineTo(-0.023, 1.213).lineTo(0.217, 0.979).lineTo(0.491, 1.261).lineTo(0.526, 1.217).lineTo(0.589, 1.203).lineTo(0.6, 1.136).lineTo(0.662, 1.12).lineTo... | 10 | 222 | 0.298228 |
train_39f24f5718346442 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.01, -0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.933, -0.133).lineTo(0.974, -0.171).lineTo(0.947, -0.286).lineTo(0.896, -0.291).lineTo(0.845, -0.414).lineTo(0.875, -0.464).lineTo(0.814, -0.564).lineTo(0.763, -0.555).lineTo(0.676, -0.6... | 7 | 122 | 0.929815 |
train_c5725fa040adf17c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.497, 0.183).workplane(offset=2).rect(1.649, 0.111).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.826, -0.002, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-1.237, 1.787).thre... | 3 | 16 | 0.235763 |
train_675efbda4bd9fe8a | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.765, 2, 1.833)
result = result.edges().fillet(0.228)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.232).extrude(3.532, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.15, -1, 0)... | 12 | 203 | 3.943574 |
train_e802cf86ed96b559 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0.036, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.889, 0.267).lineTo(0.964, 0.175).lineTo(0.987, 0.034).threePointArc((0.956, -0.174), (0.725, -0.182)).lineTo(-0.503, -0.267).threePointArc((-0.987, -0.094), (-0.516, 0.187)).lineTo(0.8... | 6 | 48 | 0.397721 |
train_7247c3104e1a5357 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0.003, 0.787), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.316, 0.956).threePointArc((0.682, 0.982), (0.965, 0.782)).threePointArc((0.924, 0.41), (0.675, 0.119)).threePointArc((0.513, -0.051), (0.457, -0.217)).threePointArc((0.366, -0.379... | 11 | 508 | 3.580398 |
train_330abadda25fbdf1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.005, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.364, -0.729).threePointArc((-0.089, -0.759), (0.074, -0.691)).lineTo(0.425, -0.471).threePointArc((0.725, -0.418), (1, -0.449)).lineTo(0.226, 0.759).lineTo(-0.099, 0.623).lineTo(0.275... | 13 | 49 | 0.984425 |
train_a53ab76ab3f4c07e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.721, 0.343, -0.152), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.187, 0.338).lineTo(0.271, 0.113).lineTo(0.266, -0.113).threePointArc((0.184, -0.211), (0.187, -0.338)).threePointArc((-0.271, 0), (0.187, 0.338)).close().sweep(cq.Workplane(cq.Pla... | 13 | 532 | 0.92951 |
train_63e1002b2fbef716 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.639).extrude(1.254)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.642, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.241, 0.5), (-0.781, 0.623), (-1.214,... | 7 | 56 | 0.832399 |
train_6d0d30bff2f0f758 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.084, 0.209, 0.022), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.611, 1.083).lineTo(0.665, 0.933).lineTo(0.448, -0.915).lineTo(0.129, -0.877).lineTo(0.183, -0.416).lineTo(-0.136, -0.378).lineTo(-0.081, 0.084).lineTo(-0.4, 0.122).lineTo(-0.346, ... | 7 | 43 | 0.702323 |
train_a2fac82aa2eadbef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.348).lineTo(1, -0.138).lineTo(0.79, -0.138).lineTo(0.79, -0.348).lineTo(-1, -0.348).lineTo(-1, 0.211).lineTo(-0.863, 0.348).lineTo(1, 0.348).close().extrude(0.181)
result = result.union... | 7 | 62 | 0.126769 |
train_e7c2f7eef7dc872d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, 0.011, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.419, 0.841).threePointArc((-0.03, 0.696), (0.083, 0.731)).threePointArc((0.885, 0.339), (0.934, 0.275)).threePointArc((0.936, 0.238), (0.787, -0.672)).threePointArc((-0.08, -0.84... | 15 | 134 | 1.43889 |
train_32a3e036780b84e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.027, 0.242).lineTo(0.708, 0.172).lineTo(1.008, 0.007).lineTo(0.711, -0.171).lineTo(-0.025, -0.242).lineTo(-0.694, -0.175).lineTo(-1.008, 0.006).lineTo(-0.707, 0.172).lineTo(0.027, 0.242).c... | 10 | 192 | 0.09998 |
train_81471e0988518624 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.237, 0.989).threePointArc((0.304, 0.933), (0.332, 0.8)).lineTo(0.332, 0.567).threePointArc((0.367, 0.401), (0.451, 0.33)).lineTo(0.87, 0.33).threePointArc((0.957, 0.257), (0.994, 0.083)).lineTo(0.994, -0.144).threePointArc((0.967, -0.275), (0.901, -... | 23 | 166 | 2.480533 |
train_c33b8f8c1f556170 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, 0, 0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.869, 0.812).threePointArc((0.904, 0.795), (0.919, 0.755)).lineTo(0.919, 0.395).threePointArc((0.887, 0.306), (0.809, 0.268)).lineTo(0.368, 0.268).threePointArc((0.276, 0.224), (0.237, ... | 19 | 195 | 0.772654 |
train_a0a4d7f9e261cd31 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.773, 2, 1.466)
result = result.edges().fillet(0.447)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.519, 0.972, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.731, 0.614).lineTo(1.218, 0.322).threePointArc((1.494, -0.003), (1.232, -0.339)).lineTo... | 10 | 89 | 2.495336 |
train_3c2537ba4db87a2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.111, 0.46, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.25, 0.509).threePointArc((0.36, 0.462), (0.407, 0.352)).lineTo(0.407, 0.176).threePointArc((0.385, 0.124), (0.333, 0.102)).lineTo(0.24, 0.102).threePointArc((0.214, 0.091), (0.204, ... | 19 | 215 | 0.816285 |
train_6c052939bbd944d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.061, 0.373, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.081, 0.622).lineTo(0.427, 0.344).threePointArc((-0.102, -0.622), (-0.081, 0.622)).close().moveTo(-0.027, 0.44).threePointArc((-0.155, -0.44), (-0.427, -0.291)).lineTo(-0.027, 0.4... | 9 | 90 | 0.193319 |
train_ed0f22e44330a1f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.07, 0, -0.536), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.441, 0.287).threePointArc((0.554, 0.241), (0.6, 0.128)).lineTo(0.6, -0.147).threePointArc((0.56, -0.247), (0.461, -0.287)).lineTo(-0.498, -0.287).threePointArc((-0.571, -0.257), (-0.6,... | 17 | 212 | 0.898615 |
train_4b38dfff1914a821 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.487).lineTo(1, 0.242).lineTo(0.794, 0.242).lineTo(0.794, 0).lineTo(0, 0).lineTo(0, 0.487).lineTo(1, 0.487).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
res... | 7 | 30 | 0.90834 |
train_9096523991c88f70 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.942, 0.241).lineTo(0.912, 0.176).lineTo(1, 0.085).lineTo(1, 0).lineTo(0.821, 0).lineTo(0.821, 0.072).lineTo(0.722, 0.176).lineTo(0, 0.068).lineTo(0, 0.241).lineTo(0.942, 0.241).close().re... | 6 | 82 | 0.292954 |
train_ea9add2075a8ded5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.793, -1.177, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.508, 2.008).threePointArc((0.706, 1.926), (0.788, 1.729)).lineTo(0.788, 0.624).threePointArc((0.706, 0.426), (0.508, 0.344)).lineTo(-0.508, 0.344).threePointArc((-0.706, 0.426), (-0.7... | 9 | 359 | 3.689857 |
train_89ec754936fbf10f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.219), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.543).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.543).lineTo(-0.791, 0.543).lineTo(-0.791, 0.119).lineTo(0.791, 0.119).lineTo(0.791, 0.543).lineTo(1, 0.543).close().extrude(0.198, both=Tru... | 3 | 22 | 0.191913 |
train_cccfe9afa0889e50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.251, -0.015, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.173, 0.399).lineTo(0.409, -0.169).threePointArc((0.409, -0.399), (0.173, -0.399)).lineTo(-0.409, 0.169).threePointArc((-0.409, 0.399), (-0.173, 0.399)).close().extrude(1.192, bo... | 17 | 119 | 0.18832 |
train_7f3d1b2f20b6825e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.638, 0.297).workplane(offset=2).rect(0.467, 0.33).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.372, 0.126, -0.007), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.069, 1.806).lineTo(... | 4 | 79 | 0.217011 |
train_9bb29101c7cbb20c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.368, -0.012, -0.526), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.617).threePointArc((0.421, 0.37), (0.632, -0.123)).threePointArc((-0.632, -0.617), (0, 0.617)).close().extrude(0.948)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.511... | 11 | 48 | 1.038938 |
train_da1ead799ee703a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.062, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.648, 0.312).lineTo(1, 0.178).lineTo(1, -0.185).threePointArc((0.746, -0.275), (0.656, -0.312)).lineTo(-0.7, -0.312).threePointArc((-0.758, -0.288), (-1, -0.23)).lineTo(-1, 0.312).line... | 9 | 122 | 0.292162 |
train_2128414dd9271d0f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.413), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.661, 0.55).threePointArc((-0.58, 0.531), (-0.546, 0.486)).lineTo(-0.546, -0.098).threePointArc((-0.442, -0.238), (-0.195, -0.298)).lineTo(0.895, -0.298).threePointArc((0.96, -0.313), ... | 2 | 65 | 0.728018 |
train_1477de59d156cc39 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.674), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 0.483).threePointArc((0.958, 0.44), (1, 0.339)).lineTo(1, -0.232).threePointArc((0.925, -0.409), (0.75, -0.483)).lineTo(-0.878, -0.483).threePointArc((-0.965, -0.447), (-1, -0.362)).l... | 12 | 200 | 0.74683 |
train_c59d062f3ca3a339 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.203, 0.923).threePointArc((0.295, 0.887), (0.333, 0.802)).lineTo(0.333, -0.203).threePointArc((0.367, -0.276), (0.447, -0.308)).lineTo(0.88, -0.308).threePointArc((0.964, -0.341), (1, -0.4... | 7 | 108 | 0.303249 |
train_a9a70a754a397da0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.086, 2).extrude(0.211)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.317, -0.772).lineTo(0.317, -0.772).lineTo(-0.317, -0.827)... | 16 | 116 | 0.420344 |
train_b76c382d28229efd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.323).lineTo(0.92, 0.279).lineTo(1, 0.113).lineTo(1, 0).lineTo(0.887, 0).lineTo(0.887, 0.097).lineTo(0.787, 0.279).lineTo(0, 0.209).lineTo(0, 0.323).lineTo(0.95, 0.323).close().revol... | 8 | 56 | 0.319083 |
train_c88c2f23e7ffd406 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.198, 0.114, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.801).threePointArc((0.801, 0), (0, -0.801)).threePointArc((-0.801, 0), (0, 0.801)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.198, 0.114, -0.311), normal=(0, -1, 0), xDir=(... | 4 | 30 | 0.639612 |
train_bbb58aa5d09fa882 | 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.722, 2).lineTo(0.722, 0.436).lineTo(1, 0.436).lineTo(1, 0).lineTo(0.106, 0).lineTo(0.106, 2).lineTo(0.722, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result ... | 10 | 35 | 2.768997 |
train_f494ae50e054372b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.892), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.203, 1).threePointArc((0.765, 0.765), (1, 0.203)).lineTo(1, -1).lineTo(-0.02, -1).threePointArc((-0.709, -0.709), (-1, -0.02)).lineTo(-1, 0.418).lineTo(-0.418, 1).lineTo(0.203, 1).close().... | 9 | 144 | 2.297771 |
train_6604653eee2beac4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.016, -0.574), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.04, 0.831).threePointArc((0.129, 0.794), (0.166, 0.705)).lineTo(0.166, 0.58).threePointArc((0.191, 0.523), (0.248, 0.499)).lineTo(0.43, 0.499).threePointArc((0.478, 0.478), (0.499, 0.4... | 6 | 63 | 0.625542 |
train_89974861e967675b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.025, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.169, 0.374).lineTo(0.507, 0.274).threePointArc((0.639, 0.142), (0.507, 0.01)).lineTo(-0.507, 0.01).threePointArc((-0.639, 0.142), (-0.507, 0.274)).threePointArc((-0.35, 0.37), (-0.169, 0.... | 5 | 20 | 0.824861 |
train_4960cbbfd8828e57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.027, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.166).lineTo(1, -0.166).lineTo(-1, -0.166).lineTo(-1, 0.166).lineTo(1, 0.166).close().extrude(0.565)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.597, -0.139, 0.052), norma... | 14 | 65 | 0.299555 |
train_550ddcbe6a752186 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.624).lineTo(1, -0.624).threePointArc((-0.064, 0), (1, 0.624)).close().extrude(0.869).union(cq.Workplane(cq.Plane(origin=(0, 0, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.62... | 2 | 21 | 2.19579 |
train_0d1b8463fe3e9b29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 0.777).threePointArc((0.923, 0.689), (0.999, 0.479)).lineTo(0.999, -0.47).threePointArc((0.921, -0.686), (0.736, -0.777)).lineTo(-0.511, -0.777).threePointArc((-0.854, -0.608), (-0.999... | 6 | 23 | 0.990525 |
train_8d2f1acd752a6236 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.264, -0.052, 0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.596, 0.483).lineTo(0.505, -0.483).threePointArc((-0.596, 0.483), (0.596, 0.483)).close().extrude(0.215, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.487, -0.735... | 4 | 36 | 0.694703 |
train_e333452de4659aba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.204, 0.02, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.655, 0.333).threePointArc((0.733, 0.311), (0.755, 0.234)).threePointArc((0.71, 0.135), (0.635, 0.059)).threePointArc((0.597, 0.017), (0.63, -0.016)).threePointArc((0.713, -0.076), ... | 5 | 84 | 0.262937 |
train_de23be926f5d740e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.223, 0.334, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.559, 0.247).threePointArc((0.247, -0.559), (-0.559, -0.247)).threePointArc((-0.247, 0.559), (0.559, 0.247)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.223, 0.334, -1), normal=(0, ... | 15 | 156 | 0.821277 |
train_d91617a7c04b1cef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.617).extrude(1.131)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.62, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.144, 0.398), (-0.51, 0.608), (-0.926, 0.535),... | 5 | 40 | 1.458306 |
train_fc645421cdcbb14a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.228, 0.323, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.113, 0.401).lineTo(0.472, 0.223).threePointArc((0.64, 0.099), (0.772, -0.036)).threePointArc((0.694, -0.192), (0.476, -0.311)).threePointArc((0.15, -0.36), (-0.18, -0.401)).three... | 5 | 58 | 0.731695 |
train_709d5629555894aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.357, -0.321, 0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.309, 0.412).lineTo(0.078, 0.113).lineTo(0.453, -0.125).threePointArc((0.463, -0.231), (0.349, -0.264)).lineTo(0.409, -0.348).threePointArc((0.388, -0.411), (0.271, -0.412)).lineT... | 19 | 272 | 0.58946 |
train_92e50d0b52775a3a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.234, 0.962).threePointArc((0.959, 0.277), (0.726, -0.686)).threePointArc((-0.234, -0.962), (-0.959, -0.277)).threePointArc((-0.726, 0.686), (0.234, 0.962)).close().extrude(0.173)
resul... | 12 | 188 | 1.21189 |
train_321b8b37a9c5cdcb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.076, 0.091).threePointArc((-0.048, 0.098), (0.016, 0.078)).threePointArc((0.053, 0.093), (0.084, 0.082)).lineTo(0.098, 0.058).threePointArc((0.098, -0.013), (0.031, -0.097)).lineTo(0.008,... | 4 | 35 | 0.021042 |
train_bb56fabf7c3c4502 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.218, 0.581).threePointArc((0.299, 0.557), (0.333, 0.501)).lineTo(0.333, 0.433).threePointArc((0.369, 0.374), (0.455, 0.349)).lineTo(0.573, 0.349).threePointArc((0.639, 0.329), (0.667, ... | 13 | 80 | 0.142556 |
train_34333044ff3324d4 | 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.864, 0.503).threePointArc((0.503, -0.864), (-0.864, -0.503)).threePointArc((-0.503, 0.864), (0.864, 0.503)).close().extrude(0.185)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.196,... | 7 | 79 | 0.492277 |
train_23e6facf5126cc58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.415, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.289, 1).lineTo(0.289, -1).lineTo(-0.289, -1).lineTo(-0.289, 1).lineTo(0.289, 1).close().extrude(0.309)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.463, -0.082, 0.004), norm... | 13 | 91 | 0.387804 |
train_2f31881c1606d54d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.482, 0.981).lineTo(0.482, -0.982).lineTo(0.472, -1).lineTo(-0.471, -1).lineTo(-0.482, -0.981).lineTo(-0.482, 0.981).lineTo(-0.471, 1).lineTo(0.47, 1).lineTo(0.482, 0.981).close().extrude(0... | 11 | 58 | 0.431696 |
train_847af3068783bac1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.699, 0.099).lineTo(0.964, 0.032).threePointArc((0.982, 0.002), (0.963, -0.027)).lineTo(0.681, -0.099).threePointArc((0.485, -0.119), (0.267, -0.133)).lineTo(-0.307, -0.134).threePointArc((... | 3 | 32 | 0.090846 |
train_f9f967e396d14f78 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.462, -0.839, 0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.229, 0.152).lineTo(0.229, 0.122).threePointArc((0.223, 0.113), (0.208, 0.11)).lineTo(0.066, 0.11).threePointArc((0.052, 0.106), (0.045, 0.098)).lineTo(0.045, -0.139).threePointArc... | 9 | 141 | 0.218459 |
train_ed6411ddadd82bee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -1, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.626, 1.914).lineTo(0.848, 0.808).lineTo(-0.848, 0.085).lineTo(-0.626, 1.914).close().extrude(2)
result = result.faces('>Z').shell(-0.122)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0... | 17 | 285 | 1.668316 |
train_141549e2ab412bf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.034, -0.137, 0.117), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.667, 0.547).threePointArc((0.765, 0.512), (0.81, 0.419)).lineTo(0.823, 0.209).threePointArc((0.794, 0.129), (0.719, 0.091)).lineTo(0.404, 0.072).threePointArc((0.383, 0.062), (0.3... | 11 | 245 | 1.642541 |
train_90adc05969b92840 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.161, -0.09, -0.962), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.224, 0.628).lineTo(0.252, 0.58).lineTo(0.22, 0.432).lineTo(0.336, 0.434).lineTo(0.364, 0.386).lineTo(0.332, 0.239).lineTo(0.448, 0.241).lineTo(0.475, 0.193).lineTo(0.444, 0.045).l... | 21 | 268 | 1.256577 |
train_486f9d7da2e21d3d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.528, -0.18, -0.54), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.171).lineTo(0.057, 0.152).lineTo(0.095, 0.152).threePointArc((0.095, 0.114), (0.114, 0.133)).lineTo(0.133, 0.114).threePointArc((0.133, 0.076), (0.152, 0.076)).lineTo(0.152, 0.05... | 10 | 188 | 0.478502 |
train_ed69b23a61939ef3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.029, -0.029, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.296, 0.528).lineTo(0.497, 0.479).lineTo(0.914, 0.239).threePointArc((0.97, 0.032), (0.699, -0.43)).lineTo(0.579, -0.528).lineTo(0.429, -0.51).lineTo(-0.036, -0.248).lineTo(-0.909,... | 14 | 172 | 0.732057 |
train_c9567925e3574711 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0.033, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.994, 0.843).lineTo(0.994, -0.843).threePointArc((-0.451, -0.548), (-0.994, 0.843)).close().extrude(14.819, both=True).intersect(cq.Workplane(cq.Plane(origin=(0.006, 0.033, 0.001), ... | 10 | 146 | 0.734892 |
train_d82889257a5ad02b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.06, -0.01, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.627, 0.723).threePointArc((0.064, 0.9), (0.723, 0.627)).threePointArc((0.9, -0.064), (0.627, -0.723)).threePointArc((-0.064, -0.9), (-0.723, -0.627)).threePointArc((-0.9, 0.064), (-... | 7 | 93 | 1.442092 |
train_4560473322cae9ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.081, 0.779, -0.132), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.057, 0.097).threePointArc((0.072, 0.091), (0.078, 0.077)).lineTo(0.078, -0.077).threePointArc((0.072, -0.091), (0.057, -0.097)).lineTo(-0.057, -0.097).threePointArc((-0.072, -0.0... | 6 | 132 | 0.144583 |
train_717a39e2783b5959 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.064, 0.125, -0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 0.848).threePointArc((0.251, 0.766), (0.311, 0.573)).lineTo(0.311, 0.128).threePointArc((0.339, 0.038), (0.405, 0)).lineTo(0.798, 0).threePointArc((0.894, -0.055), (0.934, -0.... | 17 | 287 | 0.181578 |
train_fdb723b2943a097c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0.198, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.017, 0.097).threePointArc((0.079, 0.043), (0.097, -0.022)).threePointArc((-0.097, -0.097), (0.017, 0.097)).close().extrude(3.83, both=True).intersect(cq.Workplane(cq.Plane(origin=(0... | 11 | 102 | 0.059985 |
train_34109842c3ffac01 | 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.624, 0.686).lineTo(0.624, 0.343).lineTo(0.967, 0.343).lineTo(0.967, -0.343).lineTo(0.624, -0.343).lineTo(0.624, -0.686).lineTo(0.281, -0.686).lineTo(0.281, -0.343).lineTo(-0.062, -0.343).lineT... | 2 | 98 | 3.963482 |
train_53403ca2d7a7ae57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.713, 0, -0.603), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.236, 1.205).lineTo(0.236, 0.236).lineTo(1.426, 0.236).lineTo(1.426, 0).lineTo(0, 0).lineTo(0, 1.205).lineTo(0.236, 1.205).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 3 | 22 | 1.161457 |
train_92c45cb6920680ab | 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.472, 0.758).threePointArc((0.673, 0.673), (0.758, 0.472)).lineTo(0.758, -0.309).threePointArc((0.624, -0.624), (0.309, -0.758)).lineTo(-0.253, -0.758).threePointArc((-0.608, -0.608), (-0.758, ... | 25 | 68 | 3.926561 |
train_8af7d3bb2ccb1a4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.689, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.285, -1).lineTo(-0.792, -0.677).lineTo(-0.842, 0.366).lineTo(0.026, 1).lineTo(0.842, 0.11).close().moveTo(-0.468, 0.129).lineTo(-0.366, 0.233).lineTo(-0.23, 0.246).lineTo(-0.133, 0.121).li... | 9 | 85 | 2.726475 |
train_2f1d0bd52b303062 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.297, -0.688, 0.143), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.12, 0.307).threePointArc((0.147, 0.296), (0.159, 0.269)).lineTo(0.159, 0.007).threePointArc((0.147, -0.02), (0.12, -0.031)).lineTo(-0.12, -0.031).threePointArc((-0.147, -0.02), (-... | 13 | 37 | 0.342687 |
train_2af45cde2a892f1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.06), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.459, 0.715).threePointArc((1, 0), (0.459, -0.715)).lineTo(-0.459, -0.715).threePointArc((-1, 0), (-0.459, 0.715)).lineTo(0.459, 0.715).close().extrude(0.36, both=True)
result = result.cut(c... | 17 | 447 | 1.757306 |
train_4abd937d06b30e16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.07, 0.023, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.713, -0.263).threePointArc((0.076, 0.974), (0.713, -0.322)).lineTo(0.713, -0.893).threePointArc((0.664, -0.974), (0.381, -0.906)).lineTo(0.385, -0.238).threePointArc((0.664, -0.01... | 5 | 102 | 0.366035 |
train_3ee517b04050c30c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.242, 0.317).lineTo(0.242, 0).lineTo(-0.242, 0).lineTo(-0.242, 0.317).lineTo(-0.186, 0.317).lineTo(-0.186, 0.056).lineTo(0.186, 0.056).lineTo(0.186, 0.317).lineTo(0.242, 0.317).close().ext... | 5 | 47 | 0.097012 |
train_58f1b9bc7b037ffb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.224, 0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.364, 0.532).threePointArc((-0.325, 0.516), (-0.308, 0.477)).lineTo(-0.308, -0.09).threePointArc((-0.251, -0.222), (-0.116, -0.277)).lineTo(0.517, -0.277).threePointArc((0.555, -0.292),... | 9 | 152 | 1.320549 |
train_5a1c2c1bbce3266c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.429, 0.309).lineTo(0.429, 0).lineTo(-0.429, 0).lineTo(-0.429, 0.309).lineTo(-0.332, 0.309).lineTo(-0.332, 0.099).lineTo(0.332, 0.099).lineTo(0.332, 0.309).lineTo(0.429, 0.309).close().ext... | 9 | 99 | 0.241651 |
train_448b1c21cdb36a5b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.881, 0.922).threePointArc((0.965, 0.889), (1, 0.812)).lineTo(1, -0.777).threePointArc((0.953, -0.879), (0.842, -0.922)).lineTo(0.427, -0.922).threePointArc((0.267, -0.86), (0.2, -0.712)).lineTo(0.2, -0.316).threePointArc((0.158, -0.223), (0.057, -0.... | 14 | 37 | 1.31554 |
train_95971559587c6328 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.897, 0.37).threePointArc((-0.939, 0.505), (-0.844, 0.614)).threePointArc((-0.412, 0.811), (-0.29, 0.827)).threePointArc((-0.034, 0.786), (0.173, 0.86)).threePointArc((0.297, 0.865), (0.43,... | 9 | 15 | 1.672198 |
train_e8855123e67a162b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.833).lineTo(1, 0.5).lineTo(-0.667, 0.5).lineTo(-0.667, 0.167).lineTo(1, 0.167).lineTo(1, -0.833).lineTo(-1, -0.833).lineTo(-1, -0.5).lineTo(0.667, -0.5).lineTo(0.667, -0.167).lineTo(-1, -0.167).lineTo(-1, 0.833).lineTo(1, 0.833).close().extrude(1... | 6 | 194 | 0.493633 |
train_020fd261c1cf0c2b | 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.562, 0.326).lineTo(0.562, -0.326).threePointArc((-0.036, 0), (0.562, 0.326)).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.562, ... | 3 | 13 | 1.510408 |
train_7a7ae0614ea1f29e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.256, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.493, 0.53).lineTo(0.527, 0.496).lineTo(0.527, -0.469).lineTo(0.466, -0.53).lineTo(-0.48, -0.53).lineTo(-0.527, -0.483).lineTo(-0.527, 0.449).lineTo(-0.446, 0.53).lineTo(0.493, 0.53).cl... | 9 | 228 | 0.070473 |
train_c2070044fb9f4085 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.066, 0.694, 0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.268, -0.048).lineTo(0.258, -0.095).lineTo(0.242, -0.139).lineTo(0.219, -0.18).lineTo(0.192, -0.216).lineTo(0.159, -0.248).lineTo(0.123, -0.273).lineTo(0.084, -0.291).lineTo(0.042, -... | 15 | 203 | 0.067025 |
train_aaf5e2964042fe4b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.688, 0.01, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.308).threePointArc((0.217, 0.217), (0.308, 0)).threePointArc((0.217, -0.217), (0, -0.308)).threePointArc((-0.217, -0.217), (-0.308, 0)).threePointArc((-0.217, 0.217), (0, 0.308))... | 3 | 10 | 0.178634 |
train_b944ba4cc551be76 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.267, 0.505, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.216, 0.262).lineTo(0.262, 0.216).lineTo(0.262, -0.189).lineTo(0.189, -0.262).lineTo(0.084, -0.262).lineTo(0, -0.178).lineTo(0, -0.049).lineTo(-0.049, 0).lineTo(-0.093, 0).lineTo(-... | 9 | 137 | 0.3742 |
train_4bd09f9878c2c070 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.238, 0, -2.595), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.558).extrude(2.996)
result = result.union(cq.Workplane(cq.Plane(origin=(-1.238, 0, -0.497), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(0.511).extrude(2.202))
result = ... | 6 | 40 | 0.495034 |
train_457936d41d6a7586 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.205, 0, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.993).lineTo(0, 0.597).lineTo(0.794, 0.597).lineTo(0.794, -0.199).lineTo(0, -0.199).lineTo(0, -0.993).lineTo(-0.398, -0.993).lineTo(-0.398, 0.199).lineTo(-0.794, 0.199).lineTo(-0.79... | 32 | 272 | 0.528772 |
train_3d837bf3982183ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.072, 0.04, 0.332), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.346).threePointArc((0.244, 0.244), (0.346, 0)).threePointArc((0.244, -0.244), (0, -0.346)).threePointArc((-0.244, -0.244), (-0.346, 0)).threePointArc((-0.244, 0.244), (0, 0.346))... | 7 | 61 | 0.55529 |
train_a38c817d9397fe0f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.253, 0.283, -0.543), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.423, 0.532).threePointArc((0.616, 0.485), (0.697, 0.375)).lineTo(0.697, -0.227).threePointArc((0.539, -0.441), (0.164, -0.532)).lineTo(-0.586, -0.532).threePointArc((-0.664, -0.513... | 14 | 262 | 0.883255 |
train_de799535c65b7afb | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.14).lineTo(0.719, 0).lineTo(1, -0.14).lineTo(0.319, -0.14).lineTo(0.319, 0.14).lineTo(1, 0.14).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.388, -0.388, 0), normal=(... | 12 | 51 | 0.321557 |
train_802376b335fdc12d | 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.484, 0.269).threePointArc((0.499, 0.262), (0.506, 0.247)).lineTo(0.506, 0.183).threePointArc((0.499, 0.168), (0.484, 0.161)).lineTo(0.096, 0.161).threePointArc((0.081, 0.155), (0.075, 0.141)).... | 3 | 40 | 0.741746 |
train_96a22f1eb75f6dc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.194, 0, 0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.641, 0.681).threePointArc((0.755, 0.62), (0.804, 0.473)).lineTo(0.804, 0.164).threePointArc((0.766, 0.049), (0.675, 0)).lineTo(0.478, 0).threePointArc((0.33, -0.079), (0.268, -0.266)).... | 6 | 62 | 0.415326 |
train_4d349f9bd08e83e9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.416, 0.143, -0.822), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.065, 0.329).lineTo(0.114, 0.282).lineTo(0.114, 0.148).lineTo(0.153, 0.11).lineTo(0.293, 0.11).lineTo(0.341, 0.063).lineTo(0.341, -0.024).lineTo(0.253, -0.11).lineTo(0.185, -0.11).... | 5 | 103 | 0.596916 |
train_a8b8b524bd5e0ce8 | 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.726, 1).threePointArc((0.763, 0.982), (0.778, 0.948)).lineTo(0.778, -0.925).threePointArc((0.756, -0.977), (0.704, -1)).lineTo(-0.723, -1).lineTo(-0.778, -0.943).lineTo(-0.778, 0.925).line... | 13 | 23 | 1.642265 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.