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_07f76c1aeadae2e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.154, 0.094, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.048, 0.074).lineTo(-0.048, -0.049).lineTo(0.074, -0.049).lineTo(0.074, -0.074).lineTo(-0.074, -0.074).lineTo(-0.074, 0.074).lineTo(-0.048, 0.074).close().extrude(1.337)
result = ... | 11 | 132 | 0.329013 |
train_62b23c9a9940357d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.055, -0.762), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.674, 0.945).threePointArc((0.865, 0.865), (0.945, 0.674)).lineTo(0.945, -0.348).threePointArc((0.908, -0.436), (0.821, -0.473)).lineTo(0.552, -0.473).threePointArc((0.496, -0.449), (0... | 7 | 109 | 2.194929 |
train_22fa569c6f64f72d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.006).extrude(0.901)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.006, 0, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.077, 0.385), (-0.294, 0.712), (-0.621, 0... | 8 | 223 | 1.300082 |
train_d07472368f674601 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.052, -0.11, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 0.207).lineTo(0.211, -0.207).lineTo(0.06, -0.207).lineTo(0.06, -0.048).lineTo(-0.06, -0.048).lineTo(-0.06, -0.207).lineTo(-0.211, -0.207).lineTo(-0.211, 0.207).lineTo(-0.06, 0.207)... | 5 | 110 | 0.180367 |
train_f6d6eda69011e15f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.677, -0.045, -0.633), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.127, 0.198).lineTo(0.224, 0.104).lineTo(0.192, -0.015).lineTo(-0.039, 0.047).lineTo(-0.105, -0.198).lineTo(-0.224, -0.167).lineTo(-0.127, 0.198).close().extrude(1.244, taper=-5.... | 10 | 124 | 0.430956 |
train_94462b133f83c2a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.204, -0.059, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.438).threePointArc((0.438, 0), (0, -0.438)).threePointArc((-0.438, 0), (0, 0.438)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.204, -0.059, -0.022), normal=(0, -1, 0), xDir... | 7 | 80 | 0.37069 |
train_39a1632a935b5981 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.197, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.779, 0.607).threePointArc((0.945, 0.565), (1.016, 0.465)).lineTo(1.016, -0.412).threePointArc((0.918, -0.549), (0.687, -0.607)).lineTo(-0.753, -0.607).threePointArc((-0.938, -0.561), (... | 15 | 145 | 0.778699 |
train_2ee31b8109d51ddb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.946).lineTo(0.607, 0.554).lineTo(1, 0.554).lineTo(1, -0.46).threePointArc((0.856, -0.805), (0.513, -0.946)).lineTo(-0.779, -0.946).threePointArc((-0.934, -0.881), (-1, -0.727)).line... | 8 | 33 | 1.26401 |
train_891dbf09d3611274 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.207, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.747).lineTo(0.333, 0.373).lineTo(1, 0.373).lineTo(1, -0.373).lineTo(0.333, -0.373).lineTo(0.333, -0.747).lineTo(-0.333, -0.747).lineTo(-0.333, -0.373).lineTo(-0.667, -0.373).lin... | 17 | 583 | 0.750926 |
train_4ec12378a112bfc2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.889, 1).lineTo(1, 0.889).lineTo(1, 0.152).lineTo(0.839, 0).lineTo(0.681, 0).lineTo(0.498, -0.183).lineTo(0.498, -0.648).lineTo(0.15, -1).lineTo(-0.413, -1).lineTo(-1, -0.413).lineTo(-1, 0.855).lineTo(-0.855, 1).lineTo(-0.59, 1).lineTo(-0.498, 0.899)... | 5 | 74 | 3.630542 |
train_c20b9322d11246c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.377, 0.587, 0.481), normal=(0.637, -0.495, -0.591), xDir=(0.614, 0.789, 0))).moveTo(-0.302, -0.542).threePointArc((-0.386, -0.586), (-0.419, -0.496)).lineTo(-0.544, -0.421).threePointArc((-0.73, -0.401), (-0.604, -0.273)).lineTo(-0.564, -0.14).... | 16 | 153 | 0.880855 |
train_3509c0315ab26850 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.473, -0.328, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.946).threePointArc((0.669, 0.669), (0.946, 0)).lineTo(0.537, 0).threePointArc((0.379, 0.379), (0, 0.537)).lineTo(0, 0.946).close().extrude(2)
result = result.union(cq.Workplane(cq... | 8 | 72 | 1.029434 |
train_97d0cc7b1307bed2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.546, 0.079, -0.347), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.248, 0.011).threePointArc((0.259, 0), (0.248, -0.011)).lineTo(0.23, -0.011).lineTo(0.211, -0.011).lineTo(0.192, -0.011).threePointArc((0.181, 0), (0.192, 0.011)).lineTo(0.211, 0.... | 12 | 108 | 0.460169 |
train_dd785b6bebef9da0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.41, -0.117, -0.798), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.385, 0.294).threePointArc((0.404, 0.286), (0.413, 0.267)).lineTo(0.413, 0.18).threePointArc((0.405, 0.161), (0.386, 0.153)).lineTo(0.154, 0.153).threePointArc((0.126, 0.142), (0.11... | 11 | 152 | 0.53414 |
train_54bebd590f990ea6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.237, 0.211, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.183, 0.715).lineTo(0.183, -0.715).lineTo(-0.183, -0.715).lineTo(-0.183, 0.715).lineTo(-0.057, 0.715).lineTo(-0.057, 0.051).lineTo(0.057, 0.051).lineTo(0.057, 0.715).lineTo(0.183, 0... | 15 | 126 | 0.958816 |
train_b61ddc3debb99a36 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.204, 0, -0.884), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.263, 0.278).lineTo(0.263, 0.182).lineTo(-0.159, 0.182).lineTo(-0.159, -0.182).lineTo(0.263, -0.182).lineTo(0.263, -0.278).lineTo(-0.263, -0.278).lineTo(-0.263, 0.278).lineTo(0.263, 0.2... | 11 | 191 | 0.405328 |
train_7a853138a2650c8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.05, 0, -0.235), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.64, 0.802).lineTo(1.025, 0).lineTo(0.64, -0.802).lineTo(-0.228, -1).lineTo(-0.925, -0.445).lineTo(-0.925, 0.445).lineTo(-0.228, 1).close().extrude(0.47)
result = resu... | 2 | 10 | 0.266651 |
train_e1b6d54d40edbb53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.159, 0, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.712, 0.222).threePointArc((0.841, 0), (0.582, -0.222)).lineTo(0.582, 0).lineTo(-0.324, -0.222).threePointArc((-0.841, 0), (-0.324, 0.222)).lineTo(0.712, 0.222).close().moveTo(-0.5, 0.... | 15 | 242 | 0.268636 |
train_2633378d83f7961b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.013, -0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.256).lineTo(1, -0.21).lineTo(0.946, -0.21).lineTo(0.946, -0.256).lineTo(-1, -0.256).lineTo(-1, 0.256).lineTo(1, 0.256).close().extrude(0.096)
result = result.union(cq.Workplane(cq.Pl... | 17 | 114 | 0.135227 |
train_4d05fe7afeec6ffb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.163, 0.583, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.831, 1.163).lineTo(0.831, 0.116).lineTo(-0.831, 0.116).lineTo(-0.831, 0.313).lineTo(-0.831, 1.163).lineTo(-0.594, 1.163).lineTo(-0.594, 0.313).lineTo(-0.356, 0.313).lineTo(-0.356, 1.16... | 8 | 484 | 1.592285 |
train_811092521e5853ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.515, -0.521, -0.139), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.22, 0.324).lineTo(0.22, -0.324).threePointArc((-0.22, 0), (0.22, 0.324)).close().revolve(angleDegrees=360, axisStart=(-0.17, -0.521), axisEnd=(0.17, -0.521))
result = result.uni... | 3 | 36 | 0.807016 |
train_f84e47d0622dd278 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.243).lineTo(1, -0.243).lineTo(-1, -0.243).lineTo(-1, 0.243).lineTo(-0.543, 0.243).lineTo(-0.543, -0.156).lineTo(0.543, -0.156).lineTo(0.543, 0.243).lineTo(1, 0.243).close().extrude(0.172, taper=1.413, both=True)
result = result.cut(cq.Workplane(c... | 7 | 70 | 0.210998 |
train_b13f8824421b147b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.968, -0.675, 0.031), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.435, 1.653).lineTo(0.333, 1.527).lineTo(0.693, 0.947).lineTo(0.893, 0.241).lineTo(0.313, -0.285).lineTo(-0.463, -0.268).lineTo(-0.893, 0.336).lineTo(-0.777, 0.981).lineTo(-0.435,... | 4 | 20 | 3.99265 |
train_241a7324dfac9f35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.815, 0, 0.009), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.143, 0.787).lineTo(0.296, 0.475).lineTo(0.478, 0.168).lineTo(0.274, -0.153).lineTo(-0.084, -0.188).lineTo(-0.418, -0.1).lineTo(-0.466, 0.234).lineTo(-0.478, 0.55).lineTo(-0.188, 0.679)... | 2 | 17 | 2.351461 |
train_8e1c779116261c67 | 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.041, 0.197).threePointArc((-0.012, 0.188), (0, 0.169)).lineTo(0, 0.109).threePointArc((0.019, 0.079), (0.064, 0.066)).lineTo(0.152, 0.066).threePointArc((0.181, 0.057), (0.193, 0.038)).lineTo... | 5 | 30 | 0.200846 |
train_3cc2c9ef62e966e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.86, -0.234, -0.105), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.119, 0.162).lineTo(0.14, 0.107).lineTo(0.119, 0.005).lineTo(0.043, 0.021).lineTo(0.004, -0.162).lineTo(-0.103, -0.139).lineTo(-0.064, 0.044).lineTo(-0.14, 0.06).lineTo(-0.119, 0.... | 8 | 100 | 0.443804 |
train_9654010eaa110bd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.077, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 1.043).lineTo(0.701, 0.738).lineTo(0.959, 0.117).lineTo(0.763, -0.526).lineTo(0.197, -0.889).lineTo(-0.471, -0.807).lineTo(-0.926, -0.313).lineTo(-0.959, 0.36).lineTo(-0.555, 0.893).... | 4 | 60 | 4.226356 |
train_8ff1e9411ebd83d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.608, -0.336, -0.184), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.026, 0.192).threePointArc((0.045, 0.15), (0.09, 0.029)).threePointArc((0.082, -0.1), (0.026, -0.161)).threePointArc((-0.045, -0.119), (-0.09, 0.002)).threePointArc((-0.082, 0.13... | 6 | 103 | 0.378944 |
train_75b47172f712aa0b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.184), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.714, 0.369).lineTo(0.939, 0.31).lineTo(1.02, 0.13).lineTo(1.02, 0).lineTo(0.76, 0).lineTo(0.76, 0.111).lineTo(0.658, 0.31).lineTo(0, 0.109).lineTo(0, 0.369).lineTo(0.714, 0.369).close().r... | 7 | 92 | 0.638121 |
train_ac1d23f70e4104f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, 0, 0.558), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.454, 0.816).threePointArc((-0.063, 0.771), (0.338, 0.608)).threePointArc((0.688, 0.353), (0.933, 0.044)).threePointArc((1.035, -0.271), (0.981, -0.545)).threePointArc((0.776, -0.737)... | 20 | 226 | 1.878448 |
train_99aa66333381c2eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.14, 0, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.381, 0.778).threePointArc((0.477, 0.722), (0.858, -0.056)).threePointArc((0.381, -0.778), (-0.477, -0.722)).threePointArc((-0.858, 0.056), (-0.381, 0.778)).close().extrude(0.14)
resul... | 8 | 313 | 0.711742 |
train_c641603f89daafb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.787, 0.495, 0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.129, 0.339).lineTo(0.175, 0.272).lineTo(0.175, 0.227).lineTo(0.215, 0.17).lineTo(0.246, 0.17).lineTo(0.292, 0.103).lineTo(0.292, 0.042).lineTo(0.263, 0).lineTo(0.217, 0).lineTo(0.17... | 8 | 169 | 1.284369 |
train_4d0c8559e4a8a792 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.24, 0.628).lineTo(0.24, 0).lineTo(-0.24, 0).lineTo(-0.24, 0.628).lineTo(-0.04, 0.628).lineTo(-0.04, 0.2).lineTo(0.04, 0.2).lineTo(0.04, 0.628).lineTo(0.24, 0.628).close().extrude(1, both=... | 7 | 67 | 0.420739 |
train_0fa7826c0da25eac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.117, 0.246, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.297, 0.683).lineTo(0.474, 0.376).lineTo(0.447, -0.049).threePointArc((0.258, -0.431), (-0.415, -0.683)).threePointArc((-0.474, -0.581), (-0.431, -0.42)).threePointArc((0.14, -0.22... | 8 | 173 | 0.96077 |
train_783e64647acb7f61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.601), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.657)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.601), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.087, 0.407), (-0.331, 0.743), (-0.692, 0... | 9 | 140 | 1.770921 |
train_dff7dc003206dcac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(2.502, -1.3, -0.814), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.2, 1.256).threePointArc((2.42, 1.163), (2.512, 0.944)).lineTo(2.512, 0.271).threePointArc((2.432, 0.08), (2.242, 0)).lineTo(1.708, 0).threePointArc((1.391, -0.135), (1.256, -0.453))... | 6 | 90 | 0.76367 |
train_57d94b8ab2f0d7d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.007, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.27, 0.323).threePointArc((0.392, -0.248), (0.386, -0.329)).threePointArc((0.226, -0.318), (0.152, -0.232)).threePointArc((-0.072, 0.025), (-0.392, 0.047)).lineTo(-0.056, 0.265).threePointA... | 9 | 45 | 0.298398 |
train_f9f8a692e5729f13 | 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.064, 0.111).lineTo(-0.064, -0.066).lineTo(0.11, -0.066).lineTo(0.11, -0.111).lineTo(-0.11, -0.111).lineTo(-0.11, 0.111).lineTo(-0.064, 0.111).close().extrude(2)
result = result.cut(cq.Workpla... | 19 | 15 | 0.035627 |
train_54b10ef5da289ccf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.983, -0.51, 0.106), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.618, 0.494).lineTo(0.706, -0.031).lineTo(-0.135, -0.203).threePointArc((-0.375, -0.199), (-0.524, -0.024)).threePointArc((-0.706, 0.286), (-0.549, 0.618)).threePointArc((-0.506, 0.... | 12 | 398 | 2.578568 |
train_48327f5a58077bdf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.199, 0.942, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.034, 1.022).lineTo(1, 0.528).lineTo(0.652, -0.544).lineTo(-0.359, -0.624).lineTo(-1, 0.334).lineTo(-0.034, 1.022).close().extrude(1.885)
result = result.cut(cq.Workplane(cq.Plane(orig... | 10 | 218 | 3.349682 |
train_6d443426bf007f1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.264, -0.041, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.089, 0.132).lineTo(0.089, -0.132).threePointArc((-0.089, 0), (0.089, 0.132)).close().extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0.322, -0.226, -0.11), normal=(0, 0... | 16 | 86 | 0.090854 |
train_1391790350b83a00 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.093, -0.228, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.444, 0.483).lineTo(0.444, 0.413).threePointArc((0.551, 0.296), (0.444, 0.296)).lineTo(0.444, 0.17).threePointArc((0.255, -0.116), (0.444, -0.116)).lineTo(0.534, -0.24).threePointA... | 12 | 231 | 0.728389 |
train_82e8742ca198131c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.135, -0.398, -2.006), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.065, 0.007).threePointArc((0.068, -0.001), (0.062, -0.008)).threePointArc((0.054, -0.007), (0.051, 0.001)).threePointArc((0.057, 0.008), (0.065, 0.007)).close().sweep(cq.Workpla... | 22 | 15 | 0.260757 |
train_2324d70e5f308db1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.353, 0, -0.091), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.646, 0.412).lineTo(0.646, 0).lineTo(-0.646, 0).lineTo(-0.646, 0.412).lineTo(-0.482, 0.412).lineTo(-0.482, 0.164).lineTo(0.482, 0.164).lineTo(0.482, 0.412).lineTo(0.646, 0.412).close()... | 8 | 65 | 0.232319 |
train_1b290ed41d7bc4b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.943), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.704, 0.704).lineTo(1, 0).lineTo(0.704, -0.704).lineTo(0, -1).lineTo(-0.704, -0.704).lineTo(-1, 0).lineTo(-0.704, 0.704).lineTo(0, 1).close().extrude(1.886)
result = result.cut... | 4 | 27 | 3.918998 |
train_310bf514fef2520f | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.527, 2, 1.207)
result = result.edges().fillet(0.175)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.019, -0.447, 0.015), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.291, 0.378).threePointArc((0.684, 0.151), (0.57, -0.046)).threePointArc((0.457, ... | 10 | 79 | 2.178093 |
train_634040d1409f18df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.066, 0.111).threePointArc((0.098, 0.098), (0.111, 0.066)).lineTo(0.111, -0.015).threePointArc((0.118, -0.031), (0.133, -0.037)).lineTo(0.169, -0.037).threePointArc((0.18, -0.042), (0.185, ... | 7 | 34 | 0.118887 |
train_2185c90f7c07d459 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.51, -0.328, 0.193), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.198, 0.906).lineTo(0.778, -0.24).lineTo(-0.778, -0.34).lineTo(-0.198, 0.906).close().extrude(0.443)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.596, 0.026, 0.051), norm... | 6 | 37 | 2.226244 |
train_1f9fb97d4902e7cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.818, 0, 0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.387, 1).lineTo(-0.387, -0.375).lineTo(1.088, -0.375).lineTo(1.088, -1).lineTo(-1.088, -1).lineTo(-1.088, 1).lineTo(-0.387, 1).close().extrude(0.212, both=True)
result = result.cut(cq.W... | 20 | 32 | 0.835899 |
train_7c6b4348478407d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.263, -0.527), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.68, 0.733).threePointArc((-0.615, 0.706), (-0.588, 0.642)).lineTo(-0.588, -0.093).threePointArc((-0.505, -0.293), (-0.306, -0.376)).lineTo(0.861, -0.376).threePointArc((0.917, -0.4), ... | 6 | 81 | 0.873177 |
train_635a45b5e2597e40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.202), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.288, 0.359).lineTo(1, 0.19).lineTo(0.86, -0.359).lineTo(0.155, -0.19).lineTo(0.098, -0.092).threePointArc((0.1, -0.036), (0.182, -0.035)).lineTo(0.202, 0.002).lineTo(0.281, 0.034).lin... | 9 | 112 | 0.565285 |
train_749604d227f64498 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0.176, -0.842), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.363).lineTo(0, 0.121).lineTo(0.351, 0.121).lineTo(0.351, -0.363).lineTo(0, -0.363).lineTo(0, -0.121).lineTo(-0.351, -0.121).lineTo(-0.351, 0.363).lineTo(0, 0.363).close().extru... | 13 | 82 | 0.664755 |
train_493407eb1a6ce7cf | 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.433, 0.221).threePointArc((0.394, 0.172), (0.405, 0.111)).lineTo(0.394, 0).threePointArc((0.442, -0.046), (0.457, -0.111)).lineTo(0.433, -0.221).threePointArc((-0.029, 0), (0.433, 0.221)).clos... | 4 | 30 | 0.809151 |
train_76de74f93c268184 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.304, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.39).extrude(0.953)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.304, 0, -0.332), normal=(0.565, 0, 0.825), xDir=(0.825, 0, -0.565))).circle(0.195).extrude(1.48))
result = result... | 7 | 28 | 0.282448 |
train_e934b4b84ed14239 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.042, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.116, 0.411).lineTo(-0.116, -0.137).lineTo(0.116, -0.137).lineTo(0.116, 0.137).lineTo(0.347, 0.137).lineTo(0.347, -0.137).lineTo(0.58, -0.137).lineTo(0.58, -0.411).lineTo(-0.58, -0.411).lin... | 3 | 50 | 0.349422 |
train_52047a2d6e0a5425 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.022, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.514, 0.482).threePointArc((1, 0), (0.514, -0.482)).lineTo(-0.514, -0.482).threePointArc((-1, 0), (-0.514, 0.482)).lineTo(0.514, 0.482).close().extrude(0.171)
result = result.cut(cq.Wo... | 10 | 382 | 0.346345 |
train_9bca5044b83ed775 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.08, -0.37, -0.084), normal=(-0.169, 0.842, 0.512), xDir=(-0.98, -0.197, 0))).moveTo(0.168, 0.351).threePointArc((0.215, 0.27), (0.313, 0.289)).lineTo(0.473, 0.145).lineTo(0.194, -0.155).lineTo(0.239, -0.212).lineTo(0.242, -0.274).threePointArc((... | 21 | 220 | 1.237838 |
train_1719f3dc60eedbcf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.162, 0.253, -0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.197, 0.813).threePointArc((0.984, 1.221), (1.378, 0.407)).lineTo(1.378, 0).threePointArc((0.984, -0.813), (-0.197, -0.813)).threePointArc((-0.984, -1.221), (-1.378, -0.813)).threeP... | 3 | 35 | 0.422552 |
train_f6c324921d2b77fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.473, -0.135, 0.121), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.041, 0.456).lineTo(0.162, 0.164).lineTo(0.461, 0.064).lineTo(0.22, -0.14).lineTo(0.218, -0.456).lineTo(-0.051, -0.29).lineTo(-0.352, -0.385).lineTo(-0.278, -0.079).lineTo(-0.461, 0... | 8 | 56 | 0.622305 |
train_9b88afb29db3f72d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.07, -0.277, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.385, 0.166).lineTo(0.385, 0.071).lineTo(0.48, 0.071).lineTo(0.48, -0.053).lineTo(0.367, -0.053).lineTo(0.367, -0.166).lineTo(-0.391, -0.166).threePointArc((-0.454, -0.14), (-0.48, ... | 6 | 55 | 0.457675 |
train_797338055a16b447 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.648, 2).extrude(0.199)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.037, -0.648, 0.006), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.098, -0.299).lineTo(0.309, -0.37).lineTo(0.365, -... | 18 | 136 | 0.480864 |
train_577620891f02ff6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.042, 0, -0.188), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.881, 0.377).lineTo(0.913, 0.352).lineTo(1, 0.132).lineTo(1, 0).lineTo(0.882, 0).lineTo(0.882, 0.113).lineTo(0.786, 0.352).lineTo(0, 0.268).lineTo(0, 0.377).lineTo(0.881, 0.377).close... | 9 | 107 | 0.221396 |
train_fad7dbb882a675a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.236, -0.043, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.357, 0.498).lineTo(0.357, 0.357).lineTo(0.071, 0.357).lineTo(0.071, -0.498).lineTo(-0.071, -0.498).lineTo(-0.071, 0.357).lineTo(-0.357, 0.357).lineTo(-0.357, 0.498).lineTo(0.357, 0.498... | 6 | 70 | 0.517962 |
train_ad27399dfa58bc8a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.172, 0, -0.645), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.095, 0.165).threePointArc((0.183, 0), (0.066, -0.165)).lineTo(-0.139, -0.165).threePointArc((-0.183, 0.021), (-0.168, 0.165)).lineTo(0.095, 0.165).close().moveTo(0.11, 0.103).threePoi... | 20 | 93 | 0.092679 |
train_90c30094f61eefd8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.026, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 0.355).threePointArc((0.957, 0.336), (1, 0.29)).lineTo(1, -0.215).lineTo(0.836, -0.215).lineTo(0.836, -0.355).lineTo(-0.874, -0.355).threePointArc((-0.946, -0.325), (-1, -0.253))... | 9 | 55 | 0.294205 |
train_79dd0b52cbf2ca12 | 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(-0.333, -1).lineTo(-0.333, -0.333).lineTo(-1, -0.333).lineTo(-1, 1).lineTo(1, 1).close().extrude(0.09, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.552, -0.05, -1.... | 11 | 14 | 0.475001 |
train_54da251ad6460f7d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.352, 0, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.575, 0.482).lineTo(0.575, -0.289).threePointArc((0.518, -0.426), (0.382, -0.482)).lineTo(-0.575, -0.482).lineTo(-0.575, 0.297).lineTo(-0.39, 0.482).lineTo(0.575, 0.482).close().extrude... | 11 | 171 | 0.220181 |
train_98dfb5504e79966f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.793, -0.109, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.107, 0.725).threePointArc((0.779, 0.423), (1, -0.056)).threePointArc((0.628, -0.431), (-0.107, -0.485)).threePointArc((-0.779, -0.183), (-1, 0.296)).threePointArc((-0.628, 0.671), (0.... | 11 | 136 | 2.921501 |
train_d40d63969c09244c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.154, -0.006, 0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.2).lineTo(0.5, -0.2).lineTo(-0.032, -0.2).lineTo(-0.032, -0.067).lineTo(0.367, -0.067).lineTo(0.367, 0.067).lineTo(-0.032, 0.067).lineTo(-0.032, 0.2).lineTo(0.5, 0.2).close()... | 21 | 311 | 0.588459 |
train_df3ade192b5e013a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.288, -0.603, 0.468), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.042, 0.977).threePointArc((0.076, 0.858), (0.116, 0.827)).lineTo(0.147, 0.766).threePointArc((0.209, 0.762), (0.242, 0.729)).threePointArc((0.357, 0.705), (0.385, 0.636)).threePoi... | 12 | 76 | 0.458794 |
train_2f23b41741a43725 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.208, 0.138).threePointArc((0.413, 0.126), (0.5, 0.098)).lineTo(0.5, 0.027).threePointArc((0.441, 0.008), (0.301, 0)).lineTo(0.119, 0).threePointArc((0.035, -0.005), (0, -0.016)).lineT... | 2 | 19 | 0.165369 |
train_fa2d776cf9d7da80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -1.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.471, 0.261).threePointArc((0.6, 0.132), (0.471, 0.003)).lineTo(-0.471, 0.003).threePointArc((-0.6, 0.132), (-0.471, 0.261)).lineTo(0.471, 0.261).close().revolve(angleDegrees=360, axisStart... | 3 | 18 | 1.287308 |
train_87a258d9877fd1f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.698), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.362, 0.347).lineTo(0.362, 0.216).lineTo(0.494, 0.216).lineTo(0.494, -0.245).lineTo(0.39, -0.245).lineTo(0.39, -0.347).lineTo(-0.362, -0.347).lineTo(-0.362, -0.216).lineTo(-0.494, -0.216).l... | 12 | 113 | 1.0957 |
train_31ac9255304a65a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.215)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.822).extrude(0.647, both=True))
result = result.union(cq.Workpl... | 9 | 46 | 0.332925 |
train_12da57a8e1b668ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.464, 0.302), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.398, 0.476).lineTo(0.626, 0.311).lineTo(0.057, -0.476).lineTo(-0.626, 0.019).lineTo(-0.436, 0.281).lineTo(-0.209, 0.116).lineTo(-0.019, 0.378).lineTo(0.209, 0.213).lineTo(0.398, 0.476)... | 13 | 1,026 | 0.593525 |
train_164fb6ffa2cb0986 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.226, 0.147, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.866, 0.502).lineTo(0.069, 0.25).lineTo(0.444, 0.149).threePointArc((1.104, 0.374), (1.054, 0.186)).threePointArc((-0.083, -0.314), (-0.132, -0.502)).lineTo(-1.067, -0.25).threePointArc... | 14 | 181 | 0.338029 |
train_04b9382d905a5e94 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.016, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.915, 0.242).threePointArc((0.974, 0.218), (1, 0.158)).lineTo(1, -0.093).lineTo(0.849, -0.093).lineTo(0.849, -0.242).lineTo(-0.86, -0.242).lineTo(-1, -0.104).lineTo(-1, 0.062).lineTo(-... | 14 | 218 | 0.069565 |
train_733118e547e82ff6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.141, 0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.622, 0.631).threePointArc((0.467, 0.316), (0.467, 0)).lineTo(0.311, -0.631).threePointArc((0.156, -0.947), (0, -0.947)).lineTo(-0.311, -1.263).threePointArc((-0.622, 1.263), (0.622... | 20 | 157 | 0.208158 |
train_fc13bbe9864f026e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.832), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.176, 0.815).lineTo(1.03, -0.139).lineTo(0.81, -0.313).lineTo(0.176, -0.815).lineTo(-0.065, -0.625).lineTo(0.569, -0.122).lineTo(0.328, 0.069).lineTo(-0.307, -0.434).lineTo(-0.548, -0.243)... | 8 | 124 | 1.67726 |
train_02a664555c8b66f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.038, 0, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.229, 1).lineTo(0.639, 0.802).lineTo(1, 0).lineTo(0.639, -0.802).lineTo(-0.229, -1).lineTo(-0.924, -0.445).lineTo(-0.924, 0.445).lineTo(-0.229, 1).close().extrude(0.673)
result = resu... | 5 | 63 | 1.653494 |
train_4299b70750c8e5d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.59), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.332, 1.179).lineTo(0.332, 0.332).lineTo(2, 0.332).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.179).lineTo(0.332, 1.179).close().extrude(0.955, both=True)
result = result.cut(cq.Workplane(cq.Pla... | 3 | 12 | 1.712722 |
train_47202f9b2371e23b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0.001, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.149, 0.726).threePointArc((0.827, -0.55), (-0.32, -0.385)).lineTo(-0.725, -0.064).threePointArc((-0.827, 0.017), (-0.608, 0.214)).lineTo(-0.101, -0.187).threePointArc((-0.016, -0.... | 8 | 100 | 0.369923 |
train_be1bf15d7f36e2d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.081, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.739, 0.904).threePointArc((-0.679, 0.879), (-0.653, 0.819)).lineTo(-0.653, -0.342).threePointArc((-0.589, -0.494), (-0.437, -0.558)).lineTo(0.96, -0.558).threePointArc((0.987, -0.57), (1, ... | 19 | 108 | 1.284032 |
train_dadc0340cfe7639f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.188, -1.063, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.833, 2.023).threePointArc((0.945, 1.976), (1, 1.865)).lineTo(1, 0.261).threePointArc((0.945, 0.149), (0.833, 0.103)).lineTo(-0.833, 0.103).threePointArc((-0.945, 0.149), (-1, 0.261)).... | 8 | 152 | 0.979239 |
train_5ed836dda3efa7ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.841, 0.695).threePointArc((0.951, 0.63), (0.997, 0.477)).lineTo(0.997, 0.273).threePointArc((0.939, 0.081), (0.801, 0)).lineTo(0.146, 0).threePointArc((0.043, -0.061), (0, -0.204)).lineTo(0... | 13 | 58 | 0.696007 |
train_610adcfff252c05e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.726), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.4, 1).lineTo(0.4, 0.2).lineTo(0.8, 0.2).lineTo(0.8, -0.6).lineTo(0, -0.6).lineTo(0, -1).lineTo(-0.8, -1).lineTo(-0.8, -0.2).lineTo(-0.4, -0.2).lineTo(-0.4, 0.6).lineTo(0, 0.6).lineTo(0, 1)... | 4 | 79 | 2.713533 |
train_ef4e4a1c1fee311b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.138).lineTo(1, 0.107).lineTo(-0.705, 0.107).lineTo(-0.705, -0.107).lineTo(1, -0.107).lineTo(1, -0.138).lineTo(-1, -0.138).lineTo(-1, 0.138).lineTo(1, 0.138).close().extrude(0.416, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.974... | 4 | 64 | 0.147578 |
train_5060b43c81fd001d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.356, 2).extrude(0.231)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.126, 0.709, 0.062), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.933, 2.323).lineTo(0.933, 1.109).lineTo(1.742, 0.7... | 16 | 71 | 0.122995 |
train_ff14b0064d33b7f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.425, -0.003, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.863, 0.653).threePointArc((1.258, 0.576), (1.424, 0.396)).lineTo(1.424, -0.276).threePointArc((1.392, -0.311), (1.314, -0.326)).lineTo(0.952, -0.326).threePointArc((0.784, -0.359... | 14 | 111 | 0.81279 |
train_d2a86c1c2618347d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.019, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.166).lineTo(0.083, 0.144).lineTo(0.144, 0.083).lineTo(0.166, 0).lineTo(0.144, -0.083).lineTo(0.083, -0.144).lineTo(0, -0.166).lineTo(-0.083, -0.144).lineTo(-0.144, -0.083).lineTo(-0.166,... | 10 | 69 | 0.033407 |
train_fe0b2e600ddf97c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.201, 0.28, 0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.512, 0.716).lineTo(0.512, 0.103).lineTo(-0.307, 0.103).lineTo(-0.307, -0.103).lineTo(0.512, -0.103).lineTo(0.512, -0.716).lineTo(-0.512, -0.716).lineTo(-0.512, -0.512).lineTo(0.307,... | 4 | 40 | 0.298716 |
train_bbbd12a27324c998 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.558, -1.086, -0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.46, 1.787).threePointArc((-0.297, 1.825), (-0.098, 1.702)).lineTo(0.264, 1.627).threePointArc((0.474, 1.731), (0.588, 1.619)).lineTo(0.606, 1.34).threePointArc((0.686, 1.263), (... | 1 | 15 | 1.648496 |
train_4c097863da92365f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.097), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.151).lineTo(0.829, 0).lineTo(1, -0.151).lineTo(0.403, -0.151).lineTo(0.403, 0.151).lineTo(1, 0.151).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = r... | 12 | 97 | 0.415859 |
train_1d2e41e523ab6d7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.073, -0.058, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.73, 0.493).lineTo(0.73, 0.296).lineTo(0.927, 0.296).lineTo(0.927, 0.099).lineTo(0.532, 0.099).lineTo(0.532, -0.099).lineTo(0.335, -0.099).lineTo(0.335, -0.296).lineTo(0.138, -0.29... | 14 | 207 | 0.118251 |
train_b0fe444c7e0c9bf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.363, 0, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.25)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.363, 0, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.468).extrude(0.751, both=True))
result = result.union(... | 18 | 203 | 0.462093 |
train_fa3110b7216557d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.022, 0.137, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.863).threePointArc((0.576, 0.576), (0.863, 0)).threePointArc((0.576, -0.576), (0, -0.863)).threePointArc((-0.576, -0.576), (-0.863, 0)).threePointArc((-0.576, 0.576), (0, 0.863))... | 1 | 6 | 1.264666 |
train_c388634f71190169 | 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.759, 0.365).lineTo(0.759, 0.124).lineTo(1, 0.124).lineTo(1, -0.117).lineTo(0.752, -0.117).lineTo(0.752, -0.365).lineTo(-0.792, -0.365).lineTo(-0.792, -0.156).lineTo(-1, -0.156).lineTo(-1, 0... | 8 | 79 | 0.439318 |
train_2d34140e644fb535 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.335, 1).threePointArc((0.503, 0.93), (0.574, 0.762)).lineTo(0.574, -1).lineTo(-0.296, -1).threePointArc((-0.493, -0.918), (-0.574, -0.722)).lineTo(-0.574, 0.515).lineTo(-0.089, 1).lineTo(0... | 13 | 53 | 0.750355 |
train_7d4cc359ad43e64d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.15, 0.265, 0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.127, 0.722).threePointArc((0.221, 0.608), (0.251, 0.689)).lineTo(0.366, 0.635).threePointArc((0.415, 0.496), (0.472, 0.561)).lineTo(0.561, 0.472).threePointArc((0.559, 0.324), (0.63... | 16 | 197 | 0.627961 |
train_3613270772cb0d9e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.489, 1).threePointArc((0.567, 0.966), (0.6, 0.888)).lineTo(0.6, 0.746).threePointArc((0.557, 0.643), (0.454, 0.6)).lineTo(0.309, 0.6).threePointArc((0.232, 0.568), (0.2, 0.491)).lineTo(0.2,... | 12 | 127 | 1.714942 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.