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_5e0f21b1be0c8035 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.011, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.335, 1).threePointArc((0.443, 0.954), (0.489, 0.866)).lineTo(0.489, 0.27).threePointArc((0.515, 0.22), (0.574, 0.199)).lineTo(0.818, 0.199).threePointArc((0.928, 0.161), (0.974, 0.073... | 8 | 86 | 0.81017 |
train_6f538455f13b46c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.582, 0.378, 0.284), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.327, 1.298).lineTo(0.327, 0.825).lineTo(0.712, 0.825).lineTo(0.712, 0.385).lineTo(0.327, 0.385).lineTo(0.327, -0.092).lineTo(-0.327, -0.092).lineTo(-0.327, 0.385).lineTo(-0.712, 0.... | 16 | 60 | 1.860414 |
train_4bae6d386011a692 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.055, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.951, 0.503).lineTo(0.951, 0.454).lineTo(1, 0.454).lineTo(1, -0.472).lineTo(0.969, -0.472).lineTo(0.969, -0.503).lineTo(-0.963, -0.503).lineTo(-0.963, -0.467).lineTo(-1, -0.467).lineTo(-... | 16 | 126 | 0.529654 |
train_a2683ae2e53564ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.257, 0.704).threePointArc((0.365, 0.665), (0.411, 0.573)).lineTo(0.411, 0.445).threePointArc((0.379, 0.38), (0.302, 0.352)).lineTo(0.073, 0.352).threePointArc((0.022, 0.333), (0, 0.289)).l... | 14 | 233 | 0.517465 |
train_c98394fb831cc567 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.998), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.001).extrude(1.995)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.998), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.501), (-0.5, 0.867), (-1.001, 1.0... | 5 | 52 | 1.358353 |
train_789beb734216e83f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.259, 1.503).threePointArc((-0.077, 1.413), (0, 1.199)).lineTo(0, 0.738).threePointArc((0.06, 0.572), (0.2, 0.503)).lineTo(0.643, 0.503).threePointArc((0.791, 0.428), (0.85, 0.254)).lineTo(0.85... | 7 | 89 | 0.415914 |
train_d229a9a6a32a9c73 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.174, 2).extrude(0.245)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.437, 0.184).lineTo(0.437, -0.184).lineTo(-0.437, -0.184).... | 8 | 126 | 0.275486 |
train_5fd489f4f1fa6e16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.57, 2).extrude(0.562)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.175, -0.443).lineTo(0.175, -0.89).lineTo(-0.175, -0.89).cl... | 7 | 18 | 0.377102 |
train_337958d72a3ae02c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.385, 0.399, -0.101), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.308, 0.474).lineTo(0.308, -0.069).threePointArc((0, -0.377), (-0.308, -0.069)).lineTo(-0.308, 0.474).threePointArc((0, 0.782), (0.308, 0.474)).close().extrude(0.798)
result = resu... | 27 | 80 | 0.319619 |
train_15f0034ed5b10243 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.167, 0.033).lineTo(0.167, -0.033).lineTo(-0.167, -0.033).lineTo(-0.167, 0.033).lineTo(0.167, 0.033).close().extrude(0.85, taper=-7.069, both=True)
result = result.union(cq.Workplane(cq.Plan... | 7 | 276 | 0.136594 |
train_96b4bfd73e8ff3c8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.02, 0.113).lineTo(0.057, 0.1).lineTo(0.089, 0.074).lineTo(0.108, 0.039).lineTo(0.115, 0).lineTo(0.108, -0.039).lineTo(0.089, -0.074).lineTo(0.057, -0.1).lineTo(0.02, -0.113).lineTo(-0.02, -0.113).lineTo(-0.057, -0.1).lineTo(-0.089, -0.074).lineTo(-0... | 6 | 51 | 0.04366 |
train_e5d9edb0e7af06d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.631), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.003).extrude(0.736)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.631), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.501), (-0.502, 0.869), (-1.003, 1... | 13 | 94 | 1.706654 |
train_6508962b0bcf7e1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.091, 0, -0.41), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.909, 0.806).lineTo(0.909, -0.806).lineTo(-0.909, -0.806).lineTo(-0.909, 0.806).lineTo(-0.635, 0.806).lineTo(-0.635, -0.567).lineTo(0.635, -0.567).lineTo(0.635, 0.806).lineTo(0.909, 0.80... | 12 | 190 | 1.492357 |
train_14749a97486074d1 | 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.367).extrude(1.44)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.395).extrude(0.992))
result = result.cut(cq.Workplane(cq.Plane(... | 5 | 26 | 0.472208 |
train_37cd1e99f3cb81fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.437, -0.147, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.188, 0.562).lineTo(0.188, 0.188).lineTo(0.562, 0.188).lineTo(0.562, -0.188).lineTo(0.188, -0.188).lineTo(0.188, -0.562).lineTo(-0.188, -0.562).lineTo(-0.188, -0.188).lineTo(-0.562... | 31 | 420 | 0.574123 |
train_8aa266f6f6266ca1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, -1.102, -0.509), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.643, 0.379).threePointArc((0.618, 0.319), (0.559, 0.294)).lineTo(0.322, 0.337).lineTo(0.085, 0.131).threePointArc((-0.036, 0.103), (-0.152, 0.146)).threePointArc((-0.278, 0.164), ... | 27 | 398 | 2.784703 |
train_11d7a7724ba71f3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.084, -0.318, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.155, 1).threePointArc((0.301, 0.939), (0.421, 0.843)).threePointArc((0.507, 0.724), (0.556, 0.587)).threePointArc((0.573, 0.451), (0.566, 0.32)).threePointArc((0.544, 0.196), (0.506, ... | 7 | 164 | 2.005227 |
train_f7a7b1ce77ac79bd | 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.075, 0.209).lineTo(0.13, 0.194).lineTo(0.309, 0.146).lineTo(0.29, 0.075).lineTo(0.111, 0.123).lineTo(0.092, 0.052).lineTo(0.27, 0.004).lineTo(0.251, -0.067).lineTo(0.073, -0.019).lineTo(0.054,... | 4 | 52 | 0.237633 |
train_a9d6f76acb7a56bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.282, -0.815), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.671, 0.326).threePointArc((0.998, 0), (0.671, -0.326)).lineTo(-0.671, -0.326).threePointArc((-0.998, 0), (-0.671, 0.326)).lineTo(0.671, 0.326).close().workplane... | 10 | 98 | 1.035342 |
train_e56930f78cab9fdb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.981, 0.289).lineTo(1, 0.242).lineTo(0.785, 0.15).threePointArc((0.746, -0.063), (0.451, -0.162)).lineTo(0.167, -0.289).lineTo(0.079, -0.064).lineTo(0.981, 0.289).close().revolve(angleDegr... | 12 | 227 | 0.342859 |
train_1e69ee44d7a2a639 | 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.581, 0.799).threePointArc((1, 0), (0.581, -0.799)).lineTo(-0.581, -0.799).threePointArc((-1, 0), (-0.581, 0.799)).lineTo(0.581, 0.799).close().extrude(0.36)
result = result.cut(cq.Workplane... | 8 | 70 | 0.716053 |
train_95d2212eb2c83ee4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.477).extrude(0.733)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.478, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.111, 0.306), (-0.394, 0.47), (-0.716, 0.414)... | 7 | 106 | 0.263179 |
train_0484edc6fbaed35f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.144, -0.659, -0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.745, 1.658).threePointArc((-0.515, 1.465), (-0.417, 1.008)).lineTo(-0.417, 0.638).threePointArc((-0.322, 0.19), (-0.096, 0)).lineTo(1.807, 0).threePointArc((2.004, -0.166), (2.08... | 15 | 33 | 0.147034 |
train_0a663a4b01bf0ec0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.134, -0.463), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.702, 0.866).threePointArc((0.817, 0.817), (0.866, 0.702)).lineTo(0.866, -0.518).threePointArc((0.763, -0.763), (0.518, -0.866)).lineTo(-0.725, -0.866).threePointArc((-0.824, -0.824), (... | 5 | 54 | 0.884202 |
train_addf24bb9025f44c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.331), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.455).lineTo(0.92, 0.363).lineTo(1, 0.158).lineTo(1, 0).lineTo(0.977, 0).lineTo(0.977, 0.137).lineTo(0.877, 0.363).lineTo(0, 0.432).lineTo(0, 0.455).lineTo(0.951, 0.455).close().rev... | 5 | 54 | 0.451951 |
train_1fd0c2362f97eefa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.279).lineTo(1, -0.27).lineTo(0.989, -0.279).lineTo(-0.994, -0.279).threePointArc((-0.998, -0.278), (-1, -0.275)).lineTo(-1, 0.272).lineTo(-0.992, 0.279).lineTo(1, 0.279).close().extrude... | 8 | 62 | 0.141979 |
train_814359840149c658 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.239, 0.523, -0.543), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.465, 0.23).lineTo(0.465, -0.28).lineTo(-0.03, -0.28).lineTo(-0.03, 0.23).threePointArc((0.032, 0.18), (0.094, 0.23)).threePointArc((0.156, 0.28), (0.218, 0.23)).threePointArc((0.28... | 10 | 93 | 0.932831 |
train_aa27bf55550f1321 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.063, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.381, 0.104).lineTo(-0.381, -0.026).threePointArc((-0.305, -0.044), (-0.123, -0.051)).lineTo(0.891, -0.051).threePointArc((0.968, -0.054), (1, -0.062)).lineTo(1, -0.1).threePointArc((0... | 6 | 47 | 0.07347 |
train_ee8ed5d4cb7fd5d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, -0.017, -0.879), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.379, 0.719).threePointArc((-0.32, 0.695), (-0.296, 0.636)).lineTo(-0.296, 0.026).threePointArc((-0.228, -0.134), (-0.068, -0.202)).lineTo(0.68, -0.202).threePointArc((0.774, -0.2... | 5 | 49 | 1.225792 |
train_58152af8bf963da7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.207, -0.552), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.663, 0.342).lineTo(0.881, 0.066).threePointArc((0.959, -0.287), (0.578, -0.342)).lineTo(0.193, -0.173).lineTo(0.008, -0.04).lineTo(0.663, 0.342).close().extrude(1.051).union(cq.Workpla... | 15 | 176 | 1.102705 |
train_3812e28a6bafb3a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.032, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.927, 0.35).lineTo(0.927, -0.345).threePointArc((0.924, -0.355), (0.914, -0.36)).lineTo(-0.91, -0.36).threePointArc((-0.923, -0.353), (-0.927, -0.341)).lineTo(-0.927, 0.36).lineTo... | 12 | 111 | 0.218927 |
train_026268e2de3fd0c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.796, -0.221, 0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.205).threePointArc((0.204, 0.112), (0.111, 0.019)).lineTo(-0.111, 0.019).threePointArc((-0.204, 0.112), (-0.111, 0.205)).lineTo(0.111, 0.205).close().extrude(0.909)
result ... | 3 | 44 | 0.165904 |
train_9513e4e64a7aaafc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.219, 0.793, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.22, 0.603).threePointArc((0.279, 0.554), (0.304, 0.436)).lineTo(0.304, 0.197).threePointArc((0.292, 0.143), (0.265, 0.121)).lineTo(0.112, 0.121).threePointArc((0.076, 0.09), (0.06... | 17 | 191 | 1.116636 |
train_5d72279f9158196b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.199, 1).lineTo(0.199, 0.199).lineTo(0.597, 0.199).lineTo(0.597, -0.199).lineTo(1, -0.199).lineTo(1, -0.597).lineTo(-0.199, -0.597).lineTo(-0.199, -1).lineTo(-0.597, -1).lineTo(-0.597, -0.199).lineTo(-1, -0.199).lineTo(-1, 0.199).lineTo(-0.597, 0.199... | 6 | 24 | 1.734196 |
train_b76080cd3ce43a33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.025, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.852, 0.831).threePointArc((0.955, 0.786), (1, 0.679)).lineTo(1, 0.125).threePointArc((0.963, 0.037), (0.879, 0)).lineTo(0.731, 0).threePointArc((0.639, -0.04), (0.6, -0.136)).lineTo(0.... | 4 | 43 | 0.977937 |
train_f708577de8f5cfca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.159), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.564).lineTo(1, 0.754).lineTo(0.194, 0.754).lineTo(0.194, 0).lineTo(0, 0).lineTo(0, 1.564).lineTo(1, 1.564).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
res... | 4 | 20 | 1.572818 |
train_7b23a780f4144ce0 | 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.202, 0.397).workplane(offset=2).rect(0.55, 0.454).loft()
result = result.union(cq.Workplane(cq.Plane(origin=(0.012, 0.01, 0.976), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.16, 0.243).lineTo(0... | 3 | 18 | 0.323927 |
train_2d8cc3f3d1f4e771 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.145, 0, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.543).lineTo(0.855, -0.543).lineTo(-0.055, -0.388).lineTo(0.121, -0.201).lineTo(0.297, -0.015).lineTo(0.473, 0.171).lineTo(0.649, 0.357).lineTo(0.825, 0.543).close().extrude(0.2... | 4 | 37 | 0.366819 |
train_7c64910609351661 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.279, 0.125, 0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.126, 0.195).threePointArc((0.152, -0.195), (-0.152, 0.02)).lineTo(-0.117, 0.033).lineTo(0.038, -0.028).lineTo(0.126, 0.195).close().twistExtrude(0.39, -145.865)
result = result.uni... | 11 | 107 | 0.335131 |
train_0f84b1251c2c7ef5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.093, 0, -0.841), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.031, 0.161).lineTo(0.031, 0.054).lineTo(0.157, 0.054).lineTo(0.157, 0).lineTo(0.031, 0).lineTo(0.031, -0.161).lineTo(-0.031, -0.161).lineTo(-0.031, -0.107).lineTo(-0.094, -0.107).lineT... | 5 | 49 | 0.128301 |
train_76bfb8e1695a2384 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.373, -0.648, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.287, 0.567).threePointArc((-0.108, 0.592), (0.1, 0.541)).threePointArc((0.28, 0.427), (0.386, 0.281)).threePointArc((0.389, 0.142), (0.287, 0.047)).threePointArc((0.108, 0.022), (-0... | 9 | 38 | 1.232261 |
train_76321058a291b6d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.088, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.135, 0.412).lineTo(0.617, 0.33).threePointArc((0.705, 0.29), (0.8, 0.252)).lineTo(1, 0.049).threePointArc((0.986, 0.002), (0.99, -0.045)).lineTo(0.8, -0.236).threePointArc((0.665, -0.2... | 5 | 60 | 0.625766 |
train_039f97935c9e7525 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.111, -0.433, 0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.293, -0.347).threePointArc((-0.569, 0.347), (0.053, 0.333)).lineTo(0.526, 0.166).threePointArc((0.569, 0.117), (0.492, -0.002)).lineTo(-0.018, 0.179).lineTo(-0.109, 0.332).threePo... | 10 | 184 | 0.470993 |
train_0028e3f1ab4fde5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.774), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.567)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.774), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.192, 0.587), (-0.691, 0.951), (-1.309, 0.951), (... | 4 | 45 | 2.318116 |
train_5586d9602be25158 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.727, 2, 1.634)
result = result.edges().fillet(0.083)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.204, -0.206, 0.559), normal=(0, -1, 0), xDir=(0, 0, 1))).spline([(0.378, -0.138), (0.378, 0.036), (0.378, 0.21), (0.553, 0.559)]).spline([(0.553, 0... | 8 | 45 | 4.800716 |
train_f6fe88cdd6749dcb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.089, 0.021, 0.223), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.396, 0.31).threePointArc((0, -0.086), (-0.396, 0.31)).threePointArc((0, 0.705), (0.396, 0.31)).close().extrude(0.828)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.096, -0... | 6 | 35 | 1.271356 |
train_c8fb74a849ed5ecc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.14, -0.061, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.858).lineTo(0, 0).lineTo(0.858, 0).lineTo(0.858, -0.429).lineTo(0, -0.429).lineTo(0, -0.858).lineTo(-0.858, -0.858).lineTo(-0.858, -0.429).lineTo(-0.429, -0.429).lineTo(-0.429, ... | 17 | 159 | 0.481847 |
train_54918a659f0ff256 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.484), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.667).threePointArc((0.947, 0.615), (1, 0.492)).lineTo(1, 0.187).threePointArc((0.944, 0.055), (0.813, 0)).lineTo(0.436, 0).threePointArc((0.364, -0.031), (0.333, -0.103)).lineTo(0.3... | 3 | 43 | 1.591744 |
train_f2bf0080e4896a34 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.354), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.349, 0.622).threePointArc((-0.27, 0.823), (-0.148, 0.859)).lineTo(-0.103, 0.879).threePointArc((0.039, 0.996), (0.213, 0.963)).threePointArc((0.927, 0.328), (0.983, 0.226)).threePoin... | 12 | 17 | 1.696226 |
train_a9664f527062e263 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.684), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.728, 1.368).lineTo(0.728, 1.147).lineTo(1, 1.147).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.368).lineTo(0.728, 1.368).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 5 | 25 | 1.62697 |
train_fdce77a0de2cef32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.017, -0.383, -0.934), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.507, 0.164).threePointArc((0.982, 0.152), (0.617, 0.048)).lineTo(-0.496, -0.059).threePointArc((-0.613, -0.164), (-0.903, -0.121)).lineTo(-0.979, -0.043).threePointArc((-0.982, -... | 11 | 65 | 0.82856 |
train_8ccb9c1ef244d456 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.245, -0.926, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.708, 0.998).lineTo(0.664, 0.697).lineTo(0.809, 0.396).threePointArc((0.832, 0.224), (0.948, 0.094)).lineTo(0.787, -0.208).threePointArc((0.72, -0.351), (0.708, -0.509)).threePointArc(... | 12 | 161 | 4.223237 |
train_017a39dad8357f3d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.468, 0.132).lineTo(0.468, 0).lineTo(0.779, 0).lineTo(0.779, -0.132).lineTo(-0.468, -0.132).lineTo(-0.468, 0).lineTo(-0.779, 0).lineTo(-0.779, 0.132).lineTo(0.468, 0.132).close().extrude(2)... | 7 | 57 | 0.344284 |
train_d356574ba3065d1a | 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.1, 0.998).threePointArc((0.221, 0.96), (0.272, 0.871)).lineTo(0.272, 0.326).threePointArc((0.323, 0.237), (0.445, 0.2)).lineTo(0.653, 0.2).threePointArc((0.767, 0.164), (0.815, 0.081)).line... | 22 | 502 | 0.896078 |
train_3a99597d4bb1c2a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.844, 0.584).threePointArc((0.954, 0.543), (1, 0.447)).lineTo(1, 0.196).threePointArc((0.934, 0.058), (0.776, 0)).lineTo(0.458, 0).threePointArc((0.37, -0.032), (0.333, -0.109)).lineTo(0.33... | 7 | 18 | 1.393069 |
train_4db7d8d8e75848f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.247, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.338, 0.684).lineTo(0.394, 0.459).lineTo(0.439, 0.233).lineTo(0.423, 0.007).lineTo(0.338, -0.218).threePointArc((-0.439, 0.233), (0.338, 0.684)).close().extrude(0.93)
result = result.un... | 5 | 18 | 1.346064 |
train_ed748a14518e8847 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.577), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.769).lineTo(1, 0.115).lineTo(-0.347, 0.115).lineTo(-0.347, -0.115).lineTo(1, -0.115).lineTo(1, -0.769).lineTo(-1, -0.769).lineTo(-1, 0.769).lineTo(1, 0.769).close().extrude(1.153)
resul... | 5 | 22 | 2.923378 |
train_183d6fd74a35af07 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.323, 0.011, 0.018), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.238, 0.283).lineTo(0.026, 0.202).threePointArc((0.182, 0.235), (0.272, 0.114)).lineTo(0.394, -0.056).threePointArc((0.329, -0.163), (0.189, -0.196)).threePointArc((0.115, -0.194)... | 11 | 307 | 0.348857 |
train_636447749c2015be | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.459, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.682, 0.541).lineTo(0.81, 0.414).lineTo(0.81, -0.469).lineTo(0.738, -0.541).lineTo(-0.741, -0.541).lineTo(-0.81, -0.473).lineTo(-0.81, 0.47).lineTo(-0.739, 0.541).lineTo(0.682, 0.541).c... | 5 | 87 | 0.554617 |
train_f635cf2d5bffab1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.039, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.443, 0.246).lineTo(0.443, -0.079).lineTo(0.275, -0.246).lineTo(-0.443, -0.246).lineTo(-0.443, 0.034).lineTo(-0.231, 0.246).lineTo(0.443, 0.246).close().extrude(0.144, both=True)
result = r... | 10 | 27 | 0.238868 |
train_4fd8fee6e40dce9a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.915, 0.981).lineTo(0.915, -0.981).lineTo(-0.915, -0.981).lineTo(-0.915, -0.589).lineTo(0, -0.589).lineTo(0, 0.981).lineTo(0.915, 0.981).close().extrude(0.108, taper=-9.969, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.674, -0.073,... | 20 | 35 | 0.480573 |
train_c801406bad2324f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.123, 0.366, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.017, 0.132).lineTo(0.024, 0.125).lineTo(0.024, 0.095).lineTo(0.032, 0.088).lineTo(0.061, 0.088).lineTo(0.072, 0.078).lineTo(0.072, 0.054).lineTo(0.061, 0.044).lineTo(0.032, 0.044)... | 21 | 398 | 0.437454 |
train_85e732de81653985 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.046, -0.446), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.938, 0.669).lineTo(0.938, -0.596).lineTo(0.865, -0.596).lineTo(0.865, -0.669).lineTo(-0.827, -0.669).lineTo(-0.938, -0.556).lineTo(-0.938, 0.669).lineTo(0.938, 0.669).close().extru... | 18 | 73 | 1.591905 |
train_f01eebb319661e13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.339, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.772, 0.423).lineTo(1, 0.195).lineTo(1, -0.177).threePointArc((0.927, -0.35), (0.752, -0.423)).lineTo(-1, -0.423).lineTo(-1, 0.423).lineTo(0.772, 0.423).close().extrude(0.779)
result = ... | 6 | 20 | 2.163474 |
train_834765c149894da1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.906, 0.474).lineTo(0.906, 0.388).lineTo(1, 0.388).lineTo(1, -0.363).lineTo(0.882, -0.363).lineTo(0.882, -0.474).lineTo(-0.816, -0.474).lineTo(-0.816, -0.294).lineTo(-1, -0.294).lineTo(-1, ... | 10 | 39 | 0.202024 |
train_302c72870a437012 | 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.037, 0.101).lineTo(0.037, -0.02).lineTo(0.111, -0.02).lineTo(0.111, -0.061).lineTo(0.037, -0.061).lineTo(0.037, -0.101).lineTo(0, -0.101).lineTo(0, -0.061).lineTo(-0.037, -0.061).lineTo(-0.037... | 9 | 46 | 0.037555 |
train_3b2adbbb6ae1bc25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.54), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.303, 0.449).lineTo(0.606, 0.33).threePointArc((1, -0.064), (0.606, -0.458)).lineTo(-0.606, -0.458).threePointArc((-1, -0.064), (-0.606, 0.33)).threePointArc((-0.431, 0.338), (-0.303, 0.458)... | 4 | 20 | 1.46133 |
train_2eec51f084da9680 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.749, 0.232).lineTo(0.92, 0.196).lineTo(1, 0.081).lineTo(1, 0).lineTo(0.892, 0).lineTo(0.892, 0.07).lineTo(0.792, 0.196).lineTo(0, 0.124).lineTo(0, 0.232).lineTo(0.749, 0.232).close().revo... | 7 | 90 | 0.233849 |
train_d9cf6db660125ad0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.04, 0, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.96, 0.324).lineTo(0.96, 0.202).lineTo(-0.576, 0.202).lineTo(-0.576, -0.202).lineTo(0.96, -0.202).lineTo(0.96, -0.324).lineTo(-0.96, -0.324).lineTo(-0.96, 0.324).lineTo(0.96, 0.324).clo... | 7 | 71 | 0.276705 |
train_a9cc34c6ad9d0b29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.094, -0.646, 0.623), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.18).lineTo(0, 0.108).lineTo(0.177, 0.108).lineTo(0.177, 0.036).lineTo(0.088, 0.036).lineTo(0.088, -0.036).lineTo(0.177, -0.036).lineTo(0.177, -0.108).lineTo(0.088, -0.108).line... | 14 | 66 | 0.16986 |
train_a81d5b06035eb895 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.203, 0, 0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.792, 0.476).lineTo(0.792, -0.158).lineTo(0.158, -0.158).lineTo(0.158, -0.476).lineTo(-0.476, -0.476).lineTo(-0.476, -0.158).lineTo(-0.792, -0.158).lineTo(-0.792, 0.158).lineTo(-0.476, ... | 15 | 55 | 0.774478 |
train_de8136cc670163e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.665), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.941, 0.7).lineTo(1, 0.649).lineTo(1, -0.652).lineTo(0.944, -0.7).lineTo(-0.941, -0.7).lineTo(-1, -0.649).lineTo(-1, 0.66).lineTo(-0.952, 0.7).lineTo(0.941, 0.7).close().extrude(0.767)
resu... | 11 | 98 | 1.374764 |
train_2595386715f9fc68 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.845).extrude(1.241)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.846, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.097, 0.394), (-0.365, 0.696), (-0.74... | 6 | 135 | 1.453587 |
train_c5a66b487d987e15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.391), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.697, 0.945).lineTo(0.697, 0.063).lineTo(1, 0.063).lineTo(1, 0).lineTo(0.242, 0).lineTo(0.242, 0.945).lineTo(0.697, 0.945).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 7 | 61 | 1.344177 |
train_70e7e8b001458ebc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.87), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, 0.708).lineTo(0.8, 0.532).lineTo(-0.526, 0.532).lineTo(-0.526, -0.532).lineTo(0.8, -0.532).lineTo(0.8, -0.708).lineTo(-0.8, -0.708).lineTo(-0.8, 0.708).lineTo(0.8, 0.708).close().extrude... | 5 | 51 | 1.604893 |
train_72ea59c291ef433c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0, -0.976), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.146, 0.023).threePointArc((0.167, 0.008), (0.166, -0.015)).threePointArc((0.144, -0.023), (0.123, -0.008)).threePointArc((0.124, 0.015), (0.146, 0.023)).close().sweep(cq.Workplane(cq.... | 5 | 35 | 0.015446 |
train_c615329a6698ba7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.789, 2).extrude(0.246)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.258, 0.864).lineTo(0.258, -0.864).lineTo(-0.258, -0.864).... | 4 | 11 | 0.168544 |
train_f44dbb978eb3e9c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.5, 0.866).lineTo(0.866, 0.5).lineTo(1, 0).lineTo(0.866, -0.5).lineTo(0.5, -0.866).lineTo(0, -1).lineTo(-0.5, -0.866).lineTo(-0.866, -0.5).lineTo(-1, 0).lineTo(-0.866, 0.5).lin... | 10 | 79 | 0.783622 |
train_438987fa29316dfe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.201), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.998).lineTo(1, -0.998).lineTo(-1, -0.998).lineTo(-1, 0.998).lineTo(1, 0.998).close().extrude(0.401)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.289, 0, -0.001), normal=(0, 0, 1)... | 4 | 60 | 1.371552 |
train_bfa6cf3851aa2f56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.331, 0.104), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.601, 0.568).threePointArc((0.864, 0.453), (0.995, 0.27)).threePointArc((0.974, 0.045), (0.806, -0.187)).threePointArc((0.514, -0.39), (0.145, -0.534)).threePointArc((-0.247, -0.596), (... | 17 | 161 | 1.628473 |
train_b1ea6cb965665fec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.417, -0.836), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 0.293).lineTo(1, -0.105).lineTo(0.634, -0.448).lineTo(-0.026, -0.574).lineTo(-0.671, -0.425).lineTo(-1, -0.07).lineTo(-0.859, 0.324).lineTo(-0.313, 0.574).lineTo(0.382, 0.562).close... | 7 | 186 | 1.957786 |
train_4502261edbe197ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-4.152, 8.634, 0.815), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-3.835, 6.643).threePointArc((3.835, 6.643), (7.671, 0)).threePointArc((3.835, -6.643), (-3.835, -6.643)).threePointArc((-7.671, 0), (-3.835, 6.643)).close().sweep(cq.Workplane(cq.Pl... | 5 | 9 | 0.745582 |
train_85e479cc6cfc380a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.504, 0.186, 0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.097, 0.497).threePointArc((-0.029, 0.475), (0, 0.424)).lineTo(0, 0.369).threePointArc((0.028, 0.319), (0.095, 0.298)).lineTo(0.487, 0.298).threePointArc((0.517, 0.289), (0.53, 0.2... | 16 | 236 | 1.418629 |
train_6c03a95db5030ded | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.727, 0, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.122, 0.542).threePointArc((0.274, 0.493), (0.383, 0.389)).threePointArc((0.435, 0.248), (0.42, 0.09)).threePointArc((0.34, -0.062), (0.21, -0.182)).threePointArc((0.047, -0.254), (-0.122, ... | 10 | 116 | 1.609076 |
train_2eb8ab0c7b876b99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.137, -0.33), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.638, 0.862).threePointArc((0.723, 0.826), (0.758, 0.742)).lineTo(0.758, -0.613).threePointArc((0.683, -0.789), (0.507, -0.862)).lineTo(-0.758, -0.862).lineTo(-0.758, 0.862).lineTo(0.638... | 12 | 47 | 1.562039 |
train_b799e9e4bf0ed50c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.091, 0.235, 0.107), normal=(-0.309, -0.918, -0.25), xDir=(0.948, -0.319, 0))).moveTo(-0.379, 0.26).lineTo(-0.19, 0.13).lineTo(0, 0.065).lineTo(0.379, 0.13).lineTo(0.379, 0.195).lineTo(0.569, 0.13).threePointArc((0.947, 0.065), (0.569, -0.13)).li... | 11 | 110 | 0.282039 |
train_b800727a52e4612e | 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.447, 0.9).lineTo(-0.447, -0.347).lineTo(1, -0.347).lineTo(1, -0.9).lineTo(-1, -0.9).lineTo(-1, 0.9).lineTo(-0.447, 0.9).close().extrude(1.395)
result = result.cut(cq.Workplane(cq.Plane(or... | 13 | 13 | 2.419027 |
train_76528fa2566f9941 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.066, 0, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.663, 0.425).lineTo(-0.225, 1).lineTo(0.558, 0.977).lineTo(0.986, 0.338).lineTo(0.911, -0.378).lineTo(0.379, -0.858).lineTo(-0.442, -1).lineTo(-0.986, -0.308).close().moveTo(-0.08, 0.1... | 13 | 92 | 0.820258 |
train_4691a20537cf2d55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.508, -0.052, 0.462), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.238).threePointArc((0.098, 0.214), (0.145, 0.126)).lineTo(0.291, 0.145).threePointArc((0.492, -0.055), (0.291, -0.256)).lineTo(-0.291, -0.256).threePointArc((-0.492, -0.055), ... | 5 | 56 | 0.681549 |
train_c6afbc7383dd05a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.252, -0.392, 0.138), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.073, 0.165).lineTo(0.073, 0.076).lineTo(0.227, 0.076).lineTo(0.227, -0.076).lineTo(0.073, -0.076).lineTo(0.073, -0.165).lineTo(-0.073, -0.165).lineTo(-0.073, -0.076).lineTo(-0.227... | 11 | 195 | 0.247737 |
train_a2f1622899d8ebf6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.247, 0, -0.56), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.018, 0.512).threePointArc((0.15, 0.503), (0.295, 0.455)).threePointArc((0.395, 0.375), (0.435, 0.277)).threePointArc((0.409, 0.173), (0.321, 0.082)).threePointArc((0.183, 0.015), (0.0... | 10 | 106 | 1.160326 |
train_e1c1b47d162c1566 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.663, -0.004, -0.044), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.268, 1.695).lineTo(0.448, 1.358).lineTo(0.447, 1.046).lineTo(0.238, 0.816).lineTo(-0.098, 0.757).lineTo(-0.378, 0.996).lineTo(-0.448, 1.396).lineTo(-0.122, 1.636).lineTo(0.268, 1... | 9 | 104 | 1.06282 |
train_98d350d521526813 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.628)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.597).extrude(1.88, both=True))
result = result.union(cq.Workpla... | 13 | 35 | 0.960431 |
train_dc96db20b22b8a83 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.048, 0, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.165, 0.755).threePointArc((-0.049, 0.703), (0, 0.58)).lineTo(0, 0.063).threePointArc((0.088, -0.158), (0.297, -0.252)).lineTo(0.818, -0.252).threePointArc((0.911, -0.293), (0.951, -0.... | 28 | 295 | 0.505592 |
train_75c25ca74ed73dea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.262, -0.169, -0.392), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.526).threePointArc((0.372, 0.372), (0.526, 0)).lineTo(0.228, 0).threePointArc((0.161, 0.161), (0, 0.228)).lineTo(0, 0.526).close().extrude(1.392)
result = result.union(cq.Work... | 6 | 76 | 0.358493 |
train_dd47c8ccb7af9e7d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.046, 0.142, 0.144), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.544, 0.339).lineTo(0.688, 0.233).lineTo(0.543, 0.035).lineTo(0.857, -0.195).lineTo(0.752, -0.339).lineTo(0.438, -0.109).lineTo(0.293, -0.307).lineTo(0.149, -0.202).lineTo(0.544, 0.... | 11 | 194 | 0.697219 |
train_bfd52db4fd02e293 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.2).lineTo(1, 0.109).lineTo(0.244, 0.109).lineTo(0.244, -0.109).lineTo(1, -0.109).lineTo(1, -0.2).lineTo(-1, -0.2).lineTo(-1, -0.109).lineTo(-0.244, -0.109).lineTo(-0.244, 0.109).lineTo(-... | 5 | 28 | 0.139052 |
train_2108057f9c8a75c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.35), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.326).lineTo(1, -0.326).lineTo(-1, -0.326).lineTo(-1, 0.326).lineTo(1, 0.326).close().extrude(0.512)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.415, 0, 0.162), normal=(0, 0, 1... | 8 | 40 | 0.605112 |
train_72b6a084c292f571 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.211, -0.076), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.42, 0.151).lineTo(0.42, 0).lineTo(-0.42, 0).lineTo(-0.42, 0.151).lineTo(-0.356, 0.151).lineTo(-0.356, 0.063).lineTo(0.356, 0.063).lineTo(0.356, 0.151).lineTo(0.42, 0.151).close().extr... | 9 | 111 | 0.134079 |
train_eff3093d1e463593 | 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.616, 0.244).threePointArc((0.634, 0.236), (0.642, 0.218)).lineTo(0.642, 0.167).threePointArc((0.636, 0.152), (0.622, 0.146)).lineTo(0.071, 0.146).threePointArc((0.061, 0.142), (0.057, 0.132)).... | 9 | 597 | 0.466524 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.