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_6cda9df4d08d6291 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.742, 0.576).threePointArc((0.923, 0.55), (1, 0.487)).lineTo(1, -0.454).threePointArc((0.895, -0.54), (0.647, -0.576)).lineTo(-0.752, -0.576).threePointArc((-0.926, -0.551), (-1, -0.491)).li... | 6 | 366 | 1.26462 |
train_b4dd1d2b337b3dc1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.393, -0.322, 0.722), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.37, 0.067).threePointArc((0.397, -0.004), (0.385, -0.021)).lineTo(0.35, 0.003).lineTo(0.328, -0.046).lineTo(0.313, -0.048).lineTo(0.279, -0.024).lineTo(0.254, -0.058).lineTo(0.219... | 9 | 154 | 0.293734 |
train_ddfb4ec20ecade50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.35), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.931).threePointArc((0.96, 0.903), (1, 0.835)).lineTo(1, -0.702).threePointArc((0.905, -0.863), (0.68, -0.931)).lineTo(-0.576, -0.931).threePointArc((-0.874, -0.841), (-1, -0.628)... | 8 | 18 | 2.119547 |
train_3bbcd903d598ce1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.06, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.556, 0.939).threePointArc((0.825, 0.825), (0.939, 0.556)).lineTo(0.939, -0.1).threePointArc((0.876, -0.25), (0.726, -0.313)).lineTo(0.442, -0.313).threePointArc((0.351, -0.351), (0.313, -0.... | 9 | 122 | 1.527539 |
train_4b9ff044031bcd7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.106, 0, -0.74), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.899).extrude(1.479)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.793, 0, -0.74), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.264, 0.635), (-0.899, 0.899), (-1.534... | 6 | 56 | 3.246346 |
train_86afa97cce6edbdb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, 0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 0.332).threePointArc((0.47, 0.299), (0.654, 0.253)).lineTo(0.946, 0.074).threePointArc((0.966, 0.001), (0.947, -0.072)).lineTo(0.624, -0.273).threePointArc((0.497, -0.305), (0.356... | 10 | 102 | 0.924508 |
train_28f1898791f5d470 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.02, 0.086).lineTo(0.055, 0.069).lineTo(0.079, 0.038).lineTo(0.088, 0).lineTo(0.079, -0.038).lineTo(0.055, -0.069).lineTo(0.02, -0.086).lineTo(-0.02, -0.086).lineTo(-0.055, -0.069).lineTo(-0.079, -0.038).lineTo(-0.088, 0).lineTo(-0.079, 0.038).lineTo... | 6 | 58 | 0.031632 |
train_a2adacfe6cafce04 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.242, -0.277, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.025, 0.233).lineTo(0.06, 0.224).lineTo(0.1, 0.151).lineTo(0.095, 0.07).lineTo(0.033, -0.002).lineTo(-0.061, 0.023).lineTo(-0.1, 0.102).lineTo(-0.093, 0.183).lineTo(-0.025, 0.233... | 7 | 99 | 0.212369 |
train_5be60bcf2bab9440 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.366), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.445, 0.434).threePointArc((0.056, 0.426), (0.542, 0.305)).threePointArc((0.882, 0.101), (0.987, -0.129)).threePointArc((0.827, -0.325), (0.445, -0.434)).threePointArc((-0.056, -0.426), (-... | 6 | 70 | 0.813644 |
train_2fbe2db0766344f1 | 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.43, 1).lineTo(0.43, 0.854).lineTo(0.576, 0.854).lineTo(0.576, -1).lineTo(-0.464, -1).threePointArc((-0.543, -0.967), (-0.576, -0.888)).lineTo(-0.576, 0.801).lineTo(-0.377, 1).lineTo(0.43, ... | 4 | 21 | 0.418969 |
train_d50b8358618c0de6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.183, -0.1, 0.52), normal=(-0.267, 0.885, -0.38), xDir=(-0.957, -0.289, 0))).moveTo(0.25, 0.213).threePointArc((0.281, 0.199), (0.295, 0.168)).lineTo(0.295, -0.168).threePointArc((0.281, -0.199), (0.25, -0.213)).lineTo(-0.25, -0.213).threePointA... | 14 | 149 | 0.780293 |
train_24b2d6e755d2e549 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.442), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.396).lineTo(1, -0.02).threePointArc((0.889, -0.286), (0.623, -0.396)).lineTo(-1, -0.396).lineTo(-1, 0.396).lineTo(1, 0.396).close().extrude(0.28)
result = result.union(cq.Workplane(cq.P... | 7 | 24 | 1.011482 |
train_4c36a658818aa1ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.028, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.329, 0.653).threePointArc((0.379, 0.627), (0.4, 0.566)).lineTo(0.4, 0.449).threePointArc((0.43, 0.363), (0.5, 0.327)).lineTo(0.572, 0.327).threePointArc((0.638, 0.292), (0.667, 0.21)).line... | 9 | 52 | 1.505576 |
train_f38f8bebe338fbee | 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.19, 0.583).lineTo(0.496, 0.361).lineTo(0.615, 0).lineTo(0.496, -0.361).lineTo(0.19, -0.583).lineTo(-0.19, -0.583).lineTo(-0.496, -0.361).lineTo(-0.615, 0).lineTo(-0.496, 0.361).lineTo(-0.19, 0... | 4 | 21 | 0.848558 |
train_9890fe8cfd71d381 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.056, 0.099, 0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 0.459).threePointArc((0.58, 0.155), (0.459, -0.265)).threePointArc((0.155, -0.58), (-0.265, -0.459)).threePointArc((-0.58, -0.155), (-0.459, 0.265)).threePointArc((-0.155, 0.58... | 27 | 88 | 0.643503 |
train_fcc436301e77605b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.077, 0, -0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.432, 0.387).threePointArc((0.62, 0.357), (0.779, 0.273)).threePointArc((0.885, 0.147), (0.922, -0.001)).threePointArc((0.885, -0.148), (0.778, -0.274)).threePointArc((0.619, -0.357), (... | 22 | 504 | 0.162553 |
train_8bac1dfd9816cee0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.058, -0.318, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.059, 0.071).lineTo(0.082, 0.039).lineTo(0.066, -0.011).threePointArc((0.009, -0.08), (-0.03, -0.098)).lineTo(-0.082, 0.048).threePointArc((-0.066, 0.098), (0.059, 0.071)).close().moveT... | 4 | 78 | 0.161492 |
train_dbde57cabd98bf7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.007, 0.07), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.648, 0.64).lineTo(0.896, 0.596).lineTo(0.847, 0.501).lineTo(1, 0.328).lineTo(0.974, 0.286).lineTo(0.81, 0.181).lineTo(0.822, 0.134).lineTo(0.943, -0.021).lineTo(0.754, -0.15).lineTo(0.7... | 6 | 68 | 1.408429 |
train_98888edf4333eebd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.587, 0.205, 0.34), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.527, 0.588).threePointArc((0, 0.06), (-0.527, 0.588)).threePointArc((0, 1.113), (0.527, 0.588)).close().workplane(offset=0.221).moveTo(0.335, 0.588).threePointArc((0, 0.252), (-0.33... | 15 | 172 | 0.291419 |
train_9b7849e9e09dcb1e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.041, -0.433, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.107, 0.394).threePointArc((0.148, 0.382), (0.165, 0.354)).lineTo(0.165, 0.3).threePointArc((0.157, 0.287), (0.137, 0.281)).lineTo(0.041, 0.281).threePointArc((0.012, 0.273), (0, 0.253... | 10 | 143 | 0.519866 |
train_d4c07eaa3dd04d2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.632, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.217, 0.378).lineTo(0.225, 0.061).lineTo(0.378, -0.217).lineTo(0.061, -0.225).lineTo(-0.217, -0.378).lineTo(-0.225, -0.061).lineTo(-0.378, 0.217).lineTo(-0.061, 0.225).lineTo(0.217, 0.378).... | 3 | 62 | 1.129983 |
train_a2bd4a504d71b382 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.743).threePointArc((0.925, 0.652), (0.999, 0.436)).lineTo(0.999, 0.112).threePointArc((0.913, -0.141), (0.709, -0.248)).lineTo(0.328, -0.248).threePointArc((0.238, -0.295), (0.2, -0.... | 8 | 39 | 0.329842 |
train_df3f8625ea413382 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.387).extrude(0.744, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.255), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.188).extrude(0.17, both=True))
result = result.c... | 6 | 14 | 0.648034 |
train_6324768d68c63edc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.156, 0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.404, 0.694).lineTo(0.732, 0.489).threePointArc((0.842, -0.028), (0.715, -0.483)).threePointArc((0.227, -0.846), (-0.46, -0.55)).threePointArc((-0.842, -0.086), (-0.801, 0.514)).threePoi... | 7 | 68 | 0.628142 |
train_dcdab34666127133 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.93).extrude(1.252)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.934, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.642, 0.885), (-1.682, 0.547), (-1.682, -0.547... | 6 | 141 | 2.866791 |
train_3a7bc3354546de60 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.122, -0.027, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.111, 0.166).threePointArc((0.147, 0.147), (0.166, 0.111)).lineTo(0.166, -0.111).threePointArc((0.147, -0.147), (0.111, -0.166)).lineTo(-0.111, -0.166).threePointA... | 10 | 174 | 0.22065 |
train_30859c23a9bd8d63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.663, 0.705, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.285, 0.076).threePointArc((0.076, 0.285), (0.285, -0.076)).threePointArc((-0.076, -0.285), (-0.285, 0.076)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.663, 0.705, -0.18), norm... | 6 | 44 | 0.266835 |
train_f7ed28665af7122f | 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.115, 0.197).threePointArc((-0.08, 0.182), (-0.066, 0.148)).lineTo(-0.066, 0.099).threePointArc((-0.056, 0.076), (-0.032, 0.066)).lineTo(0.173, 0.066).threePointArc((0.19, 0.059), (0.197, 0.04... | 18 | 34 | 0.152554 |
train_25191640eaf521af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.583).lineTo(1, 0.47).lineTo(1, -0.445).lineTo(0.861, -0.583).lineTo(-0.803, -0.583).lineTo(-1, -0.386).lineTo(-1, 0.583).lineTo(0.887, 0.583).close().extrude(0.252)
result = result.... | 8 | 63 | 0.566463 |
train_87dd245c3e135d87 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.106, 0.413, 0.417), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.303, 0.332).lineTo(0.303, -0.332).threePointArc((0, -0.399), (-0.303, -0.332)).lineTo(-0.303, 0.332).threePointArc((0, 0.399), (0.303, 0.332)).close().extrude(0.223)
result = result... | 15 | 189 | 0.848284 |
train_6609d6bb6027408b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.244, 0.112, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.426, 0.681).lineTo(0.426, 0.341).threePointArc((0.596, 0.17), (0.596, 0)).lineTo(0.312, -0.284).threePointArc((0.279, -0.344), (0.291, -0.412)).lineTo(0.426, -0.681).threePointArc... | 11 | 103 | 1.433178 |
train_65ff64cb9e71b70c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.26, -0.229, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.21, 0.291).lineTo(0.21, 0.013).lineTo(0.095, 0.013).lineTo(0.095, 0.107).lineTo(-0.095, 0.107).lineTo(-0.095, 0.013).lineTo(-0.21, 0.013).lineTo(-0.21, 0.291).lineTo(-0.095, 0.291... | 3 | 51 | 0.18455 |
train_34583757eeb0e1f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.025, -0.051, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.034, 0.166).lineTo(0.156, 0.016).lineTo(0.04, -0.138).lineTo(0.028, -0.166).lineTo(-0.121, -0.026).lineTo(-0.153, -0.02).lineTo(-0.154, 0.005).lineTo(-0.025, 0.026... | 10 | 121 | 0.103073 |
train_b3ce19bf6382b458 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.998).extrude(0.414)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.69).extrude(1.239, both=True))
result = result.union(cq.Wor... | 14 | 55 | 0.928513 |
train_5799528eadddd65f | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.283).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.379).extrude(0.292, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 4 | 11 | 0.220074 |
train_c3875b3a30447fd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.036, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.793).lineTo(1, 0.265).lineTo(0.498, 0.265).lineTo(0.498, -0.793).lineTo(-1, -0.793).lineTo(-1, 0.265).lineTo(0, 0.265).lineTo(0, 0.793).lineTo(1, 0.793).close().extrude(0.179)
resu... | 24 | 55 | 0.91286 |
train_2838616120519191 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 0.185).lineTo(0.9, 0.085).lineTo(1, 0.085).lineTo(1, -0.127).threePointArc((0.983, -0.168), (0.942, -0.185)).lineTo(-1, -0.185).lineTo(-1, 0.185).lineTo(0.9, 0.185).close().extrude(0.54... | 14 | 31 | 0.215563 |
train_6d33fa2d6720c1de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.192, 0.037, -0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, 0.53).threePointArc((0.091, 0.515), (0.106, 0.479)).lineTo(0.106, 0.217).threePointArc((0.139, 0.139), (0.217, 0.106)).lineTo(0.461, 0.106).threePointArc((0.509, 0.085), (0.53... | 26 | 363 | 0.455803 |
train_b7809ba65b88a3ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.326), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.745, 0.651).lineTo(0.745, 0).lineTo(-0.745, 0).lineTo(-0.745, 0.651).lineTo(-0.563, 0.651).lineTo(-0.563, 0.183).lineTo(0.563, 0.183).lineTo(0.563, 0.651).lineTo(0.745, 0.651).close().ext... | 3 | 20 | 0.826971 |
train_782317fd2eac7428 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.225), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.891, 0.617).lineTo(0.891, 0).lineTo(-0.891, 0).lineTo(-0.891, 0.617).lineTo(-0.704, 0.617).lineTo(-0.704, 0.188).lineTo(0.704, 0.188).lineTo(0.704, 0.617).lineTo(0.891, 0.617).close().ext... | 10 | 62 | 0.439873 |
train_f6bcf879356b9a64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.768, 2).extrude(0.255)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.245, 0.853).lineTo(0.245, -0.853).lineTo(-0.245, -0.853).... | 5 | 21 | 0.154793 |
train_7a822fc07cad2a91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.303, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.035, 0.221).threePointArc((-0.01, 0.211), (0, 0.186)).lineTo(0, 0.128).threePointArc((0.005, 0.115), (0.017, 0.111)).lineTo(0.196, 0.111).threePointArc((0.214, 0.104), (0.221, 0.086)).li... | 7 | 90 | 0.288542 |
train_eb8a9f4bd0362435 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.191, 0.369, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.534, 1.092).lineTo(0.763, 0.926).lineTo(0.333, 0.774).lineTo(0.241, 0.362).lineTo(-0.126, 0.452).lineTo(-0.295, 0.709).threePointArc((-0.486, 0.689), (-0.729, 0.724)).lineTo(-0.763, 0.... | 5 | 18 | 1.006035 |
train_ccb21c9228cb95b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.994, -0.016).lineTo(0.998, -0.068).lineTo(0.998, -0.12).lineTo(0.994, -0.172).lineTo(0.986, -0.223).lineTo(0.975, -0.274).lineTo(0.959, -0.324).lineTo(0.939, -0.372).lineTo(0.916, -0.4... | 5 | 260 | 1.658039 |
train_e07a0e1568fe1c33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.227, 0.147, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.245).threePointArc((0.173, 0.173), (0.245, 0)).threePointArc((0.173, -0.173), (0, -0.245)).threePointArc((-0.173, -0.173), (-0.245, 0)).threePointArc((-0.173, 0.173), (0, 0.245)).cl... | 2 | 12 | 0.304553 |
train_d9f264b9832efa09 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.352, -0.395), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.358, 0.372).threePointArc((0.621, 0.109), (0.358, -0.155)).lineTo(-0.358, -0.155).threePointArc((-0.621, 0.109), (-0.358, 0.372)).lineTo(0.358, 0.372).close().extrude(1.394)
result = r... | 13 | 128 | 1.406212 |
train_0d74125af4029751 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.263, 0, -0.158), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.537, 0.182).threePointArc((0.57, 0.177), (0.591, 0.15)).lineTo(0.598, 0.122).threePointArc((0.617, 0.098), (0.647, 0.094)).lineTo(0.679, 0.102).threePointArc((0.709, 0.097), (0.728, 0... | 11 | 193 | 1.274931 |
train_135ed886c232e232 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(1, 0).lineTo(0, -1).lineTo(-1, 0).lineTo(0, 1).close().extrude(0.252)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(... | 16 | 111 | 0.316933 |
train_ead4f2b749a5dc37 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.078, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.351).lineTo(1, -0.363).threePointArc((0.991, -0.382), (0.973, -0.389)).lineTo(-0.973, -0.389).threePointArc((-0.991, -0.382), (-1, -0.363)).lineTo(-1, 0.354).threePointArc((-0.989, ... | 6 | 25 | 0.832516 |
train_dd4cae73e157c8af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.137, 0.454, 0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.541, 0).threePointArc((0, -0.541), (-0.541, 0)).threePointArc((0, 0.541), (0.541, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.137, 0.454, 0.118), normal=(0, -1, 0), xDir=(1, 0... | 3 | 18 | 1.245325 |
train_8505e27337563ce2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.315, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.685, 0.293).lineTo(0.685, -0.293).lineTo(-0.415, -0.293).threePointArc((-0.606, -0.214), (-0.685, -0.024)).lineTo(-0.685, 0.293).lineTo(0.685, 0.293).close().extrude(0.682)
result = r... | 8 | 47 | 0.631336 |
train_64847f0666a498f8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.243, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.821, 0.249).lineTo(1, 0.07).lineTo(1, -0.095).lineTo(0.844, -0.249).lineTo(-0.819, -0.249).threePointArc((-0.946, -0.196), (-1, -0.069)).lineTo(-1, 0.159).threePointArc((-0.973, 0.223)... | 5 | 22 | 0.570701 |
train_6b26ba3e34b538f3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.972, 0.817).lineTo(0.972, -0.817).lineTo(-0.324, -0.817).lineTo(-0.324, 0).lineTo(-0.972, 0).lineTo(-0.972, 0.817).lineTo(0.972, 0.817).close().extrude(0.35, taper=-4.542, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.571, -0.236, ... | 9 | 32 | 1.77625 |
train_acb0cfb0bb3cd4a1 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.842, 1.641, 2)
result = result.edges().fillet(0.046)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.221, -0.432, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.262, 0.479).lineTo(-0.157, 0.42).lineTo(-0.09, 0.302).lineTo(-0.048, 0.167).lineTo(-... | 15 | 80 | 3.443547 |
train_7bed6f44d06f80d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.067, -0.2, 0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.554, 0.611).threePointArc((0.655, 0.611), (0.655, 0.423)).lineTo(0.352, 0.329).lineTo(0.352, 0.235).lineTo(0.453, 0.047).threePointArc((0.352, -0.141), (0.252, -0.141)).lineTo(0.151,... | 10 | 202 | 1.377801 |
train_b817914c6dbfe1e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.255, 0, -0.43), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.316, 1).threePointArc((0.453, 0.925), (0.511, 0.746)).lineTo(0.511, -0.199).threePointArc((0.542, -0.293), (0.614, -0.333)).lineTo(0.877, -0.333).threePointArc((0.979, -0.39), (1.022, -... | 7 | 126 | 1.884319 |
train_482d03fa2fb63085 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.014, -0.918), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.572, 0.424).lineTo(0.612, 0.368).lineTo(0.684, 0.375).lineTo(1, -0.044).lineTo(0.979, -0.081).lineTo(0.989, -0.119).lineTo(0.689, -0.343).threePointArc((0.633, -0.322), (0.591, -0.385... | 3 | 30 | 2.56915 |
train_aa6743d3b41d2a51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.038, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.227, 1.038).lineTo(0.589, 0.829).lineTo(0.304, 0.753).lineTo(0.38, 0.467).lineTo(0.457, 0.181).lineTo(0.533, -0.105).lineTo(0.247, -0.181).lineTo(0.61, -0.39).lineTo(0.324, -0.467).lineTo(... | 1 | 41 | 0.190817 |
train_6fbc8e9c378f1960 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.498, -0.695, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.039, 0.487).lineTo(0.329, 0.386).lineTo(0.416, -0.003).lineTo(0.138, -0.236).lineTo(-0.2, -0.301).lineTo(-0.416, -0.015).lineTo(-0.313, 0.3).lineTo(-0.039, 0.487).close().revolve(an... | 5 | 76 | 0.743318 |
train_670cf7f9a9185220 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.267, 0.031, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.258, 0.393).lineTo(0.161, 0.142).lineTo(0.248, -0.112).lineTo(-0.003, -0.015).lineTo(-0.258, -0.103).lineTo(-0.161, 0.149).lineTo(-0.248, 0.403).lineTo(0.003, 0.307).lineTo(0.258, 0.3... | 13 | 546 | 0.251744 |
train_07c9e873c59edf4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.86, -0.827), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.542, 1.326).lineTo(0.245, 1.217).lineTo(0.778, 0.744).lineTo(0.532, -0.02).lineTo(-0.288, -0.14).lineTo(-0.778, 0.51).lineTo(-0.542, 1.326).close().extrude(1.654)
result = result.face... | 23 | 126 | 0.933512 |
train_72e0479d23ac8263 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.388, 0, -0.251), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.611, 0.502).lineTo(0.611, 0).lineTo(-0.611, 0).lineTo(-0.611, 0.502).lineTo(-0.441, 0.502).lineTo(-0.441, 0.17).lineTo(0.441, 0.17).lineTo(0.441, 0.502).lineTo(0.611, 0.502).close().... | 4 | 51 | 0.209457 |
train_edd7461b6e6c4b40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.321, 0, 0.433), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.338, 0.438).lineTo(0.472, 0.192).lineTo(0.679, -0.365).threePointArc((0.619, -0.43), (0.494, -0.434)).lineTo(0.49, -0.329).threePointArc((0.486, -0.318), (0.475, -0.324)).lineTo(0.429... | 4 | 117 | 0.748585 |
train_8de760b79ec6865a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.248, 1).threePointArc((-0.074, 0.926), (0, 0.752)).lineTo(0, 0.473).threePointArc((0.042, 0.375), (0.14, 0.333)).lineTo(0.518, 0.333).threePointArc((0.622, 0.289), (0.667, 0.184)).lineTo(0... | 9 | 79 | 1.00301 |
train_31ee78c1f888fe10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.188), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.376).lineTo(0.92, 0.273).lineTo(1, 0.131).lineTo(1, 0).lineTo(0.864, 0).lineTo(0.864, 0.113).lineTo(0.764, 0.273).lineTo(0, 0.24).lineTo(0, 0.376).lineTo(0.951, 0.376).close().revo... | 4 | 15 | 0.516187 |
train_9587253250519b19 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.904, 1.108, 2)
result = result.edges().fillet(0.072)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.16).extrude(3.809, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm... | 10 | 64 | 3.698824 |
train_122cf8d0c104dd30 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.77), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.704, 0.704).lineTo(1, 0).lineTo(0.704, -0.704).lineTo(0, -1).lineTo(-0.704, -0.704).lineTo(-1, 0).lineTo(-0.704, 0.704).lineTo(0, 1).close().extrude(1.54)
result = result.cut(c... | 9 | 185 | 3.559056 |
train_e4f2d3027fe3131e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.022, 0.142, -0.518), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.547, 0.762).threePointArc((-0.467, 0.742), (-0.434, 0.696)).lineTo(-0.434, 0.56).threePointArc((-0.407, 0.523), (-0.344, 0.508)).lineTo(-0.116, 0.508).threePointArc((-0.034, 0.487... | 6 | 76 | 0.570195 |
train_e7a467aa99c7853f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.642).lineTo(1, -0.642).lineTo(-1, -0.642).lineTo(-1, 0.642).lineTo(1, 0.642).close().extrude(0.262)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.112), normal=(0, 0, 1), ... | 9 | 35 | 1.009347 |
train_2e9b595d202545af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.173, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.667).lineTo(0.734, 0.461).lineTo(-0.528, 0.461).lineTo(-0.528, -0.461).lineTo(0.734, -0.461).lineTo(0.734, -0.667).lineTo(-0.734, -0.667).lineTo(-0.734, 0.667).lineTo(0.734, 0.667).... | 20 | 133 | 1.481777 |
train_1663863a74bb390d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.255, 0.292, -0.743), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.183, 0.291).threePointArc((0.427, -0.166), (0.076, -0.464)).threePointArc((-0.246, -0.396), (-0.427, -0.074)).lineTo(-0.413, 0.049).threePointArc((-0.247, 0.464), (0.183, 0.291)).c... | 6 | 43 | 1.937632 |
train_5834dd1b5d17ffc3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.774), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.681, 1.224).threePointArc((1.093, 1.053), (1.265, 0.64)).lineTo(1.265, -0.64).threePointArc((1.093, -1.053), (0.681, -1.224)).lineTo(-0.681, -1.224).threePointArc((-1.093, -1.053), (-1.265... | 5 | 52 | 4.160134 |
train_78c81f25a3c0fac8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.264, 0.369, -0.056), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.731, 0.524).lineTo(0.731, -0.524).lineTo(-0.731, -0.524).lineTo(-0.731, 0.524).lineTo(-0.522, 0.524).lineTo(-0.522, -0.094).lineTo(-0.313, -0.094).lineTo(-0.313, 0.524).lineTo(-0.... | 8 | 284 | 0.356464 |
train_8099195197486bbe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.026, 0.162, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.12, 0.241).threePointArc((0.12, 0.241), (0.241, 0.033)).threePointArc((0.12, -0.176), (-0.12, -0.176)).threePointArc((-0.241, 0.033), (-0.12, 0.241)).close().extrude(0.404)
result ... | 6 | 41 | 0.414246 |
train_352f9914e53db876 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.58, 1).lineTo(0.58, -0.98).lineTo(0.568, -1).lineTo(-0.571, -1).lineTo(-0.571, -0.983).lineTo(-0.58, -0.983).lineTo(-0.58, 1).lineTo(0.58, 1).close().extrude(0.241)
result = result.cut(cq.W... | 10 | 50 | 0.242089 |
train_1ac208aa0699eac5 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.849, 0.891).threePointArc((0.949, 0.843), (1, 0.733)).lineTo(1, -0.679).threePointArc((0.935, -0.827), (0.8, -0.891)).lineTo(0.093, -0.891).threePointArc((-0.112, -0.793), (-0.199, -0.567)).lineTo(-0.199, -0.158).threePointArc((-0.241, -0.047), (-0.... | 11 | 109 | 0.54149 |
train_fb3176d5dbf19c48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.063), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.742, 0.381).lineTo(0.912, 0.221).lineTo(1, 0.133).lineTo(1, 0).lineTo(0.719, 0).lineTo(0.719, 0.114).lineTo(0.618, 0.221).lineTo(0, 0.105).lineTo(0, 0.381).lineTo(0.742, 0.381).close().re... | 10 | 59 | 0.534506 |
train_0ab3edaa89c67b64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.543, -0.034, 0.482), normal=(0.729, -0.488, -0.479), xDir=(0.556, 0.831, 0))).moveTo(0.478, 0.478).lineTo(0.478, 0.287).lineTo(-0.287, 0.287).lineTo(-0.287, 0.096).lineTo(0.478, 0.096).lineTo(0.478, -0.478).lineTo(-0.478, -0.478).lineTo(-0.478,... | 9 | 54 | 0.351784 |
train_e3ce3ab28b86471e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.953, -0.658, -0.684), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.905).threePointArc((1.349, 1.349), (1.905, 0)).lineTo(0.839, 0).threePointArc((0.593, 0.593), (0, 0.839)).lineTo(0, 1.905).close().extrude(1.367)
result = result.union(cq.Work... | 12 | 110 | 1.835687 |
train_c327a7248b384bf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.174, 0.693, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.291, 2.003).threePointArc((0.581, 1.938), (0.565, 1.558)).threePointArc((0.619, 1.356), (0.891, 1.159)).threePointArc((0.797, 0.906), (0.391, 0.887)).threePointArc((0.267, 0.814),... | 9 | 12 | 2.509301 |
train_f2291ee3512a2989 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.056, -0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.248).threePointArc((0.95, 0.199), (1, 0.078)).lineTo(1, -0.096).lineTo(0.847, -0.248).lineTo(-0.852, -0.248).lineTo(-1, -0.1).lineTo(-1, 0.078).threePointArc((-0.95, 0.199), (-0... | 10 | 35 | 0.606681 |
train_ba1ebbf99a85a840 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.835)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.237).extrude(2.505, both=True))
result = result.union(cq.Workpl... | 12 | 24 | 0.829249 |
train_d3e05a142a763d07 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.386), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.308, 0.943).lineTo(0.805, 0.585).lineTo(1, 0).lineTo(0.805, -0.585).lineTo(0.308, -0.943).lineTo(-0.308, -0.943).lineTo(-0.805, -0.585).lineTo(-1, 0).lineTo(-0.805, 0.585).lineTo(-0.308, 0... | 8 | 51 | 1.625304 |
train_7aaaa03ab41b3265 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.622, 0.905).lineTo(-0.622, -0.556).lineTo(1, -0.556).lineTo(1, -0.905).lineTo(-1, -0.905).lineTo(-1, 0.905).lineTo(-0.622, 0.905).close().extrude(0.192, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.547, -0.495, -0.249), normal=(0... | 20 | 188 | 0.458775 |
train_81d56d045f1b8b13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.085, 0.239, 0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.63).threePointArc((0.63, 0.63), (0.63, 0)).threePointArc((0.63, -0.63), (0, -0.63)).threePointArc((-0.63, -0.63), (-0.63, 0)).threePointArc((-0.63, 0.63), (0, 0.63)).close().swe... | 7 | 89 | 0.601943 |
train_868a9d2dabad76f8 | 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.6, 0.85).lineTo(0.6, 0).lineTo(1, 0).lineTo(1, -0.425).lineTo(0.6, -0.425).lineTo(0.6, -0.85).lineTo(0.2, -0.85).lineTo(0.2, -0.425).lineTo(-0.2, -0.425).lineTo(-0.2, -0.85).lineTo(-1, -0.8... | 14 | 44 | 0.793403 |
train_0ba7225309d48a79 | 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, 0.203).workplane(offset=2).rect(0.211, 0.286).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.163).extrude(0.609, both=True))... | 4 | 10 | 0.211045 |
train_2347f9649cd5114a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.285), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.195, 0.569).lineTo(0.195, 0.195).lineTo(2, 0.195).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.569).lineTo(0.195, 0.569).close().extrude(0.95, both=True)
result = result.edges(cq.selectors.Near... | 3 | 10 | 0.875145 |
train_6f6fec57c4aeade2 | 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.207, 0.309).workplane(offset=2).rect(0.875, 0.095).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.068).extrude(0.923, both=Tr... | 17 | 42 | 0.508303 |
train_4e2e105032102a17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.261, 0.598, 0.189), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 1.597).threePointArc((0.546, 1.371), (0.772, 0.825)).threePointArc((0.546, 0.281), (0, 0.055)).threePointArc((-0.546, 0.281), (-0.772, 0.825)).threePointArc((-0.546, 1.371), (0, 1... | 11 | 208 | 0.807613 |
train_b78365cabdcfed63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.161, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.757).extrude(0.735)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.758, -0.161, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.119, 0.41), (-0.442, 0.689), (-0.8... | 11 | 87 | 0.744369 |
train_eee647046c910297 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.126, -0.598, 0.396), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.237, 1.126).lineTo(0.549, 0.409).lineTo(0.06, -0.199).lineTo(-0.533, 0.239).lineTo(-0.549, 0.948).lineTo(0.237, 1.126).close().extrude(1.199)
result = result.cut(cq.Workplane(cq.P... | 7 | 40 | 1.072103 |
train_6ec1a76b8003d623 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.283, -0.41, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.348, 1.387).lineTo(0.598, 1.274).threePointArc((0.623, 0.931), (0.705, 0.715)).lineTo(0.906, 0.518).lineTo(0.645, 0.177).lineTo(0.333, -0.108).lineTo(-0.036, -0.354).lineTo(-0.185, 0.0... | 9 | 73 | 1.356731 |
train_da0f0ea97792252a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.112, 0.48, -0.816), normal=(-0.085, -0.383, 0.92), xDir=(0, -0.923, -0.385))).moveTo(0.406, 0.457).threePointArc((0.489, 0.508), (0.433, 0.423)).lineTo(0.307, 0.187).lineTo(0.321, 0.143).lineTo(0.288, 0.124).lineTo(0.257, -0.195).threePointArc((... | 3 | 72 | 1.029576 |
train_1429b2911ae0b954 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, -0.029, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.527, 0.092).threePointArc((0.979, 0.047), (0.539, -0.066)).lineTo(-0.871, -0.148).threePointArc((-0.979, 0.148), (-0.65, 0.019)).lineTo(0.527, 0.092).close().moveTo(0.74, 0.084).threePo... | 15 | 153 | 0.324952 |
train_56ec384579557f82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.195, 0.98).lineTo(0.383, 0.923).threePointArc((0.473, 0.71), (0.556, 0.831)).lineTo(0.707, 0.707).threePointArc((0.709, 0.475), (0.831, 0.556)).lineTo(0.923, 0.383).threePointArc((0.836, 0... | 14 | 412 | 1.385301 |
train_ef2868b213843723 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, -0.136, -0.953), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.18, 0.005).threePointArc((0.166, -0.019), (0.142, -0.005)).threePointArc((0.156, 0.019), (0.18, 0.005)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.004, -0.136, -0.953), norm... | 2 | 10 | 0.051193 |
train_f2148b01f0cddcba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.848, 0.372).lineTo(1, 0.23).lineTo(1, -0.225).lineTo(0.844, -0.372).lineTo(-1, -0.372).lineTo(-1, 0.372).lineTo(0.848, 0.372).close().extrude(0.257)
result = result.union(cq.Workplane(cq.P... | 13 | 212 | 0.296657 |
train_8e0c4df10121db8b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.443, 1.876, 1.321)
result = result.edges().fillet(0.11)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.339), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.385).extrude(2.886, both=Tru... | 10 | 104 | 2.08103 |
train_525393aea03e53e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.666, 0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.197, 0.382).threePointArc((0.197, 0.382), (0.393, 0.042)).threePointArc((0.197, -0.299), (-0.197, -0.299)).threePointArc((-0.393, 0.042), (-0.197, 0.382)).close().revolve(angleDegrees... | 11 | 291 | 0.672052 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.