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_e336929cd985c16b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.683), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.957, 0.91).threePointArc((0.987, 0.897), (1, 0.867)).lineTo(1, 0.684).threePointArc((0.978, 0.632), (0.926, 0.61)).lineTo(-0.376, 0.61).threePointArc((-0.604, 0.514), (-0.7, 0.286)).lineTo... | 3 | 31 | 2.051515 |
train_fda9b78ecc8dc812 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.015, 0.104).lineTo(0.043, 0.096).lineTo(0.089, 0.057).lineTo(0.105, 0).lineTo(0.089, -0.057).lineTo(0.043, -0.096).lineTo(-0.015, -0.104).lineTo(-0.068, -0.08).lineTo(-0.1, -0.03).lineTo(-0.1, 0.03).lineTo(-0.068, 0.08).lineTo(-0.015, 0.104).close(... | 5 | 17 | 0.098266 |
train_f48eaaab0b0e2e34 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.44, 0.868).threePointArc((0.543, 0.829), (0.587, 0.737)).lineTo(0.587, 0.248).threePointArc((0.612, 0.196), (0.671, 0.174)).lineTo(0.881, 0.174).threePointArc((0.949, 0.148), (0.979, 0.087... | 6 | 248 | 0.401168 |
train_2db8971e1355d387 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.3, 0.856).threePointArc((0.439, 0.809), (0.498, 0.689)).lineTo(0.498, 0.154).threePointArc((0.551, 0.046), (0.676, 0)).lineTo(0.815, 0).threePointArc((0.938, -0.047), (1, -0.156)).lineTo(1... | 14 | 345 | 0.645967 |
train_bb7df711d79bc204 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.115, 0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, -0.666).lineTo(-0.767, -0.666).threePointArc((-0.628, 0.666), (0.767, -0.666)).close().extrude(0.141, taper=-12.012)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.975, -0... | 3 | 32 | 0.446061 |
train_84436a5a8f9f671b | 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.446, 2).lineTo(0.446, 1.473).lineTo(0.252, 1.473).lineTo(0.252, 1.12).lineTo(0.499, 1.12).lineTo(0.499, 0.717).lineTo(0.539, 0.717).lineTo(0.539, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.446, 2)... | 9 | 55 | 1.117175 |
train_613c36421593b5e0 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.01, 0.085).lineTo(0.048, 0.072).lineTo(0.077, 0.04).lineTo(0.087, 0).lineTo(0.077, -0.04).lineTo(0.048, -0.072).lineTo(0.01, -0.085).lineTo(-0.03, -0.08).lineTo(-0.065, -0.057).lineTo(-0.083, -0.02).lineTo(-0.083, 0.02).lineTo(-0.065, 0.057).lineTo(... | 3 | 28 | 0.048315 |
train_901b6db002bb8651 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.186).lineTo(0.905, 0).lineTo(1, -0.186).lineTo(0.283, -0.186).lineTo(0.283, 0.186).lineTo(1, 0.186).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.08, 0, -0.045), norm... | 10 | 66 | 0.599774 |
train_e46bd17726948974 | 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.52, 1).threePointArc((-0.434, 0.956), (-0.398, 0.87)).lineTo(-0.398, 0.74).threePointArc((-0.355, 0.64), (-0.256, 0.597)).lineTo(0.249, 0.597).threePointArc((0.353, 0.553), (0.398, 0.448))... | 7 | 109 | 0.230788 |
train_884ecc9e9637bbe8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.373, 0, -0.56), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.182, 1.119).lineTo(0.182, 0.182).lineTo(0.745, 0.182).lineTo(0.745, 0).lineTo(0, 0).lineTo(0, 1.119).lineTo(0.182, 1.119).close().extrude(1, both=True)
result = result.cut(cq.Workplan... | 4 | 30 | 0.583865 |
train_ce1943cb33b63551 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.12, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.173, 0.695).threePointArc((-0.094, 0.641), (0, 0.62)).lineTo(0.173, 0.606).lineTo(0.346, 0.645).threePointArc((0.6, 0.54), (0.705, 0.286)).lineTo(0.705, -0.03).threePointArc((0.6, -0.284)... | 18 | 206 | 2.029562 |
train_69f2220fd511c412 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, 0.124, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.508, -0.474).lineTo(-0.508, -0.739).threePointArc((0.155, 0.739), (0.508, -0.474)).close().extrude(0.621, taper=-6.802)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.936, ... | 5 | 58 | 1.431402 |
train_dad697d0e4dde3af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.052, 0, -0.606), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.339, 1.212).lineTo(0.339, 0.218).lineTo(1, 0.218).lineTo(1, 0).lineTo(0.131, 0).lineTo(0.131, 1.212).lineTo(0.339, 1.212).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn... | 8 | 34 | 0.875113 |
train_a4ed02765c411025 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.505, -0.155, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.008).threePointArc((0.716, 0.716), (1.008, 0)).lineTo(0.253, 0).threePointArc((0.179, 0.179), (0, 0.253)).lineTo(0, 1.008).close().extrude(2)
result = result.union(cq.Workplane(cq... | 9 | 35 | 1.756191 |
train_5c497b862121cfa5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.055, -0.401, 0.579), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.003, 1.1).lineTo(0.209, 0.615).lineTo(0.734, 0.564).lineTo(0.335, 0.218).lineTo(0.449, -0.298).lineTo(-0.003, -0.025).lineTo(-0.458, -0.293).lineTo(-0.339, 0.221).lineTo(-0.734, 0.... | 27 | 149 | 1.058093 |
train_a475f4e8a7a610cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.252, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.978, -0.135).lineTo(0.914, -0.264).lineTo(0.809, -0.382).lineTo(0.669, -0.483).lineTo(0.5, -0.562).lineTo(0.309, -0.618).lineTo(0.105, -0.646).lineTo(-0.105, -0.646).lineTo(-0.309, -0.618)... | 18 | 283 | 0.785451 |
train_8a265ed6fdcfaef5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.236, -0.299, -0.403), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.226, 0.805).lineTo(0.226, 0.226).lineTo(0.41, 0.226).lineTo(0.41, 0).lineTo(0, 0).lineTo(0, 0.805).lineTo(0.226, 0.805).close().extrude(0.701, both=True)
result = result.cut(cq.... | 13 | 194 | 0.321875 |
train_1dc8dc74548be9b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.104, -0.272, -0.43), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.655, 0.046).lineTo(-0.588, -0.554).threePointArc((-0.655, 0.554), (0.655, 0.046)).close().extrude(0.107, taper=-13.101)
result = result.union(cq.Workplane(cq.Plane(origin=(0.26, -... | 12 | 154 | 0.567986 |
train_33c96ad339223bf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.171, 0.435, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.564).threePointArc((0.4, 0.4), (0.564, 0)).threePointArc((0.4, -0.4), (0, -0.564)).threePointArc((-0.4, -0.4), (-0.564, 0)).threePointArc((-0.4, 0.4), (0, 0.564)).close().sweep... | 1 | 6 | 0.153275 |
train_e8576342a1b2ab17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.154, 0.09, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.09, 0.322).threePointArc((0.211, 0.392), (0.376, 0.245)).lineTo(0.249, -0.233).threePointArc((0.223, -0.329), (0.032, -0.278)).lineTo(-0.307, -0.392).threePointArc((-0.376, -0.271), (-0... | 17 | 50 | 0.333956 |
train_defe618dbbc73a85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.201, 0.591, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.251).threePointArc((0.695, 0.203), (0.208, 0.167)).lineTo(-0.028, -0.143).threePointArc((-0.722, -0.278), (-0.799, -0.116)).lineTo(-0.46, 0.242).threePointArc((0.028, 0.278), (0.... | 1 | 9 | 2.881709 |
train_d27bce58ccaf2e6c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.47), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 1).threePointArc((0.357, 0.738), (0.381, 0.682)).lineTo(0.381, 0.438).threePointArc((0.398, 0.398), (0.438, 0.381)).lineTo(0.632, 0.381).threePointArc((0.723, 0.343), (1, 0.253)).lineT... | 8 | 122 | 1.877877 |
train_c207892a3b8d9e64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.031, 0.62, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.059, 0.38).lineTo(0.45, 0.281).lineTo(0.457, 0.247).threePointArc((0.485, 0.233), (0.445, 0.115)).lineTo(0.427, 0.084).lineTo(0.463, 0.034).lineTo(0.425, -0.136).lineTo(0.503, -0.19... | 2 | 40 | 0.234952 |
train_e0f565737e9911bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.115, 0.542).workplane(offset=2).rect(0.858, 0.645).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.285, 0, -0.823), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.246, 0.323).lin... | 9 | 31 | 1.13121 |
train_b8d44886c0ad6e71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.386, 1, 0.424), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.214, 0.845).threePointArc((0.378, 0.777), (0.447, 0.612)).lineTo(0.447, 0.16).threePointArc((0.378, -0.005), (0.214, -0.073)).lineTo(-0.214, -0.073).threePointArc((-0.378, -0.005), (-0... | 29 | 47 | 3.042652 |
train_07d16005bb9ba07f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0, 0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.042, 1).lineTo(0.042, 0.847).lineTo(0.068, 0.703).threePointArc((0.169, 0.682), (0.211, 0.587)).lineTo(0.187, 0.429).threePointArc((0.237, 0.506), (0.324, 0.534)).lineTo(0.476, 0.58).l... | 4 | 47 | 0.341197 |
train_931b623c3957c52c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.089, 0.103, 0.077), normal=(0.484, -0.368, -0.794), xDir=(0.606, 0.796, 0))).moveTo(0.195, 0.343).lineTo(0.195, 0.114).lineTo(0.39, 0.114).lineTo(0.39, -0.114).lineTo(0.195, -0.114).lineTo(0.195, -0.343).lineTo(-0.195, -0.343).lineTo(-0.195, 0.1... | 6 | 60 | 1.78455 |
train_7a67e0e76db73470 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, 0.006, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.013, 0.871).lineTo(-0.183, 0.02).lineTo(0.511, -0.71).threePointArc((0.506, -0.939), (0.281, -0.985)).lineTo(-0.501, -0.165).lineTo(-0.511, -0.044).lineTo(-0.428, 0.068).lineTo(-... | 5 | 67 | 0.389326 |
train_c28e2a0a9264cbf5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.908, -0.754, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.549, 1.304).lineTo(0.549, 0.203).threePointArc((-0.549, 0.753), (0.549, 1.304)).close().workplane(offset=0.624).moveTo(0.542, 1.298).lineTo(0.542, 0.21).threePointArc((-0.542, 0.753),... | 12 | 11 | 2.69127 |
train_decbde83f2b9cf7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.822, 0.235).lineTo(1, 0.057).lineTo(1, -0.13).lineTo(0.895, -0.235).lineTo(-0.77, -0.235).lineTo(-1, -0.005).lineTo(-1, 0.005).lineTo(-0.77, 0.235).lineTo(0.822, 0.235).close().extrude(0.23... | 11 | 77 | 0.381922 |
train_fccf179d5af0f144 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.544), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 1.473).threePointArc((1.042, 1.042), (1.473, 0)).threePointArc((1.042, -1.042), (0, -1.473)).threePointArc((-1.042, -1.042), (-1.473, 0)).threePointArc((-1.042, 1.042), (0, 1.473)).close(... | 9 | 32 | 1.459796 |
train_b53e26d8fa4e8f21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.292).lineTo(1, -0.304).lineTo(-0.976, -0.304).lineTo(-1, -0.288).lineTo(-1, 0.291).threePointArc((-0.988, 0.301), (-0.978, 0.304)).lineTo(0.981, 0.304).threePointArc((0.989, 0.301), (1, ... | 7 | 147 | 0.367703 |
train_22068890149fd2c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.412, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 0.502).lineTo(0.793, -0.502).lineTo(-0.793, -0.502).lineTo(-0.389, 0.502).lineTo(0.389, 0.502).close().extrude(1, both=True)
result = result.union(result.mirror(mirrorPlane='XZ', baseP... | 6 | 33 | 2.067995 |
train_2531fdff7fac9f18 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.773, 0.422).threePointArc((0.933, 0.356), (1, 0.196)).lineTo(1, -0.233).threePointArc((0.944, -0.367), (0.811, -0.422)).lineTo(-1, -0.422).lineTo(-1, 0.236).threePointArc((-0.945, 0.368), ... | 10 | 50 | 0.331461 |
train_b41d0f0611e7776a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.799, -0.598, -0.74), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.598).threePointArc((1.131, 1.131), (1.598, 0)).lineTo(0.575, 0).threePointArc((0.408, 0.408), (0, 0.575)).lineTo(0, 1.598).close().extrude(1.199)
result = result.union(cq.Workp... | 8 | 41 | 2.171624 |
train_5fdc9860dd48cc62 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.085, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.853, 0.366).lineTo(1, 0.228).lineTo(1, -0.123).threePointArc((0.92, -0.295), (0.753, -0.366)).lineTo(-0.722, -0.366).lineTo(-0.722, -0.093).lineTo(-1, -0.093).lineTo(-1, 0.366).lineTo(... | 4 | 20 | 0.313216 |
train_34e7176117e5707e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.576).lineTo(1, -0.475).threePointArc((0.919, -0.563), (0.728, -0.6)).lineTo(-0.78, -0.6).threePointArc((-0.935, -0.57), (-1, -0.499)).lineTo(-1, 0.573).threePointArc((-0.982, 0.592)... | 3 | 41 | 1.020743 |
train_ed67603180e2a164 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.744, 0.183, -0.118), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.252, 0).threePointArc((0, -0.252), (-0.252, 0)).threePointArc((0, 0.252), (0.252, 0)).close().revolve(angleDegrees=180, axisStart=(0.255, -0.121), axisEnd=(0.255, 0.121))
result ... | 7 | 27 | 0.599077 |
train_43351f48e0f412ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.197, 0.023, 0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.706, 0.595).lineTo(0.706, 0.357).lineTo(-0.504, 0.357).lineTo(-0.504, 0.119).lineTo(0.706, 0.119).lineTo(0.706, -0.595).lineTo(-0.706, -0.595).lineTo(-0.706, -0.357).lineTo(0.504, ... | 10 | 159 | 0.344221 |
train_18d8e6c3e79d4302 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.528, 2, 1.55)
result = result.edges().fillet(0.253)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.183), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.32).extrude(3.056, both=True))
r... | 7 | 51 | 3.467566 |
train_655bc0df56566ecb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.52, 1).lineTo(0.52, 0.845).lineTo(0.677, 0.845).lineTo(0.677, -0.892).lineTo(0.567, -1).lineTo(-0.522, -1).threePointArc((-0.631, -0.954), (-0.677, -0.845)).lineTo(-0.677, 0.827).lineTo(-0... | 8 | 66 | 1.14885 |
train_6676719486eb4614 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.144, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.328).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.144, 0, 0.39), normal=(0.388, 0, 0.922), xDir=(0.922, 0, -0.388))).circle(0.429).extrude(0.524))
result = result.cut... | 10 | 72 | 0.547491 |
train_3cb9eee6d026c228 | 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.934, 0.667).lineTo(0.934, -0.667).lineTo(-0.934, -0.667).lineTo(-0.934, 0.667).lineTo(-0.552, 0.667).lineTo(-0.552, -0.285).lineTo(0.552, -0.285).lineTo(0.552, 0.667).lineTo(0.934, 0.667).clos... | 9 | 29 | 2.811763 |
train_9eed4a681651c5b2 | 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.895, 2).lineTo(0.895, 0.428).lineTo(0.384, 0.428).lineTo(0.384, 0).lineTo(0.148, 0).lineTo(0.148, 2).lineTo(0.895, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 5 | 18 | 3.96908 |
train_829cc331ebe0627c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.216), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.557, 0.432).lineTo(0.557, 0).lineTo(-0.557, 0).lineTo(-0.557, 0.432).lineTo(-0.407, 0.432).lineTo(-0.407, 0.15).lineTo(0.407, 0.15).lineTo(0.407, 0.432).lineTo(0.557, 0.432).close().extru... | 2 | 15 | 0.491185 |
train_b55e29107eaa81ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.627, 0.586, -0.751), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.229, 0.425).threePointArc((0.32, 0.459), (0.374, 0.34)).lineTo(0.213, 0.028).lineTo(0.401, -0.336).threePointArc((0.32, -0.459), (0.223, -0.417)).lineTo(0.012, -0.003).lineTo(0.0... | 11 | 52 | 0.493013 |
train_f0237ed29b0f256d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.638), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.354, 2.191).lineTo(0.354, 1.722).lineTo(0.142, 1.722).lineTo(0.142, 1.275).lineTo(1, 1.275).lineTo(1, 1.133).lineTo(0.598, 1.133).lineTo(0.598, 0).lineTo(0, 0).lineTo(0, 2.191).lineTo(0.3... | 4 | 17 | 0.891831 |
train_c3259940a9882dd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.082, 1).threePointArc((0.165, 0.965), (0.2, 0.882)).lineTo(0.2, 0.34).threePointArc((0.242, 0.242), (0.34, 0.2)).lineTo(0.525, 0.2).threePointArc((0.578, 0.178), (0.6, 0.125)).lineTo(0.6, ... | 11 | 242 | 0.675602 |
train_84d7ab0024daaa7f | 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.149, 0.564).threePointArc((-0.124, 0.554), (-0.113, 0.529)).lineTo(-0.113, -0.056).threePointArc((-0.096, -0.096), (-0.056, -0.113)).lineTo(0.041, -0.113).threePointArc((0.092, -0.092), (... | 19 | 527 | 0.966971 |
train_0a0ea00ca4e9c49f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.02, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.367, 0.141).threePointArc((0.418, 0.12), (0.44, 0.069)).lineTo(0.44, -0.081).lineTo(0.379, -0.141).lineTo(-0.363, -0.141).lineTo(-0.44, -0.065).lineTo(-0.44, 0.106).lineTo(-0.403, 0.10... | 10 | 77 | 0.071132 |
train_2a2137c712a94064 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.1, 0.238).workplane(offset=2).rect(0.52, 0.184).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.046).extrude(0.713, both=True)... | 8 | 31 | 0.109062 |
train_3681ba4a068c5060 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.531, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.039, 0.485).lineTo(0.106, 0.224).lineTo(0.401, 0.277).lineTo(0.247, 0.02).lineTo(0.44, -0.209).lineTo(0.141, -0.204).lineTo(0.039, -0.485).lineTo(-0.106, -0.224).lineTo(-0.401, -0.277).li... | 2 | 74 | 0.903917 |
train_bfca0aa493777075 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0.003, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.759, -0.207).lineTo(0.955, -0.304).lineTo(0.922, -0.393).lineTo(0.718, -0.32).lineTo(0.609, -0.497).lineTo(0.749, -0.667).lineTo(0.684, -0.733).lineTo(0.526, -0.585).lineTo(0.354,... | 11 | 135 | 0.231694 |
train_6b00222087c5c93d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.28, 0.6, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.214, 0.036).lineTo(0.208, 0.027).lineTo(0.204, 0.016).lineTo(0.201, 0.006).lineTo(0.199, -0.006).lineTo(0.198, -0.017).lineTo(0.198, -0.029).lineTo(0.199, -0.041).lineTo(0.201, -0.05... | 8 | 805 | 0.12412 |
train_754731098714b2c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.506, -0.431, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.013).threePointArc((0.716, 0.716), (1.013, 0)).lineTo(0.546, 0).threePointArc((0.385, 0.385), (0, 0.546)).lineTo(0, 1.013).close().extrude(2)
result = result.union(cq.Workplane(cq... | 3 | 18 | 1.165956 |
train_04624f0ba0c2c7ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.138, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.141).threePointArc((0.862, 0), (0.722, -0.141)).lineTo(0, -0.141).lineTo(-0.722, -0.141).threePointArc((-0.862, 0), (-0.722, 0.141)).lineTo(0, 0.141).lineTo(0.722, 0.141).close... | 5 | 200 | 0.128331 |
train_e83d2f53ef821bcc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.014, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.466, 0.296).lineTo(-0.466, -0.152).lineTo(0.969, -0.152).lineTo(0.969, -0.296).lineTo(-0.969, -0.296).lineTo(-0.969, 0.296).lineTo(-0.466, 0.296).close().extrude(0.215, taper=-8.112)
... | 21 | 180 | 0.159057 |
train_fa6f176fcfd4295c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.187, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.833, 0.81).lineTo(0.833, 0.421).lineTo(0.196, 0.421).lineTo(0.196, -0.81).lineTo(-0.196, -0.81).lineTo(-0.196, 0.421).lineTo(-0.833, 0.421).lineTo(-0.833, 0.81).lineTo(0.833, 0.81).close()... | 27 | 145 | 1.059486 |
train_57c121735ea0c42a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.433, 0.748).lineTo(0.751, 0.43).lineTo(0.751, -0.748).lineTo(-0.751, -0.748).lineTo(-0.751, 0.375).lineTo(-0.378, 0.748).lineTo(0.433, 0.748).close().extrude(0.352)
result = result.union(c... | 8 | 36 | 0.829079 |
train_4fc1e607117444fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.363, 0.352, 0.071), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.001, 0.321).threePointArc((0.051, 0.304), (0.096, 0.257)).threePointArc((0.126, 0.186), (0.137, 0.103)).threePointArc((0.127, 0.019), (0.098, -0.053)).threePointArc((0.054, -0.1),... | 4 | 44 | 0.814875 |
train_f9468dad4d87d1ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.526, 1).lineTo(0.789, 0.737).lineTo(0.789, -0.844).lineTo(0.631, -1).lineTo(-0.575, -1).lineTo(-0.789, -0.786).lineTo(-0.789, 0.828).lineTo(-0.616, 1).lineTo(0.526, 1).close().extrude(0.19... | 14 | 44 | 0.543354 |
train_dfa03d859f0776b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.671, 0.338).workplane(offset=2).rect(0.818, 0.111).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.381, 0.021, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1.314, 1.613).lineTo... | 6 | 28 | 0.158483 |
train_3953f0ba033f6008 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.227, -0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.159, 0.221).threePointArc((0.281, 0.17), (0.332, 0.049)).lineTo(0.332, -0.144).threePointArc((0.309, -0.198), (0.255, -0.221)).lineTo(-0.289, -0.221).threePointArc((-0.319, -0.208), (-... | 6 | 77 | 0.51192 |
train_4313f4b2d0f1b892 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.077, -0.164, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.204, 0.489).lineTo(0.25, 0.412).lineTo(0.332, 0.384).lineTo(0.336, 0.156).threePointArc((0.452, 0.042), (0.314, -0.069)).lineTo(0.227, -0.468).lineTo(0.186, -0.475).lineTo(0.161, -0.51... | 5 | 135 | 1.544492 |
train_20515a7d0a9f1897 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.097, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 0.187).lineTo(0.301, 0.153).threePointArc((0.347, 0.138), (0.455, 0.131)).lineTo(0.76, 0.131).threePointArc((0.859, 0.125), (0.902, 0.11)).lineTo(0.902, 0.073).threePointArc((0.842... | 7 | 167 | 0.189231 |
train_ebee0e402d514a96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, 0.246, 0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.754, 0).threePointArc((0, -0.754), (-0.754, 0)).threePointArc((0, 0.754), (0.754, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.027, 0.246, 0.119), normal=(0, -1, 0), xDir=(1, 0... | 3 | 34 | 0.877793 |
train_c028e8465bbe5f58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0.376, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.623).extrude(0.454)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.01, 0.376, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.4).extrude(1.361, both=True))
result = resu... | 15 | 111 | 0.345661 |
train_a2e02f3b32e63c19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.93, -0.139).lineTo(0.986, -0.175).lineTo(0.964, -0.265).lineTo(0.903, -0.265).lineTo(0.854, -0.395).lineTo(0.895, -0.446).lineTo(0.85, -0.527).lineTo(0.791, -0.509).lineTo(0.708, -0.619).l... | 3 | 139 | 1.292415 |
train_b5cc3e06374ad784 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.728, 0.545).lineTo(1.015, 0.249).lineTo(1.115, 0.048).lineTo(1.098, -0.223).threePointArc((1.049, -0.348), (0.972, -0.459)).lineTo(0.841, -0.604).lineTo(0.584, -0.814).lineTo(0.327, -0.909).lineTo(0.003, -0.987).threePointArc((-0.074, -1), (-0.15, -... | 5 | 30 | 3.558152 |
train_27db05d78c0c3bca | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.511, 0.92).lineTo(1, 0.005).lineTo(0.506, -0.928).lineTo(-0.515, -0.923).lineTo(-1, -0.02).lineTo(-0.497, 0.928).lineTo(0.511, 0.92).close().extrude(0.429, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.14, -0.458, -0.119), normal=(... | 4 | 48 | 2.340134 |
train_e56bb6772a12d2d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.233, 0.515, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.484).threePointArc((0.419, 0.242), (0.419, -0.242)).threePointArc((0, -0.484), (-0.419, -0.242)).threePointArc((-0.419, 0.242), (0, 0.484)).close().sweep(cq.Workplane(cq.Plane(o... | 2 | 14 | 0.134707 |
train_c2e6cd9b258c04b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.083, 0.649, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.244, 0.269).lineTo(-0.244, -0.142).lineTo(0.37, -0.142).lineTo(0.37, -0.269).lineTo(-0.37, -0.269).lineTo(-0.37, 0.269).lineTo(-0.244, 0.269).close().sweep(cq.Workplane(cq.Plane(o... | 15 | 124 | 0.321234 |
train_a5b8f7d1afedfa75 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0.11, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.479, 0.65).threePointArc((-0.135, 0.575), (0.231, 0.413)).threePointArc((0.56, 0.188), (0.805, -0.066)).threePointArc((0.927, -0.31), (0.908, -0.506)).threePointArc((0.75, -0.625)... | 11 | 392 | 0.366049 |
train_211228143f41237d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, -0.193, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.099, 0.485).lineTo(0.015, 0.366).lineTo(0.159, 0.446).lineTo(0.137, 0.283).lineTo(0.289, 0.221).lineTo(0.148, 0.136).lineTo(0.195, -0.022).lineTo(0.04, 0.036).lineTo(-0.054, -0.0... | 11 | 371 | 0.278566 |
train_d38bb620228f52c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.175, 0, -0.781), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.135, 1.562).lineTo(0.135, 0.135).lineTo(0.35, 0.135).lineTo(0.35, 0).lineTo(0, 0).lineTo(0, 1.562).lineTo(0.135, 1.562).close().extrude(1, both=True)
result = result.union(cq.Workpla... | 12 | 167 | 0.407183 |
train_dcce776823bb8ea0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.035, -0.29), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.669, 0.414).lineTo(0.887, 0.393).lineTo(0.965, 0.145).lineTo(0.965, 0).lineTo(0.721, 0).lineTo(0.721, 0.124).lineTo(0.625, 0.393).lineTo(0, 0.17).lineTo(0, 0.414).lineTo(0.669, 0.414)... | 11 | 57 | 0.612322 |
train_046cc391c4cfd1e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, -0.249, -0.771), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.749, 0.555).lineTo(0.749, 0.079).lineTo(-0.535, 0.079).lineTo(-0.535, -0.079).lineTo(0.749, -0.079).lineTo(0.749, -0.555).lineTo(-0.749, -0.555).lineTo(-0.749, -0.396).lineTo(0.53... | 14 | 188 | 1.249027 |
train_e379b4f55b30a7ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.089, -0.627), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.004, 0.329).lineTo(0.187, 0.189).lineTo(0.184, -0.011).lineTo(0.019, -0.152).lineTo(-0.175, -0.035).lineTo(-0.187, 0.188).lineTo(0.004, 0.329).close().extrude(1.251)
result = result.u... | 29 | 212 | 0.145472 |
train_ca5ad93227a81978 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.048, 0.03, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.21, 0.926).threePointArc((0.258, 0.806), (0.283, 0.678)).threePointArc((0.27, 0.536), (0.367, 0.431)).threePointArc((0.249, 0.323), (0.171, 0.183)).lineTo(0.21, -0.065).threePointArc((-... | 6 | 104 | 1.571219 |
train_c56ef39aac5cf21b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.005, -0.001), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.696, 0.111).lineTo(0.814, 0.07).threePointArc((0.915, 0.139), (0.978, 0.092)).lineTo(1, -0.011).threePointArc((0.991, -0.02), (0.987, -0.027)).lineTo(0.948, -0.078).threePointArc((0.... | 2 | 35 | 0.431675 |
train_aa29b476ebadb97e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.667, 1).lineTo(0.667, -1).lineTo(0, -1).lineTo(0, -0.333).lineTo(-0.667, -0.333).lineTo(-0.667, 1).lineTo(0.667, 1).close().extrude(0.429)
result = result.cut(cq.Workplane(cq.Plane(origin=... | 11 | 41 | 0.253972 |
train_3c6995ada85e5dd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.753, 0.33).threePointArc((0.927, 0.306), (1, 0.249)).lineTo(1, -0.02).threePointArc((0.919, -0.083), (0.726, -0.11)).lineTo(-0.168, -0.11).threePointArc((-0.284, -0.126), (-0.333, -0.... | 6 | 209 | 0.860969 |
train_b734b96b223b642b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.038, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.706).threePointArc((0.195, 0.595), (0.289, 0.645)).threePointArc((0.423, 0.463), (0.529, 0.47)).threePointArc((0.577, 0.25), (0.677, 0.213)).threePointArc((0.632, -0.008), (0.708, -0.082... | 13 | 247 | 1.062912 |
train_58b6eef567161c52 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.232), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.943, 0.464).lineTo(0.913, 0.349).lineTo(1, 0.162).lineTo(1, 0).lineTo(0.836, 0).lineTo(0.836, 0.139).lineTo(0.741, 0.349).lineTo(0, 0.307).lineTo(0, 0.464).lineTo(0.943, 0.464).close().re... | 4 | 106 | 0.550287 |
train_9a91b89e97838efc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.093, 0.257, 0.623), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.323, 0.558).threePointArc((0.558, 0.323), (0.323, -0.558)).threePointArc((-0.558, -0.323), (-0.323, 0.558)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.093, 0.257, 0.623), norm... | 8 | 60 | 0.507918 |
train_e0bc4bc8dc7fcf43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.037, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.13, 0.866).threePointArc((0.09, 0.923), (0.15, 0.71)).lineTo(0.48, 0.796).threePointArc((0.76, 0.64), (0.569, 0.476)).lineTo(0.848, 0.32).threePointArc((0.907, 0.107), (0.687, 0.05)).l... | 11 | 237 | 0.703457 |
train_ba5bfd7859e12967 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.1, 0.002, 0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.098, 0.991).lineTo(0.109, 0.221).threePointArc((0.136, 0.165), (0.182, 0.125)).lineTo(0.269, 0.075).threePointArc((0.296, 0.052), (0.312, 0.02)).lineTo(0.376, -0.222).lineTo(0.488, -... | 9 | 112 | 0.463705 |
train_5361cbeaf038ee04 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0.08, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.709, 0.675).lineTo(0.709, 0).lineTo(0.355, 0).lineTo(0.355, -0.675).lineTo(-0.709, -0.675).lineTo(-0.709, 0).lineTo(-0.355, 0).lineTo(-0.355, 0.675).lineTo(0.709, 0.675).close().ext... | 27 | 116 | 0.217392 |
train_00b040d474813ddc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.263).lineTo(1, 0.097).lineTo(1, 0).lineTo(0.842, 0).lineTo(0.842, 0.083).lineTo(0.747, 0.263).lineTo(0, 0.127).lineTo(0, 0.277).lineTo(0.498, 0.277).lineTo(0.912, 0.263).close().re... | 6 | 20 | 0.324168 |
train_0b0071c5c155b266 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.323).threePointArc((0.896, 0.296), (0.924, 0.228)).lineTo(0.924, -0.323).lineTo(-0.833, -0.323).threePointArc((-0.897, -0.296), (-0.924, -0.232)).lineTo(-0.924, 0.229).lineTo(-0... | 10 | 51 | 1.089728 |
train_80cc27d86ce5296c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.562, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.28).lineTo(0.332, 0.23).threePointArc((0.368, 0.216), (0.456, 0.21)).lineTo(0.89, 0.21).threePointArc((0.962, 0.205), (1, 0.194)).lineTo(1, 0.137).threePointArc((0.931, 0.114),... | 20 | 107 | 1.232774 |
train_d552c86c75701a84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.148, 0.5).threePointArc((-0.044, 0.456), (0, 0.352)).lineTo(0, 0.118).threePointArc((0.035, 0.035), (0.118, 0)).lineTo(0.916, 0).threePointArc((0.975, -0.025), (1, -0.084)).lineTo(1, -0.37... | 4 | 77 | 0.793884 |
train_84c64445e84835c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.149, 0, -0.999), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.277, 1.478).lineTo(0.277, 0.277).lineTo(0.298, 0.277).lineTo(0.298, 0).lineTo(0, 0).lineTo(0, 1.478).lineTo(0.277, 1.478).close().extrude(0.805, both=True)
result = result.cut(cq.Wor... | 11 | 89 | 0.481506 |
train_86b3afb141efbd6b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.071, -0.313, -0.604), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.189, 1.312).threePointArc((0.504, 1.182), (0.635, 0.867)).lineTo(0.635, 0.36).threePointArc((0.504, 0.045), (0.189, -0.085)).lineTo(-0.189, -0.085).threePointArc((-0.504, 0.045), ... | 7 | 124 | 2.79602 |
train_efb43b8bc2c3a497 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.026, 0.033, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.09, 0.736).threePointArc((0.484, 0.957), (0.958, 0.493)).threePointArc((0.941, -0.144), (0.431, -0.676)).lineTo(0.307, -0.698).lineTo(0.202, -0.698).threePointArc((0.184, -0.7), (0.16... | 4 | 94 | 2.01699 |
train_16543ee0e27d424c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.5, -0.617), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.236, 0.263).threePointArc((0.441, 0.285), (0.474, 0.168)).lineTo(0.502, 0.132).threePointArc((0.714, 0.143), (0.743, 0.021)).lineTo(0.77, -0.018).lineTo(0.911, 0.004).lineTo(0.942, -0.... | 5 | 77 | 1.79219 |
train_4f8d99f28cc16211 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.598, -0.386), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.882, 0.402).lineTo(0.882, -0.402).lineTo(-0.882, -0.402).lineTo(-0.882, 0.402).lineTo(0.882, 0.402).close().extrude(0.771)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.598,... | 4 | 59 | 0.752259 |
train_a6cbf0dcbd458e49 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.619, -0.212, 0.303), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.047, 0.241).threePointArc((0.108, 0.232), (0.16, 0.198)).threePointArc((0.195, 0.149), (0.215, 0.095)).threePointArc((0.225, 0.042), (0.233, -0.009)).threePointArc((0.238, -0.064)... | 16 | 282 | 0.52946 |
train_55769d35e71ffcf0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, -0.041, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.221, -0.385).threePointArc((0.221, 0.392), (0.126, -0.392)).lineTo(-0.221, -0.385).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.165, -0.249, -0.007), normal... | 4 | 17 | 0.779098 |
train_0046d9ab3c5f68de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.698), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.992, 1.395).lineTo(0.992, 0.325).lineTo(1.011, 0.325).lineTo(1.011, 0).lineTo(0.64, 0).lineTo(0.64, 1.395).lineTo(0.992, 1.395).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axis... | 11 | 99 | 1.528875 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.