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_4da22cfe663d95ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.934), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.64, 0.802).lineTo(1.025, 0).lineTo(0.64, -0.802).lineTo(-0.228, -1).lineTo(-0.924, -0.445).lineTo(-0.924, 0.445).lineTo(-0.228, 1).close().extrude(0.723)
result = re... | 7 | 125 | 2.337346 |
train_5e38e2ac1a2e00cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.396, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.467, 1.206, 1.19)
result = result.edges().fillet(0.255)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.396, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.157).extrude(2.935, both=Tru... | 7 | 53 | 1.815229 |
train_9e2b99f0cbee2b2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.28, 0, -0.256), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.451, 0.511).lineTo(0.451, 0.451).lineTo(0.561, 0.451).lineTo(0.561, 0).lineTo(0, 0).lineTo(0, 0.511).lineTo(0.451, 0.511).close().extrude(1, both=True)
result = result.cut(cq.Workplan... | 4 | 40 | 0.403555 |
train_610c4024132ed42e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.074, 0.106, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.651, 0.16).threePointArc((0.23, 0.653), (0.651, -0.398)).threePointArc((-0.111, -0.653), (-0.651, 0.16)).close().moveTo(-0.417, 0.049).threePointArc((0.109, 0.434), (0.536, -0.04... | 11 | 89 | 0.596037 |
train_72b5c5b9069b051a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.404, 0.23).lineTo(-0.404, -0.102).threePointArc((-0.332, -0.133), (-0.164, -0.147)).lineTo(0.913, -0.147).threePointArc((0.969, -0.151), (1, -0.162)).lineTo(1, -0.233).threePointArc((0.... | 16 | 197 | 0.299696 |
train_44ba2dee4c09a748 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.017, 0.009), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.853, 0.227).lineTo(0.963, 0.146).lineTo(1, -0.045).lineTo(0.911, -0.154).lineTo(0.804, -0.074).threePointArc((0.628, -0.198), (0.614, -0.103)).lineTo(0.519, -0.117).lineTo(0.232, -0.1... | 4 | 48 | 0.825368 |
train_5efe99cb1e4cd2e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.223, 0, -0.031), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.143, 0.187).threePointArc((-0.043, 0.16), (0.064, 0.108)).threePointArc((0.16, 0.041), (0.233, -0.033)).threePointArc((0.27, -0.103), (0.266, -0.155)).threePointArc((0.221, -0.185),... | 4 | 107 | 0.02835 |
train_8cb06e11b83016ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.206), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.405, 0.412).lineTo(0.405, 0).lineTo(-0.405, 0).lineTo(-0.405, 0.412).lineTo(-0.362, 0.412).lineTo(-0.362, 0.043).lineTo(0.362, 0.043).lineTo(0.362, 0.412).lineTo(0.405, 0.412).close().ext... | 8 | 77 | 0.120307 |
train_aaa4699a7154bcb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.985), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.97).lineTo(1, 0.227).lineTo(0.493, 0.227).lineTo(0.493, 0).lineTo(0.223, 0).lineTo(0.223, 1.97).lineTo(1, 1.97).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)... | 5 | 13 | 5.28515 |
train_c5bb79d409f91c23 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.475), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 2.045).lineTo(1, 1.316).lineTo(0.36, 1.316).lineTo(0.36, 0).lineTo(0, 0).lineTo(0, 2.045).lineTo(1, 2.045).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
resul... | 9 | 30 | 2.564379 |
train_b7b7e13e2d3c7d0a | 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(0.249, 0.966).lineTo(0.314, 0.941).lineTo(0.314, 0.836).lineTo(0.49, 0.836).lineTo(0.49, 0.752).threePointArc((0.568, 0.699), (0.49, 0.699)).lineTo(0.49, 0.621).lineTo(0.314, 0.621).lineTo(0... | 4 | 23 | 0.725549 |
train_bb7229064706aede | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.37, 0.999).threePointArc((-0.286, 0.971), (-0.25, 0.904)).lineTo(-0.25, 0.375).threePointArc((-0.185, 0.252), (-0.031, 0.2)).lineTo(0.504, 0.2).threePointArc((0.678, 0.141), (0.751, 0.003)... | 14 | 140 | 1.456037 |
train_8251ede72018116c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.162, -0.132, 0.378), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.223, 0.262).lineTo(0.24, -0.184).lineTo(0.147, -0.188).lineTo(0.141, -0.026).lineTo(-0.136, -0.037).lineTo(-0.13, -0.199).lineTo(-0.223, -0.203).lineTo(-0.24, 0.244).lineTo(-0.147... | 6 | 51 | 0.298785 |
train_35a909ac9b873ae2 | 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.58, 0.667).threePointArc((0.633, 0.648), (0.655, 0.603)).lineTo(0.655, 0.39).threePointArc((0.642, 0.364), (0.611, 0.353)).lineTo(-0.076, 0.353).threePointArc((-0.22, 0.302), (-0.28, 0.182)).l... | 4 | 39 | 2.069614 |
train_06348151b2768b82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 0.831).threePointArc((0.96, 0.778), (0.998, 0.653)).lineTo(0.998, 0.456).threePointArc((0.96, 0.33), (0.869, 0.277)).lineTo(0.69, 0.277).threePointArc((0.626, 0.239), (0.598, 0.149)).l... | 7 | 85 | 0.640943 |
train_2e114148f3349a21 | 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.8, 0.474).lineTo(1, 0.276).lineTo(1, -0.351).threePointArc((0.964, -0.438), (0.876, -0.474)).lineTo(-1, -0.474).lineTo(-1, 0.373).threePointArc((-0.971, 0.445), (-0.899, 0.474)).lineTo(0.8... | 11 | 51 | 0.928364 |
train_291ba85b3ccc66f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.462, 0.355).lineTo(0.655, 0.162).lineTo(0.655, -0.244).lineTo(0.544, -0.355).lineTo(-0.563, -0.355).lineTo(-0.655, -0.263).lineTo(-0.655, 0.355).lineTo(0.462, 0.355).close().extrude(0.199,... | 8 | 50 | 0.523877 |
train_e503c421c373a1a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.037, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.046, 0.034).threePointArc((0.047, 0.034), (0.048, 0.032)).lineTo(0.048, 0.023).threePointArc((0.047, 0.021), (0.045, 0.02)).lineTo(-0.031, 0.02).threePointArc((-0.033, 0.02), (-0.... | 16 | 238 | 0.061278 |
train_7038a5b30011a786 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.099, 0, -0.928), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.388, 0.036).threePointArc((0.485, 0.062), (0.512, -0.036)).threePointArc((0.414, -0.062), (0.388, 0.036)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.099, 0, -0.928), normal=(0, 0... | 4 | 15 | 0.360315 |
train_ef22617b403aacca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.465, 1).lineTo(0.465, -1).lineTo(-0.465, -1).lineTo(-0.465, 1).lineTo(0.465, 1).close().extrude(0.236)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.245, -0.78, -0.118), normal=(0, ... | 3 | 23 | 0.383579 |
train_e88e965420a36f3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.953).threePointArc((0.961, 0.903), (0.996, 0.785)).lineTo(0.996, -0.4).threePointArc((0.881, -0.788), (0.61, -0.953)).lineTo(-0.767, -0.953).threePointArc((-0.928, -0.855), (-0... | 2 | 22 | 0.517537 |
train_28f7e77fd92619c4 | 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.561, 0.272).workplane(offset=2).rect(0.545, 0.357).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.281, 0.006, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).spline([(-0.375, 1.534), (-... | 6 | 34 | 0.304734 |
train_354093f1777b2b33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.18, 0.005, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.262).threePointArc((0.202, 0.225), (0.239, 0.134)).lineTo(0.239, -0.079).threePointArc((0.202, -0.169), (0.111, -0.207)).lineTo(-0.111, -0.207).threePointArc((-0.202, -0.169)... | 8 | 127 | 0.372047 |
train_21f8b0c2ce68bb88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.022, 0.784, 0.67), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.035, 0.164).lineTo(-0.035, 0.082).lineTo(0.035, 0.082).lineTo(0.035, 0).lineTo(0.175, 0).lineTo(0.175, -0.082).lineTo(0.105, -0.082).lineTo(0.105, -0.164).lineTo(-0.035, -0.164).li... | 7 | 23 | 0.25609 |
train_1667e32e12b2d1c3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.209, 0.686).threePointArc((0.303, 0.646), (0.342, 0.552)).lineTo(0.342, -0.271).threePointArc((0.322, -0.322), (0.271, -0.342)).lineTo(0.122, -0.342).threePointArc((0.036, -0.379), (0, -0.465)).lineTo(0, -0.551).threePointArc((-0.04, -0.645), (-0.13... | 8 | 91 | 0.487472 |
train_9948b489cdd40bdd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.419, 0.12, 0), normal=(-0.608, -0.182, 0.773), xDir=(0.287, -0.958, 0))).moveTo(1.15, 1.374).threePointArc((1.205, 1.354), (1.228, 1.307)).lineTo(1.228, 0.899).threePointArc((1.187, 0.815), (1.089, 0.78)).lineTo(0.438, 0.78).threePointArc((0.375... | 4 | 50 | 0.577003 |
train_1d69935488738b12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.1, 0.498, 0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.065, 0.501).threePointArc((0.152, 0.451), (0.33, 0.318)).threePointArc((0.429, 0.142), (0.451, -0.057)).threePointArc((0.422, -0.176), (0.36, -0.28)).threePointArc((0.153, -0.443), ... | 3 | 34 | 0.158383 |
train_f2605d06e210137d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0.733, 0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.037, 0.267).lineTo(0.091, 0.16).lineTo(0.08, -0.048).lineTo(-0.001, -0.144).lineTo(0.037, -0.23).lineTo(-0.049, -0.267).lineTo(-0.091, -0.123).lineTo(-0.011, -0.027).lineTo(0.006, ... | 8 | 95 | 0.033895 |
train_32b11d0da72b8d83 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.495), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.455).lineTo(1, -0.427).lineTo(0.972, -0.427).lineTo(0.972, -0.455).lineTo(-0.951, -0.455).lineTo(-0.951, -0.406).lineTo(-1, -0.406).lineTo(-1, 0.455).lineTo(1, 0.455).close().extrude(0.... | 3 | 29 | 1.484013 |
train_7e6e058fd670b981 | 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.007, 0.205).lineTo(0.222, -0.018).lineTo(0.113, -0.205).lineTo(-0.222, 0.142).lineTo(-0.2, 0.181).lineTo(-0.114, 0.094).lineTo(-0.075, 0.015).lineTo(0.007, 0.205).close().moveTo(0.025, 0.086).... | 5 | 68 | 0.085094 |
train_a63a2e76c764ba2c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, -0.001, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.09, 0.175).lineTo(0.179, -0.019).threePointArc((0.179, -0.136), (0.09, -0.175)).lineTo(-0.149, 0.019).threePointArc((-0.179, 0.058), (-0.149, 0.136)).threePointArc((-0.12, 0.175... | 4 | 52 | 0.160237 |
train_d4b9315b77b4d883 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.368, -0.027, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.328, 0.05).lineTo(-0.328, -0.33).threePointArc((-0.271, 0.33), (0.328, 0.05)).close().extrude(1.646)
result = result.union(cq.Workplane(cq.Plane(origin=(0.196, 0.125, 0.647), norm... | 12 | 92 | 1.08538 |
train_3ef9d5c0f6391d22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.052, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.476).threePointArc((0.3, 0.352), (0.424, 0.052)).threePointArc((0.3, -0.247), (0, -0.371)).threePointArc((-0.3, -0.247), (-0.424, 0.052)).threePointArc((-0.3, 0.352), (0, 0.476)).c... | 12 | 78 | 0.962394 |
train_7e0c297459666314 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.09, -0.406, -0.191), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.079, 0.594).lineTo(0.238, 0.53).threePointArc((0.358, 0.481), (0.408, 0.36)).lineTo(0.408, -0.425).threePointArc((0.358, -0.544), (0.238, -0.594)).lineTo(-0.238, -0.594).threePoin... | 4 | 38 | 1.021759 |
train_b555d99ab68b53af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.777), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.18, 1.767).lineTo(0.18, 1.376).lineTo(0.997, 1.376).lineTo(0.997, 1.071).lineTo(0.784, 1.071).lineTo(0.784, 0.921).lineTo(0.501, 0.921).lineTo(0.501, 0).lineTo(0, 0).lineTo(0, 1.767).... | 9 | 36 | 1.413538 |
train_0b803a3994930ce9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.426), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.716, 0.852).lineTo(0.716, 0.673).lineTo(1, 0.673).lineTo(1, 0.229).lineTo(0.53, 0.229).lineTo(0.53, 0).lineTo(0, 0).lineTo(0, 0.852).lineTo(0.716, 0.852).close().revolve(angleDegrees=360,... | 5 | 83 | 1.276143 |
train_976de0dd6fa0a1be | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.638), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.737, 1).lineTo(0.898, 0.829).lineTo(0.898, -1).lineTo(-0.754, -1).threePointArc((-0.855, -0.949), (-0.898, -0.845)).lineTo(-0.898, 1).lineTo(0.737, 1).close().extrude(0.439)
result = resul... | 11 | 37 | 1.624882 |
train_2ec9cc1ca604696f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.116, 0.122, -0.567), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.101, 0.287).threePointArc((0.294, 0.274), (0.53, 0.187)).threePointArc((0.882, -0.222), (0.152, -0.307)).threePointArc((0.03, -0.294), (-0.163, -0.24)).threePointArc((-0.346, -0.18... | 18 | 143 | 0.958528 |
train_0ad038ec77b0baca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.131, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.253, 0.869).lineTo(-0.253, 0.58).lineTo(0.253, 0.58).lineTo(0.253, 0.29).lineTo(0.76, 0.29).lineTo(0.76, -0.58).lineTo(0.253, -0.58).lineTo(0.253, -0.869).lineTo(-0.253, -0.869).line... | 7 | 19 | 1.272562 |
train_44a9b6ca06eeeddf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.087, -0.127, -0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.574, 0.709).threePointArc((0.707, 0.683), (0.763, 0.621)).lineTo(0.763, -0.671).threePointArc((0.739, -0.698), (0.68, -0.709)).lineTo(0.454, -0.709).threePointArc((0.314, -0.682)... | 16 | 204 | 0.158027 |
train_11639c7f12dfe275 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.841, 0.813).threePointArc((0.95, 0.726), (0.995, 0.52)).lineTo(0.995, -0.395).threePointArc((0.93, -0.689), (0.776, -0.813)).lineTo(-0.919, -0.813).threePointArc((-0.973, -0.77), (-0.... | 1 | 18 | 0.485003 |
train_9af46373768d6954 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.247, -0.268, 0.534), normal=(0.303, -0.195, -0.933), xDir=(0, 0.979, -0.204))).moveTo(-0.138, 0.077).threePointArc((0.288, -0.037), (-0.288, -0.077)).lineTo(-0.138, 0.077).close().extrude(0.634, both=False)
result = result.union(cq.Workplane(cq... | 6 | 53 | 0.463118 |
train_1499093ef3833b5b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.891, 0.642).threePointArc((0.963, 0.613), (1, 0.544)).lineTo(1, -0.487).threePointArc((0.946, -0.597), (0.836, -0.642)).lineTo(-0.88, -0.642).threePointArc((-0.958, -0.61), (-1, -0.531)).li... | 10 | 68 | 1.313235 |
train_2758b461eb5cb6f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.059, 0.124, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.215, 0.326).threePointArc((0.39, 0.023), (0.175, -0.303)).threePointArc((-0.215, -0.326), (-0.39, -0.023)).threePointArc((-0.175, 0.303), (0.215, 0.326)).close().sweep(cq.Workplane... | 1 | 5 | 0.064817 |
train_4564d7ccfb3d8f87 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.429, 0.472, 0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.232, 0.321).threePointArc((0.056, 0.345), (0.321, 0.232)).threePointArc((0.345, -0.056), (0.232, -0.321)).threePointArc((-0.056, -0.345), (-0.321, -0.232)).threePointArc((-0.345, 0... | 11 | 571 | 0.317635 |
train_04751a84ebf21dd5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.743, 0, 0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.257, 0.478).lineTo(0.257, -0.478).threePointArc((0, -0.735), (-0.257, -0.478)).lineTo(-0.257, 0.478).threePointArc((0, 0.735), (0.257, 0.478)).close().revolve(angleDegrees=180, axisStar... | 1 | 6 | 1.631335 |
train_c67e2fd8c9b5b469 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.517, -0.429, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.03).threePointArc((0.731, 0.731), (1.03, 0)).lineTo(0.653, 0).threePointArc((0.461, 0.461), (0, 0.653)).lineTo(0, 1.03).close().extrude(2)
result = result.union(cq.Workplane(cq.Pl... | 6 | 41 | 1.055491 |
train_aa10e26db6ba6bec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.366, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.633).extrude(0.211)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.366, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.461).extrude(0.632, both=True))
result = result.uni... | 13 | 153 | 0.255126 |
train_451e8a2a870bcb9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.86).lineTo(1, -0.86).lineTo(-1, -0.86).lineTo(-1, 0.86).lineTo(1, 0.86).close().extrude(0.554)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.458), normal=(0, 0, 1), xDir=(1... | 10 | 77 | 0.797892 |
train_190113dd84570bb6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.541, 1).lineTo(0.671, 0.869).lineTo(0.671, -0.902).threePointArc((0.643, -0.971), (0.574, -1)).lineTo(-0.54, -1).lineTo(-0.54, -0.868).lineTo(-0.671, -0.868).lineTo(-0.671, 1).lineTo(0.541... | 6 | 92 | 0.615882 |
train_f8b49f896b8e2ce2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.346, 0.675, -0.372), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.182, 0.101).lineTo(0.425, 0.054).threePointArc((-0.182, -0.101), (-0.182, 0.101)).close().moveTo(-0.122, 0.065).threePointArc((0.304, -0.054), (-0.425, -0.006)).lineTo(-0.122, 0.0... | 15 | 232 | 1.176289 |
train_dcb418923b422f63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.327, 0.197).lineTo(-0.745, 0.197).lineTo(-0.745, 1).lineTo(0.745, 1).lineTo(0.745, 0.197).lineTo(0.327, 0.197).lineTo(0.327, -1).lineTo(-0.327, -1).close().moveTo(-0.095, 0.109).lineTo(-0... | 6 | 119 | 0.321251 |
train_e2d9f3622473f85c | 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.031, 0.147).lineTo(0.083, 0.126).threePointArc((0.102, 0.106), (0.122, 0.087)).lineTo(0.144, 0.037).threePointArc((0.143, 0.006), (0.144, -0.025)).lineTo(0.121, -0.08).threePointArc((0.099, -0... | 9 | 61 | 0.118504 |
train_1387f80d026b81ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.728), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.867, 0.93).threePointArc((0.94, 0.871), (0.971, 0.732)).lineTo(0.971, -0.207).threePointArc((0.955, -0.28), (0.917, -0.31)).lineTo(0.747, -0.31).threePointArc((0.676, -0.253), (0.647, -0.1... | 12 | 139 | 3.431288 |
train_23f65f08a62398f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.567, 0.271).threePointArc((1, 0), (0.567, -0.271)).lineTo(-0.567, -0.271).threePointArc((-1, 0), (-0.567, 0.271)).lineTo(0.567, 0.271).close().extrude(0.197)
result = result.union(cq.Workp... | 19 | 208 | 0.192526 |
train_c9dea2ca0c164173 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(1).extrude(0.724, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.863).extrude(0.67, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0... | 4 | 21 | 4.164913 |
train_ceba6e95899464d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.34, -0.521), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.543, 0.655).lineTo(0.588, 0.61).lineTo(0.588, -0.655).lineTo(-0.571, -0.655).lineTo(-0.588, -0.638).lineTo(-0.588, 0.655).lineTo(0.543, 0.655).close().extrude(1.042)
result = result.uni... | 11 | 39 | 1.405974 |
train_1e0aeba0da8b9ca2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.012, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.007, 0.056).lineTo(0.032, 0.046).lineTo(0.05, 0.026).lineTo(0.056, 0).lineTo(0.05, -0.026).lineTo(0.032, -0.046).lineTo(0.007, -0.056).lineTo(-0.02, -0.052).lineTo(-0.042, -0.037).lineTo(-0... | 6 | 41 | 0.012661 |
train_4ed0c6d4fca191cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.038, 1).threePointArc((0.371, 0.861), (0.509, 0.529)).lineTo(0.509, -0.727).threePointArc((0.428, -0.92), (0.236, -1)).lineTo(-0.01, -1).threePointArc((-0.363, -0.853), (-0.509, -0.502)).l... | 6 | 19 | 0.228564 |
train_af875ad0f69c28c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.319, -0.025, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.218, 0.545).lineTo(-0.218, -0.084).lineTo(0.68, -0.084).lineTo(0.68, -0.545).lineTo(-0.68, -0.545).lineTo(-0.68, 0.545).lineTo(-0.218, 0.545).close().extrude(0.245, taper=7.257)
... | 6 | 33 | 0.399946 |
train_0f38f9ac92da38d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.286, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, 0.7).threePointArc((0.981, 0.682), (1, 0.637)).lineTo(1, -0.666).threePointArc((0.989, -0.69), (0.965, -0.7)).lineTo(-0.948, -0.7).threePointArc((-0.984, -0.685), (-1, -0.649)).li... | 15 | 90 | 1.06463 |
train_9e7a9afca2841c17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.243, 0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.352).lineTo(1, 0.195).threePointArc((0.982, 0.178), (0.941, 0.171)).lineTo(0.372, 0.171).threePointArc((0.295, 0.158), (0.263, 0.126)).lineTo(0.263, -0.362).threePointArc((0.244, -0.... | 2 | 22 | 0.487258 |
train_e6d0850603b9c1fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.357, 0.349).lineTo(0.357, -0.349).lineTo(-0.357, -0.349).lineTo(-0.357, 0.349).lineTo(0.357, 0.349).close().extrude(0.166, both=True)
result = result.union(cq.Workplane(cq.Plane(origi... | 13 | 59 | 0.504733 |
train_da1db15dc3a34fdc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.149, -0.475), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.455).lineTo(1, 0.299).lineTo(0.176, 0.299).lineTo(0.176, -0.455).lineTo(-0.176, -0.455).lineTo(-0.176, 0.299).lineTo(-1, 0.299).lineTo(-1, 0.455).lineTo(1, 0.455).close().extrude(0... | 13 | 388 | 0.493818 |
train_3edcfcbeb68f2631 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.263), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.747).lineTo(1, -0.747).lineTo(-1, -0.747).lineTo(-1, -0.249).lineTo(0.498, -0.249).lineTo(0.498, 0.249).lineTo(-1, 0.249).lineTo(-1, 0.747).lineTo(1, 0.747).close().extrude(0.672, taper... | 3 | 26 | 1.089772 |
train_b2295367b6c7e4e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.011), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(2, 0.029).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.029).lineTo(2, 0.029).close().extrude(0.284, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.708, 0, -0.011), normal=(0, 1,... | 7 | 38 | 0.029703 |
train_59689e142437087e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0).threePointArc((0, -1), (-1, 0)).threePointArc((0, 1), (1, 0)).close().extrude(0.214, taper=8.492)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.137, 0.22, -0.139), normal=(0, 0,... | 8 | 146 | 0.632068 |
train_485e07be63c4b424 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.014, 1).threePointArc((0.27, 0.893), (0.376, 0.638)).lineTo(0.376, -0.779).threePointArc((0.311, -0.935), (0.156, -1)).lineTo(-0.069, -1).threePointArc((-0.286, -0.909), (-0.376, -0.692)).... | 6 | 68 | 1.184388 |
train_d849505ed7b1b40f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.856, 0, -0.623), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.269, 1.245).lineTo(0.269, 0.269).lineTo(1.855, 0.269).lineTo(1.855, 0).lineTo(0, 0).lineTo(0, 1.245).lineTo(0.269, 1.245).close().extrude(0.372, both=True)
result = result.cut(cq.Wor... | 7 | 37 | 0.346656 |
train_8b5fc105fb79e54b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.788).lineTo(1, 0.26).lineTo(-0.472, 0.26).lineTo(-0.472, -0.26).lineTo(1, -0.26).lineTo(1, -0.788).lineTo(-1, -0.788).lineTo(-1, 0.788).lineTo(1, 0.788).close().extrude(1.18, taper=10.12... | 8 | 189 | 1.661727 |
train_1cec7f7050e6a4f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.006), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.354, 0.22).lineTo(0.354, 0.11).lineTo(0.574, 0.11).lineTo(0.574, 0).lineTo(-0.574, 0).lineTo(-0.574, 0.11).lineTo(-0.354, 0.11).lineTo(-0.354, 0.22).lineTo(0.354, 0.22).close().extrude(1,... | 21 | 132 | 0.457174 |
train_029af94008203ab7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.676, 0.718).threePointArc((0.904, 0.624), (1, 0.395)).lineTo(1, -0.525).threePointArc((0.943, -0.661), (0.807, -0.718)).lineTo(-0.855, -0.718).lineTo(-1, -0.573).lineTo(-1, 0.429).threePoi... | 8 | 47 | 0.305629 |
train_e446923c3f52ebfb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.18, 0.008, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.53, 0.758).lineTo(-0.53, -0.487).lineTo(0.819, -0.487).lineTo(0.819, -0.758).lineTo(-0.819, -0.758).lineTo(-0.819, 0.758).lineTo(-0.53, 0.758).close().extrude(0.568)
result = resu... | 5 | 38 | 0.702338 |
train_f86c71e01182ab90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.229, 0, -0.781), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.168, 1.561).lineTo(0.168, 0.168).lineTo(0.457, 0.168).lineTo(0.457, 0).lineTo(0, 0).lineTo(0, 1.561).lineTo(0.168, 1.561).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 2 | 15 | 0.617631 |
train_0aee583c877da171 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.343, 0.997).threePointArc((-0.102, 0.927), (0, 0.761)).lineTo(0, 0.49).threePointArc((0.068, 0.379), (0.229, 0.332)).lineTo(0.678, 0.332).threePointArc((0.878, 0.274), (0.963, 0.136)).lin... | 10 | 59 | 0.923222 |
train_98d34fffbeabbc41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.454, 0.003, 0.41), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.546, -0.403).lineTo(0.546, -0.403).lineTo(0.546, 0.403).lineTo(0.447, 0.403).lineTo(0.447, -0.123).lineTo(0.347, -0.123).lineTo(0.347, 0.403).lineTo(0.248, 0.403).lineTo(0.248, -0.... | 6 | 304 | 0.487411 |
train_20ee0113ede9fa08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.636), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.181, 0.182).lineTo(0.181, 0.104).lineTo(-0.077, 0.104).lineTo(-0.077, -0.104).lineTo(0.181, -0.104).lineTo(0.181, -0.182).lineTo(-0.181, -0.182).lineTo(-0.181, 0.182).lineTo(0.181, 0.182).... | 13 | 249 | 0.834209 |
train_d51d6576a4917794 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.244, 0.137, 0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.427, 0.648).lineTo(-0.427, -0.265).threePointArc((-0.335, -0.403), (-0.12, -0.462)).lineTo(0.701, -0.462).threePointArc((0.738, -0.472), (0.753, -0.496)).lineTo(0.753, -0.619).thr... | 13 | 145 | 0.311205 |
train_4bdf458c214969ed | 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, 0.196).lineTo(0, 0.117).lineTo(0.086, 0.117).lineTo(0.086, 0.039).lineTo(0.171, 0.039).lineTo(0.171, -0.196).lineTo(-0.086, -0.196).lineTo(-0.086, -0.039).lineTo(-0.171, -0.039).lineTo(-0.171... | 5 | 38 | 0.131389 |
train_036b2b49f8ae7fcc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, 0.86, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.127, 0.082).lineTo(0.217, 0.024).threePointArc((0.272, 0.094), (0.302, 0.001)).lineTo(0.315, -0.054).threePointArc((0.314, -0.063), (0.309, -0.069)).lineTo(0.28, -0.09).threePoint... | 6 | 67 | 0.107255 |
train_e4e528421a3637bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.633), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.959).lineTo(1, -0.959).lineTo(-1, -0.959).lineTo(-1, 0.959).lineTo(-0.432, 0.959).lineTo(-0.432, -0.499).lineTo(0.432, -0.499).lineTo(0.432, 0.959).lineTo(1, 0.959).close().extrude(1.26... | 27 | 62 | 2.498949 |
train_3400998bd6a271aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.043, -0.122, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.327, 0.678).lineTo(0.741, -0.875).threePointArc((0.73, -1.029), (0.577, -1.035)).lineTo(-0.143, -0.819).threePointArc((-0.343, -0.703), (-0.458, -0.505)).lineTo(-0.741, 0.442).thr... | 8 | 56 | 0.703199 |
train_0f53d9967ac44502 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.08, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.299, 0.92).lineTo(0.299, 0.46).lineTo(0.896, 0.46).lineTo(0.896, -0.46).lineTo(0.299, -0.46).lineTo(0.299, -0.92).lineTo(-0.896, -0.92).lineTo(-0.896, -0.46).lineTo(-0.299, -0.46).lineTo... | 10 | 45 | 0.19154 |
train_068fbbd71b045e34 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.802, 0.646).threePointArc((0.942, 0.589), (1, 0.45)).lineTo(1, -0.646).lineTo(-1, -0.646).lineTo(-1, 0.406).threePointArc((-0.928, 0.576), (-0.759, 0.646)).lineTo(0.802, 0.646).close().ext... | 15 | 62 | 1.109992 |
train_5ae77f4a17f34d77 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.484, -0.407, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.964).threePointArc((0.684, 0.684), (0.964, 0)).lineTo(0.451, 0).threePointArc((0.318, 0.318), (0, 0.451)).lineTo(0, 0.964).close().extrude(2)
result = result.union(cq.Workplane(cq... | 10 | 53 | 0.979731 |
train_a76a7165015c7e20 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.056, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.184).lineTo(1, -0.004).threePointArc((0.94, -0.132), (0.813, -0.184)).lineTo(-0.813, -0.184).threePointArc((-0.94, -0.132), (-1, -0.004)).lineTo(-1, 0.067).threePointArc((-0.958, 0... | 12 | 58 | 0.073547 |
train_43e2d7fd8178a143 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.045, 0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.662).threePointArc((1, 0), (0.829, -0.662)).lineTo(0, -0.662).lineTo(-0.829, -0.662).threePointArc((-1, 0), (-0.829, 0.662)).lineTo(0, 0.662).lineTo(0.829, 0.662).close().extrude... | 13 | 83 | 1.100569 |
train_35eaef0d2b07ec05 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.624, 0.071, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.5, 0.937).threePointArc((0.5, 0.937), (1, 0.071)).threePointArc((0.5, -0.795), (-0.5, -0.795)).threePointArc((-1, 0.071), (-0.5, 0.937)).close().extrude(1.248)
result = result.cut(cq.... | 8 | 239 | 2.828321 |
train_1f100e9ed3f8c955 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.463).lineTo(1, -0.364).threePointArc((0.963, -0.434), (0.893, -0.463)).lineTo(-1, -0.463).lineTo(-1, 0.463).lineTo(1, 0.463).close().extrude(0.232)
result = result.cut(cq.Workplane(cq.P... | 20 | 315 | 0.157692 |
train_06cf7f39e87e5208 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.131, -0.229, 0.034), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.326, 0.698).threePointArc((0.376, 0.605), (0.368, 0.47)).threePointArc((0.305, 0.31), (0.195, 0.151)).threePointArc((0.055, 0.018), (-0.093, -0.07)).threePointArc((-0.227, -0.099),... | 10 | 228 | 0.533744 |
train_1fdc2ac2f281943d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.152, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.397).extrude(1.732)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.152, 0, 0.214), normal=(0.589, 0, 0.808), xDir=(0.808, 0, -0.589))).circle(0.629).extrude(0.517))
result = r... | 7 | 46 | 0.901681 |
train_32892a609d82f60c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.588).extrude(1.119, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.12), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.704).extrude(0.396, both=True))
result = result.cu... | 10 | 52 | 1.358912 |
train_b740a828787fdf2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.263, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.255).lineTo(1, -0.255).lineTo(-1, -0.255).lineTo(-1, 0.255).lineTo(1, 0.255).close().extrude(0.794)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.332, 0.008, 0.082), normal... | 14 | 152 | 0.388153 |
train_41a187462911660c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.188, -0.406), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, 0.793).threePointArc((0.976, 0.777), (1, 0.739)).lineTo(1, -0.793).lineTo(-0.903, -0.793).threePointArc((-0.966, -0.768), (-1, -0.705)).lineTo(-1, 0.697).lineTo(-0.894, 0.793).lin... | 19 | 69 | 0.362923 |
train_89270c1daba1860b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, 0.101, 0.22), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.449, 0.492).lineTo(0.583, -0.321).lineTo(0.354, -0.359).lineTo(0.271, 0.144).lineTo(-0.303, 0.049).lineTo(-0.22, -0.454).lineTo(-0.449, -0.492).lineTo(-0.583, 0.321).lineTo(0.449, 0.... | 4 | 36 | 1.853621 |
train_30c16eb51952f594 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.173).lineTo(0.8, 0).lineTo(1, -0.173).lineTo(0.332, -0.173).lineTo(0.332, 0.173).lineTo(1, 0.173).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, ... | 6 | 20 | 0.49953 |
train_0aef968dc070fc3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.234, -0.018, 0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.441, 0.439).lineTo(-0.441, -0.191).threePointArc((-0.354, -0.283), (-0.148, -0.322)).lineTo(0.698, -0.322).threePointArc((0.745, -0.331), (0.766, -0.352)).lineTo(0.766, -0.444).thr... | 21 | 126 | 1.438046 |
train_419f532b0584f100 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.324, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.04, 1.352, 1.352)
result = result.edges().fillet(0.159)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.324, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.159).extrude(2.081, both=Tru... | 9 | 160 | 1.3203 |
train_71d778a9d0938427 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.045, -0.168, -0.423), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.847, 1.095).lineTo(0.847, 0).lineTo(-0.847, 0).lineTo(-0.847, 1.095).lineTo(-0.718, 1.095).lineTo(-0.718, 0.13).lineTo(0.718, 0.13).lineTo(0.718, 1.095).lineTo(0.847, 1.095).clo... | 11 | 152 | 0.272258 |
train_d18ab214155a12db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.11, -0.278, 0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.222, 0.116).threePointArc((-0.393, -0.038), (-0.376, -0.253)).threePointArc((-0.336, -0.325), (-0.191, -0.484)).threePointArc((-0.175, -0.579), (-0.281, -0.648)).threePointArc((-0.6... | 6 | 86 | 0.434215 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.