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_64050a9eda410cf1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.187, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.793, 0.419).threePointArc((0.932, 0.36), (1, 0.218)).lineTo(1, -0.419).lineTo(-0.822, -0.419).threePointArc((-0.94, -0.368), (-1, -0.246)).lineTo(-1, 0.279).lineTo(-0.85, 0.419).lineTo... | 20 | 125 | 0.328551 |
train_3b66969f85583a11 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.1).lineTo(0.749, 0).lineTo(1, -0.1).lineTo(0.323, -0.1).lineTo(0.323, 0.1).lineTo(1, 0.1).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.55, 0, 0), normal=(0, 0, 1), ... | 7 | 64 | 0.246903 |
train_5bbab1d4e2ea06a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.216, -0.337, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.735).threePointArc((0.244, 0.635), (0.345, 0.391)).threePointArc((0.244, 0.147), (0, 0.046)).threePointArc((-0.244, 0.147), (-0.345, 0.391)).threePointArc((-0.244, 0.635), (0,... | 5 | 22 | 0.809608 |
train_34009b3ea2470a94 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.031, -0.01, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.131, -0.511).threePointArc((-0.137, -0.509), (-0.139, -0.503)).lineTo(-0.139, -0.418).threePointArc((-0.139, -0.326), (-0.232, -0.232)).lineTo(-0.232, -0.147).threePointArc((-0.232, -0... | 19 | 244 | 0.568147 |
train_5a0da68e057f8da5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.66, 1.757, 0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.009, 1.269).lineTo(1.161, -1.256).threePointArc((-1.161, -1.269), (0.009, 1.269)).close().extrude(4.212, both=True)
result = result.intersect(cq.Workplane(cq.Plane(origin=(-0.66, 1.... | 18 | 34 | 0.129896 |
train_f369e60a0d41ffc6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.165), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.708, 0.33).lineTo(0.921, 0.242).lineTo(1, 0.116).lineTo(1, 0).lineTo(0.91, 0).lineTo(0.91, 0.099).lineTo(0.81, 0.242).lineTo(0, 0.24).lineTo(0, 0.33).lineTo(0.708, 0.33).close().revolve(a... | 4 | 16 | 0.319012 |
train_0c075dcf0bf27b04 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.099, -0.126, -0.374), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.449, 0.73).threePointArc((0.785, 0.805), (0.197, -0.386)).lineTo(-0.6, -0.847).threePointArc((-0.693, -0.688), (-0.785, -0.529)).lineTo(0.013, -0.067).threePointArc((0.491, 0.21... | 2 | 23 | 0.416864 |
train_037ebeb793462714 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.721, 1).lineTo(0.721, -0.365).lineTo(0.089, -0.365).lineTo(0.089, -1).lineTo(-0.048, -1).lineTo(-0.721, -0.327).lineTo(-0.721, 0.293).threePointArc((-0.514, 0.791), (-0.014, 1)).lineTo(0.7... | 14 | 56 | 0.713614 |
train_d7e89ed38168d0ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.034, 0.321, -0.011), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.275, 0.577).lineTo(0.695, 0.503).lineTo(0.505, -0.577).lineTo(0.341, -0.548).lineTo(0.373, -0.31).threePointArc((0.148, -0.141), (0.237, 0.214)).lineTo(0.275, 0.577).close().revo... | 7 | 74 | 1.579604 |
train_547fa6b82e5460a3 | 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.089, 0.111).lineTo(0.089, 0.067).lineTo(0.044, 0.067).lineTo(0.044, 0.022).lineTo(0.089, 0.022).lineTo(0.089, -0.111).lineTo(0.044, -0.111).lineTo(0.044, -0.067).lineTo(-0.089, -0.067).lineTo(... | 3 | 18 | 0.054912 |
train_391ec603c4eea831 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.126, 0, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.193, 1).lineTo(0.867, 0.316).lineTo(0.867, -0.571).threePointArc((0.748, -0.867), (0.447, -1)).lineTo(-0.867, -1).lineTo(-0.867, 0.447).lineTo(-0.324, 1).lineTo(0.193, 1).close().extr... | 9 | 43 | 1.352486 |
train_c9dd9c11606eb84d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.072, -0.04, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.028, 0.111).lineTo(0.028, 0.056).lineTo(0.083, 0.056).lineTo(0.083, -0.056).lineTo(0.028, -0.056).lineTo(0.028, -0.111).lineTo(-0.083, -0.111).lineTo(-0.083, 0.056).lineTo(-0.028, 0.056... | 7 | 48 | 0.055121 |
train_df5df4bc3897b756 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.692), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.383).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.383).lineTo(-0.852, 1.383).lineTo(-0.852, 0.148).lineTo(0.852, 0.148).lineTo(0.852, 1.383).lineTo(1, 1.383).close().extrude(0.432, both=Tru... | 2 | 15 | 0.63802 |
train_e0990acd4b726bce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.112, 0.993).threePointArc((0.623, 0.781), (0.993, 0.112)).threePointArc((0.781, -0.623), (0.112, -0.993)).threePointArc((-0.623, -0.781), (-0.993, -0.112)).threePointArc((-0.781, 0.623), (... | 9 | 242 | 0.347633 |
train_f81ab97f35a0c143 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.007, -0.137), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.167, 0.274).lineTo(0.167, 0).lineTo(-0.167, 0).lineTo(-0.167, 0.274).lineTo(-0.062, 0.274).lineTo(-0.062, 0.105).lineTo(0.062, 0.105).lineTo(0.062, 0.274).lineTo(0.167, 0.274).close()... | 5 | 98 | 0.081048 |
train_c17247b5dec293d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.157, -0.075, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.192, 0.381).threePointArc((1.153, 0.381), (0, -0.273)).lineTo(-0.192, -0.381).threePointArc((-1.153, -0.164), (-0.576, 0.273)).threePointArc((-0.384, 0.273), (-0.192, 0.381)).clo... | 7 | 79 | 2.667914 |
train_d414dca707e4088b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.132), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.495, 0.265).lineTo(0.495, 0).lineTo(-0.495, 0).lineTo(-0.495, 0.265).lineTo(-0.29, 0.265).lineTo(-0.29, 0.205).lineTo(0.29, 0.205).lineTo(0.29, 0.265).lineTo(0.495, 0.265).close().extrude... | 10 | 33 | 0.441937 |
train_74dac8d4bd9e36bd | 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.752).lineTo(1, 0.376).lineTo(0.667, 0.376).lineTo(0.667, 0).lineTo(0, 0).lineTo(0, -0.376).lineTo(-0.667, -0.376).lineTo(-0.667, -0.752).lineTo(-1, -0.752).lineTo(-1, 0).lineTo(-0.667, ... | 6 | 45 | 2.259435 |
train_152b964c0db3e250 | 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.593, 0.521).lineTo(0.97, -0.521).lineTo(-0.97, -0.521).lineTo(-0.593, 0.521).lineTo(0.593, 0.521).close().extrude(2, taper=2.58)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.489, 0.474... | 15 | 71 | 1.384656 |
train_8e2b8f9b685fb224 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.288, 0.085, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.749, 0.915).lineTo(0.749, 0.583).threePointArc((0.417, -0.915), (-0.749, 0.915)).close().moveTo(-0.276, 0.173).threePointArc((-0.056, -0.173), (-0.339, -0.11)).lineTo(-0.276, 0.173).cl... | 10 | 98 | 0.245308 |
train_018875e953e75961 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.58, 0.58).lineTo(0.58, 0.193).lineTo(0.967, 0.193).lineTo(0.967, -0.193).lineTo(0.193, -0.193).lineTo(0.193, -0.58).lineTo(-0.967, -0.58).lineTo(-0.967, 0.58).lineTo(0.58, 0.58).close().extrude(0.207, taper=-8.955, both=True)
result = result.cut(cq.... | 6 | 44 | 0.784151 |
train_328890ae58677e4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.149, -0.486, -0.518), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.531, 0.413).threePointArc((0.563, 0.399), (0.577, 0.367)).lineTo(0.577, 0.27).threePointArc((0.564, 0.241), (0.535, 0.228)).lineTo(0.173, 0.228).threePointArc... | 10 | 164 | 0.620296 |
train_8343789ec83df9f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.326, -0.722, -0.281), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.664, -0.108).lineTo(0.64, -0.212).lineTo(0.599, -0.312).lineTo(0.544, -0.404).lineTo(0.476, -0.486).lineTo(0.396, -0.555).lineTo(0.306, -0.611).lineTo(0.208, -0.653).lineTo(0.105... | 8 | 109 | 2.338769 |
train_45cd2c93e18fe622 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.229).lineTo(1, 0.181).threePointArc((0.985, 0.174), (0.949, 0.172)).lineTo(-0.168, 0.172).threePointArc((-0.457, 0.15), (-0.579, 0.098)).lineTo(-0.579, -0.123).threePointArc((-0.498, -0.157), (-0.305, -0.172)).lineTo(0.918, -0.172).threePointArc(... | 5 | 46 | 0.147513 |
train_4968c272a5d0a59b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.032, -0.178, -0.615), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.09, 0.347).threePointArc((0.5, 0.392), (0.797, 0.208)).threePointArc((0.628, -0.098), (0.09, -0.347)).threePointArc((-0.5, -0.392), (-0.797, -0.208)).threePo... | 8 | 77 | 0.882314 |
train_c55a9bd16786d1e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.281), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.12).lineTo(1, -0.131).lineTo(0.782, -0.131).lineTo(0.782, 0.12).threePointArc((0.804, 0.131), (0.821, 0.12)).threePointArc((0.842, 0.109), (0.864, 0.12)).threePointArc((0.885, 0.131), ... | 2 | 11 | 0.845346 |
train_94c7e5687abbd445 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.028, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.583, 1).lineTo(0.583, -1).lineTo(-0.583, -1).lineTo(-0.583, 1).lineTo(0.583, 1).close().extrude(0.653)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.028, 0, -0.305), normal=(0,... | 9 | 75 | 1.166378 |
train_6c64204eed160a3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.22), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.939, 0.73).lineTo(0.939, 0).lineTo(-0.939, 0).lineTo(-0.939, 0.73).lineTo(-0.775, 0.73).lineTo(-0.775, 0.165).lineTo(0.775, 0.165).lineTo(0.775, 0.73).lineTo(0.939, 0.73).close().extrude(0... | 6 | 37 | 0.371782 |
train_9039d3184774f556 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.248, -0.324, -0.417), normal=(-0.737, -0.668, -0.107), xDir=(0.671, -0.741, 0))).moveTo(0.168, 0.254).lineTo(0.168, 0.152).lineTo(0.504, 0.152).lineTo(0.504, -0.254).lineTo(0.168, -0.254).lineTo(0.168, -0.152).lineTo(-0.168, -0.152).lineTo(-0.16... | 12 | 248 | 1.052644 |
train_1656e3f6b0e91f14 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.675), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.523, 0.88).threePointArc((-0.44, 0.845), (-0.405, 0.762)).lineTo(-0.405, -0.071).threePointArc((-0.341, -0.221), (-0.191, -0.285)).lineTo(0.855, -0.285).threePointArc((0.957, -0.328), (1,... | 10 | 14 | 2.484589 |
train_d760beedb1d4b047 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.776, -0.092).lineTo(0.991, -0.139).lineTo(0.981, -0.198).lineTo(0.764, -0.162).lineTo(0.739, -0.252).lineTo(0.94, -0.342).lineTo(0.918, -0.397).lineTo(0.714, -0.318).lineTo(0.671, -0.4).line... | 6 | 304 | 0.406819 |
train_1a2063a91348547f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.134, 0.027, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.718, 0).threePointArc((0, -0.718), (-0.718, 0)).threePointArc((0, 0.718), (0.718, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.134, 0.027, -0.278), normal=(0, -1, 0), xDir=(... | 16 | 175 | 0.647727 |
train_70c02741c985e512 | 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, 0.197).lineTo(0, -0.098).lineTo(0.188, -0.098).lineTo(0.188, -0.197).lineTo(-0.188, -0.197).lineTo(-0.188, 0.197).lineTo(0, 0.197).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane... | 7 | 6 | 0.296288 |
train_22f22c2d9823ccfc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.802), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.394).lineTo(0.943, -0.219).threePointArc((0.891, -0.342), (0.77, -0.394)).lineTo(-0.82, -0.394).threePointArc((-0.905, -0.358), (-0.943, -0.268)).lineTo(-0.943, 0.165).lineTo(-0.716... | 13 | 85 | 2.310909 |
train_6447c94521592c16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.022, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.221, 0.221).lineTo(0.221, -0.221).lineTo(-0.221, -0.221).lineTo(-0.221, 0.221).lineTo(0.221, 0.221).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.022, 0, 0.338),... | 5 | 38 | 0.307057 |
train_d5186646f976474e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.464, 0.487).threePointArc((0.523, 0.462), (0.548, 0.404)).lineTo(0.548, -0.421).threePointArc((0.527, -0.466), (0.481, -0.487)).lineTo(-0.473, -0.487).threePointArc((-0.525, -0.464), (-0.5... | 11 | 63 | 0.603679 |
train_838e5b29a868d151 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.44), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.88).lineTo(1, 0.072).lineTo(0.685, 0.072).lineTo(0.685, 0).lineTo(0.125, 0).lineTo(0.125, 0.88).lineTo(1, 0.88).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 9 | 79 | 2.044759 |
train_d58ad9d61b474d7d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.373, -0.074, 0.664), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.046, 0.687).lineTo(-0.046, 0.187).lineTo(0.291, 0.187).lineTo(0.291, -0.058).lineTo(-0.291, -0.058).lineTo(-0.291, 0.687).lineTo(-0.046, 0.687).close().revolve(angleDegrees=90, a... | 4 | 32 | 0.288535 |
train_68327dabc2d21d21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.053, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.696).lineTo(1, 0).lineTo(1, -0.696).lineTo(-1, -0.696).lineTo(-1, 0).lineTo(-1, 0.696).lineTo(-0.829, 0.696).lineTo(-0.664, 0).lineTo(-0.664, 0.696).lineTo(-0.498, 0.696).lineT... | 21 | 200 | 0.393842 |
train_97ff9923ef9e80e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.189, -0.499, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.166, 0.167).threePointArc((0.181, 0.161), (0.186, 0.147)).lineTo(0.186, -0.147).threePointArc((0.181, -0.161), (0.166, -0.167)).lineTo(-0.166, -0.167).threePointArc((-0.181, -0.1... | 3 | 18 | 0.126127 |
train_1a4ccce1b7209173 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.519, -0.999, 0.186), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.186, 0.293).threePointArc((0.3, 0.246), (0.348, 0.131)).lineTo(0.348, 0.051).threePointArc((0.3, -0.063), (0.186, -0.111)).lineTo(-0.186, -0.111).threePointArc((-0.3, -0.063), (-0.... | 19 | 737 | 0.788119 |
train_c46e01871c69b8d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.005, 0.378).threePointArc((0.232, 0.355), (0.332, 0.302)).lineTo(0.332, -0.049).threePointArc((0.367, -0.068), (0.45, -0.076)).lineTo(0.811, -0.076).threePointArc((0.937, -0.089), (1,... | 24 | 69 | 0.348705 |
train_6af957419eb4f4e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.51, 0.067, -0.492), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.087, 0.676).threePointArc((0.406, 0.449), (0.488, -0.003)).threePointArc((0.284, -0.413), (-0.087, -0.543)).threePointArc((-0.406, -0.315), (-0.488, 0.136)).threePointArc((-0.284, ... | 21 | 393 | 1.229935 |
train_289d7c2d1616a879 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0.005, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.003).extrude(0.541)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.007, 0.005, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.16, 0.542), (-0.586, 0.912),... | 12 | 128 | 0.579088 |
train_33350117c4bf3a59 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.84).lineTo(0.556, -0.84).lineTo(-0.556, -0.84).lineTo(-1, 0.84).lineTo(1, 0.84).close().extrude(0.239)
result = result.union(cq.Workplane(cq.Plane(origin=(0.135, 0, 0.137), normal=(0, 0,... | 12 | 110 | 0.956867 |
train_f09e9a1d3096924c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.877), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.821, 1).threePointArc((0.94, 0.94), (1, 0.821)).lineTo(1, -0.338).threePointArc((0.8, -0.8), (0.338, -1)).lineTo(-0.538, -1).threePointArc((-0.855, -0.855), (-1, -0.538)).lineTo(-1, 0.831)... | 10 | 318 | 4.325949 |
train_89fdb279804d9cb5 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.151, 0.998).threePointArc((0.275, 0.958), (0.327, 0.864)).lineTo(0.327, 0.604).threePointArc((0.368, 0.531), (0.464, 0.499)).lineTo(0.815, 0.499).threePointArc((0.931, 0.462), (0.98, 0.373)).lineTo(0.98, 0.151).threePointArc((0.922, 0.045), (0.783, ... | 7 | 184 | 1.76135 |
train_509507693aa743e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.169, -0.019, 0.07), normal=(0.104, -0.173, -0.979), xDir=(0, 0.985, -0.174))).moveTo(0.057, 0.415).lineTo(0.154, 0.161).threePointArc((0.186, 0.145), (0.173, 0.09)).lineTo(0.197, -0.044).threePointArc((0.156, -0.176), (0.23, -0.261)).lineTo(0.2... | 14 | 263 | 0.344921 |
train_4ac9ca35da6b3930 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.857, 0.439).lineTo(1, 0.304).lineTo(1, -0.198).lineTo(0.755, -0.439).lineTo(-0.824, -0.439).threePointArc((-0.941, -0.388), (-1, -0.267)).lineTo(-1, 0.439).lineTo(0.857, 0.439).close().ext... | 8 | 100 | 0.506909 |
train_0c1c45353b55dc17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.609).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.609).lineTo(-0.789, 0.609).lineTo(-0.789, 0.211).lineTo(0.789, 0.211).lineTo(0.789, 0.609).lineTo(1, 0.609).close().extrude(0.2, both=True)... | 7 | 67 | 0.181189 |
train_ffd16ed330af433f | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(0.324, 0.284).threePointArc((0.477, 0.32), (0.513, 0.167)).lineTo(0.636, 0.196).threePointArc((0.66, 0.194), (0.672, 0.174)).lineTo(0.696, 0.07).threePointArc((0.704, 0.052), (0.718, 0.039)).lineTo(0.794, -0.009).threePointArc((0.947, 0.027), (0.982, ... | 4 | 128 | 0.862205 |
train_fef3eef4f454c9c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.05, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.227, 1).lineTo(0.636, 0.797).lineTo(1.016, 0).lineTo(0.636, -0.797).lineTo(-0.227, -1).lineTo(-0.916, -0.442).lineTo(-0.916, 0.442).lineTo(-0.227, 1).close().extrude(0.425)
result = r... | 10 | 92 | 0.649491 |
train_00b05a2df6a215b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.58, -0.646, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.204, 1.471).threePointArc((0.308, 1.365), (0.737, 1.067)).threePointArc((0.969, 0.656), (0.941, 0.244)).threePointArc((0.661, -0.062), (0.204, -0.177)).threePointArc((-0.308, -0.072),... | 19 | 13 | 2.584128 |
train_144623423c4c0b31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.763), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.666, 0.376).threePointArc((0.895, 0.28), (1, 0.047)).lineTo(1, -0.376).lineTo(-0.692, -0.376).threePointArc((-0.902, -0.288), (-1, -0.072)).lineTo(-1, 0.21).threePointArc((-0.943, 0.329), ... | 8 | 47 | 1.403225 |
train_9de98286976c34f1 | 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.631, 1).lineTo(0.813, 0.82).lineTo(0.813, -0.915).lineTo(0.728, -1).lineTo(-0.738, -1).lineTo(-0.813, -0.925).lineTo(-0.813, 0.911).lineTo(-0.723, 1).lineTo(0.631, 1).close().extrude(0.185... | 4 | 45 | 0.546927 |
train_dd2835c0f454f2e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.116, -0.23, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.77, 0.77).lineTo(0.77, -0.77).lineTo(-0.77, -0.77).lineTo(-0.77, 0.257).lineTo(0.257, 0.257).lineTo(0.257, 0.77).lineTo(0.77, 0.77).close().extrude(0.646)
result = result.cut(cq.W... | 4 | 28 | 1.338233 |
train_f6d09453c75be7b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.053, 0, 0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.097).lineTo(0.068, 0.068).lineTo(0.097, 0).lineTo(0.068, -0.068).lineTo(0, -0.097).lineTo(-0.068, -0.068).lineTo(-0.097, 0).lineTo(-0.068, 0.068).lineTo(0, 0.097).close().extrude(1.... | 12 | 96 | 0.037534 |
train_966919bdc068de44 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.25, 0.8, 0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.195).threePointArc((0.065, 0.168), (0.091, 0.104)).threePointArc((0.065, 0.04), (0, 0.013)).threePointArc((-0.065, 0.04), (-0.091, 0.104)).threePointArc((-0.065, 0.168), (0, 0.195))... | 10 | 52 | 0.172473 |
train_7964ec0c36b36363 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.005, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.246, 0.252).lineTo(0.382, 0.185).threePointArc((0.514, 0.056), (0.401, -0.089)).lineTo(0.193, -0.228).threePointArc((0.022, -0.278), (-0.032, -0.109)).lineTo(-0.033, 0.077).threePointArc(... | 2 | 22 | 0.862217 |
train_53769632db8d39b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, -0.78, 0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.278, 1.034).lineTo(0.538, 0.927).threePointArc((0.619, 0.619), (0.76, 0.76)).lineTo(0.927, 0.538).threePointArc((0.842, 0.227), (1.034, 0.278)).lineTo(1.07, 0).threePointArc((0.842,... | 19 | 248 | 2.053008 |
train_2ff00f59f52a4849 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.542, -0.394, -0.056), normal=(0.414, 0.29, -0.863), xDir=(-0.573, 0.819, 0))).moveTo(0.32, 0).threePointArc((0, -0.32), (-0.32, 0)).threePointArc((0, 0.32), (0.32, 0)).close().moveTo(0.091, 0).threePointArc((0.183, 0), (0.228, -0.091)).threePoi... | 8 | 111 | 0.518413 |
train_5064f2eba2d74a59 | 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.265, 0.118).lineTo(0.278, 0.057).threePointArc((0.267, 0.051), (0.255, 0.049)).lineTo(0.229, 0.059).threePointArc((0.224, 0.045), (0.209, 0.04)).lineTo(0.192, 0.039).threePointArc((0.187, 0.03... | 2 | 54 | 0.142215 |
train_26a77ef05be476d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.002, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, -0.159).lineTo(0.98, -0.199).lineTo(0.952, -0.306).lineTo(0.899, -0.308).lineTo(0.835, -0.454).lineTo(0.862, -0.507).lineTo(0.802, -0.599).lineTo(0.75, -0.584).lineTo(0.643, ... | 4 | 115 | 1.126169 |
train_2baab86c5ebec2cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.097, -0.895, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.556, 1.812).lineTo(0.841, 1.2).lineTo(0.7, 0.589).threePointArc((0.507, 0.312), (0.556, -0.022)).threePointArc((-0.841, 0.894), (0.556, 1.812)).close().workplane(offset=0.089).moveTo(... | 32 | 262 | 0.221574 |
train_61b3e219ce180db3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.995), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.142, -0.031).lineTo(0.133, -0.06).lineTo(0.188, -0.109).lineTo(0.162, -0.145).lineTo(0.098, -0.108).lineTo(0.073, -0.126).lineTo(0.088, -0.199).lineTo(0.046, -0.213).lineTo(0.015, -0.145).... | 6 | 97 | 0.15966 |
train_aaf697ca073630a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.199, 0.178, -0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.247, 0.475).threePointArc((0.3, 0.462), (0.322, 0.431)).lineTo(0.322, 0.158).threePointArc((0.354, 0.114), (0.43, 0.095)).lineTo(0.578, 0.095).threePointArc((0.625, 0.083), (0.644,... | 24 | 447 | 0.648202 |
train_170986408f6359ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.021, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.919, 0.349).threePointArc((0.976, 0.326), (1, 0.269)).lineTo(1, -0.3).threePointArc((0.985, -0.335), (0.95, -0.349)).lineTo(-0.947, -0.349).threePointArc((-0.984, -0.334), (-1, -0.297)... | 19 | 73 | 0.127001 |
train_3ac0f7ad7859a4de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.209, 0.24, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.508, -0.213).lineTo(0.432, -0.406).lineTo(0.314, -0.558).lineTo(0.165, -0.657).lineTo(0, -0.691).lineTo(-0.165, -0.657).lineTo(-0.314, -0.558).lineTo(-0.432, -0.406).lineTo(-0.508, ... | 10 | 86 | 1.070009 |
train_2aa8f0a3691bda0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.32, 1.432, -0.918), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.432, 2.003).lineTo(0.803, 0.616).threePointArc((1.049, 0.062), (0.803, -0.491)).lineTo(-0.615, -2.084).lineTo(-1.016, -1.633).threePointArc((-1.049, -1.558), (-1.016, -1.484)).line... | 18 | 88 | 0.409984 |
train_1a3ff2d9c235587a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.246, 0.612, 0.116), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.121, 0.264).threePointArc((0.124, 0.193), (0.16, 0.132)).lineTo(0.173, 0).lineTo(0.169, -0.132).lineTo(0.121, -0.264).threePointArc((-0.003, -0.387), (-0.126, -0.264)).lineTo(-0.16... | 4 | 45 | 0.281453 |
train_be4dba9d0c1e3215 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.056, -0.586), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.895, 0.359).threePointArc((0.969, 0.328), (1, 0.254)).lineTo(1, -0.231).lineTo(0.871, -0.231).lineTo(0.871, -0.359).lineTo(-0.936, -0.359).lineTo(-0.936, -0.296).lineTo(-1, -0.296).lin... | 5 | 67 | 1.635109 |
train_77cb51779c0b2372 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.63, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.138, 0.37).threePointArc((0.356, 0.28), (0.445, 0.062)).lineTo(0.445, -0.062).threePointArc((0.356, -0.28), (0.138, -0.37)).lineTo(-0.138, -0.37).threePointArc((-0.356, -0.28), (-0.445, -0.... | 4 | 26 | 1.712556 |
train_9a4a803fb846ddf9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.315, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.237).lineTo(1, -0.236).threePointArc((0.997, -0.241), (0.992, -0.242)).lineTo(-1, -0.242).lineTo(-1, 0.234).lineTo(-0.991, 0.242).lineTo(0.992, 0.242).lineTo(0.992, 0.237).lineTo(1,... | 6 | 20 | 0.419285 |
train_2a7355f7dc2f9c48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.899, 0.102).threePointArc((0.969, 0.072), (1, 0.002)).lineTo(1, -0.015).threePointArc((0.974, -0.077), (0.912, -0.102)).lineTo(-0.899, -0.102).threePointArc((-0.969, -0.072), (-1, -0.002))... | 11 | 67 | 0.048493 |
train_9c8ab9fbdb7c7688 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.211, 0.235, -0.711), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.523, 0.508).threePointArc((0.556, 0.491), (0.57, 0.452)).lineTo(0.57, 0.056).threePointArc((0.514, -0.102), (0.381, -0.169)).lineTo(0.113, -0.169).threePointArc((0.034, -0.209), (0... | 16 | 288 | 0.603223 |
train_259432cab54f0c82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.298, 0.478, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.521).threePointArc((0.551, 0), (0, -0.521)).threePointArc((-0.551, 0), (0, 0.521)).close().moveTo(-0.385, 0.083).threePointArc((-0.324, 0.058), (-0.298, 0)).threePointArc((-0.324... | 8 | 260 | 0.912218 |
train_25d00a8ff31ebb2d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.301, 0.353).threePointArc((0.521, 0.468), (1, 0.27)).lineTo(0.301, -0.353).threePointArc((-0.521, -0.468), (-1, -0.27)).threePointArc((-0.905, -0.192), (-0.498, -0.135)).lineTo(-0.969, 0.063).threePointArc((-0.561, 0.119), (-0.475, 0.197)).threePoi... | 1 | 22 | 0.434969 |
train_91e7e72e6113fcc4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.023, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.816, 0.317).lineTo(1, 0.133).lineTo(1, -0.317).lineTo(-1, -0.317).lineTo(-1, 0.178).lineTo(-0.861, 0.317).lineTo(0.816, 0.317).close().extrude(0.162)
result = result.union(cq.Workplan... | 14 | 137 | 0.371314 |
train_c375d84db927c48b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.924, -0.759, -0.345), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.604, 2.504).threePointArc((0.64, 2.489), (0.655, 2.453)).lineTo(0.655, 1.394).threePointArc((0.64, 1.358), (0.604, 1.343)).lineTo(-0.604, 1.343).threePointArc((-0.64, 1.358), (-0... | 7 | 248 | 1.776478 |
train_5fe4d0a4f46d502a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.279, 0.118).threePointArc((0.36, 0.085), (0.394, 0.002)).lineTo(0.394, -0.002).threePointArc((0.36, -0.085), (0.279, -0.118)).lineTo(-0.306, -0.118).threePointArc((-0.368, -0.093), (-0.394... | 9 | 56 | 0.170879 |
train_764a184b66133139 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.175, 0.06, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.308, 0).lineTo(0.287, -0.077).lineTo(0.282, -0.128).threePointArc((0.231, -0.133), (0.107, -0.175)).threePointArc((0.077, -0.133), (-0.021, -0.047)).threePointArc((0.001, 0), (0.02... | 7 | 96 | 0.312048 |
train_ebe6f1abbe60dccd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.774).lineTo(0.442, 0.553).lineTo(0.553, 0.442).lineTo(0.442, 0.332).lineTo(0.111, 0).lineTo(0.111, -1).lineTo(-0.111, -1).lineTo(-0.111, 0).lineTo(-0.442, 0.332).lineTo(-0.553, 0.44... | 12 | 41 | 0.114722 |
train_6d435d0dd86b67da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.055, 0.314, 0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.349, 0.635).threePointArc((0.412, 0.553), (0.664, 0.464)).threePointArc((0.988, -0.406), (0.28, -0.635)).threePointArc((0.03, -0.469), (-0.167, -0.522)).threePointArc((-0.988, 0.63... | 11 | 130 | 0.935884 |
train_2081a40403bc411d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.631, -0.795), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.621, 0.369).threePointArc((0.704, 0.334), (0.739, 0.252)).lineTo(0.739, -0.176).threePointArc((0.681, -0.312), (0.546, -0.369)).lineTo(-0.702, -0.369).threePointArc((-0.728, -0.358), ... | 4 | 50 | 2.475684 |
train_a43975b7ed267799 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.107, 0.418).threePointArc((0.383, 0.385), (0.5, 0.308)).lineTo(0.5, -0.086).threePointArc((0.557, -0.123), (0.692, -0.139)).lineTo(0.879, -0.139).threePointArc((0.964, -0.149), (1, -0... | 21 | 60 | 0.273904 |
train_ed39054c9eb2752c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.998), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.002, 0.085).lineTo(0.06, 0.06).lineTo(0.085, -0.001).lineTo(0.059, -0.062).lineTo(-0.002, -0.085).lineTo(-0.061, -0.06).lineTo(-0.085, 0).lineTo(-0.062, 0.058).lineTo(0.002, 0.085).close()... | 7 | 114 | 0.019699 |
train_97df3950e107a2f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.444), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.569, 0.573).threePointArc((0.638, 0.553), (0.667, 0.506)).lineTo(0.667, 0.401).threePointArc((0.691, 0.361), (0.749, 0.344)).lineTo(0.89, 0.344).threePointArc((0.967, 0.321), (1, 0.268)).l... | 8 | 83 | 0.494687 |
train_f43f6b286a13b258 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.579, -0.061, 0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.173, 0.35).lineTo(0.272, 0.268).lineTo(0.074, 0.103).lineTo(0.124, 0.062).lineTo(0.222, -0.021).lineTo(0.272, -0.062).threePointArc((0.321, -0.103), (0.371, -0.144)).lineTo(0.42, ... | 9 | 183 | 0.882072 |
train_ea4f122790e73461 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.416, 0.994).lineTo(0.416, -0.993).lineTo(0.41, -0.993).lineTo(0.41, -1).lineTo(-0.406, -1).lineTo(-0.406, -0.989).lineTo(-0.416, -0.989).lineTo(-0.416, 0.994).lineTo(-0.411, 0.994).lineTo(... | 9 | 34 | 0.351152 |
train_bc0f02d330bdd2ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.292, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.255, 0.104).lineTo(0.255, -0.107).threePointArc((0.253, -0.111), (0.248, -0.113)).lineTo(-0.24, -0.113).threePointArc((-0.251, -0.109), (-0.255, -0.099)).lineTo(-0.255, 0.1).threePoint... | 12 | 116 | 0.146836 |
train_f1ed7904d5ab6f6b | 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.482, 0.207).workplane(offset=2).rect(0.572, 0.124).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.287, -0.059, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).spline([(1.496, 1), (1.448,... | 6 | 64 | 0.125018 |
train_1282b8d5aaed68ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.193, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.308, 0.539).lineTo(0.336, 0.401).lineTo(0.281, 0.262).lineTo(0.277, 0.124).threePointArc((0.317, 0.052), (0.365, -0.014)).threePointArc((0.305, -0.07), (0.308, -0.152)).threePointArc((-0.3... | 3 | 53 | 0.858314 |
train_9541b58fe6be4675 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.053, 0.133, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.008, 0.171).threePointArc((0.03, 0.161), (0.039, 0.137)).lineTo(0.039, 0.115).threePointArc((0.048, 0.095), (0.067, 0.086)).lineTo(0.156, 0.086).threePointArc((0.184, 0.073), (0.196, ... | 46 | 251 | 0.216813 |
train_bde6a24793c06e7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.002, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.875, -0.173).lineTo(0.976, -0.223).lineTo(0.96, -0.284).lineTo(0.853, -0.263).lineTo(0.785, -0.424).lineTo(0.867, -0.501).lineTo(0.834, -0.555).lineTo(0.737, -0.503).lineTo(0.626... | 2 | 87 | 2.212639 |
train_e14a71f0aa9d931e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.717), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.334, 0.936).threePointArc((0.538, 0.782), (0.662, 0.509)).threePointArc((0.684, 0.16), (0.602, -0.215)).threePointArc((0.428, -0.556), (0.19, -0.813)).threePointArc((-0.078, -0.947), (-0.3... | 14 | 900 | 2.881171 |
train_f12aeb147e662d58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.689, 0.282).lineTo(0.689, 0.202).lineTo(1, 0.202).lineTo(1, -0.282).lineTo(-0.696, -0.282).threePointArc((-0.749, -0.261), (-1, -0.208)).lineTo(-1, 0.151).threePointArc((-0.732, 0.244), (-... | 16 | 119 | 0.143038 |
train_c696efdaf437ccb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.669, 0.893).threePointArc((0.902, 0.849), (1, 0.745)).lineTo(1, -0.299).threePointArc((0.902, -0.403), (0.67, -0.446)).lineTo(0.34, -0.446).threePointArc((0.101, -0.491), (0, -0.598))... | 3 | 44 | 1.11452 |
train_c040caaddbe92051 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.079, -0.147, 0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.098, 0.509).threePointArc((0.279, 0.499), (0.469, 0.456)).lineTo(0.532, 0.413).threePointArc((0.424, -0.401), (0.362, -0.458)).threePointArc((0.293, -0.485), (0.115, -0.509)).lin... | 22 | 328 | 0.756145 |
train_9c69ba1adfa7ac36 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.393, 0, -0.227), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.606, 0.454).lineTo(0.606, 0).lineTo(-0.606, 0).lineTo(-0.606, 0.454).lineTo(-0.391, 0.454).lineTo(-0.391, 0.217).lineTo(0.391, 0.217).lineTo(0.391, 0.454).lineTo(0.606, 0.454).close()... | 3 | 29 | 0.26644 |
train_ea5c4aab9f37c783 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.935).lineTo(0.5, 0.467).lineTo(1, 0.467).lineTo(1, -0.467).lineTo(0.5, -0.467).lineTo(0.5, -0.935).lineTo(0, -0.935).lineTo(0, 0).lineTo(-1, 0).lineTo(-1, 0.935).lineTo(0.5, 0.935).cl... | 20 | 37 | 0.455683 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.