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_cfc47ba854fdc035 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.09, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.476, 0.97).threePointArc((-0.258, 1.072), (0.017, 0.793)).lineTo(0.144, 0.666).threePointArc((0.155, 0.659), (0.168, 0.66)).lineTo(0.555, 0.842).threePointArc((0.576, 0.84), (0.572, 0.8... | 4 | 40 | 0.408602 |
train_6d6bcf9bb6e040c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-156.529, 147.111, 99.6), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(57.756, 181.889).threePointArc((211.769, -49.606), (-57.756, -181.889)).threePointArc((-211.769, 49.606), (57.756, 181.889)).close().moveTo(19.252, 148.818).threePointArc((173.266... | 9 | 27 | 0.860495 |
train_4d9c291cbf7ea8a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0.01, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.193, 0.688).threePointArc((0.876, 0.64), (0.973, 0.577)).threePointArc((1.039, 0.059), (0.463, 0.077)).lineTo(0.313, 0.022).threePointArc((0.284, 0.005), (0.271, -0.019)).lineTo(0.254, ... | 3 | 90 | 0.891224 |
train_4732d8ee2172e5a9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.37, -0.404, -0.21), normal=(-0.578, 0.755, 0.31), xDir=(-0.794, -0.608, 0))).moveTo(0.514, 0.381).lineTo(0.758, 0.089).lineTo(0.675, -0.051).lineTo(0.649, -0.188).lineTo(-0.29, -0.385).lineTo(-0.534, -0.315).lineTo(-0.758, -0.12).lineTo(-0.485, ... | 10 | 167 | 0.542428 |
train_c2ea1dfc8fd86fc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.254).lineTo(0.92, 0.222).lineTo(1, 0.089).lineTo(1, 0).lineTo(0.832, 0).lineTo(0.832, 0.076).lineTo(0.733, 0.222).lineTo(0, 0.086).lineTo(0, 0.254).lineTo(0.95, 0.254).close().revol... | 3 | 13 | 0.353749 |
train_42da47b2552de817 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.942, 0.286).lineTo(0.942, -0.286).threePointArc((-0.942, 0), (0.942, 0.286)).close().extrude(0.208, taper=-9.681)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.137, 0, -0.021), norm... | 3 | 25 | 0.589936 |
train_2451be69c857bfcb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.615).extrude(0.488)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.622, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.114, 0.114).extrude(1.462, both=True))
result = resul... | 21 | 81 | 1.182442 |
train_803ffaae3e2fc847 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.27, -0.334, 0.541), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.09, 0.884).lineTo(0.659, 0.122).lineTo(0.09, -0.437).lineTo(0.007, -0.353).lineTo(0.365, 0).lineTo(0.282, 0.084).lineTo(-0.077, -0.268).lineTo(-0.16, -0.183).lineTo(0.199, 0.169).... | 9 | 729 | 1.121872 |
train_17e8046fb55e77a8 | 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(1, 0.227).lineTo(1, 0.141).threePointArc((0.966, 0.125), (0.885, 0.118)).lineTo(0.457, 0.118).threePointArc((0.367, 0.111), (0.329, 0.093)).lineTo(0.329, -0.232).threePointArc((0.303, -0.244... | 2 | 30 | 0.183187 |
train_47a47a9fb17bb73d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.205), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.41).lineTo(0.92, 0.39).lineTo(1, 0.144).lineTo(1, 0).lineTo(0.882, 0).lineTo(0.882, 0.123).lineTo(0.782, 0.39).lineTo(0, 0.293).lineTo(0, 0.41).lineTo(0.951, 0.41).close().revolve(... | 9 | 29 | 0.381528 |
train_2bdd0db7ce61bbbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.385, 0, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.519, 0.37).threePointArc((0.587, 0.342), (0.615, 0.274)).lineTo(0.615, -0.155).threePointArc((0.551, -0.307), (0.399, -0.37)).lineTo(-0.615, -0.37).lineTo(-0.615, 0.259).threePointArc... | 5 | 58 | 0.148182 |
train_64d40d9cc456905b | 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.121, 1).threePointArc((-0.036, 0.96), (0, 0.883)).lineTo(0, 0.675).threePointArc((0.026, 0.62), (0.088, 0.597)).lineTo(0.296, 0.597).threePointArc((0.401, 0.557), (0.446, 0.463)).lineTo(0... | 6 | 79 | 0.423992 |
train_2fce5e8431668ba5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.052, -0.309), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.867).lineTo(1, -0.867).lineTo(-1, -0.867).lineTo(-1, 0.867).lineTo(-0.372, 0.867).lineTo(-0.372, -0.248).lineTo(0.372, -0.248).lineTo(0.372, 0.867).lineTo(1, 0.867).close().extrude(... | 8 | 169 | 1.603196 |
train_1fb19f238bb5816c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.301, -0.113, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.28, 0.559).threePointArc((0.35, 0.559), (0.627, 0)).threePointArc((0.28, -0.559), (-0.35, -0.559)).threePointArc((-0.627, 0), (-0.28, 0.559)).close().sweep(cq.Workplane(cq.Plane... | 6 | 30 | 1.027439 |
train_1cd168d26195f489 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.69, -0.619, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.381).threePointArc((0.975, 0.975), (1.381, 0)).lineTo(0.812, 0).threePointArc((0.574, 0.574), (0, 0.812)).lineTo(0, 1.381).close().extrude(2)
result = result.union(cq.Workplane(cq.... | 4 | 24 | 1.948649 |
train_5f4f9de387d5bad1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.178, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.158, 0.655).lineTo(0.158, -0.299).threePointArc((0, -0.457), (-0.158, -0.299)).lineTo(-0.158, 0.655).threePointArc((0, 0.813), (0.158, 0.655)).close().extrude(2)
result = result.cut(cq.Wo... | 8 | 14 | 0.759136 |
train_d37ecd8ad2aab327 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.212, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.383, 0.783).threePointArc((0.448, 0.765), (0.476, 0.721)).lineTo(0.476, 0.57).threePointArc((0.43, 0.5), (0.323, 0.47)).lineTo(0.131, 0.47).threePointArc((0.039, 0.445), (0, 0.384)).lineTo... | 7 | 33 | 3.595083 |
train_c6b50efaa5788a36 | 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.249, 1).lineTo(0.249, 0).lineTo(0.747, 0).lineTo(0.747, -1).lineTo(-0.747, -1).lineTo(-0.747, 0).lineTo(-0.249, 0).lineTo(-0.249, 1).lineTo(0.249, 1).close().extrude(0.427)
result = result... | 22 | 47 | 0.626093 |
train_38bfa71fe9a2ccc4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.481, 0.382, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.65, 0.174).threePointArc((0.174, -0.65), (-0.65, -0.174)).threePointArc((-0.174, 0.65), (0.65, 0.174)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.481, 0.382, -0.332), normal=(... | 18 | 99 | 0.31817 |
train_e0a520787b8e62bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.976, 0.237).lineTo(0.976, -0.237).threePointArc((-0.976, 0), (0.976, 0.237)).close().extrude(0.084, taper=-6.502)
result = result.union(cq.Workplane(cq.Plane(origin=(0.29, 0.471, -0.09... | 26 | 254 | 0.288832 |
train_c073daeba6fdb0b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.309, 0.069, -0.247), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.266, 0.326).threePointArc((0.375, 0.372), (0.421, 0.263)).lineTo(0.53, 0.309).threePointArc((0.684, 0.246), (0.576, 0.201)).lineTo(0.73, 0.138).threePointArc((0.776, 0.029), (0.6... | 6 | 84 | 1.013182 |
train_8d09daa224558702 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.426, -0.365, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.852).threePointArc((0.602, 0.602), (0.852, 0)).lineTo(0.416, 0).threePointArc((0.294, 0.294), (0, 0.416)).lineTo(0, 0.852).close().extrude(2)
result = result.union(cq.Workplane(cq... | 5 | 80 | 0.871922 |
train_16c9dce4bbc3f990 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.713, 0.562).lineTo(0.85, 0.187).lineTo(1, -0.187).lineTo(0.713, -0.562).threePointArc((-1, 0), (0.713, 0.562)).close().moveTo(-0.237, 0.243).lineTo(-0.032, 0.019).lineTo(-0.291, -0.179).lineTo(-0.657, -0.078).lineTo(-0.623, 0.183).lineTo(-0.237, 0.2... | 2 | 54 | 3.278025 |
train_908102eca30a19a1 | 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.245, 0.97).threePointArc((0.388, 0.922), (0.523, 0.854)).threePointArc((0.646, 0.767), (0.754, 0.661)).threePointArc((0.844, 0.541), (0.916, 0.408)).threePointArc((0.967, 0.266), (0.996, 0... | 7 | 89 | 0.892193 |
train_f3f7fcb5fb1c994f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.211, -0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.35).lineTo(0, 0.117).lineTo(1, 0.117).lineTo(1, -0.35).lineTo(0.5, -0.35).lineTo(0.5, -0.117).lineTo(-0.5, -0.117).lineTo(-0.5, -0.35).lineTo(-1, -0.35).lineTo(-1, 0.35).lineTo(0, ... | 6 | 79 | 0.843463 |
train_e8d9fa0f39b379ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.384, -0.246, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.768).threePointArc((0.543, 0.543), (0.768, 0)).lineTo(0.464, 0).threePointArc((0.327, 0.327), (0, 0.464)).lineTo(0, 0.768).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 44 | 0.609075 |
train_8b6ff28a35d65370 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.702, 0.791).lineTo(-0.702, -0.495).lineTo(0.998, -0.495).lineTo(0.998, -0.791).lineTo(-0.998, -0.791).lineTo(-0.998, 0.791).lineTo(-0.702, 0.791).close().extrude(0.18, taper=-0.473, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.63... | 13 | 24 | 0.351645 |
train_c32f46d6cf45b4ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.01, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.753, 0.086).lineTo(0.844, 0.076).lineTo(0.853, 0.062).lineTo(0.868, 0.064).lineTo(0.947, -0.03).threePointArc((0.977, -0.026), (1, -0.054)).threePointArc((0.974, -0.076), (0.94, -0.062))... | 16 | 238 | 0.197696 |
train_29390c341e7e1433 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.24, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.17, 1.52, 1.003)
result = result.edges().fillet(0.19)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.24, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.18).extrude(2.339, both=True))... | 7 | 82 | 1.205031 |
train_5494caf1c3b92e29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.245, 0.264).lineTo(0.245, 0.046).lineTo(-0.214, -0.264).lineTo(-0.245, 0.264).close().moveTo(-0.166, 0.128).lineTo(0.069, 0.036).lineTo(-0.116, -0.117).lineTo(-0.166, 0.128).close().extru... | 11 | 170 | 0.129965 |
train_c98b8791eda3e35d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.017, -0.249), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.217, 0.498).lineTo(0.217, 0.398).lineTo(1, 0.398).lineTo(1, 0).lineTo(0.131, 0).lineTo(0.131, 0.498).lineTo(0.217, 0.498).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn... | 8 | 47 | 0.999948 |
train_d2da7cb324101fd6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.052, 0.811, 0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.273).lineTo(0.084, 0.063).lineTo(0.126, 0.105).lineTo(0.168, 0.063).lineTo(0.21, 0.063).lineTo(0.294, 0.063).lineTo(0.126, -0.147).lineTo(0.126, -0.189).threePointArc((0.126, -0.... | 6 | 67 | 0.107177 |
train_24eaf2d0bf3f81f0 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.978).lineTo(0, 0.326).lineTo(1, 0.326).lineTo(1, -0.978).lineTo(0, -0.978).lineTo(0, -0.326).lineTo(-1, -0.326).lineTo(-1, 0.326).lineTo(-0.5, 0.326).lineTo(-0.5, 0.978).lineTo(0, 0.978).close().extrude(0.429, both=True)
result = result.cut(cq.Wo... | 14 | 33 | 1.950352 |
train_ec0cdd9fcc08447a | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.787, 1.581)
result = result.edges().fillet(0.177)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.423).extrude(3.972, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 14 | 91 | 3.005221 |
train_39a622842705027b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.076, 0, 0.146), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.682, 0.288).lineTo(0.822, 0.061).lineTo(0.595, -0.079).lineTo(0.665, -0.193).lineTo(0.551, -0.262).lineTo(0.481, -0.149).lineTo(0.254, -0.288).lineTo(0.114, -0.061).lineTo(0.341, 0.07... | 12 | 272 | 1.084364 |
train_c90e5d03b12859b0 | 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.686, 0.667).threePointArc((0.907, 0.573), (1, 0.352)).lineTo(1, -0.399).threePointArc((0.921, -0.587), (0.732, -0.667)).lineTo(-0.887, -0.667).threePointArc((-0.966, -0.633), (-1, -0.553)).... | 14 | 19 | 0.37262 |
train_4b20093b60d95861 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.399).lineTo(1, -0.337).threePointArc((0.981, -0.381), (0.937, -0.399)).lineTo(-0.891, -0.399).threePointArc((-0.967, -0.368), (-1, -0.292)).lineTo(-1, 0.399).lineTo(1, 0.399).close().ex... | 9 | 83 | 0.572828 |
train_7df2ac9cb7da26c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.05), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.123).lineTo(0.792, 0).lineTo(1, -0.123).lineTo(0.461, -0.123).lineTo(0.461, 0.123).lineTo(1, 0.123).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = res... | 11 | 212 | 0.099708 |
train_a2e8fe0a307533bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.194, -0.017, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.605, -0.149).threePointArc((-0.056, 0.817), (0.605, -0.219)).lineTo(0.587, -0.767).threePointArc((0.525, -0.817), (0.37, -0.73)).lineTo(0.368, -0.171).threePointArc((0.461, 0.187... | 8 | 75 | 1.119755 |
train_1532ddf6331f3ded | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.425)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.435).extrude(1.272, both=True))
result = result.union(cq.Workpl... | 15 | 79 | 0.954398 |
train_2b05d9a0defdf0c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.09, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.177, 0.664).threePointArc((0.354, 0.398), (0.708, -0.132)).lineTo(0.708, -0.31).lineTo(0.619, -0.487).lineTo(0.442, -0.664).lineTo(0.177, -0.575).threePointArc((-0.354, -0.31), (-0.708, 0... | 13 | 92 | 1.212982 |
train_fa01200d4adf937e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.585, 0.455, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.439, 0.976).lineTo(0.386, 0.629).lineTo(0.591, 0.282).threePointArc((0.531, 0.101), (0.439, -0.066)).threePointArc((-0.04, -0.544), (-0.519, -0.066)).lineTo(-0.579, 0.143).lineTo(-0.47... | 5 | 38 | 1.948973 |
train_88c1266ff216bd71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.491, 0, -0.469), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.322, 0.937).lineTo(0.322, 0.322).lineTo(0.981, 0.322).lineTo(0.981, 0).lineTo(0, 0).lineTo(0, 0.937).lineTo(0.322, 0.937).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 4 | 38 | 0.634208 |
train_76ea0e95dec18e20 | 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.126, 0.098).threePointArc((0.167, 0), (0.126, -0.098)).lineTo(0.042, -0.098).lineTo(-0.042, -0.098).lineTo(-0.126, -0.098).threePointArc((-0.167, 0), (-0.126, 0.098)).lineTo(-0.042, 0.098).lin... | 2 | 17 | 0.119827 |
train_63bdc1d57f0fc8b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.037, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.2).lineTo(0, 0.094).threePointArc((0.081, 0.08), (0.272, 0.073)).lineTo(0.808, 0.073).threePointArc((0.91, 0.07), (0.954, 0.062)).lineTo(0.954, -0.054).threePointArc((0.878, -0.068)... | 22 | 95 | 0.285399 |
train_8bf8456de9d06494 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, 0.999, 0.202), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.436, 0.635).lineTo(0.496, 0.413).threePointArc((0.401, 0.32), (0.372, 0.191)).threePointArc((0.492, 0.106), (0.548, -0.031)).lineTo(0.542, -0.253).threePointArc((0.55, -0.392), (0.... | 5 | 33 | 1.213207 |
train_4fe5711416f39fb3 | 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.447, 0.667).lineTo(-0.447, -0.261).lineTo(0.853, -0.261).lineTo(0.853, -0.667).lineTo(-0.853, -0.667).lineTo(-0.853, 0.667).lineTo(-0.447, 0.667).close().extrude(2)
result = result.edges().ch... | 3 | 39 | 2.134065 |
train_ffd24adf24ae40fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.024, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.247, 0.887).threePointArc((0.825, 0.888), (0.926, 0.27)).lineTo(-0.311, -0.888).threePointArc((-0.88, -0.78), (-0.926, -0.222)).lineTo(0.247, 0.887).close().extrude(0.199)
result =... | 7 | 60 | 0.306669 |
train_0a59b9bcad69e835 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.83).lineTo(1, -0.535).threePointArc((0.914, -0.743), (0.705, -0.83)).lineTo(-0.731, -0.83).threePointArc((-0.922, -0.75), (-1, -0.561)).lineTo(-1, 0.83).lineTo(1, 0.83).close().extrude(... | 4 | 16 | 0.49286 |
train_b38357625d3c1134 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, 0.536).threePointArc((0.378, -0.536), (-0.052, 0.536)).lineTo(0.807, 0.536).close().extrude(0.773).union(cq.Workplane(cq.Plane(origin=(0, 0, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))... | 5 | 44 | 1.343842 |
train_7df38aa73dbd5433 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.765, 0.493).lineTo(0.765, 0.26).lineTo(1, 0.26).lineTo(1, -0.493).lineTo(-0.732, -0.493).threePointArc((-0.92, -0.414), (-1, -0.225)).lineTo(-1, 0.362).threePointArc((-0.96, 0.456), (-0.86... | 11 | 26 | 0.786918 |
train_914f7a37680f6ba1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.207, 0.944).threePointArc((0.725, 0.725), (0.944, 0.207)).lineTo(0.944, -0.604).threePointArc((0.843, -0.843), (0.604, -0.944)).lineTo(-0.193, -0.944).threePointArc((-0.72, -0.72), (-0.944, ... | 2 | 28 | 1.112213 |
train_9c7eb69be9dc98ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.338, 0, -0.618), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.184, 1.236).lineTo(0.184, 0.184).lineTo(0.676, 0.184).lineTo(0.676, 0).lineTo(0, 0).lineTo(0, 1.236).lineTo(0.184, 1.236).close().extrude(1, both=True)
result = result.union(cq.Workp... | 5 | 22 | 0.588538 |
train_d65ca33f5226ac33 | 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.57, 0.217).lineTo(0.912, 0.158).lineTo(1, 0.076).lineTo(1, 0).lineTo(0.833, 0).lineTo(0.833, 0.065).lineTo(0.737, 0.158).lineTo(0, 0.059).lineTo(0, 0.217).lineTo(0.57, 0.217).close().revo... | 4 | 18 | 0.285821 |
train_a132ee5be3772694 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.161, 0.053, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.678, 0.179).threePointArc((0.839, 0), (0.678, -0.179)).lineTo(0.226, -0.179).lineTo(-0.226, -0.179).lineTo(-0.678, -0.179).threePointArc((-0.839, 0), (-0.678, 0.179)).lineTo(-0.22... | 4 | 26 | 0.084547 |
train_0d94e92c8dcfcd91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.01, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 1.01).threePointArc((0.172, 0.979), (0.202, 0.907)).lineTo(0.202, 0.688).threePointArc((0.226, 0.63), (0.284, 0.606)).lineTo(0.475, 0.606).threePointArc((0.567, 0.567), (0.606, 0.475... | 8 | 60 | 0.364866 |
train_3e24f8c6b36f1ea9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.839, 1).threePointArc((0.947, 0.947), (1, 0.839)).lineTo(1, 0.553).threePointArc((0.926, 0.397), (0.774, 0.332)).lineTo(0.497, 0.332).threePointArc((0.381, 0.283), (0.332, 0.166)).lineTo(0... | 7 | 55 | 1.019976 |
train_e43073a8f2c7450e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.036), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.106).lineTo(0.857, 0).lineTo(1, -0.106).lineTo(0.204, -0.106).lineTo(0.204, 0.106).lineTo(1, 0.106).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 14 | 110 | 0.333046 |
train_fb3aa6c055d35856 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.87), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.441).lineTo(1, 0.275).threePointArc((0.963, 0.246), (0.894, 0.234)).lineTo(0.482, 0.234).threePointArc((0.345, 0.21), (0.288, 0.153)).lineTo(0.288, -0.414).threePointArc((0.245, -0.4... | 8 | 84 | 0.536445 |
train_091c47c4f69bba37 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.032, -1.177, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.93, 2.018).threePointArc((1.017, 1.375), (0.508, 0.615)).threePointArc((-0.299, 0.184), (-0.93, 0.335)).threePointArc((-1.017, 0.979), (-0.508, 1.738)).threePointArc((0.299, 2.169... | 9 | 153 | 1.431416 |
train_77496fc8cd235b13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.496, 0.305).workplane(offset=2.036).rect(1.005, 0.217).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.491), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.138).extrude(0.914,... | 12 | 121 | 0.376417 |
train_9034fb6c5df68ded | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.573, 0.904, 0.059), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.366, 1.112).lineTo(0.493, 0.93).threePointArc((0.505, 0.832), (0.575, 0.786)).lineTo(0.746, 0.395).threePointArc((0.74, 0.251), (0.744, 0.094)).lineTo(0.442, -0.208).threePointArc(... | 4 | 26 | 0.922136 |
train_0eacd1fa200eb415 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.119, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.339, 0.825).threePointArc((-0.208, 0.645), (0, 0.565)).lineTo(0.339, 0.539).lineTo(0.677, 0.629).threePointArc((0.875, 0.431), (0.677, 0.234)).lineTo(0.406, 0.055).threePointArc((0.278, ... | 6 | 29 | 2.667059 |
train_5288dabe249e36dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.545, -0.656, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.757, 1.402).lineTo(0.757, -0.313).threePointArc((-0.757, 0.544), (0.757, 1.402)).close().moveTo(0.251, 1.017).lineTo(0.25, 0.875).lineTo(0.346, 0.772).lineTo(0.205, 0.772).lineTo(0.10... | 5 | 28 | 3.232778 |
train_1d3c12779a4a3b8b | 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.558).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.39), normal=(0.547, 0, 0.837), xDir=(0.837, 0, -0.547))).circle(0.16).extrude(1.917))
result = result.cut(cq.Workpla... | 6 | 32 | 1.146887 |
train_9d1753373f05f911 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.072, 0, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.927, 0.815).lineTo(0.927, 0.484).lineTo(-0.568, 0.484).lineTo(-0.568, -0.484).lineTo(0.927, -0.484).lineTo(0.927, -0.815).lineTo(-0.927, -0.815).lineTo(-0.927, 0.815).lineTo(0.927, 0.8... | 7 | 48 | 0.666504 |
train_39c6eb20b4bc06cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.344, 0, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.656).lineTo(0.464, 0.464).lineTo(0.656, 0).lineTo(0.464, -0.464).lineTo(0, -0.656).lineTo(-0.464, -0.464).lineTo(-0.656, 0).lineTo(-0.464, 0.464).lineTo(0, 0.656).close().extrude(0... | 4 | 29 | 0.634869 |
train_40ac24e5818e53fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.082, -0.526), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.245, 0.481).threePointArc((0.471, 0.387), (0.565, 0.163)).lineTo(0.565, -0.481).lineTo(-0.154, -0.481).lineTo(-0.565, -0.07).lineTo(-0.565, 0.009).lineTo(-0.093, 0.481).lineTo(0.245, ... | 12 | 54 | 1.097064 |
train_2c9d27701e131034 | 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.281, 1).threePointArc((0.339, 0.803), (0.591, 0.798)).threePointArc((0.827, 0.198), (0.976, 0)).threePointArc((0.653, -0.556), (0.591, -0.798)).threePointArc((-0.051, -0.888), (-0.281, -1... | 6 | 441 | 0.943213 |
train_607606f6ba40395c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.156, -0.411), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.429, 0.822).lineTo(0.429, 0.265).lineTo(0.843, 0.265).lineTo(0.843, 0).lineTo(0.224, 0).lineTo(0.224, 0.822).lineTo(0.429, 0.822).close().revolve(angleDegrees=360, axisStart=(0, 0, 0)... | 9 | 78 | 0.338545 |
train_62224c49d36a2d86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.053, 0.664).threePointArc((-0.016, 0.648), (0, 0.611)).lineTo(0, 0.449).threePointArc((0.035, 0.366), (0.117, 0.332)).lineTo(0.749, 0.332).threePointArc((0.918, 0.259), (1, 0.085)).lineTo(... | 7 | 36 | 1.534243 |
train_aedfc4774d9ee2ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.431), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.307, 0.943).lineTo(0.805, 0.584).lineTo(1, 0).lineTo(0.805, -0.584).lineTo(0.307, -0.943).lineTo(-0.307, -0.943).lineTo(-0.805, -0.584).lineTo(-1, 0).lineTo(-0.805, 0.584).lineTo(-0.307, 0... | 7 | 68 | 1.723547 |
train_0785c6a4dae7c5cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.627, 1).threePointArc((0.856, 0.905), (0.951, 0.675)).lineTo(0.951, -0.6).threePointArc((0.834, -0.883), (0.552, -1)).lineTo(-0.505, -1).threePointArc((-0.821, -0.868), (-0.951, -0.552)).l... | 15 | 180 | 0.669271 |
train_45a388b0b7070cf6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.347, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.544, 0.652).lineTo(0.544, -0.437).threePointArc((0.481, -0.589), (0.328, -0.652)).lineTo(-0.41, -0.652).lineTo(-0.544, -0.519).lineTo(-0.544, 0.652).lineTo(0.544, 0.652).close().extru... | 11 | 96 | 0.377937 |
train_2104c7ac70926567 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.728, -0.101).lineTo(0.987, -0.163).lineTo(0.972, -0.235).lineTo(0.711, -0.183).lineTo(0.679, -0.279).lineTo(0.916, -0.403).lineTo(0.883, -0.471).lineTo(0.644, -0.354).lineTo(0.589, -0... | 2 | 103 | 0.459168 |
train_28ade4d815cc8c89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.011, -0.921), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.861, 1.841).lineTo(0.861, 1.321).lineTo(0.819, 1.321).lineTo(0.819, 1.012).lineTo(0.693, 1.012).lineTo(0.693, 0.646).lineTo(1, 0.646).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.841).lineT... | 9 | 71 | 2.877397 |
train_dde52ad40995fb9c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, -0.089, -0.116), normal=(0.06, 0.008, 0.998), xDir=(0, -1, 0.008))).moveTo(0, 0.989).lineTo(0.154, 0.63).lineTo(0.124, -0.45).lineTo(0, -0.989).lineTo(-0.154, -0.27).lineTo(-0.124, 0.63).lineTo(0, 0.989).close().extrude(0.394, both=False)
... | 10 | 95 | 0.197614 |
train_d4b81eabb8130877 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.81, -0.537, -0.542), normal=(-0.73, 0.622, 0.284), xDir=(-0.649, -0.761, 0))).moveTo(0.205, 0.261).lineTo(0.205, 0.187).lineTo(-0.131, 0.187).lineTo(-0.131, -0.187).lineTo(0.205, -0.187).lineTo(0.205, -0.261).lineTo(-0.205, -0.261).lineTo(-0.205... | 7 | 293 | 0.73789 |
train_16f915184a3a1ad4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.522, 1).threePointArc((0.567, 0.961), (0.587, 0.888)).lineTo(0.587, -0.773).threePointArc((0.546, -0.926), (0.446, -1)).lineTo(-0.338, -1).threePointArc((-0.514, -0.875), (-0.587, -0.603)).... | 3 | 47 | 0.966814 |
train_dab5602e62844287 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, 0.493, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.106, 0.206).lineTo(0.209, 0.007).lineTo(0.101, -0.206).lineTo(-0.108, -0.202).lineTo(-0.209, 0.008).lineTo(-0.108, 0.205).lineTo(0.106, 0.206).close().extrude(1.877)
result = result.ed... | 8 | 96 | 0.246098 |
train_35ca7236ac8471f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.746), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.25).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.25).lineTo(-0.561, 1.25).lineTo(-0.561, 0.439).lineTo(0.561, 0.439).lineTo(0.561, 1.25).lineTo(1, 1.25).close().extrude(0.32, both=True)
res... | 7 | 58 | 0.983358 |
train_385bf730f8a4abb7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.067, 0, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.067, 0.91).lineTo(1.067, 0.475).lineTo(-0.421, 0.475).lineTo(-0.421, -0.475).lineTo(1.067, -0.475).lineTo(1.067, -0.91).lineTo(-1.067, -0.91).lineTo(-1.067, 0.91).lineTo(1.067, 0.91).... | 10 | 14 | 0.355781 |
train_85a893fcda99c3e0 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.379, 1).threePointArc((0.533, 0.927), (0.597, 0.777)).lineTo(0.597, 0.264).threePointArc((0.578, 0.218), (0.533, 0.199)).lineTo(0.273, 0.199).threePointArc((0.221, 0.177), (0.199, 0.125)).lineTo(0.199, -0.92).threePointArc((0.178, -0.971), (0.127, -... | 9 | 111 | 1.629594 |
train_fc1fd7b8050fb967 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.307).lineTo(0.6, 0).lineTo(1, -0.307).lineTo(0.208, -0.307).lineTo(0.208, 0.307).lineTo(1, 0.307).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.551, 0, 0), normal=(0... | 10 | 53 | 0.563016 |
train_5ec815c04cb0690d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.064, 0.124, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.202, 0.811).threePointArc((-0.105, 0.542), (0.178, 0.49)).threePointArc((0.237, 0.23), (0.207, -0.035)).threePointArc((0.369, -0.236), (0.603, -0.347)).lineTo(0.736, -0.811).three... | 7 | 149 | 1.207102 |
train_2731ded99649282d | 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(0.829, 0.479).lineTo(0.829, -0.483).lineTo(0.818, -0.483).lineTo(0.818, -0.494).lineTo(-0.829, -0.494).lineTo(-0.829, 0.487).threePointArc((-0.828, 0.492), (-0.822, 0.494)).lineTo(0.815, 0.49... | 8 | 234 | 1.580519 |
train_343b6e9bf11db0f0 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.44).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.614).extrude(0.353, both=True))
result = result.cut(cq.Workplane('XY').circle(0.239).extrude(3, both=True))
result = ... | 6 | 52 | 0.251178 |
train_1e6a5663e4611e6c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, 0, -0.813), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.567)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.008, 0, -0.813), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.234, 0.643), (-0.827, 0.985), (-1.5, 0.8... | 4 | 39 | 2.759599 |
train_970a4b9ebac63431 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.389, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.61).extrude(0.186)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.389, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.522).extrude(0.558, both=True))
result = result.unio... | 12 | 88 | 0.12608 |
train_40c9ac32c5d18197 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.279, 0.2, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.751).extrude(0.584)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.472, 0.2, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.751, 0.751), (-1.502, 0), (-0.7... | 12 | 140 | 1.419701 |
train_b9b8f5139ef60c12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.055, 0.162, 0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.117, 0.319).lineTo(0.644, 0.2).lineTo(1.054, -0.003).lineTo(0.972, -0.053).lineTo(1.029, -0.112).lineTo(0.69, -0.233).lineTo(0.572, -0.231).threePointArc((0.542, -0.263), (-0.394,... | 6 | 85 | 0.310468 |
train_c57d88189c273879 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(1).extrude(0.769, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.841).extrude(0.59, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.997, 0.416, 0), normal=(0, -1, 0)... | 8 | 31 | 2.967106 |
train_5d69a5621be110a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.653, -1.952, -0.618), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.233, -0.317).lineTo(-0.411, -0.317).lineTo(-0.411, 0.317).lineTo(0.411, 0.317).lineTo(0.411, 0.952).lineTo(1.233, 0.952).lineTo(1.233, -0.952).lineTo(-1.233, -0.952).close().mov... | 6 | 43 | 2.059927 |
train_7a4cc86a9dba94a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.062, -0.098).lineTo(0.081, -0.132).lineTo(0.032, -0.139).threePointArc((0.015, -0.137), (-0.003, -0.133)).threePointArc((-0.025, -0.126), (-0.045, -0.116)).threePointArc((-0.068, -0.... | 4 | 53 | 0.112759 |
train_a780cfd25f61b5ac | 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.088, 0.175).lineTo(-0.088, 0).lineTo(0.263, 0).lineTo(0.263, -0.175).lineTo(-0.263, -0.175).lineTo(-0.263, 0.175).lineTo(-0.088, 0.175).close().extrude(1.583)
result = result.union(cq.Workpla... | 4 | 20 | 0.163053 |
train_346d9c3e0fecb5bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.079, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 1).lineTo(1, 0).lineTo(0.324, -1).lineTo(-0.843, -0.615).lineTo(-0.843, 0.615).lineTo(0.324, 1).close().extrude(0.627)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.079, 0... | 7 | 49 | 0.839318 |
train_e7100b5602421a77 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.109, -0.093, 0.38), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.254, 0.475).threePointArc((0.468, 0.261), (0.254, 0.046)).lineTo(-0.254, 0.046).threePointArc((-0.468, 0.261), (-0.254, 0.475)).lineTo(0.254, 0.475).close().extrude(0.186)
result =... | 12 | 59 | 0.11863 |
train_fcbe2588dee4ee05 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, 0.12), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.332, 2.276).lineTo(0.332, 0.332).lineTo(2, 0.332).lineTo(2, 0).lineTo(0, 0).lineTo(0, 2.276).lineTo(0.332, 2.276).close().extrude(0.986, both=True)
result = result.cut(cq.Workplane(cq.Plan... | 11 | 65 | 0.987479 |
train_e604202adeda1499 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.057, -0.03, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.072, 0.148).lineTo(0.149, 0.003).lineTo(0.077, -0.148).lineTo(-0.077, -0.148).lineTo(-0.149, -0.003).lineTo(-0.077, 0.145).lineTo(0.072, 0.148).close().extrude(2.664, taper=7.606, both=... | 9 | 173 | 0.042251 |
train_02b0fea2dbe978ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-30.408, 1.334, -20.908), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 34.114).threePointArc((24.126, 24.126), (34.114, 0)).lineTo(13.012, 0).threePointArc((9.214, 9.214), (0, 13.012)).lineTo(0, 34.114).close().extrude(98.472)
result = result.unio... | 8 | 7 | 0.251983 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.