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_839dba735bcb3e8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.74, 0.364).lineTo(0.911, 0.226).lineTo(1, 0.127).lineTo(1, 0).lineTo(0.823, 0).lineTo(0.823, 0.111).lineTo(0.724, 0.226).lineTo(0, 0.193).lineTo(0, 0.364).lineTo(0.74, 0.364).close().revo... | 14 | 192 | 0.531408 |
train_4e8ee34dfa5a3e22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.54), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.337)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.54), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.5, 0.867), (-1.5, 0.867), (-2, 0), (-1.5, -0.867),... | 6 | 41 | 0.926455 |
train_7485457195a72624 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.118, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.554, 0.535).threePointArc((1, 0), (0.554, -0.535)).lineTo(-0.554, -0.535).threePointArc((-1, 0), (-0.554, 0.535)).lineTo(0.554, 0.535).close().extrude(0.441)
result = result.cut(cq.Wor... | 12 | 92 | 1.46188 |
train_f2d8b09964dab731 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.088, 0.06, -0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.365, 0.2).lineTo(0.911, -0.2).lineTo(-0.729, -0.2).lineTo(-0.911, -0.2).lineTo(-0.729, 0.2).lineTo(-0.182, 0.2).lineTo(0.365, 0.2).close().extrude(0.977, both=True).intersect(cq.Wor... | 7 | 42 | 0.12359 |
train_19dea65004b187ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.066), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.857, 0.729).lineTo(0.857, 0).lineTo(-0.857, 0).lineTo(-0.857, 0.729).lineTo(-0.766, 0.729).lineTo(-0.766, 0.09).lineTo(0.766, 0.09).lineTo(0.766, 0.729).lineTo(0.857, 0.729).close().extru... | 6 | 35 | 0.165432 |
train_51aa183eba6868ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.789, 0.372).lineTo(0.789, 0.124).lineTo(1.017, 0.124).lineTo(1.017, 0).lineTo(0.32, 0).lineTo(0.32, 0.372).lineTo(0.789, 0.372).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axis... | 8 | 46 | 0.55749 |
train_c4580d7ca67c19a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 0.551).threePointArc((0.866, 0.532), (0.906, 0.488)).lineTo(0.906, 0.345).threePointArc((0.889, 0.326), (0.848, 0.318)).lineTo(-0.248, 0.318).threePointArc((-0.366, 0.294), (-0.4... | 5 | 38 | 0.656061 |
train_a96ef08da2317a81 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.356, -0.012, -0.975), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.033, 0.21).lineTo(0.033, 0.137).lineTo(0.084, 0.137).lineTo(0.084, 0.056).lineTo(0.033, 0.056).lineTo(0.033, -0.017).lineTo(-0.033, -0.017).lineTo(-0.033, 0.056).lineTo(-0.084, 0... | 6 | 27 | 0.516498 |
train_4f79ca3e142e1d6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.439, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.167, 0.221).threePointArc((0.205, 0.205), (0.221, 0.167)).lineTo(0.221, 0.105).threePointArc((0.212, 0.083), (0.19, 0.074)).lineTo(0.029, 0.074).threePointArc((-0.043, 0.043), (-0.074, -0.... | 6 | 96 | 0.448266 |
train_a9fc29efe8b37615 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.181, 1).lineTo(0.37, 0.804).lineTo(0.37, -0.709).threePointArc((0.286, -0.907), (0.083, -1)).lineTo(-0.108, -1).lineTo(-0.37, -0.732).lineTo(-0.37, 0.667).lineTo(-0.043, 1).lineTo(0.181, 1)... | 5 | 40 | 0.706951 |
train_68547419d2cb466b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.357), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 0.633).threePointArc((0.222, 0.603), (0.263, 0.532)).lineTo(0.487, 0.471).threePointArc((0.57, 0.329), (0.499, 0.288)).lineTo(0.652, 0.186).threePointArc((0.633, -0.109), (0.592, -0.03... | 5 | 97 | 0.441677 |
train_18e8c9863ff98af5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.64), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.168, 0.617).threePointArc((-0.009, 0.495), (0.168, 0.401)).lineTo(0.504, 0.501).threePointArc((1, 0.009), (0.504, -0.483)).lineTo(0.303, -0.547).lineTo(0.101, -0.576).threePointArc((0.003,... | 5 | 22 | 2.318193 |
train_0289589da0a4395e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.059, 0, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.644, 0.71).threePointArc((0.854, 0.623), (0.94, 0.413)).lineTo(0.94, -0.558).threePointArc((0.896, -0.666), (0.79, -0.71)).lineTo(-0.761, -0.71).threePointArc((-0.888, -0.657), (-0.94, ... | 8 | 34 | 0.792061 |
train_b57cefcab17e81ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.109, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.151, 0.391).threePointArc((0.392, 0.11), (0.241, -0.283)).threePointArc((-0.151, -0.391), (-0.392, -0.11)).threePointArc((-0.241, 0.283), (0.151, 0.391)).close().extrude(2, taper=0.847... | 20 | 165 | 0.249102 |
train_5ebac8a674f3a18b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, 0, -0.2), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.849, 0.399).lineTo(0.912, 0.321).lineTo(1, 0.14).lineTo(1, 0).lineTo(0.873, 0).lineTo(0.873, 0.119).lineTo(0.778, 0.321).lineTo(0, 0.281).lineTo(0, 0.399).lineTo(0.849, 0.399).close().r... | 8 | 44 | 0.34783 |
train_d904b154d4ae0909 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.551, 0.421).lineTo(-0.551, -0.25).lineTo(1, -0.25).lineTo(1, -0.421).lineTo(-1, -0.421).lineTo(-1, 0.421).lineTo(-0.551, 0.421).close().extrude(1.258)
result = result.cut(cq.Workplane(cq.... | 8 | 88 | 0.687884 |
train_d764037682e8efc2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.211, 0.523, 0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.166, 0.456).lineTo(0.166, 0.223).lineTo(0.383, 0.223).lineTo(0.383, -0.223).lineTo(0.166, -0.223).lineTo(0.166, -0.456).lineTo(-0.166, -0.456).lineTo(-0.166, -0.223).lineTo(-0.383, -... | 15 | 344 | 0.998153 |
train_bbb48d9064cfa0fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.493, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.409, 0.904).threePointArc((0.46, 0.798), (0.387, 0.702)).threePointArc((0.405, 0.582), (0.487, 0.495)).lineTo(0.496, 0.288).lineTo(0.409, 0.082).threePointArc((-0.496, 0.495), (0.409, 0.90... | 15 | 25 | 1.455391 |
train_5f293d736e4e55f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.056, 0.104, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.145).lineTo(0.048, 0.193).threePointArc((0.193, 0.048), (-0.193, -0.145)).lineTo(0, 0.145).lineTo(0.048, 0.145).close().moveTo(0.097, 0.048).lineTo(-0.048, -0.193).lineTo(-0... | 15 | 105 | 0.116763 |
train_3133bd63d6610d05 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.01, 0.93).lineTo(0.487, 0.808).lineTo(0.847, 0.47).lineTo(0.982, 0.011).lineTo(0.859, -0.451).lineTo(0.478, -0.813).lineTo(-0.029, -0.93).lineTo(-0.515, -0.792).lineTo(-0.84, -0.483)... | 8 | 164 | 0.472306 |
train_5a2d2041d3c32513 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.79, -0.529, -0.138), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.029, 0.792).lineTo(0.188, 0.694).lineTo(0.163, 0.458).lineTo(-0.07, 0.409).lineTo(-0.188, 0.615).lineTo(-0.029, 0.792).close().revolve(angleDegrees=270, axisStart=(-0.154, 0.32),... | 7 | 59 | 1.775436 |
train_e498e17a381bae7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.698, 0.528, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.434, 1.075).threePointArc((0.576, 1.016), (0.635, 0.873)).lineTo(0.682, 0.756).threePointArc((0.653, 0.698), (0.623, 0.64)).lineTo(0.635, 0.523).threePointArc((0.576, 0.38), (0.434, 0.... | 7 | 129 | 1.424364 |
train_be7244e98ec137f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.259), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.668, 0.517).lineTo(0.668, 0.355).lineTo(1, 0.355).lineTo(1, 0).lineTo(0.084, 0).lineTo(0.084, 0.517).lineTo(0.668, 0.517).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 16 | 359 | 0.792281 |
train_280bf2011347e682 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.601, 1.101, 2)
result = result.edges().fillet(0.229)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.263).extrude(3.203, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 9 | 69 | 2.27657 |
train_7b42a6302de0a4f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.286), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.056, 1).threePointArc((0.206, 0.929), (0.269, 0.782)).lineTo(0.269, -1).lineTo(-0.103, -1).lineTo(-0.269, -0.829).lineTo(-0.269, 1).lineTo(0.056, 1).close().extrude(0.413)
result = result.... | 12 | 52 | 0.298647 |
train_d79ccc26f3813367 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.128, 0.003, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.418, 0.283).lineTo(-0.418, -0.037).threePointArc((-0.339, -0.11), (-0.151, -0.141)).lineTo(0.82, -0.141).threePointArc((0.857, -0.147), (0.872, -0.161)).lineTo(0.872, -0.288).thre... | 6 | 58 | 0.1458 |
train_ca8752f0b47f0bcc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, 1).lineTo(0.851, -0.826).lineTo(0.686, -1).lineTo(-0.611, -1).lineTo(-0.851, -0.752).lineTo(-0.851, 0.817).lineTo(-0.677, 1).lineTo(0.851, 1).close().extrude(0.705)
result = result.cu... | 10 | 109 | 1.373062 |
train_838561478a3e550d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.407, 0.047, -0.275), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.292).lineTo(0.171, 0.192).lineTo(0.342, 0.21).threePointArc((0.593, -0.041), (0.342, -0.292)).lineTo(-0.342, -0.292).threePointArc((-0.593, -0.041), (-0.342, 0.21)).lineTo(-0.... | 6 | 55 | 0.484608 |
train_a3c4947439ac9831 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.103, 0.071, 0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.446, 0.772).threePointArc((0.446, 0.772), (0.892, 0)).threePointArc((0.446, -0.772), (-0.446, -0.772)).threePointArc((-0.892, 0), (-0.446, 0.772)).close().sweep(cq.Workplane(cq.Pl... | 3 | 23 | 0.321148 |
train_3d6c6c2f970ff19f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.021, 0, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.972, 0.994).lineTo(0.972, -0.041).lineTo(0.019, -0.994).lineTo(-0.972, -0.994).lineTo(-0.972, 0.994).lineTo(0.972, 0.994).close().extrude(0.565, both=True)
result = result.union(cq.Wor... | 11 | 82 | 3.144645 |
train_03af63b2e87e205d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.131, 0, -0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.434, 0.811).threePointArc((0.434, 0.811), (0.868, 0)).threePointArc((0.434, -0.811), (-0.434, -0.811)).threePointArc((-0.868, 0), (-0.434, 0.811)).close().extrude(0.073, taper=5.523)... | 10 | 93 | 0.358939 |
train_815fa8a36c9da344 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.955, 0.585).threePointArc((0.986, 0.573), (1, 0.541)).lineTo(1, -0.585).lineTo(-0.923, -0.585).lineTo(-1, -0.51).lineTo(-1, 0.585).lineTo(0.955, 0.585).close().extrude(0.077)
result = resu... | 12 | 60 | 0.611428 |
train_6d749a3a6fbf8ee2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.811, 0.331, -0.442), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.084, 0.816).lineTo(-0.003, 0.792).lineTo(0.064, 0.753).lineTo(0.111, 0.689).lineTo(0.147, 0.614).lineTo(0.454, 0.602).lineTo(0.333, 0.32).lineTo(0.416, 0.024).lineTo(0.11, 0.053)... | 11 | 141 | 1.023735 |
train_6dbfa72fbfd02320 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.4, 0, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.599).extrude(0.468)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.4, 0, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.497).extrude(1.405, both=True))
result = result.union(c... | 16 | 103 | 0.399467 |
train_4697ec645a0b4468 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.66, -0.178, -0.36), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.41, 0.776).lineTo(0.41, 0.47).lineTo(0.127, 0.47).lineTo(0.127, -0.18).lineTo(0.042, -0.172).lineTo(-0.042, -0.192).lineTo(-0.127, -0.18).lineTo(-0.127, 0.47).lineTo(-0.198, 0.463)... | 5 | 63 | 1.083917 |
train_d9cd414b6eb95417 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.03, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.197, 0.24).lineTo(0.197, 0.12).lineTo(0.592, 0.12).lineTo(0.592, -0.12).lineTo(0.985, -0.12).lineTo(0.985, -0.24).lineTo(0.197, -0.24).lineTo(0.197, -0.12).lineTo(-0.592, -0.12).lineTo(... | 7 | 103 | 0.040573 |
train_20e2f3bd043d79a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.056, -0.393), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.525).threePointArc((0.943, 0.262), (0.943, -0.262)).threePointArc((0, -0.525), (-0.943, -0.262)).threePointArc((-0.943, 0.262), (0, 0.525)).close().extrude(0.786, taper=13.69)
resu... | 2 | 9 | 1.143306 |
train_fa020977f4456e5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-3.838, 0.183, 0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-2.834, 0.388).threePointArc((2.834, 0.388), (5.667, 0)).threePointArc((2.834, -0.388), (-2.834, -0.388)).threePointArc((-5.667, 0), (-2.834, 0.388)).close().moveTo(2.642, 0.169).thr... | 16 | 24 | 0.176112 |
train_ccb59af3d3fa3232 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.1, -0.55), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.508).threePointArc((0.982, 0.492), (1, 0.453)).lineTo(1, -0.448).threePointArc((0.981, -0.491), (0.939, -0.508)).lineTo(-0.95, -0.508).threePointArc((-0.984, -0.493), (-1, -0.459))... | 9 | 60 | 0.831349 |
train_f95128bf768188d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.364, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.081, 0.294).lineTo(0.156, 0.113).threePointArc((0.279, -0.069), (0.168, -0.294)).lineTo(-0.246, -0.253).threePointArc((-0.279, -0.216), (-0.264, -0.054)).lineTo(-0.232, -0.04).lineTo(-0.1... | 7 | 95 | 0.468857 |
train_89b1d78edebe3e43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.285, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, 1).threePointArc((1.084, 0.937), (1.146, 0.809)).lineTo(1.146, 0.579).threePointArc((1.118, 0.522), (1.052, 0.498)).lineTo(0.798, 0.498).threePointArc((0.641, 0.439), (0.575, 0.30... | 7 | 398 | 0.457467 |
train_d6eefe7a17ef117e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.624, -0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.454, 0.877).threePointArc((0.536, 0.73), (0.725, 0.459)).lineTo(0.387, 0.287).lineTo(0.014, 0.281).threePointArc((-0.134, 0.327), (-0.368, 0.173)).lineTo(-0.722, 0.379).lineTo(-0.725,... | 17 | 244 | 0.516604 |
train_6c1991693ab41ccc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.017, 0.473), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.15, 0.25).lineTo(0.15, 0.197).lineTo(0.204, 0.197).lineTo(0.204, -0.159).threePointArc((0.177, -0.223), (0.112, -0.25)).lineTo(-0.204, -0.25).lineTo(-0.204, 0.25).lineTo(0.15, 0.25).cl... | 15 | 275 | 0.755041 |
train_9af643065f6c5d47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.604, -0.058, 0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.388, -0.065).lineTo(0.379, -0.094).lineTo(0.364, -0.12).lineTo(0.344, -0.145).lineTo(0.319, -0.167).lineTo(0.29, -0.187).lineTo(0.257, -0.202).lineTo(0.221, -0.213).lineTo(0.183, -... | 7 | 490 | 0.33383 |
train_7d55030d4cf84cd4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.042, 0, -0.953), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.519, -0.068).lineTo(0.502, -0.149).lineTo(0.715, -0.237).lineTo(0.654, -0.374).lineTo(0.446, -0.274).lineTo(0.398, -0.34).lineTo(0.557, -0.508).lineTo(0.447, -0.607).lineTo(0.296, -0... | 2 | 66 | 1.534081 |
train_218273bef08b81e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.225, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.029, 0.111).threePointArc((0.056, 0.098), (0.08, 0.08)).lineTo(0.109, 0.028).threePointArc((0.111, 0.003), (0.109, -0.023)).lineTo(0.072, -0.087).threePointArc((0.053, -0.101), (0.032, -0.... | 5 | 68 | 0.352071 |
train_2da846b65f8d0270 | 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(1, 0.26).lineTo(1, -0.065).threePointArc((0.942, -0.203), (0.806, -0.26)).lineTo(-1, -0.26).lineTo(-1, 0.108).lineTo(-0.847, 0.108).lineTo(-0.847, 0.26).lineTo(1, 0.26).close().extrude(0.189... | 13 | 125 | 0.182534 |
train_31d76c89e6b35392 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.086, -0.038, 0.679), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.17, 0.58).lineTo(0.554, 0.312).lineTo(0.392, 0.067).lineTo(0.226, -0.099).threePointArc((0.299, -0.252), (0.324, -0.446)).threePointArc((0.059, -0.556), (-0.239, -0.58)).lineTo(-... | 5 | 56 | 1.124396 |
train_a07dbd6ffa03031c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.205, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.337, 0.794).lineTo(0.653, 0.478).lineTo(0.653, -0.483).threePointArc((0.562, -0.704), (0.342, -0.794)).lineTo(-0.304, -0.794).lineTo(-0.653, -0.445).lineTo(-0.653, 0.647).lineTo(-0.505... | 7 | 92 | 0.699426 |
train_a7c4b118dc66e9c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.668), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.667, 0.445).lineTo(0.667, 0.223).lineTo(1, 0.223).lineTo(1, 0).lineTo(0, 0).lineTo(0, -0.223).lineTo(-0.333, -0.223).lineTo(-0.333, -0.445).lineTo(-1, -0.445).lineTo(-1, 0.223).lineTo(-0.3... | 5 | 392 | 1.18026 |
train_1b030ec3ac1dd705 | 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(1, 0.307).lineTo(1, -0.312).threePointArc((0.997, -0.317), (0.992, -0.319)).lineTo(-1, -0.319).lineTo(-1, 0.319).lineTo(0.987, 0.319).lineTo(1, 0.307).close().extrude(0.036)
result = result.... | 13 | 73 | 0.118832 |
train_28b0f99ec584671f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.084, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.732, 0.363).workplane(offset=2).rect(0.374, 0.42).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.028, 0.21, -0.46), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.28, 0.183).three... | 5 | 42 | 0.177731 |
train_546e069a18fdf425 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.26, 0, -0.589), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.74, 1.364).lineTo(0.74, 0).lineTo(-0.74, 0).lineTo(-0.74, 1.364).lineTo(-0.452, 1.364).lineTo(-0.452, 0.288).lineTo(0.452, 0.288).lineTo(0.452, 1.364).lineTo(0.74, 1.364).close().extr... | 7 | 56 | 1.045447 |
train_d6f7cfb44aa2babb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.187, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.065, 0.253).threePointArc((0.202, 0.196), (0.26, 0.057)).lineTo(0.26, -0.019).threePointArc((0.191, -0.184), (0.027, -0.253)).lineTo(-0.26, -0.253).lineTo(-0.26, 0.149).lineTo(-0.156, ... | 13 | 114 | 0.490075 |
train_257083f0b8e1c945 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.893, 2).extrude(0.369)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.165, 0.083).lineTo(0.165, 0.083).lineTo(-0.165, -0.083).c... | 14 | 59 | 0.530101 |
train_5354256124b2cbd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.829), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.656)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.332), normal=(0.293, 0, 0.956), xDir=(0.956, 0, -0.293))).circle(0.222).extrude(0.667))
result = result.cut(cq.W... | 8 | 37 | 2.90114 |
train_1c8686dafea5e1ad | 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.468, 0.624).threePointArc((0.548, 0.593), (0.582, 0.519)).lineTo(0.582, 0.184).threePointArc((0.551, 0.117), (0.479, 0.089)).lineTo(-0.332, 0.089).threePointArc((-0.371, 0.074), (-0.388, 0.038... | 4 | 50 | 0.670289 |
train_9ce20119e1d669fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, -0.103).lineTo(0.988, -0.156).lineTo(0.978, -0.212).lineTo(0.746, -0.17).lineTo(0.717, -0.269).lineTo(0.928, -0.372).lineTo(0.906, -0.425).lineTo(0.69, -0.332).lineTo(0.64, -0.422)... | 6 | 157 | 0.482222 |
train_bb9bbdc5d1545831 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 1).lineTo(1, -1).lineTo(-0.333, -1).lineTo(-0.333, 0.333).lineTo(-1, 0.333).lineTo(-1, 1).lineTo(1, 1).close().extrude(0.18, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.678, -0.133, -1.3), normal=(0, 1, 0), xDir=(1, 0, 0))).move... | 10 | 90 | 1.053845 |
train_c22a2bfb44e648b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.914).lineTo(0.5, 0.457).lineTo(1, 0.457).lineTo(1, 0).lineTo(0.5, 0).lineTo(0.5, -0.914).lineTo(-0.5, -0.914).lineTo(-0.5, -0.457).lineTo(-1, -0.457).lineTo(-1, 0.457).lineTo(-0.5, 0.... | 7 | 34 | 0.897627 |
train_00522f2a7c8c4a70 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.347).lineTo(0.71, 0).lineTo(1, -0.347).lineTo(0.299, -0.347).lineTo(0.299, 0.347).lineTo(1, 0.347).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.389, -0.389, 0), norm... | 12 | 117 | 0.760567 |
train_9869a843d8a3c31b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.732, -0.232, -0.209), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.143, 0.558).threePointArc((0.243, 0.537), (0.33, 0.482)).threePointArc((0.394, 0.403), (0.435, 0.312)).threePointArc((0.462, 0.219), (0.483, 0.124)).threePointArc((0.497, 0.02), ... | 12 | 76 | 1.018089 |
train_f15404ee3cce6960 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.623, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.203, 0.169).lineTo(0.203, -0.169).threePointArc((0, -0.372), (-0.203, -0.169)).lineTo(-0.203, 0.169).threePointArc((0, 0.372), (0.203, 0.169)).close().revolve(angleDegrees=270, axisStart=(... | 3 | 15 | 0.754106 |
train_c2484deee481ca53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.229, 1).lineTo(0.639, 0.802).lineTo(1.026, 0).lineTo(0.639, -0.802).lineTo(-0.229, -1).lineTo(-0.925, -0.446).lineTo(-0.925, 0.446).lineTo(-0.229, 1).close().extrude(0.456)
result = ... | 2 | 10 | 1.041377 |
train_102e7cd0440344fd | 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.765, 0.398).threePointArc((0.929, 0.329), (0.998, 0.165)).lineTo(0.998, -0.261).threePointArc((0.957, -0.357), (0.861, -0.398)).lineTo(0.014, -0.398).threePointArc((-0.041, -0.375), (-0.064, -... | 3 | 24 | 2.338475 |
train_e5ef0b52554fe117 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.001, -0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.326, 0.767).threePointArc((0.806, 0.092), (0.481, -0.675)).threePointArc((-0.326, -0.767), (-0.806, -0.092)).threePointArc((-0.481, 0.675), (0.326, 0.767)).close().extrude(0.678, t... | 4 | 46 | 1.462831 |
train_870ccabc3b2be5d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.678, 0.978).lineTo(0.678, -0.972).lineTo(0.652, -0.972).lineTo(0.652, -1).lineTo(-0.678, -1).lineTo(-0.678, 0.985).lineTo(-0.665, 0.985).lineTo(-0.665, 1).lineTo(0.657, 1).threePointA... | 11 | 69 | 0.556834 |
train_eb673f1cceff994d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.437, 0.57).lineTo(0.437, 0.011).lineTo(1, 0.011).lineTo(1, -0.106).lineTo(0.53, -0.106).lineTo(0.53, -0.57).lineTo(-0.521, -0.57).lineTo(-0.521, -0.096).lineTo(-1, -0.096).lineTo(-1, 0.101)... | 6 | 36 | 0.286065 |
train_d90ce88f0914d62b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.743, 0.652).lineTo(0.975, 0.42).lineTo(0.975, -0.652).lineTo(-0.726, -0.652).lineTo(-0.975, -0.402).lineTo(-0.975, 0.445).lineTo(-0.768, 0.652).lineTo(0.743, 0.652).close().extrude(0.401)
... | 7 | 57 | 0.922339 |
train_705e7b38c185b5e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.14, 0, -0.107), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.184, 0.214).lineTo(0.184, 0.184).lineTo(1.14, 0.184).lineTo(1.14, 0).lineTo(0, 0).lineTo(0, 0.214).lineTo(0.184, 0.214).close().extrude(0.651, both=True)
result = result.union(cq.Work... | 9 | 65 | 0.371454 |
train_6672d32666aa3059 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0.15, -0.584), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.378, 0.467).threePointArc((-0.35, 0.459), (-0.338, 0.44)).lineTo(-0.338, -0.211).threePointArc((-0.281, -0.303), (-0.147, -0.342)).lineTo(0.473, -0.342).threePointArc((0.506, -0.3... | 9 | 119 | 0.578024 |
train_44d215298ab6241a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.155, 0.001, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.844, 0.183).lineTo(0.844, 0.131).threePointArc((0.81, 0.114), (0.727, 0.107)).lineTo(-0.142, 0.107).threePointArc((-0.327, 0.091), (-0.405, 0.054)).lineTo(-0.405, -0.07).threePoin... | 10 | 62 | 0.200687 |
train_5ab06c0ddf4ea51d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.414, 0, -0.154), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.254, 0.307).lineTo(0.254, 0.254).lineTo(0.827, 0.254).lineTo(0.827, 0).lineTo(0, 0).lineTo(0, 0.307).lineTo(0.254, 0.307).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 7 | 47 | 0.362985 |
train_01b5af53f9a97f3a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.127, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.512).extrude(1.985)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.127, 0, 0.39), normal=(0.567, 0, 0.824), xDir=(0.824, 0, -0.567))).circle(0.522).extrude(0.593))
result = result... | 7 | 50 | 0.170148 |
train_c8013b28ee243145 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.118, 0.34, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.186, 1.673).threePointArc((0.033, 1.797), (0.224, 1.631)).lineTo(0.562, 1.525).lineTo(0.596, 1.138).lineTo(0.444, 0.728).lineTo(0.188, 0.772).threePointArc((0.083, 0.577), (-0.129, 0.4... | 9 | 12 | 0.825862 |
train_2ae74996f3c4e996 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.012, 0, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.623, -0.908).lineTo(0.283, -1).lineTo(-0.061, -0.934).lineTo(-0.356, -0.719).lineTo(-0.554, -0.391).lineTo(-0.623, 0).lineTo(-0.554, 0.391).lineTo(-0.356, 0.719).lineTo(-0.061, 0.934).... | 12 | 568 | 0.614152 |
train_0e8c840cbc18b440 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.888, 0.983).threePointArc((0.961, 0.956), (1, 0.893)).lineTo(1, -0.682).threePointArc((0.887, -0.892), (0.644, -0.983)).lineTo(-0.455, -0.983).threePointArc((-0.831, -0.843), (-1, -0.517))... | 13 | 180 | 0.946243 |
train_2022150a3a6341e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.788)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.367).extrude(2.361, both=True))
result = result.union(cq.Workpl... | 11 | 34 | 2.158235 |
train_e38a426fe22f4142 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.957, 0.388).lineTo(1, 0.346).lineTo(1, -0.349).threePointArc((0.988, -0.377), (0.96, -0.388)).lineTo(-0.951, -0.388).threePointArc((-0.985, -0.374), (-1, -0.34)).lineTo(-1, 0.329).thr... | 14 | 282 | 0.338313 |
train_eb1155adf841ff22 | 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(1, 0.942).lineTo(1, -0.942).lineTo(-1, -0.942).lineTo(-1, 0.942).lineTo(1, 0.942).close().extrude(0.261)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.038), normal=(0, 0, 1), ... | 18 | 141 | 1.235782 |
train_3357041f66a2897d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.972, 2).extrude(0.187)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.389, 0.902).lineTo(0.389, -0.902).lineTo(-0.389, -0.902).... | 6 | 80 | 0.086235 |
train_307c790ad0959c58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.764, 0.72, 0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.063, 1.674).threePointArc((0.19, 1.477), (0.238, 1.228)).threePointArc((0.252, 1.165), (0.367, 1.308)).lineTo(0.691, 1.474).lineTo(0.518, 1.043).lineTo(0.611, 0.892).lineTo(0.912, 0... | 5 | 77 | 1.903736 |
train_99cb8205bfa5d9ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.831), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.372).extrude(1.831)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.45), normal=(0.674, 0, 0.738), xDir=(0.738, 0, -0.674))).circle(0.219).extrude(1.491))
result = result.cut(c... | 7 | 72 | 0.583723 |
train_90aaac506f39853e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.067, 0.019, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.933, 0.717).lineTo(0.933, -0.717).lineTo(-0.933, -0.717).lineTo(-0.933, 0.717).lineTo(-0.344, 0.717).lineTo(-0.344, -0.088).lineTo(0.344, -0.088).lineTo(0.344, 0.717).lineTo(0.933... | 8 | 100 | 0.825263 |
train_389abb2fdb1ff15d | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.231).lineTo(0.839, 0).lineTo(1, -0.231).lineTo(0.39, -0.231).lineTo(0.39, 0.231).lineTo(1, 0.231).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.387, 0.387, 0), normal... | 12 | 56 | 0.613915 |
train_9b3e6e337dd2c15a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, -0.042, 0.001), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.05, 0.925).threePointArc((0.137, 0.847), (0.199, 0.762)).threePointArc((0.263, 0.709), (0.367, 0.693)).threePointArc((0.527, 0.684), (0.716, 0.635)).threePointArc((0.872, 0.52), (... | 4 | 51 | 2.38788 |
train_eba0bc1774ae213d | 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.123, 0.253).lineTo(0.123, -0.127).lineTo(0.408, -0.127).lineTo(0.408, -0.253).lineTo(-0.003, -0.253).lineTo(-0.003, 0.253).lineTo(0.123, 0.253).close().extrude(2).union(cq.Workplane(cq.Plane(o... | 1 | 10 | 0.392592 |
train_23d4714bafbacdd0 | 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.775, 0.5).threePointArc((0.933, 0.433), (1, 0.275)).lineTo(1, -0.269).threePointArc((0.932, -0.432), (0.769, -0.5)).lineTo(-0.888, -0.5).threePointArc((-0.967, -0.467), (-1, -0.388)).lineTo... | 13 | 66 | 0.261595 |
train_7b548f658bfc96b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.217, 0, -0.229), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.253, 0.457).lineTo(0.253, 0.253).lineTo(0.303, 0.253).lineTo(0.303, 0).lineTo(0, 0).lineTo(0, 0.457).lineTo(0.253, 0.457).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 14 | 89 | 0.208688 |
train_8e7f9393e2f32e7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.932, 0.842).threePointArc((0.975, 0.796), (0.994, 0.687)).lineTo(0.994, 0.312).threePointArc((0.957, 0.093), (0.871, 0)).lineTo(0.453, 0).threePointArc((0.368, -0.092), (0.332, -0.309)... | 7 | 121 | 0.247594 |
train_0b87855bffda892b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0.033, -0.466), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.336, 0.275).lineTo(0.336, -0.275).lineTo(-0.336, -0.275).lineTo(-0.336, 0.275).lineTo(-0.103, 0.275).lineTo(-0.103, 0.085).lineTo(0.103, 0.085).lineTo(0.103, 0.275).lineTo(0.336, ... | 10 | 161 | 0.348001 |
train_6befcbdeb7284967 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.074, 0.03, 0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.119, 0.737).threePointArc((0.633, 0.621), (0.698, -0.35)).lineTo(0.431, -0.681).lineTo(0.368, -0.671).threePointArc((-0.698, -0.737), (-0.444, 0.333)).lineTo(-0.119, 0.737).close()... | 19 | 243 | 0.870763 |
train_3d5a80416c10a5a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.526, 0, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.474).threePointArc((0.335, 0.335), (0.474, 0)).threePointArc((0.335, -0.335), (0, -0.474)).threePointArc((-0.335, -0.335), (-0.474, 0)).threePointArc((-0.335, 0.335), (0, 0.474)).c... | 14 | 6 | 0.915422 |
train_c8ff6115073bcf26 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.037, 0.123, -0.82), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.014, 0.15).lineTo(0.031, 0.119).lineTo(0.037, 0.143).lineTo(0.054, 0.113).lineTo(0.084, 0.13).lineTo(0.086, 0.091).lineTo(0.109, 0.085).lineTo(0.103, 0.061).lineTo(0.126, 0.055).li... | 3 | 61 | 0.112399 |
train_1c6eb2b86e4b4286 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.998).extrude(0.477)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.646).extrude(1.435, both=True))
result = result.union(cq.Wo... | 14 | 60 | 1.092696 |
train_b76db9e12fb0db6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.192, -0.079, 0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.336, 0.731).threePointArc((-0.288, 0.712), (-0.268, 0.666)).lineTo(-0.268, 0.003).threePointArc((-0.194, -0.167), (-0.018, -0.239)).lineTo(0.636, -0.239).threePointArc((0.736, -0... | 16 | 268 | 0.928867 |
train_fe0ad03b5c1bb617 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.5, 0.185).lineTo(0.5, 0.08).lineTo(1, 0.08).lineTo(1, 0.027).lineTo(0.5, 0.027).lineTo(0.5, -0.08).lineTo(1, -0.08).lineTo(1, -0.185).lineTo(0.5, -0.185).lineTo(0.5, -0.132).lineTo(0, -0.132).lineTo(0, -0.08).lineTo(-0.5, -0.08).lineTo(-0.5, -0.027)... | 9 | 175 | 0.036549 |
train_3c0156f0b730e87b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.953), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.05).extrude(0.643)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.05, 0, -0.953), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-1.05, 1.05), (-2.1, 0), (-1.05, -1.05)]).rec... | 9 | 94 | 2.794196 |
train_1096ca2135f91e85 | 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.628, 0.836).threePointArc((-0.545, 0.805), (-0.51, 0.723)).lineTo(-0.51, -0.049).threePointArc((-0.419, -0.264), (-0.204, -0.355)).lineTo(0.882, -0.355).threePointArc((0.959, -0.388), (1, ... | 15 | 99 | 0.240288 |
train_8dc167a7d04cff5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, 1).lineTo(0.249, 0.836).lineTo(0.249, -0.881).threePointArc((0.216, -0.959), (0.138, -1)).lineTo(-0.077, -1).lineTo(-0.249, -0.823).lineTo(-0.249, 0.846).threePointArc((-0.206, 0.949)... | 8 | 73 | 0.49535 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.