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_cd70536eb1445afe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.111, 0, -0.2), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.859, 0.045).lineTo(0.888, 0.005).lineTo(0.888, -0.045).lineTo(0.603, -0.045).lineTo(0.603, 0.005).lineTo(0.618, 0.045).lineTo(0.632, 0.045).lineTo(0.66, 0.005).lineTo(0.675, 0.045).line... | 4 | 89 | 0.794523 |
train_7be3715cb6814821 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.971, 0.333).lineTo(0.971, -0.333).threePointArc((-0.971, 0), (0.971, 0.333)).close().extrude(0.484)
result = result.edges().chamfer(0.026)
result = result.union(cq.Workplane(cq.Plane(origi... | 10 | 174 | 1.401435 |
train_d8c750c10eb697f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.374, -0.501), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.248, 0.803).threePointArc((0.248, 0.803), (0.495, 0.374)).threePointArc((0.248, -0.055), (-0.248, -0.055)).threePointArc((-0.495, 0.374), (-0.248, 0.803)).close().revolve(angleDegrees... | 13 | 367 | 1.311642 |
train_080c0b6637ad8164 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.279, 0.294, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.004, 1.279).lineTo(0.132, 0.8).threePointArc((0.194, 0.556), (0.19, 0.142)).lineTo(0.011, -1.293).threePointArc((-0.071, -1.288), (-0.088, -0.767)).lineTo(-0.018, -0.184).threePoi... | 10 | 236 | 0.254515 |
train_9800b295d5c8f511 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.195, 0.545, 0.64), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.355, 0.991).lineTo(0.355, -0.129).threePointArc((-0.355, 0.433), (0.355, 0.991)).close().moveTo(0.049, 0.454).threePointArc((0.092, 0.436), (0.11, 0.393)).lineTo(0.11, 0.36).threePo... | 8 | 111 | 0.730579 |
train_704929a39282f0ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 1).lineTo(1.052, 0).lineTo(0.325, -1).lineTo(-0.851, -0.618).lineTo(-0.851, 0.618).lineTo(0.325, 1).close().extrude(1.03)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.101... | 2 | 8 | 1.960014 |
train_9a04f875fa818753 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.821).extrude(1.334)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.823, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.095, 0.381), (-0.354, 0.676), (-0.722, 0.815... | 6 | 62 | 1.827956 |
train_60ccbda7b7950b3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, -0.014, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.244, -0.508).threePointArc((0.035, -0.617), (-0.131, -0.401)).lineTo(-0.552, -0.282).threePointArc((-0.986, -0.346), (-0.797, -0.006)).lineTo(-0.811, 0.351).threePointArc((-0.918,... | 20 | 199 | 0.409422 |
train_97f1db7100d06f90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, -0.433, 0.051), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.463).threePointArc((0.196, 0.382), (0.278, 0.186)).threePointArc((0.196, -0.011), (0, -0.092)).threePointArc((-0.196, -0.011), (-0.278, 0.186)).threePointArc((-0.196, 0.382), (0... | 20 | 259 | 0.523852 |
train_be4d1f0cfc584ef0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.547, 0.398).lineTo(0.913, 0.2).lineTo(1, 0.14).lineTo(1, 0).lineTo(0.809, 0).lineTo(0.809, 0.119).lineTo(0.71, 0.2).lineTo(0, 0.212).lineTo(0, 0.398).lineTo(0.547, 0.398).close().revolve(... | 4 | 27 | 0.494778 |
train_89eff5dffcdb61a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.339, 0.975).lineTo(0.339, -0.982).lineTo(0.332, -0.982).lineTo(0.332, -1).lineTo(-0.339, -1).lineTo(-0.339, 0.978).threePointArc((-0.335, 0.988), (-0.328, 1)).lineTo(0.323, 1).threePointAr... | 14 | 78 | 0.346006 |
train_6d325d6c5e8fff81 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.261).lineTo(1, 0.184).threePointArc((0.951, 0.157), (0.854, 0.145)).lineTo(-0.334, 0.145).threePointArc((-0.452, 0.131), (-0.502, 0.099)).lineTo(-0.502, -0.065).threePointArc((-0.41... | 7 | 46 | 0.262532 |
train_907ebc4be77e3433 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, 0.264, -0.566), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.495, 0.106).lineTo(0.567, -0.104).lineTo(0.214, -0.209).threePointArc((0.156, -0.418), (-0.015, -0.47)).lineTo(-0.402, -0.499).lineTo(-0.567, -0.313).threePointArc((-0.433, -0.109... | 5 | 119 | 0.640556 |
train_15068664a25a908e | 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.566).lineTo(1, -0.558).lineTo(0.966, -0.592).lineTo(-1, -0.592).lineTo(-1, 0.569).lineTo(-0.976, 0.592).lineTo(0.974, 0.592).lineTo(1, 0.566).close().extrude(0.125)
result = result.union... | 18 | 118 | 0.302537 |
train_4ccef7952d3fa3d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.227, 0, -0.227), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.168, 0.454).lineTo(0.168, 0.168).lineTo(0.454, 0.168).lineTo(0.454, 0).lineTo(0, 0).lineTo(0, 0.454).lineTo(0.168, 0.454).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 5 | 26 | 0.173368 |
train_4aa99fdc37a40a87 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.14, 0.393, -0.585), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.48, 0.375).threePointArc((0.514, 0.36), (0.528, 0.327)).lineTo(0.528, -0.27).threePointArc((0.497, -0.344), (0.424, -0.375)).lineTo(-0.393, -0.375).threePointArc((-0.488, -0.335), ... | 18 | 338 | 1.347024 |
train_8782b999a9809ed8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 0.866).threePointArc((0.5, 0.866), (1, 0)).threePointArc((0.5, -0.866), (-0.5, -0.866)).threePointArc((-1, 0), (-0.5, 0.866)).close().extrude(0.183)
result = result.cut(cq.Workplane(cq... | 12 | 14 | 0.573143 |
train_7d5d031e3cb8cb46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.157, 0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.184).lineTo(1, -0.184).lineTo(-1, -0.184).lineTo(-1, 0.184).lineTo(-0.525, 0.184).lineTo(-0.525, -0.118).lineTo(0.525, -0.118).lineTo(0.525, 0.184).lineTo(1, 0.184).close().extrude(0... | 9 | 129 | 0.190324 |
train_8a88286ec4bd5a8c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.092, -0.298, -0.882), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.45, 0.494).threePointArc((0.525, 0.533), (0.644, 0.416)).lineTo(0.599, 0.217).lineTo(0.841, 0.171).threePointArc((0.871, 0.005), (0.776, -0.045)).lineTo(0.469, -0.006).lineTo(0.12... | 9 | 154 | 1.872416 |
train_53ef9331685fc906 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.315, -0.262, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.63).threePointArc((0.445, 0.445), (0.63, 0)).lineTo(0.203, 0).threePointArc((0.143, 0.143), (0, 0.203)).lineTo(0, 0.63).close().extrude(2)
result = result.union(cq.Workplane(cq.Pl... | 7 | 35 | 0.520085 |
train_7e541b77e7657128 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.015, 0.423, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.397, 0.534).lineTo(-0.397, -0.398).lineTo(0.586, -0.398).lineTo(0.586, -0.534).lineTo(-0.586, -0.534).lineTo(-0.586, 0.534).lineTo(-0.397, 0.534).close().extrude(0.4, taper=-6.37... | 12 | 167 | 0.612689 |
train_8d5db7e8ee5a50f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.013, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.572, 0.243).workplane(offset=1.292).rect(0.384, 0.249).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.578, 0.376), normal=(0, 0, 1), xDir=(1, 0, 0))).box(0.786, 1.022, 1.... | 6 | 95 | 0.1241 |
train_fc5028f0d186b780 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.011, 0.044, 0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.247, 0.928).lineTo(0.988, 0.62).lineTo(0.988, 0.465).lineTo(0.247, 0.155).lineTo(0.247, 0).lineTo(0.247, -0.155).lineTo(0.988, -0.465).lineTo(0.988, -0.62).threePointArc((0.494, -0.... | 1 | 34 | 1.725599 |
train_22465c061277224b | 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(1, 0.579).lineTo(0.983, 0.287).lineTo(-0.362, -0.579).lineTo(-1, -0.292).lineTo(1, 0.579).close().extrude(0.598)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.14, 0.394, 0.194), normal... | 4 | 20 | 0.445661 |
train_b2ef224ba3460db3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.023, 0.023, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.689, 0.552).lineTo(0.965, -0.276).threePointArc((0.965, -0.552), (0.689, -0.552)).lineTo(-0.827, 0.138).threePointArc((-0.965, 0.414), (-0.689, 0.552)).close().extrude(0.158)
res... | 22 | 285 | 0.135824 |
train_26585c0d73491f10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.799, 2).lineTo(0.799, 0.205).lineTo(0.735, 0.205).lineTo(0.735, 0).lineTo(0.461, 0).lineTo(0.461, 2).lineTo(0.799, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 3 | 25 | 2.549321 |
train_802697e1f96ee70c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0.464, 0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.277, 0.461).threePointArc((0.277, 0.461), (0.554, 0)).threePointArc((0.277, -0.461), (-0.277, -0.461)).threePointArc((-0.554, 0), (-0.277, 0.461)).close().sweep(cq.Workplane(cq.Pla... | 17 | 247 | 0.444437 |
train_b015589adeeeee72 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, -0.033, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.133, 0.488).threePointArc((0.222, 0.665), (0.399, 0.576)).lineTo(0.488, 0.045).threePointArc((0.665, -0.311), (0.576, -0.399)).lineTo(0.488, -0.488).lineTo(0.311, -0.488).lineTo(-0.48... | 3 | 28 | 2.540156 |
train_6df0dcb969bb0cd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.539, 0.415, 0.312), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.165, 0.897).threePointArc((0.354, 0.819), (0.433, 0.629)).lineTo(0.433, 0.477).threePointArc((0.354, 0.287), (0.165, 0.209)).lineTo(-0.165, 0.209).threePointArc((-0.354, 0.287), (-... | 8 | 206 | 0.817584 |
train_fe85d1e0a05eeab3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.043, -0.108, -0.932), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.133, -0.07).lineTo(0.148, -0.094).lineTo(0.182, -0.121).lineTo(0.181, -0.133).lineTo(0.17, -0.134).lineTo(0.139, -0.109).lineTo(0.119, -0.083).lineTo(0.113, -0.055).lineTo(0.091, ... | 11 | 442 | 0.11278 |
train_4caa120367f47912 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.758), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 1).lineTo(0.65, 0.775).threePointArc((0.708, 0.686), (0.609, 0.556)).lineTo(0.304, 0.649).lineTo(0.304, -0.362).lineTo(0.261, -0.871).threePointArc((0.1, -1), (-0.046, -0.85)).lineTo(... | 2 | 21 | 2.028128 |
train_3a292c8f879c3612 | 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.777, 1).lineTo(0.777, -1).lineTo(-0.777, -1).lineTo(-0.777, 1).lineTo(0.777, 1).close().extrude(0.26)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.556, 0, 0.13), normal=(0, 0, 1), x... | 19 | 331 | 0.573089 |
train_f145a777c6ab90b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.245, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, 0.338).lineTo(0.755, -0.351).lineTo(-0.74, -0.351).lineTo(-0.74, -0.336).lineTo(-0.755, -0.336).lineTo(-0.755, 0.351).lineTo(0.743, 0.351).lineTo(0.755, 0.338).close().extrude(0.4... | 10 | 79 | 0.25944 |
train_8e60cb85d2475ca5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.447, 0.323).lineTo(-0.447, -0.123).threePointArc((-0.354, -0.183), (-0.134, -0.209)).lineTo(0.94, -0.209).threePointArc((0.982, -0.214), (1, -0.225)).lineTo(1, -0.322).threePointArc((... | 4 | 18 | 0.502003 |
train_ebbb10dde706b03f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.81), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.59, 0.564).lineTo(0.834, 0.303).threePointArc((0.827, 0.15), (0.945, 0.113)).lineTo(1, -0.042).lineTo(0.905, -0.148).lineTo(0.826, -0.129).lineTo(0.765, -0.175).lineTo(0.857, -0.272).li... | 6 | 59 | 1.868099 |
train_cc031523da3f36f6 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.225).lineTo(0.789, 0).lineTo(1, -0.225).lineTo(0.429, -0.225).lineTo(0.429, 0.225).lineTo(1, 0.225).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.548, 0, 0), normal=... | 17 | 135 | 0.560731 |
train_f9a6418d47a4b547 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.349, 2).extrude(0.26)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.087, 0.903).lineTo(0.087, -0.903).lineTo(-0.087, -0.903).clo... | 7 | 48 | 0.083114 |
train_9376b325ef7a853e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.516, -0.808, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 0.388).threePointArc((0.484, 0.205), (0.301, 0.022)).lineTo(-0.301, 0.022).threePointArc((-0.484, 0.205), (-0.301, 0.388)).lineTo(0.301, 0.388).close().revolve(angleDegrees=2... | 5 | 26 | 1.145643 |
train_94898ae45d9b6a2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.065, -0.264, 0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.044, 0.098).lineTo(0.044, 0.038).lineTo(0.104, 0.038).lineTo(0.104, -0.038).lineTo(0.044, -0.038).lineTo(0.044, -0.098).lineTo(-0.044, -0.098).lineTo(-0.044, -0.038).lineTo(-0.104... | 4 | 63 | 0.486002 |
train_33c5306efd95aeb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, 0.717).threePointArc((0.924, 0.643), (1, 0.465)).lineTo(1, -0.412).threePointArc((0.909, -0.628), (0.696, -0.717)).lineTo(-0.869, -0.717).threePointArc((-0.96, -0.681), (-1, -0.588)).... | 15 | 396 | 0.828543 |
train_da4a44164ad0225f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.659), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, -0.078).lineTo(0.993, -0.115).lineTo(0.981, -0.195).lineTo(0.814, -0.173).lineTo(0.795, -0.249).lineTo(0.947, -0.319).lineTo(0.919, -0.393).lineTo(0.761, -0.338).lineTo(0.724, -0.408)... | 4 | 190 | 1.375227 |
train_b77cb2ca98cb44d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.046, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.489, 0.751).lineTo(-0.376, 0.637).lineTo(-0.376, 0.444).lineTo(-0.308, 0.376).lineTo(0.243, 0.376).lineTo(0.376, 0.243).lineTo(0.376, 0.1).lineTo(0.475, 0).lineTo... | 2 | 268 | 1.732213 |
train_bf16f28d0bbc05a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.141, 0, -0.68), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.516, 0.688).lineTo(0.516, -0.344).lineTo(0.859, -0.344).lineTo(0.859, -0.688).lineTo(0.172, -0.688).lineTo(0.172, 0).lineTo(-0.172, 0).lineTo(-0.172, -0.344).lineTo(-0.859, -0.344).line... | 6 | 34 | 0.92111 |
train_8332acca9007f75e | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.868, 0.68).threePointArc((0.958, 0.616), (0.996, 0.464)).lineTo(0.996, 0.257).threePointArc((0.951, 0.076), (0.845, 0)).lineTo(0.675, 0).threePointArc((0.621, -0.04), (0.598, -0.133)).lineTo(0.598, -0.521).threePointArc((0.57, -0.633), (0.504, -0.68... | 13 | 50 | 0.564611 |
train_0ad7f25bfb9352b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.402), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.495, 0.456).lineTo(0.552, 0.274).lineTo(0.593, 0.091).threePointArc((0.611, -0.002), (0.581, -0.091)).threePointArc((0.53, -0.177), (0.552, -0.274)).threePointArc((0.538, -0.37), (0.495, -... | 9 | 176 | 1.297687 |
train_5d6b6be4f6616e01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.865, 2).extrude(0.295)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.705, 0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.053, 0.073).threePointArc((0.125, 0), (0.053, -0.073))... | 7 | 62 | 0.460702 |
train_2bd2ffdb7be706ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.054, -0.424), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.495, 0.535).lineTo(-0.495, -0.378).lineTo(0.745, -0.378).lineTo(0.745, -0.535).lineTo(-0.745, -0.535).lineTo(-0.745, 0.535).lineTo(-0.495, 0.535).close().extrude(0.829)
result = resul... | 21 | 57 | 0.48566 |
train_67af49b1d75ca21b | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.105).lineTo(0.807, 0).lineTo(1, -0.105).lineTo(0.328, -0.105).lineTo(0.328, 0.105).lineTo(1, 0.105).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.548, 0, 0), normal=(... | 11 | 68 | 0.316049 |
train_68fb24a6dd4d03bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.87, 0.661, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.141, 0.992).lineTo(0.415, 0.833).lineTo(0.556, 0.273).lineTo(0.141, -0.129).lineTo(-0.415, 0.029).lineTo(-0.556, 0.59).lineTo(-0.141, 0.992).close().moveTo(-0.004, 0.728).threePointArc... | 7 | 72 | 0.239135 |
train_ffd9925f984f5700 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.035, 0.149, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.56, 0.641).threePointArc((0.964, -0.056), (-0.964, -0.244)).lineTo(-0.56, 0.641).close().moveTo(-0.664, -0.132).threePointArc((0.664, -0.168), (0.448, -0.641)).lineTo(-0.664, -0.... | 5 | 42 | 1.317811 |
train_65eb8d05a4a5b5ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.226, 0.081, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, 0.918).threePointArc((-0.017, 0.897), (0, 0.849)).lineTo(0, 0.677).threePointArc((0.031, 0.588), (0.105, 0.551)).lineTo(0.186, 0.551).threePointArc((0.271, 0.508), (0.306, 0.... | 5 | 136 | 0.885292 |
train_3f4b6d8bda5f5497 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.011, 0, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.246, 0.323).threePointArc((0.31, 0.297), (0.337, 0.234)).lineTo(0.337, -0.248).threePointArc((0.314, -0.302), (0.26, -0.323)).lineTo(-0.262, -0.323).threePointArc((-0.314, -0.302), (-0... | 10 | 122 | 0.295994 |
train_9f3c76d8815feaf5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.125, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.466, 0.931).threePointArc((0.466, 0.931), (0.931, 0.125)).threePointArc((0.466, -0.682), (-0.466, -0.682)).threePointArc((-0.931, 0.125), (-0.466, 0.931)).close().moveTo(0.238, 0.126).thr... | 6 | 127 | 3.200894 |
train_0d48de2a972ce89e | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.664).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.561).extrude(0.887, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 4 | 11 | 2.701227 |
train_12b613358e4f79e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.332, 0.417).threePointArc((-0.099, 0.4), (0, 0.361)).lineTo(0, 0.136).threePointArc((0.095, 0.1), (0.317, 0.084)).lineTo(0.838, 0.084).threePointArc((0.946, 0.076), (1, 0.058)).lineTo(1, ... | 8 | 107 | 0.163318 |
train_df070aa955a54172 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.032, 0, 0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.601, 1).lineTo(0.665, 0.795).lineTo(0.409, -1).lineTo(0.198, -0.966).lineTo(0.262, -0.517).lineTo(-0.16, -0.449).lineTo(-0.096, 0).lineTo(-0.307, 0.034).lineTo(-0.243, 0.483).lineTo(-... | 2 | 40 | 1.262383 |
train_c3cfd0b1bb2abf24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.026, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.551, 0.691).lineTo(-0.551, -0.423).lineTo(0.974, -0.423).lineTo(0.974, -0.691).lineTo(-0.974, -0.691).lineTo(-0.974, 0.691).lineTo(-0.551, 0.691).close().extrude(0.535)
result = resu... | 6 | 80 | 0.790367 |
train_53d56f7bbd86fd42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.403, -0.017, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.596, 0.239).lineTo(0.596, 0).lineTo(0.358, 0).lineTo(0.358, -0.239).lineTo(-0.596, -0.239).lineTo(-0.596, 0.239).lineTo(0.596, 0.239).close().extrude(0.169)
result = result.cut(cq... | 13 | 72 | 0.391853 |
train_0cb31025df2f27e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.237, -0.212), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.383, 0.551).lineTo(0.383, -0.416).threePointArc((-0.383, 0.067), (0.383, 0.551)).close().extrude(0.582)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.082, 0.148, -0.58), ... | 20 | 50 | 0.461949 |
train_845dab7bbd4f9766 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, -0.657, 0.181), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.363, 0.671).lineTo(0.363, -0.482).threePointArc((-0.363, 0.095), (0.363, 0.671)).close().moveTo(-0.115, 0.126).threePointArc((-0.083, 0.13), (-0.053, 0.118)).threePointArc((-0.033... | 19 | 454 | 1.328008 |
train_336429ee6adeaa90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.454, -0.257, 0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.377, 0.516).lineTo(0.377, -0.516).lineTo(-0.377, -0.516).lineTo(-0.377, 0.516).lineTo(-0.096, 0.516).lineTo(-0.096, 0.008).lineTo(0.096, 0.008).lineTo(0.096, 0.516).lineTo(0.377, 0... | 11 | 119 | 1.584007 |
train_da4050ea24307e85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.625, 0.924).threePointArc((-0.56, 0.901), (-0.532, 0.845)).lineTo(-0.532, -0.407).threePointArc((-0.47, -0.532), (-0.324, -0.584)).lineTo(0.834, -0.584).threePointArc((0.901, -0.609), (0.... | 5 | 20 | 0.577255 |
train_d3b445a2c6ad4145 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0.049, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(0.871, 0.778, 1.043)
result = result.edges().fillet(0.1)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.069, 0.049, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.086).extrude(1.741,... | 16 | 301 | 0.582806 |
train_54228e3ae4fed72a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.044, 0, 0.068), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.642, 0.361).lineTo(0.801, 0.22).lineTo(0.805, 0.138).lineTo(0.782, 0.112).lineTo(0.787, 0.028).lineTo(0.93, -0.103).lineTo(0.934, -0.173).lineTo(0.783, -0.346).lineTo(0.534, -0.361).l... | 9 | 136 | 1.438093 |
train_48fb1d9060db343d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.22, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, 0.323).threePointArc((1, 0), (0.851, -0.323)).lineTo(0.285, -0.323).lineTo(-0.285, -0.323).lineTo(-0.851, -0.323).threePointArc((-1, 0), (-0.851, 0.323)).lineTo(-0.285, 0.323).lin... | 4 | 38 | 0.553201 |
train_b37624fcded47dd7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.412, 0.158, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.608, -0.114).lineTo(0.821, -0.163).lineTo(0.789, -0.252).lineTo(0.579, -0.192).lineTo(0.541, -0.258).lineTo(0.727, -0.358).lineTo(0.665, -0.435).lineTo(0.485, -0.326).lineTo(0.425, -0.3... | 5 | 339 | 1.132859 |
train_10e8466883a7d6b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, -0.155, 0.274), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.264, 0.232).lineTo(0.56, 0.075).lineTo(0.186, -0.232).lineTo(0.09, 0.089).lineTo(0.264, 0.232).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 12 | 377 | 0.472631 |
train_8e9d791c966a0ec5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.555, 0.254, 0.445), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.476, 1.066).lineTo(0.476, 0.65).lineTo(0.158, 0.65).lineTo(0.158, 0.029).lineTo(-0.158, 0.029).lineTo(-0.158, 0.65).lineTo(-0.476, 0.65).lineTo(-0.476, 1.066).lineTo(0.476, 1.066).... | 2 | 93 | 0.572065 |
train_160ee2ab66d76c73 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.072, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.687, 0.57).threePointArc((1, 0), (0.687, -0.57)).lineTo(-0.687, -0.57).threePointArc((-1, 0), (-0.687, 0.57)).lineTo(0.687, 0.57).close().extrude(0.358)
result = result.cut(cq.Workpla... | 24 | 95 | 0.685522 |
train_57d95cb019406258 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.125, -0.131, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.249, 2).lineTo(0.249, 0.249).lineTo(1.049, 0.249).lineTo(1.049, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.249, 2).close().extrude(0.928, both=True)
result = result.cut(cq.Workplane(cq.P... | 14 | 26 | 0.678209 |
train_174b07bfabc41f4c | 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.371, -0.604).lineTo(0.361, -0.676).lineTo(0.344, -0.744).lineTo(0.32, -0.807).lineTo(0.291, -0.863).lineTo(0.256, -0.91).lineTo(0.218, -0.949).lineTo(0.176, -0.977).lineTo(0.133, -0.994).l... | 27 | 148 | 0.534809 |
train_0bcceb8ef55d70cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, 0.331, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.694, -0.198).threePointArc((-0.995, -0.212), (-0.818, -0.105)).lineTo(-0.623, 0.28).lineTo(-0.521, 0.288).lineTo(-0.459, 0.328).lineTo(0.298, 0.276).lineTo(0.995, 0.015).lineTo(0.5... | 10 | 101 | 0.573166 |
train_575d42bd66e762c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.222, -0.211, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.148, 0.323).lineTo(0.225, 0.237).threePointArc((0.372, 0.277), (0.372, 0.156)).lineTo(0.65, -0.136).lineTo(0.632, -0.197).lineTo(-0.128, -0.467).threePointArc((-0.185, -0.426), ... | 16 | 179 | 1.056674 |
train_1e0136172c9639df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.091, 0.086, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.181, 1.085).threePointArc((0.543, -0.724), (-0.181, -1.085)).threePointArc((-0.543, -0.362), (-0.543, 0.724)).close().extrude(1.003, both=True).intersect(cq.Workplane(cq.Plane(ori... | 13 | 86 | 0.832288 |
train_650c9f5839abe027 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.689, 2).extrude(0.711)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.082, 0.738).lineTo(0.082, -0.738).lineTo(-0.082, -0.738).... | 7 | 59 | 0.751482 |
train_a82d8f7ba943afa3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.261, 0.168, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.827).threePointArc((1, 0.786), (1.03, 0.69)).lineTo(1.03, 0.425).threePointArc((0.99, 0.321), (0.891, 0.276)).lineTo(0.597, 0.276).threePointArc((0.542, 0.251), (0.518, 0.19... | 10 | 134 | 0.551591 |
train_53936d4ff288064c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.14), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.907, 0.243).lineTo(1, 0.08).lineTo(0.371, -0.243).lineTo(0.338, -0.179).lineTo(0.485, -0.099).threePointArc((0.532, 0.047), (0.727, 0.135)).lineTo(0.907, 0.243).close().revolve(angleDegrees... | 4 | 29 | 0.565825 |
train_e0b47acd2688332e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.549, -0.095, 0.077), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.161, 1.094).threePointArc((0.437, 0.98), (0.551, 0.705)).lineTo(0.551, -0.514).threePointArc((0.437, -0.79), (0.161, -0.904)).lineTo(-0.161, -0.904).threePointArc((-0.437, -0.79),... | 20 | 485 | 1.764509 |
train_06f8a90cf9d923d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.864, -0.758, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.275, 1.489).lineTo(0.731, 0.484).lineTo(-0.275, 0.028).lineTo(-0.731, 1.032).lineTo(0.275, 1.489).close().workplane(offset=0.306).moveTo(0.277, 1.495).lineTo(0.737, 0.482).lineTo(-0.2... | 14 | 75 | 2.673993 |
train_fd571b7eefe4c915 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.943).lineTo(1, -0.943).lineTo(-1, -0.943).lineTo(-1, 0.943).lineTo(-0.564, 0.943).lineTo(-0.564, -0.582).lineTo(0.564, -0.582).lineTo(0.564, 0.943).lineTo(1, 0.943).close().extrude(0.71... | 17 | 20 | 1.418297 |
train_c8d5ef65b33e6946 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.048, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.952).extrude(0.532)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.048, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.37).extrude(1.593, both=True))
result = result.un... | 11 | 41 | 1.411426 |
train_22eb8a6328fd3d01 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.252, 0.403, -0.489), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.125, 0.344).threePointArc((0.243, 0.226), (0.125, 0.109)).lineTo(-0.125, 0.109).threePointArc((-0.243, 0.226), (-0.125, 0.344)).lineTo(0.125, 0.344).close().revolve(angleDegrees=... | 10 | 84 | 1.472049 |
train_a7ed0ee231c0d5b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.045, -0.12, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.509, 0.778).threePointArc((-0.428, 0.744), (-0.394, 0.663)).lineTo(-0.394, -0.022).threePointArc((-0.326, -0.183), (-0.165, -0.251)).lineTo(0.842, -0.251).threePointArc((0.897, -... | 29 | 82 | 1.90743 |
train_444abf6972faf772 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.081, -0.201, -0.683), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.166).lineTo(0.048, 0.11).lineTo(-0.048, 0.11).lineTo(-0.048, 0.055).lineTo(0.143, 0.055).lineTo(0.143, 0).lineTo(0.048, 0).lineTo(0.048, -0.055).lineTo(0.143, -0.055).line... | 9 | 184 | 0.239129 |
train_0b0d90dc34106d31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.527, -0.42, -0.002), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.036, 0.538).threePointArc((0.152, 0.528), (0.24, 0.451)).lineTo(0.205, 0.27).lineTo(0.383, 0.304).threePointArc((0.274, 0.176), (0.22, 0.111)).threePointArc((0.214, 0.084), (0.256... | 5 | 48 | 0.88389 |
train_e16426eee95c3b28 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.335).lineTo(1, 0.203).lineTo(-0.499, 0.203).lineTo(-0.499, -0.203).lineTo(1, -0.203).lineTo(1, -0.335).lineTo(-1, -0.335).lineTo(-1, 0.335).lineTo(1, 0.335).close().extrude(0.502)
resul... | 16 | 102 | 0.275201 |
train_d8cf2b691d27a809 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.812), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.62).lineTo(1, 0.348).lineTo(0.863, 0.348).lineTo(0.863, 0).lineTo(0.201, 0).lineTo(0.201, 1.62).lineTo(1, 1.62).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)... | 5 | 14 | 4.325105 |
train_d9f1656c59918041 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.701, 0.852).threePointArc((0.906, 0.77), (1, 0.561)).lineTo(1, -0.604).threePointArc((0.919, -0.782), (0.744, -0.852)).lineTo(-0.834, -0.852).threePointArc((-0.947, -0.808), (-1, -0.697)).... | 13 | 86 | 1.863633 |
train_ca501da09f87a7c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.781, 1).lineTo(0.781, -0.839).threePointArc((0.735, -0.952), (0.622, -1)).lineTo(-0.687, -1).threePointArc((-0.754, -0.97), (-0.781, -0.903)).lineTo(-0.781, 0.833).lineTo(-0.616, 1).lineTo(0... | 9 | 36 | 1.995766 |
train_e86d3565d6309978 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.64, -0.326, 0.004), normal=(-0.438, -0.234, 0.868), xDir=(0.472, -0.882, 0))).moveTo(-0.309, -0.037).threePointArc((-0.34, 0.079), (-0.43, 0.179)).threePointArc((-0.476, 0.353), (-0.302, 0.4)).threePointArc((-0.17, 0.373), (-0.054, 0.404)).thre... | 8 | 161 | 0.686521 |
train_09302c52d9a03e26 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.224, -0.369), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.905, 0.764).lineTo(0.905, -0.759).threePointArc((0.902, -0.768), (0.894, -0.772)).lineTo(-0.893, -0.772).threePointArc((-0.902, -0.768), (-0.905, -0.759)).lineTo(-0.905, 0.759).threePo... | 9 | 33 | 2.793024 |
train_2bdafd6872297bb0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.017, 0, -0.644), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.006, 0.157).lineTo(0.068, 0.115).lineTo(0.062, 0.041).lineTo(-0.006, 0.009).lineTo(-0.068, 0.052).lineTo(-0.062, 0.125).lineTo(0.006, 0.157).close().extrude(0.693)
result = result.cut... | 12 | 30 | 0.03169 |
train_4d42e59ff90d1bbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, 0, 0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.303, 0.429).threePointArc((0.33, 0.418), (0.339, 0.388)).lineTo(0.339, -0.262).threePointArc((0.302, -0.387), (0.19, -0.429)).lineTo(-0.339, -0.429).lineTo(-0.339, -0.237).threePointAr... | 9 | 148 | 0.104537 |
train_7e1199278425a715 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0.443, -0.431), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.256, 0.028).threePointArc((0.281, 0.014), (0.281, -0.014)).threePointArc((0.256, -0.028), (0.232, -0.014)).threePointArc((0.232, 0.014), (0.256, 0.028)).close().sweep(cq.Workplan... | 7 | 44 | 0.188182 |
train_3925f2cb0047c3c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.4, 0.288, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.528, 0.435).lineTo(0.6, 0.363).lineTo(0.6, -0.364).lineTo(0.529, -0.435).lineTo(-0.563, -0.435).threePointArc((-0.589, -0.424), (-0.6, -0.396)).lineTo(-0.6, 0.389).lineTo(-0.555, 0.38... | 9 | 59 | 0.625625 |
train_09e3e21fe8d18299 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.336, 0, -0.469), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.509, 0.502).lineTo(0.509, 0.347).lineTo(0.664, 0.347).lineTo(0.664, -0.425).lineTo(0.585, -0.425).lineTo(0.585, -0.502).lineTo(-0.534, -0.502).lineTo(-0.534, -0.372).lineTo(-0.664, -0... | 11 | 100 | 0.768561 |
train_1db6da77f065d4a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.067, 0.002, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 0.4).lineTo(0.677, -0.4).lineTo(-0.677, -0.4).lineTo(-0.389, 0.4).lineTo(0.389, 0.4).close().extrude(0.671, taper=2.797)
result = result.union(cq.Workplane(cq.Plane(origin=(-... | 17 | 136 | 1.044063 |
train_2af4a38b83be4186 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.173, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.463).extrude(0.85)
result = result.union(cq.Workplane(cq.Plane(origin=(0.173, 0, -0.404), normal=(0.254, 0, 0.967), xDir=(0.967, 0, -0.254))).circle(0.352).extrude(1.35))
result = result.c... | 10 | 119 | 0.991621 |
train_41fb3f1909fb9d97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.035, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.571, 0.424).lineTo(0.571, 0.212).lineTo(1, 0.212).lineTo(1, -0.212).lineTo(0.783, -0.212).lineTo(0.783, 0).lineTo(0.36, 0).lineTo(0.36, -0.424).lineTo(0.148, -0.424).lineTo(0.148, -0.... | 14 | 131 | 0.124714 |
train_7d071935274533ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.573, -0.335, 0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.157, 0.358).threePointArc((0.211, 0.343), (0.262, 0.317)).threePointArc((0.422, 0.156), (0.262, -0.004)).lineTo(-0.262, -0.004).threePointArc((-0.422, 0.156), (-0.262, 0.317)).line... | 5 | 74 | 0.852716 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.