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_20e8253a1ef2f0a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.207, -0.172, 0.335), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.229, 0.58).lineTo(0.229, -0.105).threePointArc((-0.229, 0.238), (0.229, 0.58)).close().revolve(angleDegrees=180, axisStart=(-0.551, -0.149), axisEnd=(-0.551, 0.149))
result = res... | 3 | 18 | 0.754382 |
train_5bd6badd54fe9ff3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.162, 0.755).threePointArc((0.244, 0.723), (0.279, 0.649)).lineTo(0.279, 0.379).threePointArc((0.321, 0.29), (0.421, 0.252)).lineTo(0.728, 0.252).threePointArc((0.803, 0.223), (0.832, 0.154)).lineTo(0.832, -0.089).threePointArc((0.782, -0.203), (0.65... | 2 | 73 | 4.053307 |
train_5f930070e814e32d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.062, 0.136, 0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.541, 0.049).threePointArc((0.748, -0.019), (0.207, -0.068)).threePointArc((-0.541, -0.049), (-0.748, 0.019)).threePointArc((-0.207, 0.068), (0.541, 0.049)).close().extrude(0.203)
r... | 14 | 160 | 0.976118 |
train_4a1a7efbf6248f80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.139, -0.008, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.64, 0.161).threePointArc((0.384, 0.802), (0.64, -0.161)).lineTo(0.64, -0.642).threePointArc((0.64, -0.802), (0.384, -0.642)).lineTo(0.384, -0.161).lineTo(0.384, 0).threePointArc(... | 20 | 133 | 0.605732 |
train_16c2587ea0ce8079 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.907, 0.219, 0.256), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.417, 1.272).threePointArc((0.528, 1.272), (0.495, 1.147)).lineTo(0.455, 0.892).threePointArc((0.604, 0.834), (0.717, 0.736)).threePointArc((0.571, 0.64), (0.519, 0.555)).threePoint... | 7 | 63 | 0.536151 |
train_2b01e9c697c46dd5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, -0.052, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.631, 0.68).threePointArc((0.674, 0.663), (0.692, 0.624)).lineTo(0.692, 0.474).threePointArc((0.68, 0.447), (0.65, 0.436)).lineTo(0.244, 0.436).threePointArc((0.167, 0.407), (0.13... | 19 | 317 | 0.648456 |
train_f3ddcbf45f240015 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.3, 0, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.479, 0.296).threePointArc((0.636, 0.232), (0.7, 0.075)).lineTo(0.7, -0.185).threePointArc((0.668, -0.264), (0.589, -0.296)).lineTo(-0.7, -0.296).lineTo(-0.7, 0.027).lineTo(-0.431, 0.296... | 9 | 58 | 0.060228 |
train_d5328720f096b655 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.275, 0.438, 0.011), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.163, 0.898).lineTo(0.505, 0.621).lineTo(0.551, 0.184).lineTo(0.275, -0.158).lineTo(-0.163, -0.205).lineTo(-0.505, 0.072).lineTo(-0.551, 0.509).lineTo(-0.275, 0.851).lineTo(0.163, 0... | 4 | 63 | 1.330877 |
train_28784971449af5f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.091, 0.015, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.442, 0.723).threePointArc((0.24, 0.983), (0.847, 0.677)).lineTo(0.426, -0.77).threePointArc((-0.408, -0.983), (-0.847, -0.694)).lineTo(-0.442, 0.723).close().moveTo(-0.018, 0.668).thr... | 4 | 78 | 1.401508 |
train_b8d8b0f65be5f694 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.171, -0.301, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.08, 0.392).lineTo(0.196, 0.276).lineTo(0.196, 0.05).lineTo(0.246, 0).lineTo(0.328, 0).lineTo(0.392, -0.064).lineTo(0.392, -0.253).lineTo(0.253, -0.392).lineTo(-0.165, -0.392).lin... | 11 | 239 | 0.834214 |
train_10c5f419e7cd6646 | 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.198, 0.222).threePointArc((0.212, 0.216), (0.218, 0.203)).lineTo(0.218, -0.157).threePointArc((0.198, -0.203), (0.151, -0.222)).lineTo(-0.114, -0.222).threePointArc((-0.187, -0.192), (-0.218, ... | 1 | 18 | 0.202358 |
train_915aeb4819441d4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.596), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.764, 0.485).threePointArc((0.929, 0.416), (1, 0.249)).lineTo(1, -0.264).lineTo(0.779, -0.264).lineTo(0.779, -0.485).lineTo(-0.854, -0.485).lineTo(-1, -0.34).lineTo(-1, 0.277).threePointArc... | 7 | 37 | 0.444813 |
train_2d5117e1751e200f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.231, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.922, 0.186).threePointArc((0.974, 0.165), (1, 0.112)).lineTo(1, -0.071).threePointArc((0.963, -0.152), (0.88, -0.186)).lineTo(-0.877, -0.186).threePointArc((-0.962, -0.151), (-1, -0.06... | 15 | 98 | 0.501041 |
train_853c6423166ca7d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.244, -0.348, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.256, 0.317).lineTo(0.044, 0.226).lineTo(0.282, -0.043).spline([(0.282, -0.043), (0.064, -0.317)]).lineTo(-0.282, -0.033).lineTo(-0.256, 0.317).close().sweep(cq.Workplane(cq.Plane... | 6 | 36 | 0.218218 |
train_850f1ee4c4a024ee | 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.44, 0.974).threePointArc((0.678, 0.891), (0.778, 0.692)).lineTo(0.778, -0.116).threePointArc((0.703, -0.263), (0.527, -0.325)).lineTo(0.145, -0.325).threePointArc((0.043, -0.361), (0, -0.4... | 14 | 177 | 0.736998 |
train_122731d19d14171d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.398, 0.34).lineTo(-0.398, -0.023).threePointArc((-0.294, -0.114), (-0.046, -0.153)).lineTo(0.905, -0.153).threePointArc((0.972, -0.163), (1, -0.188)).lineTo(1, -0.342).threePointArc((... | 3 | 19 | 0.203126 |
train_80b329e17bde9cbd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.021, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.569).extrude(0.853)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.59, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.393, 0.541), (-1.029, 0.334), (-1.029... | 9 | 59 | 0.475307 |
train_628e69c259140987 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.805, -0.138, 0.361), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.195, 0).threePointArc((0, -0.195), (-0.195, 0)).threePointArc((0, 0.195), (0.195, 0)).close().transformed(offset=(0.574, -0.218, 0.217), rotate=(20, 0, 0)).moveTo(0.207, 0).three... | 1 | 4 | 0.075319 |
train_a5756507e12f5135 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.407, 0.05, -0.489), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.51, 0.05).threePointArc((0, -0.459), (-0.51, 0.05)).threePointArc((0, 0.56), (0.51, 0.05)).close().extrude(0.814)
result = result.union(result.mirror(mirrorPlane='XY', basePointVec... | 3 | 12 | 1.314974 |
train_542a9e0ca0a39222 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.716, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.099, 0.576).lineTo(0.406, 0.35).lineTo(0.421, -0.031).lineTo(0.132, -0.28).lineTo(-0.242, -0.21).lineTo(-0.421, 0.127).lineTo(-0.27, 0.477).lineTo(0.099, 0.576).close().revolve(angleDegree... | 10 | 293 | 1.257499 |
train_ae41b7a335e84ace | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.898, 0.544).lineTo(1, 0.441).lineTo(1, -0.46).lineTo(0.915, -0.544).lineTo(-1, -0.544).lineTo(-1, 0.544).lineTo(0.898, 0.544).close().extrude(0.42)
result = result.union(cq.Workplane(cq.Pla... | 7 | 17 | 0.934899 |
train_385b2cc6f6e8985d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.578, 0.317).lineTo(0.92, 0.198).lineTo(1, 0.111).lineTo(1, 0).lineTo(0.859, 0).lineTo(0.859, 0.095).lineTo(0.759, 0.198).lineTo(0, 0.175).lineTo(0, 0.317).lineTo(0.578, 0.317).close().rev... | 4 | 21 | 0.380875 |
train_9c34d02a7d273806 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.002, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.793, -0.157).lineTo(0.975, -0.225).lineTo(0.952, -0.31).lineTo(0.765, -0.262).lineTo(0.699, -0.406).lineTo(0.849, -0.529).lineTo(0.799, -0.603).lineTo(0.638, -0.497).lineTo(0.529, ... | 3 | 206 | 0.945397 |
train_b56df2e544557bbd | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.119).lineTo(0.774, 0).lineTo(1, -0.119).lineTo(0.423, -0.119).lineTo(0.423, 0.119).lineTo(1, 0.119).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.388, 0.388, 0), norm... | 13 | 55 | 0.281468 |
train_240d3154b1ce2d1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.337, 1).lineTo(0.809, 0.521).lineTo(0.809, -1).lineTo(-0.512, -1).threePointArc((-0.723, -0.903), (-0.809, -0.696)).lineTo(-0.809, 0.75).threePointArc((-0.739, 0.919), (-0.563, 1)).lineTo(... | 8 | 41 | 1.652398 |
train_0ddd5a04c3806d89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.995, -0.995, 0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.373, 0.88).lineTo(0.513, 0.444).threePointArc((0.264, 0.414), (0.082, 0.36)).lineTo(-0.106, 0.425).threePointArc((-0.245, 0.445), (-0.475, 0.421)).threePointArc((-0.513, 0.714), (... | 4 | 98 | 1.478841 |
train_5cf0c25f4a935546 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.467).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.297).extrude(1.598))
result = result.cut(cq.Workplane(cq.Plane(orig... | 8 | 21 | 0.224403 |
train_4c19f266346dbcb1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.937, 0.044, 0.522), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.004, 0.586).lineTo(0.474, 0.314).lineTo(0.478, -0.236).lineTo(0.004, -0.514).lineTo(-0.474, -0.243).lineTo(-0.478, 0.307).lineTo(-0.004, 0.586).close().extrude(1.039)
result = res... | 8 | 128 | 2.658218 |
train_1919ea71c8555824 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.073, -0.092, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 0.134).lineTo(0, -0.134).lineTo(-0.141, 0.134).lineTo(0.141, 0.134).close().moveTo(0.047, 0.08).lineTo(0, -0.08).lineTo(-0.094, 0.08).lineTo(0.047, 0.08).close().extrude(1.43... | 7 | 107 | 0.051199 |
train_3565f9b76c276c7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.474, 0.004, -0.091), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.083, 0.588).lineTo(0.25, 0.534).lineTo(0.416, 0.463).threePointArc((0.493, 0.432), (0.525, 0.355)).lineTo(0.525, -0.484).threePointArc((0.493, -0.56), (0.416, -0.592)).lineTo(-0.... | 7 | 104 | 1.506015 |
train_5a2f76c4342117ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.071, -0.885, 0.008), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.118, 0.448).lineTo(0.118, 0.253).lineTo(0.331, 0.253).lineTo(0.331, -0.11).lineTo(0.118, -0.11).lineTo(0.118, -0.306).lineTo(-0.118, -0.306).lineTo(-0.118, -0.11).lineTo(-0.331, -... | 10 | 193 | 0.178125 |
train_99a29ea0fa8f9dfc | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.45, 0.388).threePointArc((0.553, 0.374), (0.597, 0.34)).lineTo(0.597, -0.227).threePointArc((0.626, -0.25), (0.695, -0.259)).lineTo(0.876, -0.259).threePointArc((0.959, -0.27), (1, -0.297)).lineTo(1, -0.336).threePointArc((0.947, -0.373), (0.834, -0... | 1 | 74 | 0.264934 |
train_030cddc16d9e48c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.028, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.935, -0.753).lineTo(0.261, 0.797).threePointArc((0.2, 0.868), (0.116, 0.853)).lineTo(-0.925, 0.231).threePointArc((-0.935, 0.22), (-0.933, 0.204)).lineTo(-0.826, -... | 2 | 216 | 2.712835 |
train_5f90289c3cbbcc8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.294, 0.32, 0.123), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.236, 0.341).lineTo(0.236, -0.341).threePointArc((-0.236, 0), (0.236, 0.341)).close().revolve(angleDegrees=180, axisStart=(0.505, -0.186), axisEnd=(0.505, 0.186))
result = result.cu... | 6 | 47 | 1.134575 |
train_caaac0f513e45286 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.231, -0.517, 0.08), normal=(0.356, 0.668, 0.654), xDir=(-0.882, 0.47, 0))).moveTo(0.094, 0.36).lineTo(0.094, 0.18).lineTo(0.469, 0.18).lineTo(0.469, 0).lineTo(0.282, 0).lineTo(0.282, -0.36).lineTo(-0.094, -0.36).lineTo(-0.094, -0.18).lineTo(-0.2... | 10 | 69 | 0.798201 |
train_9735492c2241b05b | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.693, 1.204, 2)
result = result.edges().fillet(0.034)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.207).extrude(3.387, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 5 | 32 | 3.513082 |
train_1ccd12886e68692e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.393, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.361, 0.555).lineTo(-0.361, -0.394).lineTo(0.602, -0.394).lineTo(0.602, -0.555).lineTo(-0.602, -0.555).lineTo(-0.602, 0.555).lineTo(-0.361, 0.555).close().extrude(0.829, taper=7.641, both=T... | 8 | 58 | 0.197437 |
train_8c72fec1e1174cfe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.865, 0.006), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.401, 1.373).lineTo(0.647, 0.976).lineTo(0.567, 0.566).lineTo(0.31, 0.279).lineTo(-0.108, 0.017).lineTo(-0.466, 0.36).lineTo(-0.647, 0.779).lineTo(-0.559, 1.282).lineTo(-0.056, 1.346).l... | 23 | 26 | 2.50242 |
train_5fa0d182d6fee0c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, -1, 0.374), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.032, 0.287).threePointArc((0.053, 0.283), (0.109, 0.206)).threePointArc((0.145, 0.146), (0.208, 0.118)).threePointArc((0.274, 0.069), (0.289, -0.009)).threePointArc((0.256, -0.081), ... | 3 | 32 | 0.169925 |
train_a72d277db2e5d178 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.563, -0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.436).threePointArc((0.877, 0.415), (0.898, 0.368)).lineTo(0.898, -0.392).lineTo(0.853, -0.392).lineTo(0.853, -0.436).lineTo(-0.857, -0.436).lineTo(-0.898, -0.396).lineTo(-0.898,... | 9 | 43 | 1.118718 |
train_dfc8c0be492ddfbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.24, -0.312, -0.117), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.041, 0.152).threePointArc((0.064, 0.128), (0.098, 0.129)).threePointArc((0.127, 0.117), (0.15, 0.094)).lineTo(0.159, -0.099).lineTo(-0.029, -0.152).lineTo(-0.159, 0.004).lineTo(-... | 6 | 33 | 0.229811 |
train_b3102a5cffc4f88b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.19, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.549).extrude(1.44)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.19, 0, 0.009), normal=(0.627, 0, 0.779), xDir=(0.779, 0, -0.627))).circle(0.476).extrude(0.889))
result = resu... | 3 | 7 | 1.657663 |
train_6e994dfe9ea031b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.379).lineTo(0.92, 0.311).lineTo(1, 0.133).lineTo(1, 0).lineTo(0.934, 0).lineTo(0.934, 0.114).lineTo(0.834, 0.311).lineTo(0, 0.315).lineTo(0, 0.379).lineTo(0.912, 0.379).close().revo... | 3 | 28 | 0.284931 |
train_22ba1cda3b8cd206 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.384, -0.041, -0.196), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.583, 0.306).lineTo(0.566, 0.29).lineTo(0.615, 0.106).lineTo(0.615, 0).lineTo(0.481, 0).lineTo(0.481, 0.092).lineTo(0.421, 0.29).lineTo(0, 0.172).lineTo(0, 0.306).lineTo(0.583, 0.... | 5 | 71 | 0.216654 |
train_aff39ec258023046 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.05, -0.014, -0.421), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.526).threePointArc((0.938, 0.514), (0.95, 0.486)).lineTo(0.95, -0.382).threePointArc((0.907, -0.483), (0.806, -0.526)).lineTo(0.123, -0.526).threePointArc((-0.006, -0.472), ... | 13 | 224 | 0.888907 |
train_7610d62ca98ba620 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.005, 0.999, 0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.28, 1.488).threePointArc((-0.145, 1.45), (-0.041, 1.392)).threePointArc((0.037, 1.353), (0.11, 1.343)).threePointArc((0.196, 1.343), (0.289, 1.324)).threePointArc((0.372, 1.273), ... | 1 | 17 | 1.97784 |
train_9c609e6870c7e6c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.115, 0.207, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.346, 0.278).threePointArc((0.531, 0.092), (0.346, -0.094)).lineTo(-0.346, -0.094).threePointArc((-0.531, 0.092), (-0.346, 0.278)).lineTo(0.346, 0.278).close().extrude(1.667)
resul... | 8 | 89 | 1.263386 |
train_42cb2de6162cd1d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.454), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.588, 1).lineTo(0.588, -0.808).threePointArc((0.535, -0.937), (0.401, -1)).lineTo(-0.521, -1).threePointArc((-0.569, -0.972), (-0.588, -0.923)).lineTo(-0.588, 1).lineTo(0.588, 1).close().ex... | 13 | 56 | 0.229295 |
train_dacfed1da373ab06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.847, 0.781).lineTo(0.847, 0.636).lineTo(1, 0.636).lineTo(1, -0.643).lineTo(0.853, -0.643).lineTo(0.853, -0.781).lineTo(-0.809, -0.781).lineTo(-0.809, -0.595).lineTo(-1, -0.595).lineTo... | 14 | 115 | 0.903374 |
train_91a5a111f814d292 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.064, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.921, 1).threePointArc((-0.82, 0.948), (-0.776, 0.843)).lineTo(-0.776, -0.266).threePointArc((-0.732, -0.371), (-0.626, -0.416)).lineTo(1.212, -0.416).threePointArc((1.31, -0.458), (1.... | 14 | 168 | 0.155186 |
train_b3729e28af14582d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.345, 0, -0.763), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.35, 1.526).lineTo(0.35, 0.35).lineTo(0.69, 0.35).lineTo(0.69, 0).lineTo(0, 0).lineTo(0, 1.526).lineTo(0.35, 1.526).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.P... | 3 | 22 | 1.042073 |
train_2627f75dbae64827 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.349), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.861).lineTo(1, -0.861).lineTo(0.961, -0.892).lineTo(-0.969, -0.892).lineTo(-1, -0.87).lineTo(-1, 0.881).lineTo(-0.981, 0.892).lineTo(0.961, 0.892).threePointArc((0.984, 0.884), (1, 0.86... | 9 | 171 | 1.636492 |
train_ae2eaf00d0a2b78d | 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.277, 0.04).threePointArc((0.168, -0.147), (-0.018, -0.04)).threePointArc((0.09, 0.147), (0.277, 0.04)).close().moveTo(0.136, 0.12).lineTo(0.151, 0.065).threePointArc((0.137, 0.042), (0.114, 0.... | 7 | 69 | 0.163388 |
train_8219a92a5850a26a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.053, 0.09, 0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.164, 0.909).threePointArc((0.497, 0.715), (0.909, 0.164)).threePointArc((0.715, -0.497), (0.164, -0.909)).threePointArc((-0.497, -0.715), (-0.909, -0.164)).threePointArc((-0.715, 0.... | 6 | 44 | 0.562212 |
train_db0c19bcafa20681 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.658)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.53).extrude(1.974, both=True))
result = result.union(cq.Workpla... | 8 | 10 | 1.949128 |
train_3e9fe2168bc027bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.111, -0.344, 0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.124, 0.247).lineTo(-0.124, 0.124).lineTo(0, 0.124).lineTo(0, 0).lineTo(0.124, 0).lineTo(0.124, -0.124).lineTo(0.247, -0.124).lineTo(0.247, 0).lineTo(0.371, 0).lineTo(0.371, -0.247... | 9 | 142 | 0.537053 |
train_c9f75eec2bb8f3a6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.377, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.285).extrude(0.329, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.377, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.257).extrude(0.622, both=True))
result = resul... | 7 | 67 | 0.308976 |
train_cfcdee8e99dba6e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.032, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.552, 0.552).threePointArc((0.552, -0.552), (-0.552, -0.552)).threePointArc((-0.552, 0.552), (0.552, 0.552)).close().extrude(0.801, taper=-13.163)
result = result.union(cq.Workplane(cq.... | 4 | 94 | 2.008037 |
train_3adad9e0db5bce3d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.237, -0.168, 0.117), normal=(-0.492, 0.818, 0.297), xDir=(-0.857, -0.516, 0))).moveTo(-0.074, 0.667).spline([(-0.074, 0.667), (0.49, 0.654), (0.774, 0.341)]).lineTo(0.754, -0.324).lineTo(0.585, -0.646).lineTo(0.058, -0.667).lineTo(-0.369, -0.529... | 6 | 54 | 1.965432 |
train_c5f20d3c35ea8115 | 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.723).threePointArc((0.954, 0.69), (1, 0.612)).lineTo(1, 0.233).threePointArc((0.964, 0.171), (0.878, 0.145)).lineTo(0.711, 0.145).threePointArc((0.633, 0.121), (0.6, 0.065)).lineTo(... | 16 | 26 | 1.119984 |
train_23b647f575ed9d17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.497, 0.431).threePointArc((0.611, 0.352), (0.659, 0.166)).lineTo(0.659, -0.109).threePointArc((0.6, -0.335), (0.462, -0.431)).lineTo(-0.328, -0.431).threePointArc((-0.375, -0.398), (-... | 10 | 77 | 1.042582 |
train_25e4a23259e809e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.519).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.519).lineTo(-0.676, 0.519).lineTo(-0.676, 0.325).lineTo(0.676, 0.325).lineTo(0.676, 0.519).lineTo(1, 0.519).close().extrude(0.207, both=Tru... | 7 | 84 | 0.39667 |
train_fe5df1423c32e55c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.036, -0.671), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.784, 0.321).threePointArc((0.931, 0.258), (1, 0.108)).lineTo(1, -0.039).threePointArc((0.91, -0.239), (0.716, -0.321)).lineTo(-0.735, -0.321).threePointArc((-0.916, -0.243), (-1, -0.0... | 13 | 64 | 0.830337 |
train_cbd4988a7db7483f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.399).lineTo(0.867, 0.133).lineTo(1, 0).lineTo(0.867, -0.133).lineTo(0.734, -0.399).lineTo(0.468, -0.399).lineTo(0.202, -0.399).lineTo(0.069, -0.133).lineTo(-0.064, 0).lineTo(0.069, ... | 2 | 70 | 1.1228 |
train_ae79510783ab2a8a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.719, -0.769, -0.373), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.627, 1.271).lineTo(0.627, 0.047).lineTo(0.193, 0.047).lineTo(0.193, 0.533).lineTo(-0.193, 0.533).lineTo(-0.193, 0.047).lineTo(-0.627, 0.047).lineTo(-0.627, 1.271).lineTo(-0.193, ... | 14 | 46 | 0.563138 |
train_b9fc7a75d303bf3f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.09, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.852, 0.784).lineTo(0.852, 0.727).lineTo(0.91, 0.727).lineTo(0.91, -0.665).threePointArc((0.874, -0.749), (0.791, -0.784)).lineTo(-0.91, -0.784).lineTo(-0.91, 0.657).lineTo(-0.783, 0.784... | 19 | 87 | 2.094601 |
train_123b483e55b4b1a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.031, -0.532), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.063).lineTo(1, -0.04).threePointArc((0.838, -0.06), (0.48, -0.068)).lineTo(-0.443, -0.068).threePointArc((-0.829, -0.059), (-1, -0.038)).lineTo(-1, 0.065).threePointArc((-0.975, 0.... | 17 | 287 | 0.354336 |
train_669f1247150dc3e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.005, 0), normal=(-0.177, -0.947, -0.267), xDir=(0.983, -0.184, 0))).moveTo(0.311, 0.447).threePointArc((0.356, 0.394), (0.376, 0.268)).lineTo(0.376, -0.258).threePointArc((0.355, -0.391), (0.307, -0.447)).lineTo(-0.362, -0.447).threePoin... | 3 | 27 | 0.794247 |
train_eb056e5d2fe2ef01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, 0.252, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.354, 0.614).threePointArc((0.354, 0.614), (0.709, 0)).threePointArc((0.354, -0.614), (-0.354, -0.614)).threePointArc((-0.709, 0), (-0.354, 0.614)).close().sweep(cq.Workplane(cq.Pl... | 1 | 5 | 2.059447 |
train_cdc05c78cb43a540 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.017, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.489, -0.163).threePointArc((0, 0.978), (0.489, -0.163)).lineTo(0.489, -0.815).threePointArc((0.489, -0.978), (0.326, -0.815)).lineTo(0.326, 0).threePointArc((0.489, 0.326), (0.163, 0.... | 1 | 12 | 0.15526 |
train_d5491dfab9d54eaf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.932, -0.098, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.978, 0.484).lineTo(0.978, -0.072).lineTo(1, -0.151).lineTo(0.971, -0.23).threePointArc((0.975, -0.269), (0.978, -0.309)).lineTo(-1, -0.309).lineTo(-1, -0.072).lineTo(-1, 0.484).threeP... | 15 | 956 | 2.140137 |
train_c939a89199ddc9b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.955, 0.145, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.401, 1.145).lineTo(0.401, 0.584).lineTo(0.922, 0.584).lineTo(0.922, -0.293).lineTo(0.401, -0.293).lineTo(0.401, -0.855).lineTo(-0.401, -0.855).lineTo(-0.401, -0.293).lineTo(-0.922, -0.... | 5 | 44 | 4.518023 |
train_956e4e3401f3d69d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.816, 0.586, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.177).threePointArc((0.159, 0.092), (0.177, -0.048)).threePointArc((0.092, -0.159), (-0.048, -0.177)).threePointArc((-0.159, -0.092), (-0.177, 0.048)).threePointArc((-0.092,... | 2 | 14 | 0.095573 |
train_e92e12adeeedd728 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.209, 1).threePointArc((0.765, 0.765), (1, 0.209)).lineTo(1, -0.686).threePointArc((0.907, -0.907), (0.686, -1)).lineTo(-0.209, -1).threePointArc((-0.765, -0.765), (-1, -0.209)).lineTo(-1, ... | 4 | 43 | 2.729229 |
train_874373280f3debd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.135, 0.187, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.349, 0.237).threePointArc((0.437, 0.2), (0.475, 0.111)).lineTo(0.475, -0.156).threePointArc((0.451, -0.213), (0.394, -0.237)).lineTo(-0.439, -0.237).threePointArc((-0.464, -0.227)... | 5 | 105 | 0.760311 |
train_c7cdee5b8fe39606 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.033, -0.999, -0.289), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.059, 0.191).lineTo(0.116, 0.09).lineTo(0.057, -0.01).lineTo(-0.059, -0.008).lineTo(-0.116, 0.093).lineTo(-0.057, 0.193).lineTo(0.059, 0.191).close().extrude(0.905)
result = result... | 8 | 126 | 0.137439 |
train_532d57227cb497b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.64), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(0.5, 0).lineTo(0.5, -0.5).lineTo(-1, -0.5).lineTo(-1, 0.5).lineTo(-0.5, 0.5).lineTo(-0.5, 0).lineTo(0, 0).lineTo(0, 0.5).lineTo(1, 0.5).close().extrude(0.111, both... | 9 | 45 | 0.845305 |
train_6551f971f9f6faab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, -1, -0.013), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.309, 0.565).lineTo(1.628, 0.476).lineTo(1.707, 0.498).threePointArc((1.901, 0.297), (1.813, 0.291)).lineTo(1.748, 0.24).lineTo(1.632, -0.071).lineTo(1.547, -0.083).lineTo(1.286, -0.017)... | 4 | 45 | 1.49181 |
train_87ad118752b47146 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.089), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.518).lineTo(1, 0.66).lineTo(0.127, 0.66).lineTo(0.127, 0).lineTo(0, 0).lineTo(0, 1.518).lineTo(1, 1.518).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
resul... | 4 | 24 | 2.422867 |
train_8d40fdea180668bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.997, 0.634).lineTo(0.997, 0).lineTo(-0.997, 0).lineTo(-0.997, 0.634).lineTo(-0.838, 0.634).lineTo(-0.838, 0.159).lineTo(0.838, 0.159).lineTo(0.838, 0.634).lineTo(0.997, 0.634).close().extr... | 4 | 24 | 0.559196 |
train_f3fdc2068650e959 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.71, -0.612, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.421).threePointArc((1.004, 1.004), (1.421, 0)).lineTo(1.059, 0).threePointArc((0.749, 0.749), (0, 1.059)).lineTo(0, 1.421).close().extrude(2)
result = result.union(cq.Workplane(cq.... | 4 | 20 | 1.569528 |
train_b7f1e49b25be3025 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.383, 0, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.38, 0.542).threePointArc((0.548, 0.472), (0.617, 0.305)).lineTo(0.617, -0.542).lineTo(-0.354, -0.542).lineTo(-0.617, -0.279).lineTo(-0.617, 0.281).threePointArc((-0.54, 0.466), (-0.35... | 4 | 55 | 0.323374 |
train_33c2416428b8146e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.376, 0.134).lineTo(0.376, -0.111).threePointArc((0.368, -0.127), (0.352, -0.134)).lineTo(-0.351, -0.134).lineTo(-0.376, -0.111).lineTo(-0.376, 0.134).lineTo(0.376, 0.134).close().extrude(0... | 10 | 54 | 0.330671 |
train_e18d3b18ffdffcd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.155, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.381).threePointArc((0.128, 0.328), (0.181, 0.2)).threePointArc((0.128, 0.072), (0, 0.019)).threePointArc((-0.128, 0.072), (-0.181, 0.2)).threePointArc((-0.128, 0.328), (0, 0.381)).clos... | 17 | 20 | 0.197187 |
train_260f83d9abb48070 | 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(1, 0.885).lineTo(1, -0.885).lineTo(-1, -0.885).lineTo(-1, 0.885).lineTo(-0.701, 0.885).lineTo(-0.701, -0.594).lineTo(0.701, -0.594).lineTo(0.701, 0.885).lineTo(1, 0.885).close().extrude(0.41... | 6 | 36 | 0.549654 |
train_5839ac34bed51169 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.024, -0.596), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.704, 0.704).lineTo(1, 0).lineTo(0.704, -0.704).lineTo(0, -1).lineTo(-0.704, -0.704).lineTo(-1, 0).lineTo(-0.704, 0.704).lineTo(0, 1).close().extrude(1.191)
result = result... | 7 | 147 | 2.589911 |
train_0e6a7ab62915bd47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0.184, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.782, 0.086).lineTo(-0.751, 0.125).threePointArc((-0.729, 0.136), (-0.691, 0.135)).lineTo(0.54, -0.034).threePointArc((0.991, -0.135), (0.496, -0.09)).lineTo(-0.617, 0.071).threeP... | 1 | 13 | 0.142767 |
train_ed72ef3fdfc9c928 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.691).lineTo(1, -0.691).lineTo(-1, -0.691).lineTo(-1, 0.691).lineTo(1, 0.691).close().extrude(0.126)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.143), normal=(0, 0, 1), ... | 8 | 35 | 0.878354 |
train_322ea1f9d3628312 | 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.05, 0.091).lineTo(0.105, 0).lineTo(0.055, -0.09).lineTo(-0.052, -0.091).lineTo(-0.105, -0.003).lineTo(-0.053, 0.09).lineTo(0.05, 0.091).close().extrude(2, taper=-6.378)
result = result.faces('... | 2 | 26 | 0.296344 |
train_9514e0d69cf3cbd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.345, 0.146).lineTo(-0.51, 0.762).lineTo(-0.082, 0.491).lineTo(0.216, 1).lineTo(0.263, 0.345).lineTo(0.726, 0.238).lineTo(0.345, -0.146).lineTo(0.51, -0.762).lineTo(0.082, -0.491).lineTo(-... | 8 | 125 | 0.605042 |
train_4652bc5f4d341d9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.435), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.869).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.869).lineTo(-0.721, 0.869).lineTo(-0.721, 0.275).lineTo(0.721, 0.275).lineTo(0.721, 0.869).lineTo(1, 0.869).close().extrude(0.48, both=True... | 10 | 103 | 0.762505 |
train_f0725163f24262f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.051, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.001).extrude(0.501)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, -0.051, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.077, 0.384), (-0.293, 0.708), (-... | 12 | 92 | 0.458887 |
train_8f77226f5d6750f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.689, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.219, 2).lineTo(0.219, 0.219).lineTo(1.377, 0.219).lineTo(1.377, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.219, 2).close().extrude(0.667, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 13 | 207 | 0.475827 |
train_4a24bdc64ede1987 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.086), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.814, 0.205).lineTo(0.814, 0).lineTo(-0.814, 0).lineTo(-0.814, 0.205).lineTo(-0.763, 0.205).lineTo(-0.763, 0.052).lineTo(0.763, 0.052).lineTo(0.763, 0.205).lineTo(0.814, 0.205).close().ext... | 11 | 79 | 0.392171 |
train_e0facd8d2b09698d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.137, 0.154, -0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.269, 0.758).lineTo(0.269, 0.506).lineTo(0.807, 0.506).lineTo(0.807, -0.758).lineTo(-0.269, -0.758).lineTo(-0.269, -0.253).lineTo(-0.807, -0.253).lineTo(-0.807, 0).lineTo(-0.269, 0)... | 12 | 323 | 1.296869 |
train_58ea5420191ff341 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.045, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.349, 0.847).threePointArc((-0.244, 0.8), (-0.2, 0.689)).lineTo(-0.2, 0.559).threePointArc((-0.162, 0.464), (-0.071, 0.423)).lineTo(0.902, 0.423).threePointArc((0.971, 0.392), (1, 0.31... | 3 | 45 | 0.229023 |
train_2c4f7d6323fa70f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.29, -0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.646, -0.096).lineTo(0.7, -0.12).lineTo(0.693, -0.152).lineTo(0.636, -0.145).lineTo(0.608, -0.237).lineTo(0.656, -0.272).lineTo(0.642, -0.303).lineTo(0.588, -0.283).lineTo(0.54, -0.366)... | 3 | 135 | 0.431717 |
train_d9b942d218148b15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.055, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.865, 0.212).threePointArc((0.96, 0.173), (0.999, 0.078)).lineTo(0.999, -0.153).threePointArc((0.981, -0.194), (0.94, -0.212)).lineTo(-0.847, -0.212).threePointArc((-0.955, -0.168), (-0... | 12 | 57 | 0.202617 |
train_ae1972d218c9212a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.231, -0.983), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.34, 0.546).lineTo(0.699, 0.231).lineTo(1, 0.334).lineTo(0.768, -0.025).lineTo(0.999, -0.375).lineTo(0.627, -0.269).lineTo(0.359, -0.546).lineTo(0.383, -0.128).lineTo(-0.069, 0.025).lin... | 9 | 144 | 2.042332 |
train_1277be9e3ba9855e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.16, 0, -0.185), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.69, 0.292).lineTo(0.831, 0.126).lineTo(0.604, -0.076).lineTo(0.698, -0.181).lineTo(0.571, -0.292).lineTo(0.241, 0.085).lineTo(0.367, 0.195).lineTo(0.46, 0.09).lineTo(0.69, 0.292).close... | 4 | 54 | 0.694637 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.