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_d44439996566cc4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.593, 1).lineTo(0.593, -0.892).lineTo(0.494, -0.892).lineTo(0.494, -1).lineTo(-0.485, -1).threePointArc((-0.561, -0.96), (-0.593, -0.882)).lineTo(-0.593, 0.811).lineTo(-0.409, 1).lineTo(0.5... | 9 | 114 | 0.578759 |
train_d13be735bbf0f131 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.904, -0.809, -0.787), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.808).threePointArc((1.278, 1.278), (1.808, 0)).lineTo(1.044, 0).threePointArc((0.739, 0.739), (0, 1.044)).lineTo(0, 1.808).close().extrude(1.574)
result = result.union(cq.Work... | 5 | 25 | 2.906793 |
train_d87159fce51f0683 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.603).extrude(1.242)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.604, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.096, 0.326), (-0.352, 0.55), (-0.689, 0.598)... | 6 | 112 | 1.483036 |
train_df20438a64107758 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.445, 0.549, 0.082), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.738).threePointArc((0.297, 0.615), (0.42, 0.319)).threePointArc((0.297, 0.022), (0, -0.101)).threePointArc((-0.297, 0.022), (-0.42, 0.319)).threePointArc((-0.297, 0.615), (0, 0.... | 5 | 50 | 0.678039 |
train_9794dd802fcb42c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.126), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.67, 0.253).lineTo(0.67, 0).lineTo(-0.67, 0).lineTo(-0.67, 0.253).lineTo(-0.491, 0.253).lineTo(-0.491, 0.179).lineTo(0.491, 0.179).lineTo(0.491, 0.253).lineTo(0.67, 0.253).close().extrude(... | 3 | 21 | 0.49977 |
train_1053e7144eac71f8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.456, 0.271), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.263, 0.273).lineTo(0.263, -0.273).lineTo(-0.263, -0.273).lineTo(-0.242, -0.091).lineTo(-0.232, 0.091).lineTo(-0.263, 0.273).lineTo(-0.105, 0.273).lineTo(-0.105, -0.119).lineTo(0.105, -... | 5 | 77 | 0.487557 |
train_49a78c3e868e81f8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.054, 0, -0.271), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.667, 0.542).lineTo(0.667, 0.408).lineTo(1, 0.408).lineTo(1, 0).lineTo(0.458, 0).lineTo(0.458, 0.542).lineTo(0.667, 0.542).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE... | 4 | 33 | 1.000823 |
train_7ef4f3f8f0cbe8c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0.002, 0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.758, 0.968).threePointArc((0.925, 0.922), (0.995, 0.814)).lineTo(0.995, -0.735).threePointArc((0.888, -0.898), (0.636, -0.968)).lineTo(-0.314, -0.968).threePointArc((-0.792, -0.836... | 12 | 174 | 1.134543 |
train_2a451e50890f30db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.161, -0.181, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.888, 0.278).lineTo(0.888, 0.193).lineTo(0.147, 0.193).lineTo(0.147, -0.278).lineTo(-0.147, -0.278).lineTo(-0.147, 0.193).lineTo(-0.888, 0.193).lineTo(-0.888, 0.278).lineTo(0.888, ... | 21 | 474 | 0.522364 |
train_812bb5a1861a06f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.218, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.466).extrude(1.178)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.218, 0, -0.174), normal=(0.495, 0, 0.869), xDir=(0.869, 0, -0.495))).circle(0.348).extrude(1.212))
result = ... | 5 | 17 | 0.405649 |
train_812c9f329dcdb630 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.163, -0.132, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.08, 0.075).threePointArc((0.3, 0.02), (0.08, -0.075)).threePointArc((-0.3, -0.02), (-0.08, 0.075)).close().moveTo(0.051, 0.042).threePointArc((0.097, 0.04), (0.126, 0.031)).lineT... | 13 | 259 | 0.463966 |
train_846d2e115eee7086 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.417, 2).extrude(0.269)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 1, -0.128), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(0.276, 1), (0.206, 1.026), (0.276, 1.095), (0.206, 1.095)... | 12 | 46 | 0.218807 |
train_fa0fe338f04004d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.309), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.291).lineTo(1, 0.119).lineTo(1, -0.196).lineTo(0.898, -0.196).lineTo(0.898, -0.291).lineTo(-0.824, -0.291).threePointArc((-0.942, -0.24), (-1, -0.117)).lineTo(-1, 0.162).threePointA... | 11 | 85 | 0.437107 |
train_5f28195e0191f4ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.282, 0.974, -0.104), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.733, 1.858).lineTo(0.733, 0.091).threePointArc((-0.733, 0.974), (0.733, 1.858)).close().extrude(0.475)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.22, -0.722, 0.629), n... | 16 | 382 | 1.398176 |
train_3cbd6794d59cc1b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.038, 0, -0.615), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.229)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.038, 0, 0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.416).extrude(3.68))
result = result.cut(cq.Workplane... | 6 | 13 | 1.389233 |
train_f353af8d8b0faf88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.06), normal=(-0.036, -0.13, -0.991), xDir=(0, 0.991, -0.13))).moveTo(0.736, 0.878).threePointArc((0.98, 0.753), (0.98, 0.628)).lineTo(0.98, -0.628).threePointArc((0.98, -0.753), (0.736, -0.878)).lineTo(-0.736, -0.878).threePointArc((-0.98... | 4 | 25 | 0.732133 |
train_b1b760825b8a4fb9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.707, 0.9).lineTo(-0.707, -0.608).lineTo(1, -0.608).lineTo(1, -0.9).lineTo(-1, -0.9).lineTo(-1, 0.9).lineTo(-0.707, 0.9).close().extrude(1.5, taper=0.545)
result = result.edges('>Z').chamfe... | 5 | 28 | 2.036607 |
train_8dd43db21e1d64f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, -0.158).lineTo(0.98, -0.2).lineTo(0.962, -0.269).lineTo(0.88, -0.259).lineTo(0.822, -0.407).lineTo(0.884, -0.469).lineTo(0.848, -0.529).lineTo(0.772, -0.495).lineTo(0.675, -0.621).lin... | 3 | 180 | 2.091669 |
train_23841513496f3d08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.744), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 1).threePointArc((0.274, 0.966), (0.306, 0.905)).lineTo(0.306, 0.136).threePointArc((0.355, 0.041), (0.473, 0)).lineTo(0.763, 0).threePointArc((0.868, -0.036), (0.913, -0.121)).lineTo(0... | 9 | 22 | 2.686772 |
train_b26cf3222fd4a4d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.328), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.655)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.328), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.66).extrude(1.962, both=True))
result = result.union(cq.Wor... | 13 | 89 | 1.65153 |
train_7eaa12298fd63c57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.334, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.629, 1).threePointArc((0.89, 0.89), (1, 0.629)).lineTo(1, 0.008).threePointArc((0.899, -0.232), (0.658, -0.333)).lineTo(-0.141, -0.333).threePointArc((-0.276, -0.391), (-0.333, -0.526)).li... | 11 | 98 | 0.901649 |
train_f81746cd9b10c967 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.7).lineTo(1, -0.611).threePointArc((0.973, -0.674), (0.91, -0.7)).lineTo(-1, -0.7).lineTo(-1, 0.621).threePointArc((-0.976, 0.677), (-0.92, 0.7)).lineTo(1, 0.7).close().extrude(0.115)
r... | 12 | 82 | 0.482501 |
train_87c90a7a117dc1c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.848), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.993, 0.31).threePointArc((0.465, -0.31), (-0.063, 0.31)).lineTo(0.993, 0.31).close().moveTo(0.48, 0.094).threePointArc((0.496, 0.078), (0.48, 0.062)).lineTo(0.337, 0.062).threePointArc((0.... | 3 | 25 | 1.658145 |
train_e9f6f93ed4274a5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.406).lineTo(1, 0.191).lineTo(-0.481, 0.191).lineTo(-0.481, -0.191).lineTo(1, -0.191).lineTo(1, -0.406).lineTo(-1, -0.406).lineTo(-1, 0.406).lineTo(1, 0.406).close().extrude(0.608)
resul... | 7 | 53 | 0.639918 |
train_39b32d887cf12431 | 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.161, 0.221).lineTo(0.161, -0.221).lineTo(-0.161, -0.221).lineTo(-0.161, 0.221).lineTo(0.161, 0.221).close().extrude(2, taper=-12.928)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.021... | 4 | 16 | 1.271198 |
train_d83ea3b981a3fed8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.494, -0.358, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.983).threePointArc((0.697, 0.697), (0.983, 0)).lineTo(0.406, 0).threePointArc((0.287, 0.287), (0, 0.406)).lineTo(0, 0.983).close().extrude(2)
result = result.union(cq.Workplane(cq... | 8 | 45 | 0.709196 |
train_a6877347da4a8862 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.927, 0.978).threePointArc((0.977, 0.957), (1, 0.906)).lineTo(1, -0.82).threePointArc((0.952, -0.932), (0.838, -0.978)).lineTo(-0.858, -0.978).threePointArc((-0.957, -0.938), (-1, -0.838)).l... | 8 | 69 | 1.190355 |
train_65b62d682c9b5422 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.142, 0.009, 0.201), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.544, 0.871).lineTo(0.544, -0.871).threePointArc((-0.544, 0), (0.544, 0.871)).close().moveTo(-0.082, 0.347).lineTo(-0.082, 0.141).threePointArc((-0.125, 0.098), (-0.168, 0.141)).li... | 11 | 125 | 0.313965 |
train_564ff6cd266ab647 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.09, -0.084, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.496, 0.828).lineTo(0.496, 0.496).lineTo(0.166, 0.496).lineTo(0.166, -0.166).lineTo(0.828, -0.166).lineTo(0.828, -0.828).lineTo(0.496, -0.828).lineTo(0.496, -0.496).lineTo(-0.496, ... | 31 | 137 | 0.49824 |
train_3d948b270d096a5f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.57, 0.887).lineTo(0.645, 0.811).lineTo(0.645, 0.635).lineTo(0.749, 0.532).lineTo(0.894, 0.532).lineTo(1, 0.426).lineTo(1, 0.315).lineTo(0.862, 0.177).lineTo(0.722, 0.177).lineTo(0.645, 0.1... | 3 | 62 | 0.771742 |
train_d922c9cc1755f0ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.013, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.511, 0.833).lineTo(0.511, 0.497).lineTo(0.847, 0.497).lineTo(0.847, -0.446).lineTo(0.46, -0.446).lineTo(0.46, -0.833).lineTo(-0.476, -0.833).lineTo(-0.476, -0.46).lineTo(-0.847, -0.46... | 10 | 29 | 1.656876 |
train_02dd5d1b4e0edc4b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.204), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.774, 0.408).lineTo(0.92, 0.204).lineTo(1, 0.142).lineTo(1, 0).lineTo(0.71, 0).lineTo(0.71, 0.122).lineTo(0.61, 0.204).lineTo(0, 0.118).lineTo(0, 0.408).lineTo(0.774, 0.408).close().revolv... | 9 | 167 | 0.601467 |
train_64352363253c5ed2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.635, 0.5).threePointArc((-0.54, 0.46), (-0.5, 0.365)).lineTo(-0.5, 0.18).threePointArc((-0.446, 0.054), (-0.32, 0)).lineTo(0.818, 0).threePointArc((0.946, -0.054), (1, -0.182)).lineTo(1, -0.34).threePointArc((0.953, -0.453), (0.84, -0.5)).lineTo(-0... | 11 | 71 | 0.795618 |
train_f3dabfd7cfc6b1bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.187, -0.088, 0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.366, 0.586).threePointArc((0.521, 0.521), (0.586, 0.366)).lineTo(0.586, -0.375).threePointArc((0.523, -0.523), (0.375, -0.586)).lineTo(0.06, -0.586).threePointArc((0.018, -0.568), (... | 10 | 197 | 0.296405 |
train_1b39f3688d0a6fde | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0.018, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.136, 0.33).threePointArc((0.216, 0.274), (0.25, 0.259)).threePointArc((0.266, 0.242), (0.28, 0.207)).threePointArc((0.332, -0.14), (0.329, -0.178)).lineTo(0.316, -0.203).threePointArc(... | 5 | 38 | 0.463559 |
train_5e1a09d8f5ac1821 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, 0.603).threePointArc((0.62, 0.511), (0.671, 0.294)).lineTo(0.671, -0.301).threePointArc((0.621, -0.513), (0.503, -0.603)).lineTo(-0.624, -0.603).threePointArc((-0.657, -0.577), (-0.6... | 6 | 45 | 1.318172 |
train_5bbe59e933560d4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.823), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.655, 1.646).lineTo(0.655, 0.655).lineTo(2, 0.655).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.646).lineTo(0.655, 1.646).close().extrude(0.714, both=True)
result = result.cut(cq.Workplane(cq.Pl... | 2 | 10 | 2.772248 |
train_3bdb5d7827d0b1bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.24, 0.001, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.099, 0.997).threePointArc((-0.029, 0.977), (0, 0.929)).lineTo(0, 0.746).threePointArc((0.035, 0.688), (0.118, 0.664)).lineTo(0.354, 0.664).threePointArc((0.444, 0.638), (0.482, 0.57... | 21 | 54 | 0.936648 |
train_1570ec0f4fa54e74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.282), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.614).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.614).lineTo(-0.698, 0.614).lineTo(-0.698, 0.302).lineTo(0.698, 0.302).lineTo(0.698, 0.614).lineTo(1, 0.614).close().extrude(0.2, both=True)... | 5 | 32 | 0.343166 |
train_24d8b75ccdbc4cc9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.848, -0.697, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.696).threePointArc((1.199, 1.199), (1.696, 0)).lineTo(0.485, 0).threePointArc((0.343, 0.343), (0, 0.485)).lineTo(0, 1.696).close().extrude(1.211)
result = result.union(cq.Work... | 6 | 58 | 3.297231 |
train_273bf5c8753869ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.296), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.013, 1).threePointArc((0.47, 0.808), (0.657, 0.351)).lineTo(0.657, -0.5).threePointArc((0.513, -0.847), (0.161, -1)).lineTo(-0.657, -1).lineTo(-0.657, 0.453).threePointArc((-0.496, 0.834),... | 9 | 45 | 0.733055 |
train_28e28a33c3e9d30d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.792, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.334, 2).lineTo(0.334, 0.334).lineTo(1.584, 0.334).lineTo(1.584, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.334, 2).close().extrude(0.476, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 5 | 27 | 1.197546 |
train_7d6d58d555bbf04b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.468).threePointArc((0.95, 0.427), (1, 0.327)).lineTo(1, -0.181).threePointArc((0.907, -0.384), (0.708, -0.468)).lineTo(-0.742, -0.468).threePointArc((-0.917, -0.394), (-1, -0.216)).... | 20 | 248 | 0.683799 |
train_3267c7ddbe593dfa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0.001, 0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.115, 0.365).threePointArc((0.224, 0.229), (0.52, 0.252)).lineTo(0.85, 0.066).threePointArc((1.011, 0.007), (0.838, -0.005)).lineTo(0.419, -0.161).lineTo(0.357, -0.152).lineTo(0.338... | 3 | 33 | 1.318361 |
train_205743089a2e9873 | 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.071, 0.392).threePointArc((-0.021, 0.371), (0, 0.322)).lineTo(0, 0.191).threePointArc((0.018, 0.148), (0.061, 0.13)).lineTo(0.188, 0.13).threePointArc((0.239, 0.109), (0.261, 0.057)).lineTo(0... | 3 | 27 | 0.523661 |
train_95ccc79f5a72ea63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.004, -0.297), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.737, -0.184).lineTo(0.957, -0.29).lineTo(0.898, -0.44).lineTo(0.673, -0.354).lineTo(0.567, -0.506).lineTo(0.713, -0.702).lineTo(0.592, -0.807).lineTo(0.431, -0.625).lineTo(0.266,... | 5 | 61 | 1.158825 |
train_4b360e73847e52fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.519), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.038).lineTo(1, 0.666).lineTo(0.642, 0.666).lineTo(0.642, 0).lineTo(0.203, 0).lineTo(0.203, 1.038).lineTo(1, 1.038).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 2 | 14 | 1.770857 |
train_feab46bdfe5d038b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.481, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.317, 1.201).threePointArc((0.452, 1.288), (0.957, 0.902)).threePointArc((0.901, 0.269), (0.317, -0.24)).threePointArc((-0.452, -0.327), (-0.957, 0.059)).threePointArc((-0.901, 0.692), (-... | 13 | 343 | 3.779087 |
train_6069df7392a2d54f | 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.744).extrude(1.18)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.744, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.373), (-0.371, 0.645), (-0.744, 0.744), (-... | 6 | 55 | 2.644969 |
train_df24b44a9bb7f0cf | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.318).lineTo(0.819, 0).lineTo(1, -0.318).lineTo(0.36, -0.318).lineTo(0.36, 0.318).lineTo(1, 0.318).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), normal... | 10 | 40 | 0.905073 |
train_af91f399c97d4cf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.321, -0.32, -0.104), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.255, 0.539).lineTo(0.255, 0.255).lineTo(0.524, 0.255).lineTo(0.524, -0.166).lineTo(0.255, -0.166).lineTo(0.255, -0.451).lineTo(-0.255, -0.451).lineTo(-0.255, -0.166).lineTo(-0.524... | 17 | 105 | 1.045798 |
train_1a2aa22da2bcad92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.071, -0.398, -0.135), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.136, 0.202).lineTo(0.136, -0.074).threePointArc((0, -0.209), (-0.136, -0.074)).lineTo(-0.136, 0.202).threePointArc((0, 0.338), (0.136, 0.202)).close().extrude(1.227)
result = res... | 12 | 138 | 1.188875 |
train_83bfac1cc8361231 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.362, -0.187, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.724).threePointArc((0.511, 0.511), (0.724, 0)).lineTo(0.296, 0).threePointArc((0.209, 0.209), (0, 0.296)).lineTo(0, 0.724).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 59 | 0.745241 |
train_e28ac88d54a35e17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.279, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.838, 0.683).lineTo(0.838, -0.659).threePointArc((0.823, -0.701), (0.785, -0.716)).lineTo(-0.838, -0.716).lineTo(-0.838, 0.679).lineTo(-0.805, 0.679).lineTo(-0.805, 0.716).lineTo(0.807, ... | 18 | 68 | 2.563712 |
train_bfdf94c5f19a138b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.391, 0.459, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.425, 1.097).lineTo(0.425, -0.315).threePointArc((-0.425, 0.391), (0.425, 1.097)).close().workplane(offset=0.134).moveTo(0.377, 1.017).lineTo(0.377, -0.235).threePointArc((-0.377, 0.391... | 3 | 6 | 0.964638 |
train_a0898bd5ee7c2c41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.57, 0.624).threePointArc((0.754, 0.546), (0.832, 0.362)).lineTo(0.832, -0.047).threePointArc((0.785, -0.16), (0.671, -0.208)).lineTo(-0.338, -0.208).threePointArc((-0.393, -0.231), (-0... | 12 | 134 | 1.199421 |
train_811b61221a0f1cab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.278, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.413, 1).lineTo(0.495, 0.886).lineTo(0.501, 0.873).lineTo(0.508, 0.861).lineTo(0.514, 0.849).lineTo(0.52, 0.837).lineTo(0.526, 0.824).lineTo(0.531, 0.812).lineTo(0.537, 0.799).lineTo(0.542,... | 1 | 33 | 1.046841 |
train_52edac4959338a1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.053, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.156, 1.053).threePointArc((-0.046, 1.007), (0, 0.898)).lineTo(0, 0.038).threePointArc((0.074, -0.137), (0.249, -0.211)).lineTo(0.705, -0.211).threePointArc((0.802, -0.252), (0.843, -0.... | 22 | 158 | 0.409191 |
train_83eb457ba993ac56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.543), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.751).lineTo(1, 0.388).lineTo(-0.634, 0.388).lineTo(-0.634, -0.388).lineTo(1, -0.388).lineTo(1, -0.751).lineTo(-1, -0.751).lineTo(-1, 0.751).lineTo(1, 0.751).close().extrude(1.085)
resul... | 7 | 56 | 2.006223 |
train_f76a713bbe9de2bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.607).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.607).lineTo(-0.683, 0.607).lineTo(-0.683, 0.317).lineTo(0.683, 0.317).lineTo(0.683, 0.607).lineTo(1, 0.607).close().extrude(0.303, both=True... | 9 | 30 | 0.505042 |
train_182552213792b0b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.133), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.153, 0.183).lineTo(0.153, 0).lineTo(-0.153, 0).lineTo(-0.153, 0.183).lineTo(-0.065, 0.183).lineTo(-0.065, 0.089).lineTo(0.065, 0.089).lineTo(0.065, 0.183).lineTo(0.153, 0.183).close().ext... | 7 | 56 | 0.084854 |
train_81c90084951e7595 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.302, 0, -0.808), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.277, 1.615).lineTo(0.277, 0.277).lineTo(0.604, 0.277).lineTo(0.604, 0).lineTo(0, 0).lineTo(0, 1.615).lineTo(0.277, 1.615).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 8 | 113 | 0.843234 |
train_8bf6775b12ee1b40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0.704, -0.009), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.188, 0.292).threePointArc((0.32, 0.237), (0.374, 0.106)).lineTo(0.374, -0.106).threePointArc((0.32, -0.237), (0.188, -0.292)).lineTo(-0.188, -0.292).threePointArc((-0.32, -0.237)... | 11 | 74 | 0.146353 |
train_e602e9777c3709d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.081, 0.129, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.838, 0.416).lineTo(0.838, -0.675).threePointArc((-0.838, 0.416), (0.838, 0.416)).close().moveTo(-0.514, 0.675).lineTo(0.61, 0.044).threePointArc((-0.522, 0.603), (-0.514, 0.675)).clo... | 9 | 157 | 0.415113 |
train_244189a097126d57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.543, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.424).extrude(0.744, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.543, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.199).extrude(1, both=True))
result = result.cut(... | 5 | 44 | 0.998593 |
train_45fe28d57d58695f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.335), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.985, 0.524).lineTo(0.985, 0).lineTo(-0.985, 0).lineTo(-0.985, 0.524).lineTo(-0.862, 0.524).lineTo(-0.862, 0.123).lineTo(0.862, 0.123).lineTo(0.862, 0.524).lineTo(0.985, 0.524).close().ext... | 5 | 44 | 0.643079 |
train_d46e0d9c390a4683 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.019, 0.059).lineTo(0.042, 0.046).lineTo(0.056, 0.025).lineTo(0.062, 0).lineTo(0.056, -0.025).lineTo(0.042, -0.046).lineTo(0.019, -0.059).lineTo(-0.006, -0.061).lineTo(-0.03, -0.054).lineTo(-0.05, -0.036).lineTo(-0.06, -0.013).lineTo(-0.06, 0.013).li... | 8 | 80 | 0.012479 |
train_0a67c717620cdf61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.04, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.358, 0.882).threePointArc((0.458, 0.845), (0.5, 0.761)).lineTo(0.5, 0.52).threePointArc((0.526, 0.466), (0.586, 0.443)).lineTo(0.844, 0.443).threePointArc((0.951, 0.403), (1, 0.308)).l... | 11 | 126 | 0.506294 |
train_0726b42ad1f3c464 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.353, 0.099, -0.559), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.357, 0.446).threePointArc((0.594, -0.387), (-0.594, 0.208)).lineTo(-0.357, 0.446).close().moveTo(-0.357, 0.208).threePointArc((0.357, -0.387), (0.297, -0.446)).lineTo(-0.357, 0.20... | 6 | 51 | 1.348463 |
train_495c21bbc12f2999 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.024, -0.022, -0.097), normal=(0.397, -0.453, -0.798), xDir=(0.752, 0.659, 0))).moveTo(0.814, 0.128).lineTo(0.763, 0.056).lineTo(0.927, 0.047).lineTo(0.949, 0.008).lineTo(1.137, 0.001).lineTo(1.159, -0.055).lineTo(0.902, -0.127).threePointArc((0.... | 4 | 27 | 0.514631 |
train_bb6a7e3bf6b15ff7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.935).extrude(0.303)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.603, -0.087).lineTo(0.603, -0.087).lineTo(-0.603, -0.397)... | 12 | 50 | 0.707205 |
train_71a411ceed788c03 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.119, -0.018, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.832, -0.283).threePointArc((-0.028, 0.925), (0.832, -0.18)).lineTo(0.83, -0.79).threePointArc((0.551, -0.925), (0.375, -0.807)).lineTo(0.371, -0.111).threePointArc((0.528, 0.242)... | 8 | 119 | 0.817267 |
train_a19286b1379c4492 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.329, 0, 0.01), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.55, 0.977).threePointArc((0.631, 0.942), (0.666, 0.859)).lineTo(0.666, -0.859).threePointArc((0.631, -0.942), (0.55, -0.977)).lineTo(-0.55, -0.977).threePointArc((-0.631, -0.942), (-0.6... | 6 | 72 | 1.081658 |
train_7048aee21a9c0799 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.043, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.431, 0.371).threePointArc((0.517, 0.336), (0.552, 0.251)).lineTo(0.552, -0.296).threePointArc((0.531, -0.35), (0.477, -0.371)).lineTo(-0.461, -0.371).threePointArc((-0.526, -0.345), (... | 14 | 53 | 0.701335 |
train_b00f9e947b3eb602 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.157, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.842, 0.196).lineTo(0.842, -0.099).threePointArc((0.813, -0.168), (0.745, -0.196)).lineTo(-0.702, -0.196).lineTo(-0.702, -0.057).lineTo(-0.842, -0.057).lineTo(-0.842, 0.036).lineTo(-0.... | 9 | 63 | 0.071531 |
train_7fe155e1f75ae6ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.244, 0.134, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.691, 0.185).threePointArc((0.185, 0.691), (0.691, -0.185)).threePointArc((-0.185, -0.691), (-0.691, 0.185)).close().sweep(cq.Workplane(cq.Plane(origin=(0.244, 0.134, -0.148), norm... | 16 | 244 | 0.43332 |
train_766869a90500a3ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.574, 1).threePointArc((0.677, 0.956), (0.72, 0.853)).lineTo(0.72, -0.878).threePointArc((0.685, -0.963), (0.6, -1)).lineTo(-0.602, -1).threePointArc((-0.685, -0.965), (-0.72, -0.881)).lineT... | 14 | 250 | 0.261715 |
train_90d84f1d5a2189d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.919, 0.426).threePointArc((0.976, 0.402), (1, 0.346)).lineTo(1, -0.361).threePointArc((0.98, -0.407), (0.934, -0.426)).lineTo(-0.875, -0.426).threePointArc((-0.963, -0.39), (-1, -0.302)).l... | 13 | 38 | 0.276433 |
train_5dc9ad8808b6cc40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.466), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.41, 0.891).lineTo(0.622, 0.679).lineTo(0.622, -0.598).lineTo(0.329, -0.891).lineTo(-0.416, -0.891).lineTo(-0.622, -0.685).lineTo(-0.622, 0.705).lineTo(-0.436, 0.891).lineTo(0.41, 0.891).cl... | 5 | 19 | 1.959973 |
train_50fe221be9480e51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.231, 0.142, -0.321), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.769, 0.641).lineTo(0.769, 0).lineTo(-0.769, 0).lineTo(-0.769, 0.641).lineTo(-0.69, 0.641).lineTo(-0.69, 0.079).lineTo(0.69, 0.079).lineTo(0.69, 0.641).lineTo(0.769, 0.641).close()... | 13 | 115 | 0.148235 |
train_963d58de94efdebe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.14, 0.371, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.548, 0.629).lineTo(-0.548, -0.391).lineTo(0.785, -0.391).lineTo(0.785, -0.629).lineTo(-0.785, -0.629).lineTo(-0.785, 0.629).lineTo(-0.548, 0.629).close().extrude(0.942)
result = re... | 9 | 99 | 0.603282 |
train_8defbd498ca64bfb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.632, -0.946, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.315, 1.832).lineTo(0.438, 1.437).threePointArc((0.594, 1.381), (0.743, 1.309)).lineTo(0.709, 0.216).lineTo(0.421, 0.08).threePointArc((0.286, 0.038), (0.144, 0.043)).threePointArc((0.... | 2 | 16 | 2.258312 |
train_6ea4eebb57ecef17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.553, 1.179, -0.555), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.928, -0.955).lineTo(0.918, -1.007).lineTo(0.902, -1.056).lineTo(0.881, -1.101).lineTo(0.854, -1.142).lineTo(0.823, -1.176).lineTo(0.788, -1.204).lineTo(0.749, -1.224).lineTo(0.709,... | 6 | 18 | 1.057922 |
train_06cc429e3a7544f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.698, 0.817).threePointArc((0.904, 0.731), (1, 0.52)).lineTo(1, -0.817).lineTo(-0.672, -0.817).lineTo(-0.672, -0.494).lineTo(-1, -0.494).lineTo(-1, 0.502).lineTo(-0.68, 0.502).lineTo(-0.68,... | 13 | 46 | 0.169979 |
train_0ff76473f3fb9434 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.124, 0, 0.135), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.066, 0.192).threePointArc((0.073, 0.216), (0.09, 0.234)).lineTo(0.359, 0.411).threePointArc((0.388, 0.422), (0.419, 0.419)).lineTo(0.719, 0.321).threePointArc((0.745, 0.306), (0.761, 0... | 18 | 141 | 1.217678 |
train_47e3e1a4b6290030 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.245, 0.227, 0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, 0.218).lineTo(0.755, -0.218).lineTo(-0.755, -0.218).lineTo(-0.755, 0.218).lineTo(-0.498, 0.218).lineTo(-0.498, -0.147).lineTo(0.498, -0.147).lineTo(0.498, 0.218).lineTo(0.755,... | 20 | 325 | 0.386032 |
train_24c1148a9c6672b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0, -0.325), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.49, 0.718).lineTo(-0.49, -0.211).lineTo(0.997, -0.211).lineTo(0.997, -0.718).lineTo(-0.997, -0.718).lineTo(-0.997, 0.718).lineTo(-0.49, 0.718).close().extrude(0.673)
result = result.... | 5 | 52 | 1.056483 |
train_23d5957503b1af89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.095, 0, -0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.414, 0.872).threePointArc((-0.372, 0.855), (-0.355, 0.816)).lineTo(-0.355, -0.163).threePointArc((-0.296, -0.294), (-0.158, -0.35)).lineTo(0.838, -0.35).threePointArc((0.885, -0.368),... | 9 | 54 | 0.103664 |
train_31d93df4f28f29e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.679, -0.185, -0.188), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.244, 0.31).lineTo(0.272, 0.186).lineTo(0.204, 0.062).lineTo(0.321, -0.062).lineTo(0.217, -0.186).threePointArc((0.21, -0.252), (0.244, -0.31)).threePointArc((-0.321, 0), (0.244, ... | 6 | 35 | 0.32379 |
train_3e91fe3257a5df37 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.103, 0, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.106, 1).lineTo(0.106, -1).lineTo(-0.106, -1).lineTo(-0.106, 1).lineTo(-0.033, 1).lineTo(-0.033, -0.142).lineTo(0.033, -0.142).lineTo(0.033, 1).lineTo(0.106, 1).close().extrude(0.821)
r... | 10 | 131 | 0.226218 |
train_a06b6418a287f950 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 0.75).threePointArc((0.441, 0.691), (0.5, 0.551)).lineTo(0.5, 0.421).threePointArc((0.551, 0.301), (0.671, 0.25)).lineTo(0.917, 0.25).threePointArc((0.975, 0.225), (1, 0.167)).lineTo(... | 8 | 126 | 0.668837 |
train_3b03b7a0e9ae687a | 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(1, 1).lineTo(1, 0.2).lineTo(0.6, 0.2).lineTo(0.6, -1).lineTo(0.2, -1).lineTo(0.2, -0.6).lineTo(-0.6, -0.6).lineTo(-0.6, -0.2).lineTo(-1, -0.2).lineTo(-1, 0.2).lineTo(-0.6, 0.2).lineTo(-0.6, ... | 8 | 20 | 0.444968 |
train_b23b19da97a7496c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.245, -0.093, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, 0.53).lineTo(0.515, -0.53).lineTo(-0.515, -0.53).lineTo(-0.515, 0.53).lineTo(-0.115, 0.53).lineTo(-0.115, 0.01).lineTo(0.115, 0.01).lineTo(0.115, 0.53).lineTo(0.515, 0.53).close... | 5 | 112 | 1.969831 |
train_2ceb4186a05a6b27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, -0.571, 0.393), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.106, 0.249).lineTo(0.106, -0.23).threePointArc((0, -0.335), (-0.106, -0.23)).lineTo(-0.106, 0.249).threePointArc((0, 0.354), (0.106, 0.249)).close().extrude(0.181)
result = result... | 12 | 95 | 0.235573 |
train_f6b753983950e95a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.371, -0.371, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.741).threePointArc((0.525, 0.525), (0.741, 0)).lineTo(0.326, 0).threePointArc((0.23, 0.23), (0, 0.326)).lineTo(0, 0.741).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 10 | 18 | 0.512035 |
train_edba59c53405df25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.279, -0.507, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 0.185).lineTo(0.129, 0.007).lineTo(0.111, -0.025).lineTo(0.052, -0.046).lineTo(0.024, -0.19).threePointArc((-0.059, -0.222), (-0.129, -0.182)).lineTo(-0.075, 0.104).lineTo(-0.08,... | 5 | 59 | 0.144184 |
train_1c7e1d2f2b4318a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.322, -0.255, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.643).threePointArc((0.454, 0.454), (0.643, 0)).lineTo(0.248, 0).threePointArc((0.175, 0.175), (0, 0.248)).lineTo(0, 0.643).close().extrude(2)
result = result.union(cq.Workplane(cq... | 6 | 27 | 0.54657 |
train_fef95d0785a6775b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.121, -0.1, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.591, 1.354).threePointArc((1.279, 1.069), (1.562, 0.384)).lineTo(1.562, -0.529).threePointArc((1.321, -1.111), (0.736, -1.354)).lineTo(-0.64, -1.354).threePointArc((-1.292, -1.084), (-... | 15 | 113 | 0.855489 |
train_0ff75949b6b913fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.158, 0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.156, 0.1).lineTo(1, -0.095).lineTo(0.744, -0.1).lineTo(0.418, -0.044).lineTo(-0.294, -0.034).lineTo(-0.594, 0.026).lineTo(-1, 0.085).lineTo(-0.156, 0.1).close().extrude(0.198, both=Tr... | 17 | 159 | 0.138816 |
train_864919a3f3c111d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.671, 1).lineTo(0.671, -0.88).threePointArc((0.636, -0.964), (0.552, -1)).lineTo(-0.602, -1).threePointArc((-0.651, -0.979), (-0.671, -0.93)).lineTo(-0.671, 1).lineTo(0.671, 1).close().extr... | 11 | 35 | 0.798143 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.