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_554e03a82f1619cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.211, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1, 0.249).workplane(offset=2).rect(0.408, 0.116).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.079, -0.124, -0.749), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(-0.03, -0.281), (... | 8 | 56 | 0.249449 |
train_a5a9db3bc72ded4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, -1, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.477, 0.767).threePointArc((0.939, 0.852), (1.433, 0.71)).threePointArc((1.824, 0.377), (2.009, -0.056)).threePointArc((1.937, -0.475), (1.628, -0.767)).threePointArc((1.164, -0.852), (0.671,... | 5 | 28 | 3.716398 |
train_408098ed94ec9d95 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.697), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.66, 0.708).lineTo(0.66, 0.37).lineTo(1, 0.37).lineTo(1, -0.382).threePointArc((0.903, -0.613), (0.672, -0.708)).lineTo(-0.721, -0.708).threePointArc((-0.918, -0.626), (-1, -0.429)).lineTo(... | 4 | 21 | 1.11106 |
train_677d2e72d8237b41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.032, -0.335, -0.107), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.888, 0.149).threePointArc((1.031, 0.022), (0.905, -0.12)).lineTo(0.454, -0.149).threePointArc((0.311, -0.022), (0.437, 0.12)).lineTo(0.888, 0.149).close().revolve(angleDegrees=18... | 7 | 42 | 0.395738 |
train_325518af48e36121 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.213, 0.034, -0.896), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.666, 0.209).threePointArc((0.751, 0.173), (0.787, 0.088)).lineTo(0.787, -0.137).threePointArc((0.765, -0.188), (0.714, -0.209)).lineTo(-0.015, -0.209).threePointArc((-0.04, -0.199)... | 14 | 643 | 1.418878 |
train_e14c4ae02e04b275 | 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.989, 1).lineTo(0.989, -0.498).lineTo(0.331, -0.498).lineTo(0.331, -1).lineTo(-0.331, -1).lineTo(-0.331, 0).lineTo(-0.989, 0).lineTo(-0.989, 1).lineTo(0.989, 1).close().extrude(0.427)
resul... | 3 | 16 | 1.185956 |
train_274cf9bf0bced1b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.213, -0.138, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.787, 0.175).lineTo(0.787, -0.087).lineTo(0.699, -0.175).lineTo(-0.35, -0.087).threePointArc((-0.787, 0.087), (-0.35, 0.175)).lineTo(0.524, 0.087).threePointArc((0.612, 0.175), (0.... | 2 | 38 | 0.325844 |
train_ebc3701c8bddea9e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.515, 0.785), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.307).threePointArc((0.596, 1.06), (0.842, 0.465)).threePointArc((0.596, -0.13), (0, -0.377)).threePointArc((-0.596, -0.13), (-0.842, 0.465)).threePointArc((-0.596, 1.06), (0, 1.307)... | 17 | 725 | 3.376515 |
train_50f19439933f2904 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.325, 0.223, 0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.49).threePointArc((0.408, 0.408), (0.49, 0)).threePointArc((0.408, -0.408), (0, -0.49)).threePointArc((-0.408, -0.408), (-0.49, 0)).threePointArc((-0.408, 0.408), (0, 0.49)).clo... | 2 | 14 | 0.47483 |
train_d454d84261dc0a47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.022, 0.097).lineTo(0.062, 0.078).lineTo(0.09, 0.043).lineTo(0.1, 0).lineTo(0.09, -0.043).lineTo(0.062, -0.078).lineTo(0.022, -0.097).lineTo(-0.022, -0.097).lineTo(-0.062, -0.078).lineTo(-0.... | 6 | 48 | 0.055218 |
train_7db17e27a58fb1b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.232, -0.096, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.201, 0.344).lineTo(0.022, 0.306).lineTo(-0.022, 0.114).lineTo(0.156, 0.077).lineTo(0.111, -0.114).lineTo(0.335, -0.153).lineTo(0.291, -0.344).lineTo(-0.335, -0.268).lineTo(-0.201... | 8 | 187 | 0.552131 |
train_ce53392be9280364 | 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.764, 0.472).threePointArc((0.93, 0.403), (1, 0.237)).lineTo(1, -0.209).threePointArc((0.922, -0.395), (0.737, -0.472)).lineTo(-0.779, -0.472).threePointArc((-0.934, -0.407), (-1, -0.251)).... | 10 | 108 | 0.396571 |
train_a60ae65d6e35c4bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.04, -0.286, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.011, 0.233).threePointArc((0.101, 0.255), (0.208, 0.194)).threePointArc((0.276, 0.038), (0.243, -0.071)).threePointArc((0.223, -0.091), (0.23, -0.113)).lineTo(0.228, -0.121).threeP... | 8 | 55 | 0.587397 |
train_33d727b19894cb90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.098, 0.793, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.715, 1.388).lineTo(0.584, 0.654).threePointArc((0.36, 0.533), (0.108, 0.1)).lineTo(-0.341, 0.719).threePointArc((-0.644, 0.778), (-0.916, 0.977)).lineTo(-0.723, 1.954).lineTo(0.081, 2.... | 4 | 10 | 2.437501 |
train_16088126c247f7b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.012, 0.441, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.223, 0.193).lineTo(0.275, 0.136).lineTo(0.326, 0.182).lineTo(0.369, 0.135).threePointArc((0.364, 0.098), (0.385, 0.117)).lineTo(0.396, 0.105).lineTo(0.368, 0.08).threePointArc((0.366, ... | 4 | 34 | 0.162022 |
train_564b6656b8447c5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0.16, -0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.16, 0.693).threePointArc((0.8, 0.693), (0.8, 0.139)).threePointArc((0.48, 0.139), (0.48, -0.139)).threePointArc((0.48, -0.416), (0.16, -0.416)).threePointArc((-0.16, -0.693), (-0.48,... | 22 | 135 | 0.965341 |
train_b3a2c386817a5037 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.626, -0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.155, 0.374).threePointArc((0.248, 0.336), (0.287, 0.243)).lineTo(0.287, -0.206).threePointArc((0.248, -0.299), (0.155, -0.337)).threePointArc((0.126, -0.352), (0.093, -0.353)).lineTo(0.... | 4 | 31 | 0.674101 |
train_631c7455000e2db9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.216).lineTo(1, -0.227).lineTo(-0.987, -0.227).lineTo(-1, -0.222).lineTo(-1, 0.227).lineTo(0.98, 0.227).threePointArc((0.988, 0.224), (1, 0.216)).close().extrude(0.097)
result = result.un... | 17 | 128 | 0.10027 |
train_142fd6b855be80ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.235), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.363).lineTo(0.943, 0.313).lineTo(1, 0.313).lineTo(1, -0.363).lineTo(-0.935, -0.363).threePointArc((-0.976, -0.345), (-1, -0.306)).lineTo(-1, 0.333).lineTo(-0.963, 0.363).lineTo(0.94... | 13 | 50 | 0.564364 |
train_c4261d29ddf4c08e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.121, 0.145).lineTo(-0.121, -0.079).lineTo(0.187, -0.079).lineTo(0.187, -0.145).lineTo(-0.187, -0.145).lineTo(-0.187, 0.145).lineTo(-0.121, 0.145).close().extrude(0.949, both=True)
resu... | 5 | 85 | 0.091857 |
train_0b70d9500608dfe1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.326), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.123, 1.099).lineTo(0.123, 0.406).lineTo(1, 0.406).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.099).lineTo(0.123, 1.099).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 12 | 82 | 0.413174 |
train_deb982c7f1922859 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.375, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.553, 0.119).threePointArc((0.603, 0.099), (0.624, 0.049)).lineTo(0.624, -0.037).threePointArc((0.6, -0.095), (0.541, -0.119)).lineTo(-0.581, -0.119).lineTo(-0.624, -0.076).lineTo(-0.62... | 9 | 92 | 0.094265 |
train_1a76c429c4e2ef50 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.84).lineTo(0.435, 0.719).lineTo(0.732, 0.413).lineTo(0.84, -0.021).lineTo(0.717, -0.439).lineTo(0.411, -0.733).lineTo(-0.019, -0.84).lineTo(-0.43, -0.722).lineTo(-0.737, -0.402).lineTo(-0.84, -0.002).lineTo(-0.736, 0.404).lineTo(-0.43, 0.721).lin... | 3 | 58 | 3.607928 |
train_3b8b4629feda3008 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.968), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.928, 1.936).lineTo(0.928, 0.233).lineTo(1.006, 0.233).lineTo(1.006, 0).lineTo(0.189, 0).lineTo(0.189, 1.936).lineTo(0.928, 1.936).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax... | 5 | 74 | 4.854355 |
train_623a30c55b53c468 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.315, 0.464), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.042, 0.221).lineTo(0.071, 0.211).threePointArc((0.085, 0.204), (0.1, 0.198)).lineTo(0.206, 0.09).lineTo(0.217, -0.061).lineTo(0.128, -0.184).lineTo(-0.019, -0.221).lineTo(-0.06, -0.21... | 9 | 655 | 0.386368 |
train_ccb424b70c03180d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.77), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.193)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.77), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.434), (-0.377, 0.781), (-0.778, 0.976), (-1... | 4 | 61 | 0.695136 |
train_a0041818b5fd332a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.037, -0.75, -0.296), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.31, 0.399).threePointArc((0.343, 0.276), (0.248, 0.193)).lineTo(-0.036, 0.076).lineTo(-0.343, 0.114).lineTo(-0.26, 0.395).threePointArc((-0.311, 0.546), (-0.214, 0.677)).lineTo(0.... | 3 | 27 | 0.542731 |
train_d10156d974821fff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.588, 1).threePointArc((0.669, 0.965), (0.703, 0.884)).lineTo(0.703, -0.902).threePointArc((0.675, -0.971), (0.606, -1)).lineTo(-0.489, -1).lineTo(-0.489, -0.786).lineTo(-0.703, -0.786).line... | 18 | 372 | 0.348251 |
train_513085b94ec3bc2f | 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.821).extrude(0.765)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.465), normal=(0.108, 0, 0.994), xDir=(0.994, 0, -0.108))).circle(0.451).extrude(1.424))
result = result.cut(cq.... | 5 | 10 | 2.182658 |
train_52063e0801ebaf87 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.062, 0, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.846, 0.297).threePointArc((0.911, 0.269), (0.937, 0.205)).lineTo(0.937, -0.297).lineTo(-0.834, -0.297).lineTo(-0.834, -0.193).lineTo(-0.937, -0.193).lineTo(-0.937, 0.147).threePointAr... | 11 | 41 | 0.224288 |
train_6c016b14b9f70326 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, 0.002, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.178, 0.13).lineTo(0.178, -0.155).lineTo(-0.178, -0.155).lineTo(-0.178, 0.13).threePointArc((-0.148, 0.107), (-0.119, 0.13)).threePointArc((-0.09, 0.155), (-0.06, 0... | 5 | 58 | 0.096108 |
train_504efbf29413c5ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.319, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.652, 1.362).extrude(0.166)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.319, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.264, 0.165).lineTo(0.264, -0.165).lineTo(-0... | 8 | 24 | 0.126144 |
train_2010d5ee42ad58a6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.543, -0.452, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.087).threePointArc((0.768, 0.768), (1.087, 0)).lineTo(0.402, 0).threePointArc((0.285, 0.285), (0, 0.402)).lineTo(0, 1.087).close().extrude(2)
result = result.union(cq.Workplane(cq... | 3 | 16 | 1.769422 |
train_b83a67b8e95cb907 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.131, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.685, 0.889).threePointArc((0.843, 0.702), (0.978, 0.497)).threePointArc((1.015, 0.417), (1.042, 0.333)).lineTo(1.162, -0.163).threePointArc((1.133, -0.348), (1.072, -0.529)).lineTo(0.897, -... | 5 | 66 | 1.223809 |
train_6fe916f5f0417df3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.016, -0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.331).lineTo(1, 0.26).threePointArc((0.964, 0.242), (0.897, 0.235)).lineTo(-0.376, 0.235).threePointArc((-0.509, 0.22), (-0.565, 0.185)).lineTo(-0.565, -0.188).threePointArc((-0.513,... | 29 | 470 | 0.733194 |
train_f1b56a6f20a2e58a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.939, 1).lineTo(0.939, -1).lineTo(-0.762, -1).threePointArc((-0.887, -0.948), (-0.939, -0.823)).lineTo(-0.939, 1).lineTo(0.939, 1).close().extrude(0.261)
result = result.cut(cq.Workplane(cq.... | 6 | 39 | 0.870694 |
train_d4ec2a3cbaebc11b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0).threePointArc((0, -0.926), (-1, 0)).threePointArc((0, 0.926), (1, 0)).close().extrude(0.167, taper=5.128, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.39, 0.39, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.248, 0.111).... | 5 | 67 | 0.541601 |
train_731f8063e5b27f6c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.566, -0.746, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.133).threePointArc((0.801, 0.801), (1.133, 0)).lineTo(0.737, 0).threePointArc((0.522, 0.522), (0, 0.737)).lineTo(0, 1.133).close().extrude(0.788)
result = result.union(cq.Work... | 8 | 54 | 0.862295 |
train_9175683c8314d9cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.651, -0.269).lineTo(-0.68, -0.183).lineTo(-0.975, -0.225).lineTo(-1, -0.035).lineTo(-0.704, 0.001).lineTo(-0.699, 0.091).lineTo(-0.987, 0.165).lineTo(-0.937, 0.35).lineTo(-0.651, 0.27).li... | 7 | 214 | 0.96731 |
train_89f4c2685c2b09d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.729), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.128, 0.554).lineTo(0.212, 0.222).threePointArc((0.265, 0.137), (0.365, 0.122)).lineTo(0.72, 0.18).threePointArc((0.813, 0.113), (0.759, 0.003)).lineTo(0.346, -0.067).threePointArc((0.... | 8 | 196 | 1.27815 |
train_6a9c7678293bafda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.229, 0, -0.714), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.964).threePointArc((0.71, 0.903), (0.771, 0.757)).lineTo(0.771, -0.852).threePointArc((0.738, -0.931), (0.659, -0.964)).lineTo(0.456, -0.964).threePointArc((0.406, -0.943), (0.3... | 14 | 108 | 1.371013 |
train_97855ab68da997ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.286), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.917, 0.235).lineTo(1, 0.159).lineTo(1, -0.235).lineTo(-0.861, -0.235).threePointArc((-0.954, -0.197), (-1, -0.104)).lineTo(-1, 0.047).threePointArc((-0.937, 0.18), (-0.807, 0.235)).lineTo(... | 8 | 81 | 0.162471 |
train_e35046bdc16ab5a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.222, 0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.483, 0.422).threePointArc((0.659, 0.383), (0.734, 0.274)).threePointArc((0.503, -0.04), (0.577, -0.148)).threePointArc((0.55, -0.325), (0.448, -0.393)).threePointArc((0.169, -0.422... | 9 | 209 | 1.045023 |
train_a5b875b4a7106a1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.024, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.968, 0.182).lineTo(0.968, -0.182).threePointArc((-0.968, -0.303), (0.968, 0.182)).close().moveTo(0.847, 0.303).lineTo(0.847, -0.061).threePointArc((-0.847, -0.061), (0.847, 0.303)).clo... | 3 | 6 | 0.272653 |
train_6f2c1e03964766c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.085, 0.109, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, 0.226).threePointArc((0.226, -0.392), (-0.392, -0.226)).threePointArc((-0.226, 0.392), (0.392, 0.226)).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.291,... | 7 | 71 | 0.971592 |
train_628850e28c734395 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.352, 0.112, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.647, 0.198).lineTo(0.647, -0.217).lineTo(-0.647, -0.217).lineTo(-0.647, 0.2).lineTo(-0.63, 0.217).lineTo(0.628, 0.217).lineTo(0.628, 0.198).lineTo(0.647, 0.198).close().extrude(0.3... | 13 | 75 | 0.174769 |
train_1ff45e4e015ab0a9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.075, -0.429), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.914).lineTo(1, -0.914).lineTo(-1, -0.914).lineTo(-1, 0.914).lineTo(-0.575, 0.914).lineTo(-0.575, -0.619).lineTo(0.575, -0.619).lineTo(0.575, 0.914).lineTo(1, 0.914).close().extrude... | 20 | 168 | 0.349784 |
train_4035222367cd0c1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.923, 0.463).lineTo(1, 0.394).lineTo(1, -0.463).lineTo(-0.959, -0.463).threePointArc((-0.981, -0.453), (-1, -0.429)).lineTo(-1, 0.437).lineTo(-0.966, 0.463).lineTo(0.923, 0.463).close().ext... | 8 | 36 | 0.726259 |
train_53d6d845f144a375 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.126, -0.492), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.862, 0.328).threePointArc((0.959, 0.289), (1, 0.192)).lineTo(1, -0.328).lineTo(-0.884, -0.328).lineTo(-1, -0.211).lineTo(-1, 0.328).lineTo(0.862, 0.328).close().extrude(0.984)
result ... | 7 | 40 | 1.165709 |
train_94c1248c2dc64a0b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.837, 0, -1.586), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.293).extrude(0.962)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.837, 0, -0.913), normal=(0.565, 0, 0.825), xDir=(0.825, 0, -0.565))).circle(0.438).extrude(2.018))
result = ... | 6 | 6 | 0.321366 |
train_1b92ab6a58af45f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.974, 0.581).lineTo(0.974, 0.427).lineTo(1.128, 0.427).lineTo(1.128, -0.35).threePointArc((1.06, -0.513), (0.899, -0.581)).lineTo(-0.965, -0.581).lineTo(-0.965, -0.416).lineTo(-1.128, ... | 7 | 28 | 0.870123 |
train_5b4b09b618315780 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.312, 0.264, 0.907), normal=(-0.302, -0.229, -0.926), xDir=(0, 0.971, -0.24))).moveTo(-0.053, 0.189).lineTo(-0.053, -0.05).lineTo(0.192, -0.05).lineTo(0.192, -0.189).lineTo(-0.192, -0.189).lineTo(-0.192, 0.189).lineTo(-0.053, 0.189).close().extru... | 4 | 32 | 0.167722 |
train_bb350362ca0cae78 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.177, 0.03, -0.659), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.443, 0.594).threePointArc((0.479, 0.576), (0.494, 0.533)).lineTo(0.494, 0.332).threePointArc((0.527, 0.238), (0.605, 0.198)).lineTo(0.726, 0.198).threePointArc((0.793, 0.163), (0.82... | 7 | 92 | 0.53257 |
train_88caa39cb17c2c53 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.928, 0.928).threePointArc((0.975, 0.909), (1, 0.865)).lineTo(1, -0.527).threePointArc((0.867, -0.809), (0.565, -0.928)).lineTo(-0.528, -0.928).threePointArc((-0.855, -0.798), (-1, -0.49)).lineTo(-1, 0.782).threePointArc((-0.948, 0.884), (-0.838, 0.9... | 7 | 46 | 1.042621 |
train_843bdea270997ffa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.342, -0.348, 0.569), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, 0.85).threePointArc((0.096, 0.921), (0.222, 0.81)).threePointArc((0.289, 0.548), (0.279, 0.204)).threePointArc((0.194, -0.13), (0.057, -0.364)).threePointArc((-0.096, -0.435... | 11 | 310 | 0.723049 |
train_11c4dbf6b2dcb094 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.476, 0.007), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.07, 0.242).lineTo(0.047, 0.223).lineTo(0.133, 0.148).lineTo(0.103, 0.043).lineTo(0.039, -0.034).lineTo(-0.067, -0.036).lineTo(-0.121, 0.049).lineTo(-0.133, 0.145).lineTo(-0.07, 0.242... | 7 | 51 | 0.142067 |
train_7c307b9c0ee49279 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.222).lineTo(0.812, 0).lineTo(1, -0.222).lineTo(0.445, -0.222).lineTo(0.445, 0.222).lineTo(1, 0.222).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 10 | 38 | 0.892267 |
train_da8699de85336440 | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.423, 1.521)
result = result.edges().fillet(0.093)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.328).extrude(4, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.61, -0.313, 0)... | 8 | 58 | 2.496722 |
train_f7deba2adc2503e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.636, 0.655).threePointArc((0.66, 0.646), (0.669, 0.626)).lineTo(0.669, -0.334).threePointArc((0.56, -0.56), (0.302, -0.655)).lineTo(-0.295, -0.655).threePointArc((-0.558, -0.558), (-0.669, ... | 6 | 50 | 1.656883 |
train_236272973e880d3d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.103, -0.344), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.642).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.642).lineTo(-0.688, 0.642).lineTo(-0.688, 0.313).lineTo(0.688, 0.313).lineTo(0.688, 0.642).lineTo(1, 0.642).close().extrude(0.467, bot... | 8 | 60 | 0.532618 |
train_dce3f2010a597151 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.456, 1).threePointArc((0.532, 0.967), (0.565, 0.891)).lineTo(0.565, -0.827).threePointArc((0.514, -0.947), (0.39, -1)).lineTo(-0.462, -1).threePointArc((-0.534, -0.968), (-0.565, -0.895)).... | 16 | 274 | 0.413417 |
train_31dc2b0d327cf10f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.043, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.337).lineTo(1, 0.257).lineTo(0.165, 0.257).lineTo(0.165, -0.257).lineTo(1, -0.257).lineTo(1, -0.337).lineTo(-1, -0.337).lineTo(-1, -0.257).lineTo(-0.165, -0.257).lineTo(-0.165, 0.25... | 5 | 57 | 0.26236 |
train_9173bd23d18370cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.157, -0.357, -0.393), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.245, 0.786).lineTo(0.245, 0.245).lineTo(0.314, 0.245).lineTo(0.314, 0).lineTo(0, 0).lineTo(0, 0.786).lineTo(0.245, 0.786).close().extrude(0.643, both=True)
result = result.cut(c... | 10 | 43 | 0.337374 |
train_76b9bb7ec074764a | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.538, 2, 1.843)
result = result.edges().fillet(0.339)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.356).extrude(3.078, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 5 | 32 | 3.558403 |
train_130c8c070512966e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.116, 0, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.81, 0.753).lineTo(0.81, 0.108).lineTo(-0.54, 0.108).lineTo(-0.54, -0.108).lineTo(0.81, -0.108).lineTo(0.81, -0.753).lineTo(-0.81, -0.753).lineTo(-0.81, -0.538).lineTo(0.54, -0.538).li... | 8 | 197 | 0.330925 |
train_bca08ef526a2a1b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.201, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.686, 0.79).lineTo(0.686, -0.791).threePointArc((0.683, -0.796), (0.679, -0.798)).lineTo(-0.686, -0.798).lineTo(-0.686, 0.792).threePointArc((-0.684, 0.796), (-0.68, 0.798)).lineTo(0.67... | 14 | 91 | 0.415097 |
train_9d20ed79a0d7d3ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.134, -0.254), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.636).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.636).lineTo(-0.701, 0.636).lineTo(-0.701, 0.295).lineTo(0.701, 0.295).lineTo(0.701, 0.636).lineTo(1, 0.636).close().extrude(0.281, both... | 11 | 84 | 0.50372 |
train_b5e90f7bd535f4b7 | 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.608, 1).lineTo(0.608, 0.869).lineTo(0.738, 0.869).lineTo(0.738, -1).lineTo(-0.738, -1).lineTo(-0.738, 0.754).lineTo(-0.492, 1).lineTo(0.608, 1).close().extrude(0.182)
result = result.cut(c... | 11 | 160 | 0.369198 |
train_2f6fef9fd5228695 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.081, 0.68, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.115, 0.298).threePointArc((0.292, 0.13), (0.298, -0.115)).threePointArc((0.13, -0.292), (-0.115, -0.298)).threePointArc((-0.292, -0.13), (-0.298, 0.115)).threePointArc((-0.13, 0.292... | 3 | 14 | 0.372435 |
train_2a966bc936a47917 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0.223, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.447).lineTo(0.102, -0.277).threePointArc((0, -0.379), (-0.102, -0.277)).lineTo(-0.102, 0.447).threePointArc((0, 0.549), (0.102, 0.447)).close().extrude(1.221)
result = resul... | 12 | 169 | 0.149018 |
train_4968007136fd6d5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.404, 0, 0.951), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.127, 0.695).threePointArc((0.458, 0.557), (0.596, 0.226)).lineTo(0.596, -0.226).threePointArc((0.458, -0.557), (0.127, -0.695)).lineTo(-0.127, -0.695).threePointArc((-0.458, -0.557), ... | 13 | 354 | 1.33103 |
train_befdb3721ac31407 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.501, 0.866).lineTo(0.866, 0.501).lineTo(1, 0).lineTo(0.866, -0.501).lineTo(0.501, -0.866).lineTo(0, -1).lineTo(-0.501, -0.866).lineTo(-0.866, -0.501).lineTo(-1, 0).lineTo(-0.8... | 3 | 17 | 1.835986 |
train_47063f8a55917077 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.126, 0.32, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.653, 0.576).threePointArc((-0.576, -0.576), (-0.653, 0.499)).lineTo(0.653, 0.576).close().extrude(0.548)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.368, 0.11, 0.206), norma... | 8 | 71 | 0.784998 |
train_f97d877b8a73072a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.711, 0.936).lineTo(-0.711, -0.583).threePointArc((-0.658, -0.69), (-0.532, -0.735)).lineTo(0.959, -0.735).threePointArc((0.982, -0.744), (1, -0.763)).lineTo(1, -0.948).threePointArc((0.98... | 3 | 22 | 0.353873 |
train_63247f1fe3ba6c1e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.266, 0.282, -0.212), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.255, 0.425).lineTo(0.255, 0.255).lineTo(0.53, 0.255).lineTo(0.53, 0).lineTo(0, 0).lineTo(0, 0.425).lineTo(0.255, 0.425).close().extrude(0.717, both=True)
result = result.cut(cq.W... | 5 | 30 | 0.238494 |
train_0cbbb64ee5f9b590 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.285, 0.173).workplane(offset=2).rect(0.359, 0.166).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.656, -0.072, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).spline([(-3.338, 0.702), (... | 5 | 26 | 0.233381 |
train_b8351b213a9711fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.087, 0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.493, 0.854).threePointArc((0.544, 0.841), (0.593, 0.816)).lineTo(0.735, 0.713).threePointArc((1.047, 0.561), (0.961, -0.127)).threePointArc((0.872, -0.465), (0.405, -0.872)).lineTo(0.2... | 4 | 32 | 1.258264 |
train_a5300127865370aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.796, -0.935, -0.009), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.187, 1.82).threePointArc((0.366, 1.688), (0.526, 1.579)).threePointArc((0.755, 1.53), (0.974, 1.401)).threePointArc((0.983, 1.154), (0.782, 0.931)).threePointArc((0.627, 0.797), ... | 8 | 29 | 1.347091 |
train_72abb79896319116 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.192, 0, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.281, 1).threePointArc((0.365, 0.965), (0.4, 0.881)).lineTo(0.4, 0.744).threePointArc((0.443, 0.643), (0.544, 0.6)).lineTo(0.683, 0.6).threePointArc((0.765, 0.565), (0.8, 0.483)).lineT... | 7 | 191 | 1.331861 |
train_740135622e63a15d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, -0.149, 0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.105, 0.62).lineTo(0.332, 0.457).lineTo(0.401, 0.187).lineTo(0.28, -0.065).lineTo(0.025, -0.18).lineTo(-0.243, -0.104).lineTo(-0.401, 0.126).lineTo(-0.373, 0.404).lineTo(-0.173, 0.... | 7 | 208 | 0.33808 |
train_927b7e7acd67141a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.562), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.711).lineTo(1, -0.711).lineTo(-1, -0.711).lineTo(-1, 0.711).lineTo(1, 0.711).close().extrude(0.279)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.283), normal=(0, 0, 1), ... | 14 | 21 | 2.420924 |
train_da6fe3b97dba276f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.069, 0.367).workplane(offset=2).rect(0.56, 0.515).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.229, -0.299), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.098, -0.154).threePoin... | 8 | 35 | 0.666075 |
train_f4c2faa30e33bdfc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.367).lineTo(1, -0.367).lineTo(-1, -0.367).lineTo(-1, 0.367).lineTo(-0.698, 0.367).lineTo(-0.698, -0.273).lineTo(0.698, -0.273).lineTo(0.698, 0.367).lineTo(1, 0.367).close().extrude(0.53... | 6 | 44 | 0.298915 |
train_618b5279e574501f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.658, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.034, 0.337).threePointArc((0.121, 0.302), (0.158, 0.214)).lineTo(0.158, 0.125).threePointArc((0.121, 0.038), (0.034, 0.002)).lineTo(-0.034, 0.002).threePointArc((-0.121, 0.038), (-0.158, 0... | 8 | 371 | 0.321266 |
train_d527bf7b80b43b6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.157, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.354, 1.685, 1.556)
result = result.edges().fillet(0.263)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.157, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.087).extrude(2.708, both=... | 13 | 86 | 2.603335 |
train_bda0ca2c4a7de283 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.214, -0.007, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.579, 0.589).threePointArc((0.724, 0.528), (0.786, 0.383)).lineTo(0.786, -0.11).threePointArc((0.76, -0.171), (0.699, -0.197)).lineTo(0.539, -0.197).threePointArc((0.437, -0.24), ... | 8 | 30 | 0.423278 |
train_b982e8ab56364867 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.872, 0.841).lineTo(0.872, 0.719).lineTo(1, 0.719).lineTo(1, -0.717).threePointArc((0.96, -0.807), (0.87, -0.841)).lineTo(-1, -0.841).lineTo(-1, 0.696).threePointArc((-0.954, 0.801), (-0.84... | 15 | 164 | 1.335685 |
train_8ecae0af2ad70c0c | 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.418, 0.248).workplane(offset=2).rect(0.517, 0.208).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.085).extrude(0.744, both=Tr... | 10 | 66 | 0.161225 |
train_e9b669cf88764ef1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.075, 0.348, 0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.279, 0.557).threePointArc((0.372, 0.557), (0.649, 0)).threePointArc((0.279, -0.557), (-0.372, -0.557)).threePointArc((-0.649, 0), (-0.279, 0.557)).close().sweep(cq.Workplane(cq.Pl... | 4 | 62 | 0.158526 |
train_f9804fc0d4ff18a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.272).lineTo(1, -0.273).lineTo(0.969, -0.296).lineTo(-0.949, -0.296).lineTo(-1, -0.254).lineTo(-1, 0.24).threePointArc((-0.975, 0.279), (-0.936, 0.296)).lineTo(0.968, 0.296).lineTo(1, 0.... | 10 | 77 | 0.149764 |
train_e3355edba7cc62fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.038, 0.727, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.165, 0.466).threePointArc((0.171, 0.443), (0.183, 0.415)).lineTo(0.129, 0.343).threePointArc((0.111, 0.258), (0.05, 0.196)).lineTo(-0.055, 0.319).threePointArc((-0.143, 0.312), (-0.20... | 9 | 32 | 0.905047 |
train_d16f19ce4fd22a10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.358, 0, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.478, 0.224).threePointArc((0.594, 0.176), (0.642, 0.06)).lineTo(0.642, -0.156).threePointArc((0.622, -0.204), (0.574, -0.224)).lineTo(-0.461, -0.224).lineTo(-0.642, -0.042).lineTo(-0.6... | 9 | 98 | 0.460854 |
train_69e38bd9f8180571 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.206, 0.139, -0.731), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.451).threePointArc((0.173, 0.379), (0.245, 0.205)).threePointArc((0.173, 0.032), (0, -0.04)).threePointArc((-0.173, 0.032), (-0.245, 0.205)).threePointArc((-0.173, 0.379), (0, ... | 6 | 114 | 0.117661 |
train_e1b58b7401d96e83 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.978, 0.063).lineTo(0.978, 0.044).lineTo(-0.611, 0.044).lineTo(-0.611, -0.044).lineTo(0.978, -0.044).lineTo(0.978, -0.063).lineTo(-0.978, -0.063).lineTo(-0.978, 0.063).lineTo(0.978, 0.063).close().extrude(0.189, taper=-6.638, both=True)
result = resu... | 4 | 75 | 0.069774 |
train_df235d97a4595c7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.35)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.234, 0.643), (-0.827, 0.985), (-1.501, 0.... | 7 | 83 | 0.868771 |
train_06e8436bfcfe26c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.57).lineTo(1, -0.57).lineTo(-1, -0.57).lineTo(-1, 0.406).threePointArc((-0.944, 0.523), (-0.829, 0.57)).lineTo(1, 0.57).close().extrude(0.194)
result = result.cut(cq.Workplane(cq.Plane(... | 21 | 86 | 0.333975 |
train_0d3c5c21cc55dc2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.31, 0.951).lineTo(0.81, 0.588).lineTo(1, 0).lineTo(0.81, -0.588).lineTo(0.31, -0.951).lineTo(-0.31, -0.951).lineTo(-0.81, -0.588).lineTo(-1, 0).lineTo(-0.81, 0.588).lineTo(-0.31, 0.951).li... | 3 | 14 | 1.051326 |
train_c3e8b2172c5ce9f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.721, -0.44, -0.924), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.44).threePointArc((1.018, 1.018), (1.44, 0)).lineTo(0.799, 0).threePointArc((0.565, 0.565), (0, 0.799)).lineTo(0, 1.44).close().extrude(1.848)
result = result.union(cq.Workplan... | 3 | 13 | 2.753656 |
train_58d36519d5cab81f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.778, -0.074).lineTo(0.992, -0.115).lineTo(0.98, -0.193).lineTo(0.764, -0.163).lineTo(0.745, -0.233).lineTo(0.948, -0.319).lineTo(0.919, -0.394).lineTo(0.713, -0.317).lineTo(0.679, -0.383).... | 6 | 186 | 0.455906 |
train_e529e156491fe02a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.378, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.576, 0.622).lineTo(0.615, 0.583).lineTo(0.615, -0.522).lineTo(0.514, -0.622).lineTo(-0.542, -0.622).lineTo(-0.615, -0.549).lineTo(-0.615, 0.543).lineTo(-0.537, 0.622).lineTo(0.576, 0.... | 12 | 311 | 0.38531 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.