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_ad7760baea37604f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.359, -0.128, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, -0.61).lineTo(0.089, -0.812).threePointArc((0.068, -0.839), (0.047, -0.852)).lineTo(0.022, -0.858).lineTo(-0.001, -0.854).threePointArc((-0.015, -0.822), (-0.03, -0.784)).lin... | 16 | 158 | 0.510128 |
train_0ddb92fa15243274 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.4, -0.307, -0.462), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.301, 0.553).threePointArc((0.534, 0.321), (0.301, 0.088)).lineTo(-0.301, 0.088).threePointArc((-0.534, 0.321), (-0.301, 0.553)).lineTo(0.301, 0.553).close().revolve(angleDegrees=9... | 16 | 175 | 0.566691 |
train_e5f3c1a86b7c3309 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.036, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.754, 0.223).threePointArc((0.972, 0), (0.754, -0.223)).lineTo(0, -0.223).lineTo(-0.754, -0.223).threePointArc((-0.972, 0), (-0.754, 0.223)).lineTo(0, 0.223).lineTo(0.754, 0.223).close().ext... | 16 | 47 | 0.565381 |
train_1e717e742c8cc6d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 0.89).threePointArc((0.48, 0.871), (0.506, 0.828)).lineTo(0.506, 0.256).threePointArc((0.539, 0.201), (0.617, 0.178)).lineTo(0.868, 0.178).threePointArc((0.969, 0.148), (1.011, 0.078)... | 20 | 541 | 0.317508 |
train_e8d75c5e43586986 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.025, 0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.194, 0.843).lineTo(0.194, 0.281).lineTo(0.969, 0.281).lineTo(0.969, -0.843).lineTo(-0.582, -0.843).lineTo(-0.582, -0.281).lineTo(-0.969, -0.281).lineTo(-0.969, 0.281).lineTo(-0.194, 0.2... | 11 | 122 | 0.991429 |
train_8bc2419fc4606f24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.866).lineTo(1, 0).lineTo(0.5, -0.866).lineTo(-0.5, -0.866).lineTo(-1, 0).lineTo(-0.5, 0.866).lineTo(0.5, 0.866).close().extrude(0.679)
result = result.cut(cq.Workplane(cq.Plane(origin=... | 5 | 53 | 1.597165 |
train_c8fe503ea2779331 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.547).lineTo(1, -0.552).threePointArc((0.996, -0.557), (0.991, -0.56)).lineTo(-0.993, -0.56).threePointArc((-0.998, -0.557), (-1, -0.554)).lineTo(-1, 0.546).threePointArc((-0.995, 0.556)... | 11 | 66 | 0.955648 |
train_7e3a9caf453df834 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.289, -0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.769, 0.707).lineTo(0.769, -0.707).lineTo(-0.769, -0.707).lineTo(-0.769, 0.707).lineTo(-0.482, 0.707).lineTo(-0.482, -0.487).lineTo(0.482, -0.487).lineTo(0.482, 0.707).lineTo(0.769, 0.7... | 18 | 98 | 0.404586 |
train_c808de2254656868 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.888, -0.064).lineTo(0.868, -0.092).lineTo(0.851, -0.12).lineTo(0.836, -0.15).lineTo(0.825, -0.182).lineTo(0.815, -0.214).lineTo(0.809, -0.246).lineTo(0.806, -0.279).lineTo(0.805, -0.3... | 18 | 363 | 0.265356 |
train_7f253738cbcc2b7c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.622, 1.851, -1.726), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.3, 0.624).lineTo(2.683, 0.049).lineTo(2.683, -0.624).lineTo(-2.683, -0.624).lineTo(-2.683, 0.049).lineTo(-2.491, 0.624).lineTo(-2.3, 0.624).lineTo(-1.916, 0.049).lineTo(-1.725, 0.... | 15 | 9 | 3.500613 |
train_6bc5695c38a08ece | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.298, 0.85).lineTo(0.319, 0.554).lineTo(0.117, 0.157).lineTo(1, -0.268).lineTo(0.703, -0.85).lineTo(-0.18, -0.425).lineTo(-0.383, -0.822).lineTo(-1, -0.526).lineTo(-0.298, 0.85).close().ext... | 1 | 10 | 0.407377 |
train_a9647744a7d02a9e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.894).lineTo(1, 0.536).lineTo(-0.6, 0.536).lineTo(-0.6, 0.179).lineTo(1, 0.179).lineTo(1, -0.894).lineTo(-1, -0.894).lineTo(-1, -0.536).lineTo(0.6, -0.536).lineTo(0.6, -0.179).lineTo(-1,... | 22 | 418 | 0.897615 |
train_284c5c7ce85d2292 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.124, 1).threePointArc((0.27, 0.93), (0.332, 0.788)).lineTo(0.332, 0.443).threePointArc((0.364, 0.364), (0.443, 0.332)).lineTo(0.837, 0.332).threePointArc((0.946, 0.286), (1, 0.178)).lineTo... | 23 | 367 | 0.833613 |
train_f7d71cd216992da4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.212, 0, -0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.557, 0.557).threePointArc((0.557, 0.557), (0.557, -0.557)).threePointArc((-0.557, -0.557), (-0.557, 0.557)).close().extrude(0.031)
result = result.union(cq.Workplane(cq.Plane(origin=... | 11 | 76 | 0.166084 |
train_8184235b3eba0377 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.016, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.18, 0.333).threePointArc((-0.158, 0.324), (-0.149, 0.303)).lineTo(-0.149, 0.005).threePointArc((-0.128, -0.046), (-0.077, -0.068)).lineTo(0.363, -0.068).threePointArc((0.4, -0.083), (0.41... | 9 | 64 | 0.676265 |
train_4277dee1c1bfc896 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(-0.007, -0.003, 1), xDir=(0, -1, -0.003))).moveTo(0.592, 0.066).lineTo(0.592, 0.009).lineTo(-0.396, 0.009).lineTo(-0.396, -0.009).lineTo(0.592, -0.009).lineTo(0.592, -0.066).lineTo(-0.592, -0.066).lineTo(-0.592, -0.047).lineTo(0.... | 1 | 54 | 0.70584 |
train_b03d6bf80c92b679 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.104, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.977, -0.119).lineTo(0.913, -0.231).lineTo(0.808, -0.334).lineTo(0.669, -0.421).lineTo(0.5, -0.491).lineTo(0.308, -0.54).lineTo(0.104, -0.563).lineTo(-0.104, -0.563).lineTo(-0.308, -0.54).li... | 14 | 125 | 0.778755 |
train_a305ebfa16869e39 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.085).lineTo(0.785, 0).lineTo(1, -0.085).lineTo(0.155, -0.085).lineTo(0.155, 0.085).lineTo(1, 0.085).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane('XY').circle(0.26).extrude(0.338, both=... | 12 | 93 | 0.270358 |
train_ecdd5300c4afdf4e | 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(0.779, 1).threePointArc((0.872, 0.96), (0.911, 0.866)).lineTo(0.911, -0.757).lineTo(0.669, -1).lineTo(-0.68, -1).lineTo(-0.911, -0.771).lineTo(-0.911, 0.858).threePointArc((-0.869, 0.958), (... | 20 | 97 | 1.808984 |
train_8ab65860537773bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, 0.353).lineTo(0.392, 0.212).lineTo(-0.261, 0.212).lineTo(-0.261, 0.071).lineTo(0.392, 0.071).lineTo(0.392, -0.353).lineTo(-0.392, -0.353).lineTo(-0.392, -0.212).lineTo(0.261, -0.212)... | 19 | 145 | 1.257545 |
train_fab902b1bfc2a6a6 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.6, 0.6).lineTo(0.6, -0.2).lineTo(1, -0.2).lineTo(1, -0.6).lineTo(-0.6, -0.6).lineTo(-0.6, -0.2).lineTo(-1, -0.2).lineTo(-1, 0.2).lineTo(-0.6, 0.2).lineTo(-0.6, 0.6).lineTo(0.6, 0.6).close().extrude(7.82, both=True).intersect(cq.Workplane('XZ').moveT... | 4 | 38 | 0.949823 |
train_47f900c780a5aea8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.102, 0.018, -0.401), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.727, 0.321).lineTo(0.801, 0.247).lineTo(0.801, 0.082).lineTo(0.719, 0).lineTo(0.237, 0).lineTo(0.16, -0.077).lineTo(0.16, -0.216).lineTo(0.055, -0.321).lineTo(-0.598, -0.321).line... | 18 | 231 | 0.499212 |
train_1f518c8698a10947 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.826, 0.167).threePointArc((0.948, 0.15), (1, 0.109)).lineTo(1, 0.027).threePointArc((0.976, 0.008), (0.919, 0)).lineTo(0.678, 0).threePointArc((0.553, -0.018), (0.5, -0.06)).lineTo(0.5... | 11 | 128 | 0.233666 |
train_22140ab69359e53f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.491, -0.333, -0.03), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.687, 0.728).lineTo(1.491, -0.648).lineTo(1.354, -0.728).lineTo(1.171, -0.434).threePointArc((0.848, -0.347), (0.615, 0.101)).lineTo(0.339, 0.525).lineTo(0.687, 0.728).close().revo... | 15 | 56 | 0.564496 |
train_c47d64abb66d892b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.702, 0.876).lineTo(1, 0.586).lineTo(1, -0.688).threePointArc((0.936, -0.823), (0.802, -0.876)).lineTo(-0.652, -0.876).threePointArc((-0.89, -0.778), (-1, -0.538)).lineTo(-1, 0.876).lineTo(... | 21 | 292 | 0.444523 |
train_15c1a230e9849edf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.247, -0.379, -0.105), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.096, 0.187).lineTo(0.17, 0.159).lineTo(0.185, -0.098).lineTo(-0.021, -0.187).threePointArc((-0.039, -0.173), (-0.06, -0.164)).threePointArc((-0.079, -0.15), (-0.102, -0.145)).li... | 4 | 55 | 0.955968 |
train_63c7b2ac8b82bc72 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.022, 0.129).lineTo(0.066, 0.115).lineTo(0.102, 0.084).lineTo(0.124, 0.045).lineTo(0.132, 0).lineTo(0.124, -0.045).lineTo(0.102, -0.084).lineTo(0.066, -0.115).lineTo(0.022, -0.129).lineTo(-0.022, -0.129).lineTo(-0.066, -0.115).lineTo(-0.102, -0.084).... | 4 | 30 | 0.059194 |
train_16a07e003046278f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, -0.178, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.636, 0.159).threePointArc((-0.636, 0.476), (-0.318, 0.476)).threePointArc((0.954, 0.795), (0.318, -0.159)).threePointArc((0, -0.795), (-0.318, -0.795)).threePointArc((-0.954, -0.... | 11 | 29 | 1.746411 |
train_1dd12f1934897a95 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.886, 0.997).threePointArc((0.966, 0.963), (1, 0.883)).lineTo(1, -0.497).threePointArc((0.852, -0.848), (0.501, -0.997)).lineTo(-0.686, -0.997).threePointArc((-0.907, -0.903), (-1, -0.682)).... | 4 | 18 | 4.149841 |
train_479b8fc4f563b527 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.028, 0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.583, 0.048).lineTo(0.58, 0.028).lineTo(0.811, 0.028).lineTo(0.577, 0.009).lineTo(0.574, -0.011).lineTo(0.341, -0.03).lineTo(0.338, -0.05).lineTo(0.107, -0.05).lineTo(-0.128, -0.069).line... | 20 | 367 | 0.307397 |
train_bafac5f7384f7489 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.292, -0.231, -0.52), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.021, 0.066).lineTo(0.021, -0.06).threePointArc((0, -0.08), (-0.021, -0.06)).lineTo(-0.021, 0.066).threePointArc((0, 0.087), (0.021, 0.066)).close().extrude(0.054)
result = result.u... | 10 | 73 | 0.508293 |
train_2b88bc7dfe645496 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.649), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.404, 0.633).lineTo(0.404, -0.633).threePointArc((-0.404, 0), (0.404, 0.633)).close().workplane(offset=0.283).moveTo(0.425, 0.667).lineTo(0.425, -0.667).threePointArc((-0.425, 0), (0.425, 0... | 2 | 14 | 1.899033 |
train_b3d3904831a6f3ab | 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(0.902, 0.393).lineTo(0.902, 0.295).lineTo(1, 0.295).lineTo(1, -0.292).lineTo(0.899, -0.292).lineTo(0.899, -0.393).lineTo(-0.87, -0.393).lineTo(-0.87, -0.264).lineTo(-1, -0.264).lineTo(-1, 0.... | 8 | 51 | 0.228386 |
train_c03b72f2c5b12ec1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.306, 0, -0.57), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.278, 0.851).threePointArc((0.429, 0.384), (0.694, -0.028)).threePointArc((0.253, -0.323), (0.303, -0.851)).threePointArc((-0.221, -0.741), (-0.694, -0.491)).threePointArc((-0.622, 0.021... | 8 | 49 | 0.961305 |
train_75a8ad3c5ca3eba0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, -0.182, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.785, 0.82).lineTo(0.812, -0.02).lineTo(-0.812, -0.82).lineTo(-0.785, 0.82).close().moveTo(-0.629, 0.573).lineTo(0.491, -0.016).lineTo(-0.647, -0.578).lineTo(-0.629, 0.573).close(... | 5 | 99 | 0.499572 |
train_dbffad78be39cb0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.745, 0.999).threePointArc((0.901, 0.948), (0.967, 0.827)).lineTo(0.967, -0.338).threePointArc((0.905, -0.452), (0.759, -0.5)).lineTo(0.487, -0.5).threePointArc((0.371, -0.537), (0.322, -0.... | 10 | 45 | 0.948127 |
train_338cab58cfd15009 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.049, 0.496, 0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.241, 0.538).threePointArc((0, 0.716), (0.362, 0.895)).threePointArc((0.723, 1.075), (0.965, 0.895)).threePointArc((1.085, 0.538), (0.844, 0)).threePointArc((-0.603, -1.075), (-0.84... | 13 | 60 | 0.113198 |
train_35b5398a7b7ceaa3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.378, -0.477, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.064, 0.607).threePointArc((0.254, 0.596), (0.375, 0.45)).threePointArc((0.395, 0.21), (0.311, -0.062)).threePointArc((0.142, -0.292), (-0.064, -0.417)).threePointArc((-0.254, -0.405), ... | 4 | 14 | 1.149382 |
train_6665fe0bc078f6e9 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.527, 2, 1.265)
result = result.edges().fillet(0.042)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.254).extrude(3.054, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 7 | 42 | 2.919599 |
train_c977151a6f132d2b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.309), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.455).lineTo(1, -0.461).lineTo(0.985, -0.477).lineTo(-0.978, -0.477).lineTo(-1, -0.454).lineTo(-1, 0.446).lineTo(-0.97, 0.477).lineTo(0.979, 0.477).lineTo(1, 0.455).close().extrude(0.153... | 6 | 124 | 0.704532 |
train_f9eb4db2b6bf7274 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.369).lineTo(1, 0.218).lineTo(-0.515, 0.218).lineTo(-0.515, -0.218).lineTo(1, -0.218).lineTo(1, -0.369).lineTo(-1, -0.369).lineTo(-1, 0.369).lineTo(1, 0.369).close().extrude(0.536)
resul... | 4 | 83 | 0.430954 |
train_6e291728de08ac74 | 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.058, 0.11).threePointArc((-0.045, 0.105), (-0.04, 0.093)).lineTo(-0.04, -0.018).threePointArc((-0.034, -0.032), (-0.019, -0.039)).lineTo(0.097, -0.039).threePointArc((0.107, -0.043), (0.111, ... | 3 | 14 | 0.052412 |
train_5120955e7657d7eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.321, -0.011, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.186, -0.557).threePointArc((-0.166, -0.853), (-0.361, -0.455)).lineTo(0.187, 0.493).threePointArc((0.151, 0.853), (0.361, 0.392)).lineTo(-0.186, -0.557).close().extrude(0.62)
res... | 4 | 40 | 0.500818 |
train_881e9a98bc0e8cf9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.156, 0.033, -0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.622, 0.502).lineTo(0.699, -0.461).threePointArc((-0.699, -0.502), (0.622, 0.502)).close().extrude(0.126)
result = result.union(cq.Workplane(cq.Plane(origin=(0.657, 0.095, 0.137), ... | 7 | 48 | 0.394613 |
train_95018e337b521007 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.155, -0.074, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.632, 0.435).threePointArc((0.803, -0.399), (0.337, -0.668)).lineTo(0.202, -0.435).threePointArc((-0.803, 0.228), (0.498, 0.668)).close().extrude(4.056, both=True).intersect(cq.Work... | 13 | 33 | 2.312834 |
train_ae9ab6b7a5723c32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.112, 0, 0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.793).lineTo(0, 0.397).lineTo(0.806, 0.397).lineTo(0.806, 0).lineTo(0.269, 0).lineTo(0.269, -0.397).lineTo(0, -0.397).lineTo(0, -0.793).lineTo(-0.269, -0.793).lineTo(-0.269, -0.397).l... | 5 | 92 | 0.511075 |
train_b83f9aad8912d6e9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.121, 0.072, -0.682), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.013, 0.06).threePointArc((0.093, -0.027), (-0.034, -0.059)).lineTo(-0.09, -0.042).threePointArc((-0.093, -0.035), (-0.081, -0.022)).lineTo(-0.023, -0.037).threePointArc((0.012, -0... | 4 | 39 | 0.030748 |
train_6d29ba0aa19c5747 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.007, -0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.289, 0.383).lineTo(0.289, 0.301).lineTo(0.371, 0.301).lineTo(0.371, -0.273).threePointArc((0.338, -0.349), (0.262, -0.383)).lineTo(-0.312, -0.383).threePointArc((-0.353, -0.365), (-0.3... | 13 | 69 | 0.422807 |
train_062f26240881bcf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.82, 1.513).lineTo(1.21, 1.123).lineTo(1.21, 0.524).lineTo(0.989, 0.303).lineTo(0.777, 0.303).lineTo(0.605, 0.131).lineTo(0.605, -0.756).lineTo(0.453, -0.908).lineTo(0.142, -0.908).lineTo(0,... | 6 | 48 | 1.458653 |
train_d6870cc5f8187518 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.095), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.231, 0.36).lineTo(0.231, 0).lineTo(-0.231, 0).lineTo(-0.231, 0.36).lineTo(-0.063, 0.36).lineTo(-0.063, 0.168).lineTo(0.063, 0.168).lineTo(0.063, 0.36).lineTo(0.231, 0.36).close().extrude(1... | 10 | 94 | 0.465844 |
train_c68bdaa6e2e87d64 | 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.382, 0.758).threePointArc((-0.328, 0.737), (-0.306, 0.688)).lineTo(-0.306, -0.098).threePointArc((-0.23, -0.262), (-0.051, -0.331)).lineTo(0.674, -0.331).threePointArc((0.743, -0.358), (0.772... | 10 | 14 | 2.312388 |
train_a9bcab9de31cdb69 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.798), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.195, 1.595).lineTo(0.195, 0.195).lineTo(2, 0.195).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.595).lineTo(0.195, 1.595).close().extrude(0.188, both=True)
final_result = result
| 1 | 8 | 0.249288 |
train_763a0973d8818b40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.637)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.923).extrude(1.909, both=True))
result = result.union(cq.Workpl... | 12 | 45 | 1.37263 |
train_1da656dc768d187a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.706, 0.706).lineTo(1, 0).lineTo(0.706, -0.706).lineTo(0, -1).lineTo(-0.706, -0.706).lineTo(-1, 0).lineTo(-0.706, 0.706).lineTo(0, 1).close().extrude(0.411)
result = result.cut(... | 10 | 91 | 0.898387 |
train_b8840d88b2835a92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, 0, -0.031), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.527, 2, 0.772)
result = result.edges().fillet(0.167)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.16, 0, 0.013), normal=(-1, 0, 0), xDir=(0, 0, 1))).spline([(0.075, 0.521), (-0.07... | 12 | 100 | 1.125093 |
train_5f7bda002f57e962 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.354), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.707).lineTo(1, 0.377).lineTo(0.809, 0.377).lineTo(0.809, 0).lineTo(0.421, 0).lineTo(0.421, 0.707).lineTo(1, 0.707).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 2 | 12 | 1.407753 |
train_029679a14960a7d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.939, 0.282).lineTo(1, 0.221).lineTo(1, -0.282).lineTo(-0.958, -0.282).lineTo(-1, -0.24).lineTo(-1, 0.282).lineTo(0.939, 0.282).close().extrude(0.398)
result = result.union(cq.Workplane(cq.... | 8 | 21 | 0.261585 |
train_cdf24138891f8ba8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.524).lineTo(1, -0.485).threePointArc((0.988, -0.513), (0.959, -0.524)).lineTo(-0.959, -0.524).threePointArc((-0.986, -0.513), (-1, -0.484)).lineTo(-1, 0.487).threePointArc((-0.988, 0.514... | 12 | 37 | 0.33628 |
train_d9d40a2768579e75 | 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.081).lineTo(0.935, 0).lineTo(1, -0.081).lineTo(0.253, -0.081).lineTo(0.253, 0.081).lineTo(1, 0.081).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 15 | 80 | 0.399219 |
train_327f964090a8d070 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.116, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.062, 0.098).threePointArc((-0.055, 0.096), (-0.053, 0.09)).lineTo(-0.053, -0.043).threePointArc((-0.046, -0.057), (-0.03, -0.064)).lineTo(0.086, -0.064).threePointArc((0.089, -0.065), (0.... | 5 | 30 | 0.028592 |
train_1d86df75618c2199 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.131, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.818, 0.639).threePointArc((0.853, 0.624), (0.868, 0.589)).lineTo(0.868, -0.523).threePointArc((0.833, -0.604), (0.753, -0.639)).lineTo(-0.809, -0.639).threePointArc((-0.85, -0.621), (-... | 15 | 114 | 0.468815 |
train_10531258852424e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.763, 0.779).threePointArc((0.93, 0.71), (1, 0.543)).lineTo(1, -0.519).threePointArc((0.922, -0.702), (0.738, -0.779)).lineTo(-0.824, -0.779).threePointArc((-0.947, -0.728), (-1, -0.604)).l... | 14 | 67 | 1.267875 |
train_317adaa103fb4fcd | 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.332, 1).lineTo(0.332, -0.332).lineTo(1, -0.332).lineTo(1, -1).lineTo(-0.332, -1).lineTo(-0.332, -0.332).lineTo(-1, -0.332).lineTo(-1, 1).lineTo(0.332, 1).close().extrude(0.418)
result = re... | 15 | 126 | 1.030303 |
train_1227ca84c5dedfed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.722, 0.552).lineTo(0.92, 0.289).lineTo(1, 0.193).lineTo(1, 0).lineTo(0.818, 0).lineTo(0.818, 0.165).lineTo(0.717, 0.289).lineTo(0, 0.369).lineTo(0, 0.552).lineTo(0.722, 0.552).close().rev... | 3 | 20 | 0.368825 |
train_fd54b0aa2b337bbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.732), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.15).workplane(offset=1.464).rect(0.715, 0.213).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.114).extrude(0.454, both... | 3 | 11 | 0.322457 |
train_89cbbb5336ffaea8 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.863).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.76).extrude(0.688, both=True))
result = result.cut(cq.Workplane('XY').circle(0.47).extrude(3, both=True))
result = r... | 5 | 52 | 2.832745 |
train_cf0cc0624885d79b | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.227).lineTo(0.77, 0).lineTo(1, -0.227).lineTo(0.396, -0.227).lineTo(0.396, 0.227).lineTo(1, 0.227).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.551, 0, 0), normal=(0... | 10 | 192 | 0.590237 |
train_d808f690b1e58d8a | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.125).lineTo(0.795, 0).lineTo(1, -0.125).lineTo(0.29, -0.125).lineTo(0.29, 0.125).lineTo(1, 0.125).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0, ... | 4 | 27 | 0.293754 |
train_07fb1e8280a948f7 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.01, 0.061).lineTo(0.047, 0.04).lineTo(0.062, 0).lineTo(0.047, -0.04).lineTo(0.01, -0.061).lineTo(-0.03, -0.053).lineTo(-0.058, -0.021).lineTo(-0.058, 0.021).lineTo(-0.03, 0.053).lineTo(0.01, 0.061).close().extrude(1, both=True)
result = result.union... | 5 | 26 | 0.032746 |
train_1db4588f6228d976 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.01, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.291, 0.167).lineTo(0.291, -0.167).lineTo(-0.291, -0.167).lineTo(-0.291, 0.167).lineTo(0.291, 0.167).close().extrude(0.516, both=True)
result = result.union(cq.Workplane(cq.Plane(origin... | 7 | 29 | 0.276317 |
train_b285d4dd0bfe5680 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.084, -0.481, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.222, 0.222).lineTo(0.222, -0.074).lineTo(0.074, -0.074).lineTo(0.074, -0.222).lineTo(-0.074, -0.222).lineTo(-0.074, -0.074).lineTo(-0.222, -0.074).lineTo(-0.222, 0.222).lineTo(0.222, ... | 4 | 26 | 0.459777 |
train_bf7c984e5af15112 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.207, 0.222).lineTo(0.385, 0.135).lineTo(1.019, -0.121).lineTo(0.253, -0.122).lineTo(-0.791, -0.222).lineTo(-0.968, -0.196).lineTo(-1.019, -0.125).lineTo(-0.952, -0.006).lineTo(-0.761, 0.116).lineTo(-0.207, 0.222).close().extrude(0.374, both=True).i... | 2 | 15 | 0.061125 |
train_a513eb1e0c0cc42d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, 0.072, 0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.908, 0.279).lineTo(0.908, 0.187).lineTo(0.164, 0.187).lineTo(0.164, -0.279).lineTo(-0.164, -0.279).lineTo(-0.164, 0.187).lineTo(-0.908, 0.187).lineTo(-0.908, 0.279).lineTo(0.908, 0.... | 17 | 394 | 0.268474 |
train_184eff065c230b1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.033, 0, 0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.429, 0.577).lineTo(0.932, -0.577).lineTo(-0.932, -0.577).lineTo(-0.429, 0.577).lineTo(0.429, 0.577).close().extrude(1.228, both=True)
result = result.intersect(cq.Workplane(cq.Plane(or... | 11 | 142 | 0.644242 |
train_7fae65d856042d4d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.229, -0.197, -0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.246, 0.177).threePointArc((0.344, 0.168), (0.385, 0.145)).lineTo(0.385, 0.024).threePointArc((0.416, 0.007), (0.488, 0)).lineTo(0.709, 0).threePointArc((0.752, -0.004), (0.771, -... | 18 | 197 | 0.195397 |
train_5cf63aa8c9015a6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.546)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.662).extrude(1.633, both=True))
result = result.union(cq.Workpl... | 15 | 83 | 1.006613 |
train_1ab6c8eb374d8f5c | 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.431, 1.704).lineTo(0.431, 1.428).lineTo(0.712, 1.428).lineTo(0.712, 1.107).lineTo(0.412, 1.107).lineTo(0.412, 0.471).lineTo(0.236, 0.471).lineTo(0.236, 0).lineTo(0, 0).lineTo(0, 1.704).lineTo... | 5 | 214 | 0.940275 |
train_aa2d6c380e71be26 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.063, 0.553, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.354, 0.446).lineTo(0.354, 0.328).lineTo(0.059, 0.328).lineTo(0.059, -0.446).lineTo(-0.059, -0.446).lineTo(-0.059, 0.328).lineTo(-0.354, 0.328).lineTo(-0.354, 0.446).lineTo(0.354, ... | 4 | 16 | 0.032548 |
train_81176edcf01f20ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.199).lineTo(1, 0.074).lineTo(1, 0).lineTo(0.86, 0).lineTo(0.86, 0.063).lineTo(0.765, 0.199).lineTo(0, 0.079).lineTo(0, 0.21).lineTo(0.829, 0.21).lineTo(0.912, 0.199).close().revolv... | 9 | 113 | 0.242165 |
train_dc68e31b3746465f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.817, 0.917).lineTo(1, 0.734).lineTo(1, -0.752).lineTo(0.835, -0.917).lineTo(-0.856, -0.917).lineTo(-1, -0.774).lineTo(-1, 0.768).lineTo(-0.85, 0.917).lineTo(0.817, 0.917).close().extrude(0.... | 18 | 158 | 1.078125 |
train_4c453f34ed94e8ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.258, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.165, 0.741).threePointArc((0.307, 0.682), (0.366, 0.539)).lineTo(0.366, -0.579).threePointArc((0.319, -0.694), (0.204, -0.741)).lineTo(-0.199, -0.741).threePointArc((-0.317, -0.692), ... | 8 | 120 | 0.291778 |
train_9dd2681f4887e10b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.383, 0, 0.431), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.452, 0.284).lineTo(0.481, 0.254).lineTo(0.481, -0.259).lineTo(0.456, -0.284).lineTo(-0.432, -0.284).lineTo(-0.481, -0.233).lineTo(-0.481, 0.244).lineTo(-0.443, 0.284).lineTo(0.452, 0.28... | 13 | 91 | 0.129795 |
train_e35979b8ee541002 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).threePointArc((0.704, 0.704), (1, 0)).threePointArc((0.704, -0.704), (0, -1)).threePointArc((-0.704, -0.704), (-1, 0)).threePointArc((-0.704, 0.704), (0, 1)).close().extrude(0.832)
res... | 6 | 28 | 2.59221 |
train_d98eb3a1f13d7abf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, 1.053, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.436, 2.053).lineTo(0.497, 1.848).lineTo(0.405, 1.641).lineTo(0.51, 1.437).lineTo(0.451, 1.23).lineTo(1, 0.617).lineTo(0.727, 0.554).lineTo(0.453, 0.544).threePointArc((0.306, 0.529), (... | 7 | 516 | 0.744165 |
train_81f29f3e8570215c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.542, 0.441).lineTo(0.542, 0).lineTo(-0.542, 0).lineTo(-0.542, 0.441).lineTo(-0.484, 0.441).lineTo(-0.484, 0.058).lineTo(0.484, 0.058).lineTo(0.484, 0.441).lineTo(0.542, 0.441).close().ext... | 10 | 53 | 0.256268 |
train_240352173963939d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.411, 0.458, -0.16), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.153, 0.194).threePointArc((0.187, 0.169), (0.187, 0.126)).lineTo(0.207, 0.059).threePointArc((0.176, 0.031), (0.184, -0.009)).lineTo(0.178, -0.077).lineTo(0.153, -0.145).threePoint... | 11 | 267 | 0.752442 |
train_80a483fdc77b4cbe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.5, 0.705, -0.025), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.096, 0.012).threePointArc((0.105, 0.003), (0.101, -0.009)).threePointArc((0.089, -0.012), (0.081, -0.003)).threePointArc((0.084, 0.009), (0.096, 0.012)).close().sweep(cq.Workplane(c... | 16 | 163 | 1.315582 |
train_4c9f789174955fb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.568, 0.036, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.503, 0.432).lineTo(0.649, 0.287).lineTo(0.649, 0.071).lineTo(0.578, 0).lineTo(0.33, 0).lineTo(0.216, -0.114).lineTo(0.216, -0.34).lineTo(0.124, -0.432).lineTo(-0.362, -0.432).line... | 14 | 200 | 0.317009 |
train_b1db8fde79bd54b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.31, 0.951).lineTo(0.81, 0.588).lineTo(1, 0).lineTo(0.81, -0.588).lineTo(0.31, -0.951).lineTo(-0.31, -0.951).lineTo(-0.81, -0.588).lineTo(-1, 0).lineTo(-0.81, 0.588).lineTo(-0.31, 0.951).li... | 6 | 60 | 1.335032 |
train_817da83067c9d8a0 | 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.634, 0.5).lineTo(0.69, 0.444).lineTo(0.69, 0.344).lineTo(0.784, 0.25).lineTo(0.894, 0.25).lineTo(0.94, 0.204).lineTo(0.94, -0.159).lineTo(0.849, -0.25).lineTo(0.777, -0.25).lineTo(0.69, -0.337... | 4 | 52 | 1.928482 |
train_f7fb36cdf1042027 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.348).lineTo(1, -0.098).threePointArc((0.918, -0.275), (0.745, -0.348)).lineTo(-0.797, -0.348).lineTo(-0.797, -0.15).lineTo(-1, -0.15).lineTo(-1, 0.007).threePointArc((-0.891, 0.249), (-... | 7 | 113 | 0.227812 |
train_58778a086c645ea5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.975), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.974, 0.713).lineTo(0.974, -0.925).lineTo(-0.974, -0.925).lineTo(-0.974, 0.713).threePointArc((-0.866, 0.925), (-0.758, 0.713)).threePointArc((-0.65, 0.501), (-0.541, 0.713)).threePointArc(... | 14 | 134 | 3.174021 |
train_51e8dded03864f80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, 0.085, 0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.442, -0.362).threePointArc((-0.736, 0.604), (-0.442, 0.604)).threePointArc((-0.442, 0.845), (-0.147, 0.845)).threePointArc((0.442, 0.121), (0.736, -0.121)).lineTo(0.736, -0.362).t... | 16 | 48 | 0.72782 |
train_44a1ba6236cc55ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.892, 0.637).lineTo(0.892, -0.641).lineTo(0.885, -0.65).lineTo(-0.885, -0.65).lineTo(-0.892, -0.643).lineTo(-0.892, 0.633).lineTo(-0.875, 0.65).lineTo(0.879, 0.65).lineTo(0.892, 0.637)... | 13 | 80 | 0.917897 |
train_75be02fe9a1635ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.197, 0.39).threePointArc((0.197, 0.39), (0.394, 0)).threePointArc((0.197, -0.39), (-0.197, -0.39)).threePointArc((-0.394, 0), (-0.197, 0.39)).close().extrude(2)
result = result.cut(cq.Wo... | 6 | 24 | 1.116312 |
train_8214ac7416361c64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.074, 0.582), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.59, -0.073).lineTo(0.556, -0.21).lineTo(0.666, -0.262).lineTo(0.593, -0.4).lineTo(0.488, -0.339).lineTo(0.395, -0.445).lineTo(0.468, -0.542).lineTo(0.339, -0.631).lineTo(0.274, -0.528... | 12 | 284 | 1.660752 |
train_f5e73e36fb1af575 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.233, 2).extrude(0.209)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.498, -0.718).lineTo(0.498, -0.883).lineTo(-0.498, -0.883)... | 17 | 84 | 0.317491 |
train_8da18dbefd650394 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.194, -0.92), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.165).threePointArc((0.87, 0.021), (0.982, -0.176)).threePointArc((0.973, -0.375), (0.823, -0.492)).threePointArc((0.603, -0.497), (0.409, -0.449)).threePointArc((0.278, -0.... | 21 | 86 | 3.2482 |
train_f0a34ae0e729dd25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.049, 0.906, 0.495), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.114, 0.093).threePointArc((0.162, 0.014), (0.123, -0.011)).lineTo(-0.099, -0.093).threePointArc((-0.162, -0.077), (-0.147, -0.014)).lineTo(0.114, 0.093).close().sweep(cq.Workplane(c... | 8 | 247 | 0.136899 |
train_a87304669dd6b916 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.165, -0.39, -0.67), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.473, -0.095).threePointArc((-0.737, -0.305), (-0.473, 0.174)).lineTo(0.546, 0.174).threePointArc((0.737, 0.305), (0.546, -0.095)).lineTo(-0.473, -0.095).close().extrude(0.778)
resu... | 20 | 127 | 0.630148 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.