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_81e68d1e9bb9625f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.049, -0.245, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.672, 0.559).lineTo(0.672, 0.335).lineTo(-0.448, 0.335).lineTo(-0.448, 0.111).lineTo(0.672, 0.111).lineTo(0.672, -0.559).lineTo(-0.672, -0.559).lineTo(-0.672, -0.335).lineTo(0.448, -0.... | 5 | 207 | 1.592153 |
train_74903e5ca024f5a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.036, -0.003, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.829, 0.692).lineTo(0.416, -0.024).threePointArc((0.798, 0.095), (0.962, -0.202)).threePointArc((0.798, -0.434), (0.419, -0.32)).lineTo(-0.472, -0.852).lineTo(-0.537, -0.825).line... | 11 | 90 | 0.74338 |
train_1860f48a7369c784 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.764, -0.319, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.266, 0.799).lineTo(0.279, 0.643).lineTo(0.718, 0.261).lineTo(0.559, -0.307).lineTo(0.105, -0.563).lineTo(-0.402, -0.543).lineTo(-0.718, -0.129).lineTo(-0.677, 0.402).lineTo(-0.266, ... | 13 | 95 | 2.028498 |
train_14994f30d60f3607 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.661), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.398, 1).lineTo(0.46, 0.94).lineTo(0.46, -0.948).lineTo(0.408, -1).lineTo(-0.399, -1).lineTo(-0.46, -0.94).lineTo(-0.46, 0.935).lineTo(-0.395, 0.935).lineTo(-0.395, 1).lineTo(0.398, 1).clos... | 4 | 33 | 1.778385 |
train_1efa76fae56d364c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.57, -0.34, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.138).threePointArc((0.806, 0.806), (1.138, 0)).lineTo(0.567, 0).threePointArc((0.402, 0.402), (0, 0.567)).lineTo(0, 1.138).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 7 | 34 | 1.595963 |
train_66a1e74a59caeec9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.48, 0.614).threePointArc((0.59, 0.58), (0.637, 0.5)).lineTo(0.637, 0.047).threePointArc((0.618, 0.014), (0.572, 0)).lineTo(0.277, 0).threePointArc((0.232, -0.014), (0.212, -0.047)).line... | 10 | 152 | 0.946632 |
train_b851ed61cd023a7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.891, 0.17).lineTo(1, 0.061).lineTo(1, -0.003).lineTo(0.834, -0.17).lineTo(-0.863, -0.17).lineTo(-1, -0.033).lineTo(-1, 0.027).lineTo(-0.857, 0.17).lineTo(0.891, 0.17).close().extrude(0.119... | 9 | 34 | 0.058368 |
train_91fff42c9bbe8d66 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1.006, 0.18).lineTo(1.006, -0.212).lineTo(-1.006, -0.212).lineTo(-1.006, 0.18).threePointArc((-0.862, 0.212), (-0.722, 0.18)).threePointArc((-0.577, 0.148), (-0.433, 0.18)).threePointArc((-0.289, 0.212), (-0.144, 0.18)).threePointArc((0, 0.148), (0.14... | 2 | 22 | 0.285274 |
train_1583eb234eb4392a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.2, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.072, 0.485).threePointArc((1.161, 0.466), (1.199, 0.423)).lineTo(1.199, 0.35).threePointArc((1.163, 0.308), (1.077, 0.291)).lineTo(0.491, 0.291).threePointArc((0.427, 0.278), (0.4, 0.24... | 6 | 207 | 0.424809 |
train_3403f89af099add1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.043, 0.212, -0.834), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.304, 0.719).threePointArc((0.409, 0.786), (0.53, 0.557)).lineTo(0.16, 0.046).threePointArc((0.146, 0.001), (0.172, -0.036)).lineTo(0.806, -0.49).threePointArc((0.822, -0.786), (0.... | 9 | 47 | 1.359167 |
train_2e362a63ad93a7d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, -0.049, -0.981), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.473, 0.581).lineTo(0.473, -0.581).threePointArc((-0.473, 0), (0.473, 0.581)).close().extrude(1.976)
result = result.union(cq.Workplane(cq.Plane(origin=(0.508, 0.787, -0.556), norm... | 6 | 31 | 1.286615 |
train_c1b88df11bc36dc1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.341, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.199).extrude(1.074)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.341, 0, -0.248), normal=(0.549, 0, 0.836), xDir=(0.836, 0, -0.549))).circle(0.131).extrude(1.407))
result = resu... | 5 | 10 | 0.176137 |
train_f6bb0a4f1366cfed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, -0.308, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.329, 0.164).threePointArc((-0.986, 0.493), (0, 0.493)).threePointArc((0.657, 0.493), (0.986, 0.164)).lineTo(0.986, -0.164).threePointArc((0.657, 0.164), (0.329, -0.164)).threePoi... | 22 | 539 | 0.795937 |
train_04c959504b9205c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.448), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.309, 1).lineTo(0.309, 0.844).lineTo(0.456, 0.844).lineTo(0.456, -1).lineTo(-0.34, -1).lineTo(-0.34, -0.876).lineTo(-0.456, -0.876).lineTo(-0.456, 1).lineTo(0.309, 1).close().extrude(0.896)... | 9 | 78 | 0.961085 |
train_ea1b2b9322a6b9d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.877, 0.938).threePointArc((0.961, 0.871), (0.996, 0.714)).lineTo(0.996, 0.44).threePointArc((0.976, 0.351), (0.929, 0.313)).lineTo(0.771, 0.313).threePointArc((0.696, 0.254), (0.665, ... | 10 | 84 | 0.313725 |
train_6e6014ecaba04b32 | 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(0.164, 0.999).lineTo(0.561, 0.838).threePointArc((0.674, 0.717), (0.796, 0.604)).lineTo(0.985, 0.144).threePointArc((0.978, -0.022), (0.984, -0.189)).lineTo(0.813, -0.598).threePointArc((0.7... | 6 | 28 | 2.153028 |
train_8e9e8324d7b1f571 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.086).lineTo(0.829, 0).lineTo(1, -0.086).lineTo(0.123, -0.086).lineTo(0.123, 0.086).lineTo(1, 0.086).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane('XY').circle(0.344).extrude(0.344, both... | 7 | 28 | 0.268946 |
train_202ff27971614e5f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.495, 0.577).lineTo(-0.495, -0.354).lineTo(1, -0.354).lineTo(1, -0.577).lineTo(-1, -0.577).lineTo(-1, 0.577).lineTo(-0.495, 0.577).close().extrude(0.895, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.71, -0.41, -1.163), normal=(0, ... | 10 | 1,055 | 1.275315 |
train_c9378717c060b1a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, 0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.441, 0.883).threePointArc((0.441, 0.883), (0.883, 0)).threePointArc((0.441, -0.883), (-0.441, -0.883)).threePointArc((-0.883, 0), (-0.441, 0.883)).close().extrude(0.313)
result = resu... | 6 | 58 | 1.419353 |
train_34562692e7d9f2ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.664).lineTo(1, -0.664).lineTo(-1, -0.664).lineTo(-1, 0).lineTo(-0.332, 0).lineTo(-0.332, 0.664).lineTo(1, 0.664).close().extrude(0.832)
result = result.cut(cq.Workplane(cq.Plane(origin=... | 7 | 22 | 1.798435 |
train_a8ec11fe732707c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.092, -0.341), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.155, 0.372).threePointArc((0.189, 0.358), (0.204, 0.324)).lineTo(0.204, 0.015).threePointArc((0.189, -0.019), (0.155, -0.034)).threePointArc((0.111, -0.036), (0.068, -0.051)).lineTo(... | 4 | 40 | 0.627479 |
train_fc4996152a56b80c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.191, 0.226).lineTo(0.333, 0.084).lineTo(0.333, -0.085).lineTo(0.193, -0.226).lineTo(-0.125, -0.226).threePointArc((-0.273, -0.164), (-0.333, -0.017)).lineTo(-0.333, 0.063).lineTo(-0.171, 0... | 10 | 53 | 0.229739 |
train_93480bda80a1dce7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.194, 0.404, 0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.64, 0.577).lineTo(0.64, -0.053).threePointArc((-0.427, -0.577), (-0.64, 0.577)).close().extrude(1.269, both=True).intersect(cq.Workplane(cq.Plane(origin=(0.194, 0.404, 0.074), norm... | 9 | 50 | 2.107525 |
train_cd0405f5d24b62f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.097, 0.393, -0.166), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.076, 0.334).lineTo(-0.08, -0.045).lineTo(0.294, -0.049).lineTo(0.293, -0.186).lineTo(-0.219, -0.18).lineTo(-0.294, -0.007).threePointArc((-0.273, 0.079), (-0.253, 0.165)).threePoi... | 8 | 119 | 0.494991 |
train_8f5870bb00044825 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.061, -0.009, -0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.017, 0.918).lineTo(0.431, 0.821).threePointArc((0.647, 0.478), (0.76, 0.561)).lineTo(0.938, 0.189).threePointArc((0.794, -0.187), (0.931, -0.22)).lineTo(0.74, -0.586).threePointAr... | 33 | 271 | 0.422454 |
train_b7daaf19be4cd317 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.225)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.789).extrude(0.676, both=True))
result = result.union(cq.Workpl... | 16 | 59 | 0.466675 |
train_4b466bcd2efd80f7 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.528, 2, 1.75)
result = result.edges().fillet(0.148)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.134, 0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.142, 0.028).threePointArc((0.235, 0.028), (0.327, -0.156)).threePointArc((0.419, -0.802... | 9 | 103 | 3.120896 |
train_be6c1183f51fdcb5 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.192).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.192).extrude(0.454, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 8 | 35 | 0.147599 |
train_31b446c026f3c5aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.091, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.263, 1.09).lineTo(0.873, 0.48).lineTo(0.873, -0.483).lineTo(0.266, -1.09).lineTo(-0.545, -1.09).lineTo(-0.873, -0.762).lineTo(-0.873, 0.408).lineTo(-0.191, 1.09).lineTo(0.263, 1.09).cl... | 10 | 80 | 0.2502 |
train_a8d44651d1e8aa64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.026, -0.214), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.996, 0.238).lineTo(1, -0.232).lineTo(0.356, -0.238).lineTo(0.351, 0.232).lineTo(0.523, 0.234).lineTo(0.526, -0.065).lineTo(0.826, -0.062).lineTo(0.824, 0.237).lineTo(0.996, 0.238).cl... | 15 | 221 | 0.607022 |
train_6e5024e46093dab9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.213, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.279).lineTo(1, -0.289).lineTo(-0.99, -0.289).threePointArc((-0.997, -0.286), (-1, -0.279)).lineTo(-1, 0.279).threePointArc((-0.997, 0.286), (-0.99, 0.289)).lineTo(0.991, 0.289).line... | 20 | 127 | 0.648595 |
train_cb4f09f79106a71e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.026, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.7).extrude(1.101)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.726, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.484, 0.667), (-1.268, 0.413), (-1.268, -0.413)... | 4 | 23 | 1.200427 |
train_ddfcdd695e02daa9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.505, 0.48).threePointArc((-0.414, 0.462), (-0.376, 0.419)).lineTo(-0.376, -0.123).threePointArc((-0.333, -0.17), (-0.233, -0.19)).lineTo(0.896, -0.19).threePointArc((0.963, -0.204), (1... | 6 | 110 | 0.968717 |
train_babfd6a3577e20b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.808), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.484).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.484).lineTo(-0.361, 1.484).lineTo(-0.361, 0.634).lineTo(0.361, 0.634).lineTo(0.361, 1.484).lineTo(1, 1.484).close().extrude(0.559, both=Tru... | 7 | 65 | 2.835247 |
train_688f52e8cb0e33da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.833, 0.471).lineTo(0.833, 0.303).lineTo(1, 0.303).lineTo(1, -0.471).lineTo(-1, -0.471).lineTo(-1, 0.24).lineTo(-0.769, 0.24).lineTo(-0.769, 0.471).lineTo(0.833, 0.471).close().extrude(0.12... | 16 | 62 | 0.62328 |
train_0901f42b4c4749cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.011, 0, -0.436), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.872)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.011, 0, -0.436), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.69, 0.951), (-1.81, 0.59), (-1.81, -0.59... | 6 | 25 | 2.013217 |
train_9cd6e1aac22be0c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.158, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.76, 0.257).lineTo(-0.731, 0.329).lineTo(-0.698, 0.4).lineTo(-0.66, 0.468).lineTo(-0.618, 0.535).lineTo(-0.571, 0.599).lineTo(-0.519, 0.66).lineTo(-0.464, 0.719).lineTo(-0.405, 0.775).... | 7 | 164 | 0.981877 |
train_fbbdf207d9793276 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, -0.006, 0.667), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.535, 0.927).threePointArc((0.535, 0.927), (1.071, 0)).threePointArc((0.535, -0.927), (-0.535, -0.927)).threePointArc((-1.071, 0), (-0.535, 0.927)).close().workplane(offset=0.33)... | 10 | 64 | 1.862073 |
train_e91601783413d719 | 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.83, 0.813).threePointArc((0.945, 0.766), (1, 0.652)).lineTo(1, -0.813).lineTo(-0.751, -0.813).threePointArc((-0.92, -0.741), (-1, -0.567)).lineTo(-1, 0.687).lineTo(-0.866, 0.813).lineTo(0.8... | 14 | 54 | 0.304631 |
train_76a0a70b12c5b9d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.569, -0.01, -0.099), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.656, 0.945).lineTo(0.656, -0.857).threePointArc((-0.656, 0.044), (0.656, 0.945)).close().extrude(1.218)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.041, 0.034, -1.443), n... | 21 | 485 | 2.650704 |
train_cbf2d5673973db2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.437), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.164, 0.268).lineTo(0.164, 0).lineTo(-0.164, 0).lineTo(-0.164, 0.268).lineTo(-0.019, 0.268).lineTo(-0.019, 0.145).lineTo(0.019, 0.145).lineTo(0.019, 0.268).lineTo(0.164, 0.268).close().ext... | 7 | 90 | 0.321105 |
train_8f4ab158eefe5bdc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.017, -0.019, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.294, 0.881).threePointArc((0.587, 0.881), (0.881, 0)).threePointArc((0.294, -0.881), (-0.587, -0.881)).threePointArc((-0.881, 0), (-0.294, 0.881)).close().extrude(0.37, both=True)
re... | 8 | 179 | 1.491326 |
train_5557810a692d432a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.242, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.971, 2).lineTo(0.971, 1.607).lineTo(0.213, 1.607).lineTo(0.213, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.971, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
re... | 11 | 76 | 0.351366 |
train_290c36ef64ff809b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.039, 0, -0.181), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.645).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.645).lineTo(-0.905, 0.645).lineTo(-0.905, 0.14).lineTo(0.905, 0.14).lineTo(0.905, 0.645).lineTo(1, 0.645).close().extrude(0.334, both=... | 9 | 55 | 0.172384 |
train_d252e3c1024a0085 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.75, 1).lineTo(0.75, -1).lineTo(-0.25, -1).lineTo(-0.25, -0.5).lineTo(-0.75, -0.5).lineTo(-0.75, 0.5).lineTo(0.25, 0.5).lineTo(0.25, 1).lineTo(0.75, 1).close().extrude(0.214)
result = resul... | 8 | 165 | 0.438394 |
train_20e61196458c4f21 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.023, -0.04, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.512, 0.19).threePointArc((1.024, 0), (0.512, -0.19)).threePointArc((-0.512, -0.19), (-1.024, 0)).threePointArc((-0.512, 0.19), (0.512, 0.19)).close().extrude(0.57)
result = result... | 5 | 40 | 0.394424 |
train_40b4f056a20975da | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.836, 1.419, 2)
result = result.edges().fillet(0.05)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.581).extrude(3.671, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm... | 6 | 34 | 1.83764 |
train_3fc19bda402d6412 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.632, 1).lineTo(0.984, 0.645).lineTo(0.984, -0.551).lineTo(0.538, -1).lineTo(-0.465, -1).lineTo(-0.984, -0.478).lineTo(-0.984, 0.108).lineTo(-0.094, 1).lineTo(0.632, 1).close().extrude(0.72... | 13 | 54 | 1.878661 |
train_81c01da4db6eaf5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.393).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.042), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.957).extrude(0.802, both=True))
result = result.cut(... | 13 | 91 | 1.14172 |
train_0c0cd24d9da72d85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, -0.03, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.897, 0.042).lineTo(0.897, -0.037).threePointArc((0.879, -0.07), (0.825, -0.081)).lineTo(-0.498, -0.081).threePointArc((-0.897, 0.042), (-0.299, 0.042)).lineTo(0.611, 0.042).threePo... | 6 | 50 | 0.179495 |
train_ad9b2a9ebe408fe8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.202, 0.022, -0.206), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.798, 0.411).lineTo(0.798, 0).lineTo(-0.798, 0).lineTo(-0.798, 0.411).lineTo(-0.631, 0.411).lineTo(-0.631, 0.167).lineTo(0.631, 0.167).lineTo(0.631, 0.411).lineTo(0.798, 0.411).cl... | 6 | 57 | 0.146017 |
train_24cd647af6da2873 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0.136, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 0.416).threePointArc((0.955, 0.394), (0.998, 0.342)).lineTo(0.998, 0.072).threePointArc((0.956, 0.021), (0.859, 0)).lineTo(0.672, 0).threePointArc((0.621, -0.011), (0.599, -0.038)... | 16 | 183 | 0.590581 |
train_aec83d943477e648 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.097, 0.098).lineTo(0.097, -0.098).lineTo(-0.097, -0.098).lineTo(-0.097, 0.098).lineTo(-0.038, 0.098).lineTo(-0.038, -0.053).lineTo(0.038, -0.053).lineTo(0.038, 0.098).lineTo(0.097, 0.098).close().extrude(1, taper=-9.427, both=True)
result = result.c... | 2 | 47 | 0.225299 |
train_227b769f67311df0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.039, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.37)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.039, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.345).extrude(1.111, both=True))
result = result.union(cq... | 11 | 39 | 0.979498 |
train_cc1d934f62869d56 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.189).lineTo(0.912, 0).lineTo(1, -0.189).lineTo(0.311, -0.189).lineTo(0.311, 0.189).lineTo(1, 0.189).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=(... | 8 | 106 | 0.412717 |
train_77e8e18c838bc971 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.501, -0.744, -0.847), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.002).threePointArc((0.71, 0.71), (1.002, 0)).lineTo(0.468, 0).threePointArc((0.331, 0.331), (0, 0.468)).lineTo(0, 1.002).close().extrude(1.693)
result = result.union(cq.Workpl... | 11 | 66 | 0.785821 |
train_8c3023341623731c | 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.077, 0.115).threePointArc((0.145, 0.09), (0.189, 0.032)).threePointArc((0.193, -0.018), (0.172, -0.064)).threePointArc((0.124, -0.102), (0.065, -0.115)).threePointArc((0.024, -0.047), (-0.012,... | 1 | 12 | 0.135888 |
train_32ebd570dcfed90e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.409, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.988, -0.117).lineTo(0.951, -0.23).lineTo(0.891, -0.338).lineTo(0.809, -0.438).lineTo(0.707, -0.527).lineTo(0.588, -0.603).lineTo(0.454, -0.664).lineTo(0.309, -0.709).lineTo(0.156, -0.736).... | 43 | 324 | 1.600236 |
train_ea1d7536dce78eef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.557, 1.059, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.821, 2.059).lineTo(0.821, 0.059).lineTo(-0.821, 0.059).lineTo(-0.821, 0.559).lineTo(-0.41, 0.559).lineTo(-0.41, 1.059).lineTo(0, 1.059).lineTo(0, 1.559).lineTo(0.41, 1.559).lineTo(0.41... | 13 | 82 | 2.112187 |
train_c5f1b746ba8afe97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.031, -0.374), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.24, 0.958).threePointArc((0.671, 0.491), (0.286, 0.172)).lineTo(0.239, 0.01).threePointArc((0.238, 0), (0.243, -0.008)).lineTo(0.366, -0.145).threePointArc((0.381, -0.158), (0.399, -0.... | 7 | 118 | 0.465193 |
train_c3834d8e25420342 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.058, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.513, 0.875).lineTo(0.977, 0.808).lineTo(1, 0.706).lineTo(0.36, -0.145).lineTo(0.775, -0.316).lineTo(0.805, -0.383).lineTo(0.762, -0.448).lineTo(-0.267, -0.875).lineTo(-0.972, -0.406).l... | 12 | 211 | 0.268671 |
train_181349c511313848 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.14, 0, -0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.364, 0.654).threePointArc((-0.261, 0.61), (-0.218, 0.507)).lineTo(-0.218, 0.287).threePointArc((-0.197, 0.238), (-0.149, 0.218)).lineTo(0.12, 0.218).threePointArc((0.189, 0.189), (0.218... | 20 | 71 | 2.180724 |
train_c6a54261fa3078b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.383, 0.111, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.444).lineTo(-0.556, -0.667).threePointArc((-1, -0.667), (-0.778, -0.444)).lineTo(0.778, 0.667).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.782, ... | 21 | 20 | 1.486125 |
train_d303a3a7a64841e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.641), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.855).lineTo(1, 0.193).lineTo(-0.338, 0.193).lineTo(-0.338, -0.193).lineTo(1, -0.193).lineTo(1, -0.855).lineTo(-1, -0.855).lineTo(-1, 0.855).lineTo(1, 0.855).close().extrude(1.282, taper... | 6 | 209 | 1.941696 |
train_09fab23f4cfc47ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.083, -0.075, 0.08), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.085, 0.53).lineTo(0.251, 0.377).lineTo(0.235, 0.151).lineTo(0.048, 0.023).lineTo(-0.168, 0.089).lineTo(-0.251, 0.3).lineTo(-0.139, 0.496).lineTo(0.085, 0.53).close().revolve(angleD... | 4 | 62 | 0.632487 |
train_6c18147ac2aa470a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.333, 1).lineTo(0.333, 0.333).lineTo(1, 0.333).lineTo(1, -0.333).lineTo(0.333, -0.333).lineTo(0.333, -1).lineTo(-1, -1).lineTo(-1, 0.333).lineTo(-0.333, 0.333).lineTo(-0.333, 1).lineTo(0.333, 1).close().extrude(0.111, both=True)
result = result.cut(c... | 17 | 12 | 0.591704 |
train_1492016af07db952 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.128, 0.888).lineTo(0.374, 0.817).lineTo(0.758, 0.487).lineTo(0.896, 0).lineTo(0.758, -0.487).lineTo(0.374, -0.817).lineTo(-0.128, -0.888).lineTo(-0.588, -0.681).lineTo(-0.86, -0.254).lin... | 8 | 71 | 1.161984 |
train_cbdb96158172f520 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.556, -0.489, 0.35), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.26, 0).threePointArc((0, -0.26), (-0.26, 0)).threePointArc((0, 0.26), (0.26, 0)).close().revolve(angleDegrees=180, axisStart=(0.44, -0.793), axisEnd=(0.44, 0.793))
result = result... | 8 | 34 | 0.726772 |
train_f53d4cda9e9c81ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, 0.094, -0.65), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.405, -0.343).lineTo(0.23, -0.478).lineTo(0.089, -0.477).threePointArc((0.041, -0.395), (0.004, -0.306)).lineTo(-0.061, -0.109).lineTo(0.003, 0.029).lineTo(0.2, 0.276).lineTo(0.396, ... | 9 | 149 | 1.318008 |
train_dc0c64102e08e6e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.171, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.732).lineTo(1, 0.397).lineTo(-0.661, 0.397).lineTo(-0.661, -0.397).lineTo(1, -0.397).lineTo(1, -0.732).lineTo(-1, -0.732).lineTo(-1, 0.732).lineTo(1, 0.732).close().extrude(0.531, t... | 19 | 124 | 1.633196 |
train_1e59bdc72b4e3306 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, -0.147, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.236, 0).threePointArc((0.167, 0.167), (0, 0.236)).lineTo(0, 0.571).close().extrude(2)
result = result.union(cq.Workplane(cq... | 10 | 13 | 0.493644 |
train_bf2856c9c78e2c4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.545, 0, -0.545), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.503, 1.021).lineTo(0.503, 0.503).lineTo(0.979, 0.503).lineTo(0.979, 0).lineTo(0, 0).lineTo(0, 1.021).lineTo(0.503, 1.021).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 10 | 32 | 1.434379 |
train_e09f658a97322526 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.324, 0.097, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.672, 0.338).lineTo(0.672, 0.182).lineTo(0.393, 0.182).lineTo(0.393, -0.338).lineTo(-0.043, -0.338).lineTo(-0.043, -0.182).lineTo(0.236, -0.182).lineTo(0.236, 0.338).lineTo(0.672, 0.... | 11 | 140 | 0.517596 |
train_988e7a92e7df4a4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.575, 0.009, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.642, 0.313).lineTo(-0.642, -0.171).threePointArc((-0.564, -0.223), (-0.38, -0.245)).lineTo(0.911, -0.245).threePointArc((0.938, -0.248), (0.95, -0.255)).lineTo(0.95, -0.309).threePoint... | 15 | 38 | 0.326445 |
train_b4b76a8e3dbc6a50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.158, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.408, 0.737).lineTo(0.842, 0.003).lineTo(0.414, -0.734).lineTo(-0.41, -0.737).lineTo(-0.842, 0.025).lineTo(-0.421, 0.73).lineTo(0.408, 0.737).close().extrude(0.361, both=True)
result = resul... | 9 | 117 | 1.396588 |
train_6cbcbdd28d00b9ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.028, 0.62, 0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.268, 0.375).lineTo(0.268, 0.054).lineTo(-0.16, 0.054).lineTo(-0.16, -0.054).lineTo(0.268, -0.054).lineTo(0.268, -0.375).lineTo(-0.268, -0.375).lineTo(-0.268, -0.268).lineTo(0.16, -0.2... | 10 | 522 | 0.102144 |
train_cd7a23194f09f291 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.198, -0.227, 0.423), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.019, 0.334).threePointArc((0.179, 0.226), (0.329, 0.058)).threePointArc((0.391, -0.125), (0.348, -0.275)).threePointArc((0.212, -0.352), (0.019, -0.334)).threePointArc((-0.179, -... | 15 | 303 | 0.753671 |
train_b927b1d6b8a2f5a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.186, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.27, 0.67).threePointArc((0.366, 0.625), (0.407, 0.519)).lineTo(0.407, 0.402).threePointArc((0.454, 0.276), (0.568, 0.224)).lineTo(0.693, 0.224).threePointArc((0.777, 0.185), (0.813, 0... | 14 | 226 | 0.76798 |
train_0bbc5b0d7c7950f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.227, 0.611, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.848, 1.005).lineTo(0.848, -0.773).lineTo(0.254, -0.773).lineTo(0.292, -0.655).lineTo(0.341, -0.536).lineTo(0.314, -0.418).lineTo(0.243, -0.3).lineTo(0.254, -0.181).lineTo(-0.254, -0.18... | 28 | 287 | 2.775178 |
train_665ddde8dc20a6f9 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1.076, 0.427).lineTo(1.076, -0.256).lineTo(0.359, -0.256).lineTo(0.359, -0.427).lineTo(-0.359, -0.427).lineTo(-0.359, -0.256).lineTo(-1.076, -0.256).lineTo(-1.076, 0.256).lineTo(0.359, 0.256).lineTo(0.359, 0.427).lineTo(1.076, 0.427).close().extrude(0... | 4 | 22 | 0.139516 |
train_01168ab5e75f5df5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.392, 2).extrude(0.417)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.376, -0.321).lineTo(0.376, -0.674).lineTo(-0.376, -0.674)... | 12 | 32 | 0.873328 |
train_7a2f4a0b04e49775 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.467), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.019).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.019).lineTo(-0.61, 1.019).lineTo(-0.61, 0.39).lineTo(0.61, 0.39).lineTo(0.61, 1.019).lineTo(1, 1.019).close().extrude(0.462, both=True)
res... | 8 | 72 | 1.344784 |
train_d993028536adc4c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.628, 0.346).lineTo(-0.628, -0.131).threePointArc((-0.531, -0.214), (-0.299, -0.25)).lineTo(0.927, -0.25).threePointArc((0.973, -0.257), (1, -0.273)).lineTo(1, -0.351).threePointArc((0.967,... | 20 | 279 | 0.3135 |
train_12625180b139c9bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.089, -0.029, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.387, 0.394).lineTo(0.387, -0.394).lineTo(-0.387, -0.394).lineTo(-0.387, 0.394).lineTo(-0.159, 0.394).lineTo(-0.159, -0.225).lineTo(0.159, -0.225).lineTo(0.159, 0.394).lineTo(0.387, 0... | 20 | 587 | 0.831186 |
train_a4209f5c351cfaa9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.327, 0.301, -0.068), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.022, 0.511).threePointArc((0.097, 0.48), (0.202, 0.382)).threePointArc((0.276, 0.23), (0.308, 0.048)).threePointArc((0.293, -0.135), (0.233, -0.293)).threePointArc((0.138, -0.40... | 11 | 30 | 0.304028 |
train_ddddff52c1e089c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.142, -0.652), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.868).lineTo(0.997, 0.014).lineTo(0.522, -0.846).lineTo(-0.486, -0.868).lineTo(-0.997, -0.026).lineTo(-0.522, 0.854).lineTo(0.498, 0.868).close().extrude(1.259)
result = result.... | 7 | 97 | 3.338175 |
train_c3837a6515353ad8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.076, 0), normal=(-0.083, 0.169, 0.982), xDir=(0, -0.986, 0.17))).moveTo(0.163, 0.303).lineTo(0.163, -0.368).lineTo(-0.163, -0.368).lineTo(-0.163, 0.303).threePointArc((-0.136, 0.238), (-0.109, 0.303)).threePointArc((-0.082, 0.368), (-0.054, ... | 4 | 23 | 0.430516 |
train_836975139f0f1ee2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.125, -0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.282).lineTo(0.248, -0.282).lineTo(-0.005, -0.282).lineTo(-0.248, -0.038).lineTo(-0.248, 0.127).threePointArc((-0.203, 0.237), (-0.095, 0.282)).lineTo(0.248, 0.282).close().extru... | 12 | 71 | 0.472219 |
train_519abfd860d83e3a | 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.216, 0.222).lineTo(0.216, -0.222).lineTo(-0.216, -0.222).lineTo(-0.216, 0.222).lineTo(-0.077, 0.222).lineTo(-0.077, -0.089).lineTo(0.077, -0.089).lineTo(0.077, 0.222).lineTo(0.216, 0.222).clos... | 21 | 48 | 0.126193 |
train_0a3dadb76c7f3bf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.007, 0, -0.246), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.732, 0.421).lineTo(0.912, 0.343).lineTo(1, 0.147).lineTo(1, 0).lineTo(0.73, 0).lineTo(0.73, 0.125).lineTo(0.629, 0.343).lineTo(0, 0.156).lineTo(0, 0.421).lineTo(0.732, 0.421).close()... | 6 | 49 | 0.620893 |
train_beb2d277877e4c4b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.253, 0, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.429, 0.423).threePointArc((0.654, 0.33), (0.746, 0.105)).lineTo(0.746, -0.169).lineTo(0.492, -0.423).lineTo(-0.522, -0.423).lineTo(-0.746, -0.199).lineTo(-0.746, 0.163).threePointArc((... | 7 | 49 | 0.479588 |
train_4ff4d9f6a3b96e40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.619, 1).threePointArc((0.859, 0.891), (0.96, 0.65)).lineTo(0.96, -1).lineTo(-0.548, -1).lineTo(-0.96, -0.578).lineTo(-0.96, 1).lineTo(0.619, 1).close().extrude(0.657)
result = result.cut(c... | 8 | 67 | 1.189504 |
train_c283e7cae6ae2fe4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.749, 0.415).lineTo(0.749, 0.059).lineTo(-0.499, 0.059).lineTo(-0.499, -0.059).lineTo(0.749, -0.059).lineTo(0.749, -0.415).lineTo(-0.749, -0.415).lineTo(-0.749, -0.297).lineTo(0.499, -0.297).lineTo(0.499, -0.178).lineTo(-0.749, -0.178).lineTo(-0.749,... | 4 | 39 | 1.540914 |
train_5b914ed20f6efd74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, 0.51, 0.51), normal=(0.014, -0.008, -1), xDir=(0, 1, -0.008))).moveTo(-0.078, -0.545).threePointArc((-0.135, -0.538), (-0.188, -0.52)).lineTo(-0.394, -0.417).threePointArc((-0.405, -0.407), (-0.409, -0.392)).lineTo(-0.409, -0.299).threePoin... | 5 | 120 | 1.069571 |
train_c7a2c6c61d4b9746 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.113, 0, -0.138), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.58, 0.187).lineTo(0.737, 0.072).lineTo(0.786, 0.041).lineTo(0.827, 0.066).lineTo(0.871, 0.05).threePointArc((0.878, -0.017), (0.806, -0.036)).lineTo(0.739, -0.157).lineTo(0.682, -0.2)... | 8 | 119 | 0.598568 |
train_41ee6e380e44588d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, 0.014, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.082, 0.46).lineTo(0.209, 0.421).lineTo(0.406, 0.204).lineTo(0.418, -0.089).lineTo(0.239, -0.321).lineTo(-0.047, -0.383).lineTo(-0.307, -0.247).lineTo(-0.418, 0.024).lineTo(-0.329, 0.3... | 15 | 117 | 0.870454 |
train_389e1b406b8c8dca | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.495, 0.729).threePointArc((-0.408, 0.703), (-0.371, 0.642)).lineTo(-0.371, -0.128).threePointArc((-0.302, -0.244), (-0.136, -0.293)).lineTo(0.897, -0.293).threePointArc((0.964, -0.313), (1, -0.358)).lineTo(1, -0.652).threePointArc((0.959, -0.706), ... | 15 | 56 | 1.398772 |
train_be80780812ffc3c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0.011, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.191, -0.052).threePointArc((-0.252, -0.084), (-0.191, 0.029)).lineTo(0.166, 0.029).threePointArc((0.252, 0.084), (0.166, -0.051)).lineTo(-0.191, -0.052).close().extrude(2)
result = r... | 5 | 31 | 0.127535 |
train_13d353ca6b95ce3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.362, 0.051, 0.383), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.462).lineTo(0.227, 0.335).lineTo(0.455, 0.37).threePointArc((0.625, 0.198), (0.455, 0.028)).lineTo(-0.455, 0.028).threePointArc((-0.625, 0.198), (-0.455, 0.37)).lineTo(-0.227, 0.... | 7 | 41 | 0.521588 |
train_cee07cd6c5268d00 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.436, -0.328), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.282, 1.184).threePointArc((0.417, 1.128), (0.473, 0.994)).lineTo(0.473, -0.373).threePointArc((0.417, -0.508), (0.282, -0.564)).lineTo(-0.282, -0.564).threePointArc((-0.417, -0.508), ... | 14 | 25 | 0.151705 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.