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_ef27d009408f67f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.014, 0.391, 0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.556, 0).threePointArc((0.667, -0.101), (0.556, -0.203)).threePointArc((-0.667, -0.101), (-0.556, 0)).threePointArc((0, 0.507), (0.11, 0.608)).lineTo(0.21, 0.518).threePointArc((0.2... | 21 | 61 | 0.338616 |
train_e2e60129acabf1a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.909, 0.965).lineTo(1, 0.875).lineTo(1, -0.825).threePointArc((0.958, -0.924), (0.858, -0.965)).lineTo(-1, -0.965).lineTo(-1, 0.874).threePointArc((-0.972, 0.939), (-0.908, 0.965)).lineTo(0... | 2 | 27 | 0.828333 |
train_4948f9078ba0b876 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.485, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.001, 0.634).lineTo(0.41, 0.495).lineTo(0.662, 0.098).lineTo(0.539, -0.412).lineTo(0.035, -0.451).lineTo(-0.423, -0.393).lineTo(-0.662, 0.055).lineTo(-0.499, 0.561).lineTo(-0.001, 0.6... | 9 | 45 | 1.7129 |
train_959bdf915d881707 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.305, 0.824).lineTo(0.924, -0.106).threePointArc((0.998, -0.216), (0.906, -0.309)).lineTo(-0.166, -0.824).threePointArc((-0.998, 0.075), (-0.305, 0.824)).close().extrude(0.359)
result ... | 3 | 25 | 0.745829 |
train_f79805ab885e6f1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.277, 0.115).lineTo(0.277, -0.045).lineTo(0.207, -0.115).lineTo(-0.164, -0.115).threePointArc((-0.244, -0.082), (-0.277, -0.002)).lineTo(-0.277, 0.038).lineTo(-0.199, 0.115).lineTo(0.277, 0... | 8 | 50 | 0.38714 |
train_3b0c3d6b498cfe6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.49).lineTo(1, 0.355).threePointArc((0.988, 0.342), (0.959, 0.336)).lineTo(0.324, 0.336).threePointArc((0.232, 0.318), (0.194, 0.276)).lineTo(0.194, -0.492).threePointArc((0.179, -0.508)... | 29 | 371 | 0.361484 |
train_5bd6a4e5d7bfd0d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.288, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.707).lineTo(1, -0.636).lineTo(0.759, -0.636).lineTo(0.759, -0.707).lineTo(-0.788, -0.707).lineTo(-0.788, -0.666).lineTo(-1, -0.666).lineTo(-1, 0.619).lineTo(-0.741, 0.707).lineTo(1,... | 9 | 105 | 0.768646 |
train_f141aff643f537da | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.287).lineTo(0.863, 0).lineTo(1, -0.287).lineTo(0.282, -0.287).lineTo(0.282, 0.287).lineTo(1, 0.287).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.139, -0.084), no... | 11 | 67 | 0.866986 |
train_23c970adc9f41d95 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.47, 0.203).lineTo(-0.47, -0.092).lineTo(1, -0.092).lineTo(1, -0.203).lineTo(-1, -0.203).lineTo(-1, 0.203).lineTo(-0.47, 0.203).close().extrude(0.609)
result = result.cut(cq.Workplane(cq.P... | 6 | 21 | 0.228853 |
train_17cd0ffbb3b296f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.031, -0.055, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.79, 0.945).threePointArc((0.899, 0.899), (0.945, 0.79)).lineTo(0.945, 0.487).threePointArc((0.895, 0.366), (0.775, 0.315)).lineTo(0.009, 0.315).threePointArc((-0.219, 0.219), (-0.... | 16 | 93 | 0.085143 |
train_e951f37af8b99ccd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.126, -0.379, 0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.148, 0.355).threePointArc((-0.091, 0.348), (-0.04, 0.322)).threePointArc((0, 0.305), (0.037, 0.31)).threePointArc((0.083, 0.33), (0.137, 0.338)).threePointArc((0.182, 0.317), (0.... | 6 | 68 | 0.597635 |
train_953947d2a7c155da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.789, -0.113).lineTo(0.986, -0.164).lineTo(0.976, -0.221).lineTo(0.776, -0.184).lineTo(0.741, -0.291).lineTo(0.923, -0.388).lineTo(0.899, -0.439).lineTo(0.712, -0.357).lineTo(0.655... | 5 | 152 | 0.594497 |
train_80bfec56a305cdd6 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.085).lineTo(0.88, 0).lineTo(1, -0.085).lineTo(0.233, -0.085).lineTo(0.233, 0.085).lineTo(1, 0.085).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.389, 0.389, 0), norma... | 12 | 78 | 0.308146 |
train_fbb0e3915036ec3f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.228), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.741, 0.361).lineTo(0.912, 0.272).lineTo(1, 0.126).lineTo(1, 0).lineTo(0.863, 0).lineTo(0.863, 0.109).lineTo(0.768, 0.272).lineTo(0, 0.232).lineTo(0, 0.361).lineTo(0.741, 0.361).close().re... | 12 | 198 | 0.396543 |
train_e849a0804cc2aa44 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.966, -0.907), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, 1.032).threePointArc((0.935, 0.774), (0.831, 0.536)).threePointArc((0.694, 0.362), (0.439, 0.352)).lineTo(0.24, 0.066).threePointArc((-0.01, 0.373), (-0.159, 0.466)).threePointArc(... | 14 | 137 | 3.520115 |
train_2d9693c0205fee33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.078), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.455, 0.596).lineTo(0.455, 0.06).lineTo(1, 0.06).lineTo(1, 0).lineTo(0.295, 0).lineTo(0.295, 0.596).lineTo(0.455, 0.596).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ... | 6 | 39 | 0.380086 |
train_6a89270550f8190f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.413).lineTo(1, 0.322).threePointArc((0.976, 0.304), (0.939, 0.296)).lineTo(0.263, 0.296).threePointArc((0.183, 0.28), (0.15, 0.242)).lineTo(0.15, -0.422).threePointArc((0.138, -0.436), ... | 9 | 57 | 0.147943 |
train_ec39d17b46e722ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, -0.922, -0.206), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.344, 0.319).lineTo(1.625, 0.077).lineTo(1.595, -0.08).lineTo(1.279, -0.034).lineTo(1.108, -0.28).lineTo(1.051, -0.319).lineTo(0.658, -0.214).lineTo(0.253, -0.168).lineTo(0.344, ... | 8 | 196 | 0.729039 |
train_0d806833b71e4b39 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.018, 0.053).lineTo(0.038, 0.042).lineTo(0.051, 0.023).lineTo(0.055, 0).lineTo(0.051, -0.023).lineTo(0.038, -0.042).lineTo(0.018, -0.053).lineTo(-0.005, -0.055).lineTo(-0.028, -0.049).lineTo(-0.046, -0.032).lineTo(-0.055, -0.012).lineTo(-0.055, 0.012... | 3 | 19 | 0.026289 |
train_475dfb84426f591b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.728), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.491).lineTo(1, 0.367).lineTo(0.331, 0.367).lineTo(0.331, 0).lineTo(0, 0).lineTo(0, 1.491).lineTo(1, 1.491).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
res... | 4 | 29 | 3.609929 |
train_1205781a71acf8fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0.441, 0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.68, 0.24).threePointArc((0.917, -0.055), (0.173, -0.31)).threePointArc((-0.407, -0.299), (-0.905, -0.154)).threePointArc((-0.917, 0.098), (-0.48, 0.263)).threePointArc((0.052, 0.31)... | 7 | 71 | 2.728761 |
train_c781d144ed7d85b4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 1).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(1, 1).close().extrude(0.84, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.583, -0.551, -1... | 9 | 34 | 3.709128 |
train_34490d92a20f2ecd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.708, 0.701).lineTo(0.708, 0.09).lineTo(0.833, 0.09).lineTo(0.833, -0.31).lineTo(0.902, -0.31).lineTo(0.902, -0.629).lineTo(1, -0.629).lineTo(1, -0.98).lineTo(0.022, -0.98).lineTo(0.02... | 5 | 81 | 0.760564 |
train_f03e2c4198eb9ebe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.185, 0.845, -0.253), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.009, 0.154).threePointArc((0.089, 0.138), (0.155, 0.1)).threePointArc((0.198, 0.048), (0.211, -0.012)).threePointArc((0.192, -0.07), (0.143, -0.117)).threePointArc((0.073, -0.147)... | 8 | 67 | 0.394765 |
train_17e4e450d08bcad5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.249, 0.247).lineTo(0.249, 0.168).lineTo(0.496, 0.168).lineTo(0.496, 0).lineTo(-0.496, 0).lineTo(-0.496, 0.168).lineTo(-0.249, 0.168).lineTo(-0.249, 0.247).lineTo(0.249, 0.247).close().ext... | 7 | 73 | 0.30683 |
train_d16c3005c5e34cf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.57, 0.226, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.075, 0.62).lineTo(0.428, 0.206).lineTo(0.143, -0.258).lineTo(-0.386, -0.13).lineTo(-0.428, 0.412).lineTo(0.075, 0.62).close().revolve(angleDegrees=270, axisStart=(-0.567, -0.291), axisEn... | 13 | 92 | 2.412763 |
train_180b0c0524d8fee0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.519, 0.076).lineTo(1.519, 0).lineTo(0, 0).lineTo(0, 0.076).lineTo(1.519, 0.076).close().extrude(0.425, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.519, 0, 0), normal=(0, ... | 7 | 33 | 0.10593 |
train_09aaf33adfa17342 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.648, -0.343), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.379, 0).threePointArc((0, -0.379), (-0.379, 0)).threePointArc((0, 0.379), (0.379, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0, -0.648, -0.343), normal=(1, 0, 0), xDir=(0, 1, 0)... | 2 | 8 | 0.601807 |
train_06eec3507badfd3a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.228), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.982, 0.111).lineTo(1, -0.062).lineTo(0.167, -0.111).lineTo(0.163, -0.043).lineTo(0.352, -0.028).threePointArc((0.509, 0.083), (0.748, 0.087)).lineTo(0.982, 0.111).close().revolve(angleDeg... | 2 | 24 | 0.49103 |
train_a4517820d2585c53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.321, 0.222).threePointArc((0.376, 0.198), (0.4, 0.141)).lineTo(0.4, -0.152).lineTo(0.331, -0.152).lineTo(0.331, -0.222).lineTo(-0.328, -0.222).threePointArc((-0.378, -0.2), (-0.4, -0.147))... | 8 | 39 | 0.450155 |
train_c11e44b81329924a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.072, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.504, 0.943).lineTo(-0.157, 0.846).lineTo(0.24, 0.735).lineTo(0.636, 0.628).lineTo(0.949, 0.54).threePointArc((1, 0.514), (0.955, 0.479)).lineTo(0.553, 0.275).threePointArc((0.536, 0.25... | 9 | 267 | 0.105377 |
train_2e45db345c26d718 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, 0, 0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.286, 0.821).lineTo(0.806, 0.094).lineTo(0.904, -0.053).lineTo(0.33, -0.821).lineTo(-0.904, -0.007).lineTo(-0.286, 0.821).close().extrude(0.148)
result = result.union(cq.Workplane(cq.Pl... | 10 | 87 | 0.220518 |
train_bfda5622113c1fab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, 0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.777, -0.128).lineTo(0.982, -0.191).lineTo(0.966, -0.258).lineTo(0.757, -0.213).lineTo(0.713, -0.333).lineTo(0.895, -0.449).lineTo(0.861, -0.51).lineTo(0.672, -0.409).lineTo(0.597, ... | 8 | 222 | 0.444383 |
train_1fdc0fc0891e7a96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.486, -0.334, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.971).threePointArc((0.688, 0.688), (0.971, 0)).lineTo(0.548, 0).threePointArc((0.387, 0.387), (0, 0.548)).lineTo(0, 0.971).close().extrude(2)
result = result.union(cq.Workplane(cq... | 12 | 96 | 0.968791 |
train_7d0e3bcc1cc98def | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.106, 0.169, -0.329), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.095, 0.278).threePointArc((0.239, 0.301), (0.433, 0.147)).threePointArc((0.373, -0.093), (0.095, -0.278)).threePointArc((-0.239, -0.301), (-0.433, -0.147)).threePointArc((-0.373,... | 8 | 47 | 0.780958 |
train_52eee7af733aae5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.48, 0.194, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.125, 0.392).threePointArc((0.2, 0.351), (0.244, 0.286)).threePointArc((0.251, 0.208), (0.22, 0.129)).threePointArc((0.155, 0.06), (0.067, 0.012)).threePointArc((-0.031, -0.007), (-0.125... | 9 | 94 | 0.290256 |
train_83cc653274c6cfe5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, -0.003, -0.271), normal=(0.563, -0.774, 0.29), xDir=(0.809, 0.588, 0))).moveTo(0.022, 0.09).lineTo(0.093, 0.072).threePointArc((0.109, 0.042), (0.109, 0.007)).threePointArc((0.1, -0.034), (0.077, -0.07)).threePointArc((0.045, -0.07), (0.028... | 6 | 100 | 1.337668 |
train_9f65ef848db8940a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.294, -0.804), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.336, 0.335).threePointArc((-0.24, 0.322), (-0.199, 0.29)).lineTo(-0.199, 0.121).threePointArc((-0.151, 0.084), (-0.039, 0.067)).lineTo(0.767, 0.067).threePointArc((0.924, 0.044), (1, ... | 7 | 62 | 0.869791 |
train_5ad9c53b8f02f002 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.519, 0.054).lineTo(1.519, 0).lineTo(0, 0).lineTo(0, 0.054).lineTo(1.519, 0.054).close().extrude(0.448, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.519, 0, 0), normal=(0, ... | 2 | 14 | 0.091674 |
train_356f25ae142d6fe0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.02, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.103).lineTo(0, 0.088).threePointArc((0.033, 0.077), (0.112, 0.072)).lineTo(0.893, 0.072).threePointArc((0.968, 0.067), (1, 0.057)).lineTo(1, -0.006).threePointArc((0.963, -0.019), (0... | 6 | 84 | 0.046269 |
train_91901ae746e73005 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.528, 2, 1.628)
result = result.edges().fillet(0.198)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.396).extrude(3.056, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 13 | 124 | 2.352961 |
train_937a40f4106f1645 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.232).lineTo(1, -0.232).lineTo(-1, -0.232).lineTo(-1, 0.232).lineTo(-0.541, 0.232).lineTo(-0.541, -0.147).lineTo(0.541, -0.147).lineTo(0.541, 0.232).lineTo(1, 0.232).close().extrude(0.165, both=True)
result = result.cut(cq.Workplane(cq.Plane(origi... | 11 | 20 | 0.071613 |
train_bb888bad95867211 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.123, 0, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.876, 0.561).lineTo(0.876, 0.222).lineTo(0.258, 0.222).lineTo(0.258, -0.561).lineTo(-0.258, -0.561).lineTo(-0.258, 0.222).lineTo(-0.876, 0.222).lineTo(-0.876, 0.561).lineTo(0.876, 0.561)... | 25 | 139 | 0.515281 |
train_925d7c0393a96359 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.033, 0.875).lineTo(1.258, 0.275).lineTo(0.869, -0.784).lineTo(-0.679, -0.875).lineTo(-1.258, 0.185).lineTo(0.033, 0.875).close().extrude(1.15, both=True)
result = result.intersect(cq.Workpl... | 6 | 23 | 0.498368 |
train_a0d6ad2d03767369 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.249, 1).lineTo(1, 0.249).lineTo(0.747, -0.747).lineTo(-0.249, -1).lineTo(-1, -0.249).lineTo(-0.747, 0.747).lineTo(0.249, 1).close().extrude(2.477, both=True).intersect(cq.Workplane('XZ').moveTo(0.017, 0.563).lineTo(0.36, 0.404).lineTo(0.587, 0.065).... | 1 | 13 | 1.676217 |
train_4c1c33c7d6a93039 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.007), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.307).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.307).lineTo(-0.663, 0.307).lineTo(-0.663, 0.337).lineTo(0.663, 0.337).lineTo(0.663, 0.307).lineTo(1, 0.307).close().extrude(0.77, both=True... | 11 | 134 | 0.997471 |
train_27ec346b280da3cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.147, -0.858), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.007, 0.369).threePointArc((0.077, 0.294), (0.126, 0.18)).threePointArc((0.141, 0.058), (0.118, -0.042)).threePointArc((0.064, -0.091), (-0.007, -0.076)).threePointArc((-0.077, -0.001),... | 6 | 52 | 0.410299 |
train_614558ec98dccf97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.781, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.169, 1.524).threePointArc((0, 1.512), (0.149, 1.436)).threePointArc((0.267, 1.335), (0.361, 1.234)).threePointArc((0.437, 1.13), (0.487, 1.016)).threePointArc((0.499, 0.895), (0.481, 0.78... | 15 | 604 | 1.934398 |
train_62ed2908a019c6fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.118, 0, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.226, -0.902).lineTo(0, -0.902).lineTo(-0.226, -0.676).lineTo(0, -0.451).lineTo(-0.226, -0.451).lineTo(0, -0.451).lineTo(-0.226, -0.226).lineTo(0, 0).lineTo(-0.226, 0).lineTo(0, 0.226)... | 12 | 104 | 0.856026 |
train_dc3d5abd9092e88b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.64, 0.176).lineTo(0.64, 0).lineTo(-0.64, 0).lineTo(-0.64, 0.176).lineTo(-0.513, 0.176).lineTo(-0.513, 0.127).lineTo(0.513, 0.127).lineTo(0.513, 0.176).lineTo(0.64, 0.176).close().extrude(... | 2 | 11 | 0.348761 |
train_30b481f923879b66 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.852, -0.179).lineTo(0.968, -0.249).lineTo(0.913, -0.408).lineTo(0.785, -0.378).lineTo(0.69, -0.531).lineTo(0.764, -0.645).lineTo(0.646, -0.763).lineTo(0.543, -0.682).lineTo(0.391, -0.778).... | 2 | 59 | 0.436582 |
train_eb56f603f577fd0b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.11, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.023, 0.327).lineTo(0.137, 0.224).lineTo(0.194, 0.092).lineTo(0.124, -0.041).lineTo(-0.024, -0.107).lineTo(-0.172, -0.025).lineTo(-0.194, 0.135).lineTo(-0.147, 0.296).lineTo(0.023, 0.327).c... | 14 | 232 | 0.183033 |
train_90c36c1d5fee041b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.723, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.603, 0.698).lineTo(0.657, 0.542).lineTo(0.75, 0.122).threePointArc((0.535, 0.136), (0.36, 0.182)).lineTo(0.083, -0.086).lineTo(-0.149, -0.055).threePointArc((-0.27, 0.096), (-0.278, 0.324... | 4 | 71 | 2.266835 |
train_7aaffbcf1dcbabc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.234, -0.19, 0.614), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.192, 0.185).threePointArc((0.197, 0.147), (0.183, 0.111)).lineTo(0.159, 0.018).threePointArc((0.078, 0.044), (0.031, 0.065)).threePointArc((-0.026, 0.031), (-0.089, 0.048)).threeP... | 16 | 398 | 0.842905 |
train_e983926e741fb664 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.342, -0.203, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.684).threePointArc((0.484, 0.484), (0.684, 0)).lineTo(0.308, 0).threePointArc((0.218, 0.218), (0, 0.308)).lineTo(0, 0.684).close().extrude(2)
result = result.union(cq.Workplane(cq... | 11 | 109 | 0.456062 |
train_9a360956ab1086e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.25, 1).lineTo(0.25, 0.5).lineTo(0.75, 0.5).lineTo(0.75, -1).lineTo(-0.25, -1).lineTo(-0.25, -0.5).lineTo(-0.75, -0.5).lineTo(-0.75, 0).lineTo(-0.25, 0).lineTo(-0.25, 1).lineTo(0.25, 1).clo... | 5 | 28 | 0.874009 |
train_4316a0c89da5ea89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.238)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.604).extrude(0.715, both=True))
result = result.union(cq.Workpl... | 12 | 56 | 0.643987 |
train_801c31e97d6855da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.038, -0.608, 0.909), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.056, 0.657).lineTo(0.083, 0.51).lineTo(0.231, 0.491).lineTo(0.118, 0.394).threePointArc((0.116, 0.374), (0.127, 0.357)).threePointArc((0.138, 0.341), (0.139, 0.321)).lineTo(0.156, ... | 8 | 88 | 0.06032 |
train_0ecaf9e7fd2531da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, 0.26), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.674, 1).lineTo(0.95, -0.773).lineTo(0.482, -0.846).lineTo(0.368, -0.11).lineTo(-0.156, -0.192).lineTo(-0.042, -0.927).lineTo(-0.509, -1).lineTo(-0.742, -0.582).lineTo(-0.894, -0.152).th... | 1 | 13 | 1.30897 |
train_afc7d2a2755faebd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.637, -0.385, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.362).threePointArc((0.256, 0.256), (0.362, 0)).threePointArc((0.256, -0.256), (0, -0.362)).threePointArc((-0.256, -0.256), (-0.362, 0)).threePointArc((-0.256, 0.256), (0, 0.362)).... | 4 | 29 | 0.088251 |
train_f3d45de97ae70d5e | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.175).lineTo(0.882, 0).lineTo(1, -0.175).lineTo(0.243, -0.175).lineTo(0.243, 0.175).lineTo(1, 0.175).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.387, 0.387, 0), norm... | 13 | 141 | 0.550668 |
train_66bc8ca0e8dfca5a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.276, 0.107, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.168, 0.06).lineTo(0.165, 0.039).lineTo(0.218, 0.024).lineTo(0.21, -0.002).lineTo(0.158, 0.014).lineTo(0.149, -0.006).lineTo(0.195, -0.035).lineTo(0.18, -0.058).lineTo(0.134, -0.028).lin... | 4 | 403 | 0.868593 |
train_9678b6b6b7611165 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.255, 0.328).lineTo(0.255, 0).lineTo(-0.255, 0).lineTo(-0.255, 0.328).lineTo(-0.197, 0.328).lineTo(-0.197, 0.058).lineTo(0.197, 0.058).lineTo(0.197, 0.328).lineTo(0.255, 0.328).close().extru... | 6 | 78 | 0.133479 |
train_6df8aca7b4692fdd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.393, 0, -0.598), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.304, 0.525).threePointArc((0.304, 0.525), (0.606, 0)).threePointArc((0.304, -0.525), (-0.304, -0.525)).threePointArc((-0.606, 0), (-0.304, 0.525)).close().sweep(cq.Workplane(cq.Plan... | 4 | 11 | 1.192792 |
train_74ef2b3f3bcff0b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.093, 1).threePointArc((0.203, 0.953), (0.25, 0.843)).lineTo(0.25, -0.914).threePointArc((0.224, -0.974), (0.164, -1)).lineTo(-0.068, -1).threePointArc((-0.196, -0.946), (-0.25, -0.818)).li... | 13 | 18 | 0.345529 |
train_1c7b9ece12504d5a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.995, -1.017, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.145, 1.88).threePointArc((0.209, 1.686), (0.452, 1.497)).threePointArc((0.733, 1.329), (0.891, 1.007)).lineTo(0.628, 0.717).threePointArc((0.48, 0.43), (0.211, 0.136)).lineTo(-0.239,... | 3 | 28 | 1.876426 |
train_2355923ebf8f4300 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.08, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.322).threePointArc((0.975, 0.161), (0.975, -0.161)).threePointArc((0, -0.322), (-0.975, -0.161)).threePointArc((-0.975, 0.161), (0, 0.322)).close().extrude(0.484, both=True)
result =... | 22 | 165 | 2.16206 |
train_4dfa352bd6a51bd8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.465, -0.612, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.147).threePointArc((0.378, 0.99), (0.535, 0.612)).threePointArc((0.378, 0.234), (0, 0.077)).threePointArc((-0.378, 0.234), (-0.535, 0.612)).threePointArc((-0.378, 0.99), (0, 1... | 12 | 226 | 0.946261 |
train_934111d8a149545b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.362, -0.005, 0.482), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.517, 0).threePointArc((0, -0.517), (-0.517, 0)).threePointArc((0, 0.517), (0.517, 0)).close().workplane(offset=0.28).moveTo(0.404, 0).threePointArc((0, -0.404), (-0.404, 0)).three... | 6 | 85 | 0.806847 |
train_6db9fab323960287 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.313), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.696, 0.625).lineTo(0.912, 0.335).lineTo(1, 0.218).lineTo(1, 0).lineTo(0.703, 0).lineTo(0.703, 0.187).lineTo(0.604, 0.335).lineTo(0, 0.333).lineTo(0, 0.625).lineTo(0.696, 0.625).close().re... | 6 | 53 | 0.692715 |
train_9e9789472427930d | 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.112, 0.221).lineTo(0.221, 0.001).lineTo(0.108, -0.221).lineTo(-0.111, -0.219).lineTo(-0.221, 0.007).lineTo(-0.112, 0.221).lineTo(0.112, 0.221).close().extrude(2, taper=5.501)
result = result.e... | 3 | 39 | 0.102574 |
train_c0acc29da7e2c17f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.228), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.266, 0.455).lineTo(0.266, 0).lineTo(-0.266, 0).lineTo(-0.266, 0.455).lineTo(-0.123, 0.455).lineTo(-0.123, 0.144).lineTo(0.123, 0.144).lineTo(0.123, 0.455).lineTo(0.266, 0.455).close().ext... | 3 | 50 | 0.234522 |
train_09992c34bb7232ff | 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.268, 0.171).workplane(offset=2).rect(0.449, 0.185).loft()
final_result = result
| 1 | 6 | 0.128048 |
train_9945fce15d636b2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.46, -0.237, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.8, 0.437).threePointArc((1, 0.237), (0.8, 0.037)).lineTo(-0.8, 0.037).threePointArc((-1, 0.237), (-0.8, 0.437)).lineTo(0.8, 0.437).close().extrude(0.921)
result = result.faces('<Z').sh... | 4 | 11 | 0.165938 |
train_8813a94d8321452c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.401).lineTo(1, -0.304).threePointArc((0.971, -0.373), (0.902, -0.401)).lineTo(-0.882, -0.401).lineTo(-1, -0.284).lineTo(-1, 0.297).lineTo(-0.895, 0.401).lineTo(1, 0.401).close().extrude... | 8 | 39 | 0.233677 |
train_fbaeb5a9bf7b8297 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, 0, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.579, 0.949).lineTo(0.579, 0.475).lineTo(0.964, 0.475).lineTo(0.964, 0).lineTo(0.579, 0).lineTo(0.579, -0.475).lineTo(0.193, -0.475).lineTo(0.193, -0.949).lineTo(-0.193, -0.949).lineTo... | 24 | 260 | 0.447989 |
train_24cdb38eb0917769 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.122, 0.995).threePointArc((0.17, 0.911), (0.293, 0.713)).lineTo(0.293, -0.116).threePointArc((0.329, -0.174), (0.415, -0.199)).lineTo(0.654, -0.199).threePointArc((0.811, -0.244), (0.... | 7 | 169 | 0.224553 |
train_f174d679edf4ffe6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.335, -0.998, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.483, 1.833).threePointArc((0.483, 1.833), (0.965, 0.998)).threePointArc((0.483, 0.162), (-0.483, 0.162)).threePointArc((-0.965, 0.998), (-0.483, 1.833)).close().workplane(offset=0.23... | 16 | 173 | 1.477503 |
train_3e975fc22a4d69c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.003, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, 0.454).threePointArc((0.852, -0.409), (0.029, -0.863)).threePointArc((-0.823, -0.454), (-0.852, 0.409)).threePointArc((-0.029, 0.863), (0.823, 0.454)).close().extrude(0.37, t... | 19 | 410 | 0.86316 |
train_7888bd8f76e6b829 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.922, 0.354).lineTo(1, 0.285).lineTo(1, -0.255).threePointArc((0.963, -0.326), (0.893, -0.354)).lineTo(-1, -0.354).lineTo(-1, 0.354).lineTo(0.922, 0.354).close().extrude(0.325)
result = resu... | 10 | 37 | 0.258579 |
train_2b388698eae9dde1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.036, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.889, 0.69).threePointArc((0.992, 0.648), (1.036, 0.545)).lineTo(1.036, 0.116).threePointArc((1.002, 0.034), (0.92, 0)).lineTo(0.613, 0).threePointArc((0.425, -0.079), (0.346, -0.268)).lineT... | 7 | 207 | 0.412396 |
train_4dd0bf9df174d9d2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.565, 2).extrude(0.284)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.149, -0.134).lineTo(0.149, -0.866).lineTo(-0.149, -0.866)... | 7 | 30 | 0.164168 |
train_56ccb6fdc6a869c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.458, 0.41), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.549, 0.536).threePointArc((0.752, 0.453), (0.837, 0.249)).lineTo(0.837, -0.249).threePointArc((0.752, -0.453), (0.549, -0.536)).lineTo(-0.549, -0.536).threePointArc((-0.752, -0.453), (... | 2 | 19 | 2.393952 |
train_6af8c52e1fc50817 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.166, 0.042, 0.574), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.061, 0.89).lineTo(0.007, 0.853).lineTo(0.075, 0.855).threePointArc((0.106, 0.878), (0.143, 0.866)).threePointArc((0.178, 0.864), (0.211, 0.873)).threePointArc((0.245, 0.859), (0.2... | 4 | 24 | 1.388072 |
train_5b56b441ccad8b1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.349), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.095, 0.465).threePointArc((0.263, 0.432), (0.333, 0.355)).lineTo(0.333, 0.231).threePointArc((0.382, 0.178), (0.496, 0.155)).lineTo(0.833, 0.155).threePointArc((0.95, 0.132), (1, 0.077)).l... | 14 | 107 | 0.559984 |
train_8a784bcb4f603700 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.245).lineTo(1, 0.133).lineTo(0.912, -0.052).lineTo(0.747, 0.008).lineTo(0.689, -0.15).lineTo(0.66, -0.176).lineTo(0.485, -0.092).lineTo(0.426, -0.247).lineTo(0.396, -0.272).thr... | 1 | 38 | 0.58439 |
train_8210907800c5236f | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.108).lineTo(0.845, 0).lineTo(1, -0.108).lineTo(0.29, -0.108).lineTo(0.29, 0.108).lineTo(1, 0.108).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.443, 0.323, 0), norma... | 14 | 48 | 0.379435 |
train_e04aaa0c5fcefe53 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.536).extrude(0.452, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.304).extrude(1, both=True))
result = result.cut(cq.Workplane('XY').circle(0.305).extrude(1.353, both=True))
resu... | 7 | 18 | 0.807442 |
train_0c4b6ace9b5a4da9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.029, 0.089).lineTo(0.076, 0.055).lineTo(0.094, 0).lineTo(0.076, -0.055).lineTo(0.029, -0.089).lineTo(-0.029, -0.089).lineTo(-0.076, -0.055).lineTo(-0.094, 0).lineTo(-0.076, 0.055).lineTo(-... | 8 | 47 | 0.042518 |
train_b81a7f3f20c6b305 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.408, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.167, 0.788).threePointArc((-0.155, 0.727), (-0.192, 0.678)).threePointArc((-0.211, 0.624), (-0.211, 0.568)).lineTo(-0.206, 0.458).threePointArc((-0.214, 0.403), (-0.224, 0.348)).lineTo(-... | 14 | 124 | 0.414342 |
train_884dc5bfdf0953d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.04, 0.015, -0.402), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.869, -0.057).threePointArc((0.094, 0.957), (0.611, -0.142)).lineTo(0.869, -0.69).threePointArc((0.851, -0.957), (0.554, -0.94)).lineTo(0.296, -0.391).threePointArc((0, -0.374), (-... | 16 | 64 | 0.745688 |
train_45221166460839d7 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.353).extrude(0.926, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.526).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 6 | 69 | 0.621628 |
train_0e5087092429e89d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.383, -1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.59, -0.11).lineTo(0.521, -0.301).lineTo(0.619, -0.413).lineTo(0.508, -0.545).lineTo(0.38, -0.468).lineTo(0.204, -0.57).lineTo(0.207, -0.719).lineTo(0.037, -0.749).lineTo(-0.012, -0.608).l... | 7 | 110 | 2.050589 |
train_b7f14e2df40be657 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.019, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.412, 0.244).threePointArc((0.868, 0.277), (0.901, -0.233)).lineTo(-0.058, -0.277).lineTo(0.412, 0.244).close().extrude(0.274).union(cq.Workplane(cq.Plane(origin=(0, 0.019, -0.023), nor... | 9 | 64 | 0.209884 |
train_4e3bfb6f6ea2a3da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, -0.001, -0.55), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.084, 0.964).lineTo(0.78, -0.964).lineTo(-0.288, -0.613).threePointArc((-0.78, 0.259), (0.084, 0.964)).close().extrude(0.409, taper=-4.791, both=True)
result = result.union(cq.Workp... | 14 | 127 | 1.130683 |
train_1df3aa85ca43cebb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.07, 0.477, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.428, 0.772).lineTo(-0.428, -0.17).lineTo(1.026, -0.17).lineTo(1.026, -0.772).lineTo(-1.026, -0.772).lineTo(-1.026, 0.772).lineTo(-0.428, 0.772).close().extrude(0.966, both=True).i... | 9 | 98 | 0.301376 |
train_7e74a81b29558736 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.641, 0.404).lineTo(0.912, 0.302).lineTo(1, 0.141).lineTo(1, 0).lineTo(0.771, 0).lineTo(0.771, 0.121).lineTo(0.671, 0.302).lineTo(0, 0.178).lineTo(0, 0.404).lineTo(0.641, 0.404).close().re... | 7 | 48 | 0.457112 |
train_ecb8e68341cb891a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, -0.782, -0.392), normal=(-0.23, 0.65, 0.725), xDir=(-0.943, -0.333, 0))).moveTo(0.111, 0.22).lineTo(0.147, 0.184).lineTo(0.147, 0.116).lineTo(0.189, 0.073).lineTo(0.244, 0.073).lineTo(0.293, 0.024).lineTo(0.293, -0.021).lineTo(0.241, -0.073... | 8 | 152 | 0.906883 |
train_b12f8cba4b932f7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.285, 0.446, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.554, 0).threePointArc((0, -0.554), (-0.554, 0)).threePointArc((0, 0.554), (0.554, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.285, 0.446, -0.004), normal=(0, -1, 0), xDir=(... | 3 | 17 | 0.383597 |
train_05ac81e02798ed55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.087, 0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.089, 0.422).lineTo(-0.08, 0.213).lineTo(0.022, 0.182).lineTo(0.494, 0.129).lineTo(0.536, 0.082).lineTo(0.457, -0.064).lineTo(0.478, -0.115).lineTo(0.582, -0.146).threePointArc((0.... | 11 | 109 | 0.626845 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.