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_cc56032dab99e9ee | 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.012, 0.088).threePointArc((0.033, 0.086), (0.052, 0.074)).threePointArc((0.065, 0.06), (0.076, 0.055)).threePointArc((0.088, 0.057), (0.105, 0.059)).threePointArc((0.121, 0.055), (0.134, 0.045... | 6 | 60 | 0.048743 |
train_4911a5168e65e2b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.649, 0.52).lineTo(1.011, 0.495).lineTo(1.042, 0.336).lineTo(1.059, 0.092).lineTo(1.012, -0.07).lineTo(0.881, -0.366).lineTo(0.663, -0.659).threePointArc((0.589, -0.725), (0.509, ... | 5 | 113 | 0.332284 |
train_7c8937b9b97fe017 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.14, 0.184, 0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.106, 0.122).threePointArc((0.153, 0.094), (0.368, 0.079)).lineTo(0.515, 0.052).threePointArc((0.861, -0.358), (-0.091, -0.249)).threePointArc((-0.14, -0.231), (-0.317, -0.235)).three... | 31 | 179 | 1.309397 |
train_edc6e073fee3abc5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, 0.142, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.123, 1.132).threePointArc((0.186, 1.072), (0.232, 1.002)).threePointArc((0.298, 0.954), (0.411, 0.914)).threePointArc((0.538, 0.841), (0.607, 0.726)).threePointArc((0.576, 0.602), (0.4... | 1 | 18 | 1.868267 |
train_827ed98ae7974c13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, 0.2).lineTo(1, 0.105).lineTo(1, -0.078).lineTo(0.877, -0.2).lineTo(-0.889, -0.2).threePointArc((-0.967, -0.168), (-1, -0.09)).lineTo(-1, 0.2).lineTo(0.904, 0.2).close().extrude(0... | 11 | 97 | 0.288356 |
train_8d27ca34fc13d055 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.308, 0.001, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.384, 0.28).lineTo(1.384, 0.215).threePointArc((1.322, 0.18), (1.174, 0.165)).lineTo(0.913, 0.165).threePointArc((0.757, 0.149), (0.692, 0.112)).lineTo(0.692, -0.13).threePointArc((... | 3 | 41 | 0.139207 |
train_bccfe214606e6509 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.65).lineTo(1, -0.387).lineTo(0.737, -0.65).lineTo(-0.883, -0.65).threePointArc((-0.965, -0.616), (-1, -0.534)).lineTo(-1, 0.514).lineTo(-0.864, 0.65).lineTo(1, 0.65).close().extrude(0.3... | 5 | 39 | 0.67627 |
train_53a9ad356c24507d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.948).lineTo(1, -0.653).lineTo(0.704, -0.948).lineTo(-0.446, -0.948).threePointArc((-0.838, -0.786), (-1, -0.395)).lineTo(-1, 0.677).lineTo(-0.729, 0.948).lineTo(1, 0.948).close().extrud... | 13 | 53 | 0.681031 |
train_6e33705547bbbf87 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.839)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.758).extrude(2.516, both=True))
result = result.union(cq.Workplan... | 12 | 120 | 1.323676 |
train_96144efa4d0de9a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.104, -0.003, -0.252), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.031, 0.269).lineTo(1.104, 0.197).lineTo(1.104, -0.179).threePointArc((1.077, -0.243), (1.014, -0.269)).lineTo(-1.104, -0.269).lineTo(-1.104, 0.146).threePointArc((-1.067, 0.232), ... | 18 | 115 | 0.179223 |
train_7f4c5096962d719d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.05), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.515).lineTo(1, 0.585).lineTo(0.148, 0.585).lineTo(0.148, 0).lineTo(0, 0).lineTo(0, 1.515).lineTo(1, 1.515).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
resu... | 6 | 38 | 2.711076 |
train_7e1dc4c889bc33b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.826, 0.451, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.51, 1.505).threePointArc((0.863, 1.358), (1.009, 1.005)).lineTo(1.009, 0.646).threePointArc((0.863, 0.293), (0.51, 0.147)).lineTo(-0.51, 0.147).threePointArc((-0.863, 0.293), (-1.009, ... | 7 | 61 | 1.787248 |
train_d527b8581580eff8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.363, 0, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.112, 0.112).lineTo(0.155, 0.068).lineTo(0.155, -0.076).lineTo(0.12, -0.112).lineTo(-0.063, -0.112).threePointArc((-0.128, -0.084), (-0.155, -0.019)).lineTo(-0.155, 0.112).lineTo(0.112... | 6 | 25 | 0.612743 |
train_e652fa2a72d1d03f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.153, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.214, 0.771).threePointArc((0.336, 0.732), (0.45, 0.677)).threePointArc((0.554, 0.605), (0.645, 0.52)).threePointArc((0.722, 0.423), (0.782, 0.316)).threePointArc((0.824, 0.201), (0.847... | 10 | 117 | 0.680232 |
train_16851263b4c7c6bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.272, 1).threePointArc((0.36, 0.954), (0.398, 0.865)).lineTo(0.398, 0.318).threePointArc((0.433, 0.234), (0.517, 0.199)).lineTo(0.681, 0.199).threePointArc((0.763, 0.165), (0.796, 0.084)).li... | 5 | 53 | 0.249155 |
train_8a2f909fe2b425b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.044, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.242, 0.667).threePointArc((0.306, 0.64), (0.333, 0.576)).lineTo(0.333, 0.384).threePointArc((0.348, 0.348), (0.384, 0.333)).lineTo(0.875, 0.333).threePointArc((0.962, 0.296), (1, 0.209... | 13 | 88 | 0.607157 |
train_90f05c11f43dd0dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0.514, 0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.543, 0).threePointArc((0, -0.543), (-0.543, 0)).threePointArc((0, 0.543), (0.543, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.069, 0.514, 0.006), normal=(0, -1, 0), xDir=(1,... | 2 | 9 | 0.633367 |
train_81e993839f110f29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.757, 0.83).threePointArc((0.926, 0.731), (0.998, 0.497)).lineTo(0.998, -0.051).threePointArc((0.949, -0.21), (0.834, -0.277)).lineTo(0.278, -0.277).threePointArc((0.223, -0.309), (0.2... | 9 | 74 | 0.730567 |
train_73b05051adb1f43e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.031, 0.25, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.866, 1.249).lineTo(-0.75, 1.132).lineTo(-0.75, 0.862).lineTo(-0.637, 0.75).lineTo(-0.329, 0.75).lineTo(-0.25, 0.671).lineTo(-0.25, -0.116).lineTo(-0.116, -0.25).lineTo(0.092, -0.25).li... | 13 | 101 | 0.808098 |
train_e80dbf820e89f7dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.286, -0.12, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.428, 1.724, 1.087)
result = result.edges().fillet(0.256)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.286, -0.12, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.214).extr... | 10 | 43 | 1.214521 |
train_bf95799bdd653074 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.27, -0.967), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.516, 0.487).lineTo(0.876, 0.311).lineTo(0.997, 0.134).threePointArc((0.992, 0.035), (0.958, -0.062)).threePointArc((0.924, -0.117), (0.878, -0.17)).threePointArc((0.806, -0.234), (0... | 10 | 182 | 3.013514 |
train_abffd5ff14dcb5aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, -0.124, -0.129), normal=(0.048, -0.511, -0.858), xDir=(0.996, 0.093, 0))).moveTo(0, 0.469).lineTo(0.336, 0.313).lineTo(0.504, 0).lineTo(0.336, -0.313).lineTo(0, -0.469).lineTo(-0.336, -0.313).lineTo(-0.504, 0).lineTo(-0.336, 0.313).lineTo(0... | 4 | 62 | 0.846339 |
train_db2138f2e8c57ab3 | 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.394, 0.394).lineTo(0.394, -0.394).lineTo(-0.394, -0.394).lineTo(-0.394, 0.394).lineTo(0.394, 0.394).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.291), normal=(0... | 8 | 198 | 0.928646 |
train_4878675adfd108d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.822, 0.408, 0.078), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.105, 0.588).lineTo(0.174, 0.304).lineTo(0.383, 0.1).lineTo(0.099, 0.031).lineTo(-0.105, -0.177).lineTo(-0.174, 0.106).lineTo(-0.383, 0.31).lineTo(-0.099, 0.379).lineTo(0.105, 0.588... | 5 | 73 | 0.318348 |
train_c3b029ce909ca36b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.815).lineTo(1, -0.835).lineTo(-0.955, -0.835).lineTo(-1, -0.793).lineTo(-1, 0.798).lineTo(-0.962, 0.835).lineTo(0.98, 0.835).threePointArc((0.993, 0.83), (1, 0.815)).close().extrude(0.71... | 16 | 204 | 2.156343 |
train_c6ad12853f9c2e60 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0.369, -0.713), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.63).extrude(0.796)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.632, 0.369, -0.713), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.054, 0.256), (-0.208, 0.469),... | 7 | 193 | 0.856272 |
train_6861e4d161ad01ed | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.133, 1.728)
result = result.edges().fillet(0.053)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.605, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.033, -0.356).lineTo(0.003, -0.515).lineTo(0.123, -0.674).threePointArc((0.117, -0.724), (... | 7 | 127 | 2.894676 |
train_ad3487a8d132101e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.82, 2).lineTo(0.82, 0.536).lineTo(0.806, 0.536).lineTo(0.806, 0).lineTo(0.346, 0).lineTo(0.346, 2).lineTo(0.82, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0... | 13 | 159 | 2.574717 |
train_286bf362eb9ec679 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.425, 0.456, 0.461), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.963).threePointArc((0.38, 0.806), (0.538, 0.425)).threePointArc((0.38, 0.045), (0, -0.113)).threePointArc((-0.38, 0.045), (-0.538, 0.425)).threePointArc((-0.38, 0.806), (0, 0.96... | 4 | 15 | 0.723442 |
train_d33e29dcaff2dea3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.012, 0.122).lineTo(0.037, 0.117).lineTo(0.081, 0.092).lineTo(0.111, 0.05).lineTo(0.122, 0).lineTo(0.111, -0.05).lineTo(0.081, -0.092).lineTo(0.037, -0.117).lineTo(-0.012, -0.122).lineTo(-0... | 6 | 34 | 0.109899 |
train_1a3baeea23771007 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.65), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.595, 0.38).lineTo(0.595, -0.284).lineTo(0.5, -0.38).lineTo(-0.503, -0.38).threePointArc((-0.568, -0.354), (-0.595, -0.289)).lineTo(-0.595, 0.284).threePointArc((-0.567, 0.351), (-0.499, 0.3... | 19 | 523 | 0.318513 |
train_ceeb078b65088f1b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.814, 2).extrude(0.264)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.134, -0.036), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.099, 0.759).lineTo(0.017, 0.65).lineTo(0.149, 0.432)... | 13 | 70 | 0.228489 |
train_599ae400ac7cac19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.209, -0.368, -0.639), normal=(-0.657, -0.234, 0.717), xDir=(0.335, -0.942, 0))).moveTo(0.25, 0.285).lineTo(0.25, 0.041).lineTo(-0.179, 0.041).lineTo(-0.179, -0.041).lineTo(0.25, -0.041).lineTo(0.25, -0.285).lineTo(-0.25, -0.285).lineTo(-0.25, -... | 12 | 232 | 0.935551 |
train_94caffa2fac61c21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.339, 1).threePointArc((0.452, 0.952), (0.5, 0.839)).lineTo(0.5, -0.413).threePointArc((0.474, -0.474), (0.413, -0.5)).lineTo(0.176, -0.5).threePointArc((0.052, -0.552), (0, -0.676)).lineTo... | 2 | 50 | 0.931957 |
train_fcf1327b6ae34df2 | 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.154, 0.316).threePointArc((0.21, 0.293), (0.233, 0.237)).lineTo(0.233, -0.237).threePointArc((0.21, -0.293), (0.154, -0.316)).lineTo(-0.154, -0.316).threePointArc((-0.21, -0.293), (-0.233, -0.... | 2 | 18 | 0.514485 |
train_b8526d097f5f6940 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.464, 0.882).threePointArc((0.882, -0.464), (-0.464, -0.882)).threePointArc((-0.882, 0.464), (0.464, 0.882)).close().extrude(0.378, taper=-0.425, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.138, 0.54, -0.492), normal=(0, 0, 1), xDi... | 7 | 138 | 2.234615 |
train_1cab6325b2188488 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.317).lineTo(0.785, 0).lineTo(1, -0.317).lineTo(0.326, -0.317).lineTo(0.326, 0.317).lineTo(1, 0.317).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane('XY').circle(0.421).extrude(1.262, both... | 11 | 52 | 0.682006 |
train_0fc1f62e26679ae6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.53), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 1).lineTo(1.052, 0).lineTo(0.325, -1).lineTo(-0.85, -0.618).lineTo(-0.85, 0.618).lineTo(0.325, 1).close().extrude(1.059)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.951, ... | 5 | 35 | 2.260728 |
train_eed73d11e66ed86a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.442, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.954, -0.206).lineTo(0.451, -0.206).lineTo(0.451, -0.389).lineTo(0.425, -0.369).lineTo(0.335, -0.369).lineTo(0.335, -0.389).lineTo(0.248, -0.389).threePointArc((0.076, -0.291), (0.076, -0.3... | 7 | 70 | 0.733296 |
train_64ecc7d30e63db91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.077, -0.856), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.269).lineTo(1, -0.276).lineTo(0.973, -0.293).lineTo(-0.98, -0.293).lineTo(-1, -0.28).lineTo(-1, 0.28).lineTo(-0.978, 0.293).lineTo(0.967, 0.293).lineTo(1, 0.269).close().extrude(1.7... | 10 | 165 | 1.27268 |
train_e62d7335bf222a0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.044, -0.059, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.381, 0.175).threePointArc((0.469, 0.197), (0.419, 0.124)).lineTo(0.398, 0.016).threePointArc((0.425, -0.021), (0.389, -0.05)).lineTo(0.387, -0.084).lineTo(0.423, -0.104).lineTo(0.434... | 6 | 129 | 0.453951 |
train_b86d0be700c00e7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.154, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.394, 0.219).threePointArc((0.406, 0.215), (0.411, 0.203)).lineTo(0.411, 0.117).threePointArc((0.399, 0.091), (0.372, 0.08)).lineTo(0.297, 0.08).threePointArc((0.273, 0.07), (0.262, 0... | 7 | 161 | 0.426464 |
train_fc3f8acadc11d355 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.084, 0.262, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.32, 0.981).threePointArc((0.496, 0.988), (0.64, 0.885)).threePointArc((0.778, 0.828), (0.835, 0.69)).lineTo(0.835, -0.589).threePointArc((0.778, -0.727), (0.64, -0.784)).lineTo(0.32, -... | 5 | 34 | 0.576987 |
train_5929737a00599db1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, -0.584, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.079, 0.296).threePointArc((0.151, 0), (0.079, -0.296)).lineTo(-0.079, -0.296).threePointArc((-0.151, 0), (-0.079, 0.296)).lineTo(0.079, 0.296).close().extrude(1.046)
result = resu... | 12 | 110 | 0.787877 |
train_c713ae10c8979d64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.136, 0.377, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.562, 0.147).threePointArc((0.628, 0.109), (0.592, 0.03)).threePointArc((0.593, -0.121), (0.49, 0.007)).lineTo(-0.269, -0.139).threePointArc((-0.628, -0.147), (-0.311, -0.017)).lin... | 19 | 172 | 0.434034 |
train_23c99d9f7ff46dcc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.053, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.226).lineTo(0.5, 0.096).threePointArc((0.526, 0.086), (0.588, 0.082)).lineTo(0.837, 0.082).threePointArc((0.949, 0.074), (1, 0.056)).lineTo(1, 0.032).threePointArc((0.939, 0.009)... | 19 | 247 | 0.073654 |
train_6947ca41bad88a0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.684, -0.599, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.367).threePointArc((0.966, 0.966), (1.367, 0)).lineTo(0.691, 0).threePointArc((0.487, 0.487), (0, 0.691)).lineTo(0, 1.367).close().extrude(2)
result = result.union(cq.Workplane(cq... | 8 | 55 | 1.259899 |
train_5dd6d01029166f88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.592), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.184).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.184).lineTo(-0.678, 1.184).lineTo(-0.678, 0.317).lineTo(0.678, 0.317).lineTo(0.678, 1.184).lineTo(1, 1.184).close().extrude(0.571, both=Tru... | 8 | 36 | 1.062084 |
train_7b45daa635f20a3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.042, -0.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.93).lineTo(1, -0.93).lineTo(-1, -0.93).lineTo(-1, 0.93).lineTo(-0.556, 0.93).lineTo(-0.556, -0.608).lineTo(0.556, -0.608).lineTo(0.556, 0.93).lineTo(1, 0.93).close().extrude(0.167)... | 5 | 38 | 0.394924 |
train_005d369c99e63d3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.336, 0.247).threePointArc((0.356, 0.238), (0.365, 0.217)).lineTo(0.365, -0.179).threePointArc((0.345, -0.227), (0.298, -0.247)).lineTo(-0.326, -0.247).threePointArc((-0.353, -0.235), (-0.3... | 10 | 68 | 0.360151 |
train_d0e233eb776351bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.442, 0.225, 0.141), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.323, 0.485).threePointArc((-0.292, 0.469), (-0.257, 0.473)).lineTo(-0.257, -0.038).lineTo(0.588, -0.038).lineTo(0.588, -0.369).lineTo(0.196, -0.442).lineTo(-0.196, -0.311).threePo... | 10 | 124 | 0.750872 |
train_744fbfb7ddd66323 | 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.438, 0.262).lineTo(0.448, 0.163).lineTo(0.265, 0.145).lineTo(0.293, -0.134).lineTo(0.476, -0.116).lineTo(0.486, -0.214).lineTo(0.017, -0.262).lineTo(0.007, -0.163).lineTo(0.19, -0.145).lineTo(... | 5 | 55 | 0.352374 |
train_4456bac89f7daaad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.606), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.75).threePointArc((0.972, 0.73), (1, 0.683)).lineTo(1, 0.438).threePointArc((0.958, 0.356), (0.876, 0.323)).lineTo(-0.393, 0.323).threePointArc((-0.517, 0.271), (-0.569, 0.147)).lin... | 13 | 112 | 1.776027 |
train_c61c5ba4fbc6f041 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.145, 0.253, 0.657), normal=(0.809, 0.226, -0.543), xDir=(-0.269, 0.963, 0))).moveTo(0.656, 0.877).lineTo(0.656, -0.439).lineTo(0, -0.439).lineTo(0, -0.877).lineTo(-0.656, -0.877).lineTo(-0.656, 0).lineTo(0, 0).lineTo(0, 0.877).lineTo(0.656, 0.8... | 11 | 79 | 0.921303 |
train_774a2f8e805f7b21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.662, 0.329).lineTo(0.662, 0.219).threePointArc((0.994, 0), (0.662, -0.329)).lineTo(-0.662, -0.219).threePointArc((-0.994, 0), (-0.662, 0.329)).close().moveTo(-0.662, 0.219).lineTo(0.662, ... | 14 | 100 | 0.228295 |
train_188bc2864d18b99d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.042, 0.005, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.677, -0.331).threePointArc((0.097, 0.993), (0.677, -0.441)).lineTo(0.677, -0.883).threePointArc((0.484, -0.993), (0.097, -0.883)).threePointArc((0.097, -0.331), (0.677, -0.11)).th... | 23 | 46 | 0.205494 |
train_a38e34af021bed36 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.081, 0.099, 0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 0.208).threePointArc((0.208, -0.774), (-0.774, -0.208)).threePointArc((-0.208, 0.774), (0.774, 0.208)).close().extrude(0.561, taper=-10.302, both=True)
result = result.union(cq... | 7 | 37 | 3.616404 |
train_1903cc1339b765b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.925, 0.697, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.02, 1.666).threePointArc((0.401, 1.594), (0.721, 1.407)).threePointArc((0.931, 1.136), (0.999, 0.818)).threePointArc((0.916, 0.505), (0.692, 0.244)).threePointArc((0.364, 0.073), (-0.0... | 23 | 14 | 5.857976 |
train_ed94470a4d13eed5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.852, 0.784).threePointArc((0.956, 0.74), (1, 0.636)).lineTo(1, 0.272).threePointArc((0.974, 0.211), (0.914, 0.186)).lineTo(0.421, 0.186).threePointArc((0.336, 0.149), (0.299, 0.064)).lineT... | 11 | 75 | 1.987809 |
train_c3749b922a2a41c3 | 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(0.614, 1).lineTo(0.614, -0.609).threePointArc((0.502, -0.879), (0.228, -1)).lineTo(-0.614, -1).lineTo(-0.614, 1).lineTo(0.614, 1).close().extrude(0.188)
result = result.cut(cq.Workplane(cq.P... | 7 | 60 | 0.206152 |
train_162d1d22ff10ba51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.203, 0.044, 0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.031, 0.154).lineTo(0.101, 0.023).lineTo(-0.031, -0.047).lineTo(-0.101, 0.085).lineTo(0.031, 0.154).close().extrude(0.64)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.203,... | 15 | 69 | 1.381205 |
train_4ec7b8b839bfda44 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.424, 0.213).lineTo(0.424, 0).lineTo(-0.424, 0).lineTo(-0.424, 0.213).lineTo(-0.368, 0.213).lineTo(-0.368, 0.056).lineTo(0.368, 0.056).lineTo(0.368, 0.213).lineTo(0.424, 0.213).close().ext... | 10 | 65 | 0.157083 |
train_b2493759075a110b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.197, 0, 0.008), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.407, 0.369).lineTo(0.803, 0.246).lineTo(0.686, -0.16).threePointArc((0.627, -0.364), (0.365, -0.508)).threePointArc((0.22, -0.246), (0.279, -0.043)).lineTo(0.338, 0.16).lineTo(0.394, ... | 6 | 104 | 0.975046 |
train_448c19d565ffb952 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.28, 0.481), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.507, 0.023).threePointArc((0.524, -0.037), (0.681, -0.134)).threePointArc((0.536, -0.151), (0.403, -0.148)).threePointArc((0.404, -0.184), (0.371, -0.203)).lineTo(0.394, -0.381).threePo... | 10 | 440 | 1.011749 |
train_5c65f3f3be4d3c4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.26, -0.465, -0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.259).threePointArc((0.889, 0.889), (1.259, 0)).lineTo(0.873, 0).threePointArc((0.617, 0.617), (0, 0.873)).lineTo(0, 1.259).close().extrude(0.689)
result = result.union(cq.Workp... | 5 | 35 | 0.908813 |
train_5c6ad132fe5658cd | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.104, 0.098).threePointArc((0.109, 0.096), (0.111, 0.091)).lineTo(0.111, 0.068).threePointArc((0.109, 0.064), (0.105, 0.063)).lineTo(0.043, 0.063).threePointArc((0.025, 0.055), (0.017, 0.037)).lineTo(0.017, -0.094).threePointArc((0.016, -0.096), (0.0... | 1 | 18 | 0.026802 |
train_c8e7e9ae101b882b | 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(1, 0.52).lineTo(1, -0.478).lineTo(0.956, -0.478).lineTo(0.956, -0.52).lineTo(-0.955, -0.52).threePointArc((-0.986, -0.508), (-1, -0.477)).lineTo(-1, 0.458).lineTo(-0.936, 0.52).lineTo(1, 0.5... | 14 | 83 | 0.290199 |
train_a3539a82887f39cb | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.365, 0.882).lineTo(0.563, 0.567).lineTo(0.048, 0.292).lineTo(0.296, -0.108).lineTo(0.812, 0.169).lineTo(1.006, -0.15).lineTo(-0.365, -0.882).lineTo(-0.514, -0.647).lineTo(0.002, -0.371).lineTo(-0.296, 0.108).lineTo(-0.812, -0.169).lineTo(-1.006, 0.1... | 2 | 79 | 0.898313 |
train_f86fc04cb33fe963 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.021, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.737, 0.428).threePointArc((0.821, 0.394), (0.855, 0.311)).lineTo(0.855, -0.281).threePointArc((0.813, -0.385), (0.708, -0.428)).lineTo(-0.741, -0.428).lineTo(-0.741, -0.314).lineTo(-0.855... | 13 | 111 | 0.440413 |
train_3944e4f1fd2d3f6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.924), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.507, 1.138).lineTo(1, -0.473).lineTo(-0.561, -0.929).lineTo(-1, 0.56).lineTo(0.507, 1.138).close().extrude(1.848)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 1.124, -2.581), ... | 18 | 601 | 3.147219 |
train_a7850e7812d6c08d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.242, 0.332).lineTo(-0.242, -0.121).lineTo(0.697, -0.121).lineTo(0.697, -0.332).lineTo(-0.697, -0.332).lineTo(-0.697, 0.332).lineTo(-0.242, 0.332).close().extrude(1, taper=-11.224, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.7... | 10 | 58 | 1.755889 |
train_9b63868acaddbb3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.819, 0.77).lineTo(0.819, -0.77).threePointArc((-0.819, 0), (0.819, 0.77)).close().extrude(0.597, taper=1.616)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.111, -0.256, -0.042), nor... | 8 | 34 | 1.785315 |
train_ec9b9cd41300a70a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.186, 0.28, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.503, 0.743).lineTo(-0.503, -0.493).lineTo(0.814, -0.493).lineTo(0.814, -0.743).lineTo(-0.814, -0.743).lineTo(-0.814, 0.743).lineTo(-0.503, 0.743).close().extrude(0.157)
result = r... | 11 | 108 | 0.691548 |
train_609480edf6bc8a64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, -0.024, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.129, 0.834).threePointArc((0.354, 0.701), (0.31, 0.614)).lineTo(0.747, 0.393).threePointArc((0.834, -0.091), (0.615, -0.09)).lineTo(0.569, -0.617).threePointArc((0.129, -0.834), (... | 9 | 172 | 0.409402 |
train_825f1b387ec5dbd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.898, 0.499).threePointArc((0.969, 0.47), (1, 0.398)).lineTo(1, -0.358).threePointArc((0.958, -0.458), (0.858, -0.499)).lineTo(-0.905, -0.499).threePointArc((-0.972, -0.472), (-1, -0.406)).... | 15 | 278 | 0.495668 |
train_8bbea2ee2a932039 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.348, -0.383, -0.047), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.136, 0.28).lineTo(0.136, 0.136).lineTo(0.753, 0.136).lineTo(0.753, 0).lineTo(0, 0).lineTo(0, 0.28).lineTo(0.136, 0.28).close().extrude(0.617, both=True)
result = result.union(cq... | 14 | 168 | 0.191146 |
train_c6a05978c701d9fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.083, -0.008, -0.51), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.708, 0.338).threePointArc((0.514, -0.913), (-0.518, 0.116)).lineTo(-0.779, 0.817).threePointArc((-0.762, 0.913), (-0.45, 0.896)).lineTo(-0.155, 0.095).threePointArc((-0.32, -0.335... | 11 | 70 | 1.058438 |
train_fea121bdb8742524 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.028, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.258, 0.457).threePointArc((0.365, 0.414), (0.41, 0.306)).lineTo(0.41, -0.252).threePointArc((0.349, -0.398), (0.204, -0.457)).lineTo(-0.221, -0.457).threePointArc((-0.354, -0.402), (-0... | 10 | 256 | 1.046968 |
train_10318581c5c997bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(-0.992, -0.125, -0.005), xDir=(0.125, -0.992, 0))).moveTo(0.462, 0.423).lineTo(0.462, 0.135).lineTo(-0.2, 0.135).lineTo(-0.2, -0.135).lineTo(0.462, -0.135).lineTo(0.462, -0.423).lineTo(-0.462, -0.423).lineTo(-0.462, 0.423).lineTo... | 2 | 18 | 1.140679 |
train_717733f0f2089433 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.418).lineTo(1, -0.418).lineTo(-0.726, -0.418).threePointArc((-0.913, -0.34), (-1, -0.149)).lineTo(-1, 0.161).lineTo(-0.738, 0.418).lineTo(1, 0.418).close().extrude(0.331)
result = resul... | 7 | 63 | 0.13593 |
train_2f94835327541dd5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.169, 0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, 0.678).threePointArc((1, 0), (0.746, -0.678)).lineTo(0, -0.678).lineTo(-0.746, -0.678).threePointArc((-1, 0), (-0.746, 0.678)).lineTo(0, 0.678).lineTo(0.746, 0.678).close().extrud... | 8 | 126 | 1.13959 |
train_fa7afd129635d6ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.802, 0).threePointArc((0, -0.802), (-0.802, 0)).threePointArc((0, 0.802), (0.802, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.999), normal=(0, -1, 0), xDir=(1, 0, 0... | 13 | 17 | 2.185003 |
train_a781236bc674d0dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.223).lineTo(0.067, -0.251).lineTo(-0.697, -0.223).lineTo(-1, -0.191).lineTo(-0.953, -0.171).lineTo(-0.542, -0.144).lineTo(-0.837, -0.111).lineTo(-0.802, -0.092).lineTo(-0.387, -0.065).l... | 17 | 240 | 0.182195 |
train_d8b44aa843666821 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.01, 0.007, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, -0.119).lineTo(0.992, -0.172).lineTo(0.97, -0.268).lineTo(0.804, -0.236).lineTo(0.762, -0.349).lineTo(0.903, -0.445).lineTo(0.856, -0.53).lineTo(0.705, -0.453).lineTo(0.633, -0.... | 9 | 106 | 0.696042 |
train_e568a995b2cdea26 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.915, 1.445, 2)
result = result.edges().fillet(0.29)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.246).extrude(3.83, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norma... | 8 | 161 | 4.258969 |
train_19ae26b3967350e1 | 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.777, 0.324).workplane(offset=2).rect(0.971, 0.254).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.45, 0.017, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).spline([(0.044, 0.834), (0.0... | 7 | 25 | 0.458537 |
train_d74ae615b9ee1cfe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.042, 0, -0.837), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0, 0.332).lineTo(0.893, 0.332).lineTo(0.893, -0.332).lineTo(0, -0.332).lineTo(0, -1).lineTo(-0.893, -1).lineTo(-0.893, 1).lineTo(0, 1).close().extrude(0.427)
result = result... | 11 | 51 | 0.493281 |
train_7582e3b3c6effe29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.084, -0.471), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.382, 0.915).lineTo(0.382, 0.576).lineTo(0.723, 0.576).lineTo(0.723, -0.732).lineTo(0.538, -0.732).lineTo(0.538, -0.915).lineTo(-0.49, -0.915).lineTo(-0.49, -0.684).lineTo(-0.723, -0.6... | 8 | 57 | 1.557967 |
train_5e026d4a7918aca9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.085, 0.52, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.476).threePointArc((0.357, 0.357), (0.476, 0)).threePointArc((0.357, -0.357), (0, -0.476)).threePointArc((-0.357, -0.357), (-0.476, 0)).threePointArc((-0.357, 0.357), (0, 0.476)... | 4 | 34 | 0.461297 |
train_89f933fd9cb8e91f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.645, 0.646).lineTo(0.898, -0.302).threePointArc((0.892, -0.394), (0.817, -0.444)).lineTo(-0.003, -0.664).lineTo(-0.057, -0.461).threePointArc((-0.057, -0.45), (-0.047, -0.443)).lineTo(... | 10 | 216 | 1.789075 |
train_d931567029661686 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.891).lineTo(1, -0.783).lineTo(0.89, -0.891).lineTo(-1, -0.891).lineTo(-1, 0.768).threePointArc((-0.963, 0.855), (-0.875, 0.891)).lineTo(1, 0.891).close().extrude(0.251)
result = result.... | 11 | 71 | 0.902034 |
train_4a7287c46f1b3d5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.039, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.417, 0.364).lineTo(0.417, -0.364).lineTo(-0.35, -0.364).threePointArc((-0.397, -0.343), (-0.417, -0.297)).lineTo(-0.417, 0.273).lineTo(-0.327, 0.273).lineTo(-0.327, 0.364).lineTo(0.41... | 6 | 33 | 0.454119 |
train_1918cf621da59349 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0.416, -0.335), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.105, -0.449).threePointArc((0.091, -0.523), (-0.036, -0.361)).lineTo(0.418, 0.425).threePointArc((0.428, 0.523), (0.557, 0.345)).lineTo(0.105, -0.449).close().extrude(1.183).union... | 2 | 34 | 1.07793 |
train_fc08b092c2c399a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0.052), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.159, 0.118).lineTo(0.163, -0.13).lineTo(0.435, -0.111).threePointArc((0.708, -0.122), (0.833, 0.052)).lineTo(1, 0.061).lineTo(0.995, 0.13).lineTo(0.159, 0.118).close().revolve(angleDeg... | 14 | 227 | 0.312613 |
train_55641ee9975dfd25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.548, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.306).threePointArc((0.536, 1.084), (0.758, 0.548)).threePointArc((0.536, 0.012), (0, -0.21)).threePointArc((-0.536, 0.012), (-0.758, 0.548)).threePointArc((-0.536, 1.084), (0, 1.306)).... | 18 | 231 | 1.48864 |
train_1375ca51e214d447 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.249, 0, -0.243), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.206, 0.465).lineTo(0.206, 0.206).lineTo(0.497, 0.206).lineTo(0.497, 0).lineTo(0, 0).lineTo(0, 0.465).lineTo(0.206, 0.465).close().extrude(1, both=True)
result = result.union(cq.Workp... | 13 | 92 | 0.280551 |
train_119d5e6ff465da2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.17, -0.879, 0.502), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.315, 0.735).lineTo(0.471, 0.533).lineTo(0.215, 0.513).lineTo(0.121, 0.399).threePointArc((0.057, 0.355), (-0.035, 0.2)).threePointArc((-0.1, 0.224), (-0.097, 0.418)).threePointArc... | 8 | 198 | 0.402506 |
train_714121fb2ffe3e54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.172, 0.069, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.691, 0.59).threePointArc((0.723, 0.58), (0.737, 0.555)).lineTo(0.737, -0.461).threePointArc((0.688, -0.552), (0.573, -0.59)).lineTo(-0.443, -0.59).threePointArc((-0.649, -0.522), ... | 8 | 65 | 1.289435 |
train_0357416ee8898e10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.555, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.217, 1.372).lineTo(0.348, 1.054).threePointArc((0.379, 1.014), (0.481, 1.05)).lineTo(0.716, 1.076).lineTo(0.709, 0.833).threePointArc((0.658, 0.689), (0.758, 0.572)).lineTo(0.486, 0.4... | 4 | 196 | 2.312954 |
train_3018f3c7f52facac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.502, -0.121, -0.746), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.195, 1.254).lineTo(0.195, 0.989).lineTo(0.308, 0.989).lineTo(0.308, 0.867).lineTo(0.097, 0.867).lineTo(0.097, 0.426).lineTo(0.498, 0.426).lineTo(0.498, 0).lineTo(0, 0).lineTo(0, ... | 6 | 67 | 0.600531 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.