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_0865df06d3cf808d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.614).lineTo(1, -0.614).lineTo(-0.776, -0.614).lineTo(-1, -0.391).lineTo(-1, 0.29).threePointArc((-0.904, 0.52), (-0.677, 0.614)).lineTo(1, 0.614).close().extrude(0.248)
result = result.... | 4 | 44 | 0.153559 |
train_54d3f6a92d89fbda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.019, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.287).lineTo(1, -0.321).lineTo(-0.932, -0.321).threePointArc((-0.98, -0.301), (-1, -0.253)).lineTo(-1, 0.321).lineTo(0.965, 0.321).lineTo(0.965, 0.287).lineTo(1, 0.287).close().extr... | 7 | 52 | 0.287672 |
train_56fcd318d666d90f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, 0.19).threePointArc((1, 0), (0.874, -0.19)).lineTo(0.293, -0.19).lineTo(-0.293, -0.19).lineTo(-0.874, -0.19).threePointArc((-1, 0), (-0.874, 0.19)).lineTo(-0.293, 0.19).lineTo(0.... | 10 | 67 | 0.072543 |
train_228280120dbfbcd8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.226, 0.584).threePointArc((0.441, 0.495), (0.53, 0.28)).lineTo(0.518, 0.181).threePointArc((0.536, 0.117), (0.592, 0.082)).threePointArc((0.603, 0.032), (0.589, -0.017)).lineTo(0.565, -0.1... | 5 | 276 | 1.984394 |
train_76b37f93fb79732e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.102, 0, -0.69), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.82, 1.379).lineTo(0.82, 0.243).lineTo(1.024, 0.243).lineTo(1.024, 0).lineTo(0.075, 0).lineTo(0.075, 1.379).lineTo(0.82, 1.379).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), a... | 3 | 12 | 2.010589 |
train_a9bd6f28e228a53b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, -0.236, -0.098), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.131, 0.136).lineTo(0.103, -0.136).lineTo(-0.131, 0.036).lineTo(0.131, 0.136).close().extrude(0.041)
result = result.union(cq.Workplane(cq.Plane(origin=(0.045, 0.551, -0.204), nor... | 6 | 80 | 0.209959 |
train_09c91bb5a63b39aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.052, 0.036, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.364).extrude(1.576)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.052, 0.036, 0.103), normal=(0.785, 0, 0.619), xDir=(0.619, 0, -0.785))).circle(0.371).extrude(0.955))
result... | 10 | 16 | 0.166026 |
train_fbf2a6abb7d3a131 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.396, -0.456, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.523).threePointArc((0.311, 0.394), (0.439, 0.083)).threePointArc((0.311, -0.227), (0, -0.356)).threePointArc((-0.311, -0.227), (-0.439, 0.083)).threePointArc((-0.311, 0.394), ... | 5 | 335 | 2.055612 |
train_c66647322d5b955d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.249)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.686).extrude(0.749, both=True))
result = result.union(cq.Workpl... | 20 | 46 | 1.386959 |
train_d9620e6f8ade74b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, -0.165, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.06, 0.613).lineTo(0.316, 0.507).lineTo(0.507, 0.166).lineTo(0.401, -0.21).lineTo(0.06, -0.4).lineTo(-0.316, -0.295).lineTo(-0.507, 0.046).lineTo(-0.401, 0.422).lineTo(-0.06, 0.61... | 11 | 73 | 1.174267 |
train_1fb0aa21a8f157b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, -0.175, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.249, 0).threePointArc((0.176, 0.176), (0, 0.249)).lineTo(0, 0.571).close().extrude(2)
result = result.union(cq.Workplane(cq... | 4 | 18 | 0.438126 |
train_9ccd3b35f393dd46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.161, 0.117, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.192, 0.761).threePointArc((0.793, -0.159), (0.838, -0.239)).lineTo(0.835, -0.315).threePointArc((0.797, -0.381), (0.343, -0.801)).lineTo(0.264, -0.799).lineTo(0.196, -0.761).line... | 6 | 61 | 0.586917 |
train_95318408a5329965 | 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.15, 0.929).lineTo(0.879, 0.334).lineTo(0.729, -0.594).lineTo(-0.15, -0.929).lineTo(-0.879, -0.334).lineTo(-0.729, 0.594).lineTo(0.15, 0.929).close().extrude(2)
result = result.cut(cq.Workplane... | 8 | 75 | 4.344407 |
train_65b4f54fb0308243 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.328, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.88, 0.505).threePointArc((0.964, 0.469), (1, 0.385)).lineTo(1, -0.339).lineTo(0.834, -0.505).lineTo(-0.868, -0.505).lineTo(-1, -0.373).lineTo(-1, 0.505).lineTo(0.88, 0.505).close().ext... | 4 | 22 | 1.191638 |
train_9e90567e5288df4a | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.413, 1.761)
result = result.edges().fillet(0.338)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.45).extrude(3.972, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm... | 6 | 38 | 2.259535 |
train_4d699942d8657784 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, -0.159).lineTo(0.907, -0.255).lineTo(0.774, -0.376).lineTo(0.496, -0.254).lineTo(0.358, -0.324).lineTo(0.526, -0.501).lineTo(0.302, -0.56).lineTo(0.181, -0.371).lineTo(0, -0.386).line... | 5 | 350 | 0.293087 |
train_d2cbf616ce10903a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.194, 0.3).threePointArc((-0.136, 0.283), (-0.111, 0.244)).lineTo(-0.111, 0.189).threePointArc((-0.094, 0.161), (-0.052, 0.149)).lineTo(0.24, 0.149).threePointArc((0.307, 0.13), (0.334,... | 12 | 74 | 0.463548 |
train_781678b6f355daca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.561, 0.469).threePointArc((-0.4, 0.449), (-0.332, 0.404)).lineTo(-0.332, 0.162).threePointArc((-0.26, 0.114), (-0.089, 0.094)).lineTo(0.152, 0.094).threePointArc((0.279, 0.079), (0.332, 0... | 1 | 32 | 0.29938 |
train_e9a2cba09e530971 | 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.054, 0.111).lineTo(-0.054, -0.062).lineTo(0.106, -0.062).lineTo(0.106, -0.111).lineTo(-0.106, -0.111).lineTo(-0.106, 0.111).lineTo(-0.054, 0.111).close().extrude(2)
result = result.edges().ch... | 13 | 178 | 0.02181 |
train_6611921c85ba7506 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.237, 0, -0.463), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.194, 0.922).lineTo(0.194, 0.194).lineTo(0.638, 0.194).lineTo(0.638, 0).lineTo(0, 0).lineTo(0, 0.922).lineTo(0.194, 0.922).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 10 | 84 | 0.444552 |
train_d331cf524c43e813 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.273, -0.563), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.92, 0.376).threePointArc((0.976, 0.358), (1, 0.315)).lineTo(1, 0.039).threePointArc((0.935, -0.077), (0.782, -0.125)).lineTo(0.447, -0.125).threePointArc((0.367, -0.151), (0.333, -0.21... | 7 | 86 | 1.062712 |
train_9b93bba7edaf4745 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.387, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.968, 0.987).lineTo(0.968, 0.658).lineTo(0.581, 0.658).lineTo(0.581, -0.987).lineTo(-0.194, -0.987).lineTo(-0.194, -0.658).lineTo(-0.968, -0.658).lineTo(-0.968, -0.329).lineTo(-0.194, -0.32... | 19 | 42 | 1.315473 |
train_68b95d5f3ae1c8d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.54), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.623, 0.747).threePointArc((0.881, 0.636), (1, 0.374)).lineTo(1, -0.628).threePointArc((0.957, -0.712), (0.873, -0.747)).lineTo(0.686, -0.747).threePointArc((0.553, -0.691), (0.498, -0.558))... | 5 | 125 | 1.6222 |
train_db095651c4efe49e | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.352, 0.86).lineTo(-0.352, -0.267).lineTo(0.974, -0.267).lineTo(0.974, -0.86).lineTo(-0.974, -0.86).lineTo(-0.974, 0.86).lineTo(-0.352, 0.86).close().extrude(0.182, taper=-7.825, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.595, 0... | 16 | 108 | 0.610532 |
train_07cacd0919f2e52b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.677), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.689, 0.902).lineTo(-0.689, -0.682).lineTo(1, -0.682).lineTo(1, -0.902).lineTo(-1, -0.902).lineTo(-1, 0.902).lineTo(-0.689, 0.902).close().extrude(1.354)
result = result.union(cq.Workplane... | 2 | 13 | 1.318167 |
train_78a8ae15562405bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.091, -0.169, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.807, 0.058).threePointArc((0.807, 0.825), (0.807, -0.326)).lineTo(0.807, -0.744).threePointArc((0.781, -0.825), (0.702, -0.752)).lineTo(0.422, -0.352).threePointArc((0.408, -0.3... | 5 | 70 | 0.315835 |
train_585cf9e2a47ec027 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.755), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.156, 0.195).threePointArc((0.183, 0.183), (0.195, 0.156)).lineTo(0.195, 0.122).threePointArc((0.188, 0.105), (0.17, 0.097)).lineTo(0.029, 0.097).threePointArc((0.009, 0.089), (0, 0.068)).l... | 17 | 134 | 0.219652 |
train_7beed6dcd5c849ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.198, -0.217, -0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.117, 0.182).threePointArc((0.139, 0.175), (0.148, 0.158)).lineTo(0.148, -0.089).threePointArc((0.14, -0.103), (0.121, -0.109)).lineTo(0.066, -0.109).threePointArc((0.054, -0.113)... | 6 | 156 | 0.316739 |
train_0f966e876ab1f2d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.119, 0.087, -0.47), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.678, 0.643).threePointArc((0.208, -0.643), (-0.678, 0.222)).lineTo(0.678, 0.643).close().moveTo(0.189, -0.079).threePointArc((0.274, -0.053), (0.294, -0.16)).lineTo(0.315, -0.268).... | 11 | 94 | 1.735379 |
train_2c87fa117b566370 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.534), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.357).lineTo(1, -0.357).lineTo(-0.332, -0.256).lineTo(-1, 0.256).lineTo(1, 0.357).close().extrude(1.068, taper=11.409)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.699, 0.537, -0... | 6 | 21 | 0.520305 |
train_c6de01663639e042 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.626, -0.092, -0.293), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.273, 0.644).threePointArc((0.273, 0.644), (0.545, 0.172)).threePointArc((0.273, -0.3), (-0.273, -0.3)).threePointArc((-0.545, 0.172), (-0.273, 0.644)).close().extrude(0.205)
res... | 6 | 40 | 0.592403 |
train_499e8d23dcc4c8d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.949, 0.554).threePointArc((0.984, 0.54), (1, 0.505)).lineTo(1, -0.485).threePointArc((0.978, -0.534), (0.929, -0.554)).lineTo(-0.915, -0.554).threePointArc((-0.974, -0.53), (-1, -0.471)).lin... | 14 | 167 | 0.319927 |
train_9540690460cc132a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.401, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.56).lineTo(1, -0.535).threePointArc((0.685, -0.58), (0.639, -0.599)).lineTo(-0.651, -0.599).threePointArc((-0.689, -0.584), (-1, -0.546)).lineTo(-1, 0.538).lineTo(-0.643, 0.538).line... | 8 | 169 | 0.201517 |
train_c0de0900b7a6c38c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.022, 0.095).lineTo(0.062, 0.077).lineTo(0.098, 0).lineTo(0.062, -0.077).lineTo(-0.022, -0.095).lineTo(-0.088, -0.042).lineTo(-0.088, 0.042).lineTo(-0.022, 0.095).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, ... | 6 | 40 | 0.087824 |
train_d248b26dadf40ef6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.125), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.261, 0).lineTo(0.261, 0.249).lineTo(0.228, 0.249).lineTo(0.228, 0.077).lineTo(1, 0.077).lineTo(1, 0).lineTo(0.261, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 1 | 6 | 0.216704 |
train_e3da5b1f43fd118f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.665), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.229, 0.854).threePointArc((0.768, 0.728), (1, 0.418)).lineTo(1, -0.613).threePointArc((0.865, -0.785), (0.569, -0.854)).lineTo(-0.634, -0.854).threePointArc((-0.884, -0.796), (-1, -0.... | 19 | 163 | 1.937967 |
train_f0bf67dffb1d5262 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.221, 0, -0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.778, 0.597).lineTo(0.778, -0.597).lineTo(-0.778, -0.597).lineTo(-0.778, 0.597).lineTo(-0.548, 0.597).lineTo(-0.548, -0.366).lineTo(0.548, -0.366).lineTo(0.548, 0.597).lineTo(0.778, 0.5... | 17 | 157 | 0.493012 |
train_b5077e83b6c67dee | import cadquery as cq
import math
result = cq.Workplane('XY').circle(1).extrude(0.887, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.668).extrude(0.311, both=True))
result = result.cut(cq.Workplane('XY').circle(0.702).extrude(2.668, both=True))
resu... | 8 | 30 | 2.351766 |
train_912bd38b1dc7b0b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.631, 0.409).threePointArc((-0.556, 0.396), (-0.525, 0.366)).lineTo(-0.525, -0.078).threePointArc((-0.424, -0.175), (-0.184, -0.217)).lineTo(0.943, -0.217).threePointArc((0.983, -0.223), (1... | 7 | 110 | 0.371938 |
train_e80b537abbfdf16c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.905, 0.285).threePointArc((0.971, 0.258), (1, 0.191)).lineTo(1, -0.062).lineTo(0.777, -0.285).lineTo(-1, -0.285).lineTo(-1, 0.285).lineTo(0.905, 0.285).close().extrude(0.259)
result = resu... | 10 | 183 | 0.252091 |
train_4bfd36bf62c088c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, -0.625, -0.802), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.277, 0.043).threePointArc((0.333, 0.043), (0.362, 0)).threePointArc((0.333, -0.043), (0.277, -0.043)).threePointArc((0.248, 0), (0.277, 0.043)).close().sweep(cq.Workplane(cq.Plan... | 5 | 46 | 0.540915 |
train_1c897dcee4c7f3dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.287, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.223, 2).lineTo(0.223, 0.223).lineTo(0.573, 0.223).lineTo(0.573, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.223, 2).close().extrude(0.996, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 7 | 25 | 1.031472 |
train_3ef23cb094401b6c | 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(1, 0.479).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.479).lineTo(-0.661, 0.479).lineTo(-0.661, 0.288).lineTo(0.661, 0.288).lineTo(0.661, 0.479).lineTo(1, 0.479).close().extrude(0.19, both=True... | 7 | 52 | 0.308381 |
train_09dd92d6792c4a82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.092, -0.022, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.873).threePointArc((0.655, 0.655), (0.873, 0)).threePointArc((0.655, -0.655), (0, -0.873)).threePointArc((-0.655, -0.655), (-0.873, 0)).threePointArc((-0.655, 0.655), (0, 0.873)... | 16 | 108 | 0.327097 |
train_3f811c4d03d20f06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, 0, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 1).threePointArc((0.325, 0.952), (0.335, 0.857)).lineTo(0.335, 0.507).threePointArc((0.322, 0.381), (0.289, 0.328)).lineTo(0.115, 0.328).threePointArc((0.096, 0.295), (0.087, 0.215... | 10 | 60 | 0.120248 |
train_92748a01bb77c652 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.339, 2).extrude(0.254)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.53, 0.19).lineTo(0.53, -0.19).lineTo(-0.53, -0.19).close(... | 13 | 200 | 0.147986 |
train_8ae881603ecac771 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.353, 0.146, 0.236), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.179, 0.311).threePointArc((0.179, 0.311), (0.359, 0)).threePointArc((0.179, -0.311), (-0.179, -0.311)).threePointArc((-0.359, 0), (-0.179, 0.311)).close().workplane(offset=0.081)... | 9 | 43 | 0.619817 |
train_d8916b1622e5d3cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.996, -0.898, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.019, 1.535).lineTo(0.22, 1.155).lineTo(0.662, 1.08).lineTo(0.374, 0.735).threePointArc((0.384, 0.678), (0.373, 0.622)).threePointArc((0.434, 0.587), (0.461, 0.521)).lineTo(0.405, 0.4... | 7 | 16 | 2.482472 |
train_aadfc48bff8b914b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 0.138).threePointArc((0.5, 0.138), (1, 0)).threePointArc((0.5, -0.138), (-0.5, -0.138)).threePointArc((-1, 0), (-0.5, 0.138)).close().extrude(0.207)
result = result.faces('>Z').edges()... | 3 | 10 | 0.130242 |
train_6b5534715d485d34 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.464).lineTo(0.5, 0.232).lineTo(1, 0.232).lineTo(1, 0).lineTo(0.5, 0).lineTo(0.5, -0.464).lineTo(0, -0.464).lineTo(0, -0.232).lineTo(-1, -0.232).lineTo(-1, 0).lineTo(-0.5, 0).lineTo(-0... | 21 | 42 | 0.292197 |
train_ffb2cac8951404c8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.836, 0.333).lineTo(0.836, -0.333).lineTo(-0.836, -0.333).lineTo(-0.836, 0.333).lineTo(-0.383, 0.333).lineTo(-0.383, -0.174).lineTo(0.383, -0.174).lineTo(0.383, 0.333).lineTo(0.836, 0.333).close().extrude(1, taper=-7.135, both=True)
result = result.c... | 12 | 73 | 2.136423 |
train_ec23e50d8331f6cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.674, 0.26).lineTo(0.919, 0.139).lineTo(1, 0.091).lineTo(1, 0).lineTo(0.857, 0).lineTo(0.857, 0.078).lineTo(0.758, 0.139).lineTo(0, 0.118).lineTo(0, 0.26).lineTo(0.674, 0.26).close().revolv... | 10 | 33 | 0.278882 |
train_be236d8aacd690ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.244, -0.504, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.05, 0.53).lineTo(0.226, 0.33).lineTo(0.259, 0.098).lineTo(0.095, -0.107).lineTo(-0.19, -0.081).lineTo(-0.259, 0.179).lineTo(-0.188, 0.402).lineTo(0.05, 0.53).close().extrude(0.49... | 8 | 87 | 0.177331 |
train_55d3c32b590cd3ec | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.905, 0.95, 2)
result = result.edges().fillet(0.283)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.951, -0.267, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.209, 0.685).lineTo(0.108, 0.518).lineTo(0.159, 0.354).lineTo(0.174, -0.17).lineTo(0.31... | 11 | 264 | 1.529661 |
train_96ad859145c8bb99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.33, -0.492), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.705, 0.398).threePointArc((0.914, 0.311), (1, 0.104)).lineTo(1, -0.398).lineTo(-0.741, -0.398).lineTo(-1, -0.141).lineTo(-1, 0.398).lineTo(0.705, 0.398).close().extrude(0.984)
result = ... | 11 | 58 | 1.336459 |
train_0dbc7def8f1f9a22 | 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.628).extrude(0.761)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.628, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.101, 0.339), (-0.367, 0.57), (-0.717, 0.621), (-... | 4 | 49 | 2.827474 |
train_2e8def3648e89f31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.298, 0.41).lineTo(0.773, 0.381).threePointArc((0.922, 0.293), (1, 0.129)).lineTo(0.973, -0.187).threePointArc((0.884, -0.34), (0.725, -0.41)).lineTo(0.25, -0.381).threePointArc((0.097, -0... | 3 | 32 | 2.718947 |
train_cd8737390e5867cf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.372), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.186, 0.213).threePointArc((0.333, 0.151), (0.395, 0.004)).lineTo(0.395, -0.032).lineTo(0.214, -0.213).lineTo(-0.299, -0.213).threePointArc((-0.366, -0.184), (-0.395, -0.115)).lineTo(-0.395... | 12 | 180 | 0.381078 |
train_bd68c1901a664f42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.256, 0.38, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.928, 2.137).threePointArc((-0.507, 1.999), (-0.272, 1.976)).lineTo(0.039, 1.886).lineTo(0.244, 1.813).lineTo(0.693, 1.866).lineTo(0.999, 1.225).lineTo(0.467, 0.633).threePointArc((0.30... | 5 | 73 | 1.566004 |
train_818bf10e6f8fcdbe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.508, 0, 0.621), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.202, 0.761).threePointArc((0.311, 0.75), (0.372, 0.702)).threePointArc((0.376, 0.625), (0.323, 0.53)).threePointArc((0.221, 0.431), (0.086, 0.344)).threePointArc((-0.063, 0.282), (-0.2... | 7 | 784 | 0.616253 |
train_7b8fbe8e8c76fa31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.322, 0.064), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.143, 0.665).threePointArc((0.259, 0.617), (0.308, 0.501)).lineTo(0.308, 0.17).threePointArc((0.259, 0.054), (0.143, 0.006)).lineTo(0.048, -0.021).threePointArc((0.004, 0.009), (-0.048... | 16 | 510 | 0.32522 |
train_9d2888280b9465ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.401, -0.023, -0.46), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.17, 0.677).threePointArc((0.363, 0.597), (0.443, 0.404)).lineTo(0.392, 0.202).lineTo(0.521, 0).lineTo(0.539, -0.202).threePointArc((0.443, -0.28), (0.443, -0.404)).threePointArc((... | 12 | 54 | 1.509568 |
train_919e6d59f9c8e3fb | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.012, 0.065).lineTo(0.033, 0.057).lineTo(0.05, 0.043).lineTo(0.062, 0.022).lineTo(0.066, 0).lineTo(0.062, -0.022).lineTo(0.05, -0.043).lineTo(0.033, -0.057).lineTo(0.012, -0.065).lineTo(-0.012, -0.065).lineTo(-0.033, -0.057).lineTo(-0.05, -0.043).lin... | 8 | 45 | 0.014829 |
train_2973dcea4545366f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, 0, -0.872), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.238, 0.315).threePointArc((0.284, 0.295), (0.303, 0.25)).lineTo(0.303, -0.25).threePointArc((0.284, -0.295), (0.238, -0.315)).lineTo(-0.238, -0.315).threePointArc((-0.284, -0.295), (-0... | 4 | 30 | 0.153336 |
train_c664a563cd7a1b97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.221, 0.841).threePointArc((0.365, 0.804), (0.501, 0.75)).threePointArc((0.625, 0.68), (0.737, 0.594)).threePointArc((0.832, 0.496), (0.909, 0.387)).threePointArc((0.966, 0.269), (1.003, 0.1... | 4 | 89 | 1.903896 |
train_43cf27a6e9dc0da6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.939, 0.3).threePointArc((0.982, 0.282), (1, 0.24)).lineTo(1, -0.219).lineTo(0.919, -0.3).lineTo(-1, -0.3).lineTo(-1, 0.245).threePointArc((-0.983, 0.284), (-0.944, 0.3)).lineTo(0.939, 0.3)... | 3 | 25 | 0.364657 |
train_bec5c9b8d4614521 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.13, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.279).lineTo(0.332, 0.177).threePointArc((0.363, 0.16), (0.438, 0.153)).lineTo(0.822, 0.153).threePointArc((0.94, 0.141), (1, 0.113)).lineTo(1, -0.208).threePointArc((0.865, -0.2... | 10 | 176 | 0.258582 |
train_7d4798b5c39ac053 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.562, 0.35, -0.612), normal=(0.328, -0.264, 0.907), xDir=(0, -0.96, -0.279))).moveTo(0.077, 0.326).threePointArc((0.168, 0.204), (0.161, -0.038)).threePointArc((0.061, -0.257), (-0.077, -0.326)).threePointArc((-0.168, -0.204), (-0.161, 0.038)).t... | 14 | 95 | 0.279954 |
train_7b04d9322c4af8cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.614, 0.316, 0.169), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.075, 0.455).lineTo(0.127, 0.294).lineTo(0.296, 0.29).lineTo(0.203, 0.149).lineTo(0.305, 0.014).lineTo(0.136, -0.002).lineTo(0.094, -0.165).lineTo(-0.023, -0.043).lineTo(-0.177, -0.... | 13 | 132 | 0.980515 |
train_c19822003e94fbcc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.674, -0.304, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.204, 0.443).threePointArc((0.313, -0.056), (0.061, -0.443)).lineTo(-0.237, -0.313).threePointArc((-0.313, 0.194), (0.204, 0.443)).close().extrude(1.398)
result = result.union(cq.W... | 16 | 212 | 0.77597 |
train_90b57eb463ee0243 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.436)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.871).extrude(1.308, both=True))
result = result.union(cq.Workpl... | 15 | 80 | 0.755584 |
train_855e5eaaca81c4e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.385, 1).lineTo(0.698, 0.687).lineTo(0.698, -0.83).threePointArc((0.649, -0.95), (0.529, -1)).lineTo(-0.461, -1).threePointArc((-0.628, -0.929), (-0.698, -0.763)).lineTo(-0.698, 1).lineTo(0... | 4 | 37 | 0.508177 |
train_dd61560c9968498e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.474), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.611).threePointArc((0.649, 0.595), (0.667, 0.556)).lineTo(0.667, 0.411).threePointArc((0.701, 0.337), (0.781, 0.306)).lineTo(0.904, 0.306).threePointArc((0.971, 0.279), (1, 0.217)).... | 5 | 89 | 0.922091 |
train_b6887aaf3ca607c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.809, 0.392).threePointArc((0.937, 0.336), (1, 0.205)).lineTo(1, -0.392).lineTo(-0.771, -0.392).threePointArc((-0.926, -0.326), (-1, -0.165)).lineTo(-1, 0.392).lineTo(0.809, 0.392).close().... | 8 | 48 | 0.353686 |
train_a1318c703a7da310 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.04, 0, -0.165), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.532, 0.331).lineTo(0.919, 0.235).lineTo(1, 0.116).lineTo(1, 0).lineTo(0.775, 0).lineTo(0.775, 0.099).lineTo(0.674, 0.235).lineTo(0, 0.106).lineTo(0, 0.331).lineTo(0.532, 0.331).close()... | 10 | 138 | 0.326337 |
train_a4131b492b408b80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.297, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.554, 0.203).lineTo(0.554, 0.065).threePointArc((0.832, 0.203), (0.971, 0.065)).lineTo(0.87, -0.136).threePointArc((0.82, -0.19), (0.746, -0.203)).lineTo(-0.554, -0.074).threePointArc(... | 4 | 91 | 0.972834 |
train_e63755433c5420c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.663, -0.296, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.816).threePointArc((0.577, 0.577), (0.816, 0)).lineTo(0.462, 0).threePointArc((0.328, 0.328), (0, 0.462)).lineTo(0, 0.816).close().extrude(2)
result = result.union(cq.Workplane(cq... | 8 | 81 | 0.816319 |
train_6b2436d438cd401d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.564, 0.366).lineTo(-0.548, 0.341).lineTo(-0.526, 0.318).lineTo(-0.499, 0.3).lineTo(-0.469, 0.287).lineTo(-0.436, 0.279).lineTo(-0.402, 0.277).lineTo(-0.369, 0.281).lineTo(-0.337, 0.29).li... | 12 | 253 | 0.49879 |
train_10b8769bea5f45a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.305, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.694).extrude(0.625)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.305, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.483).extrude(1.876, both=True))
result = result.uni... | 14 | 55 | 0.99044 |
train_1f2af9da73fdf99f | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.101).lineTo(0.05, 0.087).lineTo(0.087, 0.05).lineTo(0.101, 0).lineTo(0.087, -0.05).lineTo(0.05, -0.087).lineTo(0, -0.101).lineTo(-0.05, -0.087).lineTo(-0.087, -0.05).lineTo(-0.101, 0).lineTo(-0.087, 0.05).lineTo(-0.05, 0.087).lineTo(0, 0.101).clo... | 11 | 84 | 0.023292 |
train_39d67816d2b0a603 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.216, 0, 0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.327, 0.747).lineTo(-0.327, -0.349).lineTo(0.784, -0.349).lineTo(0.784, -0.747).lineTo(-0.784, -0.747).lineTo(-0.784, 0.747).lineTo(-0.327, 0.747).close().extrude(0.135)
result = result... | 15 | 27 | 0.224739 |
train_18d19c997e063f56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.388, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.123, 0.887).threePointArc((-0.028, 0.81), (0.029, 0.687)).lineTo(0.266, 0.841).threePointArc((0.284, 0.789), (0.194, 0.629)).lineTo(0.316, 0.542).lineTo(0.485, 0.409).lineTo(0.307, 0.286)... | 22 | 84 | 0.856846 |
train_8413b8978aa5435d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.396), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.464, 0.235).lineTo(0.464, -0.235).lineTo(-0.464, -0.235).lineTo(-0.464, 0.235).lineTo(0.464, 0.235).close().extrude(0.347, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0,... | 7 | 29 | 0.36092 |
train_ef94c3682e8dad7d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.114, 0.08, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.316, 0.823).threePointArc((0.783, -0.823), (-0.783, 0.362)).lineTo(-0.316, 0.823).close().extrude(0.348, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.748, -0.14, -0.... | 3 | 13 | 2.113935 |
train_84213a3d38f0f77e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.043, 0, -0.498), normal=(-0.093, -0.478, -0.873), xDir=(0.982, -0.191, 0))).moveTo(0.085, 0.199).threePointArc((0.165, 0.199), (0.165, 0.103)).lineTo(-0.085, -0.199).threePointArc((-0.165, -0.199), (-0.165, -0.103)).lineTo(0.085, 0.199).close()... | 5 | 68 | 0.30184 |
train_437e4cbb1d2f17a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.58, 0.333).threePointArc((0.979, 0.088), (0.67, -0.399)).lineTo(0.579, -0.379).lineTo(0.507, -0.432).lineTo(-0.061, -0.109).lineTo(-0.063, 0.013).lineTo(0.468, 0.333).threePointArc((0.516,... | 6 | 46 | 0.465968 |
train_d15b450946745282 | 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.909).extrude(0.551)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.91, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.079, 0.37), (-0.301, 0.675), (-0.629, 0.865),... | 9 | 162 | 2.652382 |
train_5ebfad50408bcdfd | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.644, 0.461).threePointArc((1, 0), (0.644, -0.461)).lineTo(-0.644, -0.461).threePointArc((-1, 0), (-0.644, 0.461)).lineTo(0.644, 0.461).close().extrude(0.878, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.343, -1.142), normal=(0,... | 6 | 87 | 2.848811 |
train_4ed5597efca05567 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.727, -0.576, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.45).threePointArc((1.025, 1.025), (1.45, 0)).lineTo(0.642, 0).threePointArc((0.455, 0.455), (0, 0.642)).lineTo(0, 1.45).close().extrude(2)
result = result.union(cq.Workplane(cq.Pl... | 7 | 37 | 1.805276 |
train_b2a1610961fa406a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.39, -0.013, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.012).extrude(0.34)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.39, -0.013, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.646).extrude(1.02, both=True))
result = result... | 13 | 59 | 0.169399 |
train_80b9e5594aa2013d | 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.695).extrude(2.858)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.564).extrude(1.197))
result = result.cut(cq.Workplane(cq.Plane(ori... | 4 | 4 | 2.840308 |
train_bf7a23a30ce7bca8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.048), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.635, 0.583).lineTo(0.635, 0.203).lineTo(1, 0.203).lineTo(1, 0).lineTo(0.159, 0).lineTo(0.159, 0.583).lineTo(0.635, 0.583).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 3 | 39 | 1.793779 |
train_cfa6d8337cfa3a65 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.733), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.335, 0.978).threePointArc((0.451, 0.94), (0.5, 0.849)).lineTo(0.5, 0.691).threePointArc((0.54, 0.618), (0.633, 0.587)).lineTo(0.866, 0.587).threePointArc((0.96, 0.556), (1, 0.482)).lineTo(... | 15 | 115 | 2.878523 |
train_7dcc5f6764c82ff0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.028, -0.436, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.629, 0.238).lineTo(0.629, -0.27).lineTo(0.231, -0.27).lineTo(0.231, 0.238).threePointArc((0.271, 0.27), (0.311, 0.238)).threePointArc((0.35, 0.206), (0.39, 0.238)).threePointArc((0.43... | 7 | 138 | 0.774586 |
train_f8a2977b275f6c63 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.996), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.358, 0.938).threePointArc((0.653, 0.82), (0.774, 0.526)).lineTo(0.774, -0.526).threePointArc((0.653, -0.82), (0.358, -0.938)).lineTo(-0.234, -0.938).threePointArc((-0.528, -0.82), (-0.649,... | 3 | 20 | 1.692832 |
train_f7095ee835c5233c | 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.92, 0.251).lineTo(1, 0.093).lineTo(1, 0).lineTo(0.873, 0).lineTo(0.873, 0.079).lineTo(0.773, 0.251).lineTo(0, 0.138).lineTo(0, 0.265).lineTo(0.854, 0.265).lineTo(0.92, 0.251).close().revo... | 5 | 26 | 0.283726 |
train_a42c10c1780944c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.599, 0.271).lineTo(0.919, 0.172).lineTo(1, 0.095).lineTo(1, 0).lineTo(0.892, 0).lineTo(0.892, 0.081).lineTo(0.792, 0.172).lineTo(0, 0.163).lineTo(0, 0.271).lineTo(0.599, 0.271).close().re... | 2 | 13 | 0.284277 |
train_3fc44ada984de2f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.042, 0.614, 0.434), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.417, 0.334).threePointArc((0.022, 0.362), (0.445, 0.032)).lineTo(0.41, -0.138).lineTo(0.214, -0.362).lineTo(-0.201, -0.344).lineTo(-0.445, -0.008).lineTo(-0.379, 0.232).lineTo(-0.... | 9 | 95 | 0.520534 |
train_f61fe1584b327aee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.217, 0, 0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0.971).threePointArc((0.583, 0.936), (0.604, 0.853)).lineTo(0.604, 0.364).threePointArc((0.563, 0.206), (0.465, 0.139)).lineTo(-0.381, 0.139).threePointArc((-0.417, 0.115), (-0.432,... | 8 | 312 | 0.886824 |
train_d9e68bf42f445d16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.076, -0.097, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.858, 0.513).threePointArc((-0.309, 1.017), (0.178, 0.448)).threePointArc((-0.054, 0.032), (0.031, -0.296)).threePointArc((1.237, -1.017), (0.201, -0.953)).threePointArc((0.116, ... | 8 | 137 | 2.190186 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.