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_929748c711b7e037 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.703, -0.305).lineTo(0.883, -0.47).lineTo(0.739, -0.675).lineTo(0.542, -0.542).lineTo(0.281, -0.713).lineTo(0.292, -0.957).lineTo(0.044, -1).lineTo(0, -0.765).lineTo(-0.305, -0.703).lineTo(... | 3 | 36 | 0.630812 |
train_0534dd39487697b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.578), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.796).lineTo(1, 0.171).lineTo(-0.375, 0.171).lineTo(-0.375, -0.171).lineTo(1, -0.171).lineTo(1, -0.796).lineTo(-1, -0.796).lineTo(-1, 0.796).lineTo(1, 0.796).close().extrude(1.155)
resul... | 5 | 140 | 2.995655 |
train_45f76def41eb1a70 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.532, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.095, 1.532).lineTo(0.121, 1.341).lineTo(0.408, 1.366).lineTo(0.294, 1.101).lineTo(0.407, 0.836).lineTo(0.119, 0.863).lineTo(0.085, 0.815).threePointArc((0.05, 0.822), (0.023, 0.798)).thr... | 7 | 135 | 0.802791 |
train_6ec10aa8b9299081 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.707, 0.707).lineTo(1, 0).lineTo(0.707, -0.707).lineTo(0, -1).lineTo(-0.707, -0.707).lineTo(-1, 0).lineTo(-0.707, 0.707).lineTo(0, 1).close().extrude(0.304)
result = result.union... | 3 | 48 | 1.064045 |
train_636e51da74ba8ee4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.892, 0.34).lineTo(0.912, 0.299).lineTo(1, 0.119).lineTo(1, 0).lineTo(0.902, 0).lineTo(0.902, 0.103).lineTo(0.806, 0.299).lineTo(0, 0.251).lineTo(0, 0.34).lineTo(0.892, 0.34).close().revolv... | 4 | 23 | 0.290387 |
train_70736543ff3f650c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.328, -0.009, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.604, 0.422).threePointArc((0.653, 0.402), (0.672, 0.354)).lineTo(0.672, -0.373).lineTo(0.624, -0.373).lineTo(0.624, -0.422).lineTo(-0.59, -0.422).lineTo(-0.59, -0.34).lineTo(-0.67... | 18 | 370 | 0.498354 |
train_2066d743da8a0c09 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, 0.21, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.23, 1.133).lineTo(0.38, 0.904).lineTo(0.176, 0.771).lineTo(0.326, 0.542).lineTo(0.122, 0.409).lineTo(0.161, 0.369).lineTo(0.196, 0.327).lineTo(0.2, 0.264).lineTo(0.232, 0.219).threePoin... | 17 | 221 | 0.318297 |
train_4aec06c76ed6f61a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.09, 0.074, -0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.673, 0.528).threePointArc((0.697, 0.518), (0.707, 0.494)).lineTo(0.707, 0.361).threePointArc((0.689, 0.319), (0.647, 0.301)).lineTo(0.212, 0.301).threePointArc((0.143, 0.272), (0.11... | 13 | 191 | 0.698805 |
train_c06fa1eaede0733d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.038, 0.624, -0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.152, 0.38).lineTo(1.396, 0.214).lineTo(1.448, 0.019).lineTo(-0.04, -0.38).lineTo(-0.093, -0.185).lineTo(-0.057, 0.056).lineTo(0.036, 0.081).lineTo(0.28, -0.085).lineTo(0.314, 0.15... | 14 | 188 | 0.676712 |
train_52fd8ecf9d530a1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.359).lineTo(1, -0.12).lineTo(1.314, -0.142).lineTo(1.374, -0.12).lineTo(1.374, -0.232).lineTo(1, -0.232).lineTo(1, -0.359).lineTo(0.223, -0.359).lineTo(0.004, -0.027).lineTo(0.004, 0.23... | 6 | 94 | 0.473263 |
train_c60237eb51846a2f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.178, 0.076, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.629, 0.49).threePointArc((0.764, 0.439), (0.822, 0.318)).lineTo(0.822, -0.163).threePointArc((0.713, -0.393), (0.456, -0.49)).lineTo(-0.532, -0.49).threePointArc((-0.736, -0.413), (-0.8... | 25 | 536 | 1.823405 |
train_713aa46ae2f44a7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.147, 0, -0.181), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.391, 0.362).lineTo(0.391, 0).lineTo(-0.391, 0).lineTo(-0.391, 0.362).lineTo(-0.17, 0.362).lineTo(-0.17, 0.22).lineTo(0.17, 0.22).lineTo(0.17, 0.362).lineTo(0.391, 0.362).close().extru... | 8 | 71 | 0.389058 |
train_5d4a5d94562466c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.167, -0.667, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.204, 1.166).threePointArc((0.662, 0.976), (0.85, 0.52)).lineTo(0.85, -0.187).threePointArc((0.662, -0.644), (0.204, -0.832)).lineTo(-0.204, -0.832).threePointArc((-0.662, -0.644), (-0... | 9 | 49 | 5.317761 |
train_3d58dc49359eaa7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.267, 0, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.733, 0.184).lineTo(0.733, -0.184).lineTo(-0.733, -0.184).lineTo(-0.733, 0.184).lineTo(0.733, 0.184).close().extrude(0.148)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.201, ... | 14 | 54 | 0.101287 |
train_9603e4a3cd6ce135 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.041, -0.286, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, 0.654).threePointArc((0.375, 0.56), (0.282, 0.467)).lineTo(0.56, 0.375).threePointArc((0.654, 0.094), (0.467, 0.094)).lineTo(0.654, -0.282).threePointArc((0.467, -0.467), (0... | 27 | 239 | 0.593226 |
train_93daf351d7af8c91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.092, 0.625, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.59, 1.964).threePointArc((0.649, 1.775), (0.767, 1.615)).lineTo(0.91, 1.267).lineTo(0.857, 0.918).lineTo(0.815, 0.569).lineTo(0.59, 0.22).threePointArc((-0.91, 1.092), (0.59, 1.964)).c... | 5 | 29 | 2.330088 |
train_1fa004e910858e8a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.136, -0.152), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.804, 0.304).lineTo(0.793, 0.217).lineTo(0.863, 0.106).lineTo(0.863, 0).lineTo(0.707, 0).lineTo(0.707, 0.091).lineTo(0.621, 0.217).lineTo(0, 0.148).lineTo(0, 0.304).lineTo(0.804, 0.304... | 6 | 32 | 0.372926 |
train_4a304bcec0451201 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, 0.05, 0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.133, 0.459).threePointArc((0.38, 0.656), (0.894, 0.24)).threePointArc((1.025, -0.641), (0.183, -0.656)).threePointArc((0.004, -0.452), (-0.153, -0.452)).threePointArc((-1.025, -0.2... | 19 | 182 | 1.460566 |
train_bb15046eceb368d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.092, 0.255, -0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.372, 0.645).threePointArc((0.193, 0.719), (0.645, 0.372)).threePointArc((0.719, -0.193), (0.372, -0.645)).threePointArc((-0.193, -0.719), (-0.645, -0.372)).threePointArc((-0.719, ... | 7 | 66 | 0.151913 |
train_535f6f072f3a1fc7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.695, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.261, 0.305).threePointArc((0.284, 0.298), (0.294, 0.28)).lineTo(0.294, -0.256).threePointArc((0.275, -0.29), (0.23, -0.305)).lineTo(-0.144, -0.305).threePointArc((-0.25, -0.271), (-0.2... | 8 | 55 | 0.914528 |
train_3df563080a6bfa1d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.574, 0.08, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.14, 0.769).threePointArc((-0.089, 0.767), (-0.044, 0.753)).threePointArc((0.005, 0.733), (0.061, 0.751)).lineTo(0.096, 0.643).threePointArc((0.169, 0.63), (0.184, 0.581)).threePointArc... | 2 | 28 | 0.538128 |
train_8862483d6aa4dfa0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.138, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.483, 0.751).threePointArc((0.547, 0.704), (0.574, 0.593)).lineTo(0.574, 0.348).threePointArc((0.59, 0.279), (0.629, 0.251)).lineTo(0.795, 0.251).threePointArc((0.84, 0.217), (0.859, 0.... | 5 | 65 | 0.512387 |
train_3cfde27e31d7c109 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.017, -0.042, -0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.675, 0.518).lineTo(0.675, -0.518).lineTo(-0.675, -0.518).lineTo(-0.675, 0.518).lineTo(-0.228, 0.518).lineTo(-0.228, -0.017).lineTo(0.228, -0.017).lineTo(0.228, 0.518).lineTo(0.67... | 12 | 162 | 1.704243 |
train_dd9da85bf0b03dd6 | 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, 1).lineTo(0.5, 0.866).lineTo(0.866, 0.5).lineTo(1, 0).lineTo(0.866, -0.5).lineTo(0.5, -0.866).lineTo(0, -1).lineTo(-0.5, -0.866).lineTo(-0.866, -0.5).lineTo(-1, 0).lineTo(-0.866, 0.5).line... | 3 | 16 | 0.347743 |
train_29d01864153ad809 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.161).lineTo(1, -0.161).lineTo(-1, -0.161).lineTo(-1, 0.161).lineTo(1, 0.161).close().extrude(0.379)
result = result.union(cq.Workplane(cq.Plane(origin=(0.382, 0, 0.155), normal=(0, 0, 1... | 13 | 27 | 0.143722 |
train_45da87429d68ff63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.622, 1).threePointArc((0.748, 0.947), (0.801, 0.821)).lineTo(0.801, -0.831).threePointArc((0.751, -0.95), (0.632, -1)).lineTo(-0.696, -1).lineTo(-0.696, -0.895).lineTo(-0.801, -0.895).line... | 14 | 74 | 0.473159 |
train_f8f1af88a9cafad2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.522), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.004).extrude(1.043)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.004, 0, -0.522), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.502), (-0.502, 0.87), (-1.004, 1.... | 7 | 87 | 2.312886 |
train_6d1946cff84041b4 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.746).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.717).extrude(0.709, both=True))
result = result.cut(cq.Workplane('XY').circle(0.695).extrude(2.977, both=True))
resu... | 9 | 43 | 0.57957 |
train_599a80aa2c28c1a9 | 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.072, 0.448).lineTo(0.658, 0.256).threePointArc((0.915, 0.302), (0.682, 0.12)).lineTo(-0.058, -0.448).lineTo(0.011, 0.408).lineTo(0.047, 0.416).lineTo(0.072, 0.448).close().extrude(2).union(cq.... | 3 | 18 | 1.624644 |
train_42adb3584436c6be | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.369), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.182).lineTo(1, -0.123).lineTo(0.894, -0.22).lineTo(-0.936, -0.22).lineTo(-1, -0.165).lineTo(-1, 0.131).lineTo(-0.902, 0.22).lineTo(0.953, 0.22).lineTo(1, 0.182).close().extrude(0.536)
r... | 11 | 55 | 0.415512 |
train_1bd3a21a128a6853 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.453), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.703).lineTo(1, -0.274).lineTo(0.567, -0.703).lineTo(-0.696, -0.703).lineTo(-0.696, -0.401).lineTo(-1, -0.401).lineTo(-1, 0.471).threePointArc((-0.924, 0.634), (-0.766, 0.703)).lineTo(1,... | 11 | 54 | 0.715276 |
train_7bd4de63b60d80e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.986, 0.493).lineTo(0.986, 0).lineTo(0, 0).lineTo(0, -0.493).lineTo(-0.986, -0.493).lineTo(-0.986, 0.493).lineTo(0.986, 0.493).close().extrude(0.178, taper=-4.445)
result = result.cut(cq.Wo... | 14 | 36 | 0.258004 |
train_1e9ec07ba45706b2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.01, 0.111).lineTo(0.047, 0.101).threePointArc((0.067, 0.067), (0.079, 0.079)).lineTo(0.101, 0.047).threePointArc((0.095, 0.008), (0.111, 0.01)).lineTo(0.108, -0.029).threePointArc((0.078, -0.054), (0.091, -0.064)).lineTo(0.064, -0.091).threePointArc... | 8 | 62 | 0.049701 |
train_cd38f1041031118c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.294), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.891, 0.587).lineTo(0.912, 0.542).lineTo(1, 0.205).lineTo(1, 0).lineTo(0.837, 0).lineTo(0.837, 0.175).lineTo(0.742, 0.542).lineTo(0, 0.433).lineTo(0, 0.587).lineTo(0.891, 0.587).close().re... | 9 | 71 | 0.531808 |
train_bd3ffb45f0d1c0d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.129).threePointArc((0.156, 0.065), (0.1, -0.065)).lineTo(-0.128, -0.129).threePointArc((-0.156, -0.065), (-0.128, 0.129)).lineTo(0.1, 0.129).close().moveTo(0.1, 0.065).threePointArc((... | 12 | 36 | 0.075111 |
train_41a452acb89047fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.004, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.252).lineTo(0.923, 0).lineTo(1, -0.252).lineTo(0.311, -0.252).lineTo(0.311, 0.252).lineTo(1, 0.252).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 9 | 61 | 0.610166 |
train_0a354311b80833df | 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.691).extrude(0.61)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.695, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.162, 0.444), (-0.571, 0.68), (-1.036, 0.598),... | 19 | 320 | 1.038258 |
train_a20c4fdcd5853ac2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.562, 0.734).threePointArc((-0.51, 0.717), (-0.488, 0.677)).lineTo(-0.488, -0.417).threePointArc((-0.448, -0.486), (-0.352, -0.515)).lineTo(0.744, -0.515).threePointArc((0.777, -0.525), (0... | 4 | 45 | 0.496136 |
train_df98a985894a410e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.787, 0.633, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(1, 1.512).lineTo(1, -0.245).lineTo(0.487, -0.245).lineTo(0.487, 0.428).lineTo(-0.487, 0.428).lineTo(-0.487, -0.245).lineTo(-1, -0.245).lineTo(-1, 1.512).lineTo(-0.487, 1.512).lineTo(-0.4... | 19 | 32 | 1.410579 |
train_5a1e21dff1b81094 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.289), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.269, 0.577).lineTo(0.269, 0).lineTo(-0.269, 0).lineTo(-0.269, 0.577).lineTo(-0.227, 0.577).lineTo(-0.227, 0.042).lineTo(0.227, 0.042).lineTo(0.227, 0.577).lineTo(0.269, 0.577).close().ext... | 4 | 73 | 0.122296 |
train_f161a86253807584 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, -0.174, 0.068), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.478, 0.097).lineTo(1.478, 0).lineTo(0, 0).lineTo(0, 0.097).lineTo(1.478, 0.097).close().extrude(0.572, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.478, -0.174, 0... | 8 | 48 | 0.206884 |
train_d66714c4feceac12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0.102, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.364, 0.138).threePointArc((0.341, -0.143), (-0.364, -0.009)).lineTo(-0.162, 0.124).threePointArc((-0.123, 0.139), (-0.067, 0.143)).lineTo(0.364, 0.138).close().extrude(1, both=True)
re... | 5 | 20 | 0.572636 |
train_b328f61faba7ba71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.206, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.147, 0.123).threePointArc((0.122, 0.061), (0.06, 0.036)).threePointArc((0.042, 0.031), (0.025, 0.022)).threePointArc((0.007, 0.03), (-0.009, 0.043)).lineTo(-0.044, 0.021).lineTo(-0.078, 0.... | 2 | 20 | 0.204379 |
train_e9ce019082d3ce90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.418, -0.565, -0.483), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.582, 1.189).lineTo(0.582, 0.112).lineTo(-0.582, 0.112).lineTo(-0.582, 1.189).lineTo(-0.311, 1.189).lineTo(-0.311, 0.304).lineTo(0.311, 0.304).lineTo(0.311, 1.189).lineTo(0.582, 1... | 8 | 88 | 0.251891 |
train_83419146290bde24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.15, -0.07, 0.106), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.428, 2.011).threePointArc((0.29, 1.676), (0.25, 1.539)).threePointArc((0.511, 1.647), (0.677, 1.625)).threePointArc((0.727, 1.412), (0.628, 1.199)).lineTo(0.281, 0.977).threePointAr... | 3 | 43 | 0.68728 |
train_ae0d92521d359f7f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.308, 1).threePointArc((-0.232, 0.968), (-0.2, 0.892)).lineTo(-0.2, 0.689).threePointArc((-0.174, 0.626), (-0.111, 0.6)).lineTo(0.14, 0.6).threePointArc((0.182, 0.582), (0.2, 0.54)).lineTo(0.2, -0.051).threePointArc((0.244, -0.156), (0.349, -0.2)).l... | 5 | 72 | 2.190599 |
train_9cd0f14e28eedd98 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.057, 0.144, -0.965), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.817, 0.157).lineTo(0.942, 0.094).lineTo(0.942, -0.157).lineTo(-0.06, -0.157).lineTo(-0.06, 0.094).lineTo(0.003, 0.157).lineTo(0.065, 0.157).lineTo(0.128, 0.094).lineTo(0.128, 0.157... | 6 | 131 | 1.254655 |
train_d2649b22346a0e33 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.14).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(1).extrude(0.658, both=True))
result = result.cut(cq.Workplane('XY').circle(0.265).extrude(3, both=True))
result = resu... | 9 | 33 | 3.180961 |
train_e0d6dcf7e433121d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, 0.007, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.192).lineTo(0.901, -0.167).threePointArc((0.841, -0.195), (0.702, -0.207)).lineTo(-0.635, -0.207).threePointArc((-0.823, -0.191), (-0.901, -0.153)).lineTo(-0.901, 0.186).thr... | 19 | 87 | 0.101462 |
train_fb328a0d245efc5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.328, -0.247, 0.153), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.375, 0.694).threePointArc((0.39, 0.476), (0.521, 0.451)).lineTo(0.661, 0.038).lineTo(0.594, -0.631).lineTo(-0.081, -0.576).threePointArc((-0.318, -0.727), (-0.51, -0.654)).threePo... | 19 | 277 | 0.731256 |
train_bb6fcf4d9d55cf53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.319, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.546, 0.75).threePointArc((0.64, 0.715), (0.68, 0.632)).lineTo(0.68, -0.058).threePointArc((0.649, -0.123), (0.575, -0.15)).lineTo(0.467, -0.15).threePointArc((0.378, -0.183), (0.34, -0... | 10 | 350 | 0.69514 |
train_8accd400e9d2af7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.394).lineTo(1, -0.404).lineTo(0.97, -0.426).lineTo(-0.948, -0.426).threePointArc((-0.979, -0.413), (-1, -0.382)).lineTo(-1, 0.401).lineTo(-0.967, 0.426).lineTo(0.96, 0.426).lineTo(0.96,... | 20 | 270 | 0.244645 |
train_31e1259da4f9c7c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, 0.137, -0.349), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.512, 0.382).lineTo(0.512, 0.329).threePointArc((0.506, 0.312), (0.488, 0.299)).lineTo(0.128, 0.133).threePointArc((0.128, -0.044), (0.257, -0.133)).lineTo(0.739, -0.3).threePointA... | 8 | 264 | 1.290782 |
train_8fbdc9d8368f3518 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.251, 0.001, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.404, 0.623).threePointArc((-0.09, 0.598), (0.237, 0.483)).threePointArc((0.529, 0.294), (0.74, 0.06)).threePointArc((0.838, -0.183), (0.809, -0.398)).threePointArc((0.656, -0.552... | 9 | 90 | 1.330893 |
train_054069b56ea7c051 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.249, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.231).lineTo(1, 0.161).threePointArc((0.941, 0.138), (0.823, 0.128)).lineTo(0.008, 0.128).threePointArc((-0.241, 0.109), (-0.345, 0.062)).lineTo(-0.345, -0.084).threePointArc((-0.275... | 7 | 124 | 0.203354 |
train_f3ee43652bffa5f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.992, -0.837, 0.023), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.139, 0.294).lineTo(0.139, -0.055).threePointArc((-0.139, 0.119), (0.139, 0.294)).close().extrude(1.271)
result = result.union(cq.Workplane(cq.Plane(origin=(0.082, -0.486, 0), norm... | 9 | 68 | 0.100071 |
train_3257ec7ef513c7e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.196, 0.185, -0.471), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.071, 0.788).threePointArc((0.159, 0.75), (0.197, 0.662)).lineTo(0.197, 0.526).threePointArc((0.236, 0.433), (0.329, 0.394)).lineTo(0.513, 0.394).threePointArc((0.568, 0.371), (0.59... | 4 | 42 | 1.087389 |
train_8c8b8be93449027b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.496), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.693).extrude(0.693)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.693, 0, -0.496), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.053, 0.265), (-0.203, 0.49), (-0.428, 0.... | 10 | 262 | 0.390284 |
train_33a680f9a00f7c18 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.184, -0.375, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.724, 0.625).threePointArc((0.76, 0.609), (1, 0.573)).lineTo(1, -0.542).threePointArc((0.751, -0.601), (0.692, -0.625)).lineTo(-0.701, -0.625).threePointArc((-0.753, -0.603), (-1,... | 8 | 79 | 0.336866 |
train_2a434a53dc9a9a0e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.211).lineTo(1, -0.222).lineTo(-0.99, -0.222).threePointArc((-0.997, -0.219), (-1, -0.212)).lineTo(-1, 0.216).lineTo(-0.993, 0.222).lineTo(0.988, 0.222).threePointArc((0.996, 0.219), (1,... | 5 | 18 | 0.229368 |
train_c0253a0aa3099282 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.664, 0.329).lineTo(0.911, 0.259).lineTo(1, 0.115).lineTo(1, 0).lineTo(0.908, 0).lineTo(0.908, 0.099).lineTo(0.811, 0.259).lineTo(0, 0.245).lineTo(0, 0.329).lineTo(0.664, 0.329).close().re... | 8 | 156 | 0.221003 |
train_d18a0ed64a893150 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.407, 0.266).lineTo(0.407, 0.247).lineTo(0.426, 0.247).lineTo(0.426, -0.247).lineTo(0.407, -0.247).lineTo(0.407, -0.266).lineTo(-0.39, -0.266).lineTo(-0.39, -0.23).lineTo(-0.426, -0.23).lin... | 8 | 53 | 0.470007 |
train_ef65113c11553184 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, -0.086).lineTo(0.985, -0.127).lineTo(0.969, -0.215).lineTo(0.806, -0.19).lineTo(0.782, -0.274).lineTo(0.929, -0.351).lineTo(0.893, -0.433).lineTo(0.741, -0.371).lineTo(0.698, -0.4... | 4 | 128 | 0.90715 |
train_d2d80b533419abea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.049, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.692, 0.314).lineTo(0.692, 0.009).lineTo(1, 0.009).lineTo(1, -0.006).lineTo(0.689, -0.006).lineTo(0.689, -0.314).lineTo(-0.721, -0.314).lineTo(-0.721, -0.038).lineTo(-1, -0.038).lineTo... | 18 | 129 | 0.32615 |
train_dd99d9201fc11f02 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.278, 0.226, -0.754), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.476, 0.72).lineTo(-0.476, -0.386).lineTo(0.811, -0.386).lineTo(0.811, -0.72).lineTo(-0.811, -0.72).lineTo(-0.811, 0.72).lineTo(-0.476, 0.72).close().extrude(0.558, taper=-0.822)
r... | 28 | 104 | 0.500645 |
train_f73a30edfe450c65 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.785, -0.156).lineTo(0.756, -0.309).lineTo(0.708, -0.454).lineTo(0.643, -0.588).lineTo(0.562, -0.707).lineTo(0.467, -0.809).lineTo(0.361, -0.891).lineTo(0.246, -0.951).lineTo(0.124, -0.988)... | 3 | 178 | 0.575755 |
train_643adc4816ea18c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.118, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.621).threePointArc((0.356, 0.474), (0.503, 0.118)).threePointArc((0.356, -0.238), (0, -0.385)).threePointArc((-0.356, -0.238), (-0.503, 0.118)).threePointArc((-0.356, 0.474), (0, 0.621... | 1 | 26 | 1.332761 |
train_a4032dda48cfe5b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.028, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, 0.918).threePointArc((0.931, 0.855), (1, 0.704)).lineTo(1, -0.504).threePointArc((0.866, -0.795), (0.549, -0.918)).lineTo(-0.095, -0.918).threePointArc((-0.262, -0.853), (-0.333, -... | 9 | 109 | 1.458562 |
train_47a707ead981fcd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.698, -0.268, -0.833), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.172, 0.225).threePointArc((0.264, 0.182), (0.316, 0.111)).threePointArc((0.32, 0.023), (0.275, -0.069)).threePointArc((0.188, -0.15), (0.073, -0.208)).threePointArc((-0.054, -0.2... | 2 | 29 | 0.162573 |
train_c9e6c75f7e309386 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.834), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.668)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.834), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.233, 0.64), (-0.823, 0.976), (-1.495, 0.859)... | 11 | 100 | 2.84453 |
train_5478239dc6e91c89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.464, -0.286, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.927).threePointArc((0.656, 0.656), (0.927, 0)).lineTo(0.556, 0).threePointArc((0.393, 0.393), (0, 0.556)).lineTo(0, 0.927).close().extrude(2)
result = result.union(cq.Workplane(cq... | 4 | 20 | 0.950043 |
train_bba8d213ead3e8a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, 0.019, 0.232), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.517, -0.03).threePointArc((0.531, -0.066), (0.502, -0.061)).lineTo(0.4, -0.124).lineTo(0.32, -0.195).lineTo(0.307, -0.189).lineTo(0.292, -0.196).lineTo(0.214, -0.133).threePointArc... | 15 | 223 | 0.568993 |
train_70f86dc41935c089 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.42, -0.013, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.053, 0.676).lineTo(0.177, 0.631).lineTo(0.308, 0.438).lineTo(0.264, 0.208).lineTo(0.07, 0.077).lineTo(-0.159, 0.121).lineTo(-0.291, 0.315).lineTo(-0.308, 0.378).lineTo(-0.302, 0.436)... | 4 | 68 | 0.361667 |
train_b5a9083eeb845e92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.499, -0.273, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.651, 0.117).lineTo(-0.044, -0.533).threePointArc((-0.651, -0.273), (-0.606, 0.298)).lineTo(-0.49, 0.427).threePointArc((-0.479, 0.437), (-0.467, 0.445)).lineTo(-0.285, 0.529).thre... | 9 | 84 | 0.52512 |
train_b34c73f7d96dd7ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.241, 0.443).lineTo(0.291, 0.393).lineTo(0.291, 0.328).lineTo(0.352, 0.266).lineTo(0.422, 0.266).lineTo(0.468, 0.22).lineTo(0.468, 0.134).lineTo(0.513, 0.089).lineTo(0.583, 0.089).lineTo(0.... | 2 | 67 | 0.260125 |
train_dd47ea69d8f14fa1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.161, -0.144, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.839, 0.252).lineTo(0.839, -0.126).lineTo(0.504, -0.126).lineTo(0.504, 0).lineTo(0.168, 0).lineTo(0.168, -0.252).lineTo(-0.168, -0.252).lineTo(-0.168, -0.126).lineTo(-0.504, -0.126).li... | 20 | 98 | 0.352066 |
train_85f0a4fc85e91400 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, -0.3, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.643, 0.014).threePointArc((0.803, 0.016), (0.673, -0.003)).lineTo(0.398, -0.052).threePointArc((0.133, -0.055), (0.121, -0.086)).lineTo(-0.396, -0.132).lineTo(-0.794, -0.051).lineT... | 11 | 163 | 0.464765 |
train_783f13a731351226 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.237, 0.026), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.182, 0.442).threePointArc((0.193, 0.437), (0.198, 0.426)).lineTo(0.198, 0.049).threePointArc((0.193, 0.037), (0.182, 0.032)).lineTo(-0.182, 0.032).threePointArc((-0.193, 0.037), (-0.19... | 7 | 245 | 0.280201 |
train_e5801df615270aae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.712, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.567).threePointArc((0.301, 0.443), (0.426, 0.141)).threePointArc((0.301, -0.159), (0, -0.284)).threePointArc((-0.301, -0.159), (-0.426, 0.141)).threePointArc((-0.301, 0.443), (0, 0.567)... | 20 | 229 | 1.318288 |
train_59f294e45de69015 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0, -0.974), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.133, 0.023).threePointArc((0.152, 0.019), (0.156, 0)).threePointArc((0.152, -0.019), (0.133, -0.023)).threePointArc((0.113, -0.019), (0.109, 0)).threePointArc((0.113, 0.019), (0.133, ... | 7 | 88 | 0.01233 |
train_0b90d58c5805dba0 | 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(1, 0.136).lineTo(1, 0.096).threePointArc((0.957, 0.086), (0.874, 0.082)).lineTo(0.421, 0.082).threePointArc((0.312, 0.077), (0.265, 0.064)).lineTo(0.265, -0.064).threePointArc((0.314, -0.077... | 4 | 40 | 0.068805 |
train_7e85697162ec8688 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.641, -0.744, -0.026), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.689, 0.483).lineTo(0.745, 0.343).lineTo(0.974, 0.11).lineTo(0.592, 0.143).lineTo(0.614, -0.342).threePointArc((0.34, -0.135), (0.208, -0.145)).threePointArc((0.04, -0.3), (-0.245... | 21 | 231 | 2.705153 |
train_d6c5d6bee659e744 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.115, -0.014, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.681, 0.7).lineTo(0.733, -0.7).threePointArc((-0.733, -0.658), (0.681, 0.7)).close().extrude(0.411)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.001, 0.196, -0.293), normal... | 11 | 111 | 0.636826 |
train_948c6cffd9cfa813 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.965, 0.259).threePointArc((0.259, -0.965), (-0.965, -0.259)).threePointArc((-0.259, 0.965), (0.965, 0.259)).close().extrude(0.414, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.63, -0.63, -0.538), normal=(0, 0, 1), xDir=(1, 0, 0)))... | 11 | 100 | 1.61145 |
train_fb7f07ec7a281695 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.089), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.129, 0.178).lineTo(0.129, 0).lineTo(-0.129, 0).lineTo(-0.129, 0.178).lineTo(-0.107, 0.178).lineTo(-0.107, 0.021).lineTo(0.107, 0.021).lineTo(0.107, 0.178).lineTo(0.129, 0.178).close().ext... | 4 | 23 | 0.023687 |
train_d2ae8acc69dd83c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.501)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.653).extrude(1.504, both=True))
result = result.union(cq.Workpl... | 12 | 48 | 1.084022 |
train_a808334a227fee50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.715, 0, -0.785), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.109, 1.57).lineTo(0.109, 0.109).lineTo(1.43, 0.109).lineTo(1.43, 0).lineTo(0, 0).lineTo(0, 1.57).lineTo(0.109, 1.57).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq... | 6 | 43 | 0.607515 |
train_25b61ab7212de3c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, -0.037, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.949, 0.231).lineTo(0.949, 0.146).threePointArc((0.909, 0.121), (0.813, 0.11)).lineTo(0.366, 0.11).threePointArc((0.317, 0.105), (0.297, 0.092)).lineTo(0.297, -0.067).threePointAr... | 18 | 293 | 0.294103 |
train_79682669872e26fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.054, -0.041, 0.983), normal=(0.026, 0.154, -0.988), xDir=(0, 0.988, 0.154))).moveTo(0, 0.159).lineTo(0.038, 0.089).threePointArc((0.034, 0.037), (0.077, 0.042)).lineTo(0.133, -0.004).threePointArc((0.165, -0.014), (0.133, -0.028)).lineTo(0.089,... | 12 | 103 | 0.041906 |
train_80ef9807251463af | 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.336, 0.919).threePointArc((0.412, 0.266), (1, -0.027)).threePointArc((0.479, -0.324), (0.399, -0.919)).lineTo(-0.766, -0.441).threePointArc((-0.837, 0.079), (-1, 0.578)).threePointArc((-0.... | 5 | 134 | 0.338019 |
train_998439df1bb42dd4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.569, -0.138, -0.981), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.137).threePointArc((0.806, 0.806), (1.137, 0)).lineTo(0.496, 0).threePointArc((0.349, 0.349), (0, 0.496)).lineTo(0, 1.137).close().extrude(1.962)
result = result.union(cq.Work... | 6 | 24 | 2.326787 |
train_79d04d744ed69f27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.272, 0, -0.488), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.337, 0.976).lineTo(0.337, 0.337).lineTo(0.345, 0.337).lineTo(0.345, 0).lineTo(0, 0).lineTo(0, 0.976).lineTo(0.337, 0.976).close().extrude(1, both=True)
result = result.union(cq.Workp... | 5 | 35 | 0.517204 |
train_e1475130afe768a6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.027, 0.154).lineTo(0.078, 0.135).lineTo(0.119, 0.1).lineTo(0.146, 0.054).lineTo(0.155, 0).lineTo(0.146, -0.054).lineTo(0.119, -0.1).lineTo(0.078, -0.135).lineTo(0.027, -0.154).lineTo(-0.027... | 6 | 24 | 0.181467 |
train_3580078729a6896a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0.432, 0.64), normal=(0.553, 0.014, -0.833), xDir=(-0.025, 1, 0))).moveTo(0.418, 0.223).lineTo(0.418, -0.323).lineTo(-0.418, -0.323).lineTo(-0.418, 0.223).threePointArc((-0.372, 0.323), (-0.325, 0.223)).threePointArc((-0.279, 0.123), (-0.2... | 7 | 82 | 1.355192 |
train_785a30ee650b2dbe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.061, 0.292, 0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.577, 0.634).lineTo(0.757, 0.26).lineTo(0.411, -0.358).lineTo(0.492, -0.439).lineTo(0.51, -0.538).threePointArc((0.343, -0.698), (0.141, -0.463)).lineTo(-0.21, -0.357).threePointArc(... | 6 | 93 | 1.859271 |
train_bc8849a788b2bb3f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.086), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.691, 0.428).lineTo(0.691, 0).lineTo(-0.691, 0).lineTo(-0.691, 0.428).lineTo(-0.446, 0.428).lineTo(-0.446, 0.246).lineTo(0.446, 0.246).lineTo(0.446, 0.428).lineTo(0.691, 0.428).close().ext... | 5 | 43 | 1.013998 |
train_ff18fafa06aaa096 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, -0.156, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.25, 0).threePointArc((0.177, 0.177), (0, 0.25)).lineTo(0, 0.571).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 10 | 77 | 0.416787 |
train_89cc00cd15d81521 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.753), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.023)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.753), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.086, 0.407), (-0.331, 0.743), (-0.691, 0... | 5 | 126 | 1.959962 |
train_6e46149c5fea8914 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.153, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.923, 0.337).threePointArc((0.977, 0.314), (1, 0.259)).lineTo(1, -0.337).lineTo(-1, -0.337).lineTo(-1, 0.215).threePointArc((-0.964, 0.301), (-0.879, 0.337)).lineTo(0.923, 0.337).close(... | 11 | 39 | 0.999179 |
train_089a389b5c61ebbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.556, 0.217).lineTo(0.556, -0.217).lineTo(-0.556, -0.217).lineTo(-0.556, 0.217).lineTo(0.556, 0.217).close().extrude(0.273, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0,... | 7 | 30 | 0.335967 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.