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_f6525bdaed300ed4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.009, 0.111).threePointArc((0.036, 0.096), (0.055, 0.059)).lineTo(0.055, -0.006).threePointArc((0.06, -0.017), (0.074, -0.022)).lineTo(0.1, -0.022).threePointArc((0.107, -0.024), (0.109, -0.029)).lineTo(0.109, -0.054).threePointArc((0.104, -0.063), ... | 2 | 36 | 0.045382 |
train_858dbfff6a4e03e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.571, -0.189, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.052, 0.043).lineTo(0.052, -0.043).lineTo(-0.052, -0.043).lineTo(-0.052, 0).lineTo(-0.026, 0).lineTo(-0.026, 0.043).lineTo(0.052, 0.043).close().extrude(1, both=True)
result = result.u... | 17 | 361 | 1.502038 |
train_8d358b622fafe8b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, -0.034, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.016, 0.318).lineTo(0.182, 0.094).lineTo(-0.016, -0.052).lineTo(-0.049, -0.007).lineTo(0.087, 0.093).lineTo(0.054, 0.138).lineTo(-0.082, 0.038).lineTo(-0.115, 0.082).lineTo(0.021, 0.183).l... | 13 | 108 | 0.185422 |
train_0443cae1dd03b021 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.238, -0.039, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.087, 0.412).lineTo(0.218, -0.244).lineTo(-0.189, -0.412).lineTo(-0.218, -0.266).lineTo(-0.116, -0.224).lineTo(-0.146, -0.078).lineTo(-0.044, -0.036).lineTo(-0.088, 0.182).lineTo(0... | 7 | 119 | 0.505333 |
train_986e50b99dec6a2f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.358), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.884, 0.371).lineTo(1, 0.256).lineTo(1, -0.297).lineTo(0.925, -0.371).lineTo(-0.937, -0.371).threePointArc((-0.981, -0.353), (-1, -0.308)).lineTo(-1, 0.371).lineTo(0.884, 0.371).close().ext... | 6 | 21 | 0.846794 |
train_c6cfae5588586656 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.007, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, -0.18).threePointArc((0.825, -0.251), (0.815, -0.321)).threePointArc((0.799, -0.391), (0.776, -0.458)).threePointArc((0.747, -0.524), (0.711, -0.587)).threePointArc((0.67, -0.646... | 3 | 52 | 0.150456 |
train_431dcc7a58f3468d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0.112, 0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.282, 0.519).threePointArc((0.97, -0.321), (-0.076, -0.519)).lineTo(-0.891, -0.301).threePointArc((-0.97, -0.24), (-0.838, -0.047)).lineTo(0.045, -0.283).threePointArc((0.44, -0.459... | 6 | 65 | 0.191649 |
train_7dd127ec91337dd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.573), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.071, 0.386).threePointArc((0.139, 0.369), (0.167, 0.33)).lineTo(0.167, 0.261).threePointArc((0.202, 0.213), (0.285, 0.193)).lineTo(0.71, 0.193).threePointArc((0.798, 0.171), (0.835, 0... | 19 | 150 | 0.768373 |
train_ed40037c9cc09aaf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.143), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.404).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.404).lineTo(-0.723, 0.404).lineTo(-0.723, 0.089).lineTo(0.723, 0.089).lineTo(0.723, 0.404).lineTo(1, 0.404).close().extrude(0.163, both=Tru... | 12 | 103 | 0.122692 |
train_aefd30ab96c60345 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0, 0.5).lineTo(0.928, 0.5).lineTo(0.928, 0).lineTo(0, 0).lineTo(0, -1).lineTo(-0.928, -1).lineTo(-0.928, 1).lineTo(0, 1).close().extrude(0.424, taper=3.089)
result = result.cut(... | 17 | 12 | 0.946598 |
train_b4458ebf8324f452 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(1, 0).lineTo(0, -1).lineTo(-1, 0).lineTo(0, 1).close().extrude(0.28)
final_result = result
| 1 | 6 | 0.56 |
train_2a2f488f4874ffef | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.229, 0.997).threePointArc((-0.068, 0.951), (0, 0.845)).lineTo(0, 0.611).threePointArc((0.05, 0.532), (0.169, 0.499)).lineTo(0.594, 0.499).threePointArc((0.703, 0.468), (0.75, 0.395)).lineTo(0.75, -0.83).threePointArc((0.675, -0.947), (0.501, -0.997... | 15 | 68 | 1.233908 |
train_09073220761edec5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.371)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.751).extrude(1.111, both=True))
result = result.union(cq.Workpl... | 13 | 31 | 1.105572 |
train_6d4e1b0e34f7de5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.447, 0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.541, 0.771, 1.439)
result = result.edges().fillet(0.027)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.447, 0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.095).extrude(3.083, b... | 12 | 160 | 1.940837 |
train_4fd2fc2edba07292 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.078, -0.349, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.366, 0.643).threePointArc((-0.323, 0.628), (-0.305, 0.594)).lineTo(-0.305, -0.021).threePointArc((-0.229, -0.166), (-0.049, -0.227)).lineTo(0.76, -0.227).threePointArc((0.806, -0... | 14 | 90 | 1.859415 |
train_8baac2ab1eb17940 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.017, -0.606), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.438, 0.784).threePointArc((-0.365, 0.761), (-0.334, 0.705)).lineTo(-0.334, -0.122).threePointArc((-0.273, -0.233), (-0.128, -0.28)).lineTo(0.864, -0.28).threePointArc((0.954, -0.309)... | 11 | 104 | 2.493095 |
train_16ce766ef6860068 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.341, 1.448).threePointArc((1.56, 1.407), (1.678, 1.066)).lineTo(1.568, 0.858).threePointArc((1.553, 0.835), (1.533, 0.814)).lineTo(0.969, 0.31).threePointArc((0.94, 0.263), (0.953, 0.208)).... | 5 | 42 | 0.496514 |
train_7b3a8e5c72c9935b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.011, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.609, 0.712).lineTo(0.881, 0.174).lineTo(0.816, 0.056).threePointArc((0.878, -0.059), (0.495, -0.656)).lineTo(0.465, -0.712).lineTo(-0.441, -0.696).lineTo(-0.763, 0.024).threePointArc((-0.8... | 3 | 54 | 1.996576 |
train_dcea0d2e4d902491 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.535), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.318, 1).threePointArc((0.404, 0.927), (0.44, 0.763)).lineTo(0.44, 0.316).threePointArc((0.413, 0.194), (0.351, 0.143)).lineTo(-0.271, 0.143).threePointArc((-0.287, 0.13), (-0.293, 0.1)).li... | 4 | 78 | 1.115916 |
train_ec89e5271433c842 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.617, 1.581, 0.321), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.742, 0).threePointArc((0, -0.742), (-0.742, 0)).threePointArc((0, 0.742), (0.742, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.617, 1.581, 0.321), normal=(0, -1, 0), xDir=(1, 0... | 24 | 123 | 0.281651 |
train_4f1c2e5c0f93caba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.075, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.353, 0.352).lineTo(0.495, 0.194).threePointArc((0.645, 0.186), (0.858, -0.052)).lineTo(1, -0.21).lineTo(0.842, -0.352).lineTo(0.274, 0.281).lineTo(0.353, 0.352).close().revolve(angleDegree... | 5 | 55 | 0.770566 |
train_b12c2f7b9f3390c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, -0.344, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.302, 0.377).threePointArc((0.304, 0.3), (0.283, 0.226)).lineTo(0.237, 0.075).lineTo(0.387, -0.075).lineTo(0.371, -0.226).threePointArc((0.317, -0.293), (0.302, -0.377)).threePointArc((-0... | 3 | 27 | 0.455471 |
train_bcfd57f45f2f9654 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.308), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.609, 0.616).lineTo(0.609, 0).lineTo(-0.609, 0).lineTo(-0.609, 0.616).lineTo(-0.552, 0.616).lineTo(-0.552, 0.059).lineTo(0.552, 0.059).lineTo(0.552, 0.616).lineTo(0.609, 0.616).close().ext... | 6 | 33 | 0.236439 |
train_f3db4980dcc6ec3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.253), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.461, 0).lineTo(0.461, 0.506).lineTo(0.424, 0.506).lineTo(0.424, 0.306).lineTo(1, 0.306).lineTo(1, 0).lineTo(0.461, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 4 | 28 | 0.651468 |
train_6e1c306d068b6ed0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.321, 0, -0.5), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.678, 1).lineTo(0.678, 0).lineTo(-0.678, 0).lineTo(-0.678, 1).lineTo(-0.365, 1).lineTo(-0.365, 0.314).lineTo(0.365, 0.314).lineTo(0.365, 1).lineTo(0.678, 1).close().extrude(0.157, both=T... | 9 | 70 | 0.27408 |
train_8bbe5a3bb1fed891 | 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.8, 2).lineTo(0.8, 0.457).lineTo(0.927, 0.457).lineTo(0.927, 0).lineTo(0.266, 0).lineTo(0.266, 2).lineTo(0.8, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
resul... | 4 | 53 | 3.267148 |
train_5073c0265bae83e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.676), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.048, 0.431).workplane(offset=1.352).rect(2, 0.146).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.336), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.157).extrude(1.287, bot... | 6 | 84 | 0.130419 |
train_f30c597871167115 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.277, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.607, 1.445, 1.547)
result = result.edges().fillet(0.093)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.277, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.148).extrude(3.213, both=... | 9 | 89 | 2.241845 |
train_383c5e20859e8b5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.421, 0.584, 0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.182, 0.273).threePointArc((0.182, 0.273), (0.364, 0)).threePointArc((0.182, -0.273), (-0.182, -0.273)).threePointArc((-0.364, 0), (-0.182, 0.273)).close().sweep(cq.Workplane(cq.Pl... | 3 | 17 | 0.814931 |
train_e7cf75cecb8d99ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.086, 0.016, 0.036), normal=(0.196, 0.056, -0.979), xDir=(0, 0.998, 0.057))).moveTo(0.342, 0.546).lineTo(0.173, 0.197).lineTo(0.257, 0.166).lineTo(0.439, 0.078).threePointArc((0.468, 0.05), (0.494, 0.019)).lineTo(0.548, -0.049).threePointArc((0.5... | 5 | 151 | 1.481157 |
train_842bc590a393589a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.815, -0.215).lineTo(0.949, -0.288).lineTo(0.934, -0.332).lineTo(0.792, -0.289).lineTo(0.692, -0.481).lineTo(0.797, -0.597).lineTo(0.769, -0.633).lineTo(0.646, -0.542).lineTo(0.486, -0.689)... | 6 | 102 | 1.298211 |
train_9b1eef3cce88493c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.363)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.785).extrude(1.085, both=True))
result = result.union(cq.Workpl... | 17 | 84 | 0.448604 |
train_bde070f14be232fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.392), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.532).lineTo(1, -0.532).lineTo(-1, -0.532).lineTo(-1, 0.532).lineTo(1, 0.532).close().extrude(0.784)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.282, 0, 0.001), normal=(0, 0, 1),... | 9 | 139 | 1.169826 |
train_347f071839ad8d9b | 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.8, 0.255).lineTo(0.8, 0.06).lineTo(1, 0.06).lineTo(1, -0.255).lineTo(-0.748, -0.255).threePointArc((-0.92, -0.182), (-1, -0.007)).lineTo(-1, 0.255).lineTo(0.8, 0.255).close().extrude(0.415... | 6 | 30 | 0.214178 |
train_baa7543c26bb5610 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.397, 0.048, -0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.686, 0.866).threePointArc((-0.054, 0.724), (0.192, 0.442)).lineTo(0.204, 0.379).threePointArc((0.197, 0.314), (0.254, 0.27)).threePointArc((0.481, 0.292), (0.794, -0.012)).lineTo... | 3 | 60 | 1.768943 |
train_944aed25601b7495 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.022, -0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.368, 0.054).lineTo(-0.368, -0.029).lineTo(1, -0.029).lineTo(1, -0.054).lineTo(-1, -0.054).lineTo(-1, 0.054).lineTo(-0.368, 0.054).close().extrude(0.158, both=True)
result = result.cut... | 35 | 87 | 0.057632 |
train_4d37935f82672eee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.473, -0.389, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.169).threePointArc((0.828, 0.828), (1.169, 0)).lineTo(0.54, 0).threePointArc((0.382, 0.382), (0, 0.54)).lineTo(0, 1.169).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 14 | 100 | 1.486581 |
train_d25db8c14fde7c01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.143, 0.382, 0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.33, 0.19).threePointArc((0.19, -0.33), (-0.33, -0.19)).threePointArc((-0.19, 0.33), (0.33, 0.19)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.143, 0.382, 0.553), normal=(0, -1, ... | 11 | 73 | 0.490274 |
train_2abd773290a7fd2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.432, -0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.609, 0.818).threePointArc((1, 0.431), (0.609, 0.045)).lineTo(-0.609, 0.045).threePointArc((-1, 0.431), (-0.609, 0.818)).lineTo(0.609, 0.818).close().extrude(0.936)
result = result.cut... | 15 | 57 | 2.025287 |
train_4cb9148aef29174f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.043, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.743).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0.043, 0, 0.391), normal=(0.769, 0, 0.64), xDir=(0.64, 0, -0.769))).circle(0.408).extrude(1.946))
result = result.cut(cq... | 13 | 22 | 1.017229 |
train_252a6182d5b347d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.551, 2).extrude(0.735)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.276, 0.668, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.151, 0.765).threePointArc((0.468, 0.765), (0.627, 0.606... | 15 | 88 | 0.646638 |
train_381e5f34da342f37 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.595, -0.504, -0.035), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.229, 0.266).threePointArc((0.426, 0.069), (0.229, -0.127)).lineTo(-0.229, -0.127).threePointArc((-0.426, 0.069), (-0.229, 0.266)).lineTo(0.229, 0.266).close().extrude(1.174)
resu... | 12 | 88 | 0.795019 |
train_68d41476d99994ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.355), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.71).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.71).lineTo(-0.744, 0.71).lineTo(-0.744, 0.256).lineTo(0.744, 0.256).lineTo(0.744, 0.71).lineTo(1, 0.71).close().extrude(0.2, both=True)
resu... | 4 | 22 | 0.318178 |
train_0a034f3dc371fa54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.458), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.916).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.916).lineTo(-0.614, 0.916).lineTo(-0.614, 0.386).lineTo(0.614, 0.386).lineTo(0.614, 0.916).lineTo(1, 0.916).close().extrude(0.432, both=Tru... | 3 | 16 | 1.13808 |
train_34f5d22d0f1bcf93 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.285, 0.123, -0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.238, 0.298).lineTo(0.238, -0.298).lineTo(0.119, -0.298).lineTo(0.119, -0.179).lineTo(-0.119, -0.179).lineTo(-0.119, 0.06).lineTo(-0.238, 0.06).lineTo(-0.238, 0.179).lineTo(0, 0.17... | 17 | 274 | 0.538791 |
train_b0255de6570b5dfc | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.957, 1.568)
result = result.edges().fillet(0.213)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.158, 0.906, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.279, 0.61).threePointArc((1.536, 0.61), (0.279, -0.61)).lineTo(0.279, 0.61).close().sp... | 7 | 41 | 4.743124 |
train_2490c6a066a6a3ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.213, 0, -0.47), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.406, 0.251).lineTo(-0.188, 0.48).lineTo(0.177, 0.53).lineTo(0.397, 0.235).lineTo(0.46, -0.108).lineTo(0.238, -0.374).lineTo(-0.086, -0.53).lineTo(-0.414, -0.361).lineTo(-0.46, -0.029)... | 3 | 234 | 0.490899 |
train_d51d49645a3e5fb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, -0.013, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.326, 0.771).threePointArc((0.474, 0.801), (0.504, 0.653)).lineTo(0.031, -0.06).lineTo(0.448, -0.594).threePointArc((0.478, -0.741), (0.181, -0.801)).lineTo(-0.236, -0.268).lineTo(... | 13 | 165 | 0.872239 |
train_765b8b1ca19f39cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.134, 0.409).threePointArc((0.223, 0.372), (0.259, 0.283)).lineTo(0.259, -0.283).lineTo(0.132, -0.409).lineTo(-0.131, -0.409).lineTo(-0.131, -0.281).lineTo(-0.259, -0.281).lineTo(-0.25... | 9 | 50 | 1.351759 |
train_a02643536899f42f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, 0.264, -0.441), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.492, 0.421).threePointArc((0.754, 0), (0.492, -0.421)).lineTo(-0.492, -0.421).threePointArc((-0.754, 0), (-0.492, 0.421)).lineTo(0.492, 0.421).close().extrude(0.334)
result = resul... | 19 | 127 | 0.83304 |
train_97c2783a92cc67aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.775), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.571, 1).threePointArc((0.873, 0.873), (1, 0.571)).lineTo(1, -0.88).threePointArc((0.964, -0.964), (0.88, -1)).lineTo(0.511, -1).threePointArc((0.386, -0.947), (0.333, -0.823)).lineTo(0.333... | 19 | 14 | 4.636338 |
train_1e72e1e1cebdda09 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.209, 0.001, 0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.238, 0.831).threePointArc((-0.071, 0.794), (0, 0.706)).lineTo(0, 0.15).threePointArc((0.085, 0.045), (0.286, 0)).lineTo(0.635, 0).threePointArc((0.744, -0.024), (0.79, -0.081)).lin... | 20 | 136 | 0.147462 |
train_e379770597af65ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.625, -0.103, 0.636), normal=(0.653, 0.234, -0.721), xDir=(-0.338, 0.941, 0))).moveTo(0.407, 0.169).lineTo(0.407, -0.169).threePointArc((-0.407, 0), (0.407, 0.169)).close().extrude(1.202, both=False)
result = result.union(cq.Workplane(cq.Plane(o... | 14 | 126 | 1.751739 |
train_0ae0738463aae0f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.325, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.112, 0.201).lineTo(0.313, 0.082).threePointArc((0.396, -0.012), (0.309, -0.103)).lineTo(0.104, -0.212).threePointArc((0.017, -0.226), (-0.015, -0.144)).lineTo(-0.025, 0.119).threePointArc... | 9 | 126 | 0.446229 |
train_94e489d579f2430b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.417).lineTo(0.921, 0.35).lineTo(1, 0.145).lineTo(1, 0).lineTo(0.765, 0).lineTo(0.765, 0.125).lineTo(0.666, 0.35).lineTo(0, 0.182).lineTo(0, 0.417).lineTo(0.951, 0.417).close().revo... | 3 | 31 | 0.633017 |
train_92a96edc2fa6b624 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.343, 0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.345, -0.068).threePointArc((0.343, -0.1), (0.337, -0.131)).threePointArc((0.326, -0.162), (0.311, -0.192)).threePointArc((0.292, -0.22), (0.27, -0.247)).threePointArc((0.244, -0.27... | 16 | 293 | 0.742255 |
train_8f74f219d457b5a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.259, 0.564, 0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.44, 0.436).lineTo(0.587, 0.136).threePointArc((-0.587, -0.436), (-0.49, -0.218)).threePointArc((-0.142, 0.179), (0.44, 0.436)).close().extrude(0.338, both=True)
result = result.uni... | 8 | 98 | 1.413415 |
train_c1731b6f33ab22e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.139, 0, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.21, 0.837).threePointArc((0.334, 0.797), (0.45, 0.739)).threePointArc((0.557, 0.663), (0.65, 0.572)).threePointArc((0.729, 0.468), (0.791, 0.354)).threePointArc((0.835, 0.232), (0.86, 0... | 6 | 84 | 0.605598 |
train_279066abf052f5e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.011, -0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.062, 0.548).lineTo(0.966, 0.272).threePointArc((0.196, -0.548), (-0.062, 0.548)).close().moveTo(0.533, 0.141).lineTo(0.54, 0.078).threePointArc((0.559, 0.074), (0.604, 0.095)).lineTo(... | 8 | 318 | 0.349832 |
train_d58066cd36cd3e82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.397, 0.99).workplane(offset=2).rect(0.81, 0.794).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.139, 0.513, -0.41), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(0.106, 0.494), (0.12... | 8 | 20 | 0.961462 |
train_ac531eeb0bc2571d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.241, -0.081, 0.096), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.48, 0.539).lineTo(0.48, -0.279).threePointArc((0, -0.759), (-0.48, -0.279)).lineTo(-0.48, 0.539).threePointArc((0, 1.019), (0.48, 0.539)).close().extrude(0.45)
result = result.uni... | 6 | 68 | 1.203514 |
train_e0814b7bd567bad4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.367), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.733).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.733).lineTo(-0.633, 0.733).lineTo(-0.633, 0.364).lineTo(0.633, 0.364).lineTo(0.633, 0.733).lineTo(1, 0.733).close().extrude(0.572, both=Tru... | 8 | 59 | 1.143586 |
train_96f69e144e30d49b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.577).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.163).extrude(0.242, both=True))
result = result.cut(... | 8 | 15 | 1.193803 |
train_81317c9a41e21efe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.296, 0.342), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.186, 0.703).threePointArc((0.306, 0.653), (0.356, 0.532)).lineTo(0.356, 0.08).threePointArc((0.306, -0.041), (0.186, -0.091)).lineTo(-0.186, -0.091).threePointArc((-0.306, -0.041), (-0... | 8 | 45 | 0.534328 |
train_34994a346347c7be | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.28, 0, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.213, 0.712).threePointArc((0.361, 0.647), (0.494, 0.553)).lineTo(0.699, 0.195).threePointArc((0.719, -0.006), (0.703, -0.207)).lineTo(0.525, -0.53).threePointArc((0.386, -0.632), (0.23... | 5 | 64 | 1.074705 |
train_4c3fe4cd554da55a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.612, 0.859, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.998, 0.612).threePointArc((0, -0.386), (-0.998, 0.612)).threePointArc((0, 1.61), (0.998, 0.612)).close().workplane(offset=0.367).moveTo(0.929, 0.612).threePointArc((0, -0.317), (-0.929... | 10 | 244 | 3.824701 |
train_e9d3009b019c1bbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.847, 0.809).threePointArc((0.955, 0.765), (1, 0.658)).lineTo(1, -0.809).lineTo(-0.826, -0.809).lineTo(-1, -0.636).lineTo(-1, 0.493).lineTo(-0.685, 0.809).lineTo(0.847, 0.809).close().extru... | 18 | 28 | 1.295508 |
train_5786540dbd480afb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.613, 0.411).lineTo(0.613, 0.313).lineTo(0.713, 0.313).lineTo(0.713, -0.411).lineTo(-0.596, -0.411).lineTo(-0.713, -0.294).lineTo(-0.713, 0.328).lineTo(-0.63, 0.328).lineTo(-0.63, 0.411).li... | 6 | 43 | 1.608535 |
train_05a0f3ebcd067e91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.119, -0.377), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.745).threePointArc((0.527, 0.527), (0.745, 0)).threePointArc((0.527, -0.527), (0, -0.745)).threePointArc((-0.527, -0.527), (-0.745, 0)).threePointArc((-0.527, 0.527), (0, 0.745)).... | 9 | 168 | 1.315835 |
train_b8e86266f5b77185 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.075), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.92, 0.5).lineTo(-0.92, 0.08).lineTo(0.92, 0.08).lineTo(0.92, 0.5).lineTo(1, 0.5).close().extrude(0.636, both=True)
result = resul... | 8 | 46 | 0.542781 |
train_a30f8f302e77eddb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.529, 0.012), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.456, 0.519).lineTo(0.423, 0.305).threePointArc((0.324, 0.225), (0.229, 0.159)).threePointArc((0.152, 0.052), (0.035, -0.025)).lineTo(-0.2, -0.037).threePointArc((-0.357, 0.022), (... | 9 | 106 | 1.084285 |
train_17322e21ee9e23c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.159, 0.21, -0.163), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.346, 1.08).threePointArc((0.693, 0.936), (0.837, 0.589)).lineTo(0.837, -0.271).threePointArc((0.693, -0.618), (0.346, -0.762)).lineTo(-0.346, -0.762).threePointArc((-0.693, -0.618)... | 16 | 68 | 0.847952 |
train_3597e22ea6c9d404 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.015, -0.094, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.862, 0.812).threePointArc((0.862, 0.357), (-0.551, -0.812)).lineTo(-0.862, 0.812).close().extrude(0.37, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.115, 0), nor... | 11 | 72 | 1.355182 |
train_99341273659d7e0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.054, 0.477, 0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.478, 0.211).threePointArc((0.211, -0.478), (-0.478, -0.211)).threePointArc((-0.211, 0.478), (0.478, 0.211)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.054, 0.477, 0.073), norma... | 5 | 15 | 0.171872 |
train_18fd2f568fb923d2 | 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.243).threePointArc((0.99, -0.265), (0.968, -0.274)).lineTo(-0.923, -0.274).threePointArc((-0.977, -0.252), (-1, -0.198)).lineTo(-1, 0.225).threePointArc((-0.984, 0.26)... | 7 | 23 | 0.144768 |
train_4bc06424ffe8fb56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, 0.001, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.908, 0.2).lineTo(0.946, 0.16).threePointArc((0.983, 0.12), (0.932, 0.095)).lineTo(0.092, -0.204).threePointArc((0.041, -0.229), (-0.048, -0.214)).lineTo(-0.806, -0.123).threePointA... | 22 | 190 | 0.091412 |
train_29710e6a6fe53efb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.112, -0.56, -0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.171, 0.417).lineTo(-0.136, 0.428).lineTo(-0.1, 0.434).lineTo(-0.063, 0.435).lineTo(-0.027, 0.432).lineTo(0.01, 0.424).lineTo(0.045, 0.411).lineTo(0.078, 0.394).lineTo(0.11, 0.373... | 8 | 258 | 0.438179 |
train_311af63dbb83060e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.326, -0.136, 0.513), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.037, 0.863).threePointArc((0.178, 0.757), (0.346, 0.448)).threePointArc((0.421, 0.018), (0.383, -0.416)).threePointArc((0.243, -0.739), (0.037, -0.863)).threePointArc((-0.178, -... | 12 | 96 | 0.641865 |
train_3c955458a12d14fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.576), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.873).lineTo(0.333, 0.291).lineTo(1, 0.291).lineTo(1, -0.291).lineTo(0.333, -0.291).lineTo(0.333, -0.873).lineTo(-0.333, -0.873).lineTo(-0.333, -0.291).lineTo(-1, -0.291).lineTo(-1, ... | 3 | 44 | 0.841667 |
train_e9f582861f1a3605 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.029, 0.075, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.686, 0.811).threePointArc((1.016, 0.527), (0.916, 0.154)).threePointArc((0.073, -0.723), (-0.084, -0.932)).threePointArc((-0.786, -0.899), (-1.016, -0.242)).threePointArc((-0.173, 0.63... | 5 | 74 | 0.369602 |
train_96931a4111e9d5ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.395).lineTo(1, -0.38).threePointArc((0.996, -0.39), (0.986, -0.395)).lineTo(-1, -0.395).lineTo(-1, 0.383).threePointArc((-0.997, 0.39), (-0.989, 0.395)).lineTo(1, 0.395).close().extrude... | 2 | 9 | 0.248713 |
train_7e4bf675278b871d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.213, 0.287, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.472, 0.629).lineTo(0.472, 0.315).lineTo(0.786, 0.315).lineTo(0.786, -0.629).lineTo(-0.472, -0.629).lineTo(-0.472, -0.315).lineTo(-0.786, -0.315).lineTo(-0.786, 0).lineTo(0.157, 0)... | 25 | 149 | 0.799437 |
train_97531055be295388 | 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.66, 0.744).lineTo(1, 0.404).lineTo(1, -0.285).lineTo(0.541, -0.744).lineTo(-0.596, -0.744).lineTo(-1, -0.342).lineTo(-1, 0.243).lineTo(-0.499, 0.744).lineTo(0.66, 0.744).close().extrude(0.... | 7 | 69 | 1.015461 |
train_a77fe37d708c98bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.832, 0.842).lineTo(1, 0.674).lineTo(1, -0.842).lineTo(-0.783, -0.842).lineTo(-1, -0.625).lineTo(-1, 0.61).threePointArc((-0.931, 0.773), (-0.768, 0.842)).lineTo(0.832, 0.842).close().extru... | 12 | 51 | 1.404618 |
train_1cde1ba74b56ccd7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-7.063, -2, -8.047), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(7.177, 2.999).threePointArc((7.605, 2.837), (7.785, 2.452)).lineTo(7.785, 1.331).threePointArc((7.676, 1.098), (7.417, 1)).lineTo(3.846, 1).threePointArc((3.488, 0.864), (3.337, 0.542)... | 14 | 13 | 3.58395 |
train_490e4b61c07ecfe1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.659, -0.155, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.159, 0.441).threePointArc((0.341, 0.259), (0.159, 0.078)).lineTo(-0.159, 0.078).threePointArc((-0.341, 0.259), (-0.159, 0.441)).lineTo(0.159, 0.441).close().revolve(angleDegrees=270, a... | 9 | 91 | 1.065223 |
train_827593b8952ede50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.064, -0.098, -0.32), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.062, 0.081).threePointArc((0.101, 0.042), (0.062, 0.002)).lineTo(-0.062, 0.002).threePointArc((-0.101, 0.042), (-0.062, 0.081)).lineTo(0.062, 0.081).close().extrude(0.276)
result ... | 10 | 255 | 0.049952 |
train_7d258e2afbbf9d6c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, -0.005, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, 0.765).threePointArc((0.987, 0.498), (0.891, 0.072)).threePointArc((0.148, -0.684), (-0.021, -0.8)).threePointArc((-0.233, -0.855), (-0.681, -0.757)).threePointArc((-0.987, -... | 5 | 15 | 0.806953 |
train_be5c6b856d6ff345 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.905, 0.998).threePointArc((0.954, 0.983), (0.975, 0.947)).lineTo(0.975, -0.619).threePointArc((0.823, -0.886), (0.464, -0.998)).lineTo(-0.65, -0.998).threePointArc((-0.879, -0.927), (-0... | 10 | 24 | 1.16457 |
train_80111e4fd08dad01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.234, 4.491, -2.606), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-2.953, 2.799).lineTo(0.227, 0.43).lineTo(4.982, -0.405).lineTo(5.89, -1.082).lineTo(6.345, -1.421).lineTo(4.316, -2.618).threePointArc((0.925, -2.799), (-3.83, -1.965)).lineTo(-4.28... | 25 | 26 | 2.200141 |
train_c1b0660b4674d6ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.178, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.444, 0.489).lineTo(0.444, 0.196).lineTo(1.331, 0.293).lineTo(0.739, 0).lineTo(1.331, -0.293).lineTo(0.444, -0.196).lineTo(-0.444, -0.489).lineTo(-0.444, -0.098).lineTo(-1.331, 0).lineTo(-0... | 6 | 29 | 0.105053 |
train_d4efbd27407c2f53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.061, -0.098, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.53).extrude(1.702)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.061, -0.098, 0.192), normal=(0.571, 0, 0.821), xDir=(0.821, 0, -0.571))).circle(0.136).extrude(0.889))
r... | 12 | 92 | 0.648951 |
train_b8cd3b50af9e8cbd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.061, -0.434), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.096).lineTo(0, 0.032).lineTo(0.771, 0.032).lineTo(0.771, -0.032).lineTo(0, -0.032).lineTo(0, -0.096).lineTo(-0.385, -0.096).lineTo(-0.385, -0.032).lineTo(-0.771, -0.032).lineTo(-0.7... | 18 | 149 | 0.26038 |
train_5aaccf520ee2af9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.184), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.265).lineTo(0.773, 0).lineTo(1, -0.265).lineTo(0.338, -0.265).lineTo(0.338, 0.265).lineTo(1, 0.265).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = re... | 12 | 55 | 0.879431 |
train_ea163d0269dce63d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.601).threePointArc((0.973, 0.583), (1, 0.537)).lineTo(1, -0.601).lineTo(-0.88, -0.601).lineTo(-1, -0.49).lineTo(-1, 0.46).threePointArc((-0.95, 0.56), (-0.849, 0.601)).lineTo(0.926,... | 10 | 174 | 0.534585 |
train_4c60ee09d7499c2b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.182), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.233).lineTo(0.633, 0).lineTo(1, -0.233).lineTo(0.327, -0.233).lineTo(0.327, 0.233).lineTo(1, 0.233).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 14 | 94 | 0.688878 |
train_cb365510de08f51e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.147, 0.01, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.036, 0.961).lineTo(0.852, 0.487).lineTo(0.01, -0.961).lineTo(-0.852, -0.46).threePointArc((-0.621, 0.104), (0.036, 0.961)).close().extrude(0.404, taper=-1.329)
result = result.cut(c... | 37 | 263 | 1.965916 |
train_8b1aa7fca3aca6f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.045), normal=(-0.948, -0.193, 0.253), xDir=(0.2, -0.98, 0))).moveTo(0.082, 0.404).lineTo(0.113, -0.042).lineTo(0.123, -0.191).lineTo(-0.082, -0.404).lineTo(-0.092, -0.256).lineTo(-0.123, 0.191).lineTo(-0.107, 0.207).lineTo(-0.076, -0.239).... | 11 | 598 | 0.303136 |
train_55104969d6c1c57f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.774, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.205, 0.226).lineTo(0.205, -0.226).lineTo(-0.205, -0.226).lineTo(-0.205, -0.113).lineTo(-0.103, -0.113).lineTo(-0.103, 0).lineTo(0, 0).lineTo(0, 0.113).lineTo(0.103, 0.113).lineTo(0.103, 0.... | 4 | 15 | 0.6183 |
train_5c6c520de4631b30 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.883, 0.72).threePointArc((0.965, 0.695), (1, 0.636)).lineTo(1, -0.496).threePointArc((0.908, -0.654), (0.689, -0.72)).lineTo(-0.588, -0.72).threePointArc((-0.878, -0.632), (-1, -0.424)).lin... | 10 | 38 | 1.580399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.