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_0ccb909299b7e00f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, -0.285, 0.551), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.186).threePointArc((0.131, 0.131), (0.186, 0)).threePointArc((0.131, -0.131), (0, -0.186)).threePointArc((-0.131, -0.131), (-0.186, 0)).threePointArc((-0.131, 0.131), (0, 0.186)... | 7 | 30 | 0.336128 |
train_5c1c1b141e98c04a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.493), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.73, 0.985).lineTo(0.73, 0.227).lineTo(1, 0.227).lineTo(1, 0).lineTo(0.344, 0).lineTo(0.344, 0.985).lineTo(0.73, 0.985).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1... | 10 | 110 | 1.31954 |
train_9f11009aeb81bd0a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.166, 0.397, 0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.301, 0.521).threePointArc((0.521, 0.301), (0.301, -0.521)).threePointArc((-0.521, -0.301), (-0.301, 0.521)).close().sweep(cq.Workplane(cq.Plane(origin=(0.166, 0.397, 0.141), normal... | 4 | 48 | 0.518626 |
train_72f567c1d970a060 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.855, -1, -0.061), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.189, 2).lineTo(0.241, 1.273).lineTo(0.953, 1.327).lineTo(0.362, 0.925).lineTo(0.768, 0.335).lineTo(0.121, 0.649).lineTo(-0.189, 0.002).lineTo(-0.241, 0.718).threePointArc((-0.376, 0.... | 4 | 18 | 0.642178 |
train_334b00663bbb8a7e | 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.687, 0.75).threePointArc((0.907, 0.657), (1, 0.437)).lineTo(1, -0.281).threePointArc((0.861, -0.611), (0.531, -0.75)).lineTo(-0.336, -0.75).threePointArc((-0.451, -0.701), (-0.5, -0.586)).l... | 5 | 40 | 1.0132 |
train_dbaa53b9c75bd8a9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.114, 0.661, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.035, 1.126).lineTo(1, 0.101).lineTo(0.852, -0.038).lineTo(0.171, 0.686).lineTo(0.023, 0.547).lineTo(0.704, -0.177).lineTo(0.556, -0.316).lineTo(-0.125, 0.408).lineTo(-0.273, 0.269).lin... | 23 | 504 | 1.48585 |
train_aca58b0a6f82956c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.398).lineTo(1, -0.398).lineTo(-0.597, -0.398).lineTo(-0.597, 0).lineTo(-1, 0).lineTo(-1, 0.398).lineTo(1, 0.398).close().extrude(0.878, taper=6.497, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.607, -0.518), normal=(0, 1, 0)... | 8 | 59 | 1.926549 |
train_04a909f659288b7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.214, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.262, 1).lineTo(0.385, 0.892).lineTo(0.727, 0.13).lineTo(0.507, -0.712).lineTo(-0.111, -1).lineTo(-0.66, -0.517).lineTo(-0.727, 0.373).close().moveTo(0.403, -0.132).lineTo(0.401, -0.146).l... | 7 | 107 | 0.680793 |
train_442b70054e3474a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.196, -0.765), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.152, 0.241).lineTo(0.453, -0.06).threePointArc((-0.029, -0.241), (0.152, 0.241)).close().extrude(1.649).union(cq.Workplane(cq.Plane(origin=(0, -0.196, -0.765), normal=(0, 0, 1), xDir=... | 9 | 144 | 0.664062 |
train_1fbc838151a451cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.049, 0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.236).lineTo(1, 0.165).threePointArc((0.967, 0.154), (0.908, 0.15)).lineTo(-0.15, 0.15).threePointArc((-0.367, 0.133), (-0.46, 0.095)).lineTo(-0.46, -0.11).threePointArc((-0.392, -0.1... | 24 | 73 | 0.770604 |
train_e3e8c08bab1af706 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.151, 0.163).threePointArc((0.16, 0.16), (0.163, 0.151)).lineTo(0.163, -0.05).threePointArc((0.154, -0.072), (0.132, -0.082)).lineTo(0.1, -0.082).threePointArc((0.087, -0.087), (0.082, -0.1)... | 5 | 175 | 0.136145 |
train_65b541400e38ca15 | 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(1, 0.226).lineTo(1, 0.138).threePointArc((0.967, 0.121), (0.89, 0.114)).lineTo(-0.228, 0.114).threePointArc((-0.316, 0.107), (-0.352, 0.088)).lineTo(-0.352, -0.078).threePointArc((-0.302, -0.... | 9 | 27 | 0.232716 |
train_8b35b1c3b07006f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.007, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.581, 0.845).threePointArc((0.903, 0.796), (0.942, 0.496)).lineTo(0.419, -0.121).threePointArc((0.407, -0.132), (0.393, -0.141)).lineTo(0.313, -0.185).threePointArc((0.298, -0.195), (0... | 17 | 253 | 0.205563 |
train_b6d0d6b5cb41b244 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.366, 0.151, -0.118), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.394).threePointArc((0.13, 0.34), (0.184, 0.21)).threePointArc((0.13, 0.08), (0, 0.027)).threePointArc((-0.13, 0.08), (-0.184, 0.21)).threePointArc((-0.13, 0.34), (0, 0.394)).cl... | 5 | 29 | 0.149358 |
train_a8b17cab81529638 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, -0.922, 0.463), normal=(0.008, 0.894, -0.449), xDir=(-1, 0.009, 0))).moveTo(0.172, 0.17).lineTo(0.172, -0.17).lineTo(-0.172, -0.17).lineTo(-0.172, 0.17).lineTo(-0.071, 0.17).lineTo(-0.071, 0.02).lineTo(0.071, 0.02).lineTo(0.071, 0.17).line... | 10 | 65 | 0.13594 |
train_30146538a821349c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.781, -0.309, 0.41), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.433, 1.195).lineTo(0.589, 0.897).lineTo(0.565, 0.601).threePointArc((0.439, 0.465), (0.35, 0.303)).lineTo(0.581, 0.006).lineTo(0.433, -0.292).threePointArc((-0.589, 0.452), (0.433... | 10 | 89 | 2.651491 |
train_5eb3862403f46615 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.239, 0, 0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, -0.107).lineTo(0.723, -0.211).lineTo(0.677, -0.31).lineTo(0.615, -0.402).lineTo(0.537, -0.482).lineTo(0.447, -0.552).lineTo(0.346, -0.608).lineTo(0.235, -0.649).lineTo(0.119, -0.67... | 6 | 214 | 1.000138 |
train_6979f91b7d3ec966 | 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.362, 0.134).lineTo(0.362, -0.134).lineTo(-0.362, -0.134).lineTo(-0.362, 0.012).lineTo(-0.239, 0.134).lineTo(0.362, 0.134).close().extrude(0.317, both=True)
result = result.union(cq.Workpla... | 10 | 56 | 0.242517 |
train_f8563a8a932d7201 | 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.815, -0.172).lineTo(0.971, -0.237).lineTo(0.954, -0.299).lineTo(0.793, -0.257).lineTo(0.721, -0.416).lineTo(0.851, -0.527).lineTo(0.816, -0.579).lineTo(0.673, -0.489).lineTo(0.557, -0.618)... | 10 | 227 | 0.30092 |
train_5be2cc1a32bdf5df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.371), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.998, -0.447).lineTo(0.993, -0.463).lineTo(0.985, -0.478).lineTo(0.974, -0.492).lineTo(0.96, -0.505).lineTo(0.944, -0.515).lineTo(0.926, -0.524).lineTo(0.907, -0.53).lineTo(0.886, -0.534).l... | 4 | 314 | 1.431178 |
train_ed15a5c259d638b6 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.178).lineTo(0.808, 0).lineTo(1, -0.178).lineTo(0.267, -0.178).lineTo(0.267, 0.178).lineTo(1, 0.178).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.274, 0.474, 0), norm... | 11 | 57 | 0.602374 |
train_f8f0f38085b441ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.649, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.547, 0.974).threePointArc((0.628, 0.907), (0.663, 0.747)).lineTo(0.663, -0.151).threePointArc((0.689, -0.273), (0.752, -0.325)).lineTo(0.875, -0.325).threePointArc((0.959, -0.395), (0.... | 4 | 10 | 0.542853 |
train_2de69e01b22ae96d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.081), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.583, 0.296).lineTo(0.583, 0).lineTo(-0.583, 0).lineTo(-0.583, 0.296).lineTo(-0.432, 0.296).lineTo(-0.432, 0.151).lineTo(0.432, 0.151).lineTo(0.432, 0.296).lineTo(0.583, 0.296).close().ext... | 12 | 70 | 0.372352 |
train_ea0a111ea1430338 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.236, 0.973).threePointArc((0.38, 0.927), (0.514, 0.86)).threePointArc((0.637, 0.774), (0.746, 0.671)).threePointArc((0.838, 0.552), (0.912, 0.421)).threePointArc((0.964, 0.28), (0.996, 0.1... | 1 | 25 | 1.326204 |
train_14e3f297d64afa43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.546, 2).extrude(0.295)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.519, -0.097), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.001, -0.116).lineTo(0.057, -0.166).lineTo(0.106, -0.... | 10 | 49 | 0.245675 |
train_3c506b0bdb815ed8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.135, -0.036, -0.661), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.36, 0.3).lineTo(0.36, 0.18).lineTo(-0.24, 0.18).lineTo(-0.24, 0.06).lineTo(0.36, 0.06).lineTo(0.36, -0.3).lineTo(-0.36, -0.3).lineTo(-0.36, -0.18).lineTo(0.24, -0.18).lineTo(0.24,... | 18 | 193 | 0.413127 |
train_55e71260ea768aa9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.695, 0.533, 0.242), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.382, 0.909).lineTo(0.601, 0.715).lineTo(0.011, 0.043).lineTo(-0.601, 0.581).lineTo(-0.547, 0.631).threePointArc((-0.515, 0.665), (-0.526, 0.711)).threePointArc((-0.507, 0.748), (-0... | 13 | 35 | 0.255838 |
train_89d9c438dd1eee98 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.149, 0.022, -0.371), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.961, 0.197).threePointArc((0.29, -1.01), (-0.61, 0.304)).lineTo(-0.961, 0.977).lineTo(-0.353, 0.225).lineTo(-0.295, 0.112).threePointArc((-0.027, -0.818), (0.878, -0.06)).lineTo(0... | 12 | 402 | 0.797456 |
train_d66ad7ad5f6d650d | 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.862, 2).lineTo(0.862, 0.466).lineTo(0.758, 0.466).lineTo(0.758, 0).lineTo(0.161, 0).lineTo(0.161, 2).lineTo(0.862, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 3 | 12 | 4.204283 |
train_c53f2c7a06ac7972 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.562), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.652, 1.123).lineTo(0.652, 0.389).lineTo(1, 0.389).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.123).lineTo(0.652, 1.123).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 2 | 6 | 1.565093 |
train_010a268292a5fb8b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.4, -0.646, -2.437), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.576, 0.549).lineTo(2.794, 0.324).lineTo(2.794, -0.193).lineTo(2.445, -0.549).lineTo(-2.65, -0.549).lineTo(-2.794, -0.405).lineTo(-2.794, 0.212).lineTo(-2.463, 0.549).lineTo(2.576, ... | 14 | 18 | 0.20835 |
train_f5c2c1e8c336e4b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.141, 0.123, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(2.495, 0.423).lineTo(2.495, 0.353).threePointArc((2.463, 0.343), (2.386, 0.339)).lineTo(0.917, 0.339).threePointArc((0.553, 0.32), (0.399, 0.273)).lineTo(0.399, -... | 12 | 675 | 0.890464 |
train_afa594b944009119 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.409, 0, -0.581), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.587, 0.74).lineTo(0.587, -0.74).lineTo(-0.389, -0.74).lineTo(-0.587, -0.544).lineTo(-0.587, 0.74).lineTo(0.587, 0.74).close().extrude(0.335)
result = result.union(cq.Workplane(cq.Plan... | 14 | 119 | 0.99251 |
train_355704fa62c3f9c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.187, -0.073, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, -0.316).lineTo(0.791, -0.376).lineTo(0.764, -0.433).lineTo(0.728, -0.485).lineTo(0.684, -0.532).lineTo(0.631, -0.572).lineTo(0.572, -0.604).lineTo(0.509, -0.628).lineTo(0.44... | 15 | 410 | 0.636943 |
train_7f4742737ba10c68 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.06), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.706, 0.798).lineTo(1, 0.505).lineTo(1, -0.512).lineTo(0.714, -0.798).lineTo(-0.784, -0.798).lineTo(-1, -0.582).lineTo(-1, 0.656).lineTo(-0.857, 0.798).lineTo(0.706, 0.798).close().extrude(0... | 14 | 147 | 0.42685 |
train_75043bfe775a2ef0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0.007, 0.617), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.824, 0.041).lineTo(0.769, -0.132).lineTo(0.98, -0.532).lineTo(0.637, -0.752).threePointArc((0.491, -0.812), (0.356, -1.003)).lineTo(-0.069, -0.765).threePointArc((-0.068, -0.59), (... | 4 | 103 | 0.573663 |
train_5229ed65c5f456fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.58, 0.708, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.532, 1.048).threePointArc((1, 0.58), (0.532, 0.112)).lineTo(-0.532, 0.112).threePointArc((-1, 0.58), (-0.532, 1.048)).lineTo(0.532, 1.048).close().extrude(1.418)
result = result.cut(cq.... | 13 | 69 | 2.329964 |
train_21e4b412824e9240 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.394, 0, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.609).extrude(0.821)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.215, 0, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.046, 0.233), (-0.179, 0.43), (-0.37... | 10 | 100 | 0.440529 |
train_5fe442f8f68e9a3f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.759, 0.667).threePointArc((0.811, 0.645), (0.833, 0.592)).lineTo(0.833, 0.461).threePointArc((0.795, 0.371), (0.706, 0.333)).lineTo(0.611, 0.333).threePointArc((0.533, 0.3), (0.5, 0.222)).lineTo(0.5, 0.093).threePointArc((0.472, 0.028), (0.407, 0)).... | 4 | 74 | 1.182843 |
train_93ca4cc7f4841473 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0.002, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.697, -0.144).lineTo(0.973, -0.234).lineTo(0.95, -0.311).lineTo(0.674, -0.232).lineTo(0.613, -0.363).lineTo(0.844, -0.537).lineTo(0.799, -0.604).lineTo(0.562, -0.438).lineTo(0.462,... | 5 | 90 | 0.576625 |
train_2b77263b6ccfd6f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.319).lineTo(1, -0.236).threePointArc((0.975, -0.295), (0.916, -0.319)).lineTo(-0.884, -0.319).threePointArc((-0.965, -0.286), (-1, -0.204)).lineTo(-1, 0.201).lineTo(-0.881, 0.319).lineT... | 8 | 40 | 0.52972 |
train_dc6bb89c30baba4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.395, -0.204, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.79).threePointArc((0.559, 0.559), (0.79, 0)).lineTo(0.197, 0).threePointArc((0.14, 0.14), (0, 0.197)).lineTo(0, 0.79).close().extrude(2)
result = result.union(cq.Workplane(cq.Plan... | 6 | 22 | 1.098899 |
train_f786391cff22d516 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.052, -0.02, 0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.377, 0.862).threePointArc((0.755, 0.539), (0.88, 0.108)).threePointArc((0.88, 0), (0.755, -0.216)).threePointArc((0.629, -0.862), (-0.126, -0.755)).threePointArc((-0.126, -0.647), (... | 6 | 71 | 0.694993 |
train_4d56c701bcb389f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.58).extrude(0.497)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.58, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.066, 0.27), (-0.249, 0.477), (-0.511, 0.577), (-0.... | 9 | 94 | 2.01974 |
train_c9352cb2d50b10d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.305, 0.118, -0.446), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.287, 0.237).lineTo(-0.287, -0.126).lineTo(0.704, -0.126).lineTo(0.704, -0.237).lineTo(-0.704, -0.237).lineTo(-0.704, 0.237).lineTo(-0.287, 0.237).close().extrude(0.71, taper=-9.53... | 8 | 58 | 0.623862 |
train_4b596e1d8cc27925 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.324, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.311, 0.676).lineTo(0.311, 0).lineTo(0.932, 0).lineTo(0.932, -0.338).lineTo(0.311, -0.338).lineTo(0.311, -0.676).lineTo(-0.932, -0.676).lineTo(-0.932, -0.338).lineTo(-0.311, -0.338).li... | 4 | 40 | 1.420035 |
train_8de60a122c7b3f6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.179, 0.357, 0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.032, -0.005).threePointArc((0.069, -0.007), (-0.005, -0.006)).lineTo(-0.042, 0.005).threePointArc((-0.069, 0.007), (-0.005, 0.006)).lineTo(0.032, -0.005).close().extrude(0.01, both=... | 5 | 38 | 0.655222 |
train_43d40380ec05bf63 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.337, 1).threePointArc((-0.241, 0.958), (-0.2, 0.862)).lineTo(-0.2, 0.02).threePointArc((-0.135, -0.135), (0.02, -0.2)).lineTo(0.514, -0.2).threePointArc((0.575, -0.225), (0.6, -0.286)).lineTo(0.6, -0.495).threePointArc((0.569, -0.569), (0.495, -0.6... | 15 | 298 | 0.378145 |
train_6a71168ae2e53880 | 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(0.533, 0.827).lineTo(0.533, 0.273).lineTo(1, 0.273).lineTo(1, 0).lineTo(0.267, 0).lineTo(0.267, 0.827).lineTo(0.533, 0.827).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 2 | 70 | 1.105721 |
train_462606dda1ae3841 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.149, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.308, 0.481).lineTo(0.343, 0.454).threePointArc((0.355, 0.448), (0.367, 0.445)).lineTo(0.901, 0.402).threePointArc((0.972, 0.367), (0.996, 0.292)).lineTo(0.939, -0.5).threePointArc(... | 3 | 25 | 0.758192 |
train_f94e62d5569e5b24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.358, -0.303, -0.723), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.162, 0.689).lineTo(0.19, 0.557).lineTo(0.272, 0.424).threePointArc((0.277, 0.357), (0.26, 0.292)).lineTo(0.204, 0.16).lineTo(0.162, 0.027).threePointArc((-0.277, 0.358), (0.162, ... | 5 | 24 | 0.676808 |
train_e645e0fb2af64eb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.095, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.007, 0.904).threePointArc((0.241, 0.806), (0.338, 0.573)).lineTo(0.338, -0.675).threePointArc((0.272, -0.836), (0.11, -0.904)).lineTo(-0.172, -0.904).threePointArc((-0.289, -0.855), (-... | 4 | 42 | 0.593998 |
train_6b7115ffb94303cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.275, 0, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.517, 1).threePointArc((0.803, 0.873), (0.919, 0.589)).lineTo(0.919, -1).lineTo(-0.594, -1).threePointArc((-0.827, -0.896), (-0.919, -0.667)).lineTo(-0.919, 0.712).lineTo(-0.639, 1).li... | 10 | 31 | 0.333269 |
train_246d1dcbbb47489e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.192, 0.271).lineTo(0.192, 0).lineTo(-0.192, 0).lineTo(-0.192, 0.271).lineTo(-0.088, 0.271).lineTo(-0.088, 0.105).lineTo(0.088, 0.105).lineTo(0.088, 0.271).lineTo(0.192, 0.271).close().ext... | 8 | 55 | 0.127683 |
train_840cb9ec325db671 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.712, 1).lineTo(0.712, -0.2).lineTo(0, -0.2).lineTo(0, -1).lineTo(-0.712, -1).lineTo(-0.712, 0.6).lineTo(0, 0.6).lineTo(0, 1).lineTo(0.712, 1).close().extrude(0.09, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -3.008), normal=(0... | 5 | 29 | 0.347063 |
train_7a8d686d3ef33f2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.092, -0.286, 0.557), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.046, 0.166).threePointArc((-0.007, 0.166), (0.033, 0.142)).threePointArc((0.068, 0.099), (0.093, 0.044)).threePointArc((0.103, -0.016), (0.098, -0.071)).threePointArc((0.078, -0.... | 12 | 258 | 0.305864 |
train_75affe625158761f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.451).extrude(0.985)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.457, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.052, 0.209), (-0.195, 0.37), (-0.397... | 14 | 94 | 0.319613 |
train_30e194ec85759be1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.313, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.598, 1).threePointArc((0.624, 0.817), (0.634, 0.791)).lineTo(0.634, -0.787).threePointArc((0.622, -0.815), (0.593, -1)).lineTo(-0.605, -1).threePointArc((-0.626, -0.818), (-0.634, -0.... | 10 | 128 | 0.670208 |
train_10619fd93faf83c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.173, 0.324).threePointArc((-0.051, 0.308), (0, 0.27)).lineTo(0, 0.215).threePointArc((0.05, 0.178), (0.17, 0.162)).lineTo(0.731, 0.162).threePointArc((0.947, 0.133), (1.038, 0.066)).l... | 11 | 226 | 0.250821 |
train_b33f410e2d7e79d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.075, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.791, -0.109).lineTo(0.979, -0.16).lineTo(0.962, -0.243).lineTo(0.772, -0.207).lineTo(0.736, -0.31).lineTo(0.904, -0.409).lineTo(0.866, -0.485).lineTo(0.692, -0.399).lineTo(0.631, -0.4... | 4 | 126 | 0.26308 |
train_8349d149b89d1caf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.868, 0.576).lineTo(1, 0.453).lineTo(1, -0.576).lineTo(-1, -0.576).lineTo(-1, 0.576).lineTo(0.868, 0.576).close().extrude(0.442)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.859, ... | 6 | 20 | 0.213443 |
train_19fa0023d567afd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.089, -0.023, -0.431), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.346, 0.659).threePointArc((0.376, 0.617), (0.347, 0.556)).threePointArc((0.067, 0.159), (0.408, -0.15)).lineTo(0.491, -0.152).threePointArc((0.647, -0.198), (0.577, -0.312)).three... | 12 | 76 | 0.65534 |
train_c243220863b2b607 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.004), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.145).lineTo(0.651, 0).lineTo(1, -0.145).lineTo(0.313, -0.145).lineTo(0.313, 0.145).lineTo(1, 0.145).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = re... | 10 | 91 | 0.39421 |
train_9a986a7bbc4303fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.932, -0.984, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.655, 1.9).lineTo(1, 1.536).lineTo(0.92, 1.174).lineTo(0.088, 1.356).lineTo(-0.098, 0.508).lineTo(0.734, 0.326).lineTo(0.655, -0.037).lineTo(-1, 0.326).lineTo(-0.655, 1.9).close().ext... | 12 | 353 | 3.686082 |
train_7065c8629cf15f7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.029, -0.022, -0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.023, 0.983).lineTo(0.468, 0.865).lineTo(0.848, 0.498).lineTo(0.984, -0.006).lineTo(0.845, -0.504).lineTo(0.501, -0.847).lineTo(-0.007, -0.983).lineTo(-0.508, -0.842).lineTo(-0.847... | 14 | 135 | 0.181238 |
train_2da5421b4007bde6 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.082, 0.73).threePointArc((0.258, 0.649), (0.332, 0.455)).lineTo(0.332, 0.151).threePointArc((0.372, 0.045), (0.469, 0)).lineTo(0.796, 0).threePointArc((0.933, -0.065), (1, -0.217)).lineTo(1, -0.609).threePointArc((0.959, -0.695), (0.882, -0.73)).lin... | 5 | 47 | 1.32139 |
train_981ba08671b8b74b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.383, 0, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.586, 0.293).lineTo(0.616, 0.263).lineTo(0.616, -0.253).threePointArc((0.605, -0.281), (0.577, -0.293)).lineTo(-0.575, -0.293).lineTo(-0.616, -0.252).lineTo(-0.616, 0.249).lineTo(-0.57... | 15 | 102 | 0.112928 |
train_9681742e363ec4b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.183, 0.423, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0).threePointArc((0, -0.564), (-0.564, 0)).threePointArc((0, 0.564), (0.564, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.183, 0.423, -0.17), normal=(0, -1, 0), xDir=(1, 0... | 9 | 69 | 1.18176 |
train_79e0e1a45fa4b759 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.049, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.277).threePointArc((0.934, 0.22), (1, 0.082)).lineTo(1, -0.277).lineTo(-1, -0.277).lineTo(-1, 0.046).lineTo(-0.765, 0.277).lineTo(0.799, 0.277).close().extrude(0.103)
result = ... | 13 | 89 | 0.22285 |
train_c02d6657b3b5be80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.08, -0.148, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.309, -0.226).lineTo(-0.309, -0.151).threePointArc((-0.27, -0.144), (-0.294, -0.088)).lineTo(-0.294, -0.033).threePointArc((-0.252, -0.025), (-0.285, 0.017)).lineTo(-0.285, 0.093)... | 8 | 140 | 0.180558 |
train_f367b750d83d092b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.327, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.258, 1.077).threePointArc((0.78, 0.899), (1, 0.477)).lineTo(1, -0.975).threePointArc((0.963, -1.047), (0.874, -1.077)).lineTo(0.519, -1.077).threePointArc((0.388, -1.032), (0.333, -0.... | 14 | 128 | 0.863988 |
train_25b01aa675a547c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.557), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.061, 0.307).lineTo(0.061, 0.184).lineTo(0.307, 0.184).lineTo(0.307, 0.061).lineTo(0.184, 0.061).lineTo(0.184, -0.061).lineTo(-0.061, -0.061).lineTo(-0.061, -0.307).lineTo(-0.307, -0.30... | 12 | 110 | 0.5448 |
train_8a8dfcfe320dee14 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.538), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 1).threePointArc((0.492, 0.84), (0.65, 0.459)).lineTo(0.65, -0.513).threePointArc((0.508, -0.856), (0.163, -1)).lineTo(-0.281, -1).threePointArc((-0.542, -0.891), (-0.65, -0.631)).lin... | 4 | 49 | 0.817808 |
train_ddc2c8ba4c6e27c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.46)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.701).extrude(1.378, both=True))
result = result.union(cq.Workpla... | 17 | 104 | 1.413666 |
train_d0845d9eb440d32b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.389, -0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.487, 0.61).threePointArc((0.564, 0.585), (0.595, 0.527)).lineTo(0.595, -0.228).threePointArc((0.566, -0.282), (0.495, -0.306)).lineTo(0.32, -0.306).threePointArc((0.235, -0.333), (0.19... | 8 | 97 | 0.60145 |
train_616493b9d6a79e49 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.066, 0.918, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.057).threePointArc((0.704, 0.771), (1, 0.066)).threePointArc((0.704, -0.638), (0, -0.926)).threePointArc((-0.704, -0.638), (-1, 0.066)).threePointArc((-0.704, 0.771), (0, 1.057)).cl... | 1 | 6 | 5.723806 |
train_0b7830ed60af01d2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0).threePointArc((0, -1), (-1, 0)).threePointArc((0, 1), (1, 0)).close().extrude(0.09, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.454, -0.183, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.207, -0.014).lineTo(0.196, -0.0... | 7 | 115 | 0.441701 |
train_3da143c1a3155926 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.162, -0.043, -0.848), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.251, 0.753).lineTo(0.251, 0.251).lineTo(0.753, 0.251).lineTo(0.753, -0.251).lineTo(0.251, -0.251).lineTo(0.251, -0.753).lineTo(-0.251, -0.753).lineTo(-0.251, -0.251).lineTo(-0.75... | 21 | 48 | 1.786249 |
train_aa1f57bfdb6616b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.461, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.538).extrude(0.682, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.461, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.111).extrude(1, both=True))
result = result.cut(... | 13 | 122 | 0.527401 |
train_3074d7a50ac955cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.649, 0.524).threePointArc((0.858, 0.438), (0.943, 0.23)).lineTo(0.943, -0.266).threePointArc((0.868, -0.449), (0.686, -0.524)).lineTo(-0.943, -0.524).lineTo(-0.943, 0.395).lineTo(-0.815, 0... | 8 | 36 | 0.53144 |
train_2c0ea956a4ba0023 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.471, -0.139, 0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.545).extrude(0.971, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.471, -0.139, 0.07), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.449).extrude(0.24, both=True))... | 14 | 231 | 0.975618 |
train_cc29cc65ed9c3ee8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.108), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.249, 0.216).lineTo(0.249, 0.152).lineTo(0.465, 0.152).lineTo(0.465, 0).lineTo(-0.465, 0).lineTo(-0.465, 0.152).lineTo(-0.249, 0.152).lineTo(-0.249, 0.216).lineTo(0.249, 0.216).close().ext... | 4 | 21 | 0.314458 |
train_90e9e602423e6c23 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.334), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.668).lineTo(1, 0.087).lineTo(0.427, 0.087).lineTo(0.427, 0).lineTo(0.233, 0).lineTo(0.233, 0.668).lineTo(1, 0.668).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 3 | 14 | 1.663782 |
train_fff5ccf649a7a054 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.106, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.341, 1.052).lineTo(1.106, 0).lineTo(0.341, -1.052).lineTo(-0.894, -0.65).lineTo(-0.894, 0.65).lineTo(0.341, 1.052).close().extrude(0.219)
result = result.cut(cq.Workplane(cq.Plane(orig... | 6 | 17 | 0.617182 |
train_88e6752bca3a2fc4 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(0.473, 0.172).threePointArc((0.597, 0.073), (0.671, 0.133)).lineTo(0.705, 0.144).threePointArc((0.829, 0.039), (0.888, 0.085)).lineTo(0.922, 0.094).lineTo(1, 0.006).lineTo(0.976, -0.108).lineTo(0.886, -0.172).threePointArc((0.763, -0.092), (0.698, -0.... | 3 | 73 | 0.364281 |
train_06e61dee07d6b564 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.669, 0, -0.561), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.217, 1.561).lineTo(0.217, 0.217).lineTo(1.338, 0.217).lineTo(1.338, 0).lineTo(0, 0).lineTo(0, 1.561).lineTo(0.217, 1.561).close().extrude(0.632, both=True)
result = result.union(cq.W... | 3 | 41 | 0.902425 |
train_869e776d6db04de4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.643), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.795, 1).lineTo(0.795, 0.866).lineTo(0.928, 0.866).lineTo(0.928, -0.868).lineTo(0.798, -1).lineTo(-0.829, -1).threePointArc((-0.899, -0.971), (-0.928, -0.901)).lineTo(-0.928, 0.88).threePoi... | 15 | 66 | 2.146 |
train_8bf05bad88a90c9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.012, 0.091, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.182, 0.454).threePointArc((0.967, -0.243), (-0.061, -0.454)).lineTo(-0.854, -0.241).threePointArc((-0.967, -0.211), (-0.793, -0.014)).lineTo(0.113, -0.257).threePointArc((0.454, -0... | 13 | 138 | 0.33337 |
train_58bb379fca0af2d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.222, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.198, 0.589).threePointArc((0.276, 0.408), (0.193, 0.117)).threePointArc((-0.003, -0.111), (-0.198, -0.146)).threePointArc((-0.276, 0.035), (-0.193, 0.326)).threePointArc((0.003, 0.554), (... | 5 | 23 | 0.552309 |
train_14100a386e581dc8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.313, -0.797, 0.162), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.114, 0.369).lineTo(0.099, 0.235).lineTo(0.196, 0.141).lineTo(0.063, 0.114).lineTo(0.004, -0.007).lineTo(-0.062, 0.11).lineTo(-0.196, 0.129).lineTo(-0.105, 0.228).lineTo(-0.128, 0.... | 7 | 287 | 0.569686 |
train_385b9478b8ee9218 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.353, 0.097, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.092, 0.621).threePointArc((0.331, 0.465), (0.522, 0.238)).threePointArc((0.632, -0.026), (0.646, -0.286)).threePointArc((0.562, -0.502), (0.391, -0.641)).threePointArc((0.162, -0.6... | 14 | 367 | 1.349749 |
train_af160e5accb0edde | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0.001, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.506, 0.226).lineTo(0.506, 0.184).threePointArc((0.53, 0.175), (0.585, 0.171)).lineTo(0.849, 0.171).threePointArc((0.964, 0.163), (1.012, 0.143)).lineTo(1.012, -0.215).threePointAr... | 5 | 95 | 0.117621 |
train_7188b070de4c2327 | 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.323, 0.385).threePointArc((0.373, 0.363), (0.394, 0.312)).lineTo(0.394, -0.294).threePointArc((0.367, -0.358), (0.305, -0.385)).lineTo(-0.247, -0.385).threePointArc((-0.35, -0.34), (-0.394, -0... | 10 | 62 | 0.905684 |
train_af7e31df9935f019 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.545, 1).threePointArc((0.813, 0.88), (0.92, 0.616)).lineTo(0.92, -0.736).lineTo(0.664, -0.736).lineTo(0.664, -1).lineTo(-0.92, -1).lineTo(-0.92, 0.624).lineTo(-0.553, 1).lineTo(0.545, 1).c... | 14 | 84 | 0.854071 |
train_6807eff2b0bcf281 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.688, 0.185), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.219, 0.312).lineTo(0.3, 0.054).lineTo(0.309, -0.231).lineTo(0.034, -0.312).lineTo(-0.244, -0.296).lineTo(-0.309, -0.029).lineTo(-0.263, 0.205).lineTo(-0.048, 0.298).lineTo(0.219, 0.31... | 6 | 71 | 0.230864 |
train_c4bfeae2d2848501 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.407, -0.232, -0.901), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.538, 0.315).threePointArc((0.576, 0.299), (0.593, 0.26)).lineTo(0.593, 0.118).threePointArc((0.571, 0.067), (0.519, 0.045)).lineTo(0.079, 0.045).threePointArc((0.06, 0.037), (0.0... | 5 | 338 | 1.241364 |
train_d573cde6b9c72efe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.298), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.847, 0.768).threePointArc((0.949, 0.735), (1, 0.657)).lineTo(1, 0.228).threePointArc((0.963, 0.175), (0.895, 0.153)).lineTo(0.737, 0.153).threePointArc((0.639, 0.121), (0.597, 0.046)).line... | 4 | 61 | 0.905054 |
train_121cbff09f3bab83 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.156, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.151, 0.294).threePointArc((0.252, 0.252), (0.294, 0.151)).lineTo(0.294, -0.161).threePointArc((0.255, -0.255), (0.161, -0.294)).lineTo(-0.228, -0.294).threePointArc((-0.274, -0.274), (-0.... | 9 | 102 | 0.43996 |
train_67a7822f883c6c09 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.307, 0.133).lineTo(0.336, 0.103).lineTo(0.336, -0.133).lineTo(-0.3, -0.133).threePointArc((-0.326, -0.122), (-0.336, -0.096)).lineTo(-0.336, 0.096).lineTo(-0.3, 0.133).lineTo(0.307, 0.133)... | 10 | 71 | 0.272683 |
train_6c5286cc01a5d239 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.817, 0.199).threePointArc((0.972, 0), (0.817, -0.199)).lineTo(0.272, -0.199).lineTo(-0.272, -0.199).lineTo(-0.817, -0.199).threePointArc((-0.972, 0), (-0.817, 0.199)).lineTo(-0.272, 0.199).lineTo(0.272, 0.199).lineTo(0.817, 0.199).close().extrude(0.... | 6 | 80 | 0.251667 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.