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_7ae26be007e49a21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.035, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.174).lineTo(0.349, 0.056).lineTo(0.194, -0.174).lineTo(-0.012, -0.042).lineTo(0.1, 0.174).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0.035, 0, -1), normal=(0, 0, 1), xDir=... | 17 | 231 | 0.161736 |
train_12329018943bbdad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.072, -0.337, 0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.558, -0.583).lineTo(-0.558, -0.571).threePointArc((-0.492, 0.583), (0.558, -0.583)).close().moveTo(0.4, 0.477).lineTo(0.345, -0.485).threePointArc((-0.28, 0.485), (0.4, 0.477)).clo... | 6 | 64 | 0.318061 |
train_495d4a4046c49bab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.219, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, 0.781).threePointArc((0.883, 0.75), (1, 0.674)).lineTo(1, -0.655).lineTo(0.787, -0.655).lineTo(0.787, -0.781).lineTo(-0.699, -0.781).lineTo(-0.699, -0.567).lineTo(-1, -0.567).line... | 7 | 77 | 1.145115 |
train_b155a368d1cfe304 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.791, 0.24).lineTo(1, 0.031).lineTo(1, -0.06).threePointArc((0.946, -0.187), (0.82, -0.24)).lineTo(-0.892, -0.24).threePointArc((-0.968, -0.209), (-1, -0.133)).lineTo(-1, 0.24).lineTo(0.791... | 6 | 15 | 0.167271 |
train_4fa6116e61bec44e | 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.52, 0.389).threePointArc((0.618, 0.35), (0.659, 0.251)).lineTo(0.659, -0.389).lineTo(-0.544, -0.389).threePointArc((-0.625, -0.355), (-0.659, -0.274)).lineTo(-0.659, 0.296).lineTo(-0.565, 0... | 14 | 41 | 0.262114 |
train_bdaca421ea2ae8a9 | 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.23, 0.102).lineTo(0.23, 0.061).lineTo(0.026, 0.061).lineTo(0.026, 0.02).lineTo(0.23, 0.02).lineTo(0.23, -0.102).lineTo(-0.015, -0.102).lineTo(-0.015, -0.061).lineTo(0.189, -0.061).lineTo(0.189... | 14 | 90 | 0.106493 |
train_9266b7f215aa6562 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.083, 0, -0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.32, 0.935).threePointArc((0.417, 0.907), (0.458, 0.841)).lineTo(0.458, 0.427).threePointArc((0.508, 0.346), (0.627, 0.312)).lineTo(0.842, 0.312).threePointArc((0.894, 0.297), (0.916, 0... | 6 | 158 | 0.250608 |
train_43dc64c2cc51ad99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.52).lineTo(1, -0.277).lineTo(0.753, -0.277).lineTo(0.753, -0.52).lineTo(-0.865, -0.52).lineTo(-1, -0.393).lineTo(-1, 0.253).threePointArc((-0.913, 0.441), (-0.729, 0.52)).lineTo(1, 0.52... | 9 | 40 | 0.576608 |
train_506edfe855a8dc99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.244).lineTo(1, 0.146).lineTo(-0.667, 0.146).lineTo(-0.667, 0.049).lineTo(1, 0.049).lineTo(1, -0.244).lineTo(-1, -0.244).lineTo(-1, -0.146).lineTo(0.667, -0.146).lineTo(0.667, -0.049).li... | 1 | 14 | 0.31847 |
train_8757ac3cf56d2463 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.818).lineTo(1, -0.818).lineTo(-1, -0.818).lineTo(-1, 0.818).lineTo(-0.553, 0.818).lineTo(-0.553, -0.371).lineTo(0.553, -0.371).lineTo(0.553, 0.818).lineTo(1, 0.818).close().extrude(0.58)... | 6 | 66 | 1.118571 |
train_3fd295de8c73eb64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.047, 0.685, 0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.178, 0.267).threePointArc((0.178, 0.267), (0.356, 0)).threePointArc((0.178, -0.267), (-0.178, -0.267)).threePointArc((-0.356, 0), (-0.178, 0.267)).close().sweep(cq.Workplane(cq.Pla... | 5 | 22 | 0.095643 |
train_cac0a39cd42d9834 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.325), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.735, 0.728).threePointArc((0.922, 0.65), (1, 0.464)).lineTo(1, -0.728).lineTo(-1, -0.728).lineTo(-1, 0.559).lineTo(-0.833, 0.728).lineTo(0.735, 0.728).close().extrude(0.649)
result = resul... | 5 | 40 | 0.998858 |
train_ad66d50c2d02fd33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.243, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.113, 0.447).lineTo(0.207, 0.249).lineTo(0.095, 0.078).lineTo(-0.128, 0.04).lineTo(-0.207, 0.254).lineTo(-0.103, 0.429).lineTo(0.113, 0.447).close().extrude(2)
result = result.cut(cq.Workpl... | 13 | 195 | 0.073121 |
train_ad2da23d6e380392 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.236, 0, -0.156), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.655, 0.287).lineTo(0.769, 0.143).lineTo(0.231, -0.287).lineTo(0.202, -0.251).lineTo(0.31, -0.165).threePointArc((0.296, 0), (0.475, 0.143)).lineTo(0.655, 0.287).close().revolve(angle... | 14 | 39 | 0.235512 |
train_8ff5ad69ec68f697 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.151, -0.034, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.229, 0.223).lineTo(0.229, -0.223).lineTo(-0.229, -0.223).lineTo(-0.229, 0.223).lineTo(-0.121, 0.223).lineTo(-0.121, -0.109).lineTo(0.121, -0.109).lineTo(0.121, 0.223).lineTo(0.229... | 4 | 79 | 0.214204 |
train_cfc09a2d64e0d95b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.343)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.942).extrude(1.028, both=True))
result = result.union(cq.Wo... | 13 | 60 | 0.614877 |
train_5d519c03792b1255 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, 0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.773, -0.141).lineTo(0.979, -0.206).lineTo(0.966, -0.261).lineTo(0.756, -0.211).lineTo(0.706, -0.344).lineTo(0.886, -0.464).lineTo(0.86, -0.512).lineTo(0.671, -0.408).lineTo(0.587, ... | 6 | 204 | 0.823718 |
train_4d1fdee86016c159 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.655, 0.489, 0.405), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.093, 0.507).lineTo(0.202, 0.47).threePointArc((0.235, 0.405), (0.249, 0.338)).lineTo(0.235, 0.209).threePointArc((0.224, 0.179), (0.249, 0.14)).lineTo(0.163, 0.124).threePointArc((... | 6 | 104 | 0.561688 |
train_590716e78e16c565 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.498, 0.709, 0.004), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.063, 0.551).threePointArc((0.031, 0.478), (0.094, 0.418)).threePointArc((0.158, 0.407), (0.241, 0.406)).threePointArc((0.313, 0.367), (0.348, 0.296)).threePointArc((0.37, 0.22), (0... | 3 | 22 | 0.623096 |
train_ee68b80f87d74196 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.075, -0.412), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.224, 0.486).threePointArc((0.399, 0.365), (0.466, 0.162)).threePointArc((0.41, -0.066), (0.243, -0.259)).threePointArc((0.011, -0.365), (-0.224, -0.356)).threePointArc((-0.399, -0.... | 6 | 41 | 1.288471 |
train_eb7df4ec7ff9b1a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.091, 0.11, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.668, -0.162).threePointArc((0.795, -0.636), (0.708, -0.786)).threePointArc((-0.841, -0.693), (0.414, 0.786)).threePointArc((0.628, 0.463), (0.778, 0.376)).threePointArc((0.841, 0.139), (... | 4 | 27 | 3.832969 |
train_5800ac75cac154f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.308, 0.943).lineTo(0.805, 0.585).lineTo(1, 0).lineTo(0.805, -0.585).lineTo(0.308, -0.943).lineTo(-0.308, -0.943).lineTo(-0.805, -0.585).lineTo(-1, 0).lineTo(-0.805, 0.585).lineTo(-0.308, 0... | 4 | 29 | 1.047659 |
train_aa2662fc4393e042 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.824), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.714, 1.649).lineTo(0.714, 0.586).lineTo(1, 0.586).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.649).lineTo(0.714, 1.649).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 9 | 74 | 1.920846 |
train_87d029705e8a2173 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.327, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.081, 0.629).lineTo(0.302, 0.246).lineTo(-0.081, 0.024).lineTo(-0.302, 0.407).lineTo(0.081, 0.629).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(2.272, -0.215, -3.77... | 13 | 7 | 0.389823 |
train_3065937139b8048d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.904, 2).extrude(0.446)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.196, -0.343).lineTo(0.196, -0.343).lineTo(-0.196, -0.456)... | 12 | 34 | 0.658981 |
train_992d7f259d53ea12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.403), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.905, 0.909).lineTo(0.905, 0).lineTo(-0.905, 0).lineTo(-0.905, 0.909).lineTo(-0.832, 0.909).lineTo(-0.832, 0.073).lineTo(0.832, 0.073).lineTo(0.832, 0.909).lineTo(0.905, 0.909).close().ext... | 6 | 43 | 0.214815 |
train_acbd80aa388c2bb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.017, 0.122).lineTo(0.051, 0.113).lineTo(0.104, 0.067).lineTo(0.124, 0).lineTo(0.104, -0.067).lineTo(0.051, -0.113).lineTo(-0.017, -0.122).lineTo(-0.082, -0.093).lineTo(-0.118, -0.036).lin... | 2 | 14 | 0.090928 |
train_28eda0c9257ddf5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.086, 0, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.34, 0.95).lineTo(0.769, -0.653).lineTo(0.516, -0.721).lineTo(0.355, -0.118).lineTo(-0.248, -0.279).lineTo(-0.087, -0.882).lineTo(-0.34, -0.95).lineTo(-0.769, 0.653).lineTo(-0.516, 0.72... | 5 | 38 | 1.115589 |
train_f0b0450c88423cca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.281, 0, -0.574), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.206, 1.148).lineTo(0.206, 0.206).lineTo(0.562, 0.206).lineTo(0.562, 0).lineTo(0, 0).lineTo(0, 1.148).lineTo(0.206, 1.148).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 3 | 19 | 0.530085 |
train_e6c4a6c399739b22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.528), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.07, 0.924).threePointArc((0.137, 0.997), (0.311, 0.875)).threePointArc((0.386, 0.637), (0.411, 0.436)).threePointArc((0.503, 0.338), (0.706, 0.277)).threePointArc((0.918, 0.152), (0.984, ... | 12 | 49 | 2.382006 |
train_29d31ba931f91d1a | 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.7).lineTo(1, -0.549).lineTo(0.839, -0.549).lineTo(0.839, -0.7).lineTo(-1, -0.7).lineTo(-1, 0.582).lineTo(-0.874, 0.7).lineTo(1, 0.7).close().extrude(0.215)
result = result.cut(cq.Workpl... | 6 | 35 | 0.370093 |
train_dc34152212a706f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.26, -0.243, -0.904), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.455, 0.325).threePointArc((0.739, -0.054), (0.629, -0.325)).lineTo(0.566, -0.303).lineTo(0.416, -0.153).lineTo(0.353, -0.114).lineTo(0.3, -0.129).lineTo(0.237, -0.245).lineTo(0.20... | 9 | 138 | 1.221514 |
train_712aa308a9701ead | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.37), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.479, 0.517).threePointArc((1, 0), (0.479, -0.517)).lineTo(-0.479, -0.517).threePointArc((-1, 0), (-0.479, 0.517)).lineTo(0.479, 0.517).close().extrude(0.902)
result = result.union(cq.Workpl... | 11 | 90 | 1.102864 |
train_cc4560ebe70271a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.836, -0.428, 0.01), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.348, 0.727).threePointArc((0.348, 0.727), (0.697, 0.124)).threePointArc((0.348, -0.479), (-0.348, -0.479)).threePointArc((-0.697, 0.124), (-0.348, 0.727)).close().extrude(1.672)
r... | 5 | 134 | 1.979629 |
train_0b52e51bd0e4dc8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.174).lineTo(1, -0.014).threePointArc((0.945, -0.052), (0.832, -0.069)).lineTo(-0.462, -0.069).threePointArc((-0.557, -0.082), (-0.597, -0.114)).lineTo(-0.597, -0.184).threePointArc... | 3 | 43 | 0.103653 |
train_fa973ed9099b774e | 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.281, 0.193).lineTo(0.394, 0.029).lineTo(0.211, -0.096).lineTo(-0.343, -0.193).lineTo(-0.394, 0.1).threePointArc((-0.036, -0.001), (0.281, 0.193)).close().extrude(2)
result = result.cut(cq.Work... | 6 | 40 | 0.244142 |
train_8101bd00e5ad6346 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, -0.035, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.037, 0.641).lineTo(0.479, 0.499).lineTo(0.311, -0.146).lineTo(0.384, -0.192).lineTo(0.466, -0.211).threePointArc((0.511, -0.203), (0.555, -0.198)).threePointArc((0.591, -0.222), (0.6... | 3 | 32 | 0.576529 |
train_e309fe060624f3a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.175, -0.657, -0.119), normal=(0.45, 0.866, 0.217), xDir=(-0.887, 0.461, 0))).moveTo(0.127, 0.267).lineTo(0.352, 0.051).threePointArc((0.453, -0.004), (0.348, -0.027)).lineTo(0.076, -0.241).lineTo(0.08, -0.261).lineTo(0.052, -0.279).lineTo(0.035,... | 13 | 207 | 0.557849 |
train_20d2491edf918734 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.034, 0.185, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 0.462).lineTo(-0.228, -0.254).lineTo(0.477, -0.254).lineTo(0.477, -0.462).lineTo(-0.477, -0.462).lineTo(-0.477, 0.462).lineTo(-0.228, 0.462).close().extrude(1.22)
result = res... | 14 | 268 | 0.881112 |
train_5841053d9367901a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.052), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.777, 1).threePointArc((0.844, 0.971), (0.872, 0.903)).lineTo(0.872, -0.903).threePointArc((0.844, -0.971), (0.777, -1)).lineTo(-0.777, -1).threePointArc((-0.844, -0.971), (-0.872, -0.903))... | 7 | 163 | 0.788501 |
train_96a7284340b6d694 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.244, 1.29, 2.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.997, 4.091).threePointArc((1.729, 3.371), (1.944, 3.78)).lineTo(2.793, 3.28).threePointArc((3.12, 2.335), (3.503, 2.616)).lineTo(4.036, 1.82).threePointArc((3.892, 0.836), (4.368, 0... | 23 | 16 | 0.821315 |
train_936fb7f6761fadba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.269, -0.378, -0.278), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.545, 0.03).threePointArc((0.533, -0.052), (0.568, -0.153)).threePointArc((0.614, -0.287), (0.613, -0.43)).threePointArc((0.535, -0.531), (0.4, -0.552)).threePointArc((0.259, -0.50... | 8 | 113 | 1.547982 |
train_4efe5131e41fad99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.17, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.185).lineTo(1, -0.171).lineTo(0.976, -0.185).lineTo(-0.985, -0.185).lineTo(-1, -0.179).lineTo(-1, 0.185).lineTo(1, 0.185).close().extrude(0.467)
result = result.union(cq.Workplane(cq... | 8 | 53 | 0.553426 |
train_ab3d23accef5d9b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, 0.005, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.155, 0.547).lineTo(0.682, 0.368).lineTo(2.756, -0.128).lineTo(-1.04, -0.547).lineTo(-2.355, -0.459).lineTo(-2.654, -0.331).lineTo(-2.756, -0.14).lineTo(-2.617, 0.122).lineTo(-2.287, 0... | 3 | 65 | 0.240944 |
train_fb9a6303b9b5e8bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.57, -0.376, -0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.166, 0.777).threePointArc((0.352, 0.7), (0.429, 0.514)).lineTo(0.429, 0.237).threePointArc((0.352, 0.051), (0.166, -0.025)).lineTo(-0.166, -0.025).threePointArc((-0.352, 0.051), (-... | 5 | 38 | 0.584356 |
train_4586997cf42053c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.949, 0.397).lineTo(0.949, 0.354).lineTo(1, 0.354).lineTo(1, -0.339).lineTo(0.934, -0.397).lineTo(-0.952, -0.397).lineTo(-1, -0.358).lineTo(-1, 0.316).lineTo(-0.909, 0.397).lineTo(0.949, 0.... | 13 | 68 | 0.255321 |
train_b68f1474b5948f5b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.383, -0.299, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.585, -0.46).lineTo(0.13, -0.534).threePointArc((-0.585, 0.534), (0.585, -0.46)).close().moveTo(-0.075, -0.345).threePointArc((0.075, 0.42), (0.183, -0.378)).lineTo(-0.075, -0.345... | 14 | 169 | 0.215454 |
train_9e4874a080d0fae6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.908, 0.389).lineTo(1, 0.297).lineTo(1, -0.337).lineTo(0.948, -0.389).lineTo(-1, -0.389).lineTo(-1, 0.389).lineTo(0.908, 0.389).close().extrude(0.103)
result = result.union(cq.Workplane(cq.... | 16 | 59 | 0.437388 |
train_983c32fe0a518577 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.733, 0.275).lineTo(0.919, 0.164).lineTo(1, 0.096).lineTo(1, 0).lineTo(0.83, 0).lineTo(0.83, 0.083).lineTo(0.73, 0.164).lineTo(0, 0.107).lineTo(0, 0.275).lineTo(0.733, 0.275).close().revol... | 4 | 48 | 0.422302 |
train_3b4eeb2318c74ccd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.605, -0.406, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.209).threePointArc((0.854, 0.854), (1.209, 0)).lineTo(0.682, 0).threePointArc((0.482, 0.482), (0, 0.682)).lineTo(0, 1.209).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 41 | 1.798718 |
train_92047da1166234c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.216, 0.304, 0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.179, 0.392).lineTo(-0.179, -0.22).lineTo(0.456, -0.22).lineTo(0.456, -0.392).lineTo(-0.456, -0.392).lineTo(-0.456, 0.392).lineTo(-0.179, 0.392).close().extrude(0.166, taper=-12.75... | 20 | 149 | 0.558004 |
train_e8789c907b211f82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.854, -0.222, 0.228), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.073, 0.127).threePointArc((0.073, 0.127), (0.146, 0)).threePointArc((0.073, -0.127), (-0.073, -0.127)).threePointArc((-0.146, 0), (-0.073, 0.127)).close().transformed(offset=(0.... | 5 | 49 | 0.051666 |
train_f5d98f16b22691d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.194, -0.298, 0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.072, 0.145).threePointArc((0.145, 0.048), (0.145, -0.072)).threePointArc((0.048, -0.145), (-0.072, -0.145)).threePointArc((-0.145, -0.048), (-0.145, 0.072)).threePointArc((-0.048, ... | 4 | 46 | 0.197847 |
train_86f0ba12b332235f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.005, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.037, 0.181).lineTo(0.048, 0.139).threePointArc((0.055, 0.129), (0.068, 0.128)).lineTo(0.099, 0.136).threePointArc((0.112, 0.135), (0.12, 0.124)).lineTo(0.131, 0.083).threePointArc((0.135, ... | 5 | 205 | 0.339314 |
train_07563737914bbd09 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.454, 0.201).lineTo(0.488, 0.167).lineTo(0.488, -0.184).threePointArc((0.483, -0.197), (0.47, -0.201)).lineTo(-0.488, -0.201).lineTo(-0.488, 0.201).lineTo(0.454, 0.201).close().extrude(0.586... | 6 | 89 | 0.656267 |
train_11dd82fe202f8384 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.034, 0, -0.096), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.27, 0.118).lineTo(0.27, 0).lineTo(-0.27, 0).lineTo(-0.27, 0.118).lineTo(-0.246, 0.118).lineTo(-0.246, 0.024).lineTo(0.246, 0.024).lineTo(0.246, 0.118).lineTo(0.27, 0.118).close().extr... | 9 | 70 | 0.040406 |
train_88916051f3e9d632 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.051, 0.998, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.611, 1.637).threePointArc((0.693, 1.603), (0.728, 1.52)).lineTo(0.809, 1.333).lineTo(0.641, 1.145).lineTo(0.691, 0.957).lineTo(0.786, 0.769).lineTo(0.728, 0.581).threePointArc((0.693, ... | 11 | 45 | 2.339108 |
train_863770a4a1685ad2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.475, 2).extrude(0.264)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.081, 1.025, -0.084), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.117, 1.169).lineTo(-0.098, 1.16).lineTo(-0.064,... | 8 | 68 | 0.23595 |
train_764fb1afe7e677da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.763, 0.031, -0.08), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.339, 0.396).lineTo(0.345, -0.005).lineTo(-0.345, -0.396).lineTo(-0.339, 0.396).close().sweep(cq.Workplane(cq.Plane(origin=(-0.382, 0.031, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0... | 29 | 41 | 1.13645 |
train_e24d6f557ebdcb91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.285), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.658).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.658).lineTo(-0.507, 0.658).lineTo(-0.507, 0.487).lineTo(0.507, 0.487).lineTo(0.507, 0.658).lineTo(1, 0.658).close().extrude(0.882, both=Tru... | 8 | 152 | 1.223665 |
train_cf7d16b52eed9127 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.344, 0.111, -0.169), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.314, 0.264).lineTo(0.394, 0.196).lineTo(0.314, 0.102).lineTo(0.541, -0.09).lineTo(0.394, -0.264).lineTo(0.314, -0.196).lineTo(0.393, -0.102).lineTo(0.166, 0.09).lineTo(0.314, 0.2... | 12 | 148 | 0.338704 |
train_91420b47b4e55074 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.352), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.846, 0.562).threePointArc((0.949, 0.522), (1, 0.417)).lineTo(1, -0.562).lineTo(-0.874, -0.562).lineTo(-1, -0.445).lineTo(-1, 0.483).threePointArc((-0.968, 0.54), (-0.91, 0.562)).lineTo(0.8... | 19 | 92 | 0.395794 |
train_c6e480fcd317d569 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.443, 0.275, -0.075), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.062, 0.288).lineTo(0.187, 0.235).threePointArc((0.26, 0.238), (0.311, 0.185)).threePointArc((0.488, 0.009), (0.311, -0.168)).threePointArc((0.234, -0.165), (0.187, -0.227)).lineTo... | 6 | 316 | 0.634565 |
train_cc26ad7672a64656 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.104, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.707, 0.963).lineTo(0.566, -1).lineTo(0.345, -0.976).lineTo(0.369, -0.556).lineTo(0.21, -0.302).lineTo(0.281, 0.345).lineTo(0.303, 1).lineTo(0.707, 0.963).close().revolve(angleDegrees=360,... | 5 | 64 | 1.746748 |
train_9428d4ec61f49977 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.843).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.588).extrude(0.447, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.075, 0, 0), normal=(1, 0, 0), xD... | 11 | 38 | 3.231409 |
train_4ef382e0e6ce847e | 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.86, 0.93).lineTo(1, 0.792).lineTo(1, -0.753).threePointArc((0.947, -0.878), (0.821, -0.93)).lineTo(-0.867, -0.93).threePointArc((-0.96, -0.892), (-1, -0.799)).lineTo(-1, 0.793).lineTo(-0.86... | 9 | 57 | 0.159354 |
train_a996d60f5612d4fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.531), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 1).lineTo(1.045, 0).lineTo(0.325, -1).lineTo(-0.843, -0.614).lineTo(-0.843, 0.614).lineTo(0.325, 1).close().extrude(1.061)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.... | 6 | 75 | 2.509858 |
train_54d57139238211ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.346, 0.052, 0.11), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.109, 0.001).lineTo(0.178, -0.107).threePointArc((0.202, -0.175), (0.164, -0.204)).threePointArc((0.085, -0.222), (0.007, -0.174)).lineTo(-0.093, -0.259).lineTo(-0.172, -0.091).three... | 14 | 137 | 0.529899 |
train_00b4dc54a50b17d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.04, 0.034, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.519, 0.294).lineTo(0.679, -0.068).lineTo(0.386, -0.3).lineTo(0.365, -0.291).lineTo(0.347, -0.304).lineTo(-0.043, -0.088).lineTo(0.481, 0.304).lineTo(0.519, 0.294).close().extrude(1.... | 5 | 66 | 1.041133 |
train_1d4fd9b2844eb2e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.372, 0.327, -0.979), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.123, 0.018).threePointArc((0.146, 0.018), (0.158, 0)).threePointArc((0.146, -0.018), (0.123, -0.018)).threePointArc((0.111, 0), (0.123, 0.018)).close().sweep(cq.Workplane(cq.Plane... | 9 | 170 | 0.552801 |
train_8f7753e6417e2ed0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.048, -0.034, 0.197), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.003, 1.078).lineTo(0.12, 0.781).lineTo(0.425, 0.872).lineTo(0.266, 0.597).lineTo(0.527, 0.415).threePointArc((0.493, 0.404), (0.469, 0.378)).lineTo(0.398, 0.42).threePointArc((0.3... | 4 | 74 | 0.353484 |
train_89c1cbe7a62775bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.183, -0.005, 0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.378, 0.408).threePointArc((-0.005, 0.808), (0.378, -0.431)).threePointArc((-0.017, -0.808), (-0.378, 0.408)).close().extrude(0.103)
result = result.cut(cq.Workplane(cq.Plane(orig... | 18 | 294 | 0.279713 |
train_4f51253688a17240 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.039, 0.111).threePointArc((0.07, 0.075), (0.11, -0.036)).threePointArc((0.039, -0.111), (-0.07, -0.075)).threePointArc((-0.11, 0.036), (-0.039, 0.111)).close().extrude(2)
result = re... | 15 | 690 | 0.05214 |
train_1ea199607f8a6ea3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.549, -0.318, -0.536), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.218, 0.39).lineTo(0.218, 0.13).lineTo(0.435, 0.13).lineTo(0.435, -0.13).lineTo(0.218, -0.13).lineTo(0.218, -0.39).lineTo(0, -0.39).lineTo(0, -0.13).lineTo(-0.435, -0.13).lineTo(-0... | 13 | 187 | 0.59701 |
train_3ba2b4117212b2f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.574), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.286, 0.865).lineTo(0.286, 0.433).lineTo(1, -0.721).lineTo(-0.429, -0.865).lineTo(-1, -0.288).lineTo(-0.286, 0.865).close().extrude(1.148)
result = result.cut(cq.Workplane(cq.Plane(origin=... | 21 | 416 | 1.848594 |
train_9271397ece7828f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.763, 0, -0.087), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.174, 0.613).lineTo(0.174, 0.174).lineTo(1.526, 0.174).lineTo(1.526, 0).lineTo(0, 0).lineTo(0, 0.613).lineTo(0.174, 0.613).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 11 | 74 | 0.460058 |
train_f656e640430992a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.379, 0, -0.127), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.62, 0.385).lineTo(0.62, 0).lineTo(-0.62, 0).lineTo(-0.62, 0.385).lineTo(-0.391, 0.385).lineTo(-0.391, 0.23).lineTo(0.391, 0.23).lineTo(0.391, 0.385).lineTo(0.62, 0.385).close().extrud... | 9 | 70 | 0.251119 |
train_825e1db641c57b20 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.014, 0.08).lineTo(0.063, 0.052).lineTo(0.081, 0).lineTo(0.063, -0.052).lineTo(0.014, -0.08).lineTo(-0.041, -0.071).lineTo(-0.076, -0.028).lineTo(-0.076, 0.028).lineTo(-0.041, 0.071).lineTo(0.014, 0.08).close().extrude(1, both=True)
result = result.c... | 4 | 15 | 0.040045 |
train_ce7fcb1fb38a4f48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.748, 1).lineTo(0.748, -0.87).threePointArc((0.711, -0.961), (0.621, -1)).lineTo(-0.541, -1).threePointArc((-0.687, -0.938), (-0.748, -0.793)).lineTo(-0.748, 0.712).threePointArc((-0.664, 0... | 4 | 34 | 0.629523 |
train_46b678152a721fc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.998).extrude(0.721)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.852).extrude(2.162, both=True))
result = result.union(cq.Wo... | 13 | 39 | 2.128069 |
train_13c498c47095e8cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.115, 0, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.884, 0.664).lineTo(0.884, -0.664).lineTo(0.442, -0.664).lineTo(0.442, -0.221).lineTo(-0.884, -0.221).lineTo(-0.884, 0.664).lineTo(0.884, 0.664).close().extrude(0.19, taper=11.136, both... | 3 | 88 | 0.503308 |
train_e9001e2c8cf433ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.177, 0.049, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.623, 0.55).threePointArc((0.764, 0.49), (0.823, 0.349)).lineTo(0.823, -0.351).threePointArc((0.764, -0.491), (0.626, -0.55)).lineTo(-0.388, -0.55).threePointArc((-0.695, -0.42), (... | 21 | 277 | 0.340805 |
train_9380b4b616cc41ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.424, 0.027, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.548, 0.553).lineTo(0.548, -0.553).lineTo(-0.548, -0.553).lineTo(-0.548, 0.553).lineTo(-0.294, 0.553).lineTo(-0.294, -0.304).lineTo(0.294, -0.304).lineTo(0.294, 0.553).lineTo(0.548,... | 28 | 429 | 1.186234 |
train_0ebddad5ee6b8814 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.55)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.722).extrude(1.649, both=True))
result = result.union(cq.Workpla... | 14 | 72 | 1.481115 |
train_fd8731c80f9e1201 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.223).lineTo(1, 0.164).threePointArc((0.961, 0.136), (0.87, 0.124)).lineTo(0.748, 0.124).threePointArc((0.644, 0.11), (0.6, 0.078)).lineTo(0.6, -0.173).threePointArc((0.528, -0.225), ... | 3 | 26 | 0.227722 |
train_b20a9d7d3d41f933 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.082).lineTo(0.026, 0.077).lineTo(0.048, 0.066).lineTo(0.066, 0.048).lineTo(0.077, 0.026).lineTo(0.082, 0).lineTo(0.077, -0.026).lineTo(0.066, -0.048).lineTo(0.048, -0.066).lineTo(0.026, -0.077).lineTo(0, -0.082).lineTo(-0.026, -0.077).lineTo(-0.0... | 7 | 90 | 0.043684 |
train_033195515ae8ca5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.444, -0.184, 0.156), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.238, 0.112).lineTo(0.259, 0.063).lineTo(0.294, 0.049).lineTo(0.378, 0.056).lineTo(0.413, 0.042).lineTo(0.468, -0.021).lineTo(0.539, -0.05).lineTo(0.51, -0.12).lineTo(0.44, -0.092)... | 12 | 48 | 0.47698 |
train_e652b94d3de92f06 | 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.096, 0.197).lineTo(0.096, 0.039).lineTo(0.191, 0.039).lineTo(0.191, -0.197).lineTo(-0.096, -0.197).lineTo(-0.096, -0.118).lineTo(-0.191, -0.118).lineTo(-0.191, -0.039).lineTo(-0.096, -0.039).l... | 5 | 18 | 0.199841 |
train_282fc7be4d695d7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.273), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.8, 0.546).lineTo(0.92, 0.374).lineTo(1, 0.192).lineTo(1, 0).lineTo(0.771, 0).lineTo(0.771, 0.164).lineTo(0.671, 0.374).lineTo(0, 0.317).lineTo(0, 0.546).lineTo(0.8, 0.546).close().revolve... | 7 | 41 | 0.674866 |
train_efb4252d21d34a02 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, 0.756), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.134, 0.844).lineTo(0.123, 0.434).threePointArc((0.233, 0.436), (0.333, 0.39)).threePointArc((0.46, 0.36), (0.727, 0.361)).lineTo(0.861, 0.25).threePointArc((0.866, 0.132), (0.794, 0.... | 2 | 34 | 0.882512 |
train_c6e947291fd98dc6 | 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.623, -0.217).lineTo(0.918, -0.375).lineTo(0.868, -0.48).lineTo(0.57, -0.33).lineTo(0.43, -0.499).lineTo(0.611, -0.787).lineTo(0.516, -0.847).lineTo(0.33, -0.57).lineTo(0.123, -0.647).lineT... | 9 | 161 | 0.723594 |
train_7c53995415c8b645 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.205, -0.021, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.624, 0.576).threePointArc((0.738, 0.352), (0.645, 0.144)).lineTo(0.167, 0.104).threePointArc((0.001, 0.045), (-0.131, -0.102)).lineTo(-0.419, -0.581).threePointArc((-0.624, -0.565), (... | 7 | 93 | 1.175287 |
train_d4b11beca104f10c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.837, 1).threePointArc((0.952, 0.952), (1, 0.837)).lineTo(1, -0.735).threePointArc((0.921, -0.921), (0.735, -1)).lineTo(-0.729, -1).threePointArc((-0.92, -0.92), (-1, -0.729)).lineTo(-1, 0.... | 8 | 52 | 0.857233 |
train_8c7c4addc9162193 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.142, 0.039, -0.628), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.367, 0.668).lineTo(0.367, -0.384).threePointArc((-0.367, 0.141), (0.367, 0.668)).close().revolve(angleDegrees=270, axisStart=(0.628, -0.23), axisEnd=(0.628, 0.23))
result = result... | 18 | 108 | 1.580139 |
train_788dc63efddabdff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.78).extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.783, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.293, 0.612), (-0.953, 0.763), (-1.484, 0.339), (-... | 12 | 81 | 0.813953 |
train_9e6311001593945b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.397, 0.937).threePointArc((0.513, 0.884), (0.616, 0.811)).lineTo(0.977, 0.193).threePointArc((1, 0.037), (0.982, -0.12)).lineTo(0.622, -0.789).threePointArc((0.523, -0.865), (0.41, -0.92))... | 11 | 155 | 0.644233 |
train_b6176a197ff628ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.5, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.165, 0.362).threePointArc((1.401, 0.338), (1.5, 0.282)).lineTo(1.5, 0.167).threePointArc((1.443, 0.135), (1.308, 0.121)).lineTo(0.689, 0.121).threePointArc((0.556, 0.107), (0.5, 0.075)).... | 10 | 58 | 0.192717 |
train_4f38c3540bbf7020 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.916, -0.703, 0.003), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.475, 1.392).threePointArc((0.664, 1.293), (0.773, 1.11)).threePointArc((0.776, 0.896), (0.711, 0.705)).threePointArc((0.641, 0.547), (0.588, 0.396)).threePointArc((0.522, 0.242), ... | 9 | 42 | 1.999541 |
train_92fd934bfe017826 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.783, 0.885).threePointArc((0.933, 0.801), (0.996, 0.602)).lineTo(0.996, -0.283).threePointArc((0.862, -0.706), (0.544, -0.885)).lineTo(-0.516, -0.885).threePointArc((-0.853, -0.695), (-0.996, -0.245)).lineTo(-0.996, 0.568).threePointArc((-0.925, 0.7... | 1 | 10 | 2.823958 |
train_12678c6d7a103dcc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.883, 0.294).threePointArc((0.946, 0.267), (0.972, 0.204)).lineTo(0.972, -0.247).threePointArc((0.959, -0.279), (0.926, -0.294)).lineTo(-0.872, -0.294).threePointArc((-0.944, -0.264), (-0.9... | 7 | 31 | 0.24732 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.