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_d8612346a56c9836 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.932, 0.262).lineTo(0.92, 0.173).lineTo(1, 0.092).lineTo(1, 0).lineTo(0.86, 0).lineTo(0.86, 0.079).lineTo(0.76, 0.173).lineTo(0, 0.123).lineTo(0, 0.262).lineTo(0.932, 0.262).close().revolv... | 4 | 73 | 0.367486 |
train_78f467908cacf781 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.487, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.452).lineTo(1, -0.438).lineTo(0.985, -0.438).lineTo(0.985, -0.452).lineTo(-0.985, -0.452).lineTo(-1, -0.438).lineTo(-1, 0.429).lineTo(-0.976, 0.452).lineTo(1, 0.452).close().extrude... | 9 | 57 | 1.343817 |
train_f01f4cb6cd2966eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.035, -0.214, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.363, 0.723).threePointArc((0.446, 0.67), (0.482, 0.546)).lineTo(0.482, 0.242).threePointArc((0.454, 0.144), (0.389, 0.103)).lineTo(-0.314, 0.103).threePointArc((-0.335, 0.09), (-0... | 36 | 273 | 1.060115 |
train_d987dc89df209538 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.928, 0.387).threePointArc((0.973, 0.369), (1, 0.325)).lineTo(1, -0.318).lineTo(0.921, -0.318).lineTo(0.921, -0.387).lineTo(-1, -0.387).lineTo(-1, 0.306).threePointArc((-0.968, 0.363), (-0.... | 18 | 83 | 0.165216 |
train_c52443cc5843eb79 | 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.102, 0.194).lineTo(0.197, -0.004).lineTo(0.095, -0.196).lineTo(-0.096, -0.196).lineTo(-0.197, -0.004).lineTo(-0.099, 0.196).lineTo(0.102, 0.194).close().extrude(2)
result = result.edges().cham... | 4 | 38 | 0.229649 |
train_8668752a1510b04a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.134, 0.1, -3.534), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.503).threePointArc((0.085, 0.488), (0.101, 0.45)).lineTo(0.101, 0.342).threePointArc((0.113, 0.314), (0.14, 0.303)).lineTo(0.357, 0.303).threePointArc((0.46, 0.259), (0.503, ... | 5 | 25 | 0.327255 |
train_11a8553770df8626 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.128, 0.102, -0.358), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.426, 0.737).threePointArc((0.426, 0.737), (0.851, 0)).threePointArc((0.426, -0.737), (-0.426, -0.737)).threePointArc((-0.851, 0), (-0.426, 0.737)).close().sweep(cq.Workplane(cq.P... | 6 | 68 | 2.422589 |
train_db8873fc179ae65a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.44, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.438, 1.199).threePointArc((0.438, 1.199), (0.876, 0.44)).threePointArc((0.438, -0.319), (-0.438, -0.319)).threePointArc((-0.876, 0.44), (-0.438, 1.199)).close().extrude(2)
result = result... | 15 | 427 | 3.980984 |
train_fdd58df6c80234d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.076, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.244, 0.149).lineTo(0.39, 0.003).lineTo(0.39, -0.065).lineTo(0.306, -0.149).lineTo(-0.322, -0.149).lineTo(-0.39, -0.081).lineTo(-0.39, 0.07).lineTo(-0.312, 0.149).lineTo(0.244, 0.149).... | 9 | 67 | 0.491672 |
train_11b10cd4382d9e1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, -0.02, 0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.401, 0.906).threePointArc((0.05, 1), (0.368, 0.721)).lineTo(0.511, 0.283).threePointArc((0.517, 0.264), (0.521, 0.244)).lineTo(0.549, 0.085).threePointArc((0.549, 0.073), (0.542, 0... | 4 | 82 | 1.373358 |
train_52b1f7a2891aed55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.261, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.492, 0.738).lineTo(0.492, 0.246).lineTo(0.984, 0.246).lineTo(0.984, -0.246).lineTo(-0.492, -0.246).lineTo(-0.492, -0.738).lineTo(-0.984, -0.738).lineTo(-0.984, 0.738).lineTo(0.492, 0.738).... | 13 | 115 | 0.606129 |
train_01bbd235a7c63ce3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.24, -0.087), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.482, 0.543).threePointArc((0.528, 0.524), (0.547, 0.478)).lineTo(0.547, -0.426).threePointArc((0.528, -0.471), (0.482, -0.49)).lineTo(-0.482, -0.49).threePointArc((-0.528, -0.471), (-... | 10 | 123 | 1.412445 |
train_d77d401669077fcf | 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.561, 0.999).threePointArc((-0.394, 0.944), (-0.323, 0.815)).lineTo(-0.323, 0.343).threePointArc((-0.191, 0.102), (0.12, 0)).lineTo(0.82, 0).threePointArc((0.925, -0.034), (0.969, -0.115)).... | 9 | 336 | 0.626425 |
train_865d409bcfee8fac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.786, 1).threePointArc((0.849, 0.972), (0.875, 0.908)).lineTo(0.875, -0.902).lineTo(0.78, -1).lineTo(-0.875, -1).lineTo(-0.875, 0.946).threePointArc((-0.86, 0.984), (-0.824, 1)).lineTo(0.78... | 22 | 509 | 0.711397 |
train_2aae391fa70fcd71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.432), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, -0.157).lineTo(0.981, -0.195).lineTo(0.961, -0.28).lineTo(0.908, -0.28).lineTo(0.848, -0.425).lineTo(0.881, -0.474).lineTo(0.836, -0.551).lineTo(0.785, -0.534).lineTo(0.686, -0.6... | 2 | 87 | 1.721984 |
train_387c9cc872850641 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.026), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.119).lineTo(0.794, 0).lineTo(1, -0.119).lineTo(0.355, -0.119).lineTo(0.355, 0.119).lineTo(1, 0.119).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 17 | 222 | 0.387153 |
train_1935fa3983e68e53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.157, -0.115, 0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.442, 0.766).threePointArc((0.766, 0.442), (0.442, -0.766)).threePointArc((-0.766, -0.442), (-0.442, 0.766)).close().extrude(0.085)
result = result.cut(cq.Workplane(cq.Plane(origin... | 19 | 150 | 0.568955 |
train_001c413f562b3d8f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.431, -0.238, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.862).threePointArc((0.612, 0.612), (0.862, 0)).lineTo(0.395, 0).threePointArc((0.28, 0.28), (0, 0.395)).lineTo(0, 0.862).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 7 | 45 | 0.968872 |
train_6444afcdfbf42605 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.08, 0.338, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.673).lineTo(0.91, 0.203).lineTo(0.235, 0.203).lineTo(0.235, -0.673).lineTo(-0.235, -0.673).lineTo(-0.235, 0.203).lineTo(-0.91, 0.203).lineTo(-0.91, 0.673).lineTo(0.91, 0.673)... | 8 | 76 | 1.152181 |
train_3d58f65609f2774c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.093, -0.346, 0.248), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.423, 0.599).lineTo(0.423, 0.167).lineTo(0.15, 0.167).lineTo(0.15, -0.52).lineTo(-0.15, -0.52).lineTo(-0.15, 0.167).lineTo(-0.423, 0.167).lineTo(-0.423, 0.599).lineTo(0.423, 0.599)... | 15 | 404 | 0.40545 |
train_89e672f98288903e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.486, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.702, 0.513).lineTo(0.702, 0.437).lineTo(0.777, 0.437).lineTo(0.777, -0.412).lineTo(0.677, -0.412).lineTo(0.677, -0.513).lineTo(-0.706, -0.513).threePointArc((-0.757, -0.492), (-0.777, ... | 12 | 154 | 0.463721 |
train_43ca74e17fb657cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.076, -0.609, -0.762), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.158, 0.4).lineTo(0.4, -0.158).lineTo(-0.158, -0.4).lineTo(-0.4, 0.158).lineTo(0.158, 0.4).close().extrude(0.214)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.012, 0.111... | 8 | 53 | 0.362027 |
train_331d50170b4e8c19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.224, 0.375, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.163, 0.207).threePointArc((0.077, 0.203), (-0.025, 0.086)).threePointArc((-0.039, -0.038), (0.039, -0.189)).lineTo(0.123, -0.222).lineTo(0.207, -0.195).lineTo(0.31, -0.047).lineTo... | 12 | 184 | 0.423411 |
train_690a8f9bee03f7ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.675, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.16, 0.483).threePointArc((0.243, 0.468), (0.286, 0.394)).threePointArc((0.275, 0.294), (0.246, 0.214)).threePointArc((0.247, 0.163), (0.289, 0.116)).threePointArc((0.331, 0.052), (0.325, -0... | 15 | 53 | 0.867738 |
train_b12e3c6ba6699119 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.103, 0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.671, 0.719).lineTo(-0.671, -0.39).lineTo(1, -0.39).lineTo(1, -0.719).lineTo(-1, -0.719).lineTo(-1, 0.719).lineTo(-0.671, 0.719).close().extrude(0.522, both=True)
result = result.edges... | 16 | 195 | 2.178941 |
train_55f204b9c739a987 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.076, -0.121, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.442, 0.458).threePointArc((0.466, 0.361), (0.5, 0.209)).threePointArc((0.823, -0.002), (0.88, -0.377)).threePointArc((0.611, -0.705), (0.141, -0.662)).threePointArc((0.005, -0.495), (-... | 8 | 169 | 1.424042 |
train_ede3ca7efff075c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.053, 0, -0.672), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.557, 0.869).threePointArc((0.959, 0.738), (1.129, 0.427)).lineTo(1.129, -0.395).threePointArc((0.947, -0.728), (0.515, -0.869)).lineTo(-0.129, -0.869).threePointArc((-0.434, -0.769), (... | 23 | 154 | 2.277544 |
train_56941ddbff21e8ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.811).threePointArc((0.983, 0.795), (1, 0.756)).lineTo(1, -0.677).threePointArc((0.96, -0.772), (0.866, -0.811)).lineTo(-0.846, -0.811).lineTo(-1, -0.658).lineTo(-1, 0.715).threePoin... | 13 | 166 | 0.546045 |
train_c7b81ae0eb94a315 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.079, 0.996).threePointArc((0.996, 0.079), (0.079, -0.996)).threePointArc((-0.996, -0.079), (-0.079, 0.996)).close().extrude(0.214)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.562,... | 9 | 81 | 1.020613 |
train_f3ffffcbc1cd9d4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.229, -0.07, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.086, 0.617).threePointArc((0.77, -0.536), (-0.325, -0.327)).lineTo(-0.77, 0.014).lineTo(-0.134, -0.159).threePointArc((-0.096, -0.345), (0.26, -0.617)).threePointArc((0.554, -0.214... | 8 | 92 | 0.715651 |
train_bd6d09d36d119c84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.007, 0.006, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.691, 0.685).threePointArc((-0.324, 0.993), (0.07, 0.576)).lineTo(-0.059, -0.075).threePointArc((-0.047, -0.165), (0.044, -0.161)).lineTo(0.702, 0.101).threePointArc((0.944, -0.019), (... | 3 | 10 | 2.892661 |
train_c2b02d4d97ca2f33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.573, -0.148, -0.791), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.147).threePointArc((0.812, 0.812), (1.147, 0)).lineTo(0.786, 0).threePointArc((0.556, 0.556), (0, 0.786)).lineTo(0, 1.147).close().extrude(1.582)
result = result.union(cq.Work... | 7 | 43 | 1.365933 |
train_2441c46e3c3994ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.623, -0.412, 0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.372, 0.418).threePointArc((0.314, 0.334), (0.321, 0.234)).threePointArc((0.286, 0.134), (0.171, 0.126)).threePointArc((0.067, 0.178), (0.002, 0.155)).threePointArc((-0.094, 0.056), (... | 7 | 125 | 0.588014 |
train_d0a9abe255d5c9ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.004, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.417, 0.068).threePointArc((0.518, 0.064), (0.442, 0.002)).lineTo(0.323, -0.202).threePointArc((0.247, -0.21), (0.222, -0.272)).lineTo(-0.042, -0.335).lineTo(-0.08, -0.308).lineTo(... | 5 | 55 | 0.636744 |
train_2f875ffef7304e8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.244).lineTo(1, 0.139).lineTo(0.272, 0.139).lineTo(0.272, -0.244).lineTo(-0.272, -0.244).lineTo(-0.272, 0.139).lineTo(-1, 0.139).lineTo(-1, 0.244).lineTo(1, 0.244).close().extrude(0.355,... | 7 | 34 | 0.13226 |
train_9efcc1a9eb9440ad | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.573, 1).threePointArc((0.873, 0.873), (1, 0.573)).lineTo(1, -0.087).threePointArc((0.927, -0.26), (0.753, -0.333)).lineTo(0.506, -0.333).threePointArc((0.385, -0.385), (0.333, -0.506)).lineTo(0.333, -0.797).threePointArc((0.273, -0.94), (0.131, -1))... | 8 | 86 | 1.668024 |
train_f12ab5f8eb51cbf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.102, 0, -0.15), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.136, 0.094).lineTo(0.136, 0).lineTo(-0.136, 0).lineTo(-0.136, 0.094).lineTo(-0.078, 0.094).lineTo(-0.078, 0.059).lineTo(0.078, 0.059).lineTo(0.078, 0.094).lineTo(0.136, 0.094).close().... | 7 | 37 | 0.293358 |
train_4a03114a26177f35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.989, 0.887).lineTo(0.989, -0.887).lineTo(-0.989, -0.887).lineTo(-0.989, 0).lineTo(0.33, 0).lineTo(0.33, 0.887).lineTo(0.989, 0.887).close().extrude(0.212, taper=-2.756)
result = result.cut... | 20 | 204 | 0.550067 |
train_f728af1073af4e64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.063, 0.129, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.105, 0.391).lineTo(-0.036, 0.373).threePointArc((-0.027, 0.368), (-0.021, 0.361)).lineTo(0.134, 0.093).lineTo(0.327, -0.24).threePointArc((0.304, -0.328), (0.204, -0.348)).threePoint... | 4 | 65 | 0.520471 |
train_04d37356f546d8a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.806, 0.686).threePointArc((-0.335, 0.76), (1, -0.08)).lineTo(0.411, -0.76).lineTo(-1, 0.462).lineTo(-0.806, 0.686).close().moveTo(-0.424, 0.578).lineTo(0.016, 0.535).lineTo(0.747, -0.098).... | 7 | 17 | 0.32613 |
train_23e44ebbd7eb16b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.35), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.699).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.699).lineTo(-0.869, 0.699).lineTo(-0.869, 0.122).lineTo(0.869, 0.122).lineTo(0.869, 0.699).lineTo(1, 0.699).close().extrude(0.236, both=True... | 11 | 71 | 0.142793 |
train_3ae719b0affb20ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, 0, -0.45), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.216, 0.984).threePointArc((0.29, 0.969), (0.363, 0.95)).threePointArc((0.435, 0.926), (0.505, 0.898)).threePointArc((0.572, 0.862), (0.633, 0.817)).threePointArc((0.688, 0.765), (0.735,... | 13 | 332 | 0.502248 |
train_3282c2053f1ebb91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.627, 0.033, 0.297), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.395, 0.97).lineTo(0.515, 0.67).threePointArc((0.549, 0.522), (0.542, 0.371)).threePointArc((0.435, 0.235), (0.495, 0.071)).lineTo(0.395, -0.228).threePointArc((-0.549, 0.371), (0.3... | 11 | 374 | 1.176968 |
train_81fed34e6e936978 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.52).extrude(0.578, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.426).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0... | 4 | 11 | 0.700152 |
train_e5eb2524b8a74152 | 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.92).extrude(0.571)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.92, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.105, 0.428), (-0.397, 0.757), (-0.809, 0.912), (-1... | 9 | 89 | 4.269438 |
train_c7f81cc4279475c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.01, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.113, 0.189).lineTo(0.221, -0.003).lineTo(0.114, -0.19).lineTo(-0.11, -0.192).lineTo(-0.221, -0.002).lineTo(-0.108, 0.192).lineTo(0.113, 0.189).close().extrude(2)
result = result.edges().cha... | 6 | 42 | 0.064628 |
train_4eb5cb779a59f7ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.498, 0.31, 0.614), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.381, 0.311).threePointArc((0, -0.071), (-0.381, 0.311)).threePointArc((0, 0.692), (0.381, 0.311)).close().revolve(angleDegrees=180, axisStart=(-0.614, -0.207), axisEnd=(-0.614, 0.207... | 8 | 102 | 0.87172 |
train_3b26fb71a6d0472f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.52, 0.974).threePointArc((0.839, 0.839), (0.974, 0.52)).lineTo(0.974, -0.603).threePointArc((0.864, -0.864), (0.603, -0.974)).lineTo(-0.421, -0.974).threePointArc((-0.809, -0.809), (-0.974... | 2 | 41 | 0.632698 |
train_9f9612290abc9816 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, -0.068, -0.77), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.01, 0.093).threePointArc((-0.003, 0.09), (0, 0.085)).lineTo(0, 0.046).threePointArc((0.01, 0.027), (0.034, 0.019)).lineTo(0.081, 0.019).threePointArc((0.088, 0.016), (0.09, 0.011)... | 6 | 79 | 0.064856 |
train_8123fabb827abb43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.106, -0.738, -0.774), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.595, 1.173).threePointArc((0.806, 1.086), (0.893, 0.875)).lineTo(0.893, 0.395).threePointArc((0.806, 0.184), (0.595, 0.097)).lineTo(-0.595, 0.097).threePointArc((-0.806, 0.184), (... | 14 | 477 | 2.824348 |
train_10ddbb53efa7efed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.102, -0.09, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.599, -0.15).lineTo(0.599, -0.299).lineTo(0.898, -0.449).lineTo(0.749, -0.599).lineTo(0.449, -0.449).lineTo(0.299, -0.599).lineTo(0.449, -0.898).lineTo(0.299, -0.898).lineTo(0.15, -... | 15 | 698 | 0.323574 |
train_dc251f0f53cd5e23 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0.03, 0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.605, 0.969).threePointArc((0.764, 0.79), (0.819, 0.583)).lineTo(-0.427, -0.969).threePointArc((-0.764, -0.949), (-0.819, -0.742)).threePointArc((0.427, 0.81), (0.605, 0.969)).close().... | 20 | 311 | 0.746735 |
train_2ec670bbb3dae7e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.228, 0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.241, -0.591).threePointArc((-0.15, -0.769), (-0.641, -0.597)).threePointArc((-0.837, 0.769), (0.837, -0.437)).lineTo(0.241, -0.591).close().extrude(0.305, both=True).intersect(cq.Workp... | 5 | 23 | 0.416235 |
train_dd657f49d3ff5c8f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.114, 0.041, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.647, 0.377).threePointArc((0.759, 0.289), (0.806, 0.08)).lineTo(0.806, -0.208).threePointArc((0.779, -0.327), (0.716, -0.377)).lineTo(-0.726, -0.377).threePointArc((-0.782, -0.333)... | 12 | 133 | 0.307223 |
train_d01bad7323e833ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.122, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.438, 0.757).threePointArc((0.972, 0.102), (-0.384, -0.604)).lineTo(-0.903, -0.757).threePointArc((-0.938, -0.614), (-0.972, -0.471)).lineTo(-0.324, -0.28).threePointArc((-0.03, -0.34... | 11 | 43 | 0.30957 |
train_a33e2bbfe7d59ff7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.35, 0, -0.086), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.477, 0.172).lineTo(0.597, 0.136).lineTo(0.649, 0.06).lineTo(0.649, 0).lineTo(0.559, 0).lineTo(0.559, 0.051).lineTo(0.494, 0.136).lineTo(0, 0.081).lineTo(0, 0.172).lineTo(0.477, 0.172).... | 6 | 40 | 0.108586 |
train_78d56c46b31108b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.192, 0.008, 0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.764, 3.268).threePointArc((2.331, 3.438), (2.757, 3.11)).lineTo(3.98, -0.088).threePointArc((3.986, -0.389), (3.604, -0.83)).lineTo(-3.216, -3.438).threePointArc((-3.986, -3.146), (... | 12 | 93 | 0.180095 |
train_33f611ec6686effa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.112, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, 0.888).threePointArc((0.864, 0.856), (0.892, 0.779)).lineTo(0.892, 0.648).threePointArc((0.863, 0.567), (0.795, 0.533)).lineTo(0.483, 0.533).threePointArc((0.353, 0.467), (0.297, 0... | 3 | 42 | 0.863752 |
train_8e85e6dd3771be2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.742).lineTo(1, 0.39).lineTo(0.176, 0.39).lineTo(0.176, -0.742).lineTo(-0.176, -0.742).lineTo(-0.176, 0.39).lineTo(-1, 0.39).lineTo(-1, 0.742).lineTo(1, 0.742).close().extrude(0.575)
res... | 14 | 11 | 0.63137 |
train_eb54e4959608291f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1.269, 1.681).threePointArc((1.35, 1.647), (1.384, 1.566)).lineTo(1.384, 1.086).threePointArc((1.349, 1.002), (1.265, 0.967)).lineTo(0.544, 0.967).threePointArc((0.413, 0.912), (0.357, 0.78)).lineTo(0.357, -1.52).threePointArc((0.309, -1.633), (0.196,... | 4 | 29 | 0.605168 |
train_7a774c6c357dcd56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.095, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.827, 0.865).lineTo(0.827, -0.613).lineTo(0.427, -0.613).lineTo(0.427, -0.111).lineTo(0.214, -0.189).lineTo(0, -0.078).lineTo(-0.214, -0.189).lineTo(-0.427, -0.111).lineTo(-0.427, -0.613).... | 7 | 92 | 3.066653 |
train_f1d916ac6cb5691d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.827, 0.446).threePointArc((0.948, 0.395), (1, 0.274)).lineTo(1, -0.28).threePointArc((0.95, -0.397), (0.834, -0.446)).lineTo(-0.919, -0.446).threePointArc((-0.976, -0.423), (-1, -0.366)).l... | 11 | 74 | 0.647935 |
train_8f00f2b4d9009f72 | 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.78, 0.925).lineTo(1, 0.705).lineTo(1, -0.563).lineTo(0.638, -0.925).lineTo(-0.731, -0.925).threePointArc((-0.922, -0.845), (-1, -0.656)).lineTo(-1, 0.618).lineTo(-0.693, 0.618).lineTo(-0.6... | 4 | 20 | 1.294239 |
train_68be1df93b894375 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.371).lineTo(1, -0.384).lineTo(-0.983, -0.384).lineTo(-0.983, -0.375).lineTo(-1, -0.375).lineTo(-1, 0.373).lineTo(-0.98, 0.384).lineTo(0.978, 0.384).lineTo(1, 0.371).close().extrude(0.17... | 11 | 143 | 0.290314 |
train_9bb489fa5cb8b971 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.249, -0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.256).lineTo(1, -0.053).threePointArc((0.97, -0.084), (0.917, -0.096)).lineTo(0.742, -0.096).threePointArc((0.687, -0.11), (0.664, -0.141)).lineTo(0.664, -0.252).threePointArc((0.645... | 16 | 99 | 0.34496 |
train_d6750347ce50eb41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.493, 0.177), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.897, 0.183).lineTo(0.944, 0.062).threePointArc((0.946, 0.051), (0.944, 0.041)).lineTo(0.93, 0.01).threePointArc((0.927, 0.006), (0.923, 0.004)).lineTo(0.895, -0.007).threePointArc((0.7... | 5 | 44 | 0.492378 |
train_101855223026b2db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.237, 0.404, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.568, 0.576).threePointArc((-0.528, 0.562), (-0.511, 0.529)).lineTo(-0.511, -0.178).threePointArc((-0.442, -0.313), (-0.278, -0.369)).lineTo(0.716, -0.369).threePointArc((0.749, -0.381)... | 11 | 114 | 0.962656 |
train_422c8200185f12d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.504, 0.532).lineTo(0.645, 0.39).lineTo(0.858, 0.39).lineTo(0.858, 0.177).lineTo(1, 0.035).lineTo(0.858, -0.106).lineTo(0.858, -0.319).lineTo(0.645, -0.319).lineTo(0.504, -0.532).lineTo(0.3... | 10 | 61 | 0.732534 |
train_85c6bb2935dd4d4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.098, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.509).extrude(0.737, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.098, -0.262), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.354).extrude(0.559, both=True))
result... | 14 | 253 | 0.744557 |
train_d9652c9a384a55d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.081, -0.247, 0.974), normal=(-0.029, -0.035, -0.999), xDir=(0, 0.999, -0.035))).moveTo(0.054, 0.941).lineTo(0.203, -0.252).lineTo(-0.054, -0.941).lineTo(-0.203, 0.252).lineTo(0.054, 0.941).close().extrude(1.95, both=False)
result = result.edges(... | 6 | 56 | 0.815266 |
train_68b6943d549a6bf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.724, 0.157, 0.266), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.275).threePointArc((0.194, 0.194), (0.275, 0)).threePointArc((0.194, -0.194), (0, -0.275)).threePointArc((-0.194, -0.194), (-0.275, 0)).threePointArc((-0.194, 0.194), (0, 0.275)... | 8 | 70 | 0.151397 |
train_c63770392f4ad74f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.533, 0.669).threePointArc((0.58, 0.656), (0.599, 0.625)).lineTo(0.599, 0.448).threePointArc((0.579, 0.415), (0.53, 0.402)).lineTo(0.266, 0.402).threePointArc((0.219, 0.388), (0.2, 0.357... | 4 | 175 | 0.614682 |
train_96c0f66d8c605ebf | 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, 0.233).threePointArc((0.796, 0.186), (1, 0)).threePointArc((0.796, -0.186), (0, -0.233)).threePointArc((-0.796, -0.186), (-1, 0)).threePointArc((-0.796, 0.186), (0, 0.233)).close().extrud... | 9 | 92 | 0.331831 |
train_6b11ad06ce7226e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.579, -0.604, 0.031), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.099, 0.103).threePointArc((0.123, 0.093), (0.133, 0.068)).lineTo(0.133, -0.068).threePointArc((0.123, -0.093), (0.099, -0.103)).lineTo(-0.099, -0.103).threePointArc((-0.123, -0.0... | 7 | 100 | 0.380063 |
train_1cfa6c3578973ac7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.435)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.6).extrude(1.302, both=True))
result = result.union(cq.Workplan... | 15 | 51 | 1.037098 |
train_6a7ec725f6527151 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.553).extrude(0.435, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.562).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 7 | 18 | 1.515771 |
train_d3ae0f09d6f2235a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.073, 0.075, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.17, 0.924).threePointArc((-0.051, 0.874), (0, 0.755)).lineTo(0, 0.416).threePointArc((0.032, 0.34), (0.108, 0.308)).lineTo(0.461, 0.308).threePointArc((0.571, 0.262), (0.617, 0.15... | 10 | 229 | 0.454181 |
train_2094e0e7adacc17e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.392, 0.18).lineTo(0.392, 0.129).lineTo(0.572, 0.129).lineTo(0.572, 0).lineTo(-0.572, 0).lineTo(-0.572, 0.129).lineTo(-0.392, 0.129).lineTo(-0.392, 0.18).lineTo(0.392, 0.18).close().extrude... | 3 | 19 | 0.371095 |
train_99d46cdb6e1acbe0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.472, -0.068, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.352, -0.314).lineTo(-0.275, -0.392).threePointArc((-0.352, 0.392), (0.352, -0.314)).close().moveTo(0.117, 0.314).lineTo(0.196, -0.235).threePointArc((-0.196, 0.235), (0.117, 0.314)).... | 13 | 82 | 1.014473 |
train_684719e3a77a550d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, -0.084, -0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.939, 0.032).lineTo(0.942, -0.012).lineTo(0.887, -0.023).lineTo(0.741, -0.025).lineTo(0.132, -0.009).lineTo(-0.927, -0.067).lineTo(-1.062, -0.052).lineTo(-0.003, 0.006).lineTo(0.009... | 5 | 61 | 0.014723 |
train_cfadd14adf05f887 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.978, 0.202, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.606, 1.894).lineTo(0.796, 1.528).threePointArc((0.759, 1.346), (0.781, 1.162)).lineTo(0.743, 0.795).threePointArc((0.754, 0.612), (0.781, 0.429)).lineTo(0.606, 0.063).threePointArc((-0... | 6 | 158 | 0.79734 |
train_3570c8b3f2ec4988 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.098, 0.29).threePointArc((0.131, 0.277), (0.145, 0.244)).lineTo(0.145, 0.112).threePointArc((0.178, 0.033), (0.257, 0)).lineTo(0.326, 0).threePointArc((0.403, -0.033), (0.436, -0.11)).lineTo(0.436, -0.192).threePointArc((0.406, -0.261), (0.337, -0.2... | 2 | 35 | 0.131936 |
train_fe9d9fb2ec1de771 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.309, 2).extrude(0.301)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.005, -0.149).lineTo(0.005, -0.851).lineTo(-0.005, -0.851)... | 9 | 59 | 0.163155 |
train_5c2ba02938034b2b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.568, 0.316, 0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.597).threePointArc((0.398, 0.398), (0.597, 0)).threePointArc((0.398, -0.398), (0, -0.597)).threePointArc((-0.398, -0.398), (-0.597, 0)).threePointArc((-0.398, 0.398), (0, 0.597)... | 8 | 37 | 0.628692 |
train_e5839cac619ec030 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.065, 0.275, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.518, 0.725).lineTo(0.518, 0.104).lineTo(-0.311, 0.104).lineTo(-0.311, -0.104).lineTo(0.518, -0.104).lineTo(0.518, -0.725).lineTo(-0.518, -0.725).lineTo(-0.518, -0.518).lineTo(0.311... | 7 | 214 | 0.190213 |
train_07d9bebba8b4c76e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.503, -0.09, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.152, -0.132).lineTo(-0.027, -0.246).lineTo(-0.181, -0.103).lineTo(-0.251, 0.108).lineTo(-0.096, 0.246).lineTo(0.076, 0.226).lineTo(0.251, 0.09).close().moveTo(-0.028, 0.145).lineTo(... | 8 | 168 | 1.383293 |
train_5c71108f32714799 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.535, -0.027, -0.835), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.04, 0.423).lineTo(0.215, 0.347).spline([(0.215, 0.347), (0.315, 0.176)]).lineTo(0.392, -0.312).lineTo(0.161, -0.383).lineTo(-0.064, -0.423).lineTo(-0.252, -0.344).lineTo(-0.34, -... | 11 | 166 | 0.882305 |
train_21203e37847eb9aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.535, 0.57, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.43).threePointArc((0.304, 0.304), (0.43, 0)).threePointArc((0.304, -0.304), (0, -0.43)).threePointArc((-0.304, -0.304), (-0.43, 0)).threePointArc((-0.304, 0.304), (0, 0.43)).clos... | 4 | 48 | 1.042439 |
train_1b872a84e1ebe613 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.174, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.366, 1).threePointArc((0.459, 0.953), (0.498, 0.86)).lineTo(0.498, -0.347).threePointArc((0.453, -0.453), (0.347, -0.498)).lineTo(0.094, -0.498).threePointArc((0.028, -0.526), (0, -0.5... | 19 | 597 | 0.53341 |
train_56ed04c35224efc3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.864, 0.952).threePointArc((0.96, 0.914), (1, 0.823)).lineTo(1, 0.585).threePointArc((0.966, 0.509), (0.885, 0.476)).lineTo(0.686, 0.476).threePointArc((0.555, 0.423), (0.5, 0.299)).lineTo(0.5, -0.62).threePointArc((0.396, -0.853), (0.151, -0.952)).l... | 4 | 96 | 0.880232 |
train_b8b735a6bd79ee0c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.275).lineTo(1, 0.162).lineTo(1, -0.229).threePointArc((0.986, -0.262), (0.953, -0.275)).lineTo(-1, -0.275).lineTo(-1, 0.181).lineTo(-0.906, 0.275).lineTo(0.887, 0.275).close().extru... | 8 | 40 | 0.245501 |
train_3d0c74bf5b0de6bb | 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.263, 0.667).lineTo(0.424, 0.608).lineTo(0.521, 0.458).lineTo(0.539, 0.237).threePointArc((0.365, -0.233), (-0.024, -0.607)).lineTo(-0.229, -0.667).lineTo(-0.398, -0.625).lineTo(-0.507, -0.489)... | 10 | 54 | 1.419836 |
train_4b185b762456c2fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.011), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.562, 0.392).threePointArc((0.622, 0.443), (0.997, 0.193)).lineTo(0.938, 0.126).lineTo(0.753, 0.046).lineTo(0.718, -0.023).lineTo(0.756, -0.105).lineTo(0.904, -0.288).lineTo(0.918, -0.358)... | 1 | 16 | 1.605137 |
train_8a61eb2ba1e94013 | 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.228, 0.669).lineTo(0.228, 0).lineTo(0.684, 0).lineTo(0.684, -0.669).lineTo(-0.684, -0.669).lineTo(-0.684, 0).lineTo(-0.228, 0).lineTo(-0.228, 0.669).lineTo(0.228, 0.669).close().extrude(6.152,... | 25 | 250 | 1.16618 |
train_d60eb5201aff7770 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 1).threePointArc((0.297, 0.964), (0.333, 0.878)).lineTo(0.333, 0.732).threePointArc((0.353, 0.686), (0.399, 0.667)).lineTo(0.541, 0.667).threePointArc((0.629, 0.629), (0.667, 0.541)).l... | 16 | 351 | 1.66061 |
train_f4b9522ee5a90829 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.15, -0.044, -0.372), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.824).lineTo(0, 0.411).lineTo(0.565, 0.411).lineTo(0.565, 0).lineTo(0.849, 0).lineTo(0.849, -0.411).lineTo(0.565, -0.411).lineTo(0.565, -0.824).lineTo(-0.849, -0.824).lineTo(-0.8... | 27 | 210 | 1.588614 |
train_d02414711818be45 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.067, 0.959).threePointArc((0.155, 0.922), (0.192, 0.834)).lineTo(0.192, 0.665).threePointArc((0.218, 0.602), (0.281, 0.575)).lineTo(0.449, 0.575).threePointArc((0.538, 0.538), (0.575, 0.449... | 4 | 116 | 1.256699 |
train_4d416aaaf37d24ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.126, -0.045, 0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.117, 0.405).lineTo(0.117, 0.135).lineTo(0.35, 0.135).lineTo(0.35, -0.135).lineTo(0.117, -0.135).lineTo(0.117, -0.405).lineTo(-0.117, -0.405).lineTo(-0.117, -0.135).lineTo(-0.35, -0.... | 17 | 157 | 0.273427 |
train_5d6c1b159c9da4dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.068, -0.065, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 0.933).threePointArc((1.001, 0.487), (0.317, -0.422)).threePointArc((0.227, -0.47), (0.113, -0.674)).threePointArc((-0.288, -0.933), (-0.667, -0.793)).lineTo(-0.765, -0.685).thr... | 5 | 50 | 0.253799 |
train_9f6ad46089d9ee8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.364, 1).lineTo(0.613, 0.751).lineTo(0.613, -0.845).lineTo(0.458, -1).lineTo(-0.383, -1).lineTo(-0.613, -0.769).lineTo(-0.613, 0.862).lineTo(-0.476, 1).lineTo(0.364, 1).close().extrude(0.23... | 9 | 38 | 0.414776 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.