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_fcfe5524324f19f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, -0.217, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.143, 0).threePointArc((0.101, 0.101), (0, 0.143)).lineTo(0, 0.571).close().extrude(2)
result = result.union(cq.Workplane(cq... | 4 | 20 | 0.506138 |
train_a4df5916ebb0f2ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.305, 0.066, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.399).threePointArc((0.16, 0.342), (0.224, 0.342)).threePointArc((0.416, 0.285), (0.416, -0.057)).threePointArc((0.16, -0.399), (-0.16, -0.171)).threePointArc((-0.224, 0), (... | 14 | 151 | 0.861372 |
train_1da3ebf2c8d2bc1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.949, 0.34).lineTo(1, 0.288).lineTo(1, -0.34).lineTo(-0.946, -0.34).lineTo(-1, -0.286).lineTo(-1, 0.34).lineTo(0.949, 0.34).close().extrude(0.277)
result = result.union(cq.Workplane(cq.Plane... | 9 | 20 | 0.363481 |
train_950697aa18a2dfcb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.949, 0.491).threePointArc((0.985, 0.476), (1, 0.44)).lineTo(1, -0.37).lineTo(0.88, -0.491).lineTo(-0.936, -0.491).threePointArc((-0.981, -0.472), (-1, -0.427)).lineTo(-1, 0.491).lineTo(... | 9 | 68 | 0.383296 |
train_b56c5d801dca3d4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.151, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.078, 0.465).lineTo(0.233, 0.428).lineTo(0.389, 0.377).threePointArc((0.621, 0.145), (0.389, -0.087)).threePointArc((0.317, -0.134), (0.233, -0.154)).threePointArc((0.185, -0.053), (0.078,... | 9 | 766 | 1.045593 |
train_37e8c7dafedb0270 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.168, 0.039, -0.45), normal=(-0.468, -0.787, 0.401), xDir=(0.86, -0.511, 0))).moveTo(-0.518, 0.343).threePointArc((-0.211, 0.582), (-0.116, 0.313)).lineTo(0.098, 0.284).threePointArc((0.109, 0.281), (0.119, 0.276)).lineTo(0.162, 0.249).threePoint... | 11 | 86 | 0.307301 |
train_22ab20578990c3ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.355, 0.212).lineTo(0.448, 0.12).lineTo(0.448, -0.057).threePointArc((0.402, -0.167), (0.293, -0.212)).lineTo(-0.28, -0.212).threePointArc((-0.398, -0.163), (-0.448, -0.045)).lineTo(-0.448,... | 15 | 97 | 1.016138 |
train_8c3a7fb257e7f0ad | 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.463, 0.508).lineTo(-0.463, -0.304).lineTo(0.667, -0.304).lineTo(0.667, -0.508).lineTo(-0.667, -0.508).lineTo(-0.667, 0.508).lineTo(-0.463, 0.508).close().extrude(2)
result = result.cut(cq.Wor... | 11 | 16 | 0.770145 |
train_65ddb5cec335a11c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.179, 0.092, 0.086), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.312, 0.551).lineTo(0.312, 0.419).lineTo(0.115, 0.419).lineTo(0.115, 0.034).threePointArc((0.094, 0.02), (0.069, 0.023)).lineTo(0.023, 0.022).lineTo(-0.023, 0.012).lineTo(-0.069, 0.... | 4 | 100 | 0.437695 |
train_93b07bbcd3be94e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.502), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.171, 1).lineTo(0.327, 0.544).lineTo(0.107, 0.106).lineTo(0.226, -0.14).lineTo(0.312, -0.544).lineTo(0.622, -0.906).lineTo(0.512, -1).lineTo(0.19, -0.624).lineTo(0.086, -0.179).threePointAr... | 1 | 26 | 0.638385 |
train_faca2f2d43e67f5a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.062, 2).extrude(0.47)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.371, 0.17).lineTo(0.371, -0.17).lineTo(-0.371, -0.17).clos... | 10 | 35 | 0.631743 |
train_ffb95efe987bbc4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.279, -0.5, -0.533), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.373, 0.232).lineTo(0.352, 0.148).lineTo(0.441, 0.114).lineTo(0.386, 0.01).lineTo(0.308, 0.064).lineTo(0.251, -0.001).lineTo(0.314, -0.072).lineTo(0.217, -0.139).lineTo(0.173, -0.05... | 4 | 57 | 0.951323 |
train_3a16cd5bf5073eb4 | 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.803, 0.984).threePointArc((0.941, 0.938), (1, 0.829)).lineTo(1, 0.268).threePointArc((0.973, 0.218), (0.91, 0.197)).lineTo(0.638, 0.197).threePointArc((0.541, 0.165), (0.5, 0.089)).lineTo(... | 10 | 103 | 0.87114 |
train_32340b1bbe3cef90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.207, -0.012, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.014, 0.056).lineTo(0.014, 0.028).lineTo(0.042, 0.028).lineTo(0.042, 0).lineTo(0.014, 0).lineTo(0.014, -0.028).lineTo(0.042, -0.028).lineTo(0.042, -0.056).lineTo(-0.014, -0.056).lineTo(... | 7 | 73 | 0.156288 |
train_41afbdc9463e3bec | 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(0.369, 0.261).lineTo(0.369, -0.261).lineTo(-0.369, -0.261).lineTo(-0.369, 0.261).lineTo(0.369, 0.261).close().extrude(0.351, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0,... | 9 | 52 | 0.309499 |
train_281c5a1145e1d1d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.296, -0.099), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.127, 0.273).lineTo(0.127, 0).lineTo(-0.127, 0).lineTo(-0.127, 0.273).lineTo(-0.06, 0.273).lineTo(-0.06, 0.066).lineTo(0.06, 0.066).lineTo(0.06, 0.273).lineTo(0.127, 0.273).close().ex... | 6 | 62 | 0.101624 |
train_4065a7d758957ae6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.831), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.661).lineTo(1, 0.601).lineTo(0.553, 0.601).lineTo(0.553, 0).lineTo(0.184, 0).lineTo(0.184, 1.661).lineTo(1, 1.661).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 6 | 99 | 1.399491 |
train_330c61693df27193 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.213, 0.245, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.333, 2.255).lineTo(1, 1.93).lineTo(1, 1.26).lineTo(0.309, 1.26).lineTo(0.309, 0.219).lineTo(-0.309, 0.219).lineTo(-0.309, 1.26).lineTo(-1, 1.26).lineTo(-1, 1.93).threePointArc((-0.713,... | 3 | 17 | 1.189838 |
train_0a50e4ed9875206e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.094, -0.335), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.38, 1.094).lineTo(0.38, -1).lineTo(0.286, -1.094).lineTo(-0.307, -1.094).threePointArc((-0.358, -1.072), (-0.38, -1.02)).lineTo(-0.38, 0.96).lineTo(-0.245, 1.094).lineTo(0.38, 1.094).... | 8 | 58 | 0.552639 |
train_49eb010c83de6128 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.901, 0.477).threePointArc((0.52, 0.825), (0.901, -0.477)).threePointArc((-0.52, -0.825), (-0.901, 0.477)).close().extrude(0.35)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.618, 0... | 7 | 4 | 1.080223 |
train_986b8228838f35dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.29, -0.016, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, 0.056).lineTo(0.055, -0.056).lineTo(-0.055, -0.056).lineTo(-0.055, 0.056).lineTo(-0.032, 0.056).lineTo(-0.032, -0.039).lineTo(0.032, -0.039).lineTo(0.032, 0.056).lineTo(0.055, 0.0... | 4 | 69 | 0.122102 |
train_86b6a1eca03c64c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.081, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.063).lineTo(1, 0.037).lineTo(0.247, 0.037).lineTo(0.247, -0.063).lineTo(-0.247, -0.063).lineTo(-0.247, 0.037).lineTo(-1, 0.037).lineTo(-1, 0.063).lineTo(1, 0.063).close().extrude(0... | 4 | 78 | 0.074067 |
train_cae43334692b7680 | 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.769, 1).lineTo(0.769, 0.597).lineTo(0.256, 0.597).lineTo(0.256, 0.199).lineTo(0.769, 0.199).lineTo(0.769, -1).lineTo(0.256, -1).lineTo(0.256, -0.597).lineTo(-0.256, -0.597).lineTo(-0.256, ... | 32 | 229 | 0.903296 |
train_29e74c02f2d30faa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.017, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.756, 2).lineTo(0.756, 0.22).lineTo(0.955, 0.22).lineTo(0.955, 0).lineTo(0.497, 0).lineTo(0.497, 2).lineTo(0.756, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, ... | 9 | 51 | 1.547349 |
train_d996ad0c10f09642 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, 0.135, -0.173), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.032, 0.17).threePointArc((0.213, 0.085), (0.27, -0.03)).threePointArc((0.168, -0.106), (-0.032, -0.1)).threePointArc((-0.213, -0.016), (-0.27, 0.099)).threePointArc((-0.168, 0.175... | 8 | 71 | 0.734232 |
train_a1a474c0ea6ec4d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.217, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.882, 0.183).lineTo(1, 0.065).lineTo(1, -0.061).lineTo(0.878, -0.183).lineTo(-0.908, -0.183).lineTo(-1, -0.092).lineTo(-1, 0.043).lineTo(-0.858, 0.183).lineTo(0.882, 0.183).close().extr... | 8 | 37 | 0.322095 |
train_d6de1b1cd37aa06b | 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.514, 0.577).lineTo(0.514, -0.6).lineTo(0.209, -0.6).lineTo(0.209, -0.186).lineTo(-0.105, -0.186).lineTo(-0.105, -0.6).lineTo(-0.409, -0.6).lineTo(-0.469, -0.364).lineTo(-0.514, -0.129).li... | 4 | 98 | 1.848246 |
train_92294d84abf15a5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.067, -0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.908, 0.804).threePointArc((0.972, 0.778), (1, 0.714)).lineTo(1, -0.742).threePointArc((0.981, -0.786), (0.935, -0.804)).lineTo(-0.948, -0.804).threePointArc((-0.983, -0.79), (-1, -0.75... | 7 | 36 | 1.999102 |
train_15be65a3a9e06278 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.452, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(2.184, 1.089, 2)
result = result.edges().fillet(0.188)
result = result.cut(cq.Workplane(cq.Plane(origin=(-1.515, -0.597, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1.709, 0.875).threePointA... | 13 | 56 | 1.553381 |
train_7f42118c815b652a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.515), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.449, 1.03).lineTo(0.449, 0.336).lineTo(1, 0.336).lineTo(1, 0).lineTo(0.32, 0).lineTo(0.32, 1.03).lineTo(0.449, 1.03).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, ... | 3 | 28 | 1.10425 |
train_1ccc0bf33dee9bc1 | 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.202, 0.14).threePointArc((0.216, 0.125), (0.222, 0.09)).lineTo(0.222, -0.075).threePointArc((0.215, -0.121), (0.197, -0.14)).lineTo(-0.19, -0.14).threePointArc((-0.213, -0.116), (-0.222, -0.05... | 1 | 10 | 0.246051 |
train_bc2be8ed59b91602 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.629, 0.391).lineTo(-0.629, -0.258).lineTo(0.961, -0.258).lineTo(0.961, -0.391).lineTo(-0.961, -0.391).lineTo(-0.961, 0.391).lineTo(-0.629, 0.391).close().extrude(1.173, taper=-1.868)
resu... | 5 | 16 | 0.994893 |
train_4dd2424338639cc9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.5, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.624, 0.382).lineTo(0.668, 0.094).lineTo(0.956, 0.138).lineTo(1, -0.15).lineTo(0.856, -0.172).lineTo(0.878, -0.316).lineTo(0.734, -0.338).lineTo(0.69, -0.05).lineTo(0.546, -0.072).lineTo(0.5... | 2 | 22 | 0.554432 |
train_e9491c360f0a8dfd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.176, -0.335), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.928, 0.824).lineTo(0.928, -0.824).lineTo(-0.928, -0.824).lineTo(-0.928, 0.824).lineTo(-0.648, 0.824).lineTo(-0.648, -0.558).lineTo(0.648, -0.558).lineTo(0.648, 0.824).lineTo(0.928, 0.8... | 15 | 165 | 0.344665 |
train_d53b944791e99ba3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.44), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.889, 0.126).threePointArc((0.968, 0.094), (1, 0.017)).lineTo(1, -0.126).lineTo(-0.934, -0.126).lineTo(-1, -0.062).lineTo(-1, 0.017).threePointArc((-0.968, 0.094), (-0.891, 0.126)).lineTo(0.... | 9 | 58 | 0.540134 |
train_8cb1f9edcdb8010f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.186, 0.047, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.082, 0.083).threePointArc((0.093, 0.076), (0.098, 0.06)).lineTo(0.098, -0.001).threePointArc((0.093, -0.02), (0.08, -0.028)).lineTo(0.034, -0.028).threePointArc((0.024, -0.034), (0.02,... | 4 | 77 | 0.078095 |
train_7edaf2129d1460d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.217, 0.167), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.232, 0.368).lineTo(0.232, -0.045).lineTo(-0.232, -0.045).lineTo(-0.232, 0.368).lineTo(-0.089, 0.368).lineTo(-0.089, 0.092).lineTo(0.089, 0.092).lineTo(0.089, 0.368).lineTo(0.232, 0.368... | 11 | 254 | 0.16053 |
train_14da73cf7accb098 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.27, 0.07, 0.1), normal=(0.481, -0.643, -0.597), xDir=(0.801, 0.599, 0))).moveTo(-0.38, 0.658).threePointArc((0.197, 0.734), (0.658, 0.38)).threePointArc((0.734, -0.197), (0.38, -0.658)).threePointArc((-0.197, -0.734), (-0.658, -0.38)).threePoin... | 13 | 72 | 1.157313 |
train_17ee0460afa67206 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.01, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.013, 0.107).lineTo(0.062, 0.089).lineTo(0.097, 0.05).lineTo(0.108, 0).lineTo(0.097, -0.05).lineTo(0.062, -0.089).lineTo(0.013, -0.107).lineTo(-0.038, -0.102).lineTo(-0.081, -0.072).lineTo(-0... | 9 | 44 | 0.025498 |
train_53c878e5ed88b07d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.693, 0.602).lineTo(1, 0.295).lineTo(1, -0.267).lineTo(0.665, -0.602).lineTo(-0.65, -0.602).lineTo(-1, -0.252).lineTo(-1, 0.421).lineTo(-0.819, 0.602).lineTo(0.693, 0.602).close().extrude(0... | 17 | 159 | 0.317794 |
train_59d3b4b727c0105f | 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.525, 1).threePointArc((0.575, 0.97), (0.597, 0.919)).lineTo(0.597, 0.337).threePointArc((0.638, 0.24), (0.736, 0.199)).lineTo(0.931, 0.199).threePointArc((0.974, 0.181), (1, 0.138)).lineTo... | 4 | 52 | 1.46848 |
train_1e10f2ee83fb61a9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0.044, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.66, 0.376).lineTo(0.66, 0.038).lineTo(0.998, 0.038).lineTo(0.998, -0.181).lineTo(0.803, -0.181).lineTo(0.803, -0.376).lineTo(-0.643, -0.376).lineTo(-0.643, -0.021).lineTo(-0.998, -... | 11 | 122 | 0.544817 |
train_66dd9daebd2a95e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.031, -0.001, 0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.635, -0.029).threePointArc((0.063, 0.775), (0.585, -0.179)).lineTo(0.564, -0.746).threePointArc((0.561, -0.752), (0.552, -0.756)).lineTo(0.479, -0.775).threePointArc((0.466, -0.77... | 13 | 228 | 0.201536 |
train_2f8c6b64f95af70c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, 0.8).lineTo(0.8, -0.8).threePointArc((-0.8, 0), (0.8, 0.8)).close().extrude(0.226)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.375, 0.073, -0.142), normal=(0, 0, 1), xDir=(1,... | 5 | 116 | 0.639334 |
train_35143d6ce3b1d86c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.696).lineTo(1, -0.581).lineTo(0.877, -0.696).lineTo(-0.887, -0.696).threePointArc((-0.961, -0.665), (-1, -0.591)).lineTo(-1, 0.564).threePointArc((-0.953, 0.657), (-0.86, 0.696)).lineTo... | 12 | 94 | 0.172186 |
train_136e9266ed5548dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.176, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.467, 0.792).lineTo(0.909, 0.009).lineTo(0.468, -0.776).lineTo(-0.435, -0.795).lineTo(-0.909, 0.001).lineTo(-0.461, 0.795).lineTo(0.467, 0.792).close().extrude(0.149, taper=-9.475)
res... | 12 | 108 | 0.256124 |
train_478abe7635818b86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.251, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.748).extrude(0.886, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.251, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.369).extrude(1.458, both=True))
result = result.... | 6 | 13 | 1.180963 |
train_e340cd2a5691bb3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.481, 0.731).threePointArc((-0.435, 0.712), (-0.416, 0.666)).lineTo(-0.416, 0.01).threePointArc((-0.369, -0.1), (-0.259, -0.147)).lineTo(0.915, -0.147).threePointArc((0.975, -0.172), (1, -... | 2 | 38 | 0.861442 |
train_e3493eba80ee5e39 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.486, -0.338, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.97).threePointArc((0.688, 0.688), (0.97, 0)).lineTo(0.557, 0).threePointArc((0.394, 0.394), (0, 0.557)).lineTo(0, 0.97).close().extrude(2)
result = result.union(cq.Workplane(cq.Pl... | 7 | 44 | 0.897851 |
train_7f51c4cf223aed88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.838, -1.664, -0.863), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.338, 1.888).lineTo(0.867, 1.258).threePointArc((1.047, 1.073), (1.005, 0.818)).lineTo(-0.353, -1.784).threePointArc((-0.459, -1.888), (-0.555, -1.774)).lineTo(-1.047, -0.552).th... | 8 | 23 | 2.089657 |
train_deb069b5f8be4437 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.038, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.841, 0.319).threePointArc((0.948, 0.274), (1, 0.166)).lineTo(1, -0.23).lineTo(0.904, -0.23).lineTo(0.904, -0.319).lineTo(-0.87, -0.319).threePointArc((-0.956, -0.282), (-1, -0.195)).li... | 13 | 115 | 0.305624 |
train_b3befcb557d44bf5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.41, 0.866).threePointArc((0.466, 0.838), (0.49, 0.772)).lineTo(0.49, 0.462).threePointArc((0.533, 0.34), (0.635, 0.289)).lineTo(0.888, 0.289).threePointArc((0.952, 0.257), (0.979, 0.182)).... | 18 | 344 | 0.452241 |
train_2789b69e7b6dde6b | 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.67, 0.667).threePointArc((0.902, 0.569), (1, 0.337)).lineTo(1, -0.445).threePointArc((0.934, -0.601), (0.778, -0.667)).lineTo(0.465, -0.667).threePointArc((0.373, -0.627), (0.333, -0.535)).lin... | 1 | 18 | 4.331055 |
train_144ca927baa4e3d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.095, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.678).threePointArc((0.872, 0.647), (0.904, 0.573)).lineTo(0.904, 0.306).threePointArc((0.88, 0.25), (0.825, 0.226)).lineTo(0.589, 0.226).threePointArc((0.493, 0.186), (0.452, 0.... | 9 | 103 | 0.467679 |
train_6130d072c5405447 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.145, 1).threePointArc((0.277, 0.936), (0.332, 0.809)).lineTo(0.332, 0.477).threePointArc((0.374, 0.374), (0.477, 0.332)).lineTo(0.88, 0.332).threePointArc((0.959, 0.299), (1, 0.22)).lineTo... | 6 | 105 | 0.211893 |
train_3586eb0df2dacdd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.482, 0.596, 0.059), normal=(-0.768, -0.518, -0.377), xDir=(0.559, -0.829, 0))).moveTo(-0.925, 0.968).lineTo(0.894, 0.69).lineTo(0.837, 0.281).threePointArc((0.431, 0.037), (0.798, 0.009)).lineTo(0.925, -0.414).lineTo(-0.825, -0.968).lineTo(-0.83... | 12 | 129 | 0.964368 |
train_c877e4574179a927 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.808, 0, -1.998), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.61).extrude(2.529)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.808, 0, -0.227), normal=(0.907, 0, 0.422), xDir=(0.422, 0, -0.907))).circle(1).extrude(1.102))
result = resul... | 7 | 29 | 0.601243 |
train_2c22f8e6878e10e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.332, 0.317).lineTo(-0.332, 0.146).threePointArc((-0.226, 0.093), (0.025, 0.071)).lineTo(0.626, 0.071).threePointArc((0.882, 0.047), (1, -0.008)).lineTo(1, -0.298).threePointArc((0.917... | 5 | 77 | 0.304884 |
train_e473875c71768b86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.503, 0, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.355, -0.041).lineTo(0.344, -0.098).lineTo(0.473, -0.158).lineTo(0.446, -0.223).lineTo(0.312, -0.174).lineTo(0.28, -0.222).lineTo(0.377, -0.327).lineTo(0.327, -0.377).lineTo(0.222, -0.28).... | 3 | 136 | 1.34784 |
train_4583418ec7f45c6b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.213, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.214, 0.703).threePointArc((-0.174, 0.684), (-0.157, 0.639)).lineTo(-0.157, 0.43).threePointArc((-0.136, 0.375), (-0.087, 0.351)).lineTo(0.378, 0.351).threePointArc((0.444, 0.32), (0.47... | 5 | 108 | 0.234058 |
train_dd314d44ebcce4b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.799, 0.237, 0.458), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.1, 0.174).threePointArc((0.1, 0.174), (0.201, 0)).threePointArc((0.1, -0.174), (-0.1, -0.174)).threePointArc((-0.201, 0), (-0.1, 0.174)).close().transformed(offset=(0.294, -0.256... | 2 | 14 | 0.180725 |
train_52c7868c8a244cab | 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(1, 0.858).lineTo(1, -0.858).lineTo(-0.345, -0.858).threePointArc((-0.805, -0.672), (-1, -0.212)).lineTo(-1, 0.495).lineTo(-0.626, 0.495).lineTo(-0.626, 0.858).lineTo(1, 0.858).close().extrud... | 12 | 144 | 0.836803 |
train_c6e09b2307d4454c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.821, 0.816).threePointArc((0.944, 0.731), (0.996, 0.531)).lineTo(0.996, 0.257).threePointArc((0.949, 0.076), (0.839, 0)).lineTo(0.08, 0).threePointArc((0.024, -0.039), (0, -0.13)).lineTo(0... | 8 | 34 | 0.52278 |
train_954fd2f15b4d0c99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.261, -0.405, -0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.264, -0.373).threePointArc((-0.474, -0.373), (-0.372, -0.086)).lineTo(-0.376, 0.232).lineTo(-0.221, 0.286).threePointArc((-0.141, 0.504), (0.015, 0.395)).lineTo(0.134, 0.464).li... | 9 | 89 | 0.72546 |
train_30069dba0ad76840 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.942, -0.984, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.498, 1.936).threePointArc((0.852, 1.789), (1, 1.434)).lineTo(1, 0.45).threePointArc((0.852, 0.095), (0.498, -0.052)).lineTo(-0.498, -0.052).threePointArc((-0.852, 0.095), (-1, 0.45)).... | 3 | 10 | 7.396341 |
train_ee9e290457e38f97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 0.851).threePointArc((0.5, 0.851), (1, 0)).threePointArc((0.5, -0.851), (-0.5, -0.851)).threePointArc((-1, 0), (-0.5, 0.851)).close().extrude(0.361)
result = result.cut(cq.Workplane(cq... | 7 | 69 | 0.996824 |
train_eb294a958f64a8ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.176, -0.014, 0.027), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.808, 0.263).threePointArc((0.609, 0.907), (-0.229, -0.907)).lineTo(-0.808, 0.263).close().moveTo(0.808, 0.166).lineTo(-0.115, -0.347).threePointArc((0.428, 0.594), (0.808, 0.166)... | 6 | 745 | 0.403732 |
train_3940a57f06cfcbf9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.117, -0.845), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 0.363).threePointArc((0.283, 0.356), (0.291, 0.338)).lineTo(0.291, 0.237).threePointArc((0.285, 0.224), (0.272, 0.218)).lineTo(-0.127, 0.218).threePointArc((-0.14, 0.213), (-0.14... | 29 | 99 | 0.3208 |
train_17ab8c460fecc674 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.274, -0.082, -0.886), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.484, 0.819).threePointArc((0, 0.655), (0.726, -0.655)).threePointArc((-0.242, -0.164), (-0.726, 0.655)).close().extrude(1.228, taper=0.675)
result = result.union(cq.Workplane(cq... | 2 | 11 | 1.502857 |
train_b5e8be63fc730bd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.141, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.346).lineTo(0.849, -0.369).lineTo(-0.8, -0.369).threePointArc((-0.833, -0.354), (-0.849, -0.318)).lineTo(-0.849, 0.347).lineTo(-0.829, 0.369).lineTo(0.829, 0.369).threePointArc(... | 14 | 63 | 0.613267 |
train_6da4c143255e3e56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.536, -0.648).threePointArc((0.293, -0.884), (-0.042, -0.831)).lineTo(-0.841, -0.418).threePointArc((-0.953, -0.307), (-0.944, -0.15)).lineTo(-0.832, 0.139).lineTo(-0.743, 0.368).threeP... | 13 | 317 | 1.189732 |
train_5e6f74c3a0b8b811 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.404, 0.081, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.014, 0.606).lineTo(0.436, 0.291).threePointArc((0.461, 0.268), (0.479, 0.24)).lineTo(0.595, 0.005).threePointArc((0.464, -0.392), (0.464, -0.26)).lineTo(-0.014, -0.616).threePoint... | 19 | 519 | 0.222438 |
train_da45101c5e95c98d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, -0.999, -0.151), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.506, 0.94).lineTo(0.506, -0.437).threePointArc((-0.506, 0.252), (0.506, 0.94)).close().revolve(angleDegrees=90, axisStart=(-0.319, -1.007), axisEnd=(0.319, -1.007))
result = resul... | 18 | 554 | 2.166979 |
train_ea29a326c8bee614 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.009, 0, -0.166), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.332).lineTo(1, 0.074).lineTo(0.82, 0.074).lineTo(0.82, 0).lineTo(0.246, 0).lineTo(0.246, 0.332).lineTo(1, 0.332).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ... | 18 | 100 | 0.618008 |
train_29124336b1986124 | 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.77, 2).lineTo(0.77, 0.379).lineTo(0.406, 0.379).lineTo(0.406, 0).lineTo(0.248, 0).lineTo(0.248, 2).lineTo(0.77, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
re... | 9 | 139 | 1.611186 |
train_444ac6fe82316710 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.499, -0.262, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.997).threePointArc((0.708, 0.708), (0.997, 0)).lineTo(0.387, 0).threePointArc((0.275, 0.275), (0, 0.387)).lineTo(0, 0.997).close().extrude(2)
result = result.union(cq.Workplane(cq... | 11 | 66 | 1.243164 |
train_6e6a92f63d3a6165 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.109, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.225, 0.772).lineTo(0.669, 0.249).lineTo(0.435, -0.428).lineTo(-0.296, -0.554).lineTo(-0.669, 0.048).lineTo(-0.431, 0.66).lineTo(0.225, 0.772).close().extrude(2)
result = result.cut(cq.Work... | 34 | 681 | 1.4406 |
train_23a4b33ac96324bc | 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.716, 0.241).workplane(offset=2).rect(0.987, 0.16).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.112).extrude(0.724, both=Tru... | 8 | 48 | 0.239922 |
train_26ce73e76c3e7125 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.008, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.252, -0.123).threePointArc((0.384, -0.16), (0.058, -0.145)).lineTo(-0.248, 0.122).threePointArc((-0.384, 0.16), (-0.055, 0.144)).lineTo(0.252, -0.123).close().extrude(0.116, taper... | 8 | 87 | 0.549526 |
train_4ef8d680d31d7145 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.996, 0.004, 0.16), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.166, 0.48).lineTo(0.229, 0.17).lineTo(-0.027, -0.004).lineTo(-0.229, 0.206).lineTo(-0.155, 0.487).lineTo(0.166, 0.48).close().extrude(0.56)
result = result.union(cq.Workplane(cq.Pla... | 10 | 104 | 0.225653 |
train_41d8b0fffc8bbb65 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.064, 0.457, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.11, 0.055).lineTo(0.11, -0.055).lineTo(0.055, -0.055).lineTo(0.055, 0).lineTo(0, 0).lineTo(0, -0.055).lineTo(-0.11, -0.055).lineTo(-0.11, 0).lineTo(-0.055, 0).lineTo(-0.055, 0.055)... | 13 | 143 | 0.241674 |
train_eed702dd8bed0e59 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.073, 0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.367, 0.786).threePointArc((0.441, 0.755), (0.472, 0.682)).lineTo(0.472, -0.091).threePointArc((0.491, -0.138), (0.538, -0.157)).lineTo(0.662, -0.157).threePointArc((0.749, -0.194), (0.7... | 6 | 62 | 1.56904 |
train_f44945d1f17602f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.079, 0.113, -0.401), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.051, 0.846).threePointArc((0.134, 0.787), (0.17, 0.649)).lineTo(0.17, 0.443).threePointArc((0.198, 0.33), (0.266, 0.282)).lineTo(0.722, 0.282).threePointArc((0.809, 0.22), (0.847,... | 4 | 66 | 0.60834 |
train_204789da12771439 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.396).lineTo(1, -0.136).threePointArc((0.915, -0.321), (0.736, -0.396)).lineTo(-0.803, -0.396).lineTo(-1, -0.204).lineTo(-1, 0.396).lineTo(1, 0.396).close().extrude(0.11)
result = result... | 11 | 54 | 0.114746 |
train_b039e563843cc8e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.51, -0.957, -0.086), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.736, 0.354).lineTo(0.717, 0.236).lineTo(0.846, 0.185).lineTo(0.809, 0.078).lineTo(0.676, 0.117).lineTo(0.619, 0.012).lineTo(0.725, -0.077).lineTo(0.655, -0.167).lineTo(0.542, -0.0... | 20 | 933 | 3.455456 |
train_f7d4f0e9a73b4599 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, -0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.687, 0.687).threePointArc((0.883, -0.294), (0.196, -0.981)).threePointArc((-0.687, -0.687), (-0.883, 0.294)).threePointArc((-0.196, 0.981), (0.687, 0.687)).close().extrude(0.412, both=... | 6 | 30 | 2.321202 |
train_9fa8c4eebe39278e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.028, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.332).lineTo(0.953, -0.346).threePointArc((-0.058, 0.346), (1, 0.332)).close().extrude(0.693).union(cq.Workplane(cq.Plane(origin=(0, -0.028, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0... | 12 | 143 | 0.579568 |
train_0fdcf1d76466c40e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.074, -0.517, -0.482), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.235, 0.587).lineTo(0.404, 0.498).lineTo(0.517, -0.137).lineTo(-0.052, -0.44).lineTo(-0.517, 0.007).lineTo(-0.235, 0.587).close().moveTo(-0.04, 0.512).lineTo(0.103, 0.495).lineTo... | 2 | 44 | 1.300228 |
train_f20deee455c56d2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.453, -0.15, 0.042), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.062, 0.213).threePointArc((0.023, 0.168), (0.105, 0.099)).threePointArc((0.169, 0.013), (0.209, -0.075)).threePointArc((0.217, -0.15), (0.191, -0.203)).threePointArc((0.136, -0.2... | 5 | 42 | 0.493738 |
train_5372487be1e063ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.053, -0.05, -0.401), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.947, 0.8).lineTo(0.947, 0).lineTo(-0.947, 0).lineTo(-0.947, 0.8).lineTo(-0.546, 0.8).lineTo(-0.546, 0.401).lineTo(0.546, 0.401).lineTo(0.546, 0.8).lineTo(0.947, 0.8).close().extr... | 9 | 70 | 0.464358 |
train_689f031991849090 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.256, -0.053, 0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.24, 0.459).lineTo(0.24, -0.107).lineTo(0.098, -0.107).lineTo(0.098, 0.082).lineTo(-0.098, 0.082).lineTo(-0.098, -0.107).lineTo(-0.24, -0.107).lineTo(-0.24, 0.459).lineTo(-0.098, 0.... | 9 | 197 | 0.31562 |
train_7a248ea6ccb6b260 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.227, 0.846, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.75, 1.227).lineTo(0.75, 0.656).lineTo(0.218, 0.656).lineTo(0.218, -0.291).lineTo(-0.218, -0.291).lineTo(-0.218, 0.656).lineTo(-0.75, 0.656).lineTo(-0.75, 1.227).lineTo(0.75, 1.227).clo... | 11 | 59 | 3.063167 |
train_7f972589e6a1a19c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.649, 0.806, 0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.725, 0.712).lineTo(0.948, -0.078).lineTo(0.301, 0.145).threePointArc((0.216, -0.031), (0.073, -0.122)).lineTo(-0.164, 0.032).threePointArc((-0.423, -0.134), (-0.541, 0.011)).threeP... | 10 | 433 | 2.232166 |
train_33415ca3fd432d9d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.57), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.81).threePointArc((0.961, 0.776), (1, 0.701)).lineTo(1, 0.373).threePointArc((0.964, 0.302), (0.898, 0.272)).lineTo(0.082, 0.272).threePointArc((0.024, 0.245), (0, 0.182)).lineTo(0, ... | 2 | 49 | 1.985608 |
train_6dd616715a6e0869 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.047, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.177).lineTo(1, 0.097).lineTo(0.234, 0.097).lineTo(0.234, -0.097).lineTo(1, -0.097).lineTo(1, -0.177).lineTo(-1, -0.177).lineTo(-1, -0.097).lineTo(-0.234, -0.097).lineTo(-0.234, 0.09... | 25 | 150 | 0.18612 |
train_45b496c7575cf227 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.968, 0.835).lineTo(0.968, 0.119).lineTo(-0.484, 0.119).lineTo(-0.484, -0.119).lineTo(0.968, -0.119).lineTo(0.968, -0.835).lineTo(-0.968, -0.835).lineTo(-0.968, -0.597).lineTo(0.484, -0.597... | 8 | 53 | 0.854968 |
train_866040453bce86e9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.615, 0.466).lineTo(0.615, 0.466).lineTo(0.733, 0.443).lineTo(0.834, 0.377).lineTo(0.919, 0.274).lineTo(0.973, 0.144).lineTo(1, 0).lineTo(0.973, -0.144).lineTo(0.919, -0.274).lineTo(0.834, ... | 15 | 402 | 0.700817 |
train_a01be8c0e92eee43 | 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.345, 0.755).threePointArc((0.421, 0.723), (0.453, 0.647)).lineTo(0.453, 0.253).threePointArc((0.483, 0.181), (0.554, 0.151)).lineTo(0.647, 0.151).threePointArc((0.723, 0.119), (0.755, 0.044)).... | 7 | 80 | 1.991216 |
train_b8e1bfa0ef294ade | 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.558, 2).lineTo(0.558, 0.426).lineTo(0.748, 0.426).lineTo(0.748, 0).lineTo(0.293, 0).lineTo(0.293, 2).lineTo(0.558, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 2 | 14 | 1.703733 |
train_87da8ec32674ab45 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.541), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.894, 1.082).lineTo(0.894, 0.879).lineTo(0.852, 0.879).lineTo(0.852, 0.386).lineTo(1, 0.386).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.082).lineTo(0.894, 1.082).close().revolve(angleDegrees=36... | 3 | 28 | 2.320762 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.