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_55a256577bb90308 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.112, -0.206), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.412).lineTo(0.92, 0.348).lineTo(1, 0.144).lineTo(1, 0).lineTo(0.855, 0).lineTo(0.855, 0.123).lineTo(0.754, 0.348).lineTo(0, 0.266).lineTo(0, 0.412).lineTo(0.951, 0.412).close(... | 8 | 30 | 0.29044 |
train_0d587058aa93cb76 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.182)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.756).extrude(0.547, both=True))
result = result.union(cq.Workpl... | 14 | 89 | 0.436284 |
train_2d23744e20cbe88c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.053, -0.012, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.627, 0.987).threePointArc((0.907, 0.971), (1.002, 0.891)).threePointArc((1.055, 0.673), (0.963, 0.365)).threePointArc((0.236, -0.515), (-0.629, -0.976)).lineTo(-0.752, -0.987).th... | 10 | 48 | 1.048874 |
train_fb7eb0452aff5381 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.563, -0.597, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.063, 0.583).threePointArc((0.158, 0.55), (0.225, 0.466)).threePointArc((0.252, 0.354), (0.248, 0.248)).threePointArc((0.242, 0.17), (0.264, 0.117)).threePointArc((0.324, 0.072), (0.41... | 19 | 201 | 1.606402 |
train_5204a79df4de090a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.154, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.125, 0.135).threePointArc((0.221, 0.119), (0.261, 0.083)).lineTo(0.261, 0.012).threePointArc((0.252, 0.004), (0.229, 0)).lineTo(0.117, 0).threePointArc((0.097, -0.004), (0.087, -0.012)).lin... | 10 | 183 | 0.227832 |
train_8ff448a314789527 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.724), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.667, 1).lineTo(0.667, -1).lineTo(0, -1).lineTo(0, -0.333).lineTo(-0.667, -0.333).lineTo(-0.667, 0.333).lineTo(0, 0.333).lineTo(0, 1).lineTo(0.667, 1).close().extrude(1.448)
result = result... | 18 | 70 | 1.101983 |
train_140cee07ab0456e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.196, 0, -0.496), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.123, 0.991).lineTo(0.123, 0.123).lineTo(0.391, 0.123).lineTo(0.391, 0).lineTo(0, 0).lineTo(0, 0.991).lineTo(0.123, 0.991).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 7 | 36 | 0.294717 |
train_17de5c2aad355b63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-2.674, -1.246, -0.6), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.649, 2.43).threePointArc((0.77, 2.329), (0.822, 2.088)).lineTo(0.822, 1.141).threePointArc((0.872, 0.908), (0.99, 0.81)).lineTo(2.321, 0.81).threePointArc((2.423, 0.725), (2.467, 0... | 6 | 13 | 4.456581 |
train_b2082c060fbbc1d7 | 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.17, 0.974).threePointArc((0.181, 0.946), (0.185, 0.879)).lineTo(0.185, 0.688).threePointArc((0.18, 0.615), (0.169, 0.584)).lineTo(-0.114, 0.584).threePointArc((-0.121, 0.567), (-0.123, 0.525))... | 1 | 26 | 0.946632 |
train_a0bdcb533a161b8e | 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.468, 1).lineTo(0.468, -0.983).lineTo(0.459, -0.983).lineTo(0.459, -1).lineTo(-0.461, -1).lineTo(-0.468, -0.985).lineTo(-0.468, 0.982).threePointArc((-0.465, 0.989), (-0.458, 1)).lineTo(0.4... | 14 | 216 | 0.219646 |
train_573c4fc1067ab754 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, 0.853).threePointArc((0.954, 0.814), (1, 0.721)).lineTo(1, -0.271).threePointArc((0.946, -0.381), (0.818, -0.427)).lineTo(0.638, -0.427).threePointArc((0.541, -0.462), (0.5, -0.544)).... | 12 | 286 | 1.631607 |
train_8848cd84746c1edd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.335, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.008, 1.335).lineTo(0.375, 0.983).lineTo(0.155, 0.51).lineTo(-0.331, 0.606).lineTo(-0.375, 1.043).lineTo(-0.008, 1.335).close().revolve(angleDegrees=90, axisStart=(-0.424, -0.665), axisEnd... | 10 | 285 | 0.80251 |
train_b5dd270eefaab5a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.033, 0.054, -0.808), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.104, 0.011).threePointArc((0.117, 0.011), (0.122, 0)).threePointArc((0.115, -0.011), (0.103, -0.011)).threePointArc((0.097, 0), (0.104, 0.011)).close().sweep(cq.Workplane(cq.Plane... | 4 | 59 | 0.087901 |
train_4c6cba82f039636a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.225, 0.453).lineTo(1.225, -0.472).lineTo(-1.206, -0.472).lineTo(-1.206, -0.453).lineTo(-1.225, -0.453).lineTo(-1.225, 0.446).threePointArc((-1.218, 0.465), (-1.201, 0.472)).lineTo(1.208, 0.4... | 8 | 59 | 0.265097 |
train_09fd87cfbfd72386 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.104, -0.272, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.424, 0.545).threePointArc((0.303, 0.545), (0.424, 0.424)).lineTo(0.331, 0.331).threePointArc((0.317, 0.303), (0.331, 0.275)).lineTo(0.424, 0.182).threePointArc((0.545, 0.061), (... | 13 | 41 | 0.486442 |
train_56d7684ebad1ee99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.485, 0.808).lineTo(0.945, 0.008).lineTo(0.462, -0.827).lineTo(-0.471, -0.822).lineTo(-0.945, 0.012).lineTo(-0.452, 0.827).lineTo(0.485, 0.808).close().extrude(0.294, taper=-10.449, both=Tru... | 3 | 46 | 1.630893 |
train_dfbc3bbc90649036 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, 0.019, -0.902), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.728, 1.804).lineTo(0.728, 1.091).lineTo(1.018, 1.091).lineTo(1.018, 0.82).lineTo(0.626, 0.82).lineTo(0.626, 0.594).lineTo(0.682, 0.594).lineTo(0.682, 0).lineTo(0, 0).lineTo(0, 1.... | 12 | 82 | 1.110906 |
train_e758c54b64c11f27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.032, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.068, 0.558).lineTo(-0.07, 0.153).lineTo(0.072, 0.118).lineTo(0.074, 0.524).lineTo(0.123, 0.512).lineTo(0.117, -0.571).lineTo(0.068, -0.558).lineTo(0.07, -0.153).lineTo(-0.072, -0.118).lin... | 14 | 184 | 0.060833 |
train_af9887c5ec043a19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.324)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.805).extrude(0.969, both=True))
result = result.union(cq.Workpl... | 12 | 35 | 0.547906 |
train_9c8935c176a02f87 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.029, 0.42, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.517, 1.029).threePointArc((0, 0.511), (-0.517, 1.029)).threePointArc((0, 1.547), (0.517, 1.029)).close().workplane(offset=0.167).moveTo(0.547, 1.029).threePointArc((0, 0.483), (-0.547, ... | 12 | 30 | 1.091047 |
train_08c324663203605b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.136, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.383, 0.507).threePointArc((0.488, 0.478), (0.532, 0.412)).lineTo(0.532, -0.256).threePointArc((0.415, -0.433), (0.137, -0.507)).lineTo(-0.248, -0.507).threePointArc((-0.449, -0.454), ... | 16 | 1,129 | 1.405956 |
train_a67c14d7b3e0334a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.308)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.53).extrude(0.927, both=True))
result = result.union(cq.Workplane... | 10 | 36 | 1.114876 |
train_d7fab6215b314279 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.582, -0.226, -0.189), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.116, 0.935).threePointArc((0.201, 0.923), (0.263, 0.866)).threePointArc((0.287, 0.781), (0.292, 0.701)).threePointArc((0.311, 0.637), (0.35, 0.57)).threePointArc((0.376, 0.49), (... | 6 | 174 | 1.024961 |
train_f7706dc88a5e0d83 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.072, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.225, 0.175).lineTo(0.225, -0.175).lineTo(-0.225, -0.175).lineTo(-0.225, 0.175).lineTo(-0.131, 0.175).lineTo(-0.131, -0.082).lineTo(0.131, -0.082).lineTo(0.131, 0.175).lineTo(0.225, 0.175).... | 3 | 40 | 0.077231 |
train_8bc9969de67115d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.105, -0.009, -0.801), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0.587).lineTo(0.656, -0.587).lineTo(-0.656, -0.587).lineTo(-0.656, -0.196).lineTo(0.328, -0.196).lineTo(0.328, 0.196).lineTo(-0.656, 0.196).lineTo(-0.656, 0.587).lineTo(0.65... | 9 | 81 | 2.610852 |
train_ed2d44c7cc903b81 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.278, 0, -0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.175, 0.621).threePointArc((0.279, 0.591), (0.377, 0.547)).threePointArc((0.465, 0.491), (0.543, 0.425)).threePointArc((0.609, 0.348), (0.662, 0.264)).threePointArc((0.699, 0.173), (0.7... | 16 | 285 | 0.274593 |
train_334a222b8a490658 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.354).lineTo(1, 0.241).lineTo(0.183, 0.241).lineTo(0.183, -0.354).lineTo(-0.183, -0.354).lineTo(-0.183, 0.241).lineTo(-1, 0.241).lineTo(-1, 0.354).lineTo(1, 0.354).close().extrude(0.258)... | 4 | 35 | 0.089804 |
train_935f4d594cdd25ae | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.138, 1).threePointArc((-0.041, 0.959), (0, 0.862)).lineTo(0, 0.163).threePointArc((0.048, 0.048), (0.163, 0)).lineTo(0.314, 0).threePointArc((0.445, 0.055), (0.5, 0.186)).lineTo(0.5, 0.385).threePointArc((0.534, 0.466), (0.615, 0.5)).lineTo(0.854, ... | 8 | 186 | 0.531192 |
train_cfa212b5d2ceabd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.999, 0.057), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.06, 0.371).threePointArc((0.289, 0.283), (0.44, 0.119)).threePointArc((0.474, -0.077), (0.381, -0.252)).threePointArc((0.186, -0.36), (-0.06, -0.371)).threePointArc((-0.289, -0.283), ... | 7 | 22 | 1.016216 |
train_2e05048097d66042 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.219, 0.378, -0.241), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.44).threePointArc((0.311, 0.311), (0.44, 0)).threePointArc((0.311, -0.311), (0, -0.44)).threePointArc((-0.311, -0.311), (-0.44, 0)).threePointArc((-0.311, 0.311), (0, 0.44)).cl... | 2 | 15 | 1.499284 |
train_d7f486e334f65d06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.693, 0.414).lineTo(0.921, 0.305).lineTo(1, 0.145).lineTo(1, 0).lineTo(0.92, 0).lineTo(0.92, 0.124).lineTo(0.82, 0.305).lineTo(0, 0.333).lineTo(0, 0.414).lineTo(0.693, 0.414).close().revol... | 3 | 40 | 0.236593 |
train_2fe9cf02c161aee0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.459, 0, -0.557), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.234, 0.486).lineTo(-0.234, -0.178).lineTo(0.541, -0.178).lineTo(0.541, -0.486).lineTo(-0.541, -0.486).lineTo(-0.541, 0.486).lineTo(-0.234, 0.486).close().extrude(1.282)
result = resu... | 9 | 85 | 0.577126 |
train_0cb8e68a07fcd622 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.196, 0, -0.216), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.215, 0.455).lineTo(0.215, 0.215).lineTo(0.635, 0.215).lineTo(0.635, 0).lineTo(0, 0).lineTo(0, 0.455).lineTo(0.215, 0.455).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 9 | 73 | 0.352252 |
train_4216e181bfdcb5fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.194, 0.271, -0.035), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.023, 0.141).lineTo(0.079, 0.077).lineTo(0.029, -0.034).lineTo(-0.079, 0.031).lineTo(-0.023, 0.141).close().extrude(0.174)
result = result.faces('<Z').shell(-0.005)
result = result... | 11 | 103 | 0.777013 |
train_4b12e964f120d9e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.096, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.863, 0.905).threePointArc((0.891, 0.891), (0.903, 0.857)).lineTo(0.903, 0.623).threePointArc((0.884, 0.567), (0.837, 0.544)).lineTo(-0.55, 0.544).threePointArc((-0.587, 0.525), (-0.603... | 6 | 64 | 0.642673 |
train_5ff58706b6deeb89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, -0.206, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.143, 0).threePointArc((0.101, 0.101), (0, 0.143)).lineTo(0, 0.571).close().extrude(2)
result = result.union(cq.Workplane(cq... | 6 | 16 | 0.598251 |
train_34bfb24ddc8bc3cc | 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, 0.859).lineTo(0, 0.286).lineTo(1, 0.286).lineTo(1, -0.859).lineTo(-1, -0.859).lineTo(-1, 0.286).lineTo(-0.5, 0.286).lineTo(-0.5, 0.859).lineTo(0, 0.859).close().extrude(0.429)
result = re... | 5 | 90 | 0.78006 |
train_a8f35d890f45f20c | 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.511).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.39), normal=(0.444, 0, 0.896), xDir=(0.896, 0, -0.444))).circle(0.214).extrude(2.052))
result = result.cut(cq.Workpl... | 6 | 11 | 0.262084 |
train_dbc6476493130577 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.219, -0.379, -0.281), normal=(0.71, -0.564, 0.423), xDir=(0.622, 0.783, 0))).moveTo(0.276, 0.267).lineTo(0.276, 0.038).lineTo(-0.197, 0.038).lineTo(-0.197, -0.038).lineTo(0.276, -0.038).lineTo(0.276, -0.267).lineTo(-0.276, -0.267).lineTo(-0.276,... | 4 | 55 | 0.948248 |
train_8e31fb438a1b70c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.836, 0.181).threePointArc((0.946, 0.135), (1, 0.026)).lineTo(1, -0.025).threePointArc((0.946, -0.135), (0.834, -0.181)).lineTo(-0.902, -0.181).lineTo(-1, -0.093).lineTo(-1, 0.038).lineTo(-... | 15 | 148 | 0.414631 |
train_673057333b07d7f0 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.035, 0.153).lineTo(0.098, 0.123).lineTo(0.142, 0.068).lineTo(0.157, 0).lineTo(0.142, -0.068).lineTo(0.098, -0.123).lineTo(0.035, -0.153).lineTo(-0.035, -0.153).lineTo(-0.098, -0.123).lineTo(-0.142, -0.068).lineTo(-0.157, 0).lineTo(-0.142, 0.068).lin... | 1 | 16 | 0.150088 |
train_a36334720802f1f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.053, 0, 0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.572, 0.768).lineTo(-0.513, 0.724).lineTo(-0.513, 0.608).lineTo(-0.385, 0.512).lineTo(0.764, 0.512).lineTo(0.851, 0.444).lineTo(0.851, 0.34).lineTo(0.743, 0.256).lineTo(0.621, 0.256).li... | 9 | 136 | 0.955359 |
train_735f6d4bfbefd3c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.11, -0.222, 0.126), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.033, 0.137).lineTo(0.063, 0.128).lineTo(0.129, 0.06).lineTo(0.137, -0.036).lineTo(0.082, -0.113).lineTo(-0.011, -0.137).lineTo(-0.098, -0.097).lineTo(-0.137, -0.009).lineTo(-0.11... | 4 | 47 | 0.365144 |
train_2176513645e6712e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.761), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.733, 0.978).lineTo(0.733, 0.71).lineTo(1, 0.71).lineTo(1, -0.481).threePointArc((0.854, -0.832), (0.503, -0.978)).lineTo(-0.407, -0.978).threePointArc((-0.827, -0.803), (-1, -0.384)).lineT... | 8 | 28 | 1.984126 |
train_79e5bd367e59b3f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.408, 0.514), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.582).threePointArc((0.411, 0.411), (0.582, 0)).threePointArc((0.411, -0.411), (0, -0.582)).threePointArc((-0.411, -0.411), (-0.582, 0)).threePointArc((-0.411, 0.411), (0, 0.582)).c... | 3 | 35 | 0.337148 |
train_fd7de13a7417d444 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.565, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.621, 0.435).lineTo(0.621, 0.381).lineTo(0.673, 0.381).lineTo(0.673, -0.435).lineTo(-0.609, -0.435).threePointArc((-0.655, -0.415), (-0.673, -0.369)).lineTo(-0.673, 0.356).lineTo(-0.596... | 15 | 91 | 0.787247 |
train_89c76133a6dc93cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.732, 0.664).threePointArc((0.913, 0.585), (1, 0.4)).lineTo(1, 0.252).threePointArc((0.917, 0.075), (0.744, 0)).lineTo(0.525, 0).threePointArc((0.389, -0.057), (0.332, -... | 12 | 183 | 0.124408 |
train_0a17382ec92d3258 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.292, 1.199, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.478, 1.671).lineTo(0.239, 0.716).lineTo(1.193, 1.193).lineTo(0.716, 0.239).lineTo(1.671, -0.239).lineTo(0.716, -0.478).lineTo(0.478, -1.671).lineTo(-0.239, -0.716).lineTo(-1.193, ... | 9 | 22 | 0.33976 |
train_51ec37a272076bb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.002, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.858, -0.183).lineTo(0.974, -0.238).lineTo(0.96, -0.286).lineTo(0.839, -0.258).lineTo(0.767, -0.428).lineTo(0.86, -0.514).lineTo(0.833, -0.557).lineTo(0.725, -0.494).lineTo(0.607, ... | 6 | 238 | 0.630513 |
train_88ca34488760c8c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.499, 0.511, -0.467), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.265, 0.506).threePointArc((0.265, 0.506), (0.529, 0.048)).threePointArc((0.265, -0.41), (-0.265, -0.41)).threePointArc((-0.529, 0.048), (-0.265, 0.506)).close().extrude(1)
result... | 7 | 45 | 2.579825 |
train_a9b78fee8e8f62f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, -0.121, -0.707), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.025, 0.868).lineTo(0.169, 0.775).threePointArc((0.18, 0.766), (0.188, 0.753)).lineTo(0.201, 0.721).threePointArc((0.203, 0.711), (0.203, 0.7)).lineTo(0.044, -0.422).threePointArc... | 7 | 47 | 0.273131 |
train_a2ec3da7694803b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.437, 0, -0.366), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.656, 0.732).lineTo(0.656, 0.656).lineTo(0.873, 0.656).lineTo(0.873, 0).lineTo(0, 0).lineTo(0, 0.732).lineTo(0.656, 0.732).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 4 | 13 | 1.069698 |
train_d51c6fe052381d2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.604), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.704, 0.704).lineTo(1, 0).lineTo(0.704, -0.704).lineTo(0, -1).lineTo(-0.704, -0.704).lineTo(-1, 0).lineTo(-0.704, 0.704).lineTo(0, 1).close().extrude(1.209)
result = result.cut... | 8 | 97 | 1.710402 |
train_6fb11bcccb40af2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.482), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.633, 0.966).threePointArc((0.825, 0.897), (0.905, 0.734)).lineTo(0.905, 0.295).threePointArc((0.87, 0.223), (0.786, 0.193)).lineTo(0.562, 0.193).threePointArc((0.485, 0.165), (0.453, 0.1))... | 12 | 149 | 0.958295 |
train_e006c902f82ca2aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.336, -0.241, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.172, 0.641).threePointArc((0.187, 0.55), (0.332, 0.574)).threePointArc((0.521, 0.257), (0.641, 0.172)).threePointArc((0.55, -0.187), (0.574, -0.332)).threePointArc((0.257, -0.52... | 13 | 145 | 2.640881 |
train_464e29731c904854 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.077, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.31, 0.922).threePointArc((0.437, 0.871), (0.49, 0.753)).lineTo(0.49, 0.608).threePointArc((0.536, 0.505), (0.646, 0.461)).lineTo(0.795, 0.461).threePointArc((0.924, 0.41), (0.979, 0.2... | 18 | 292 | 1.352958 |
train_34ed1d71413d823c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.676, 0.332).lineTo(0.676, 0.205).lineTo(0.151, 0.205).lineTo(0.151, -0.332).lineTo(-0.151, -0.332).lineTo(-0.151, 0.205).lineTo(-0.676, 0.205).lineTo(-0.676, 0.332).lineTo(0.676, 0.332).close().extrude(1, taper=-5.329, both=True)
result = result.uni... | 3 | 52 | 1.066498 |
train_573fb30a832cddc8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.179, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.176, 0.344).lineTo(0.176, 0.014).threePointArc((-0.176, 0.179), (0.176, 0.344)).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.036, -0.078, 0.007), normal=(-1, 0, ... | 10 | 36 | 0.223172 |
train_3fe97e77d09f1f6a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.15, 0.008, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 0.921).lineTo(0.773, 0.213).lineTo(0.539, -0.626).threePointArc((-0.335, -0.921), (-0.773, 0.662)).lineTo(0.141, 0.921).close().extrude(0.39, taper=-9.889)
result = result.cut(... | 6 | 48 | 1.11329 |
train_89bac804db3e6e1b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.897, 0, -3.454), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.335).extrude(2.741)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.897, 0, -1.535), normal=(0.398, 0, 0.917), xDir=(0.917, 0, -0.398))).circle(0.299).extrude(2.633))
result = ... | 5 | 8 | 0.192601 |
train_74c07ba60c38b0ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.56), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.861, 0.833).lineTo(0.861, 0.694).lineTo(1, 0.694).lineTo(1, -0.618).lineTo(0.784, -0.618).lineTo(0.784, -0.833).lineTo(-0.761, -0.833).lineTo(-0.761, -0.595).lineTo(-1, -0.595).lineTo(-1, 0... | 5 | 28 | 1.44356 |
train_bcb5078d88a1e73b | 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.73).extrude(1.893)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.326), normal=(0.3, 0, 0.954), xDir=(0.954, 0, -0.3))).circle(0.394).extrude(0.582))
result = result.cut(cq.Workpl... | 13 | 184 | 2.32128 |
train_7842779f6ec66e02 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.121, 0, 0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.923).lineTo(0, 0.308).lineTo(1.12, 0.308).lineTo(1.12, -0.308).lineTo(0, -0.308).lineTo(0, -0.923).lineTo(-1.12, -0.923).lineTo(-1.12, 0.308).lineTo(-0.56, 0.308).lineTo(-0.56, 0.923... | 31 | 114 | 0.569784 |
train_5ffa5d3678db87c3 | 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.152, 0.382).threePointArc((0.214, 0.352), (0.27, 0.312)).lineTo(0.383, 0.104).threePointArc((0.392, -0.004), (0.382, -0.111)).lineTo(0.276, -0.305).threePointArc((0.212, -0.35), (0.142, -0.384... | 6 | 51 | 0.779105 |
train_87040e8625cddfe2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.754, -0.567, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.637, 1.566).threePointArc((0.831, 1.485), (0.912, 1.289)).lineTo(0.912, 0.001).threePointArc((0.831, -0.194), (0.637, -0.275)).lineTo(0.249, -0.433).lineTo(-0.139, -0.371).lineTo(... | 6 | 160 | 1.989564 |
train_b3dc9a0ca453c32f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.566, 0, -0.553), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.28, 1.105).lineTo(0.28, 0.28).lineTo(1.131, 0.28).lineTo(1.131, 0).lineTo(0, 0).lineTo(0, 1.105).lineTo(0.28, 1.105).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq... | 6 | 76 | 0.906586 |
train_c8f86c3cb2d30bc4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.128, -0.393), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.941, 0.281).lineTo(0.941, 0.223).lineTo(1, 0.223).lineTo(1, -0.214).threePointArc((0.979, -0.262), (0.931, -0.281)).lineTo(-0.929, -0.281).threePointArc((-0.979, -0.261), (-1, -0.212))... | 15 | 101 | 0.426611 |
train_a20c0d472df8bae3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.934, 0.6).threePointArc((0.98, 0.581), (1, 0.535)).lineTo(1, 0.302).threePointArc((0.969, 0.23), (0.897, 0.2)).lineTo(0.3, 0.2).threePointArc((0.23, 0.17), (0.2, 0.1)).lineTo(0.2, -0.116).threePointArc((0.225, -0.175), (0.284, -0.2)).lineTo(0.518, -... | 2 | 50 | 1.201636 |
train_cace3ea006bc23e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.474, -0.478, -0.096), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.19, 0.326).lineTo(0.19, -0.078).threePointArc((-0.19, 0.124), (0.19, 0.326)).close().revolve(angleDegrees=360, axisStart=(-0.332, -0.081), axisEnd=(-0.332, 0.081))
result = resul... | 6 | 34 | 0.542752 |
train_a796bf36b8212d7c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.032, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.828).lineTo(1, 0.497).lineTo(-0.664, 0.497).lineTo(-0.664, -0.497).lineTo(1, -0.497).lineTo(1, -0.828).lineTo(-1, -0.828).lineTo(-1, 0.828).lineTo(1, 0.828).close().extrude(0.601)
r... | 9 | 103 | 1.054524 |
train_53ffa7c18405c9f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.676, -0.009, -0.316), normal=(-0.115, 0.933, 0.34), xDir=(-0.993, -0.122, 0))).moveTo(0.193, 0.557).lineTo(0.193, 0.334).lineTo(-0.128, 0.334).lineTo(-0.128, 0.111).lineTo(0.193, 0.111).lineTo(0.193, -0.557).lineTo(-0.193, -0.557).lineTo(-0.193... | 13 | 240 | 0.414911 |
train_ae02fdb88d542da3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.041, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.253, 0.346).threePointArc((0.412, 0.186), (0.253, 0.027)).lineTo(-0.253, 0.027).threePointArc((-0.412, 0.186), (-0.253, 0.346)).lineTo(0.253, 0.346).close().extrude(2)
result = result.cut... | 20 | 8 | 0.930871 |
train_2013e72f5bd8626e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.061, -0.004, -0.56), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.33, 0.995).lineTo(0.33, -0.995).lineTo(-0.33, -0.995).lineTo(-0.33, 0.995).lineTo(-0.199, 0.995).lineTo(-0.199, -0.587).lineTo(0.199, -0.587).lineTo(0.199, 0.995).lineTo(0.33, 0.99... | 8 | 105 | 0.393096 |
train_aea593cd22f70161 | 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.967, 0.198).workplane(offset=2).rect(0.373, 0.171).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.066).extrude(0.595, both=Tr... | 5 | 22 | 0.212193 |
train_d0ed37cc734dd50a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.05, 0.132, -0.622), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.217, 0.567).lineTo(0.284, 0.5).lineTo(0.284, 0.448).lineTo(0.353, 0.378).lineTo(0.443, 0.378).lineTo(0.473, 0.349).lineTo(0.473, 0.218).lineTo(0.443, 0.189).lineTo(0.314, 0.189).lin... | 23 | 216 | 0.5468 |
train_55dcc47b630df0b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.561, 0.723).threePointArc((0.59, 0.708), (0.602, 0.674)).lineTo(0.602, 0.559).threePointArc((0.587, 0.514), (0.549, 0.496)).lineTo(0.158, 0.496).threePointArc((0.114, ... | 6 | 98 | 0.33778 |
train_72caa228d1f3da75 | 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.737).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.391), normal=(0.814, 0, 0.581), xDir=(0.581, 0, -0.814))).circle(0.203).extrude(2.048))
result = result.cut(cq.Workp... | 6 | 17 | 1.781455 |
train_b30322f22ec7760b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.589, 0.485, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.584, 1.485).lineTo(-0.25, 1.444).lineTo(-0.323, 0.841).lineTo(0.399, 0.754).lineTo(0.471, 1.357).lineTo(0.805, 1.317).lineTo(0.584, -0.515).lineTo(0.25, -0.475).lineTo(0.323, 0.128).l... | 1 | 14 | 2.001526 |
train_f3ca124ccbcd01bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.053, 0.23, 0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.777, 0.202).threePointArc((0.92, 0), (0.777, -0.202)).lineTo(0, -0.202).lineTo(-0.777, -0.202).threePointArc((-0.92, 0), (-0.777, 0.202)).lineTo(0, 0.202).lineTo(0.777, 0.202).close... | 14 | 140 | 0.374925 |
train_1d426ac6e0ba0d4c | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.791, 1.585, 2)
result = result.edges().fillet(0.349)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.367).extrude(3.583, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 16 | 209 | 2.315937 |
train_36c419423f7726f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.132, -0.006, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.06, 0.123).lineTo(0.06, -0.027).threePointArc((-0.06, 0.048), (0.06, 0.123)).close().extrude(0.442)
result = result.union(cq.Workplane(cq.Plane(origin=(0.066, 0, 0.36), normal=(0,... | 5 | 107 | 0.147576 |
train_f3e3c4bd745dfa9c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.016, 0.147, -0.946), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.061, 0.058).lineTo(0.061, 0.035).lineTo(-0.041, 0.035).lineTo(-0.041, 0.012).lineTo(0.061, 0.012).lineTo(0.061, -0.058).lineTo(-0.061, -0.058).lineTo(-0.061, -0.035).lineTo(0.041,... | 15 | 226 | 0.188762 |
train_bcbfba4f41d410dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.079, 0.049, -0.362), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.394, 1.361).lineTo(0.394, 0.397).lineTo(0.575, 0.397).lineTo(0.575, 0).lineTo(0.212, 0).lineTo(0.212, 1.361).lineTo(0.394, 1.361).close().revolve(angleDegrees=360, axisStart=(0, 0... | 12 | 143 | 0.282543 |
train_1a3c2f80a01c82f8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.397, 0.482, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.41, 0.884).lineTo(0.41, -0.089).threePointArc((-0.41, 0.398), (0.41, 0.884)).close().workplane(offset=0.18).moveTo(0.332, 0.792).lineTo(0.332, 0.004).threePointArc((-0.332, 0.398), (0.... | 1 | 4 | 1.127895 |
train_86c3397b24b4c8c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.449), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.684, 0.898).lineTo(0.684, 0.554).lineTo(1, 0.554).lineTo(1, 0).lineTo(0.102, 0).lineTo(0.102, 0.898).lineTo(0.684, 0.898).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 11 | 128 | 1.535862 |
train_157965ddf8184bce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.578, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.413, 1.38).threePointArc((0.721, 1.26), (0.92, 1.037)).threePointArc((0.979, 0.743), (0.889, 0.424)).threePointArc((0.663, 0.129), (0.337, -0.098)).threePointArc((-0.041, -0.221), (-0.413... | 3 | 29 | 4.292719 |
train_a1ce1507468dc55f | 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(1, 0.77).lineTo(1, -0.77).lineTo(-1, -0.77).lineTo(-1, 0.77).lineTo(1, 0.77).close().extrude(0.264)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.036, -0.16, 0.049), normal=(0, 0, 1... | 16 | 111 | 0.904865 |
train_ca8ee65182d0b24b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0, 0.5).lineTo(0.5, 0.5).lineTo(0.5, -0.5).lineTo(1, -0.5).lineTo(1, -1).lineTo(-0.5, -1).lineTo(-0.5, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.5, 0.5).lineTo(-0.5, 1).lineTo(0... | 10 | 18 | 1.678251 |
train_cb485fe5e7deac79 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-3.252, 2.157, -0.856), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.068, 3.936).threePointArc((1.656, 3.728), (2.204, 3.434)).threePointArc((2.702, 3.059), (3.136, 2.614)).threePointArc((3.498, 2.107), (3.778, 1.552)).threePointArc((3.971, 0.959),... | 5 | 9 | 0.247595 |
train_1f6fccfeb622ba2d | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.459).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.111).extrude(0.715, both=True))
result = result.cut(cq.Workplane('XY').circle(0.283).extrude(2.978, both=True))
resu... | 7 | 36 | 0.682451 |
train_67e2c5d68ac0f45a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.015, 0.001, 0.811), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.472, 0.833).threePointArc((-0.329, 0.866), (-0.175, 0.777)).lineTo(0.038, 0.654).threePointArc((0.316, 0.816), (0.499, 0.67)).threePointArc((0.877, 0.513), (0.904, 0.145)).lineTo... | 8 | 214 | 2.910781 |
train_cb9081bc34df29ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.079, 0.302, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.039, 0.095).lineTo(0.056, 0.074).threePointArc((0.057, 0.071), (0.058, 0.067)).lineTo(0.058, 0.024).threePointArc((0.077, 0), (0.077, -0.024)).threePointArc((0.077, -0.047), (0.058, -0.... | 14 | 129 | 0.695761 |
train_14a1c8f59108d17a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, 1.197, 0.265), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.56, 2.02).threePointArc((0.683, 1.969), (0.735, 1.845)).lineTo(0.735, 0.549).threePointArc((0.683, 0.425), (0.56, 0.374)).lineTo(-0.56, 0.374).threePointArc((-0.683, 0.425), (-0.735, 0.... | 1 | 10 | 4.755192 |
train_c4f6a00d239762a2 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(0.553, 0.526).lineTo(1, 0.497).lineTo(0.931, -0.546).lineTo(0.782, -0.536).lineTo(0.841, 0.358).lineTo(0.692, 0.367).lineTo(0.633, -0.526).lineTo(0.186, -0.497).lineTo(0.255, 0.546).lineTo(0.404, 0.536).lineTo(0.345, -0.358).lineTo(0.494, -0.367).line... | 3 | 12 | 1.91041 |
train_f86f4fcfffe523e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.374), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.995, 0.077).lineTo(0.995, -0.105).lineTo(0.787, -0.105).lineTo(0.787, 0.077).threePointArc((0.798, 0.105), (0.81, 0.077)).threePointArc((0.822, 0.049), (0.833, 0.077)).threePointArc((0.84... | 3 | 41 | 1.009337 |
train_2fdafcb39b5e4997 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.194, 0.882).threePointArc((0.292, 0.827), (0.333, 0.698)).lineTo(0.333, 0.28).threePointArc((0.396, 0.083), (0.543, 0)).lineTo(0.826, 0).threePointArc((0.947, -0.067), (0.998, -0.227)).lin... | 12 | 60 | 1.856558 |
train_b77c684f3fa33b67 | 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.855).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.4), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.492).extrude(0.935))
result = result.cut(cq.Workplane(cq.Plane(origi... | 9 | 15 | 1.282783 |
train_baa2aed5e360a0e4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.224, -0.226).lineTo(0.224, -0.243).lineTo(0.143, -0.278).threePointArc((0.104, -0.289), (0.061, -0.296)).lineTo(-0.012, -0.306).threePointArc((-0.056, -0.3), (-0.097, -0.287)).lineTo(-0.158, -0.261).lineTo(-0.282, -0.184).threePointArc((-0.315, -0.1... | 3 | 38 | 0.692278 |
train_748a167053637508 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.193, 0, -0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.294, 1).lineTo(0.58, 0.71).lineTo(0.58, -0.708).threePointArc((0.496, -0.907), (0.293, -1)).lineTo(-0.401, -1).lineTo(-0.401, -0.816).lineTo(-0.58, -0.816).lineTo(-0.58, 0.766).lineTo(... | 9 | 42 | 0.193012 |
train_4f2dcb26067385b0 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.668, 0.325).threePointArc((0.998, 0), (0.668, -0.325)).lineTo(-0.668, -0.325).threePointArc((-0.998, 0), (-0.668, 0.325)).lineTo(0.668, 0.325).close().moveTo(0.032, 0.259).threePointArc((0.069, 0.229), (0.084, 0.158)).lineTo(0.084, -0.002).threePoin... | 3 | 60 | 0.291107 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.