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_52e72b0b1afcc3cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.048, 0, 0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.09, 0.268).lineTo(-0.052, 0.236).lineTo(-0.018, 0.202).lineTo(0.005, 0.159).lineTo(0.023, 0.113).lineTo(0.187, 0.212).lineTo(0.11, 0.037).lineTo(0.277, -0.056).lineTo(0.087, -0.076).li... | 4 | 112 | 0.135648 |
train_ab3e8c37aaa07e8a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.426, 0.847).threePointArc((0.426, 0.847), (0.853, 0)).threePointArc((0.426, -0.847), (-0.426, -0.847)).threePointArc((-0.853, 0), (-0.426, 0.847)).close().extrude(0.183, taper=-12.138, bo... | 11 | 244 | 0.848751 |
train_95c2c92d623dd162 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.117).lineTo(0.745, 0).lineTo(1, -0.117).lineTo(0.516, -0.117).lineTo(0.516, 0.117).lineTo(1, 0.117).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.39, -0.39, 0), norm... | 15 | 86 | 0.244223 |
train_1bed2fc2b6f3d2a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.057, -0.09, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.183, 0.696).threePointArc((0.167, 0.614), (0.314, 0.421)).lineTo(0.314, 0.087).threePointArc((0.361, 0.026), (0.472, 0)).lineTo(0.738, 0).threePointArc((0.881, -0.034), (0.942, -0... | 27 | 157 | 0.896784 |
train_97574c73919578e9 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.606, 1).lineTo(0.606, 0.5).lineTo(1.01, 0.5).lineTo(1.01, -0.5).lineTo(0.606, -0.5).lineTo(0.606, -1).lineTo(-0.202, -1).lineTo(-0.202, -0.5).lineTo(-1.01, -0.5).lineTo(-1.01, 0).lineTo(-0.202, 0).lineTo(-0.202, 0.5).lineTo(0.202, 0.5).lineTo(0.202,... | 2 | 23 | 0.240593 |
train_52a2d26a704b346b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.123).lineTo(0.048, 0.114).lineTo(0.089, 0.089).lineTo(0.114, 0.048).lineTo(0.123, 0).lineTo(0.114, -0.048).lineTo(0.089, -0.089).lineTo(0.048, -0.114).lineTo(0, -0.123).lineTo(-0.048, -0.114).lineTo(-0.089, -0.089).lineTo(-0.114, -0.048).lineTo(-... | 10 | 155 | 0.041127 |
train_e60e65be90b00f02 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.539, 1.742, 2)
result = result.edges().fillet(0.037)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.205).extrude(3.077, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.022, -0.00... | 6 | 38 | 4.540671 |
train_5f3171dd9215f402 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.758, 2).extrude(0.206)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.22, -0.159).lineTo(0.22, -0.842).lineTo(-0.22, -0.842).cl... | 8 | 48 | 0.18167 |
train_4d254841f237d65b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.29)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.862).extrude(0.866, both=True))
result = result.union(cq.Workpla... | 15 | 47 | 0.697716 |
train_e7ef197265bc5bbe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.41, -0.544, -0.055), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.076, 0.128).lineTo(0.076, -0.128).threePointArc((-0.076, 0), (0.076, 0.128)).close().extrude(0.043)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.04, 1.442, -0.071), nor... | 11 | 88 | 1.494731 |
train_038297a8f9eed28a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.513), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.342).lineTo(0.878, -0.342).lineTo(-0.878, -0.342).lineTo(-0.878, 0.342).lineTo(-0.576, 0.342).lineTo(-0.576, -0.216).lineTo(0.576, -0.216).lineTo(0.576, 0.342).lineTo(0.878, 0.342).... | 3 | 42 | 0.94883 |
train_f6a79697a28038db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0.225, -0.626), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.778, 0.724).threePointArc((0.92, 0.571), (0.908, 0.027)).threePointArc((0.742, -0.306), (0.583, -0.283)).threePointArc((0.472, -0.191), (0.374, -0.183)).threePointArc((-0.624, -0.7... | 7 | 395 | 1.340876 |
train_832ca99baf33a270 | 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.177, 0.105).lineTo(0.195, 0.088).lineTo(0.195, 0.021).lineTo(0.216, 0).lineTo(0.238, 0).lineTo(0.247, -0.009).lineTo(0.247, -0.036).lineTo(0.23, -0.053).lineTo(0.052, -0.053).lineTo(0.037, -0.... | 5 | 42 | 0.103818 |
train_ee67e4f51e2e5044 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.353, -0.264, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.707).threePointArc((0.5, 0.5), (0.707, 0)).lineTo(0.231, 0).threePointArc((0.164, 0.164), (0, 0.231)).lineTo(0, 0.707).close().extrude(2)
result = result.union(cq.Workplane(cq.Pla... | 6 | 32 | 0.265 |
train_51b0135da66ddfc5 | 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.195, 0.999).lineTo(0.195, 0.333).lineTo(0.975, 0.333).lineTo(0.975, 0).lineTo(0.195, 0).lineTo(0.195, -0.999).lineTo(-0.585, -0.999).lineTo(-0.585, -0.666).lineTo(-0.195, -0.666).lineTo(-0.... | 9 | 49 | 1.620981 |
train_94e93196f5c31fdd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.047, -0.009, 0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 0.81).lineTo(0.29, 0.728).threePointArc((0.299, 0.614), (0.548, 0.47)).lineTo(0.566, 0.385).threePointArc((0.809, 0.262), (0.654, -0.059)).lineTo(0.713, -0.391).threePointArc... | 4 | 54 | 1.677614 |
train_b15597207ed4532a | 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.076, 0.68).lineTo(0.39, -0.073).lineTo(0.109, -0.605).lineTo(-0.273, -0.68).lineTo(-0.39, -0.03).lineTo(-0.295, 0.506).lineTo(0.076, 0.68).close().extrude(2, taper=-10.2)
result = result.cut(c... | 3 | 52 | 2.123792 |
train_7156684ef800a51c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.823), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.887, 1.646).lineTo(0.887, 0.819).lineTo(1, 0.819).lineTo(1, 0).lineTo(0.138, 0).lineTo(0.138, 1.646).lineTo(0.887, 1.646).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 5 | 25 | 3.035281 |
train_db1ef378d60503e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.839, 1).lineTo(0.839, -1).lineTo(-0.839, -1).lineTo(-0.839, 1).lineTo(0.839, 1).close().extrude(0.487)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.243), normal=(0, 0, 1), xDi... | 12 | 109 | 1.471296 |
train_e47dbc809045ae73 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.707, 0.707).lineTo(1, 0).lineTo(0.707, -0.707).lineTo(0, -1).lineTo(-0.707, -0.707).lineTo(-1, 0).lineTo(-0.707, 0.707).lineTo(0, 1).close().extrude(0.59)
result = result.cut(... | 5 | 25 | 1.599044 |
train_60c4114806bc4cc5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.145, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.886, 0.795).lineTo(-0.715, 0.95).threePointArc((-0.663, 0.981), (-0.601, 1)).lineTo(-0.223, 1).threePointArc((0.668, 0.597), (1.109, -0.199)).lineTo(1.109, -0.5).threePointArc((1.089, -0.5... | 5 | 54 | 0.500657 |
train_6f0c6d72ff665efe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.213, 1).threePointArc((0.32, 0.948), (0.362, 0.842)).lineTo(0.362, -0.905).threePointArc((0.336, -0.967), (0.276, -1)).lineTo(-0.237, -1).threePointArc((-0.326, -0.956), (-0.362, -0.865)).l... | 7 | 147 | 0.285278 |
train_95af15a6eef012a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.234, -0.215), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.04, 0.455).lineTo(0.204, 0.344).lineTo(0.22, 0.147).lineTo(0.076, 0.012).lineTo(-0.12, 0.04).lineTo(-0.22, 0.211).lineTo(-0.149, 0.396).lineTo(0.04, 0.455).close().extrude(2)
result ... | 12 | 103 | 0.473766 |
train_e7a229138727799f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.028, -0.636), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.172, 0.221).threePointArc((0.201, 0.169), (0.186, 0.118)).threePointArc((0.157, 0.069), (0.1, 0.049)).lineTo(0.051, 0.016).threePointArc((-0.007, 0.021), (-0.055, 0.058)).lineTo(-0.20... | 6 | 91 | 0.923224 |
train_689c491501b0900e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.367, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.633, 0.718).lineTo(0.633, -0.574).threePointArc((0.59, -0.676), (0.489, -0.718)).lineTo(-0.568, -0.718).threePointArc((-0.614, -0.699), (-0.633, -0.654)).lineTo(-0.633, 0.656).lineTo(... | 15 | 248 | 0.770331 |
train_981a3301bed58af3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.828), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.655).lineTo(1, 1.393).lineTo(0.418, 1.393).lineTo(0.418, 0.736).lineTo(0.32, 0.736).lineTo(0.32, 0).lineTo(0, 0).lineTo(0, 1.655).lineTo(1, 1.655).close().revolve(angleDegrees=360, axi... | 4 | 22 | 0.958457 |
train_e2cab4b747ccd99e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.803, -0.132).lineTo(0.975, -0.183).lineTo(0.968, -0.216).lineTo(0.794, -0.181).lineTo(0.755, -0.308).lineTo(0.91, -0.396).lineTo(0.896, -0.427).lineTo(0.734, -0.353).lineTo(0.666, -0.467).... | 4 | 144 | 0.850712 |
train_d5f1d05d0ef0af24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.156, 0.522, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.026, 0.477).threePointArc((0.301, 0.335), (0.477, 0.026)).threePointArc((0.335, -0.301), (0.026, -0.477)).threePointArc((-0.301, -0.335), (-0.477, -0.026)).threePointArc((-0.335, ... | 9 | 67 | 1.253849 |
train_92e3ea7a3fb6c0c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.364), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.962, 0.728).lineTo(0.962, 0.514).lineTo(1.002, 0.514).lineTo(1.002, 0).lineTo(0.263, 0).lineTo(0.263, 0.728).lineTo(0.962, 0.728).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax... | 6 | 107 | 1.722615 |
train_44c4cacaf6339254 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.111, 1.051, 0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.44, -0.245).threePointArc((-0.449, -0.204), (-0.42, -0.172)).lineTo(-0.081, 0.025).threePointArc((-0.072, 0.034), (-0.075, 0.047)).lineTo(-0.088, 0.07).threePointArc((-0.097, 0.082... | 5 | 53 | 0.175513 |
train_df92a22eb4f21740 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.227, 0.124).threePointArc((0.55, -0.061), (0.244, -0.333)).lineTo(0.161, -0.294).threePointArc((0.148, -0.292), (0.141, -0.303)).lineTo(0.107, -0.454).threePointArc((0.102, -0.473), (0.093... | 9 | 137 | 1.617077 |
train_5a8e159eec614bae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.027, 0.104).lineTo(0.059, 0.09).lineTo(0.084, 0.066).lineTo(0.101, 0.035).lineTo(0.107, 0).lineTo(0.101, -0.035).lineTo(0.084, -0.066).lineTo(0.059, -0.09).lineTo(0.027, -0.104).lineTo(-0.... | 2 | 21 | 0.070844 |
train_c1f77f916691ad1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.166, 0.224, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.492, 0.557).lineTo(0.676, 0.373).lineTo(0.676, -0.354).lineTo(0.473, -0.557).lineTo(-0.583, -0.557).lineTo(-0.676, -0.464).lineTo(-0.676, 0.404).lineTo(-0.524, 0.557).lineTo(0.492,... | 13 | 96 | 1.730441 |
train_c98cf957bf774bda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.467), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.925, 0.703).lineTo(1, 0.63).lineTo(1, -0.703).lineTo(-0.9, -0.703).lineTo(-1, -0.603).lineTo(-1, 0.703).lineTo(0.925, 0.703).close().extrude(0.933)
result = result.cut(cq.Workplane(cq.Plan... | 10 | 91 | 2.083471 |
train_9beff81cb48eaceb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.169, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.368, 0.393).threePointArc((0.548, 0.213), (0.368, 0.034)).lineTo(-0.368, 0.034).threePointArc((-0.548, 0.213), (-0.368, 0.393)).lineTo(0.368, 0.393).close().extrude(2)
result = result.uni... | 17 | 38 | 0.511678 |
train_61c8a23c2e4b8ffe | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.903, 0.645).lineTo(0.903, 0.103).lineTo(0.271, 0.103).lineTo(0.271, -0.645).lineTo(-0.271, -0.645).lineTo(-0.271, 0.103).lineTo(-0.903, 0.103).lineTo(-0.903, 0.645).lineTo(0.903, 0.645).close().extrude(1, both=True)
result = result.cut(cq.Workplane(... | 19 | 609 | 3.674943 |
train_3534f871a8bc4474 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.061, -0.039, -0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.45, 0.011).threePointArc((-0.434, -0.061), (-0.896, -0.066)).threePointArc((0.479, 0.92), (0.896, -0.239)).lineTo(0.896, -0.845).threePointArc((0.808, -0.92), (0.434, -0.867)).l... | 10 | 148 | 0.215934 |
train_f876370dfb6ecaca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.108, -0.19, -0.574), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, 0.81).lineTo(0.904, 0.514).lineTo(0.149, 0.514).lineTo(0.149, -0.81).lineTo(-0.149, -0.81).lineTo(-0.149, 0.514).lineTo(-0.904, 0.514).lineTo(-0.904, 0.81).lineTo(0.904, 0.81)... | 24 | 97 | 0.720907 |
train_95a106069f0bbb94 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.902, 1).lineTo(0.902, -1).lineTo(-0.902, -1).lineTo(-0.902, 1).lineTo(0.902, 1).close().extrude(0.197)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.186, 0.129, 0.001), normal=(1, 0... | 7 | 50 | 0.583301 |
train_698a16d4cc665480 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.011, -0.482), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.697, 0.399).lineTo(-0.697, -0.295).lineTo(1, -0.295).lineTo(1, -0.399).lineTo(-1, -0.399).lineTo(-1, 0.399).lineTo(-0.697, 0.399).close().extrude(1.198)
result = result.edges().chamf... | 10 | 110 | 0.993098 |
train_cbc57a9183f60136 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.896, 0.294).threePointArc((0.969, 0.265), (1, 0.193)).lineTo(1, -0.188).threePointArc((0.967, -0.264), (0.892, -0.294)).lineTo(-0.787, -0.294).lineTo(-1, -0.082).lineTo(-1, 0.294).lineTo(0... | 8 | 21 | 0.366784 |
train_637b6fc7eb1fda6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.103, 0, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.298, 0.889).lineTo(-0.298, 0.298).lineTo(0.889, 0.298).lineTo(0.889, -0.889).lineTo(-0.889, -0.889).lineTo(-0.889, 0.889).lineTo(-0.298, 0.889).close().extrude(0.692)
result = result.... | 12 | 57 | 1.799835 |
train_36e0de2b42d0b52d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.988, 0.332).lineTo(0.988, -0.111).lineTo(0.496, -0.111).lineTo(0.496, -0.332).lineTo(-0.496, -0.332).lineTo(-0.496, -0.111).lineTo(-0.988, -0.111).lineTo(-0.988, 0.332).lineTo(-0.496, 0.33... | 6 | 125 | 1.031142 |
train_67b188c71d41804b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.421, 0.219), normal=(-0.27, 0.28, -0.921), xDir=(0, 0.957, 0.291))).moveTo(0.272, 0.467).lineTo(0.272, 0.233).lineTo(0.505, 0.233).lineTo(0.505, 0.156).lineTo(0.505, 0.078).lineTo(0.428, 0.078).lineTo(0.35, 0).lineTo(0.505, -0.233).lineT... | 8 | 181 | 0.600992 |
train_5abd620f2f05e243 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.359, -0.981, -0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.076, 1.029).threePointArc((0.314, 0.93), (0.413, 0.693)).lineTo(0.434, 0.599).lineTo(0.387, 0.506).threePointArc((0.426, 0.467), (0.434, 0.412)).lineTo(0.413, 0.318).threePointAr... | 2 | 22 | 1.109215 |
train_3898348a9f569581 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.082, 0.001, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.43, 0.928).threePointArc((0.874, 0.31), (0.874, -0.31)).lineTo(0.874, -0.619).lineTo(0.874, -0.904).threePointArc((0.865, -0.922), (0.839, -0.928)).lineTo(0.06, -0.928).threePointA... | 8 | 177 | 0.526324 |
train_93b70a75b5c9b838 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.08, -0.289), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.908, 0.152).lineTo(0.92, 0.039).lineTo(0.693, 0.013).lineTo(0.706, -0.101).lineTo(0.479, -0.126).lineTo(0.251, -0.152).lineTo(0.226, 0.075).lineTo(0.908, 0.152).close().revolve(angleDe... | 11 | 128 | 1.896161 |
train_21ee79f7d32f69e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.36, 0.029, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.238, 0.594).threePointArc((0.588, 0.252), (0.594, -0.238)).threePointArc((0.252, -0.588), (-0.238, -0.594)).threePointArc((-0.588, -0.252), (-0.594, 0.238)).threePointArc((-0.252, 0.588... | 4 | 44 | 2.018575 |
train_e4493cadc4103d56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.156, -0.285, 0.142), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.01, 0.08).threePointArc((0.049, 0.051), (0.059, -0.008)).threePointArc((0.034, -0.062), (-0.01, -0.08)).threePointArc((-0.049, -0.051), (-0.059, 0.008)).threePointArc((-0.034, 0.... | 11 | 97 | 0.945833 |
train_c93dd3a6a2b1575c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.023, -0.278, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.691, -0.361).threePointArc((0.138, 0.722), (0.414, -0.722)).lineTo(-0.691, -0.361).close().moveTo(0.691, 0.181).lineTo(0.138, -0.361).threePointArc((0.414, 0.361), (0.691, 0.181... | 6 | 77 | 0.284071 |
train_48b8b9937b009969 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.014, -0.252, -0.025), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.319, 0.14).lineTo(0.319, 0).lineTo(-0.319, 0).lineTo(-0.319, 0.14).lineTo(-0.191, 0.14).lineTo(-0.191, 0.129).lineTo(0.191, 0.129).lineTo(0.191, 0.14).lineTo(0.319, 0.14).close()... | 10 | 47 | 0.061537 |
train_2b6f3fe64bd5816e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.619, 0, -0.167), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.135, 0.33).lineTo(0.135, 0.135).lineTo(1.237, 0.135).lineTo(1.237, 0).lineTo(0, 0).lineTo(0, 0.33).lineTo(0.135, 0.33).close().extrude(1, both=True)
result = result.cut(cq.Workplane(... | 6 | 44 | 0.332398 |
train_801289226ce9b6d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.251), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.652, 1).lineTo(0.759, 0.781).lineTo(0.523, 0.667).lineTo(0.63, 0.448).lineTo(0.395, 0.333).lineTo(0.502, 0.115).lineTo(0.267, 0).lineTo(0.373, -0.219).lineTo(0.138, -0.333).lineTo(0.245, -... | 19 | 516 | 0.212423 |
train_39f0390c15d47ea4 | 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.445, 2).lineTo(0.445, 0.524).lineTo(0.805, 0.524).lineTo(0.805, 0).lineTo(0.256, 0).lineTo(0.256, 2).lineTo(0.445, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 5 | 61 | 1.475414 |
train_9d8780ffea48f9d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.621), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.915, 0.829).threePointArc((0.969, 0.807), (1, 0.754)).lineTo(1, 0.32).threePointArc((0.972, 0.274), (0.926, 0.255)).lineTo(0.4, 0.255).threePointArc((0.322, 0.221), (0.288, 0.141)).lineTo(... | 3 | 68 | 2.085177 |
train_be02d45dcc5f03bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.061, -0.558, 0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.339, 0.289).threePointArc((0.46, 0.168), (0.339, 0.047)).threePointArc((0.255, 0.064), (0.17, 0.066)).threePointArc((0.093, 0.001), (0, -0.038)).threePointArc((-0.083, -0.015), (-0.... | 6 | 63 | 0.626422 |
train_8631bdc3069cbd0c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.238, -0.386, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.368, 0.593).threePointArc((0.52, 0.53), (0.583, 0.378)).lineTo(0.583, -0.145).threePointArc((0.52, -0.297), (0.368, -0.36)).lineTo(-0.368, -0.36).threePointArc((-0.52, -0.297), (-... | 14 | 235 | 1.260376 |
train_41b8b227b4780236 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.185, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.158, 1.115).lineTo(0.883, -0.148).lineTo(0.564, -0.331).lineTo(0.278, 0.166).lineTo(-0.124, -0.065).lineTo(0.161, -0.562).lineTo(-0.158, -0.745).lineTo(-0.883, 0.518).lineTo(-0.564, 0.701... | 10 | 391 | 2.236665 |
train_4575a01d42f5f6c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.879, 1).threePointArc((0.959, 0.959), (1, 0.879)).lineTo(1, -0.863).threePointArc((0.954, -0.954), (0.863, -1)).lineTo(-1, -1).lineTo(-1, 0.804).threePointArc((-0.936, 0.936), (-0.804, 1))... | 11 | 38 | 0.840973 |
train_00ff93ecdea0c942 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.096, -0.128, 0.612), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.367, 0.543).lineTo(0.367, 0.325).lineTo(0.123, 0.325).lineTo(0.123, -0.325).lineTo(0.612, -0.325).lineTo(0.612, -0.543).lineTo(-0.123, -0.543).lineTo(-0.123, -0.325).lineTo(-0.612,... | 22 | 289 | 0.258588 |
train_021d1ef0ec6eb6d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.645, 0.711, 0.284), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.209, 0.343).threePointArc((0.257, 0.18), (0.154, -0.052)).threePointArc((-0.039, -0.216), (-0.209, -0.217)).threePointArc((-0.257, -0.054), (-0.154, 0.178)).threePointArc((0.039, ... | 9 | 173 | 0.629817 |
train_849f0d630014249d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.176, -0.081, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.73, 0.026).threePointArc((0.821, -0.12), (0.706, -0.225)).lineTo(-0.358, -0.04).threePointArc((-0.821, 0.152), (-0.314, 0.213)).lineTo(0.625, 0.045).threePointArc((0.654, 0.225), (0.73... | 4 | 34 | 0.318562 |
train_56b288ae75b20271 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.014, -0.222, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.66, -0.156).lineTo(0.749, -0.208).lineTo(0.724, -0.285).lineTo(0.626, -0.26).lineTo(0.549, -0.397).lineTo(0.612, -0.479).lineTo(0.56, -0.54).lineTo(0.479, -0.479).lineTo(0.356, -0... | 4 | 86 | 0.177664 |
train_45a5d3029683cf1f | 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.883).extrude(1.138)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.883, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.165, 0.522), (-0.608, 0.839), (-1.158, 0.839), (... | 11 | 173 | 2.378988 |
train_b37dfad7972ad223 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0, -0.137), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.58, 0.274).lineTo(0.913, 0.215).lineTo(1, 0.097).lineTo(1, 0).lineTo(0.862, 0).lineTo(0.862, 0.082).lineTo(0.768, 0.215).lineTo(0, 0.145).lineTo(0, 0.274).lineTo(0.58, 0.274).close()... | 3 | 19 | 0.230552 |
train_687c41aca89efbbd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.145, 0, 0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.162, 0.349).threePointArc((-0.129, 0.338), (-0.115, 0.313)).lineTo(-0.115, 0.228).threePointArc((-0.094, 0.19), (-0.044, 0.174)).lineTo(0.186, 0.174).threePointArc((0.298, 0.138), (0.... | 7 | 50 | 0.433158 |
train_57823a075859e6ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.39, 0, -0.191), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.605, 0.505).lineTo(0.605, 0).lineTo(-0.605, 0).lineTo(-0.605, 0.505).lineTo(-0.432, 0.505).lineTo(-0.432, 0.174).lineTo(0.432, 0.174).lineTo(0.432, 0.505).lineTo(0.605, 0.505).close()... | 5 | 32 | 0.278376 |
train_f89d2d24f89301f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.101, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.074, 0.716).lineTo(0.399, -0.614).threePointArc((0.217, -0.887), (-0.074, -0.716)).lineTo(-0.399, 0.614).threePointArc((-0.217, 0.887), (0.074, 0.716)).close().extrude(0.377, tape... | 18 | 192 | 0.271137 |
train_435e6f6c5cf3c8d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.088, 0.165), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.029, 0.278).lineTo(0.028, 0.201).lineTo(0.114, 0.243).lineTo(0.099, 0.149).lineTo(0.189, 0.118).lineTo(0.113, 0.061).lineTo(0.154, -0.025).lineTo(0.06, -0.011).lineTo(0.029, -0.101).l... | 7 | 172 | 0.253654 |
train_4ae772ae41ae1dec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.762, -0.157, 0.14), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.299, 0.237).lineTo(0.456, 0.061).lineTo(0.336, -0.018).lineTo(0.313, -0.054).lineTo(0.329, -0.108).threePointArc((0.301, -0.117), (0.273, -0.128)).threePointArc((0.269, -0.15), (0.... | 6 | 95 | 1.375069 |
train_b8a6dc9d7d2ef5f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.119, 0.067, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.091, 0.681).threePointArc((0.123, 0), (0.091, -0.681)).lineTo(0, -0.681).lineTo(-0.091, -0.681).threePointArc((-0.123, 0), (-0.091, 0.681)).lineTo(0, 0.681).lineTo(0.091, 0.681).c... | 12 | 71 | 0.602405 |
train_e33df031d402e721 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.626, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.265, -0.022).lineTo(0.259, -0.061).lineTo(0.364, -0.093).lineTo(0.349, -0.139).lineTo(0.245, -0.103).lineTo(0.227, -0.138).lineTo(0.317, -0.2).lineTo(0.289, -0.24).lineTo(0.202, -0.174).li... | 3 | 82 | 0.95175 |
train_df5c74d098c62152 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.119, 0.362).lineTo(0.243, 0.108).lineTo(0.661, 0.061).lineTo(0.249, -0.108).lineTo(0.373, -0.362).lineTo(-0.002, -0.2).lineTo(-0.439, -0.318).lineTo(-0.261, -0.075).lineTo(-0.661, 0.138).l... | 5 | 57 | 0.415896 |
train_dc78cf1ef70efd06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.394, -0.772, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.005, 0.809).threePointArc((0.193, 0.737), (0.33, 0.547)).threePointArc((0.379, 0.287), (0.326, 0.028)).threePointArc((0.185, -0.16), (-0.005, -0.228)).threePointArc((-0.193, -0.157), ... | 24 | 22 | 0.91185 |
train_40a471ea41664eca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.77), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.711, 1).lineTo(0.711, 0.142).lineTo(-0.427, 0.142).lineTo(-0.427, -0.142).lineTo(0.711, -0.142).lineTo(0.711, -1).lineTo(-0.711, -1).lineTo(-0.711, -0.711).lineTo(0.427, -0.711).lineTo(0.42... | 12 | 60 | 1.836141 |
train_518dc0678f49f032 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0.028, -0.116), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.964, 0.117).lineTo(0.964, 0.086).lineTo(0.972, 0.086).lineTo(0.972, 0.063).lineTo(0.979, 0.063).lineTo(0.979, 0.004).lineTo(0.992, 0.004).lineTo(0.992, -0.047).lineTo(1.01, -0.047... | 12 | 76 | 1.021816 |
train_d5878123592ff28a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.566, 0, -0.487), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.449, 0).threePointArc((0, -0.449), (-0.449, 0)).threePointArc((0, 0.449), (0.449, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.566, 0, -0.487), normal=(0, -1, 0), xDir=(1, 0, 0... | 7 | 188 | 1.077796 |
train_40051df98ad8d315 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.431, 0.11, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.355, 0.394).lineTo(0.355, 0.056).lineTo(-0.213, 0.056).lineTo(-0.213, -0.056).lineTo(0.355, -0.056).lineTo(0.355, -0.394).lineTo(-0.355, -0.394).lineTo(-0.355, -0.281).lineTo(0.213, -0.... | 20 | 306 | 1.387734 |
train_4f2002b9da2818bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.468), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.417, 0.503).threePointArc((0.919, 0), (0.417, -0.503)).lineTo(-0.417, -0.503).threePointArc((-0.919, 0), (-0.417, 0.503)).lineTo(0.417, 0.503).close().extrude(0.365, taper=-12.379)
result ... | 4 | 58 | 0.663757 |
train_d2e7029b576ecde8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.748, 0.664).threePointArc((0.92, 0.592), (1, 0.417)).lineTo(1, -0.664).lineTo(-0.692, -0.664).threePointArc((-0.902, -0.576), (-1, -0.361)).lineTo(-1, 0.664).lineTo(0.748, 0.664).close().e... | 12 | 56 | 0.776286 |
train_f3854d1ccfcdd326 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.675, -1.307, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.425, 2.093).lineTo(0.504, 1.779).lineTo(0.606, 1.464).lineTo(0.6, 1.15).lineTo(0.543, 0.835).threePointArc((0.467, 0.685), (0.425, 0.521)).threePointArc((-0.606, 1.307), (0.425, 2.093... | 16 | 272 | 2.23701 |
train_aeae61afa86f5c42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.028, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.063, 0.147).threePointArc((0.088, 0.136), (0.098, 0.111)).lineTo(0.098, -0.014).threePointArc((0.109, -0.039), (0.132, -0.049)).lineTo(0.158, -0.049).threePointArc((0.184, -0.061), (0.196... | 7 | 121 | 0.121689 |
train_e7d6279e3979ad8e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.378, -0.968), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.319, 1.376).lineTo(0.319, 0.892).lineTo(0.622, 0.892).lineTo(0.622, 0.56).lineTo(0.207, 0.56).lineTo(0.207, 0).lineTo(0, 0).lineTo(0, 1.376).lineTo(0.319, 1.376).close().revolve(angle... | 4 | 14 | 0.496669 |
train_11c2f789f3f50265 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.197, 0.61, 0.487), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.079, 0.533).threePointArc((0.382, 0.406), (0.509, 0.102)).lineTo(0.509, 0.002).threePointArc((0.382, -0.303), (0.079, -0.428)).lineTo(-0.079, -0.428).threePointArc((-0.382, -0.303)... | 16 | 46 | 1.888482 |
train_f8a6da4cea16cee8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.253, -0.038, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.262, 0.22).lineTo(0.293, 0.189).lineTo(0.293, -0.195).threePointArc((0.286, -0.213), (0.268, -0.22)).lineTo(-0.293, -0.22).lineTo(-0.293, 0.22).lineTo(0.262, 0.22).close().extrude(... | 14 | 113 | 0.078692 |
train_2ca95a5dc204070b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0, -0.479), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.375, 1.479).lineTo(0.375, 1.279).lineTo(0.234, 1.279).lineTo(0.234, 1.006).lineTo(0.345, 1.006).lineTo(0.345, 0.573).lineTo(0.327, 0.573).lineTo(0.327, 0).lineTo(0, 0).lineTo(0, 1.479... | 7 | 121 | 0.423061 |
train_9412988e64611bfc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.022, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.28).lineTo(0.5, -0.093).lineTo(1, -0.093).lineTo(1, -0.28).lineTo(-1, -0.28).lineTo(-1, 0.093).lineTo(0, 0.093).lineTo(0, 0.28).lineTo(0.5, 0.28).close().extrude(0.132)
result = ... | 10 | 110 | 0.112165 |
train_222699244d6f2b0b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0.623), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.178, 0.992).threePointArc((0.109, 0.984), (0.377, 0.889)).threePointArc((0.611, 0.736), (0.808, 0.533)).threePointArc((0.948, 0.28), (0.997, -0.009)).threePointArc((0.932, -0.293), (0... | 10 | 110 | 2.73581 |
train_61e6014e3ce242fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.821, -0.423, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.164).threePointArc((0.823, 0.823), (1.164, 0)).lineTo(0.778, 0).threePointArc((0.55, 0.55), (0, 0.778)).lineTo(0, 1.164).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 8 | 60 | 1.873627 |
train_1f4821f9e50e7fa0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.212, 0, -0.4), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.468).extrude(1.209)
result = result.union(cq.Workplane(cq.Plane(origin=(0.212, 0, 0.446), normal=(0.201, 0, 0.98), xDir=(0.98, 0, -0.201))).circle(0.198).extrude(0.528))
result = result.... | 9 | 221 | 0.963171 |
train_6388850eadff8400 | 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.285, 0.971).lineTo(0.285, 0.486).lineTo(0.855, 0.486).lineTo(0.855, 0).lineTo(0.285, 0).lineTo(0.285, -0.486).lineTo(0.855, -0.486).lineTo(0.855, -0.971).lineTo(-0.285, -0.971).lineTo(-0.2... | 15 | 61 | 0.409803 |
train_d5df4602b6a81d54 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.149).lineTo(0.777, 0).lineTo(1, -0.149).lineTo(0.198, -0.149).lineTo(0.198, 0.149).lineTo(1, 0.149).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.549, 0, 0), normal=(... | 7 | 59 | 0.265752 |
train_44a3a15d608ce23b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.299, 0.091, -0.266), normal=(0.181, -0.436, -0.882), xDir=(0.924, 0.383, 0))).moveTo(-0.006, 0.13).threePointArc((0.166, 0.206), (0.288, 0.1)).lineTo(0.423, 0.051).lineTo(0.414, 0.041).lineTo(0.436, 0.033).lineTo(0.395, -0.023).lineTo(0.631, -0.... | 12 | 232 | 1.064198 |
train_d1f3612d133dd4ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.322, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.64, 0.146).threePointArc((0.666, 0.135), (0.677, 0.108)).lineTo(0.677, -0.146).lineTo(-0.677, -0.146).lineTo(-0.677, 0.047).threePointArc((-0.649, 0.117), (-0.579, 0.146)).lineTo(0.64,... | 9 | 82 | 0.116995 |
train_99e895c66135db48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.245), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.526, 0.799).threePointArc((0.861, 0.66), (1, 0.325)).lineTo(1, -0.325).threePointArc((0.861, -0.66), (0.526, -0.799)).lineTo(-0.526, -0.799).threePointArc((-0.861, -0.66), (-1, -0.325)).li... | 9 | 125 | 1.134216 |
train_b3b6c6769d9da562 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.059, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.646, 0.918).lineTo(-0.646, -0.664).lineTo(0.941, -0.664).lineTo(0.941, -0.918).lineTo(-0.941, -0.918).lineTo(-0.941, 0.918).lineTo(-0.646, 0.918).close().extrude(0.083, taper=4.737, bo... | 4 | 41 | 0.159483 |
train_3dde7fb97d4f8470 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.299, 0.333).threePointArc((0.323, 0.323), (0.333, 0.299)).lineTo(0.333, -0.201).threePointArc((0.294, -0.294), (0.201, -0.333)).lineTo(0.052, -0.333).threePointArc((0.016, -0.318), (0, -0.281)).lineTo(0, -0.193).threePointArc((-0.008, -0.174), (-0.0... | 3 | 37 | 0.431549 |
train_2617d906285ae662 | 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.835, 0.617).threePointArc((0.951, 0.572), (1, 0.465)).lineTo(1, 0.13).threePointArc((0.958, 0.039), (0.86, 0)).lineTo(0.466, 0).threePointArc((0.373, -0.037), (0.333, -0.123)).lineTo(0.333... | 7 | 34 | 0.770554 |
train_fc93a8628bfda911 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.038, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.137, 0.088).lineTo(-0.001, 0.077).lineTo(-0.076, -0.003).lineTo(0.061, -0.013).lineTo(0.136, 0.067).lineTo(0.272, 0.056).lineTo(0.197, -0.024).lineTo(0.334, -0.034).lineTo(0.409, 0.04... | 4 | 61 | 0.133783 |
train_aabf026586fbe0f7 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.333, 1).lineTo(0.333, 0.333).lineTo(1, 0.333).lineTo(1, -0.333).lineTo(0.333, -0.333).lineTo(0.333, -1).lineTo(-1, -1).lineTo(-1, 1).lineTo(0.333, 1).close().extrude(0.429, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.616, -0.264,... | 11 | 87 | 2.603794 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.