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_df0f35062385cc40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.43), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.853, 0.151).lineTo(1, 0.004).lineTo(1, -0.004).lineTo(0.853, -0.151).lineTo(-0.864, -0.151).lineTo(-1, -0.013).lineTo(-1, 0.067).lineTo(-0.916, 0.151).lineTo(0.853, 0.151).close().extrude(0... | 8 | 24 | 0.873531 |
train_d2be30daa3922a21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.397, -0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.006, 0.455).lineTo(0.289, 0.172).lineTo(0.289, -0.21).lineTo(0.043, -0.455).lineTo(-0.161, -0.455).lineTo(-0.289, -0.327).lineTo(-0.289, 0.315).lineTo(-0.15, 0.455).lineTo(0.006, 0.455)... | 14 | 44 | 0.683936 |
train_ba8a85776c995a22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.009, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.111).lineTo(0.08, 0.077).lineTo(0.111, 0).lineTo(0.078, -0.079).lineTo(-0.001, -0.111).lineTo(-0.078, -0.079).lineTo(-0.111, 0.001).lineTo(-0.078, 0.079).lineTo(0, 0.111).close().extrude... | 7 | 74 | 0.105281 |
train_37641cb487c3d027 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.701, 0.188, -0.663), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.913, 0.913).lineTo(0.913, 0).lineTo(2.74, 0).lineTo(0, 0).lineTo(-0.913, -0.913).lineTo(-2.74, 0).lineTo(-1.827, 0).lineTo(-0.913, 0.913).close().extrude(1.326, taper=13.12)
resul... | 15 | 55 | 0.557253 |
train_5666ea188fcacdb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.068, 0, -0.926), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.586, 0.123).threePointArc((0.597, 0.119), (0.602, 0.108)).lineTo(0.602, 0.059).threePointArc((0.6, 0.053), (0.594, 0.051)).lineTo(0.542, 0.051).threePointArc((0.53, 0.046), (0.525, 0.0... | 11 | 154 | 0.186653 |
train_bba5921327a63d4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.019, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.179, 0.849).lineTo(0.822, -0.565).threePointArc((0.715, -0.922), (0.179, -0.879)).lineTo(-0.822, 0.535).threePointArc((-0.66, 0.922), (-0.179, 0.849)).close().moveTo(-0.347, 0.72... | 6 | 47 | 1.019122 |
train_68089ee06533ab93 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.653).extrude(1.365)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.044), normal=(0.38, 0, 0.925), xDir=(0.925, 0, -0.38))).circle(0.144).extrude(1.069))
result = result.cut(c... | 9 | 65 | 1.349517 |
train_cf69ecb78d047eb8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.221, 0.185).lineTo(0.221, -0.185).lineTo(-0.221, -0.185).lineTo(-0.221, -0.062).lineTo(0.158, -0.062).lineTo(0.158, 0.062).lineTo(-0.221, 0.062).lineTo(-0.221, 0.185).lineTo(0.221, 0.185).close().extrude(5.838, both=True).intersect(cq.Workplane('XZ'... | 1 | 24 | 0.157541 |
train_81baee1ea631f81b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.185, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.102, 0.351).threePointArc((0.173, 0.341), (0.217, 0.305)).threePointArc((0.228, 0.249), (0.205, 0.182)).threePointArc((0.15, 0.113), (0.073, 0.054)).threePointArc((-0.016, 0.012), (-0.102... | 5 | 29 | 0.199553 |
train_e270fbc9610a9869 | 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.611, 0.639).threePointArc((1, 0), (0.611, -0.639)).lineTo(0, -0.639).lineTo(-0.611, -0.639).threePointArc((-1, 0), (-0.611, 0.639)).lineTo(0, 0.639).lineTo(0.611, 0.639).close().extrude(0.3... | 7 | 17 | 0.812527 |
train_bafced2bee221878 | 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.394, 0.363).lineTo(0.394, 0.218).lineTo(-0.281, 0.218).lineTo(-0.281, 0.073).lineTo(0.394, 0.073).lineTo(0.394, -0.363).lineTo(-0.394, -0.363).lineTo(-0.394, -0.218).lineTo(0.281, -0.218).line... | 11 | 105 | 0.629983 |
train_699f28aef8734fb1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.306), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.625, 0.499).lineTo(0.771, 0.353).lineTo(0.771, -0.334).lineTo(0.606, -0.499).lineTo(-0.561, -0.499).lineTo(-0.771, -0.288).lineTo(-0.771, 0.289).lineTo(-0.562, 0.499).lineTo(0.625, 0.499).... | 6 | 20 | 0.705887 |
train_e14338862e563c4b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.075, -0.037, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.966, 0.769).lineTo(0.088, -0.962).lineTo(-0.966, -0.193).lineTo(-0.614, 0.577).threePointArc((-0.264, 0.962), (0.614, 0.769)).lineTo(0.966, 0.769).close().moveTo(0.439, 0.577).lin... | 9 | 94 | 0.217977 |
train_7dc96d7a06883e0b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.213, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.787, 0.738).lineTo(0.787, 0.106).lineTo(-0.562, 0.106).lineTo(-0.562, -0.106).lineTo(0.787, -0.106).lineTo(0.787, -0.738).lineTo(-0.787, -0.738).lineTo(-0.787, -0.527).lineTo(0.562, -0... | 20 | 334 | 0.263814 |
train_8a8ab73ae1955add | 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.235, 0.387).lineTo(0.235, -0.193).lineTo(0.392, -0.193).lineTo(0.392, -0.387).lineTo(0.079, -0.387).lineTo(0.079, -0.193).lineTo(-0.392, -0.193).lineTo(-0.392, 0).lineTo(-0.235, 0).lineTo(-0.2... | 5 | 330 | 2.072214 |
train_d5458b9caeda9820 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.05, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.796).lineTo(0.824, 0.725).lineTo(0.824, -0.696).lineTo(0.722, -0.796).lineTo(-0.728, -0.796).lineTo(-0.824, -0.702).lineTo(-0.824, 0.729).lineTo(-0.757, 0.796).lineTo(0.751, 0.7... | 9 | 63 | 0.119856 |
train_aa106c3ceae7cfbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.955), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.439).lineTo(1, -0.444).lineTo(0.981, -0.463).lineTo(-0.988, -0.463).lineTo(-1, -0.45).lineTo(-1, 0.441).threePointArc((-0.994, 0.457), (-0.978, 0.463)).lineTo(0.977, 0.463).lineTo(1, 0.... | 14 | 122 | 1.492922 |
train_308fdef971ccd7a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.109, -0.396, 0.144), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.165, 0.128).threePointArc((0.258, 0.036), (0.165, -0.057)).lineTo(-0.165, -0.057).threePointArc((-0.258, 0.036), (-0.165, 0.128)).lineTo(0.165, 0.128).close().extrude(0.599)
resu... | 12 | 256 | 0.338669 |
train_99856a096054dd6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.254, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.395, 1.491).extrude(0.168)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.254, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.161, -0.037).lineTo(0.161, -0.709).lineTo(-... | 12 | 74 | 0.051915 |
train_a7cd3b07c2d67e15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.109, -0.091, 0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.101, 0.158).threePointArc((0.116, 0.151), (0.123, 0.136)).lineTo(0.123, -0.136).threePointArc((0.116, -0.151), (0.101, -0.158)).lineTo(-0.101, -0.158).threePointArc((-0.116, -0.151... | 5 | 153 | 0.428387 |
train_6eb51ca7ccfb4a06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.056, -0.5), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.999, 1).lineTo(0.999, 0.11).lineTo(0.657, 0.11).lineTo(0.657, 0).lineTo(0.226, 0).lineTo(0.226, 1).lineTo(0.999, 1).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1... | 8 | 73 | 2.162122 |
train_a95cfffa0f0ba6d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.369, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.195, 0.6).lineTo(0.51, 0.371).lineTo(0.631, 0).lineTo(0.51, -0.371).lineTo(0.195, -0.6).lineTo(-0.195, -0.6).lineTo(-0.51, -0.371).lineTo(-0.631, 0).lineTo(-0.51, 0.371).lineTo(-0.195,... | 5 | 35 | 0.349048 |
train_331188ac772577e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.848, 0, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.204, 0.218).lineTo(0.204, 0.137).lineTo(0.04, 0.137).lineTo(0.04, -0.218).lineTo(-0.204, -0.218).lineTo(-0.204, -0.137).lineTo(-0.04, -0.137).lineTo(-0.04, 0.218).lineTo(0.204, 0.218)... | 16 | 319 | 1.061891 |
train_c604d5b89e215f08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.941, 0.199).lineTo(0.912, 0.1).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.884, 0).lineTo(0.884, 0.06).lineTo(0.788, 0.1).lineTo(0, 0.092).lineTo(0, 0.199).lineTo(0.941, 0.199).close().revolv... | 4 | 24 | 0.316257 |
train_6b579bdd122d64b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.667).lineTo(0.333, 0.333).lineTo(0.667, 0.333).lineTo(0.667, 0).lineTo(1, 0).lineTo(1, -0.333).lineTo(0, -0.333).lineTo(0, -0.667).lineTo(-1, -0.667).lineTo(-1, -0.333).lineTo(-0.667... | 19 | 14 | 1.493706 |
train_e23bf794be7dcd46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.547, 1).lineTo(0.547, -1).lineTo(-0.547, -1).lineTo(-0.547, 1).lineTo(0.547, 1).close().extrude(0.184)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.066), normal=(0, 0, 1), xDi... | 5 | 26 | 0.342696 |
train_fb865173bae90f14 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.104, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.624, 0.48).threePointArc((1.103, 0), (0.624, -0.48)).lineTo(-0.624, -0.48).threePointArc((-1.103, 0), (-0.624, 0.48)).lineTo(0.624, 0.48).close().extrude(0.199)
result = result.cut(cq.... | 5 | 21 | 0.24776 |
train_ddcebd3e3af2e635 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, -0.236, -0.648), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.1, -0.026).lineTo(-0.102, -0.011).threePointArc((-0.122, -0.013), (-0.103, 0.004)).lineTo(-0.101, 0.019).threePointArc((-0.12, 0.023), (-0.097, 0.034)).lineTo(-0.091, 0.048).thre... | 14 | 96 | 0.286209 |
train_ddca95472e2f9150 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.163, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.781).threePointArc((0.793, 0.759), (0.818, 0.708)).lineTo(0.818, -0.388).threePointArc((0.685, -0.664), (0.37, -0.781)).lineTo(-0.575, -0.781).threePointArc((-0.746, -0.718), (-... | 4 | 62 | 0.456444 |
train_bc5faa44444ca50e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.015, 0.081, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.516, 0.245).lineTo(0.935, 0.003).threePointArc((0.983, -0.244), (0.796, -0.315)).lineTo(0.657, -0.28).lineTo(0.516, -0.245).lineTo(-0.609, 0.034).threePointArc((-0.983, 0.244), (... | 6 | 40 | 0.253243 |
train_71f2d44ed13e4ce8 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.315).lineTo(0.833, 0).lineTo(1, -0.315).lineTo(0.178, -0.315).lineTo(0.178, 0.315).lineTo(1, 0.315).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.548, 0, 0), normal=(... | 9 | 81 | 0.814202 |
train_56d3edb2499f4e43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.037, 0, 0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.81).threePointArc((0.904, 0.772), (0.949, 0.683)).lineTo(0.949, -0.649).threePointArc((0.893, -0.762), (0.76, -0.81)).lineTo(0.119, -0.81).threePointArc((0.035, -0.78), (0, -0.70... | 39 | 252 | 0.805665 |
train_9f8b4c2676bbdc3a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.632, -0.265, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.264).threePointArc((0.892, 0.892), (1.264, 0)).lineTo(0.712, 0).threePointArc((0.504, 0.504), (0, 0.712)).lineTo(0, 1.264).close().extrude(0.577)
result = result.union(cq.Work... | 3 | 15 | 1.208654 |
train_dfb9f34fb54f66a6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.139, -0.506), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.947, 0.182).threePointArc((0.979, 0.169), (1, 0.136)).lineTo(1, -0.182).lineTo(-1, -0.182).lineTo(-1, 0.159).threePointArc((-0.986, 0.175), (-0.97, 0.182)).lineTo(0.947, 0.182).close()... | 12 | 55 | 0.47919 |
train_811f4ac960bf132f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.006).extrude(1.258)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.006, 0, -0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.077, 0.386), (-0.295, 0.711), (-0.62, 0.... | 10 | 143 | 2.204102 |
train_08583a0de972569a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.084, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.914, 0.898).threePointArc((0.969, 0.873), (1, 0.814)).lineTo(1, 0.628).threePointArc((0.968, 0.567), (0.912, 0.542)).lineTo(-0.593, 0.542).threePointArc((-0.643, 0.519), (-0.664, 0.464... | 14 | 134 | 1.359859 |
train_e7b2321c355be55e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.804, -0.497).threePointArc((-0.681, -0.28), (-0.217, 0.03)).threePointArc((0, -0.093), (-0.093, 0.247)).threePointArc((0.154, 0.681), (0.277, 0.898)).threePointArc((0.618, 0.991)... | 15 | 144 | 0.781529 |
train_d36565183eced253 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.351, 1).threePointArc((0.472, 0.942), (0.523, 0.825)).lineTo(0.523, -0.551).threePointArc((0.392, -0.862), (0.078, -1)).lineTo(-0.208, -1).threePointArc((-0.43, -0.899), (-0.523, -0.6... | 11 | 103 | 0.433006 |
train_0c99a53794414952 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.396), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.158, 0.996).threePointArc((0.394, 0.938), (0.493, 0.802)).lineTo(0.493, 0.211).threePointArc((0.529, 0.163), (0.611, 0.142)).lineTo(0.899, 0.142).threePointArc((0.96, 0.128), (0.985, ... | 13 | 125 | 3.810017 |
train_7eaf269afd038bb7 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.845, 1).threePointArc((0.954, 0.954), (1, 0.845)).lineTo(1, -0.621).threePointArc((0.888, -0.888), (0.621, -1)).lineTo(-0.691, -1).threePointArc((-0.908, -0.908), (-1, -0.691)).lineTo(-1, -0.191).threePointArc((-0.844, 0.178), (-0.476, 0.333)).lineT... | 4 | 72 | 0.12624 |
train_0e3f11257e0b33aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.031, 0.451, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.969, 0.438).lineTo(0.969, -0.438).lineTo(-0.969, -0.438).lineTo(-0.969, 0.438).lineTo(0.969, 0.438).close().extrude(0.876)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.312... | 4 | 32 | 2.377411 |
train_df618e0e8da31545 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.834, 0, 0.315), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.725, 0.648).lineTo(0.07, -0.648).lineTo(-0.725, 0.567).lineTo(0.725, 0.648).close().sweep(cq.Workplane(cq.Plane(origin=(0.072, 0, -0.554), normal=(0, -1, 0), xDir=(1, 0, 0))).spline([... | 7 | 346 | 1.281808 |
train_9ea25f565fa6aa7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.069, -0.2, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.403, 0.774).threePointArc((-0.346, 0.75), (-0.322, 0.693)).lineTo(-0.322, 0.039).threePointArc((-0.261, -0.104), (-0.118, -0.164)).lineTo(0.782, -0.164).threePointArc((0.886, -0.209... | 6 | 109 | 0.839026 |
train_da8510344e09c83c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.688), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 1).lineTo(0.747, 0.747).lineTo(0.747, 0.498).lineTo(1, 0.498).lineTo(0.747, 0.249).lineTo(1, 0).lineTo(0.747, -0.249).lineTo(1, -0.498).lineTo(0.747, -0.498).lineTo(0.747, -0.747).lin... | 20 | 471 | 1.14867 |
train_1dd986d0c5c4e257 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.022, -0.03, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.063, 0.116).lineTo(0.033, 0.097).lineTo(0.12, -0.02).lineTo(0.076, -0.117).lineTo(-0.005, -0.065).lineTo(-0.08, 0.002).lineTo(-0.12, 0.069).lineTo(-0.112, 0.085).lineTo(-0.119, 0.... | 13 | 137 | 0.011179 |
train_f00e9a5701cf71a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.7), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 0.981).lineTo(0.922, 0.803).lineTo(0.922, 0.653).lineTo(0.76, 0.491).lineTo(0.541, 0.491).lineTo(0.432, 0.381).lineTo(0.432, -0.797).lineTo(0.247, -0.981).lineTo(0.036, -0.981).lineTo(-... | 5 | 39 | 3.543491 |
train_a5c9279be7526538 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.184, -0.516, -0.393), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.327, 0.324).lineTo(0.327, -0.324).lineTo(0.109, -0.324).lineTo(0.109, -0.162).lineTo(-0.109, -0.162).lineTo(-0.109, 0).lineTo(-0.327, 0).lineTo(-0.327, 0.162).lineTo(-0.109, 0.162... | 9 | 137 | 0.519138 |
train_f16249971e5d9fbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.014, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.405, 0.154).threePointArc((-0.394, 0.418), (-0.161, 0.509)).lineTo(0.633, 0.186).threePointArc((0.739, -0.092), (0.621, -0.249)).lineTo(0.377, -0.295).lineTo(0.095, -0.493).threePoint... | 4 | 43 | 3.020617 |
train_0e8827bda1e39239 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, 0.415, -0.562), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.462, 0.046).lineTo(0.49, -0.003).lineTo(0.416, -0.046).lineTo(0.388, 0.003).lineTo(0.462, 0.046).close().sweep(cq.Workplane(cq.Plane(origin=(0.02, 0.415, -0.562), normal=(0, 0, 1),... | 9 | 124 | 0.439899 |
train_d1fe2cbb42bd4877 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.112, 0.505, -0.479), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.136, 0.975).lineTo(0.521, 0.035).lineTo(-0.521, 0.063).lineTo(0.136, 0.975).close().extrude(0.223)
result = result.union(result.mirror(mirrorPlane='XY', basePointVector=(-0.225, 0... | 4 | 42 | 0.071625 |
train_dd808cac06b0e627 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.03, 0.095).lineTo(0.099, 0).lineTo(0.03, -0.095).lineTo(-0.08, -0.059).lineTo(-0.08, 0.059).lineTo(0.03, 0.095).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origi... | 5 | 15 | 0.036581 |
train_77eb501b2845acf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.407, 0.201).lineTo(-0.407, -0.059).threePointArc((-0.346, -0.091), (-0.199, -0.105)).lineTo(0.88, -0.105).threePointArc((0.964, -0.113), (1, -0.132)).lineTo(1, -0.217).threePointArc((0... | 6 | 74 | 0.44898 |
train_3aea8c06fcbfed4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.582, 0.54).lineTo(0.982, 0.141).lineTo(0.982, -0.284).lineTo(0.725, -0.54).lineTo(-0.711, -0.54).threePointArc((-0.903, -0.461), (-0.982, -0.271)).lineTo(-0.982, 0.197).threePointArc(... | 11 | 83 | 0.765093 |
train_4f7ce082f3ff83f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.186, 0.008, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.071, 0.172).lineTo(0.085, 0.161).lineTo(0.085, 0.125).lineTo(0.113, 0.103).lineTo(0.138, 0.103).lineTo(0.171, 0.077).lineTo(0.171, 0.054).lineTo(0.147, 0.034).lineTo(0.112, 0.034).lineT... | 7 | 183 | 0.175206 |
train_6a6a7512ba5cb252 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.162, 0.134, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.529, 0.749).threePointArc((0.857, 0.336), (0.915, -0.259)).threePointArc((0.724, -0.578), (0.375, -0.768)).threePointArc((0.256, -0.753), (-0.157, -0.597)).lineTo(-0.217, -0.603).t... | 10 | 225 | 0.484759 |
train_22896f12803b7d44 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.714, -0.127).lineTo(0.98, -0.203).lineTo(0.964, -0.27).lineTo(0.696, -0.205).lineTo(0.649, -0.322).lineTo(0.882, -0.471).lineTo(0.848, -0.531).lineTo(0.611, -0.391).lineTo(0.531, -0.493).l... | 8 | 130 | 1.161361 |
train_5e24fff590b6272e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.153, -0.215, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.6, 0.774).lineTo(0.6, 0.417).lineTo(0.179, 0.417).lineTo(0.179, -0.774).lineTo(-0.179, -0.774).lineTo(-0.179, 0.417).lineTo(-0.6, 0.417).lineTo(-0.6, 0.774).lineTo(0.6, 0.774).clo... | 11 | 116 | 0.627532 |
train_8b83354539a01979 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.279, 0.739, -0.225), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.685, 0.894).threePointArc((0.748, 0.867), (0.775, 0.804)).lineTo(0.775, -0.247).threePointArc((0.748, -0.31), (0.685, -0.336)).lineTo(-0.577, -0.336).threePointArc((-0.64, -0.31),... | 19 | 77 | 2.746039 |
train_e1a4bcb2550e9c01 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.836).lineTo(1, 0.418).lineTo(0.6, 0.418).lineTo(0.6, 0).lineTo(1, 0).lineTo(1, -0.418).lineTo(0.2, -0.418).lineTo(0.2, -0.836).lineTo(-0.6, -0.836).lineTo(-0.6, 0).lineTo(-1, 0).lineTo(-1, 0.418).lineTo(0.2, 0.418).lineTo(0.2, 0.836).lineTo(1, 0.... | 9 | 169 | 1.337037 |
train_377ae5acd23700d5 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.393).lineTo(1, 0.291).threePointArc((0.977, 0.271), (0.924, 0.262)).lineTo(-0.437, 0.262).threePointArc((-0.539, 0.245), (-0.582, 0.206)).lineTo(-0.582, -0.158).threePointArc((-0.502, -0.231), (-0.313, -0.262)).lineTo(0.916, -0.262).threePointArc... | 8 | 63 | 0.884565 |
train_256b844b83358631 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.253, 0.057, 0.053), normal=(0.203, -0.719, -0.665), xDir=(0.962, 0.272, 0))).moveTo(-0.356, 0.88).lineTo(-0.356, -0.406).lineTo(0.819, -0.406).lineTo(0.819, -0.88).lineTo(-0.819, -0.88).lineTo(-0.819, 0.88).lineTo(-0.356, 0.88).close().extrude(0... | 6 | 40 | 0.654901 |
train_0cab58c9ebd9b8e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.048, -0.058, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.068, 0.874).lineTo(1.029, -0.108).lineTo(0.416, -0.874).lineTo(-0.712, -0.481).lineTo(-0.908, 0.359).threePointArc((-1.029, 0.53), (-0.83, 0.512)).lineTo(0.068, 0.874).close().extr... | 3 | 47 | 1.114721 |
train_949c07476b603767 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.214, 0, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.431, 1).threePointArc((0.566, 0.944), (0.622, 0.809)).lineTo(0.622, -0.84).threePointArc((0.575, -0.953), (0.462, -1)).lineTo(-0.441, -1).lineTo(-0.441, -0.819).lineTo(-0.622, -0.819)... | 5 | 116 | 0.619043 |
train_00d1d845772de80a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.891), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.097, 0.012).threePointArc((0.102, -0.007), (0.083, -0.012)).threePointArc((0.077, 0.007), (0.097, 0.012)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.891), normal=(0, 0, ... | 6 | 78 | 0.01642 |
train_12e6b61c68652b52 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.023, -0.001, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.446, 0.573).threePointArc((0.194, 0.631), (0.167, 0.374)).lineTo(0.639, 0.058).threePointArc((0.446, -0.573), (0.335, -0.43)).lineTo(-0.194, -0.631).threePointArc((-0.639, -0.05... | 7 | 170 | 0.395707 |
train_9d43cbcbd40ac25e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.542, 1).threePointArc((0.661, 0.942), (0.711, 0.826)).lineTo(0.711, -0.789).lineTo(0.505, -1).lineTo(-0.514, -1).lineTo(-0.711, -0.798).lineTo(-0.711, 0.89).threePointArc((-0.681, 0.961), ... | 8 | 51 | 0.555565 |
train_3cf570c5210a23b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.45).lineTo(1, -0.45).lineTo(-1, -0.45).lineTo(-1, 0.45).lineTo(-0.497, 0.45).lineTo(-0.497, -0.222).lineTo(0.497, -0.222).lineTo(0.497, 0.45).lineTo(1, 0.45).close().extrude(0.675)
resu... | 7 | 10 | 0.76299 |
train_96be2e072569f1ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, 0, -0.347), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.693).lineTo(1, 0.539).lineTo(0.764, 0.539).lineTo(0.764, 0).lineTo(0, 0).lineTo(0, 0.693).lineTo(1, 0.693).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 4 | 42 | 0.749743 |
train_303d664c8547990e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.368, -0.118, 0.143), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.016, 0.503).threePointArc((0.067, 0.494), (0.099, 0.455)).threePointArc((0.105, 0.395), (0.083, 0.332)).threePointArc((0.039, 0.281), (-0.016, 0.257)).threePointArc((-0.067, 0.266... | 5 | 44 | 0.529171 |
train_463128155e9c2a79 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.355, 2).extrude(0.187)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.076, -0.701).lineTo(0.076, -0.899).lineTo(-0.076, -0.899)... | 14 | 54 | 0.097778 |
train_d08cdfe6a8414b96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.28, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.719).extrude(0.539)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.28, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.593).extrude(1.616, both=True))
result = result.uni... | 13 | 71 | 0.464446 |
train_c35991016c1891ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.684, -0.954, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.045, 0.984).threePointArc((0.036, 0.989), (0.104, 0.945)).threePointArc((0.199, 0.947), (0.252, 0.868)).lineTo(0.401, 0.886).threePointArc((0.519, 0.837), (0.568, 0.719)).lineTo(... | 6 | 91 | 2.29014 |
train_5674cb0ac5dff8ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.496, 0.355).lineTo(1, 0.274).lineTo(0.616, -0.355).lineTo(0.314, 0.056).lineTo(0.496, 0.355).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.union... | 6 | 37 | 1.346055 |
train_0aa0a4b4fd9065cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.05, 0.039, 0.423), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.524, 0.766).threePointArc((0.438, 0.298), (0.71, -0.553)).threePointArc((0.777, -0.766), (0.456, -0.61)).lineTo(0.274, -0.039).threePointArc((0.248, -0.003), (0.212, -0.032)).lineT... | 10 | 164 | 0.815977 |
train_8ee88d02a94b0c9f | 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.222, 0.141).lineTo(0.222, -0.153).lineTo(-0.014, -0.153).lineTo(-0.014, 0.141).threePointArc((-0.001, 0.153), (0.012, 0.141)).threePointArc((0.025, 0.128), (0.038, 0.141)).threePointArc((0.052... | 12 | 47 | 0.255922 |
train_11b14b7cfb7eacbc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.181, -0.05, -0.744), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.357, 0.359).threePointArc((0.406, 0.338), (0.427, 0.288)).lineTo(0.427, -0.188).threePointArc((0.406, -0.239), (0.357, -0.26)).lineTo(-0.357, -0.26).threePointArc((-0.406, -0.239)... | 11 | 393 | 0.741973 |
train_d2184224859963c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.112, -0.132, -0.113), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.096, 0.462).threePointArc((0.228, 0.407), (0.283, 0.274)).lineTo(0.283, -0.274).threePointArc((0.228, -0.407), (0.096, -0.462)).lineTo(-0.096, -0.462).threePointArc((-0.228, -0.4... | 4 | 50 | 0.803282 |
train_2fb40139ed887a47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.058, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.384).lineTo(1, 0.165).threePointArc((0.952, 0.145), (0.858, 0.137)).lineTo(0.522, 0.137).threePointArc((0.388, 0.125), (0.332, 0.099)).lineTo(0.332, -0.37).threePointArc((0.272, -0... | 8 | 230 | 0.375509 |
train_fbcdbf0c06e78286 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.122, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.871, 0.85).threePointArc((0.962, 0.818), (1, 0.741)).lineTo(1, 0.603).threePointArc((0.968, 0.538), (0.891, 0.51)).lineTo(0.739, 0.51).threePointArc((0.641, 0.475), (0.6, 0.392)).lineT... | 8 | 35 | 0.650598 |
train_1088162c2e71fcc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.317, 2).extrude(0.173)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.066, -0.092).lineTo(0.066, -0.908).lineTo(-0.066, -0.908)... | 10 | 38 | 0.065598 |
train_4fa4d00cf0a44e90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.106), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.689, 0.745).threePointArc((0.712, 0.751), (0.736, 0.747)).lineTo(0.857, 0.701).threePointArc((0.895, 0.678), (0.92, 0.642)).lineTo(0.991, 0.486).threePointArc((0.996, 0.433), (0.957, 0.397... | 4 | 89 | 2.377759 |
train_21914e74a3d1266a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.257, 0, -0.298), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.742, 0.533).lineTo(0.742, -0.533).lineTo(-0.656, -0.533).lineTo(-0.742, -0.445).lineTo(-0.742, 0.443).lineTo(-0.653, 0.443).lineTo(-0.653, 0.533).lineTo(0.742, 0.533).close().extrude(0... | 19 | 57 | 0.694772 |
train_7d36b3b228ef5f1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.032, 0.001, -0.726), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.099, 0.659).lineTo(-0.108, -0.03).lineTo(0.555, 0.339).threePointArc((0.967, 0.22), (0.916, -0.24)).lineTo(-0.311, -0.933).threePointArc((-0.5, -0.954), (-0.785, -0.632)).lineTo(... | 2 | 20 | 2.95498 |
train_2102553811567c4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.027), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.075).lineTo(0.859, 0).lineTo(1, -0.075).lineTo(0.169, -0.075).lineTo(0.169, 0.075).lineTo(1, 0.075).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 11 | 133 | 0.446825 |
train_07106fa7e95f7bb7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.093, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.358, 0.449).threePointArc((0.456, 0.409), (0.497, 0.308)).lineTo(0.497, -0.275).threePointArc((0.448, -0.397), (0.325, -0.449)).lineTo(-0.381, -0.449).threePointArc((-0.463, -0.414), ... | 9 | 63 | 0.643384 |
train_60349829e4679a01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.28, -1.719), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.719, 2.021).lineTo(0.719, 1.716).lineTo(0.69, 1.716).lineTo(0.69, 1.417).lineTo(0.423, 1.417).lineTo(0.423, 0.886).lineTo(0.309, 0.886).lineTo(0.309, 0).lineTo(0, 0).lineTo(0, 2.021).l... | 8 | 31 | 0.56753 |
train_10e04b20d68bb160 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.471, -1, 0.002), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.135, 1.113).lineTo(0.272, 1.067).lineTo(0.226, 0.664).lineTo(0.634, 0.618).lineTo(0.586, 0.187).lineTo(0.179, 0.233).lineTo(0.135, -0.172).lineTo(-0.272, -0.126).lineTo(-0.226, 0.277... | 12 | 178 | 1.004658 |
train_316af44fd7192961 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.125, -0.001, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.852, 0.287).lineTo(0.852, -0.287).lineTo(0, -0.287).lineTo(0, -0.143).lineTo(-0.852, -0.143).lineTo(-0.852, 0.143).lineTo(0.426, 0.143).lineTo(0.426, 0.287).lineTo(0.852, 0.287).c... | 27 | 206 | 0.109547 |
train_93a9774cfbc57069 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(1).extrude(0.86, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.324).extrude(0.539, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.279, 0.564), normal=(0, 1, 0),... | 6 | 39 | 5.025265 |
train_d43a1705ef219bb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.514, 0, -0.485), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.183, 0.969).lineTo(0.183, 0.183).lineTo(1.027, 0.183).lineTo(1.027, 0).lineTo(0, 0).lineTo(0, 0.969).lineTo(0.183, 0.969).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 7 | 36 | 0.689702 |
train_70de7e9cbd3e7382 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.345, -0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.716, 0.655).threePointArc((0.754, 0.639), (0.77, 0.6)).lineTo(0.77, 0.343).threePointArc((0.759, 0.316), (0.732, 0.305)).lineTo(-0.346, 0.305).threePointArc((-0.398, 0.283), (-0.42, 0.... | 13 | 160 | 0.973224 |
train_4696cb64b8bba737 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.2, -0.258, 0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.27, 0.289).threePointArc((0.272, 0.287), (0.273, 0.285)).lineTo(0.294, 0.064).threePointArc((0.326, 0.04), (0.335, -0.049)).lineTo(0.34, -0.239).threePointArc((0.297, -0.297), (0.206... | 14 | 188 | 1.519391 |
train_18ce25a68bfcbbea | 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.111, 0).threePointArc((0, -0.111), (-0.111, 0)).threePointArc((0, 0.111), (0.111, 0)).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 1, 0), xDir=... | 6 | 27 | 0.040031 |
train_48050cc04148bac2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.026, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.089).lineTo(0, 0.014).threePointArc((0.081, 0.004), (0.274, 0)).lineTo(0.641, 0).threePointArc((0.875, -0.005), (0.974, -0.017)).lineTo(0.974, -0.068).threePointArc((0.781, -0.092),... | 11 | 99 | 0.18008 |
train_ba9e95c473c8d480 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.034, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, 0.921).threePointArc((0.176, 0.887), (0.207, 0.807)).lineTo(0.207, 0.263).threePointArc((0.277, 0.078), (0.443, 0)).lineTo(0.931, 0).threePointArc((1.002, -0.034), (1.033, -0.114)... | 4 | 30 | 0.340129 |
train_d64b2b2b12ada338 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.073, 0.371, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, 0.147).lineTo(0.7, -0.147).lineTo(-0.7, -0.147).lineTo(-0.7, 0.147).lineTo(-0.427, 0.147).lineTo(-0.427, -0.084).lineTo(0.427, -0.084).lineTo(0.427, 0.147).lineTo(0.7, 0.147).c... | 12 | 66 | 1.102223 |
train_08bd0efc34849b18 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.414), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.827).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.827).lineTo(-0.859, 0.827).lineTo(-0.859, 0.132).lineTo(0.859, 0.132).lineTo(0.859, 0.827).lineTo(1, 0.827).close().extrude(0.408, both=Tru... | 10 | 124 | 0.367269 |
train_56ef61ca3839ea5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.055), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.73, 0.416).threePointArc((0.992, 0.33), (0.873, 0.117)).lineTo(0.991, -0.328).lineTo(0.933, -0.364).lineTo(0.908, -0.416).lineTo(0.346, -0.305).threePointArc((0.232, -0.352), (0.263, -0.2... | 8 | 89 | 1.610669 |
train_90c943f6c726fef6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.841, 1).lineTo(0.841, -0.845).threePointArc((0.801, -0.95), (0.699, -1)).lineTo(-0.841, -1).lineTo(-0.841, 1).lineTo(0.841, 1).close().extrude(0.336)
result = result.cut(cq.Workplane(cq.Pl... | 10 | 56 | 0.471192 |
train_7ebe78f3c14efe12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.123, -0.339, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.33, 0.66).lineTo(0.33, 0).lineTo(0.66, 0).lineTo(0.66, -0.66).lineTo(-0.66, -0.66).lineTo(-0.66, -0.33).lineTo(-0.33, -0.33).lineTo(-0.33, 0).lineTo(0, 0).lineTo(0, 0.66).lineTo(... | 19 | 66 | 0.211943 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.