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_d72b628d5a560400 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.152, 0.337, -0.626), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.09, 0.519).lineTo(0.179, 0.494).threePointArc((0.215, 0.479), (0.23, 0.444)).lineTo(0.23, 0.161).threePointArc((0.215, 0.125), (0.179, 0.11)).threePointArc((0.129, 0.062), (0.06, ... | 3 | 115 | 0.533938 |
train_63f1e5e2cdee50d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.302, 0.562, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.963, 1.302).lineTo(0.963, -0.698).lineTo(0.564, -0.698).lineTo(0.564, 0.05).lineTo(-0.564, 0.05).lineTo(-0.564, -0.698).lineTo(-0.963, -0.698).lineTo(-0.963, 1.302).lineTo(-0.564, 1.30... | 11 | 93 | 1.983229 |
train_cc76718ba31be7dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.938, -0.104).lineTo(0.983, -0.132).lineTo(0.966, -0.222).lineTo(0.916, -0.226).lineTo(0.886, -0.326).lineTo(0.922, -0.364).lineTo(0.885, -0.448).lineTo(0.835, -0.441).lineTo(0.786, -0.53).... | 7 | 149 | 0.566519 |
train_e0592565441ebbc2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.031).extrude(0.799)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.031, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-1.031, 1.031), (-2.062, 0), (-1.031, -1.031)]).rec... | 5 | 33 | 1.805504 |
train_c0bd6a96d21bf87c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.407, 0, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.547, 0.387).lineTo(0.547, 0.341).lineTo(0.593, 0.341).lineTo(0.593, -0.306).lineTo(0.511, -0.306).lineTo(0.511, -0.387).lineTo(-0.501, -0.387).lineTo(-0.501, -0.296).lineTo(-0.593, -0... | 8 | 28 | 0.261212 |
train_aa15167b08c7c62f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.408, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.148, 0.898).lineTo(1, 0.36).lineTo(0.549, -0.58).lineTo(-0.259, -0.898).lineTo(-1, -0.269).lineTo(-0.625, 0.618).close().moveTo(-0.089, 0.479).lineTo(0.053, 0.495).lineTo(0.154, 0.398).lin... | 5 | 176 | 1.605624 |
train_832855d99a185e09 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.131, 0.174).lineTo(0.131, 0).lineTo(-0.131, 0).lineTo(-0.131, 0.174).lineTo(-0.049, 0.174).lineTo(-0.049, 0.083).lineTo(0.049, 0.083).lineTo(0.049, 0.174).lineTo(0.131, 0.174).close().ext... | 4 | 34 | 0.069516 |
train_3bf7e7eea764eb32 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.013, 0.056).lineTo(0.036, 0.046).lineTo(0.052, 0.025).lineTo(0.057, 0).lineTo(0.052, -0.025).lineTo(0.036, -0.046).lineTo(0.013, -0.056).lineTo(-0.013, -0.056).lineTo(-0.036, -0.046).lineTo(-0.052, -0.025).lineTo(-0.057, 0).lineTo(-0.052, 0.025).lin... | 8 | 46 | 0.010581 |
train_b951fe7b73f7be61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.336), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.672).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.672).lineTo(-0.912, 0.672).lineTo(-0.912, 0.08).lineTo(0.912, 0.08).lineTo(0.912, 0.672).lineTo(1, 0.672).close().extrude(0.324, both=True)... | 11 | 46 | 0.119724 |
train_93821739485765c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.296), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.676).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.676).lineTo(-0.886, 0.676).lineTo(-0.886, 0.077).lineTo(0.886, 0.077).lineTo(0.886, 0.676).lineTo(1, 0.676).close().extrude(0.236, both=Tru... | 6 | 41 | 0.166175 |
train_565732d2c7776ee2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.065, -0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.323).lineTo(1, -0.315).threePointArc((0.994, -0.328), (0.981, -0.333)).lineTo(-1, -0.333).lineTo(-1, 0.333).lineTo(0.989, 0.333).threePointArc((0.996, 0.329), (1, 0.323)).close().ex... | 10 | 50 | 0.495433 |
train_1deff6f675e3af3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.809, 0.618).lineTo(0.809, -0.309).lineTo(0, -0.309).lineTo(0, -0.618).lineTo(-0.809, -0.618).lineTo(-0.809, 0).lineTo(0, 0).lineTo(0, 0.618).lineTo(0.809, 0.618).close().extrude(0.958, tap... | 7 | 60 | 1.718631 |
train_a2b7dfdd02924e2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.069, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.229).threePointArc((0.916, 0.229), (0.916, 0)).threePointArc((0.916, -0.229), (0, -0.229)).threePointArc((-0.916, -0.229), (-0.916, 0)).threePointArc((-0.916, 0.229), (0, 0.229)).cl... | 5 | 26 | 0.665921 |
train_464c1242e1ef0e3c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.284, -0.676).lineTo(0.169, -0.737).lineTo(0.12, -0.905).lineTo(-0.062, -0.86).lineTo(-0.013, -0.692).lineTo(-0.195, -0.647).lineTo(-0.243, -0.815).lineTo(-0.491, -0.664).lineTo(-0.376, -0.602).lineTo(-0.623, -0.452).lineTo(-0.672, -0.619).lineTo(-0.... | 3 | 168 | 1.86747 |
train_7e376dc57b30beb7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.555, 1).threePointArc((0.597, 0.982), (0.614, 0.94)).lineTo(0.614, -0.955).threePointArc((0.601, -0.986), (0.57, -1)).lineTo(-0.565, -1).threePointArc((-0.599, -0.985), (-0.614, -0.95)).li... | 5 | 44 | 0.299115 |
train_928f993c2d658be6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.219, -0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 0.78).threePointArc((0.618, 0.658), (0.738, 0.365)).lineTo(0.738, -0.345).threePointArc((0.611, -0.651), (0.305, -0.78)).lineTo(-0.304, -0.78).threePointArc((-0.611, -0.651), (-0... | 5 | 33 | 1.259734 |
train_44960df78d611506 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.453).extrude(0.4, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.521).extrude(1, both=True))
result = result.cut(cq.Workplane('XY').circle(0.43).extrude(1.199, both=True))
result ... | 6 | 20 | 0.875462 |
train_e2ad82b9db5b8813 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.278, 0, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.428).lineTo(0.722, -0.432).lineTo(0.705, -0.432).lineTo(0.705, -0.449).lineTo(-0.702, -0.449).lineTo(-0.702, -0.429).lineTo(-0.722, -0.429).lineTo(-0.722, 0.432).lineTo(-0.705, ... | 11 | 35 | 0.702972 |
train_48243d2b94b6f42c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.384, 0.934).threePointArc((0.465, 0.892), (0.499, 0.79)).lineTo(0.499, 0.497).threePointArc((0.542, 0.367), (0.646, 0.312)).lineTo(0.858, 0.312).threePointArc((0.956, 0.26), (0.998, 0.138)... | 2 | 65 | 0.656765 |
train_11aa45fc500b3733 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.136, 0, 0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.74, 0.825).threePointArc((0.817, 0.8), (0.845, 0.741)).lineTo(0.845, 0.563).threePointArc((0.823, 0.516), (0.762, 0.496)).lineTo(0.574, 0.496).threePointArc((0.469, 0.461), (0.425, 0.3... | 4 | 68 | 0.627076 |
train_d29f873f5b7257ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.023, -0.026), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.686, 0.596).threePointArc((0.902, 0.504), (1, 0.286)).lineTo(1, -0.164).lineTo(0.566, -0.596).lineTo(-0.411, -0.596).threePointArc((-0.825, -0.426), (-1, -0.012)).lineTo(-1, 0.14).lin... | 10 | 74 | 0.304979 |
train_e6b8e2a2e48939d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.241, 0.316, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.758, 0.348).lineTo(0.758, -0.348).lineTo(-0.758, -0.348).lineTo(-0.758, 0.348).lineTo(-0.28, 0.348).lineTo(-0.28, -0.161).lineTo(0.28, -0.161).lineTo(0.28, 0.348).lineTo(0.758, 0.34... | 9 | 30 | 0.899675 |
train_2418c01a5953a31b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.154, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.023, 0.288).threePointArc((0.111, 0.254), (0.169, 0.194)).threePointArc((0.182, 0.123), (0.146, 0.061)).threePointArc((0.071, 0.024), (-0.023, 0.021)).threePointArc((-0.111, 0.055), (-0.16... | 3 | 8 | 0.15666 |
train_6de428f5c515ac42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.047, -0.286), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.786, 0.796).lineTo(0.786, 0.589).lineTo(1, 0.589).lineTo(1, -0.641).lineTo(0.834, -0.641).lineTo(0.834, -0.796).lineTo(-0.851, -0.796).lineTo(-0.851, -0.659).lineTo(-1, -0.659).lineTo... | 12 | 88 | 1.907738 |
train_5f6f9269876a340c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.258, 0.791, 1.538)
result = result.edges().fillet(0.078)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.162).extrude(2.517, both=True... | 6 | 51 | 1.645386 |
train_fbe4cdced6c24e26 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.672, 0.833, 2)
result = result.edges().fillet(0.219)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.438, 0.419, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(4.113, -0.077).lineTo(4.248, -0.49).lineTo(3.923, -0.775).lineTo(-1.469, -0.054).threePoi... | 10 | 61 | 1.630008 |
train_ccc86b2a52be2b7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.358, -0.002, 0.088), normal=(0.035, 0.921, -0.389), xDir=(-0.999, 0.038, 0))).moveTo(0.117, 0.173).threePointArc((0.124, 0.169), (0.128, 0.159)).lineTo(0.128, 0.097).threePointArc((0.123, 0.082), (0.112, 0.076)).lineTo(0.056, 0.076).threePointAr... | 15 | 222 | 0.179284 |
train_8f7ab227f21a320b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.486, 0.75).threePointArc((0.847, 0.597), (1, 0.236)).lineTo(1, -0.592).threePointArc((0.953, -0.703), (0.842, -0.75)).lineTo(0.644, -0.75).threePointArc((0.543, -0.707), (0.5, -0.606)).lin... | 9 | 50 | 0.890921 |
train_fe39441ad49a3120 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.772, 0.383).lineTo(0.912, 0.338).lineTo(1, 0.134).lineTo(1, 0).lineTo(0.785, 0).lineTo(0.785, 0.114).lineTo(0.687, 0.338).lineTo(0, 0.174).lineTo(0, 0.383).lineTo(0.772, 0.383).close().re... | 6 | 41 | 0.697052 |
train_c1a3b5fb3c1fba4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.004, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.874, 0.6).lineTo(1, 0.523).lineTo(0.782, 0.2).lineTo(0.834, -0.002).lineTo(0.626, -0.291).lineTo(0.444, -0.6).lineTo(0.195, -0.436).lineTo(0.874, 0.6).close().revolve(angleDegrees=360, axi... | 4 | 15 | 1.009113 |
train_d628d3c9d674fba0 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.175, 0.333).lineTo(-0.175, -0.098).lineTo(0.41, -0.098).lineTo(0.41, -0.333).lineTo(-0.41, -0.333).lineTo(-0.41, 0.333).lineTo(-0.175, 0.333).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.772, -0.534), normal... | 5 | 21 | 0.581358 |
train_55a10c44b7d05632 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.62, 0.629, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.223, 1.615).threePointArc((0.406, 1.45), (0.796, 0.798)).threePointArc((0.722, 0.043), (0.223, -0.375)).threePointArc((-0.406, -0.21), (-0.796, 0.442)).threePointArc((-0.722, 1.197), (... | 2 | 46 | 1.325421 |
train_f91b64f4f574682c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.331), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.2, 0.397).lineTo(0.2, 0).lineTo(-0.2, 0).lineTo(-0.2, 0.397).lineTo(-0.099, 0.397).lineTo(-0.099, 0.102).lineTo(0.099, 0.102).lineTo(0.099, 0.397).lineTo(0.2, 0.397).close().extrude(1, bo... | 5 | 133 | 0.168354 |
train_2d05e922f8dc5fab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.185, -0.155, 0.225), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.301).threePointArc((0.213, 0.213), (0.301, 0)).threePointArc((0.213, -0.213), (0, -0.301)).threePointArc((-0.213, -0.213), (-0.301, 0)).threePointArc((-0.213, 0.213), (0, 0.301... | 8 | 191 | 1.573196 |
train_c6f43ac91cd63cc5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.256, 0.543, 0.686), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.038, 0.142).threePointArc((0.091, 0.091), (0.105, 0.105)).lineTo(0.142, 0.038).threePointArc((0.123, -0.033), (0.142, -0.038)).lineTo(0.105, -0.105).threePointArc((0.033, -0.123), (... | 16 | 270 | 0.17618 |
train_edaff75a10e37202 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.3, 0, -0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.975, -0.325).lineTo(0.975, -0.65).lineTo(0.351, -0.962).threePointArc((0.324, -0.972), (0.296, -0.975)).lineTo(0, -0.975).lineTo(-0.613, -0.975).threePointArc((-0.647, -0.969), (-0.677, ... | 10 | 80 | 3.078878 |
train_b56077864b645a5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.794, 0.557).threePointArc((0.932, 0.499), (1, 0.358)).lineTo(1, -0.275).lineTo(0.712, -0.557).lineTo(-0.814, -0.557).threePointArc((-0.939, -0.505), (-1, -0.377)).lineTo(-1, 0.412).th... | 15 | 153 | 0.490692 |
train_b9bd2d59bf7fa470 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.222, -0.562), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.511).lineTo(1, -0.383).threePointArc((0.954, -0.473), (0.864, -0.511)).lineTo(-1, -0.511).lineTo(-1, 0.372).lineTo(-0.853, 0.511).lineTo(1, 0.511).close().extrude(1.124)
result = re... | 10 | 87 | 2.064396 |
train_d1bdccee05910e5b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.591), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.759, 0.546).threePointArc((0.922, 0.476), (1, 0.309)).lineTo(1, -0.371).threePointArc((0.941, -0.496), (0.818, -0.546)).lineTo(-0.699, -0.546).lineTo(-1, -0.249).lineTo(-1, 0.419).threePoi... | 17 | 131 | 1.285439 |
train_c0bdd6ed123f6fb3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.26, -0.299, -0.109), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.118, 0.5).lineTo(0.234, 0.434).lineTo(0.352, 0.096).lineTo(0.118, -0.176).lineTo(-0.234, -0.109).lineTo(-0.352, 0.228).lineTo(-0.118, 0.5).close().revolve(angleDegrees=180, axisS... | 8 | 45 | 0.349497 |
train_8f07ad2f65e8fe22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.349, 0, 0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.4, 1).threePointArc((0.43, 0.587), (0.443, 0.557)).lineTo(0.443, -1).lineTo(-0.388, -1).threePointArc((-0.426, -0.583), (-0.443, -0.546)).lineTo(-0.443, 0.549).threePointArc((-0.428, 0.... | 7 | 56 | 0.999437 |
train_f6b775eb886448c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.561), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.456, 2.738).lineTo(0.456, 0.456).lineTo(2, 0.456).lineTo(2, 0).lineTo(0, 0).lineTo(0, 2.738).lineTo(0.456, 2.738).close().extrude(0.655, both=True)
result = result.union(cq.Workplane(cq.... | 8 | 31 | 1.747332 |
train_fabdc21573eadfab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.109, -0.358, 0.137), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.024, 0.185).lineTo(0.037, 0.181).lineTo(0.081, 0.139).lineTo(0.088, 0.078).lineTo(0.054, 0.027).lineTo(-0.005, 0.01).lineTo(-0.061, 0.034).lineTo(-0.088, 0.089).lineTo(-0.074, 0.1... | 7 | 67 | 0.369604 |
train_00db7f6457ea01ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.576), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.127, 0.796).threePointArc((0.178, 0.775), (0.199, 0.725)).lineTo(0.199, 0.476).threePointArc((0.222, 0.421), (0.277, 0.398)).lineTo(0.856, 0.398).threePointArc((0.952, 0.358), (1, 0.263)).... | 7 | 352 | 1.819639 |
train_6e8cc74c3d499f51 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.012, 0.13).lineTo(0.058, 0.117).lineTo(0.097, 0.088).lineTo(0.122, 0.047).lineTo(0.13, 0).lineTo(0.122, -0.047).lineTo(0.097, -0.088).lineTo(0.058, -0.117).lineTo(0.012, -0.13).lineTo(-0.035, -0.125).lineTo(-0.078, -0.103).lineTo(-0.11, -0.068).line... | 3 | 22 | 0.143501 |
train_aef15cd470da1a7c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.067, -0.013, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.655, 0.655).lineTo(0.298, 0.417).threePointArc((0.417, 0.417), (0.655, 0.298)).lineTo(0.893, -0.417).threePointArc((0.774, -0.655), (0.298, -0.537)).lineTo(0.179, 0.06).lineTo(-... | 8 | 55 | 0.229904 |
train_e04f9a224904174c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.574, 0.465, 0.508), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.11, 0.411).threePointArc((0.411, -0.11), (-0.11, -0.411)).threePointArc((-0.411, 0.11), (0.11, 0.411)).close().sweep(cq.Workplane(cq.Plane(origin=(0.574, 0.465, 0.508), normal=(0, -... | 4 | 54 | 0.536432 |
train_42f3c283118c1957 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.977, 2).extrude(0.627)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.373, -0.116).lineTo(0.373, -0.874).lineTo(-0.373, -0.874)... | 7 | 34 | 0.460362 |
train_97a29f63a47ff892 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.227, -0.004, -0.567), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.441, 0.262).lineTo(0.632, 0.247).spline([(0.632, 0.247), (0.684, 0.13)]).lineTo(0.752, -0.108).lineTo(0.582, -0.144).lineTo(0.437, -0.262).lineTo(0.378, -0.094).lineTo(0.221, 0.03... | 15 | 156 | 0.419349 |
train_c4f89938f702a1ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.23, -0.032, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.207, 0.77).threePointArc((0.332, 0.717), (0.385, 0.592)).lineTo(0.385, -0.283).threePointArc((0.415, -0.355), (0.486, -0.385)).lineTo(0.697, -0.385).threePointArc((0.748, -0.406),... | 4 | 82 | 0.556829 |
train_20bdb67f7cfdcf5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0, 0.486).lineTo(0.909, 0.486).lineTo(0.912, 0.44).lineTo(1, 0.17).lineTo(1, 0).lineTo(0.828, 0).lineTo(0.828, 0.145).lineTo(0.729, 0.44).lineTo(0, 0.321).lineTo(0, 0.486).close().revolve(a... | 8 | 44 | 0.561302 |
train_55dc11287075b60b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.646), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.813, 1.292).lineTo(0.813, 0.686).lineTo(1, 0.686).lineTo(1, 0.228).lineTo(0.616, 0.228).lineTo(0.616, 0).lineTo(0, 0).lineTo(0, 1.292).lineTo(0.813, 1.292).close().revolve(angleDegrees=36... | 9 | 60 | 0.953636 |
train_05d10a8a12aa265c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.461, -0.272, -0.468), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.083, 0.594).lineTo(0.539, 0.138).lineTo(0.083, -0.484).lineTo(-0.539, -0.028).lineTo(-0.083, 0.594).close().extrude(1.068)
result = result.union(cq.Workplane(cq.Plane(origin=(-0... | 18 | 333 | 0.413108 |
train_5ddef2cacb01c489 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.044, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.237).lineTo(1, 0.034).lineTo(-0.664, 0.034).lineTo(-0.664, -0.034).lineTo(1, -0.034).lineTo(1, -0.237).lineTo(-1, -0.237).lineTo(-1, -0.169).lineTo(0.664, -0.169).lineTo(0.664, -0.... | 9 | 207 | 0.436875 |
train_b53bfd97569f2f36 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.498, 0, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.003, 0.539).lineTo(0.145, 0.279).threePointArc((0.185, 0.318), (0.239, 0.324)).lineTo(0.345, 0.296).lineTo(0.441, 0.327).lineTo(0.33, 0.049).lineTo(0.552, -0.151).lineTo(0.266, -0.238).li... | 3 | 64 | 0.971007 |
train_703d6c39368691dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.083, 0.997).threePointArc((0.254, 0.952), (0.327, 0.848)).lineTo(0.327, 0.702).threePointArc((0.377, 0.628), (0.496, 0.598)).lineTo(0.727, 0.598).threePointArc((0.905, 0.552), (0.98, ... | 4 | 50 | 0.550898 |
train_b0e6a53b002e0309 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.812, -0.132).lineTo(0.982, -0.192).lineTo(0.957, -0.292).lineTo(0.782, -0.254).lineTo(0.732, -0.377).lineTo(0.874, -0.486).lineTo(0.82, -0.573).lineTo(0.665, -0.484).lineTo(0.579, -0.585).... | 5 | 90 | 0.688261 |
train_306a9ef5b19d7cb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.042, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.622, 0.388).lineTo(0.861, 0.141).threePointArc((1, 0.082), (0.878, 0.011)).lineTo(0.663, -0.38).lineTo(0.704, -0.423).lineTo(0.713, -0.476).threePointArc((0.565, -0.547), (0.53, -0.42... | 13 | 104 | 0.389394 |
train_32c3adebfdc9520f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.184, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.296).lineTo(0.812, -0.205).threePointArc((0.676, -0.341), (0.54, -0.25)).lineTo(0.495, 0.205).threePointArc((0.585, 0.341), (0.722, 0.296)).close().extrude(0.331).union(cq.Workp... | 16 | 141 | 0.490243 |
train_3a8b4b9840bca4cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(7.74, -0.232, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(7.171, 6.297).lineTo(7.171, -6.297).lineTo(-7.171, -6.297).lineTo(-7.171, 5.585).lineTo(-6.468, 5.585).lineTo(-6.468, 6.297).lineTo(7.171, 6.297).close().extrude(0.522)
result = result.c... | 9 | 22 | 1.871148 |
train_bd4d6b8178446dd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, 0.232).threePointArc((0.95, 0.191), (1, 0.092)).lineTo(1, -0.142).threePointArc((0.965, -0.205), (0.902, -0.232)).lineTo(-0.915, -0.232).threePointArc((-0.969, -0.21), (-1, -0.155)).l... | 13 | 59 | 0.153528 |
train_347473b6ba91618b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.134, 0, 0.063), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.433, 0.586).threePointArc((0.625, 0.418), (0.529, 0.084)).lineTo(-0.433, -0.586).threePointArc((-0.625, -0.418), (-0.529, -0.084)).lineTo(0.433, 0.586).close().extrude(0.035)
result = r... | 14 | 91 | 0.074474 |
train_975340b337e91ea4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.892, -0.086).lineTo(0.985, -0.114).lineTo(0.974, -0.194).lineTo(0.877, -0.187).lineTo(0.856, -0.27).lineTo(0.94, -0.318).lineTo(0.913, -0.392).lineTo(0.822, -0.367).lineTo(0.783, -0.441).l... | 8 | 162 | 1.162635 |
train_8c257651106ff4ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.424, 0.193).lineTo(0.424, 0.151).lineTo(0.464, 0.151).lineTo(0.464, -0.17).threePointArc((0.457, -0.186), (0.441, -0.193)).lineTo(-0.444, -0.193).lineTo(-0.464, -0.173).lineTo(-0.464, 0.16... | 29 | 106 | 0.425909 |
train_b36b4e2b1128d033 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -1.054, 0.09), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.388, 1.425).lineTo(0.686, 1.212).lineTo(0.709, 0.93).lineTo(0.438, 0.555).lineTo(0.163, 0.519).threePointArc((0.074, 0.398), (-0.063, 0.296)).threePointArc((-0.197, 0.392), (-0.415... | 5 | 67 | 2.612569 |
train_74f9f8d91535ec4d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.022, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.285).extrude(1.113)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.022, 0, -0.221), normal=(0.093, 0, 0.996), xDir=(0.996, 0, -0.093))).circle(0.217).extrude(1.206))
result = resu... | 7 | 25 | 0.227917 |
train_db25035c8eb91ec2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, 0, -0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.061, 0.397).lineTo(1.061, -0.397).lineTo(-1.061, -0.397).lineTo(-1.061, 0.397).lineTo(1.061, 0.397).close().extrude(0.079)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.293, 0... | 13 | 141 | 0.258058 |
train_2cd9114a8a7b5cdd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.357, -0.011, -0.469), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.522, 0.249).lineTo(0.643, 0.127).lineTo(0.643, -0.124).threePointArc((0.607, -0.212), (0.518, -0.249)).lineTo(-0.483, -0.249).lineTo(-0.643, -0.088).lineTo(-0.643, 0.249).lineTo(... | 11 | 118 | 0.358935 |
train_e6a355bbe78b17de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.781), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.317, 0.696).lineTo(0.679, 0.545).lineTo(1, -0.15).lineTo(0.317, -0.696).lineTo(-0.679, -0.545).lineTo(-1, 0.15).lineTo(-0.317, 0.696).close().workplane(offset=1.562).m... | 1 | 15 | 2.237238 |
train_3cb31508f395e026 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.012, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(1, 0).lineTo(0, -1).lineTo(-1, 0).lineTo(0, 1).close().extrude(1)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.012, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(... | 5 | 30 | 0.772368 |
train_abbde1ceaec71ce9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, -0.026, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.51, 0.664).lineTo(0.618, 0.468).threePointArc((0.62, 0.463), (0.619, 0.457)).lineTo(0.601, 0.375).threePointArc((0.598, 0.367), (0.593, 0.36)).lineTo(-0.337, -0.534).threePointArc((-0... | 5 | 57 | 0.732131 |
train_7682fc157e9d17d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.439, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.121, 0.966, 1.419)
result = result.edges().fillet(0.146)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.439, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.102).extrude(2.243, both=... | 19 | 253 | 1.212905 |
train_f99ed15ea99c3183 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.207, -0.579, 0.492), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.02, 0.841).threePointArc((0.036, 0.828), (0.059, 0.825)).lineTo(0.098, 0.817).threePointArc((0.225, 0.764), (0.279, 0.636)).lineTo(0.279, 0.495).threePointArc((0.225, 0.367), (0.0... | 12 | 74 | 0.429837 |
train_e45515b55ab7b247 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.123, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.317, 1).lineTo(0.227, -0.409).lineTo(0.318, -0.773).lineTo(0.181, -1).lineTo(-0.046, -0.863).lineTo(-0.137, -0.5).lineTo(-0.318, 0.227).lineTo(-0.317, 1).close().extrude(0.424)
result... | 10 | 20 | 0.155502 |
train_3b6de4d6ba793362 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.812).lineTo(1, 0.565).lineTo(1, -0.674).threePointArc((0.958, -0.772), (0.859, -0.812)).lineTo(-0.854, -0.812).lineTo(-1, -0.668).lineTo(-1, 0.673).threePointArc((-0.958, 0.772), (-... | 4 | 34 | 0.16233 |
train_731d9df928e1f359 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.146, 0.42, -0.225), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.29, 0.4).lineTo(0.372, -0.051).lineTo(-0.008, -0.272).lineTo(-0.372, 0.007).lineTo(-0.143, 0.38).lineTo(0.29, 0.4).close().extrude(0.19)
result = result.union(cq.Workplane(cq.Plane... | 21 | 30 | 0.585762 |
train_1085ad0ffea9a6ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(5.05, 0.076, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-4.05, 0.521).lineTo(-4.05, -0.336).lineTo(6.05, -0.336).lineTo(6.05, -0.521).lineTo(-6.05, -0.521).lineTo(-6.05, 0.521).lineTo(-4.05, 0.521).close().extrude(0.782)
result = result.ed... | 6 | 35 | 0.638605 |
train_1c350251aace709b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.006, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.791, 0.812).lineTo(0.357, 1.072).lineTo(0.929, -0.092).lineTo(0.134, -1.072).lineTo(-0.929, -0.513).close().moveTo(0.169, -0.142).lineTo(0.164, -0.166).lineTo(0.156, -0.188).lineTo(0.... | 10 | 216 | 1.539222 |
train_9b38fadcea91ed95 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.036, -0.137, -0.234), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.49, 0.311).lineTo(0.539, 0.206).lineTo(0.435, 0.157).lineTo(0.533, -0.052).lineTo(0.847, 0.095).lineTo(0.896, -0.01).lineTo(0.791, -0.059).lineTo(0.84, -0.164).lineTo(0.526, -0.3... | 13 | 204 | 0.533851 |
train_3825b47a7d5fd292 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.808, -0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.779, 1.529).threePointArc((0.891, 1.482), (0.938, 1.369)).lineTo(0.938, 0.245).threePointArc((0.891, 0.133), (0.779, 0.086)).lineTo(-0.779, 0.086).threePointArc((-0.891, 0.133), (-0.9... | 14 | 125 | 3.092525 |
train_c2a3560c28389bc9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.422, 0, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.227, 1).threePointArc((0.457, 0.897), (0.552, 0.671)).lineTo(0.552, -0.808).lineTo(0.364, -0.808).lineTo(0.364, -1).lineTo(-0.404, -1).threePointArc((-0.509, -0.949), (-0.552, -0.844))... | 6 | 85 | 0.526018 |
train_66908c932c68eccd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.225, 0.061, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.513, 0.687).threePointArc((0.696, 0.595), (0.774, 0.378)).lineTo(0.774, -0.585).threePointArc((0.748, -0.657), (0.688, -0.687)).lineTo(0.462, -0.687).threePointArc((0.41, -0.66), (... | 24 | 356 | 0.446836 |
train_88f1e788a8f7109e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.047, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.134, 0.367).threePointArc((0.389, 0.262), (0.495, 0.008)).lineTo(0.495, -0.367).lineTo(-0.196, -0.367).threePointArc((-0.407, -0.28), (-0.495, -0.069)).lineTo(-0.495, 0.166).threePoin... | 17 | 109 | 0.530994 |
train_d3eace219504328f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.092, 0.135, -0.656), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.456, 0.229).threePointArc((0.539, 0.194), (0.574, 0.111)).lineTo(0.574, -0.165).threePointArc((0.555, -0.21), (0.51, -0.229)).lineTo(-0.013, -0.229).threePointArc((-0.03, -0.222),... | 18 | 211 | 0.994258 |
train_ad407f5d75c0b489 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.888).threePointArc((0.962, 0.868), (1, 0.824)).lineTo(1, -0.64).threePointArc((0.881, -0.817), (0.625, -0.888)).lineTo(-0.567, -0.888).threePointArc((-0.864, -0.805), (-1, -0.60... | 18 | 317 | 0.238794 |
train_fff1ececfc98137b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.2, 0.24, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.793, 0.448).threePointArc((1, 0.246), (0.793, 0.044)).lineTo(-0.793, 0.044).threePointArc((-1, 0.246), (-0.793, 0.448)).lineTo(0.793, 0.448).close().moveTo(0.069, 0.271).threePointArc((0.... | 4 | 44 | 0.240889 |
train_243ad90d30690299 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.963).lineTo(0.2, 0.193).lineTo(1, 0.193).lineTo(1, -0.193).lineTo(0.6, -0.193).lineTo(0.6, -0.578).lineTo(0.2, -0.578).lineTo(0.2, -0.963).lineTo(-0.2, -0.963).lineTo(-0.2, -0.193).li... | 17 | 315 | 0.240183 |
train_79f59fc99bff79af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.124, 0.475, -0.929), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(1.045, 2.793).lineTo(1.862, 1.976).lineTo(1.862, -2.38).lineTo(1.449, -2.793).lineTo(0.309, -2.793).lineTo(0, -2.484).lineTo(0, -1.577).lineTo(-0.646, -0.931).li... | 15 | 225 | 1.3473 |
train_5a0c38ca282c2b77 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.046, -0.191, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.04, 0.929).lineTo(0.121, 0.916).threePointArc((0.167, 0.927), (0.201, 0.895)).threePointArc((0.314, 0.848), (0.361, 0.736)).lineTo(0.361, -0.268).threePointArc((0.314, -0.381), (0... | 12 | 59 | 0.5315 |
train_569ed4ac0d07e9fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.171, -1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.828).threePointArc((0.586, 0.586), (0.828, 0)).threePointArc((0.586, -0.586), (0, -0.828)).threePointArc((-0.586, -0.586), (-0.828, 0)).threePointArc((-0.586, 0.586), (0, 0.828)).close... | 9 | 98 | 2.75373 |
train_3840173f6c2870f3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.305, 1).threePointArc((-0.23, 0.961), (-0.199, 0.886)).lineTo(-0.199, 0.734).threePointArc((-0.158, 0.638), (-0.063, 0.597)).lineTo(0.906, 0.597).threePointArc((0.966, 0.571), (1, 0.512)).lineTo(1, 0.328).threePointArc((0.954, 0.237), (0.863, 0.199... | 2 | 34 | 0.677854 |
train_d7c944a8291f7a7c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.556, 0.963).threePointArc((0.658, 0.583), (0.727, 0.703)).lineTo(0.949, 0.254).lineTo(1, 0.064).threePointArc((0.861, -0.176), (0.981, -0.246)).lineTo(0.963, -0.556).threePointArc((0.583, -0.658), (0.703, -0.727)).lineTo(0.254, -0.949).lineTo(0.064,... | 2 | 35 | 0.54616 |
train_8dbf6ff467d91cf1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.051, 0, -0.016), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.125, 0.697).lineTo(0.244, 0.462).lineTo(0.621, 0.221).lineTo(0.541, -0.232).lineTo(0.219, -0.506).lineTo(-0.216, -0.697).lineTo(-0.568, -0.368).lineTo(-0.621, 0.054).lineTo(-0.535, 0... | 11 | 283 | 0.343656 |
train_a754a6c9b6a5be91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.471, -0.456, -0.573), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.525, 0.458).threePointArc((0, -0.068), (-0.525, 0.458)).threePointArc((0, 0.979), (0.525, 0.458)).close().extrude(1.145)
result = result.union(result.mirror(mirrorPlane='YZ', bas... | 4 | 12 | 1.941244 |
train_4df8c09f2cb7da25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.372, -0.924), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.571).lineTo(1, -0.578).threePointArc((0.984, -0.596), (0.966, -0.604)).lineTo(-0.963, -0.604).threePointArc((-0.984, -0.596), (-1, -0.576)).lineTo(-1, 0.573).threePointArc((-0.984, ... | 17 | 79 | 2.837695 |
train_b75b9164a0435627 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.467, 0.071, 0.148), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.121, 0.643).threePointArc((-0.024, 0.592), (0.062, 0.608)).threePointArc((0.154, 0.59), (0.179, 0.492)).threePointArc((0.193, 0.416), (0.285, 0.347)).threePointArc((0.331, 0.23), ... | 8 | 123 | 0.242632 |
train_df6667771516a968 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 1).lineTo(1, -1).lineTo(-1, -1).lineTo(-1, 0.332).lineTo(0.332, 0.332).lineTo(0.332, 1).lineTo(1, 1).close().extrude(0.422, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.283, -1.29), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.... | 6 | 15 | 1.825342 |
train_db3e50e57a6efdbe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.503), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.219, 0.869).lineTo(0.215, 0.444).lineTo(0.81, 0.56).lineTo(0.541, 0.015).lineTo(0.832, -0.52).lineTo(0.233, -0.427).lineTo(-0.184, -0.869).lineTo(-0.283, -0.271).lineTo(-0.832, -0.013).li... | 9 | 231 | 1.642558 |
train_018a020da5d77f6b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.184, 0.004, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, -0.052).threePointArc((-0.079, -0.077), (-0.056, 0.034)).lineTo(0.049, 0.034).threePointArc((0.079, 0.077), (0.049, -0.049)).lineTo(-0.057, -0.052).close().extrude(2)
result = re... | 6 | 26 | 0.046939 |
train_816363b9f7796901 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0.021, -0.41), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.551, -0.555).threePointArc((-0.501, -0.667), (-0.384, -0.714)).lineTo(0.306, -0.714).threePointArc((0.478, -0.644), (0.551, -0.481)).lineTo(0.551, 0.663).threePointArc((0.535, 0.69... | 10 | 114 | 0.569845 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.