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_b562773268eb8610 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.038, 0.653, 0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.027, 0.342).lineTo(0.352, 0.086).threePointArc((0.39, 0.082), (0.357, 0.053)).lineTo(0.081, -0.346).lineTo(-0.237, -0.206).threePointArc((-0.242, -0.126), (-0.314, -0.086)).lineTo(... | 5 | 69 | 0.523105 |
train_b9c54bec4041d9ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.391, 0.147, -0.601), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.506, 0.356).lineTo(-0.092, 0.325).threePointArc((0.061, 0.413), (0.082, 0.234)).lineTo(0.301, -0.035).threePointArc((0.436, -0.019), (0.506, -0.147)).threePointArc((0.422, -0.252)... | 14 | 205 | 0.744997 |
train_9e8755c1ebb86ac9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.105, 0.326).lineTo(0.105, 0.234).lineTo(0.431, 0.234).lineTo(0.431, 0).lineTo(-0.431, 0).lineTo(-0.431, 0.234).lineTo(-0.105, 0.234).lineTo(-0.105, 0.326).lineTo(0.105, 0.326).close().ext... | 7 | 54 | 0.360284 |
train_1db87fd83242d18f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.086, -0.812, 0.18), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.657, 0.8).threePointArc((0.772, 0.753), (0.819, 0.639)).lineTo(0.819, -0.467).threePointArc((0.772, -0.581), (0.657, -0.628)).lineTo(-0.657, -0.628).threePointArc((-0.772, -0.581),... | 12 | 913 | 2.856513 |
train_e2c26cb071c9f3df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.982, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.243, 1.817).lineTo(0.763, 1.4).lineTo(0.834, 0.74).lineTo(0.419, 0.22).lineTo(-0.243, 0.147).lineTo(-0.763, 0.564).lineTo(-0.834, 1.225).lineTo(-0.419, 1.744).lineTo(0.243, 1.817).clo... | 6 | 140 | 1.388344 |
train_b37b54617cbfbbc7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.062, 0, -0.508), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.938, 0.655).lineTo(0.938, 0.463).lineTo(-0.654, 0.463).lineTo(-0.654, -0.463).lineTo(0.938, -0.463).lineTo(0.938, -0.655).lineTo(-0.938, -0.655).lineTo(-0.938, 0.655).lineTo(0.938, 0.... | 5 | 59 | 1.062614 |
train_5b8158a14ee2fc4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.03, 0.037, -0.747), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.07, 0.194).threePointArc((0.087, 0.188), (0.094, 0.174)).lineTo(0.094, 0.128).threePointArc((0.099, 0.12), (0.109, 0.116)).lineTo(0.161, 0.116).threePointArc((0.18, 0.11), (0.189, 0... | 20 | 278 | 0.137333 |
train_b228e3e841d78d12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.06, -0.136, -0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.085, 0.654).threePointArc((0.229, 0.603), (0.36, 0.534)).threePointArc((0.458, 0.466), (0.548, 0.391)).lineTo(0.813, 0.147).threePointArc((0.879, 0.022), (0.916, -0.112)).lineTo(0... | 6 | 138 | 1.939537 |
train_e4cbf695dc60eae3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.016), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.994, 0.098).lineTo(0.994, -0.13).lineTo(0.801, -0.13).lineTo(0.801, 0.098).threePointArc((0.815, 0.13), (0.829, 0.098)).threePointArc((0.843, 0.066), (0.856, 0.098)).threePointArc((0.87, 0... | 2 | 13 | 0.703866 |
train_e5c572e9f302d03d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.169, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.588, 0.218).lineTo(0.588, 0.182).threePointArc((0.621, 0.166), (0.701, 0.159)).lineTo(0.92, 0.159).threePointArc((0.963, 0.155), (0.981, 0.147)).lineTo(0.981, 0.111).threePointArc((0.9... | 4 | 66 | 0.681857 |
train_a6ce61d9a42a2ac2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.853).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0.005, 0, 0.391), normal=(0.543, 0, 0.84), xDir=(0.84, 0, -0.543))).circle(0.383).extrude(3.559))
result = result.cut(cq... | 8 | 34 | 2.6959 |
train_eaf72b7ceb071460 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.191, 0.337, 0.362), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.398).threePointArc((0.281, 0.281), (0.398, 0)).threePointArc((0.281, -0.281), (0, -0.398)).threePointArc((-0.281, -0.281), (-0.398, 0)).threePointArc((-0.281, 0.281), (0, 0.398... | 11 | 152 | 0.534302 |
train_177d72c930a2a19c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.834, -0.149).lineTo(0.979, -0.2).lineTo(0.97, -0.242).lineTo(0.823, -0.211).lineTo(0.772, -0.352).lineTo(0.9, -0.438).lineTo(0.881, -0.475).lineTo(0.743, -0.408).lineTo(0.66, -0.... | 11 | 191 | 1.203832 |
train_664a688af6dad9e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.705, 0.35).lineTo(0.705, -0.35).lineTo(-0.705, -0.35).lineTo(-0.705, 0.35).lineTo(0.705, 0.35).close().extrude(0.219)
result = result.union(cq.Workplane(cq.Plane(origin=(0.712, 0, 0.078), ... | 7 | 37 | 0.181913 |
train_19e05992bfd33394 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.774).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.292).extrude(0.488, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.593, -0.166, 0), normal=(0, 1, ... | 10 | 67 | 2.420157 |
train_3ede7bc6458a8056 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.149, 0.541, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.701, 0.459).lineTo(0.078, 0.245).lineTo(0.325, 0.391).lineTo(0.52, 0.338).lineTo(0.806, -0.167).lineTo(0.559, -0.313).lineTo(0.311, -0.459).lineTo(0.117, -0.406).lineTo(-0.026, -0.... | 10 | 117 | 1.803656 |
train_cbf9b4d2d6025243 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.344, 0.88).threePointArc((-0.242, 0.842), (-0.199, 0.755)).lineTo(-0.199, 0.388).threePointArc((-0.128, 0.24), (0.039, 0.177)).lineTo(0.486, 0.177).threePointArc((0.564, 0.147), (0.597, 0.078)).lineTo(0.597, -0.081).threePointArc((0.629, -0.148), (... | 8 | 75 | 0.915935 |
train_eb617d1217f2600a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.319, -0.006, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.295, 0.289).lineTo(0.295, 0.174).lineTo(-0.21, 0.174).lineTo(-0.21, 0.058).lineTo(0.295, 0.058).lineTo(0.295, -0.289).lineTo(-0.295, -0.289).lineTo(-0.295, -0.174).lineTo(0.21, -0.17... | 23 | 201 | 0.655625 |
train_9cf89607e9ee87ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.62), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 1).lineTo(0.42, 0.919).lineTo(0.85, 0.546).lineTo(1.01, 0).lineTo(0.85, -0.546).lineTo(0.42, -0.919).lineTo(-0.145, -1).lineTo(-0.662, -0.763).lineTo(-0.97, -0.284).lineTo(-0.97, ... | 5 | 39 | 3.428508 |
train_f765924ff202ad36 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.577), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.847, 0.745).threePointArc((0.955, 0.7), (1, 0.592)).lineTo(1, 0.289).threePointArc((0.957, 0.186), (0.854, 0.143)).lineTo(0.478, 0.143).threePointArc((0.354, 0.09), (0.301, -0.034)).lineTo... | 22 | 91 | 1.782155 |
train_0818e19b293f5308 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.014, 0.333, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.133, 0.939).threePointArc((0.342, 0.852), (0.429, 0.643)).lineTo(0.429, 0.461).threePointArc((0.342, 0.252), (0.133, 0.165)).lineTo(0.049, 0.149).threePointArc((0.007, 0.127), (-0.034,... | 10 | 64 | 0.859782 |
train_a2d2888b1c21e807 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, -0.134, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.986, -0.302).lineTo(-0.063, -0.324).threePointArc((0.448, 0.324), (0.986, -0.302)).close().moveTo(0.494, 0.11).threePointArc((0.495, 0.036), (0.432, -0.002)).threePointArc((0.368... | 15 | 180 | 0.143788 |
train_aee8a4325fee497d | 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, 0.664).lineTo(0, 0).lineTo(0.568, 0).lineTo(0.568, -0.332).lineTo(0, -0.332).lineTo(0, -0.664).lineTo(-0.568, -0.664).lineTo(-0.568, 0.664).lineTo(0, 0.664).close().extrude(2)
result = result... | 2 | 24 | 1.603747 |
train_7a492375aab37aca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.906).lineTo(0.406, 0.824).threePointArc((0.447, 0.791), (0.497, 0.773)).lineTo(0.753, 0.528).threePointArc((0.775, 0.474), (0.812, 0.429)).lineTo(0.897, 0.111).threePointArc((0.87... | 8 | 217 | 2.906297 |
train_73acd9355f14223e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.083, 0.14, -0.575), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.787, 0.299).lineTo(0.917, 0.131).lineTo(0.917, -0.299).lineTo(-0.917, -0.299).lineTo(-0.917, 0.131).lineTo(-0.852, 0.299).lineTo(-0.787, 0.299).lineTo(-0.656, 0.131).lineTo(-0.59, ... | 13 | 173 | 0.616788 |
train_fd7f3380fb70de16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.002, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.727, -0.137).lineTo(0.977, -0.218).lineTo(0.953, -0.309).lineTo(0.699, -0.241).lineTo(0.644, -0.366).lineTo(0.853, -0.524).lineTo(0.801, -0.601).lineTo(0.585, -0.455).lineTo(0.49, ... | 5 | 147 | 1.106435 |
train_2058888a30eb7453 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.015, 0.212, 0.716), normal=(-0.29, -0.07, -0.954), xDir=(0, 0.997, -0.073))).moveTo(-0.108, -0.262).threePointArc((-0.244, -0.309), (-0.278, -0.192)).lineTo(-0.387, -0.139).lineTo(-0.385, -0.105).lineTo(-0.405, -0.082).lineTo(-0.32, 0.066).lineT... | 12 | 159 | 0.80717 |
train_935f5926978bb3bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.313, -0.07, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, 0.587).threePointArc((0.631, 0.54), (0.686, 0.427)).lineTo(0.686, 0.113).threePointArc((0.648, 0.034), (0.554, 0)).lineTo(0.471, 0).threePointArc((0.381, -0.032), (0.344, -0.10... | 5 | 47 | 0.241106 |
train_c990620370552ec0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.296, -0.377), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.704, 0.755).lineTo(0.704, 0.261).lineTo(0.372, 0.261).lineTo(0.372, 0).lineTo(0, 0).lineTo(0, 0.755).lineTo(0.704, 0.755).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE... | 11 | 57 | 0.886106 |
train_7a4cc28ea6eba2ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.62, 0.913).lineTo(-0.62, -0.365).threePointArc((-0.491, -0.584), (-0.186, -0.677)).lineTo(0.934, -0.677).threePointArc((0.98, -0.691), (1, -0.725)).lineTo(1, -0.906).threePointArc((0.... | 23 | 14 | 0.203535 |
train_bcaab1509c64326b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.255, 0, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.627, 0.716).threePointArc((0.71, 0.682), (0.745, 0.602)).lineTo(0.745, 0.486).threePointArc((0.705, 0.396), (0.611, 0.358)).lineTo(0.228, 0.358).threePointArc((0.068, 0.293), (0, 0.14)... | 36 | 101 | 0.560551 |
train_f990264b8b7bf645 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.397, 0.12, -0.974), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.053, 0.132).lineTo(0.141, -0.017).threePointArc((0.155, -0.118), (0.053, -0.132)).lineTo(-0.141, 0.017).threePointArc((-0.155, 0.118), (-0.053, 0.132)).close()... | 8 | 57 | 0.181361 |
train_cf735781d5be50b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.527, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.174).extrude(1.466)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.527, 0, 0.026), normal=(0.795, 0, 0.607), xDir=(0.607, 0, -0.795))).circle(0.105).extrude(1.466))
result = resul... | 6 | 18 | 0.173775 |
train_87ed267013564b6a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.707, 1).lineTo(0.707, -1).lineTo(-0.707, -1).lineTo(-0.707, 1).lineTo(0.707, 1).close().extrude(0.277)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.017, 0.116), normal=(0, 0, 1)... | 13 | 133 | 0.690538 |
train_2d6830e8f08ce6f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.63, 1).lineTo(0.778, 0.851).lineTo(0.778, -1).lineTo(-0.709, -1).threePointArc((-0.758, -0.979), (-0.778, -0.93)).lineTo(-0.778, 0.845).lineTo(-0.624, 1).lineTo(0.63, 1).close().extrude(0.... | 20 | 336 | 0.900096 |
train_167d972d376139f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.508, 0.268).lineTo(0.392, 0.161).lineTo(1.341, -0.114).lineTo(-0.868, -0.268).lineTo(-1.229, -0.235).lineTo(-1.341, -0.12).lineTo(-1.273, 0.013).lineTo(-1.076, 0.147).lineTo(-0.508, 0.268... | 3 | 47 | 0.147173 |
train_43fcac9c39ce84a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.121, 0.828).lineTo(0.414, 0.501).threePointArc((0.867, -0.03), (0.372, -0.521)).lineTo(-0.371, -0.895).threePointArc((-0.757, -0.951), (-0.867, -0.579)).lineTo(-0.832, 0.447).threePoi... | 6 | 44 | 2.263766 |
train_cb759c70095a3b69 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.483, 1).lineTo(0.483, -0.529).threePointArc((0.344, -0.862), (0.009, -1)).lineTo(-0.171, -1).threePointArc((-0.39, -0.91), (-0.483, -0.689)).lineTo(-0.483, 0.587).lineTo(-0.068, 1).lineTo(... | 12 | 81 | 0.644956 |
train_35998cda5eea172a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.565), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.518, 0.258).lineTo(1, -0.006).lineTo(0.479, -0.26).lineTo(-0.518, -0.253).lineTo(-1, -0.003).lineTo(-0.507, 0.26).lineTo(0.518, 0.258).close().extrude(1.13)
result = result.faces('<Z').she... | 3 | 21 | 0.186747 |
train_7087e55d91998104 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.515, 0.643, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.571, 1.199).lineTo(0.571, -0.169).threePointArc((-0.571, 0.515), (0.571, 1.199)).close().workplane(offset=0.392).moveTo(0.6, 1.234).lineTo(0.6, -0.204).threePointArc((-0.6, 0.515), (0.... | 10 | 23 | 2.36162 |
train_2b8f1b4dccc0b2b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.25, 0.205, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.267, 0.749).threePointArc((0.343, 0.716), (0.375, 0.641)).lineTo(0.375, 0.49).threePointArc((0.409, 0.409), (0.49, 0.375)).lineTo(0.66, 0.375).threePointArc((0.722, 0.348), (0.749,... | 13 | 205 | 0.635047 |
train_4bee868b98331dbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.54, -0.056, -0.316), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.267, 0.943).threePointArc((0.4, 0.889), (0.455, 0.755)).lineTo(0.455, -0.795).threePointArc((0.411, -0.901), (0.306, -0.943)).lineTo(-0.455, -0.943).lineTo(-0.455, 0.805).lineTo(-... | 18 | 41 | 1.22317 |
train_3ebc27a65b6e0ed9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.053, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.761).extrude(1.126)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.761, -0.053, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.057, 0.291), (-0.222, 0.539), ... | 8 | 86 | 2.262637 |
train_f2867e50029ea213 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.359), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.718)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.003, -0.359), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.527).extrude(2.149, both=True))
result = result.union... | 15 | 30 | 1.003139 |
train_688f7f7405dddfe4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.045), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.34, 0.269).lineTo(0.34, 0).lineTo(-0.34, 0).lineTo(-0.34, 0.269).lineTo(-0.287, 0.269).lineTo(-0.287, 0.053).lineTo(0.287, 0.053).lineTo(0.287, 0.269).lineTo(0.34, 0.269).close().extrude(... | 3 | 66 | 0.169992 |
train_8701f020b24b055e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.287, 0.007, 0.476), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.761, 0.316).threePointArc((0.896, 0.277), (0.94, 0.143)).lineTo(0.89, -0.119).lineTo(1.006, -0.316).threePointArc((0.346, -0.208), (0.761, 0.316)).close().revolve(angleDegrees=360... | 15 | 155 | 1.305525 |
train_2cbcff2df18cded7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.155, 0.22, -0.764), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.485, 0.346).threePointArc((0.52, 0.342), (0.711, -0.09)).threePointArc((0.718, -0.115), (0.527, -0.222)).threePointArc((0.476, -0.234), (0.439, -0.307)).lineTo(0.007, -0.346).threeP... | 14 | 112 | 2.609788 |
train_8eda423433449015 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.198, 1).threePointArc((0.446, 0.89), (0.55, 0.643)).lineTo(0.55, -0.457).threePointArc((0.393, -0.835), (0.011, -1)).lineTo(-0.011, -1).threePointArc((-0.393, -0.835), (-0.55, -0.457)).lin... | 10 | 67 | 0.47829 |
train_0f990108f2bc2013 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.409, -0.6, 0.09), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.119, 0.22).lineTo(0.244, 0.019).lineTo(0.148, -0.212).lineTo(-0.114, -0.22).lineTo(-0.244, 0.001).lineTo(-0.107, 0.194).lineTo(0.119, 0.22).close().sweep(cq.Workplane(cq.Plane(origi... | 7 | 97 | 0.549388 |
train_818df7c3e3ec7e0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, -2.129, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.517, 3.04).lineTo(0.461, 2.841).lineTo(0.997, 1.96).lineTo(0.237, 1.317).lineTo(-0.733, 1.221).lineTo(-0.997, 2.183).lineTo(-0.517, 3.04).close().revolve(angleDegrees=90, axisStart=... | 2 | 38 | 4.277356 |
train_c7ac0eb9ebf21639 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.159, 0, 0.092), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.496, 0.394).lineTo(0.619, 0.377).threePointArc((0.672, 0.35), (0.72, 0.317)).threePointArc((0.771, 0.265), (0.812, 0.205)).threePointArc((0.827, 0.17), (0.837, 0.134)).threePointArc((... | 17 | 283 | 1.489601 |
train_c900e393f0befcb7 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.538, 2, 1.359)
result = result.edges().fillet(0.128)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.222).extrude(3.076, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 5 | 32 | 3.479801 |
train_4fb263f1d8df43a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.031, -0.242, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.806, 0.169).threePointArc((0.806, 0.758), (0.513, -0.337)).lineTo(0.366, -0.758).threePointArc((0.22, -0.253), (0.659, -0.084)).threePointArc((0.513, 0.674), (-0.513, 0.337)).lin... | 17 | 167 | 0.362792 |
train_47a6c33c27b3b553 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.216, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.929, 0.525).lineTo(1, 0.464).lineTo(1, -0.525).lineTo(-1, -0.525).lineTo(-1, 0.457).lineTo(-0.922, 0.457).lineTo(-0.922, 0.525).lineTo(0.929, 0.525).close().extrude(0.763)
result = res... | 13 | 75 | 0.732712 |
train_89e7daaa365dee89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, -0.208, 0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.022, 0.427).threePointArc((0.134, 0.381), (0.18, 0.269)).lineTo(0.18, -0.024).threePointArc((0.134, -0.136), (0.022, -0.183)).lineTo(-0.022, -0.183).threePointArc((-0.134, -0.136)... | 3 | 47 | 0.497147 |
train_2070c4714e1ea9e8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.661, 0.683).threePointArc((0.892, 0.598), (1, 0.396)).lineTo(1, -0.249).threePointArc((0.96, -0.314), (0.884, -0.341)).lineTo(0.683, -0.341).threePointArc((0.622, -0.363), (0.597, -0.415)).lineTo(0.597, -0.576).threePointArc((0.56, -0.651), (0.473, ... | 18 | 91 | 1.686785 |
train_6d73d12fbe6633eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.061, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.527, 0.198).lineTo(0.757, 0.066).threePointArc((0.874, 0.198), (1, 0.066)).lineTo(1, -0.198).lineTo(0.874, -0.198).lineTo(-0.527, -0.066).threePointArc((-1, 0.066), (-0.527, 0.198)).... | 7 | 75 | 0.250501 |
train_bfd96e304defec48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.188, 0.901).lineTo(-0.149, 0.228).threePointArc((-0.104, 0.142), (0.121, 0.195)).lineTo(0.233, 0.816).threePointArc((0.261, 0.863), (0.321, 0.857)).lineTo(0.51, 0.773).threePointArc((... | 25 | 242 | 0.529818 |
train_d978e3c851f47b02 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.089).lineTo(0.063, 0.063).lineTo(0.089, 0).lineTo(0.063, -0.063).lineTo(0, -0.089).lineTo(-0.063, -0.063).lineTo(-0.089, 0).lineTo(-0.063, 0.063).lineTo(0, 0.089).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.... | 10 | 71 | 0.016021 |
train_b083bf1bf474dbb7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.201, 0.3, 0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.061, 0.691).lineTo(0.183, 0.567).lineTo(0.589, 0.301).lineTo(0.581, 0.204).lineTo(0.286, 0.027).lineTo(0.235, -0.062).lineTo(0.324, -0.151).lineTo(0.712, -0.328).lineTo(0.778, -0.408... | 9 | 143 | 1.607125 |
train_80fb3cb8e4261cb0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.492), 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.984)
result = result.cut... | 6 | 60 | 2.122337 |
train_5c475dc94546a5bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.239).lineTo(1, -0.239).lineTo(-1, -0.239).lineTo(-1, 0.239).lineTo(1, 0.239).close().extrude(0.187)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.498, 0, 0.053), normal=(0, 0, ... | 11 | 148 | 0.175042 |
train_77a23aeadbda3081 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.455)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.833).extrude(1.361, both=True))
result = result.union(cq.Workpl... | 17 | 91 | 0.563884 |
train_43e5372fc4bec6f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.382, 0.332, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.335, 1.365).threePointArc((-0.13, 1.372), (0.095, 1.249)).threePointArc((0.305, 1.015), (0.469, 0.706)).threePointArc((0.562, 0.369), (0.569, 0.054)).threePointArc((0.489, -0.19), (0.... | 30 | 843 | 1.276924 |
train_8fa79eb188689af4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.45, 0, -0.794), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.228, 1.588).lineTo(0.228, 0.228).lineTo(0.899, 0.228).lineTo(0.899, 0).lineTo(0, 0).lineTo(0, 1.588).lineTo(0.228, 1.588).close().extrude(1, both=True)
result = result.cut(cq.Workplan... | 9 | 28 | 0.977989 |
train_a20066e4511f6336 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.307, 1).threePointArc((0.381, 0.96), (0.413, 0.886)).lineTo(0.413, -0.841).threePointArc((0.368, -0.947), (0.263, -1)).lineTo(-0.413, -1).lineTo(-0.413, 0.879).threePointArc((-0.379, 0.959... | 11 | 58 | 0.239776 |
train_a32406b6a70718b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.03, -0.023, -0.226), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.074, 0.306).lineTo(0.02, 0.237).lineTo(0.13, 0.274).lineTo(0.117, 0.158).lineTo(0.204, 0.081).lineTo(0.097, 0.035).lineTo(0.074, -0.079).lineTo(-0.02, -0.01).lineTo(-0.13, -0.047... | 9 | 140 | 2.586319 |
train_8ee7ffc25847083d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.741, 0.667).threePointArc((0.923, 0.59), (1, 0.407)).lineTo(1, 0.168).threePointArc((0.95, 0.05), (0.832, 0)).lineTo(-0.145, 0).threePointArc((-0.277, -0.056), (-0.333, -0.189)).lineTo(-0.... | 8 | 144 | 0.790244 |
train_6a5f255c9f4ea4dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.121, 0.108, 0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.019, 0.043).threePointArc((0.024, 0.041), (0.028, 0.038)).lineTo(0.044, 0.008).threePointArc((0.045, 0), (0.044, -0.008)).lineTo(0.031, -0.033).threePointArc((0.023, -0.039), (0.01... | 12 | 241 | 0.366509 |
train_e8f3e0cfa3e63818 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.161, 0.431, 0.388), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.032, 0.244).lineTo(0.04, 0.148).lineTo(0.15, 0.195).lineTo(0.133, 0.077).lineTo(0.244, 0.032).lineTo(0.148, -0.04).lineTo(0.195, -0.15).lineTo(0.077, -0.133).lineTo(0.032, -0.244... | 4 | 58 | 0.430762 |
train_ebc83f1624337b64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.363, -0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.084, 0.636).threePointArc((0.152, 0.608), (0.18, 0.54)).lineTo(0.18, -0.636).lineTo(-0.093, -0.636).threePointArc((-0.154, -0.61), (-0.18, -0.549)).lineTo(-0.18, 0.503).lineTo(-0.048, ... | 8 | 48 | 0.109187 |
train_6da2c78f0766f5f8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.484, -0.884, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.087, 1.827).threePointArc((0.261, 1.88), (0.568, 1.781)).threePointArc((0.79, 1.545), (0.89, 1.209)).threePointArc((0.855, 0.822), (0.691, 0.446)).threePointArc((0.421, 0.136), (0.08... | 4 | 15 | 1.967369 |
train_d37946f26d1f79e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0.16, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.327, 0.839).threePointArc((-0.271, 0.818), (-0.247, 0.771)).lineTo(-0.247, 0.498).threePointArc((-0.22, 0.443), (-0.156, 0.42)).lineTo(0.591, 0.42).threePointArc((0.696, 0.382), (0... | 14 | 556 | 0.11768 |
train_1400453f4b1537c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, -0.032, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.956, -0.145).lineTo(0.484, -0.57).lineTo(0.123, -0.905).lineTo(-0.487, -0.791).lineTo(-0.956, -0.038).spline([(-0.956, -0.038), (-0.333, 0.346), (0.037, 0.905), (0.728, 0.528)]).c... | 11 | 108 | 0.565146 |
train_5dc5e3199c309404 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.048, 0, -2.746), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.271).extrude(2.529)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.048, 0, -0.975), normal=(0.04, 0, 0.999), xDir=(0.999, 0, -0.04))).circle(0.609).extrude(1.952))
result = re... | 4 | 11 | 1.472981 |
train_0726ce7df0731258 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.635).extrude(0.76)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.635, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.101, 0.343), (-0.372, 0.577), (-0.725, 0.... | 14 | 131 | 0.515815 |
train_b8b9e077b393b0ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.633, 1.519, -17.009), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(2.234, 0.238).threePointArc((2.511, 0.238), (2.648, 0)).threePointArc((2.511, -0.238), (2.234, -0.238)).threePointArc((2.098, 0), (2.234, 0.238)).close().sweep(cq.Workplane(cq.Plan... | 10 | 41 | 0.47094 |
train_a15838940e150e90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.857, 1).lineTo(0.976, 0.874).lineTo(0.976, -1).lineTo(-0.842, -1).threePointArc((-0.936, -0.952), (-0.976, -0.857)).lineTo(-0.976, 1).lineTo(0.857, 1).close().extrude(0.358)
result = resul... | 18 | 348 | 1.162127 |
train_5c54bf03adefaaa5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, -0.568, -0.306), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.418, 0.672).lineTo(0.418, 0.293).lineTo(0.427, 0.293).lineTo(0.427, 0).lineTo(0.108, 0).lineTo(0.108, 0.672).lineTo(0.418, 0.672).close().revolve(angleDegrees=360, axisStart=(0, ... | 10 | 578 | 0.240446 |
train_1aceed49b03e9904 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.597, 2).extrude(0.5)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.528, -0.731).lineTo(0.528, -0.731).lineTo(-0.528, -0.771).clo... | 12 | 45 | 1.51058 |
train_60098a85d506d436 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -3.382), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.251, 1.255).threePointArc((1.556, 1.13), (1.685, 0.828)).lineTo(1.685, -0.401).threePointArc((1.431, -1.004), (0.828, -1.255)).lineTo(-0.963, -1.255).threePointArc((-1.472, -1.046), (-1.68... | 11 | 9 | 2.789951 |
train_da2dd8842e4b7ab0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.335, 1).lineTo(0.378, 0.957).lineTo(0.378, -0.926).lineTo(0.306, -1).lineTo(-0.318, -1).threePointArc((-0.36, -0.981), (-0.378, -0.938)).lineTo(-0.378, 0.928).threePointArc((-0.358, 0.978)... | 15 | 250 | 0.676898 |
train_0055b53f074d1be4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.361, -0.244, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.203, 0.163).threePointArc((0.259, 0.163), (0.303, 0.035)).lineTo(0.303, 0.002).lineTo(0.459, -0.068).lineTo(0.493, -0.154).lineTo(0.552, -0.154).lineTo(0.552, -0.201).lineTo(0.45... | 17 | 171 | 1.060055 |
train_c37e4e3c1250bf37 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.144), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.288).lineTo(0.921, 0.259).lineTo(1, 0.101).lineTo(1, 0).lineTo(0.862, 0).lineTo(0.862, 0.086).lineTo(0.761, 0.259).lineTo(0, 0.15).lineTo(0, 0.288).lineTo(0.95, 0.288).close().revol... | 4 | 15 | 0.340595 |
train_edc33a4d76c4f894 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.16, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.714, 1.418).extrude(0.185)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.16, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.222, -0.371).lineTo(0.222, -0.573).lineTo(-0.... | 13 | 50 | 0.217461 |
train_e7e2f817a45db76b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.628).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.628).lineTo(-0.791, 0.628).lineTo(-0.791, 0.209).lineTo(0.791, 0.209).lineTo(0.791, 0.628).lineTo(1, 0.628).close().extrude(0.225, both=Tru... | 4 | 59 | 0.274563 |
train_169e93b14b35ef69 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.447, 0.737, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.22, 0.548).lineTo(0.585, 0.083).lineTo(0.363, -0.465).lineTo(-0.22, -0.548).lineTo(-0.585, -0.083).lineTo(-0.363, 0.465).lineTo(0.22, 0.548).close().sweep(cq.Workplane(cq.Plane(origin... | 8 | 471 | 1.185131 |
train_7d70813fa9044ce0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.715), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.143, 1).lineTo(0.417, 0.91).lineTo(0.841, 0.544).lineTo(1, 0).lineTo(0.841, -0.544).lineTo(0.417, -0.91).lineTo(-0.143, -1).lineTo(-0.658, -0.76).lineTo(-0.96, -0.283).lineTo(-0.96, 0... | 8 | 68 | 3.360203 |
train_c912b6305ca25229 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.048, 0.039, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.431, 0.548).threePointArc((0.745, 0.425), (0.878, 0.13)).lineTo(0.878, -0.184).threePointArc((0.762, -0.441), (0.488, -0.548)).lineTo(-0.118, -0.548).threePointArc((-0.241, -0.5), ... | 22 | 232 | 0.518024 |
train_8c6c6084fe1eaa15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.692), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.576, 0.923).threePointArc((-0.495, 0.897), (-0.461, 0.836)).lineTo(-0.461, -0.206).threePointArc((-0.341, -0.423), (-0.055, -0.514)).lineTo(0.892, -0.514).threePointArc((0.968, -0.538... | 8 | 81 | 2.644258 |
train_08fa8a378fbae127 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.119, 0.569).threePointArc((0.269, 0.543), (0.332, 0.479)).lineTo(0.332, 0.342).threePointArc((0.372, 0.302), (0.467, 0.285)).lineTo(0.757, 0.285).threePointArc((0.921, 0.255), (1, 0.18... | 14 | 51 | 0.575636 |
train_b10a194322f2be2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.17, 0.326).lineTo(0.404, 0.093).lineTo(0.404, -0.326).lineTo(-0.297, -0.326).lineTo(-0.297, -0.218).lineTo(-0.404, -0.218).lineTo(-0.404, 0.076).threePointArc((-0.331, 0.252), (-0.155, 0.32... | 13 | 61 | 0.756749 |
train_d4fb8cd60880c905 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.047, -0.119, 0.068), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.202, 0.524).lineTo(0.202, -0.472).threePointArc((0.073, -0.601), (-0.057, -0.472)).lineTo(-0.156, -0.14).threePointArc((-0.202, 0.03), (-0.132, 0.192)).lineTo(-0.057, 0.524).thre... | 4 | 59 | 0.123014 |
train_a0f8714cd38815a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.09, 0.129, 0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.729, 0.17).lineTo(0.729, -0.17).lineTo(-0.729, -0.17).lineTo(-0.729, 0.17).lineTo(-0.264, 0.17).lineTo(-0.264, -0.087).lineTo(0.264, -0.087).lineTo(0.264, 0.17).lineTo(0.729, 0.17).c... | 19 | 132 | 0.114996 |
train_68b5ea69705ae9da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.756, -0.02, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.652, 0.815).lineTo(-0.42, -0.113).threePointArc((-0.254, -0.408), (0.058, -0.544)).lineTo(0.815, -0.652).threePointArc((0.979, -0.815), (0.815, -0.979)).lineTo(-0.489, -0.815).lineTo(-... | 22 | 22 | 0.305202 |
train_e0ee3d7c9f6d758c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.179, 0.241, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.827, 1.096).threePointArc((0.949, 1.045), (1, 0.923)).lineTo(1, -0.566).threePointArc((0.949, -0.688), (0.827, -0.738)).lineTo(-0.827, -0.738).threePointArc((-0.949, -0.688), (-1, -0.5... | 6 | 29 | 1.604611 |
train_a30f75308219481f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.377, -0.22, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.755).threePointArc((0.534, 0.534), (0.755, 0)).lineTo(0.189, 0).threePointArc((0.134, 0.134), (0, 0.189)).lineTo(0, 0.755).close().extrude(2)
result = result.union(cq.Workplane(cq.... | 4 | 22 | 0.911763 |
train_f3cb84f5293a5b5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.413, -0.356, -0.853), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.267, -0.14).lineTo(-0.325, -0.133).lineTo(-0.325, -0.068).lineTo(-0.571, 0.167).lineTo(-0.518, 0.298).threePointArc((-0.583, 0.424), (-0.366, 0.404)).lineTo(0.286, 0.448).lineTo(... | 15 | 198 | 0.747788 |
train_1bd6d18e9630f5e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.846), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.052).extrude(1.691)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.052, 0, -0.846), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-1.052, 1.052), (-2.104, 0), (-1.052, -1.05... | 10 | 34 | 2.926832 |
train_5eb7ac0f6f73bc9e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.032, 0.269, 0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.597, 0.017).threePointArc((0.198, 0.708), (0.597, -0.192)).lineTo(0.597, -0.66).threePointArc((0.564, -0.708), (0.372, -0.675)).lineTo(0.37, -0.163).threePointArc((0.371, -0.153),... | 6 | 65 | 0.472737 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.