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_f8e0ec966c5f446a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.287, 0, 0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.05, 0.714).threePointArc((0.183, 0.607), (0.258, 0.667)).threePointArc((0.354, 0.525), (0.443, 0.56)).threePointArc((0.493, 0.396), (0.588, 0.404)).threePointArc((0.587, 0.232), (0.681... | 13 | 550 | 0.885171 |
train_91d87cad7ea44513 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.946, -0.778, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.849, 1.43).threePointArc((-0.589, 1.318), (-0.478, 1.054)).lineTo(-0.478, 0.721).threePointArc((-0.406, 0.55), (-0.235, 0.478)).lineTo(0.099, 0.478).threePointArc((0.365, 0.365),... | 11 | 54 | 0.826844 |
train_fafb3357f584c4ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.139, 0.322, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.861, 0).threePointArc((0, -0.199), (-0.861, 0)).threePointArc((0, 0.199), (0.861, 0)).close().extrude(0.07)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.23, 0.385, -0.25... | 26 | 490 | 0.395556 |
train_3b7c7e5e78df0bdb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.565), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.6, 1).lineTo(0.6, 0.2).lineTo(0.2, 0.2).lineTo(0.2, -0.2).lineTo(1, -0.2).lineTo(1, -0.6).lineTo(-0.2, -0.6).lineTo(-0.2, -1).lineTo(-0.6, -1).lineTo(-0.6, -0.6).lineTo(-1, -0.6).lineTo(-1... | 24 | 211 | 1.979748 |
train_9eccae71db98fa6d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.395), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.943, 0.846).lineTo(0.943, 0).lineTo(-0.943, 0).lineTo(-0.943, 0.846).lineTo(-0.82, 0.846).lineTo(-0.82, 0.123).lineTo(0.82, 0.123).lineTo(0.82, 0.846).lineTo(0.943, 0.846).close().extrude... | 11 | 60 | 0.203404 |
train_a56335bf90b05576 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.953), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.328, 1).threePointArc((0.421, 0.961), (0.46, 0.868)).lineTo(0.46, -1).lineTo(-0.328, -1).lineTo(-0.46, -0.868).lineTo(-0.46, 0.748).lineTo(-0.207, 1).lineTo(0.328, 1).close().extrude(0.822... | 7 | 126 | 1.098667 |
train_cc2285251df5a209 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.325, -0.359, -0.394), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.181, 0.492).lineTo(0.181, 0.181).lineTo(1.011, 0.181).lineTo(1.011, 0).lineTo(0, 0).lineTo(0, 0.492).lineTo(0.181, 0.492).close().extrude(0.389, both=True)
result = result.union... | 12 | 243 | 0.618166 |
train_c3839a2cbaf83aa2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.406), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.703).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.703).lineTo(-0.537, 0.703).lineTo(-0.537, 0.459).lineTo(0.537, 0.459).lineTo(0.537, 0.703).lineTo(1, 0.703).close().extrude(0.681, both=Tru... | 19 | 78 | 1.383299 |
train_3118850ac2e53e90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, -0.386, 0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.214, 0.353).lineTo(0.412, 0.012).lineTo(0.216, -0.352).lineTo(-0.198, -0.362).lineTo(-0.412, -0.011).lineTo(-0.198, 0.362).lineTo(0.214, 0.353).close().extrude(1.087, both=True)
re... | 27 | 148 | 0.616588 |
train_b7687c885b9a9730 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.345, -0.24, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.69).threePointArc((0.487, 0.487), (0.69, 0)).lineTo(0.32, 0).threePointArc((0.226, 0.226), (0, 0.32)).lineTo(0, 0.69).close().extrude(2)
result = result.union(cq.Workplane(cq.Plane... | 13 | 232 | 0.51835 |
train_843a66b2d5dd8e66 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.584, 0, 0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.285, -0.095).lineTo(-0.228, -0.153).threePointArc((-0.222, -0.156), (-0.216, -0.153)).lineTo(-0.17, -0.106).threePointArc((-0.163, -0.094), (-0.166, -0.081)).lineTo(-0.222, 0.032).thr... | 13 | 154 | 0.400132 |
train_05ca234cc31374d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.076, -0.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.969, 0.324).lineTo(0.598, 0.179).threePointArc((0.567, 0.125), (0.674, 0.062)).lineTo(0.992, 0.239).threePointArc((0.975, -0.039), (0.82, -0.309)).lineTo(0.665, -0.031).threePointArc(... | 6 | 122 | 0.867328 |
train_2ab8ba40c562905c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.857).lineTo(1, 0).lineTo(0.498, -0.857).lineTo(-0.498, -0.857).lineTo(-1, 0).lineTo(-0.498, 0.857).lineTo(0.498, 0.857).close().extrude(0.769)
result = result.cut(cq.Workplane(cq.Pl... | 5 | 12 | 1.703932 |
train_e7c843168df48481 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.355, 0.142, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.073, 0.551).threePointArc((0.181, 0.507), (0.28, 0.446)).threePointArc((0.372, 0.364), (0.448, 0.268)).threePointArc((0.509, 0.157), (0.554, 0.038)).lineTo(0.622, -0.198).threePoin... | 12 | 193 | 0.631883 |
train_d8d517bdb27bc15f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.115).lineTo(1, 0.092).threePointArc((0.981, 0.089), (0.955, 0.088)).lineTo(-0.284, 0.088).threePointArc((-0.553, 0.074), (-0.667, 0.043)).lineTo(-0.667, -0.062).threePointArc((-0.6,... | 6 | 64 | 0.061777 |
train_b779621f7c34966f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.568, 0.051, 0.519), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.237, 0.221).lineTo(0.173, -0.221).lineTo(-0.173, -0.221).lineTo(-0.237, 0.221).lineTo(0.237, 0.221).close().extrude(7.128, both=True)
result = result.intersect(cq.Workplane(cq.Plane... | 14 | 71 | 1.318431 |
train_9eec073f02fc6dc2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.712, 0, -0.093), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.185, 1.57).lineTo(0.185, 0.185).lineTo(1.42, 0.185).lineTo(1.42, 0).lineTo(0, 0).lineTo(0, 1.57).lineTo(0.185, 1.57).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq... | 7 | 25 | 0.457895 |
train_d9a438c431d3b588 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.207, 0.267, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, 0.515).threePointArc((0.708, -0.193), (0.193, -0.708)).threePointArc((-0.515, -0.515), (-0.708, 0.193)).threePointArc((-0.193, 0.708), (0.515, 0.515)).close().extrude(0.297)
r... | 13 | 215 | 0.963353 |
train_5995515483774a0e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.384, -0.33, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.767).threePointArc((0.542, 0.542), (0.767, 0)).lineTo(0.422, 0).threePointArc((0.299, 0.299), (0, 0.422)).lineTo(0, 0.767).close().extrude(2)
result = result.union(cq.Workplane(cq.... | 5 | 21 | 0.575775 |
train_5617cdc39c8c514d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.778, 1).lineTo(0.778, -0.815).lineTo(0.597, -1).lineTo(-0.695, -1).threePointArc((-0.755, -0.968), (-0.778, -0.908)).lineTo(-0.778, 0.792).threePointArc((-0.719, 0.932), (-0.574, 1)).lineT... | 19 | 318 | 1.168352 |
train_ff2db125abd2f9a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.676)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.001, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.555).extrude(2.027, both=True))
result = result.u... | 13 | 82 | 1.564322 |
train_036289b8f7718d51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.132, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.715, 0.287).threePointArc((0.91, 0.205), (1, 0.006)).lineTo(1, -0.082).threePointArc((0.932, -0.227), (0.79, -0.287)).lineTo(-0.715, -0.287).threePointArc((-0.91, -0.205), (-1, -0.006... | 6 | 22 | 0.285024 |
train_590fbbd8e2ef0f52 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.413, 0, -0.527), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.129, 1.053).lineTo(0.129, 0.129).lineTo(0.94, 0.129).lineTo(0.94, 0).lineTo(0, 0).lineTo(0, 1.053).lineTo(0.129, 1.053).close().extrude(1, both=True)
result = result.cut(cq.Workplane... | 11 | 89 | 0.251037 |
train_e4220e4d94e42ac4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.248, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.975, 0.752).lineTo(0.975, -0.752).lineTo(-0.975, -0.752).lineTo(-0.975, -0.251).lineTo(0.586, -0.251).lineTo(0.586, 0.251).lineTo(-0.975, 0.251).lineTo(-0.975, 0.752).lineTo(0.975, 0.... | 7 | 51 | 0.429078 |
train_68c2461f4375677f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.241, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.226).extrude(0.464, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.241, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.339).extrude(0.758, both=True))
result = result.... | 7 | 41 | 0.325662 |
train_039009e6773c3dbf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.891, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.619, 1.862).lineTo(0.619, -0.08).threePointArc((-0.619, 0.891), (0.619, 1.862)).close().extrude(1.045)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.054, 1.548, -4.496), normal... | 13 | 8 | 2.120386 |
train_9067341bb87c4ae7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.284, 0.231, -0.752), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.117).lineTo(0, 0.096).lineTo(0.55, 0.053).lineTo(0.55, 0.032).lineTo(0.275, -0.011).lineTo(0.275, -0.117).lineTo(-0.275, -0.117).lineTo(-0.275, -0.011).lineTo(-0.55, 0.032).lin... | 16 | 159 | 0.305742 |
train_8b3eec0a8b1b1ddf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.294), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.588)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.294), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.575).extrude(1.764, both=True))
result = result.union(cq.Workpl... | 6 | 20 | 1.808812 |
train_4b465f349efc262e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, 0, 0.789), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.245, 0.878).lineTo(0.517, 0.705).lineTo(0.856, 0.001).lineTo(0.518, -0.704).lineTo(-0.244, -0.878).lineTo(-0.856, -0.391).lineTo(-0.856, 0.39).lineTo(-0.245, 0.878).close().workplane(... | 2 | 44 | 2.116645 |
train_9c6f634c1e2c083c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.453), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.334, 1).threePointArc((0.449, 0.943), (0.498, 0.829)).lineTo(0.498, 0.592).threePointArc((0.526, 0.526), (0.592, 0.498)).lineTo(0.837, 0.498).threePointArc((0.946, 0.452), (1, 0.343)).line... | 20 | 82 | 1.658112 |
train_b86c1feccf20eaae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, -1.298, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.032, 1.615).threePointArc((0.506, 1.515), (0.844, 1.302)).threePointArc((0.956, 1.031), (0.812, 0.776)).threePointArc((0.45, 0.605), (-0.032, 0.564)).threePointArc((-0.506, 0.664), (-... | 10 | 65 | 2.074654 |
train_eca131b982141151 | 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.387).extrude(1.912)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.545).extrude(0.661))
result = result.cut(cq.Workplane(cq.Plane... | 5 | 9 | 0.314125 |
train_5369cef6beeae6ec | 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.119, 0.246).lineTo(0.119, -0.104).lineTo(0.359, -0.104).lineTo(0.359, -0.246).lineTo(-0.023, -0.246).lineTo(-0.023, 0.246).lineTo(0.119, 0.246).close().extrude(2).union(cq.Workplane(cq.Plane(o... | 6 | 64 | 0.314116 |
train_c794f23437250dd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.698), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.529, 1.395).lineTo(0.529, 0.28).lineTo(1, 0.28).lineTo(1, 0).lineTo(0.26, 0).lineTo(0.26, 1.395).lineTo(0.529, 1.395).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 2 | 18 | 1.542018 |
train_cf8f6bb449f85b74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, -0.17).lineTo(0.974, -0.229).lineTo(0.951, -0.311).lineTo(0.821, -0.282).lineTo(0.749, -0.438).lineTo(0.847, -0.532).lineTo(0.799, -0.603).lineTo(0.685, -0.532).lineTo(0.567, -0.... | 4 | 85 | 0.675254 |
train_8756d1d30942e4b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.09, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.934, 0.088).lineTo(0.988, 0.061).threePointArc((0.997, 0.052), (0.993, 0.043)).lineTo(0.941, 0.001).threePointArc((0.807, -0.134), (0.658, 0.001)).lineTo(-0.461, 0.036).threePointA... | 2 | 25 | 0.09434 |
train_97cbb08d5d729432 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.501, 0.664).lineTo(1, 0.169).lineTo(1, -0.037).lineTo(0.368, -0.664).lineTo(-0.345, -0.664).lineTo(-1, -0.013).lineTo(-1, 0.013).threePointArc((-0.806, 0.475), (-0.345, 0.664)).lineTo(0.50... | 4 | 37 | 0.406436 |
train_80e6e4841ba21541 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.078, 0.683, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.655, 2.937).threePointArc((0.423, 2.706), (1.252, 1.523)).threePointArc((1.349, 0.082), (0.655, -0.774)).threePointArc((-0.423, -0.542), (-1.252, 0.64)).threePointArc((-1.349, 2.081),... | 22 | 141 | 1.533412 |
train_95828d252f45ffa7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.492, 1).lineTo(0.492, -0.792).threePointArc((0.432, -0.932), (0.289, -1)).lineTo(-0.492, -1).lineTo(-0.492, 0.707).threePointArc((-0.408, 0.906), (-0.203, 1)).lineTo(0.492, 1).close().extr... | 9 | 69 | 0.782102 |
train_47e6bf6e958daae1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.159, -0.235, 0.164), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.144, 0.089).threePointArc((0, -0.055), (-0.144, 0.089)).threePointArc((0, 0.233), (0.144, 0.089)).close().revolve(angleDegrees=180, axisStart=(-0.067, -0.203), axisEnd=(0.067, -0.2... | 5 | 62 | 0.819328 |
train_9ea85dce5522d0af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.171, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.613, 0.755).threePointArc((-0.53, 0.722), (-0.495, 0.646)).lineTo(-0.495, 0.503).threePointArc((-0.479, 0.467), (-0.44, 0.453)).lineTo(0.419, 0.453).threePointArc((0.473, 0.432), (0.... | 14 | 180 | 0.08518 |
train_3e71e13c21fa1c70 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.127, 0.417, 0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.462).threePointArc((0.327, 0.327), (0.462, 0)).threePointArc((0.327, -0.327), (0, -0.462)).threePointArc((-0.327, -0.327), (-0.462, 0)).threePointArc((-0.327, 0.327), (0, 0.462))... | 2 | 10 | 0.131182 |
train_514c37e58bfc699f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.132, 0, 0.279), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.164, 0.39).lineTo(0.251, 0.339).threePointArc((0.285, 0.31), (0.304, 0.27)).lineTo(0.35, 0.199).lineTo(0.376, 0.12).threePointArc((0.371, 0.072), (0.408, 0.042)).lineTo(0.415, -0.046... | 3 | 32 | 0.736817 |
train_05fcf4ae5562c363 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.093, 0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.503, 0.5).threePointArc((0.837, 0.4), (0.671, 0.2)).lineTo(0, 0).lineTo(0.503, -0.3).threePointArc((0.503, -0.4), (0.168, -0.5)).lineTo(-0.503, -0.2).threePointArc((-0.837, -0.1), (-0.... | 15 | 178 | 2.048372 |
train_76ac3065120bacf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.149), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.587, 0.428).lineTo(0.912, 0.338).lineTo(1, 0.149).lineTo(1, 0).lineTo(0.786, 0).lineTo(0.786, 0.128).lineTo(0.686, 0.338).lineTo(0, 0.219).lineTo(0, 0.428).lineTo(0.587, 0.428).close().re... | 7 | 173 | 0.47703 |
train_8178667b86079a46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.115, 0.38, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.366, 0.241).lineTo(-0.366, -0.123).lineTo(0.691, -0.123).lineTo(0.691, -0.241).lineTo(-0.691, -0.241).lineTo(-0.691, 0.241).lineTo(-0.366, 0.241).close().extrude(1.57, both=True).... | 21 | 349 | 0.909034 |
train_9d2602f52f5232b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.203, -1, 0.152), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.073, 0.307).lineTo(0.16, 0.235).lineTo(0.329, 0.05).lineTo(0.292, -0.216).lineTo(0.051, -0.307).lineTo(-0.182, -0.281).lineTo(-0.329, -0.083).lineTo(-0.257, 0.148).lineTo(-0.073, 0.3... | 5 | 44 | 0.54599 |
train_87c721c890016275 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0, 0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.015, 0.17).lineTo(0.077, 0.153).lineTo(0.126, 0.114).lineTo(0.158, 0.061).lineTo(0.17, 0).lineTo(0.158, -0.061).lineTo(0.126, -0.114).lineTo(0.077, -0.153).lineTo(0.015, -0.17).lineTo(... | 5 | 75 | 0.047434 |
train_a17f709f493a0494 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.172, -0.468, 0.095), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.288, 0.241).threePointArc((0.303, 0.19), (0.275, 0.145)).threePointArc((0.299, 0.067), (0.378, 0.048)).lineTo(0.261, -0.048).threePointArc((0.297, -0.102), (0.345, -0.145)).threeP... | 11 | 189 | 0.278957 |
train_32048cd5afe26d52 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.306, -1.2, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.323, 2.2).lineTo(0.323, 1.639).lineTo(0.93, 1.639).lineTo(0.93, 0.763).lineTo(0.323, 0.763).lineTo(0.323, 0.201).lineTo(-0.323, 0.201).lineTo(-0.323, 0.763).lineTo(-0.93, 0.763).lineTo(... | 14 | 23 | 1.435335 |
train_7b840e4c70ec16c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.123, 1.122, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.31, 1.323).lineTo(1.31, -1.323).lineTo(-1.31, -1.323).lineTo(-1.31, 1.323).lineTo(-0.918, 1.323).lineTo(-0.918, -1.034).lineTo(0.918, -1.034).lineTo(0.918, 1.323).lineTo(1.31, 1.323).c... | 12 | 20 | 0.139778 |
train_6c8017cb127c38b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.051, -0.24, -0.638), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.78, 0.443).lineTo(0.78, -0.443).lineTo(-0.05, -0.443).lineTo(-0.05, 0.443).lineTo(0.246, 0.443).lineTo(0.246, -0.056).lineTo(0.485, -0.056).lineTo(0.485, 0.443).lineTo(0.78, 0.443)... | 18 | 224 | 1.924509 |
train_cd20e4a46645b1a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.183, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.863, 1.035).threePointArc((0.954, 1.003), (1, 0.928)).lineTo(1, -0.138).threePointArc((0.967, -0.187), (0.908, -0.208)).lineTo(0.674, -0.208).threePointArc((0.551, -0.252), (0.498, -0.355))... | 24 | 59 | 0.489096 |
train_5277f04fc1e75301 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.873).threePointArc((0.799, 0.727), (0.959, 0)).threePointArc((0.799, -0.727), (0, -0.873)).threePointArc((-0.799, -0.727), (-0.959, 0)).threePointArc((-0.799, 0.727), (0, 0.873)).close().extrude(0.185, both=True)
result = result.cut(cq.Workplane(... | 21 | 30 | 0.987241 |
train_5571863cf96384ca | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.903, 0.969).threePointArc((0.971, 0.941), (1, 0.876)).lineTo(1, -0.729).threePointArc((0.926, -0.897), (0.749, -0.969)).lineTo(-0.619, -0.969).threePointArc((-0.887, -0.86), (-1, -0.603)).lineTo(-1, 0.867).threePointArc((-0.969, 0.939), (-0.894, 0.9... | 6 | 83 | 3.352746 |
train_142ad85eb6f657f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.111, -0.016, -0.213), normal=(0.11, 0.217, 0.97), xDir=(0, -0.976, 0.218))).moveTo(0.987, 0.841).lineTo(0.987, 0).lineTo(0.494, 0).lineTo(0.494, -0.841).lineTo(-0.494, -0.841).lineTo(-0.494, 0).lineTo(-0.987, 0).lineTo(-0.987, 0.841).lineTo(0, ... | 12 | 144 | 0.5867 |
train_e52f848e09be42f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.514, -0.247, -0.549), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.485, 0.316).lineTo(0.291, -0.316).lineTo(-0.291, -0.316).lineTo(-0.485, 0.316).lineTo(0.485, 0.316).close().extrude(0.742)
result = result.union(cq.Workplane(cq.Plane(origin=(0.35... | 7 | 42 | 0.812521 |
train_2b13805706e3040b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.9, -0.817), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.087, 0.011).threePointArc((0.094, 0.008), (0.099, 0.002)).threePointArc((0.096, -0.006), (0.09, -0.011)).threePointArc((0.082, -0.008), (0.078, -0.002)).threePointArc((0.08, 0.006), (0... | 3 | 26 | 0.158568 |
train_78f5570a51d5edb8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.268, 0.533, 0.074), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.42, -0.023).lineTo(-0.251, 0.395).lineTo(-0.148, 0.356).lineTo(-0.318, -0.062).lineTo(-0.216, -0.1).lineTo(-0.047, 0.319).lineTo(0.055, 0.281).lineTo(-0.114, -0.137).lineTo(-0.013... | 11 | 207 | 0.254774 |
train_23cb97ae2c237061 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.04, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.423, 0.96).lineTo(-0.423, 0.575).lineTo(0, 0.575).lineTo(0, -0.192).lineTo(0.845, -0.192).lineTo(0.845, -0.575).lineTo(0.423, -0.575).lineTo(0.423, -0.96).lineTo(-0.845, -0.96).lineTo(... | 13 | 204 | 0.689399 |
train_9fac03202c5b6947 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.174, 1).threePointArc((-0.052, 0.948), (0, 0.826)).lineTo(0, 0.37).threePointArc((0.11, 0.11), (0.37, 0)).lineTo(0.749, 0).threePointArc((0.925, -0.075), (1, -0.251)).lineTo(1, -0.689).thr... | 3 | 71 | 1.002349 |
train_765e78a42ef652df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, -0.002, 0.056), normal=(-0.925, 0.123, 0.358), xDir=(-0.131, -0.991, 0))).moveTo(0.66, 0.646).lineTo(0.66, -0.646).threePointArc((-0.66, 0), (0.66, 0.646)).close().extrude(0.183, taper=7.622, both=False)
result = result.union(cq.Workplane(cq... | 13 | 129 | 0.525772 |
train_2218cdd2ef807c53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.251, -0.095, -0.801), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.749, 0.284).lineTo(0.749, 0.171).lineTo(0.066, 0.171).lineTo(0.066, 0.057).lineTo(0.749, 0.057).lineTo(0.749, -0.284).lineTo(-0.048, -0.284).lineTo(-0.048, -0.171).lineTo(0.635, -... | 8 | 202 | 1.054563 |
train_8c9c107f98ae10b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.318, -0.493, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.341, 0.388).threePointArc((0.375, 0.371), (0.389, 0.332)).lineTo(0.389, 0.197).threePointArc((0.381, 0.176), (0.363, 0.166)).lineTo(-0.143, 0.166).threePointArc((-0.183, 0.147), (-0.1... | 16 | 269 | 1.064731 |
train_0600e918f5ab7d23 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.876, 0.601).threePointArc((0.963, 0.566), (1, 0.479)).lineTo(1, -0.548).lineTo(0.945, -0.601).lineTo(-0.926, -0.601).threePointArc((-0.978, -0.58), (-1, -0.528)).lineTo(-1, 0.538).threePoi... | 7 | 36 | 0.637311 |
train_093aa2cdeac1fb3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.2, 0.436, -0.068), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.492, 0.181).threePointArc((0.457, 0.097), (0.373, 0.063)).lineTo(-0.373, 0.063).threePointArc((-0.457, 0.097), (-0.492, 0.181)).lineTo(-0.492, 0.679).threePointArc((-0.457, 0.764),... | 3 | 38 | 0.659302 |
train_9377b2bb85bf1645 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.016, 0.049, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.694, 0.789).threePointArc((0.82, -0.298), (-0.82, -0.789)).lineTo(-0.694, 0.789).close().moveTo(-0.359, -0.396).threePointArc((0.097, 0.357), (0.015, -0.665)).lineTo(-0.359, -0.3... | 4 | 63 | 0.630213 |
train_43162311076db16f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.056, -0.05, -0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.422, 0.949).threePointArc((0.502, 0.808), (0.429, 0.615)).threePointArc((0.271, 0.426), (0.252, 0.28)).lineTo(0.275, 0.228).threePointArc((0.624, -0.011), (0.844, -0.039)).threePoi... | 16 | 229 | 1.896991 |
train_8850b82854a66334 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.573), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.145).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.145).lineTo(-0.723, 1.145).lineTo(-0.723, 0.273).lineTo(0.723, 0.273).lineTo(0.723, 1.145).lineTo(1, 1.145).close().extrude(0.966, both=Tru... | 6 | 31 | 1.504362 |
train_c32e5dd672807c98 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.807).lineTo(1, -0.629).lineTo(0.824, -0.807).lineTo(-0.914, -0.807).lineTo(-0.914, -0.722).lineTo(-1, -0.722).lineTo(-1, 0.663).threePointArc((-0.958, 0.764), (-0.856, 0.807)).lineTo(1,... | 3 | 26 | 1.578369 |
train_bc82fd897ada865a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.076, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.341, 1).lineTo(0.411, 0.93).lineTo(0.411, -0.952).lineTo(0.363, -1).lineTo(-0.319, -1).lineTo(-0.411, -0.908).lineTo(-0.411, 0.914).lineTo(-0.325, 1).lineTo(0.341, 1).close().extrude(0... | 15 | 226 | 0.399274 |
train_b0764c9c9b9aae31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.187, 0, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.201).threePointArc((0.384, 0.177), (0.548, 0.145)).lineTo(0.804, 0.021).threePointArc((0.812, -0.004), (0.804, -0.028)).lineTo(0.552, -0.148).threePointArc((0.394, -0.179), (0.218... | 5 | 48 | 0.091351 |
train_2f39a46821711a56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.26, -0.863, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(1, 0.911).lineTo(1, -0.392).lineTo(-1, -0.392).lineTo(-1, 0.911).lineTo(-0.714, 0.911).lineTo(-0.714, 0.136).lineTo(-0.429, 0.136).lineTo(-0.429, 0.911).lineTo(-0.143, 0.911).lineTo(-0.1... | 6 | 50 | 3.33104 |
train_2e061e48c658b0e2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.965, 0.233).lineTo(0.965, -0.233).lineTo(0.483, -0.233).lineTo(0.483, 0).lineTo(0, 0).lineTo(0, -0.233).lineTo(-0.483, -0.233).lineTo(-0.483, 0).lineTo(-0.965, 0).lineTo(-0.965, 0.233).lineTo(0.965, 0.233).close().extrude(0.165, taper=-11.656, both=... | 8 | 99 | 0.221373 |
train_3fe04c41d698d97a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.656, 0.235, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.032, 0.254).threePointArc((0.01, 0.187), (0.071, 0.137)).lineTo(0.175, 0.241).lineTo(0.278, 0.191).threePointArc((0.325, 0.172), (0.344, 0.125)).lineTo(0.344, -0.126).threePointA... | 1 | 21 | 0.100003 |
train_d0e3c6e9a46446eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.038, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.955, 0.847).lineTo(0.955, -0.847).lineTo(-0.955, -0.847).lineTo(-0.955, 0.847).lineTo(-0.639, 0.847).lineTo(-0.639, -0.552).lineTo(0.639, -0.552).lineTo(0.639, 0.847).lineTo(0.955, 0.... | 5 | 65 | 0.64403 |
train_2d88bc175df6410c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.374), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.569, 1).lineTo(0.569, -1).lineTo(-0.561, -1).lineTo(-0.569, -0.984).lineTo(-0.569, 1).lineTo(0.569, 1).close().extrude(0.749)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.025, -0.38... | 6 | 29 | 1.540457 |
train_904d5fcf3767ec8c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.694), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.582, 0.955).threePointArc((0.635, 0.933), (0.658, 0.88)).lineTo(0.658, -0.955).lineTo(-0.548, -0.955).lineTo(-0.658, -0.845).lineTo(-0.658, 0.853).threePointArc((-0.627, 0.925), (-0.556, 0... | 9 | 59 | 1.251816 |
train_be7e0e36f8f00a4b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.293), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.355, 0.221).threePointArc((0.575, 0), (0.355, -0.221)).lineTo(0.118, -0.176).lineTo(-0.118, -0.193).lineTo(-0.355, -0.221).threePointArc((-0.575, 0), (-0.355, 0.221)).lineTo(0.355, 0.221).... | 4 | 35 | 0.436821 |
train_ca444a2825e64c6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.242, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.881, 0.715).lineTo(0.881, 0.429).lineTo(-0.629, 0.429).lineTo(-0.629, 0.143).lineTo(0.881, 0.143).lineTo(0.881, -0.715).lineTo(-0.881, -0.715).lineTo(-0.881, -0.429).lineTo(0.629, -0.... | 8 | 110 | 0.984913 |
train_88965fa2ed02e463 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.905).lineTo(1, 0.531).lineTo(0.25, 0.531).lineTo(0.25, -0.905).lineTo(-0.25, -0.905).lineTo(-0.25, 0.531).lineTo(-1, 0.531).lineTo(-1, 0.905).lineTo(1, 0.905).close().extrude(0.679, tap... | 19 | 35 | 1.312157 |
train_08b1ae5a624677a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.069, 0.163, -0.537), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.737, 0).threePointArc((0, -0.737), (-0.737, 0)).threePointArc((0, 0.737), (0.737, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.069, 0.163, -0.537), normal=(0, -1, 0), xDir=(1,... | 3 | 32 | 2.611063 |
train_b8143f6d6a55c468 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, 0.619, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.349, 0.381).threePointArc((0.371, 0.371), (0.381, 0.349)).lineTo(0.381, 0.25).threePointArc((0.374, 0.235), (0.359, 0.228)).lineTo(-0.205, 0.228).threePointArc((-0.222, 0.222), (-0... | 3 | 90 | 0.491065 |
train_13223b7afdf9dbc7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.306, -0.252, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.611).threePointArc((0.433, 0.433), (0.611, 0)).lineTo(0.183, 0).threePointArc((0.129, 0.129), (0, 0.183)).lineTo(0, 0.611).close().extrude(2)
result = result.union(cq.Workplane(cq... | 4 | 15 | 0.543411 |
train_d66050437c3de39b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.783).extrude(0.556)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.789, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.125, 0.424), (-0.458, 0.712), (-0.895, 0.775... | 6 | 80 | 0.903475 |
train_6f8b0fb78314684f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.195, 0.137, -0.57), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.19, 0.709).threePointArc((0.324, 0.562), (0.709, 0.19)).threePointArc((0.562, -0.324), (0.19, -0.709)).threePointArc((-0.324, -0.562), (-0.709, -0.19)).threePointArc((-0.562, 0.32... | 3 | 29 | 0.719284 |
train_0f4e14eac9087a4a | 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.702).extrude(1.635)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.702, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.266, 0.547), (-0.858, 0.684), (-1.333, 0.304), (... | 6 | 75 | 2.174065 |
train_079dbcb0eff66d02 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.367, -0.085, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.734).threePointArc((0.519, 0.519), (0.734, 0)).lineTo(0.32, 0).threePointArc((0.226, 0.226), (0, 0.32)).lineTo(0, 0.734).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 6 | 25 | 0.920968 |
train_2e62b5d95c223186 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.923, 0.531).lineTo(0.923, -0.531).threePointArc((-0.923, 0), (0.923, 0.531)).close().extrude(0.412, taper=13.111)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.414, -0.845, -0.14), n... | 8 | 131 | 1.156845 |
train_9f1f6d560311087a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.041, 0, -0.956), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2.08, 0.494).workplane(offset=1.912).rect(0.906, 0.455).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.172, -0.078, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.29, 1.629).... | 7 | 35 | 1.410821 |
train_1b943cdbf7fb7bcb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.059, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.881, 0.327).lineTo(1, 0.208).lineTo(1, -0.205).threePointArc((0.964, -0.291), (0.879, -0.327)).lineTo(-0.856, -0.327).lineTo(-1, -0.182).lineTo(-1, 0.232).lineTo(-0.905, 0.232).lineTo... | 10 | 107 | 0.394919 |
train_394696d023c29b50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.803), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.603).lineTo(1, 0.273).lineTo(1.471, 0.273).lineTo(1.471, 0).lineTo(0.435, 0).lineTo(0.435, 1.603).lineTo(1, 1.603).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 6 | 36 | 3.883833 |
train_bae15b2ce05293f4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.133).lineTo(1, 0.07).lineTo(-0.412, 0.07).lineTo(-0.412, -0.07).lineTo(1, -0.07).lineTo(1, -0.133).lineTo(-1, -0.133).lineTo(-1, 0.133).lineTo(1, 0.133).close().extrude(0.2, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.753, 0, ... | 11 | 95 | 0.128907 |
train_9511d93e20ca2d47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.233, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.404).extrude(1.609)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.233, 0, 0.127), normal=(0.592, 0, 0.806), xDir=(0.806, 0, -0.592))).circle(0.464).extrude(0.836))
result = r... | 8 | 111 | 0.530271 |
train_a26eb07a4d4ec959 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.073, 0, -0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.065, 0.642).lineTo(0.05, 0.217).lineTo(0.131, -0.162).lineTo(0.07, -1).lineTo(0.019, -0.947).lineTo(0.072, -0.21).lineTo(0.013, 0.069).lineTo(-0.114, 0.535).lineTo(-0.131, 0.967).line... | 6 | 72 | 0.266824 |
train_d9667903e7cb2ae0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.017, 0.105, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.78, -0.191).threePointArc((-0.559, -0.894), (-0.524, 0.324)).lineTo(-0.268, 0.894).lineTo(-0.652, 0.038).threePointArc((-0.431, -0.609), (0.175, -0.4)).lineTo(0.294, -0.135).threeP... | 5 | 51 | 0.554455 |
train_f79060947cf4425c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.387, 0.297).lineTo(0.387, 0.157).lineTo(0.527, 0.157).lineTo(0.527, -0.103).threePointArc((0.47, -0.24), (0.334, -0.297)).lineTo(-0.527, -0.297).lineTo(-0.527, 0.297).lineTo(0.387, 0.2... | 8 | 63 | 0.812425 |
train_19c149a33361173e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.766, 1).lineTo(0.766, 0.911).lineTo(0.855, 0.911).lineTo(0.855, -0.868).lineTo(0.723, -1).lineTo(-0.804, -1).threePointArc((-0.84, -0.985), (-0.855, -0.95)).lineTo(-0.855, 1).lineTo(0.766,... | 11 | 205 | 0.208401 |
train_3a5d8089cedbe6db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.439), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.804, 0.34).threePointArc((1, 0), (0.804, -0.34)).lineTo(0, -0.34).lineTo(-0.804, -0.34).threePointArc((-1, 0), (-0.804, 0.34)).lineTo(0, 0.34).lineTo(0.804, 0.34).close().extrude(0.878)
re... | 10 | 280 | 0.740402 |
train_f51e80fe32ccd70d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.523, -0.001, 0.349), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.211, 0.286).lineTo(0.211, -0.286).threePointArc((-0.211, 0), (0.211, 0.286)).close().revolve(angleDegrees=360, axisStart=(-0.44, -0.656), axisEnd=(-0.44, 0.656))
result = result.u... | 4 | 41 | 1.190031 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.