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_46d83dfdb3c69e89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.898, 0.559).lineTo(1, 0.458).lineTo(1, -0.559).lineTo(-0.913, -0.559).threePointArc((-0.974, -0.534), (-1, -0.473)).lineTo(-1, 0.493).lineTo(-0.933, 0.493).lineTo(-0.933, 0.559).lineTo(0.8... | 10 | 63 | 0.484402 |
train_c168bc5633cb5c50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.3, 2).extrude(0.31)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.021, 0.364, -0.087), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.129, 0.621).lineTo(0.169, 0.593).threePointArc((0.2... | 9 | 51 | 0.168226 |
train_e1509ef4eb4afda6 | 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.211, 0.667).lineTo(-0.211, -0.288).lineTo(0.635, -0.288).lineTo(0.635, -0.667).lineTo(-0.635, -0.667).lineTo(-0.635, 0.667).lineTo(-0.211, 0.667).close().extrude(2)
result = result.cut(cq.Wor... | 36 | 150 | 1.558012 |
train_5af189d0b01ef58d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.197, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.33, -0.564).lineTo(-0.33, 0.564).lineTo(-0.314, 0.699).lineTo(-0.267, 0.82).lineTo(-0.194, 0.917).lineTo(-0.102, 0.979).lineTo(0, 1).lineTo(0.102, 0.979).lineTo(0.194, 0.917).lineTo(0.267... | 5 | 59 | 0.458647 |
train_98cd4ec13cdeeef0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.147), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.23, 0.294).lineTo(0.23, 0.254).lineTo(0.525, 0.254).lineTo(0.525, 0).lineTo(-0.525, 0).lineTo(-0.525, 0.254).lineTo(-0.23, 0.254).lineTo(-0.23, 0.294).lineTo(0.23, 0.294).close().extrude(... | 5 | 42 | 0.552793 |
train_15dac9fedea3a0e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.437), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.859, 0.992).lineTo(0.859, 0).lineTo(-0.859, 0).lineTo(-0.859, 0.992).lineTo(-0.754, 0.992).lineTo(-0.754, 0.106).lineTo(0.754, 0.106).lineTo(0.754, 0.992).lineTo(0.859, 0.992).close().ext... | 4 | 27 | 0.210493 |
train_92d05acb01e5ca83 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.251, 0.225, 0.318), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.415, 0.438).threePointArc((0.432, 0.431), (0.439, 0.414)).lineTo(0.439, -0.323).threePointArc((0.432, -0.34), (0.415, -0.347)).lineTo(-0.415, -0.347).threePointArc((-0.432, -0.34)... | 10 | 255 | 0.593524 |
train_e8c6e25a3b67bcb0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.137, 0.11, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.724, 0.141).workplane(offset=1.173).rect(1.347, 0.118).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.137, 0.092, -0.047), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.0... | 9 | 98 | 0.620502 |
train_2f33264f80bc6acf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.192), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.913, 0.28).lineTo(1, 0.104).lineTo(1, 0).lineTo(0.861, 0).lineTo(0.861, 0.089).lineTo(0.766, 0.28).lineTo(0, 0.164).lineTo(0, 0.295).lineTo(0.864, 0.295).lineTo(0.913, 0.28).close().revol... | 8 | 46 | 0.284378 |
train_a09db9756f8a97c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.005, 1).threePointArc((0.162, 0.934), (0.226, 0.778)).lineTo(0.226, -1).lineTo(-0.005, -1).threePointArc((-0.162, -0.934), (-0.226, -0.778)).lineTo(-0.226, 0.804).threePointArc((-0.169, 0.... | 4 | 13 | 0.551707 |
train_c5f36337f464f5e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.928, 0.445).threePointArc((0.979, 0.424), (1, 0.374)).lineTo(1, -0.344).threePointArc((0.969, -0.415), (0.898, -0.445)).lineTo(-0.92, -0.445).threePointArc((-0.976, -0.422), (-1, -0.366)).... | 10 | 75 | 0.841744 |
train_c62f2f56c41b0604 | 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.389, 0.392).lineTo(0.389, 0.29).lineTo(-0.252, 0.29).lineTo(-0.252, -0.29).lineTo(0.389, -0.29).lineTo(0.389, -0.392).lineTo(-0.389, -0.392).lineTo(-0.389, 0.392).lineTo(0.389, 0.392).close().... | 7 | 66 | 0.326813 |
train_aa472e057bbc63bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.764, -0.124).lineTo(0.974, -0.19).lineTo(0.952, -0.279).lineTo(0.74, -0.228).lineTo(0.693, -0.344).lineTo(0.874, -0.47).lineTo(0.829, -0.548).lineTo(0.639, -0.436).lineTo(0.56, -0.534... | 9 | 230 | 0.152235 |
train_0b964b968ce538f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.298), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.652)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.298), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.738).extrude(1.953, both=True))
result = result.union(cq.Workpl... | 15 | 107 | 1.697273 |
train_407964c874a8906c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.278, 0.138, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.115, 1.246).threePointArc((0.278, 1.186), (0.43, 1.115)).threePointArc((0.573, 1.03), (0.7, 0.922)).threePointArc((0.805, 0.79), (0.888, 0.642)).threePointArc((0.953, 0.482), (0.993, 0... | 16 | 613 | 0.670929 |
train_7fc5804a9e26db26 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.612, 0, 0.806), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.382, 0).threePointArc((0, -0.382), (-0.382, 0)).threePointArc((0, 0.382), (0.382, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.612, 0, -0.159), normal=(0, -1, 0), xDir=(1, 0, 0))).... | 4 | 8 | 0.234939 |
train_7b4eb579a7728c29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.713, 0.332).threePointArc((0.908, 0.276), (1, 0.143)).lineTo(1, -0.211).threePointArc((0.938, -0.297), (0.814, -0.332)).lineTo(-0.724, -0.332).threePointArc((-0.911, -0.278), (-1, -0.15)).li... | 6 | 65 | 0.415713 |
train_e35693b8c7ececc9 | 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.804, 0.999).threePointArc((0.934, 0.954), (0.99, 0.849)).lineTo(0.99, 0.73).threePointArc((0.942, 0.638), (0.829, 0.599)).lineTo(0.597, 0.599).threePointArc((0.525, 0.575), (0.495, 0.517)).... | 8 | 158 | 0.916441 |
train_5a369f09a9b8eb0a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.646, 0.428).lineTo(0.919, 0.313).lineTo(1, 0.15).lineTo(1, 0).lineTo(0.856, 0).lineTo(0.856, 0.128).lineTo(0.755, 0.313).lineTo(0, 0.284).lineTo(0, 0.428).lineTo(0.646, 0.428).close().rev... | 3 | 14 | 0.501334 |
train_0b5703cbad427f73 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.205, 0, -0.265), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.11, 0.531).lineTo(0.11, 0.11).lineTo(0.41, 0.11).lineTo(0.41, 0).lineTo(0, 0).lineTo(0, 0.531).lineTo(0.11, 0.531).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.P... | 10 | 72 | 0.132058 |
train_aa2bba8b47a83ee2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.329).lineTo(1, 0.185).lineTo(-0.556, 0.185).lineTo(-0.556, -0.185).lineTo(1, -0.185).lineTo(1, -0.329).lineTo(-1, -0.329).lineTo(-1, 0.329).lineTo(1, 0.329).close().extrude(0.238, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-1, -... | 4 | 26 | 0.322205 |
train_f36c1ae57a94c11d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.133).lineTo(1, 0.091).lineTo(-0.615, 0.091).lineTo(-0.615, -0.091).lineTo(1, -0.091).lineTo(1, -0.133).lineTo(-1, -0.133).lineTo(-1, 0.133).lineTo(1, 0.133).close().extrude(0.2, taper=4.979, both=True)
result = result.cut(cq.Workplane(cq.Plane(or... | 5 | 45 | 0.056685 |
train_7dd51183552591c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.216, -0.326, -0.188), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.106, 0.119).lineTo(0.133, 0.046).lineTo(0.16, -0.027).lineTo(0.187, -0.1).threePointArc((0.171, -0.134), (0.137, -0.119)).lineTo(0.11, -0.046).lineTo(0.083, 0.027).lineTo(0.056,... | 9 | 44 | 0.21355 |
train_0cb7875fb09d335e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.898, -0.335, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.271, 0.942).threePointArc((0.434, 0.897), (0.588, 0.832)).threePointArc((0.729, 0.753), (0.849, 0.652)).threePointArc((0.954, 0.536), (1.037, 0.408)).threePointArc((1.098, 0.272),... | 10 | 24 | 2.5496 |
train_4729957fbeea2ded | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.052, -0.622), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.94).extrude(1.23)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.002, -0.052, -0.622), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.448).extrude(3.691, both=True))
result = ... | 14 | 108 | 2.142773 |
train_68fe153913632fcf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.385, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.462).extrude(0.258)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.077, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.135, 0.327), (-0.462, 0.462), (-0.789, 0.32... | 7 | 48 | 1.023672 |
train_0d6bb6fddb2066d4 | 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.306, 0.196).threePointArc((0.366, 0.17), (0.392, 0.11)).lineTo(0.392, -0.117).threePointArc((0.368, -0.172), (0.314, -0.196)).lineTo(-0.353, -0.196).threePointArc((-0.38, -0.184), (-0.392, -0.... | 14 | 119 | 0.312009 |
train_d1a1488b54174a67 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.064, -0.094, -0.744), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.064, 0.08).threePointArc((-0.058, 0.077), (-0.055, 0.07)).lineTo(-0.055, 0.047).threePointArc((-0.053, 0.042), (-0.049, 0.04)).lineTo(-0.029, 0.04).threePointArc((-0.022, 0.036)... | 4 | 56 | 0.046661 |
train_0180483d38415cb6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.009, 1).lineTo(0.209, 0.762).lineTo(-0.526, -0.109).lineTo(-0.075, -0.602).lineTo(0.661, 0.269).lineTo(0.879, 0.031).lineTo(0.009, -1).lineTo(-0.879, -0.031).close().moveTo(-0.191, -0.138)... | 6 | 138 | 0.681201 |
train_6b77c595ce1e4164 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.712, 0.215).workplane(offset=2).rect(1, 0.32).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.152, 0, 0.892), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.388, 0.673).lineTo(0.7... | 4 | 53 | 0.442905 |
train_2373f4a23f0cebb8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.18, 2).extrude(0.241)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.59, 0.613, -0.09), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1.675, 0.613).lineTo(1.675, -0.142).threePointArc((-2... | 12 | 73 | 0.137895 |
train_070974247b6e6c84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.015, 0, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.425)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.015, 0, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.195, 0.585), (-0.692, 0.943), (-1.308, 0... | 25 | 112 | 0.742255 |
train_9d14801f76503ade | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.273, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.141, 0.514).threePointArc((-0.024, 0.485), (0.097, 0.424)).threePointArc((0.203, 0.34), (0.278, 0.246)).threePointArc((0.311, 0.155), (0.296, 0.083)).threePointArc((0.237, 0.039), (0.141... | 17 | 108 | 0.37564 |
train_41dec1b6f44789fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.007, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 1).lineTo(0.324, 0.62).lineTo(0.699, 0.62).lineTo(0.699, -0.598).lineTo(0.302, -0.598).lineTo(0.302, -1).lineTo(-0.38, -1).lineTo(-0.699, -0.679).lineTo(-0.699, 0.769).threePointA... | 9 | 78 | 0.709641 |
train_01c738ae2023ab12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.621), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.685).lineTo(1, -0.685).lineTo(-0.798, -0.685).lineTo(-0.798, -0.488).lineTo(-1, -0.488).lineTo(-1, 0.685).lineTo(1, 0.685).close().extrude(0.226)
result = result.union(cq.Workplane(cq.P... | 20 | 127 | 0.512171 |
train_d80d286d5f06be54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.476, 0.383, 0.16), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.4, 0.319).lineTo(0.41, 0.28).lineTo(0.41, 0.242).lineTo(0.415, 0.203).lineTo(0.4, 0.164).lineTo(0.154, 0.164).lineTo(0.154, -0.252).lineTo(-0.17, -0.252).lineTo(-0.17, 0.164).lineTo... | 17 | 74 | 0.325021 |
train_7a0141058f6b7b72 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.636), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.952, 0.142).lineTo(0.952, -0.152).lineTo(-0.942, -0.152).threePointArc((-0.951, -0.148), (-0.952, -0.142)).lineTo(-0.952, 0.135).lineTo(-0.937, 0.152).lineTo(0.944, 0.152).lineTo(0.944, 0.... | 13 | 46 | 1.35506 |
train_1e54ed5fe2330443 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.026, 0, -2.594), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.352).extrude(3.239)
result = result.union(cq.Workplane(cq.Plane(origin=(-1.026, 0, -0.327), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(0.435).extrude(2.003))
result = ... | 12 | 31 | 0.704688 |
train_5db31093789f2e00 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0.192, -0.428), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.026, 0.365).lineTo(0.258, 0.317).lineTo(0.314, 0.056).lineTo(0.285, -0.15).lineTo(0.132, -0.365).lineTo(-0.1, -0.238).lineTo(-0.314, -0.08).lineTo(-0.216, 0.173).lineTo(-0.026, 0.... | 4 | 67 | 1.509153 |
train_e2c3df746e5792fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.516, 1).lineTo(0.516, 0.764).lineTo(0.747, 0.764).lineTo(0.747, -1).lineTo(-0.594, -1).threePointArc((-0.702, -0.947), (-0.747, -0.839)).lineTo(-0.747, 0.762).threePointArc((-0.679, 0.923)... | 14 | 137 | 1.091801 |
train_1d403b987303be07 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, 0.026, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.174, 0.084).threePointArc((0.19, 0.077), (0.197, 0.061)).lineTo(0.197, -0.057).threePointArc((0.189, -0.076), (0.17, -0.084)).lineTo(-0.19, -0.084).threePointArc((-0.195, -0.082), (-0.1... | 13 | 235 | 0.098579 |
train_7a566fdf8b634440 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, -0.16, -0.69), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.511).lineTo(0.19, 0.461).lineTo(0.19, 0.342).lineTo(0.256, 0.307).lineTo(0.506, 0.307).lineTo(0.569, 0.273).lineTo(0.569, -0.466).lineTo(0.484, -0.511).lineTo(0.306, -0.511).... | 16 | 264 | 0.534242 |
train_d6639b1c6cefc823 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.335), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, 1).threePointArc((0.693, 0.961), (0.729, 0.87)).lineTo(0.729, -0.891).threePointArc((0.699, -0.966), (0.624, -1)).lineTo(-0.622, -1).threePointArc((-0.699, -0.966), (-0.729, -0.89)).l... | 17 | 68 | 1.391204 |
train_43c84b46465915dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, -0.144, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.123, 0.501).lineTo(0.123, -0.447).threePointArc((0, -0.57), (-0.123, -0.447)).lineTo(-0.123, 0.501).threePointArc((0, 0.623), (0.123, 0.501)).close().moveTo(0.002, 0.083).threePointAr... | 5 | 95 | 0.116098 |
train_23d7abc650b44a58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, 0, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.987, 0).threePointArc((0, -0.987), (-0.987, 0)).threePointArc((0, 0.987), (0.987, 0)).close().extrude(0.178)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.699, 0.027, -1.371), ... | 9 | 9 | 0.542792 |
train_92a8816f9445c808 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.785, 0.565), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.296, 0).threePointArc((0.209, -0.209), (0, -0.296)).threePointArc((-0.209, -0.209), (-0.296, 0)).threePointArc((-0.209, 0.209), (0, 0.296)).threePointArc((0.209, 0.209), (0.296, 0)).clo... | 4 | 20 | 0.199837 |
train_31a49d751f159624 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.501), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.094).lineTo(1, -0.115).lineTo(0.666, -0.115).lineTo(0.666, 0.094).threePointArc((0.69, 0.115), (0.713, 0.094)).threePointArc((0.737, 0.071), (0.76, 0.094)).threePointArc((0.781, 0.115)... | 1 | 12 | 1.170333 |
train_5674414c9122ebf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.617, 0.661).lineTo(-0.617, -0.427).lineTo(1, -0.427).lineTo(1, -0.661).lineTo(-1, -0.661).lineTo(-1, 0.661).lineTo(-0.617, 0.661).close().extrude(0.512)
result = result.edges().chamfer(0.... | 5 | 69 | 0.096794 |
train_ccf4450a6b7f2c2e | 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.409, 0.966).threePointArc((0.473, 0.932), (0.499, 0.85)).lineTo(0.499, 0.56).threePointArc((0.554, 0.393), (0.684, 0.322)).lineTo(0.858, 0.322).threePointArc((0.957, 0.268), (0.999, 0.141))... | 7 | 49 | 1.932685 |
train_43cc6348d70a6344 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.848, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.042, 1.84).threePointArc((0.39, 1.746), (0.632, 1.55)).threePointArc((0.706, 1.307), (0.59, 1.08)).threePointArc((0.316, 0.931), (-0.042, 0.9)).threePointArc((-0.39, 0.995), (-0.632, 1.19)... | 23 | 601 | 1.74725 |
train_b4789d17fb18cc14 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.208, 0.177, -0.863), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.034, 0.509).lineTo(0.504, 0.022).threePointArc((0.195, -0.171), (0.06, -0.509)).threePointArc((-0.148, -0.182), (-0.504, -0.028)).threePointArc((-0.167, 0.173),... | 14 | 150 | 1.466989 |
train_6c00266bce54ca12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.251, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.682, 0.403).lineTo(0.843, -0.322).lineTo(0.521, -0.403).threePointArc((0.118, -0.242), (0.279, 0.242)).lineTo(0.682, 0.403).close().extrude(1.327).union(cq.Workplane(cq.Plane(origin=(0, -... | 13 | 177 | 1.577112 |
train_68242ef59e9963e9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.055, 0.357, 0.536), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.193, 0).threePointArc((0, -0.193), (-0.193, 0)).threePointArc((0, 0.193), (0.193, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.055, 0.357, 0.536), normal=(0, -1, 0), xDir=(1, 0... | 10 | 76 | 0.826465 |
train_1c054f08ce60ffc2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.772, 0.441).lineTo(0.922, 0.357).lineTo(1, 0.153).lineTo(1, 0).lineTo(0.782, 0).lineTo(0.782, 0.132).lineTo(0.683, 0.357).lineTo(0, 0.223).lineTo(0, 0.441).lineTo(0.772, 0.441).close().re... | 3 | 14 | 0.621253 |
train_88a6656b9fe230d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.35, -0.242, -0.097), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.196, 0.516).threePointArc((0.394, 0.435), (0.476, 0.237)).lineTo(0.476, -0.237).threePointArc((0.394, -0.435), (0.196, -0.516)).lineTo(-0.196, -0.516).threePointArc((-0.394, -0.43... | 12 | 228 | 0.416787 |
train_d7fcfca9b65d33a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.658, 0.525).lineTo(1, 0.183).lineTo(1, -0.244).lineTo(0.718, -0.525).lineTo(-0.681, -0.525).lineTo(-0.681, -0.206).lineTo(-1, -0.206).lineTo(-1, 0.365).threePointArc((-0.954, 0.48), (-0.84,... | 17 | 184 | 0.613187 |
train_e505e593426b6851 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.132, 0.06, -0.664), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.568, 0.672).lineTo(0.568, -0.672).threePointArc((-0.568, 0), (0.568, 0.672)).close().twistExtrude(1.328, -141.599)
result = result.edges().fillet(0.041)
result = result.union(cq.Wo... | 12 | 189 | 1.683937 |
train_8c1697d290bbe4d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.475, 0.233, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.132, 1.212).lineTo(0.223, 0.526).lineTo(0.978, 0.367).lineTo(0.291, 0.011).lineTo(0.132, -0.746).lineTo(-0.223, -0.057).lineTo(-0.978, 0.102).lineTo(-0.291, 0.457).lineTo(-0.132, 1.21... | 16 | 111 | 1.940983 |
train_a3234afff06d60fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.092, -0.001, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.172, 0.688).lineTo(0.172, 0.345).lineTo(0.861, 0.345).lineTo(0.861, -0.345).lineTo(0.516, -0.345).lineTo(0.516, 0).lineTo(0.172, 0).lineTo(0.172, -0.345).lineTo(-0.172, -0.345).li... | 23 | 105 | 1.009611 |
train_32b0cf60f88293c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.249, 0.572, 0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.016, 0.428).lineTo(0.239, 0.299).lineTo(0.255, 0.014).lineTo(0.016, -0.142).lineTo(-0.239, -0.013).lineTo(-0.255, 0.272).lineTo(-0.016, 0.428).close().extrude(0.499)
result = resu... | 6 | 89 | 0.093797 |
train_d91f0887804281b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0.111, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.049).lineTo(0.914, -0.012).lineTo(0.926, -0.081).lineTo(0.921, -0.15).lineTo(0.9, -0.215).lineTo(0.865, -0.27).lineTo(0.818, -0.31).lineTo(0.764, -0.333).lineTo(0.706, -0.3... | 24 | 1,143 | 0.613547 |
train_edf5c4aff70cc7cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.014, 0.168, 0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.296, 0.335).lineTo(0.296, -0.335).lineTo(-0.256, -0.335).lineTo(-0.296, -0.217).threePointArc((-0.296, -0.138), (-0.217, -0.059)).lineTo(-0.217, 0.059).lineTo(-0.217, 0.217).lineTo(-... | 17 | 93 | 0.043117 |
train_0334cb5917fcde16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.01, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.643, 0.603).threePointArc((0.945, 0.302), (0.945, -0.201)).threePointArc((0.743, -0.502), (0.241, -0.603)).threePointArc((-0.06, -0.302), (-0.06, 0.201)).threePointArc((0.241, 0.502), (... | 4 | 29 | 0.418435 |
train_2ec123116bec3358 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.084, 0.361, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.199, 0.639).lineTo(0.199, 0.183).lineTo(0.108, 0.183).lineTo(0.108, 0.354).lineTo(-0.108, 0.354).lineTo(-0.108, 0.183).lineTo(-0.199, 0.183).lineTo(-0.199, 0.639).lineTo(-0.108, 0.6... | 12 | 318 | 0.242768 |
train_d737ef471c396aa2 | 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.049, 0.111).threePointArc((0.061, 0.106), (0.067, 0.093)).lineTo(0.067, 0.032).threePointArc((0.07, 0.025), (0.077, 0.022)).lineTo(0.096, 0.022).threePointArc((0.107, 0.018), (0.111, 0.007)).l... | 5 | 40 | 0.050511 |
train_f5ebe35e679b7a5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.568, 0.541).lineTo(0.574, 0.141).lineTo(1, 0.054).lineTo(0.59, -0.106).lineTo(0.657, -0.541).lineTo(0.368, -0.216).lineTo(-0.041, -0.376).lineTo(0.165, -0.019).lineTo(-0.064, 0.271).lineTo... | 3 | 43 | 0.476692 |
train_c4ec9436f59bdf50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.06, -0.427), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.865, 0.641).lineTo(0.865, -0.641).lineTo(-0.865, -0.641).lineTo(-0.865, 0.641).lineTo(0.865, 0.641).close().extrude(0.573, both=True)
result = result.union(cq.Workplane(cq.Plane(origin... | 8 | 50 | 0.856481 |
train_ec0e6eb0e71ee848 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.233, -0.319, 0.349), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.144, 0).threePointArc((0, -0.144), (-0.144, 0)).threePointArc((0, 0.144), (0.144, 0)).close().extrude(1.349)
result = result.union(cq.Workplane(cq.Plane(origin=(0.117, 0.262, 0.99... | 4 | 31 | 0.266057 |
train_7e1789f8ba24f927 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.104, -0.432), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.537, 0.582).threePointArc((0.856, 0.447), (1, 0.121)).lineTo(1, -0.341).threePointArc((0.922, -0.511), (0.757, -0.582)).lineTo(-1, -0.582).lineTo(-1, 0.211).threePointArc((-0.883, 0.47... | 14 | 181 | 0.737978 |
train_9607715e84f06f33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -11.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.325).threePointArc((0.162, 0.162), (0.325, 0)).threePointArc((0.162, -0.162), (0, -0.325)).threePointArc((-0.162, -0.162), (-0.325, 0)).threePointArc((-0.162, 0.162), (0, 0.325)).close... | 5 | 14 | 0.37307 |
train_c764d60f90f302c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.202, 0.006, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.968, -0.596).threePointArc((-0.226, -0.993), (-0.564, -0.904)).lineTo(0.317, 0.993).close().extrude(0.417)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.654, 0.089), nor... | 21 | 179 | 0.578628 |
train_fff225b437ee4146 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.236, 0.886).threePointArc((-0.07, 0.802), (0, 0.607)).lineTo(0, 0.17).threePointArc((0.116, -0.158), (0.391, -0.297)).lineTo(0.878, -0.297).threePointArc((0.958, -0.336), (1, -0.432)).lin... | 4 | 61 | 1.685614 |
train_bd42dad1981f9f1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.776), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.907).lineTo(1, -0.907).lineTo(-1, -0.907).lineTo(-1, 0.907).lineTo(-0.657, 0.907).lineTo(-0.657, -0.671).lineTo(0.657, -0.671).lineTo(0.657, 0.907).lineTo(1, 0.907).close().extrude(0.08... | 18 | 186 | 1.398758 |
train_6d292146069d5a62 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.309, -0.378, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.341).lineTo(0.129, 0.32).lineTo(0.209, 0.456).lineTo(0.291, 0.41).lineTo(0.212, 0.272).lineTo(0.272, 0.212).lineTo(0.41, 0.291).lineTo(0.456, 0.209).lineTo(0.32, 0.129).lineTo(0... | 7 | 190 | 1.036434 |
train_f635b2ccdaec3074 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.449, 0, -0.211), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.255, 0.423).lineTo(0.255, 0.255).lineTo(0.898, 0.255).lineTo(0.898, 0).lineTo(0, 0).lineTo(0, 0.423).lineTo(0.255, 0.423).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 4 | 9 | 0.740073 |
train_c0d7858dfeed3617 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.685, 0.629).threePointArc((0.907, 0.537), (1, 0.314)).lineTo(1, -0.287).threePointArc((0.898, -0.529), (0.658, -0.629)).lineTo(-0.822, -0.629).threePointArc((-0.947, -0.577), (-1, -0.451))... | 4 | 17 | 0.914339 |
train_f20f442e4e59d6e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.142, 0.204, 0.441), normal=(0.431, -0.74, -0.516), xDir=(0.864, 0.503, 0))).moveTo(-0.402, -0.338).threePointArc((-0.39, -0.371), (-0.361, -0.384)).lineTo(0.287, -0.384).threePointArc((0.367, -0.345), (0.402, -0.253)).lineTo(0.402, -0.026).thre... | 11 | 224 | 1.346021 |
train_df88049c6c5499a7 | 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.882, 0.169).threePointArc((0.965, 0.134), (1, 0.05)).lineTo(1, -0.004).threePointArc((0.951, -0.121), (0.834, -0.169)).lineTo(-1, -0.169).lineTo(-1, 0.169).lineTo(0.882, 0.169).close().ext... | 14 | 59 | 0.393486 |
train_1ae20ca0938534b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, -0.139, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, 0.813).lineTo(0.823, -0.488).threePointArc((-0.823, -0.163), (0.823, 0.813)).close().moveTo(-0.118, 0.813).lineTo(0.588, 0.488).threePointArc((-0.353, -0.813), (-0.118, 0.813... | 4 | 32 | 0.969382 |
train_525700f58cffd4e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.018, -0.736), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.024).lineTo(1, 0.206).lineTo(0.74, 0.206).lineTo(0.74, 0).lineTo(0, 0).lineTo(0, 1.024).lineTo(1, 1.024).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
r... | 8 | 97 | 1.448024 |
train_ca819bc1f160b4c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.161, 2).extrude(0.244)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, -0.252).lineTo(-0.499, 0.252).lineTo(0.499, 0.252).cl... | 16 | 128 | 0.176703 |
train_4b18f36551480df6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.308, 0.944).lineTo(0.806, 0.585).lineTo(1, 0).lineTo(0.806, -0.585).lineTo(0.308, -0.944).lineTo(-0.308, -0.944).lineTo(-0.806, -0.585).lineTo(-1, 0).lineTo(-0.806, 0.585).lineTo(-0.308, 0... | 4 | 27 | 1.262324 |
train_38aef2c4495dee72 | 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.387, 0.942).lineTo(0.646, 0.499).lineTo(0.242, 0.266).lineTo(0.81, -0.72).lineTo(0.42, -0.942).lineTo(-0.149, 0.04).lineTo(-0.553, -0.193).lineTo(-0.81, 0.254).lineTo(0.387, 0.942).close().ext... | 18 | 117 | 2.683583 |
train_2d48214cf96ad1c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.233).lineTo(1, 0.086).lineTo(1, 0).lineTo(0.846, 0).lineTo(0.846, 0.073).lineTo(0.751, 0.233).lineTo(0, 0.1).lineTo(0, 0.245).lineTo(0.865, 0.245).lineTo(0.912, 0.233).close().revo... | 6 | 39 | 0.25983 |
train_4cc185eb09c97d74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.217), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.434).lineTo(0.92, 0.243).lineTo(1, 0.151).lineTo(1, 0).lineTo(0.961, 0).lineTo(0.961, 0.129).lineTo(0.861, 0.243).lineTo(0, 0.395).lineTo(0, 0.434).lineTo(0.95, 0.434).close().revol... | 6 | 45 | 0.401365 |
train_90144a2eab387bf0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.059, 0.293, 0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.52, 0.556).threePointArc((0.761, 0.025), (0.556, -0.52)).threePointArc((0.025, -0.761), (-0.52, -0.556)).threePointArc((-0.761, -0.025), (-0.556, 0.52)).threePointArc((-0.025, 0.76... | 5 | 137 | 0.597007 |
train_ae0b46394481ac02 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.267, -0.631).lineTo(0.154, -0.667).lineTo(0.195, -0.904).lineTo(-0.003, -0.925).lineTo(-0.012, -0.685).lineTo(-0.131, -0.672).lineTo(-0.19, -0.905).lineTo(-0.38, -0.844).lineTo(-0.29, -0.621).lineTo(-0.393, -0.561).lineTo(-0.542, -0.75).lineTo(-0.69... | 5 | 310 | 1.874595 |
train_7b8c0473599d8f01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.122, 0.989).threePointArc((-0.037, 0.945), (0, 0.841)).lineTo(0, 0.723).threePointArc((0.032, 0.633), (0.109, 0.594)).lineTo(0.597, 0.594).threePointArc((0.642, 0.572), (0.661, 0.518)).li... | 5 | 161 | 0.246763 |
train_c0b878b530049326 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.2, -0.041, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.754, -0.524).threePointArc((-0.867, 0.641), (0.047, 0.258)).lineTo(0.867, -0.329).lineTo(-0.047, 0.054).threePointArc((-0.117, 0.375), (-0.281, 0.493)).threePointArc((-0.703, 0.524... | 4 | 64 | 0.097944 |
train_84cae17502e8b9cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.096, 0.007, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.07, -0.14).lineTo(0.064, -0.108).threePointArc((0.063, -0.107), (0.062, -0.107)).lineTo(-0.001, -0.168).threePointArc((-0.142, -0.076), (-0.028, 0.119)).lineTo(0.028, 0.072).threePoint... | 11 | 53 | 0.05413 |
train_a31d8b273e05780e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.83)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.776).extrude(2.49, both=True))
result = result.union(cq.Workplan... | 14 | 42 | 2.471126 |
train_545f658b80fec0a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.094, 0.991, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.834, 0.836).lineTo(0.834, -0.648).threePointArc((-0.834, 0.094), (0.834, 0.836)).close().moveTo(-0.123, -0.037).threePointArc((-0.085, -0.074), (-0.059, -0.11)).threePointArc((-0.039, ... | 6 | 68 | 6.026186 |
train_2115d563856986cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.502), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.942, 1.106).lineTo(0.942, 0).lineTo(-0.942, 0).lineTo(-0.942, 1.106).lineTo(-0.756, 1.106).lineTo(-0.756, 0.186).lineTo(0.756, 0.186).lineTo(0.756, 1.106).lineTo(0.942, 1.106).close().ext... | 7 | 45 | 0.51836 |
train_3d1bc8c9d3486a5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.29, 2).lineTo(0.29, 1.131).lineTo(0.536, 1.131).lineTo(0.536, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.29, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 5 | 27 | 0.984633 |
train_79cb227c76ee105d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.218, -0.788, 0.014), normal=(-0.227, 0.974, -0.01), xDir=(-0.974, -0.227, 0))).moveTo(-0.531, 0.742).threePointArc((-0.015, 0.881), (0.639, 0.503)).threePointArc((0.833, -0.219), (0.531, -0.742)).threePointArc((0.015, -0.881), (-0.639, -0.503)).... | 16 | 158 | 2.182842 |
train_8c779024bb12f410 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.598), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.639, 0.803).lineTo(1.026, 0).lineTo(0.639, -0.803).lineTo(-0.228, -1).lineTo(-0.925, -0.445).lineTo(-0.925, 0.445).lineTo(-0.228, 1).close().extrude(0.484)
result = ... | 7 | 74 | 1.544621 |
train_0a89078a4e323cc4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.384, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.045, 1).threePointArc((0.221, 0.888), (0.333, 0.621)).lineTo(0.333, -0.179).threePointArc((0.379, -0.288), (0.487, -0.333)).lineTo(0.779, -0.333).threePointArc((0.934, -0.399), (1, -0... | 24 | 42 | 1.953841 |
train_d966eb601d011c65 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.765, -0.682), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.999, 0.768).threePointArc((0.702, 1.469), (0, 1.761)).threePointArc((-0.702, 1.469), (-0.999, 0.768)).threePointArc((-0.702, 0.06), (0, -0.232)).threePointArc((0.702, 0.06), (0.9... | 9 | 25 | 0.323777 |
train_da882114a5618db3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.377, 2).extrude(0.25)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.014, -0.825).lineTo(-0.014, 0.825).lineTo(0.014, 0.825).close... | 7 | 40 | 0.178351 |
train_ff0e934e59d22cd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.847, 0.324).lineTo(2.125, 0.237).lineTo(1.874, 0.152).lineTo(0.335, -0.087).lineTo(0.31, -0.53).lineTo(-0.312, -0.53).lineTo(-0.338, -0.087).lineTo(-1.876, 0.152).lineTo(-2.125, 0.226)... | 6 | 62 | 0.129893 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.