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_87a75eb3a9c9d24f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.028, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.252, 1).lineTo(0.252, 0.489).lineTo(0.05, 0.489).lineTo(0.05, -1).lineTo(-0.05, -1).lineTo(-0.05, 0.489).lineTo(-0.252, 0.489).lineTo(-0.252, 1).lineTo(0.252, 1).close().extrude(0.567)... | 8 | 87 | 0.255603 |
train_f98996acbdb17c46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.027, 0, -0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.405, 1).threePointArc((0.471, 0.965), (0.498, 0.899)).lineTo(0.498, 0.382).threePointArc((0.483, 0.346), (0.448, 0.332)).lineTo(0.291, 0.332).threePointArc((0.203, 0.295), (0.166, 0.20... | 6 | 65 | 0.397418 |
train_63749f3f72c0327d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.206, -0.046, 0.067), normal=(-0.221, 0.242, -0.945), xDir=(0, 0.969, 0.248))).moveTo(0.178, 0.122).threePointArc((0.3, 0), (0.178, -0.122)).lineTo(-0.178, -0.122).threePointArc((-0.3, 0), (-0.178, 0.122)).lineTo(0.178, 0.122).close().extrude(0.... | 12 | 99 | 0.453136 |
train_bcb46eb94ea4b278 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.074, 0.951).lineTo(1.074, -0.951).lineTo(0.488, -0.951).lineTo(0.488, -0.19).lineTo(0.293, -0.19).lineTo(-0.098, -0.19).lineTo(-0.488, -0.19).lineTo(-0.488, -0.951).lineTo(-1.074, -0.951).l... | 7 | 30 | 1.204272 |
train_8d72c3760a1c3588 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.009, -0.247, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0, 0.176).threePointArc((0.083, 0.076), (0.167, -0.023)).threePointArc((0.11, -0.113), (0.018, -0.176)).threePointArc((-0.052, -0.075), (-0.167, -0.02)).lineTo(0, 0.... | 6 | 103 | 0.910926 |
train_ec297562b228063a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.087, -0.612), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.454, 0.684).threePointArc((0.505, 0.52), (0.393, 0.39)).threePointArc((0.286, 0.256), (0.353, 0.097)).threePointArc((0.34, -0.054), (0.391, -0.196)).threePointArc((0.351, -0.359)... | 9 | 101 | 0.696213 |
train_42c047a75a1e8233 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, -0.031, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.554, 0.407).threePointArc((0.553, 0.5), (0.715, 0.369)).lineTo(0.661, 0.25).lineTo(0.54, 0.107).lineTo(0.129, -0.268).lineTo(0.067, -0.471).lineTo(-0.096, -0.5).lineTo(-0.103, -0.385)... | 1 | 15 | 0.617158 |
train_f623d57aacbd6d64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.484, 0.228, -0.091), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.242, 0.932).threePointArc((0.524, 0.815), (0.641, 0.532)).lineTo(0.641, -0.372).threePointArc((0.524, -0.655), (0.242, -0.772)).lineTo(-0.242, -0.772).threePointArc((-0.524, -0.65... | 33 | 295 | 1.278764 |
train_d9ee0c2dcaad707a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, 0.537, 0.404), normal=(0.809, 0.173, 0.561), xDir=(-0.209, 0.978, 0))).moveTo(0.182, 0.182).lineTo(0.182, 0.026).lineTo(-0.13, 0.026).lineTo(-0.13, -0.026).lineTo(0.182, -0.026).lineTo(0.182, -0.182).lineTo(-0.182, -0.182).lineTo(-0.182, -... | 15 | 281 | 0.723196 |
train_3a64aefe73710e6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.028, 0, 0.126), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.022, 0.5).lineTo(0.113, 0.217).lineTo(0.422, 0.269).lineTo(0.244, 0.011).lineTo(0.444, -0.231).lineTo(0.131, -0.206).lineTo(0.133, -0.29).lineTo(0.048, -0.342).threePointArc((0.08, -0.... | 10 | 668 | 0.528775 |
train_23e72763cee49b38 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.141, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.196, 0.618).threePointArc((-0.089, 0.616), (0, 0.554)).threePointArc((0.098, 0.566), (0.196, 0.556)).threePointArc((0.297, 0.548), (0.392, 0.581)).threePointArc((0.85, 0.119), (0.392, -0.... | 4 | 37 | 1.872544 |
train_7124b7f323041cc7 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.539, 2, 1.46)
result = result.edges().fillet(0.17)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.317).extrude(3.078, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norma... | 7 | 34 | 3.150919 |
train_fd2c3cc054315200 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.581, -0.675, -0.032), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.233, 0.422).threePointArc((0.485, 0.17), (0.233, -0.082)).lineTo(-0.233, -0.082).threePointArc((-0.485, 0.17), (-0.233, 0.422)).lineTo(0.233, 0.422).close().revolve(angleDegrees... | 8 | 74 | 0.85455 |
train_a7251bf3ed8697e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.464, 0.329, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.009, 0.431).threePointArc((0.098, 0.245), (0.138, 0.392)).lineTo(0.617, 0.421).lineTo(1.007, -0.47).lineTo(0.088, -0.381).lineTo(-0.538, -0.371).lineTo(-1.007, 0.227).lineTo(-0.15... | 13 | 92 | 0.649831 |
train_306102de409d7927 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.428, 0.298, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.11, 0.698).threePointArc((0.211, 0.658), (0.254, 0.565)).lineTo(0.254, 0.379).threePointArc((0.302, 0.276), (0.414, 0.233)).lineTo(0.607, 0.233).threePointArc((0.716, 0.19), (0.762,... | 19 | 102 | 0.466052 |
train_043242588e218a60 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.046, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.083, 1).threePointArc((0.273, 0.993), (0.351, 0.804)).lineTo(0.351, -1).lineTo(-0.254, -1).threePointArc((-0.323, -1.042), (-0.351, -0.974)).lineTo(-0.351, 1).lineTo(0.083, 1).close().... | 16 | 384 | 0.209477 |
train_910af6705c81c414 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.96, 0.45).lineTo(0.96, -0.45).threePointArc((-0.96, 0), (0.96, 0.45)).close().extrude(0.653, taper=2.343)
result = result.edges().chamfer(0.038)
result = result.cut(cq.Workplane(cq.Plane(o... | 12 | 149 | 1.818412 |
train_3a0451c5cd2dd40a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.763, 0.519).threePointArc((0.923, 0.45), (1, 0.286)).lineTo(1, -0.43).threePointArc((0.966, -0.493), (0.903, -0.519)).lineTo(-0.839, -0.519).threePointArc((-0.947, -0.474), (-1, -0.366)).l... | 16 | 86 | 0.185513 |
train_327ccc54c9437810 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.522), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.522), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.356).extrude(3.006, both=True))
result = result.union(cq.Workplane(... | 14 | 39 | 2.329062 |
train_418f39fc4430f8b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.202, 0.109, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.004, 0.216).lineTo(0.116, 0.171).lineTo(0.136, 0.081).lineTo(0.179, -0.013).threePointArc((0.165, -0.053), (0.136, -0.082)).threePointArc((0.117, -0.118), (0.084, -0.142)).threePoint... | 7 | 93 | 0.278793 |
train_b9c024e267131e11 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.769, 2).extrude(0.286)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.398, -0.861, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).spline([(-0.887, 0.972), (-1.169, 0.972), (-1.169, -0.091), (-... | 16 | 70 | 0.333831 |
train_477ffcbecef64652 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.85, 0.839).threePointArc((0.95, 0.793), (1, 0.683)).lineTo(1, 0.375).threePointArc((0.967, 0.309), (0.908, 0.281)).lineTo(0.624, 0.281).threePointArc((0.536, 0.239), (0.498, 0.137)).lineTo(... | 13 | 121 | 0.279096 |
train_4d7238f4bec9e01d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.774, 0.269, 0.277), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.069, 0.228).threePointArc((0.113, 0.158), (0.126, 0.087)).lineTo(0.226, -0.032).lineTo(0.117, -0.132).lineTo(0.015, -0.244).lineTo(-0.107, -0.238).lineTo(-0.226, -0.086).threePoin... | 3 | 24 | 0.136627 |
train_e7873752cb9eb05b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.832), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.693).workplane(offset=1.81).rect(0.294, 0.213).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.25).extrude(2.076, both=T... | 10 | 61 | 0.713187 |
train_03ccff8cd0c8fbc5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.166), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.823, 0.324).lineTo(0.913, 0.253).lineTo(1, 0.113).lineTo(1, 0).lineTo(0.829, 0).lineTo(0.829, 0.097).lineTo(0.732, 0.253).lineTo(0, 0.159).lineTo(0, 0.324).lineTo(0.823, 0.324).close().re... | 10 | 144 | 0.488312 |
train_f7d29dcfeba5c5b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.102, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.608).lineTo(1, 0.437).lineTo(1, -0.335).lineTo(0.727, -0.608).lineTo(-0.832, -0.608).lineTo(-1, -0.441).lineTo(-1, 0.394).lineTo(-0.786, 0.608).lineTo(0.83, 0.608).close().extrud... | 5 | 24 | 1.50353 |
train_c0992ffe786c7dda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.241, -0.197, 0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.196, 0.733).threePointArc((0.733, 0.196), (0.536, -0.536)).threePointArc((-0.196, -0.733), (-0.733, -0.196)).threePointArc((-0.536, 0.536), (0.196, 0.733)).close().extrude(0.314, ... | 29 | 614 | 0.98145 |
train_e4b9d5c0d90450f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0, -0.589), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.704, 0.354).lineTo(0.979, -0.188).lineTo(0.654, -0.353).lineTo(0.599, -0.244).lineTo(0.382, -0.354).lineTo(0.327, -0.246).lineTo(0.652, -0.081).lineTo(0.487, 0.244).lineTo(0.704, 0.3... | 12 | 234 | 1.551709 |
train_b7fb620963b3b68c | 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.207, 0.457).threePointArc((0.377, 0.505), (0.69, 0.434)).lineTo(0.46, 0.143).threePointArc((0.452, 0.13), (0.449, 0.115)).lineTo(0.448, 0.08).threePointArc((0.449, 0.073), (0.453, 0.069)).line... | 2 | 72 | 2.061933 |
train_8154db3150a346bf | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(0.886, 0.311).lineTo(1, 0.029).lineTo(0.089, -0.311).lineTo(0.065, -0.249).lineTo(0.291, -0.154).threePointArc((0.361, 0.112), (0.632, 0.195)).lineTo(0.886, 0.311).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = resu... | 5 | 25 | 0.722436 |
train_3c1c327cf168376c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.05, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.571, 0.53).lineTo(1, -0.176).lineTo(0.36, -0.53).lineTo(0.219, -0.388).lineTo(0.713, -0.106).lineTo(0.502, 0.176).lineTo(0.078, -0.106).lineTo(-0.064, 0.106).lineTo(0.571, 0.53).close(... | 14 | 213 | 0.308768 |
train_cc6ace437be73cb6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.078, 0.937, 0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.042).lineTo(0.317, 0.028).threePointArc((-0.159, -0.042), (0, 0.042)).close().moveTo(0, 0.028).threePointArc((0.159, -0.028), (-0.317, 0.014)).lineTo(0, 0.028).close().extrude(0.... | 17 | 334 | 0.355322 |
train_9255279adfcdf984 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.042, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.636, 0.798).lineTo(1, 0).lineTo(0.636, -0.798).lineTo(-0.228, -1).lineTo(-0.916, -0.443).lineTo(-0.916, 0.443).lineTo(-0.228, 1).close().extrude(0.366)
result = resu... | 4 | 43 | 0.941605 |
train_b2209a36f52e90ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.485, -0.43, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.968).threePointArc((0.685, 0.685), (0.968, 0)).lineTo(0.533, 0).threePointArc((0.377, 0.377), (0, 0.533)).lineTo(0, 0.968).close().extrude(2)
result = result.union(cq.Workplane(cq.... | 4 | 33 | 0.65057 |
train_6b9faa14d5967636 | 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(1, 0.761).lineTo(1, 0).lineTo(0.333, 0).lineTo(0.333, -0.761).lineTo(-1, -0.761).lineTo(-1, 0).lineTo(-0.333, 0).lineTo(-0.333, 0.761).lineTo(1, 0.761).close().extrude(0.36)
result = result.c... | 28 | 1,008 | 0.64616 |
train_b1ce4c527c24b3cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.443), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.586, 0.51).threePointArc((1, 0), (0.586, -0.51)).lineTo(-0.586, -0.51).threePointArc((-1, 0), (-0.586, 0.51)).lineTo(0.586, 0.51).close().extrude(0.886)
result = result.cut(cq.Workplane(cq... | 5 | 23 | 1.565019 |
train_4249bb4be30f19d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.038, 0.038, 0.587), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.098, 0.073).lineTo(0.098, -0.055).lineTo(-0.098, -0.055).lineTo(-0.098, -0.004).lineTo(-0.098, 0.073).lineTo(-0.077, 0.073).lineTo(-0.083, 0.047).threePointArc((-0.081, 0.032), (-... | 16 | 109 | 0.537364 |
train_340725ed9c8df953 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.066, 0.333).threePointArc((0.239, 0.314), (0.312, 0.268)).lineTo(0.312, 0.21).threePointArc((0.361, 0.18), (0.476, 0.167)).lineTo(0.8, 0.167).threePointArc((0.896, 0.156), (0.936, 0.13)).lineTo(0.936, -0.087).threePointArc((0.848, -0.143), (0.638, -... | 17 | 232 | 1.586624 |
train_258439bcb83bcf33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.142, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.488, 1.004).lineTo(0.558, 0.91).lineTo(0.558, 0.187).lineTo(0.697, 0).lineTo(0.794, 0).lineTo(0.93, -0.185).lineTo(0.93, -0.358).lineTo(0.824, -0.502).lineTo(0.677, -0.502).lineTo(0.558, -... | 3 | 36 | 0.478366 |
train_7717a044f428a463 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.795, 0.378, 0.492), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.434, 0.75).threePointArc((0.55, 0.691), (0.477, 0.646)).lineTo(0.574, 0.551).threePointArc((0.501, 0.5), (0.433, 0.458)).lineTo(0.381, 0.297).threePointArc((0.326, 0.287), (0.213, ... | 22 | 120 | 1.076631 |
train_b91b221ca1d481f4 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.22).lineTo(0.742, 0).lineTo(1, -0.22).lineTo(0.285, -0.22).lineTo(0.285, 0.22).lineTo(1, 0.22).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0, 0, ... | 12 | 54 | 0.5329 |
train_7518a370727dc4f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.024, 0.245, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.74, 0.713).threePointArc((-0.677, 0.674), (-0.65, 0.582)).lineTo(-0.65, 0.353).threePointArc((-0.627, 0.272), (-0.571, 0.238)).lineTo(0.748, 0.238).threePointArc((0.908, 0.139), (... | 14 | 204 | 0.294924 |
train_aea518e429207859 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.016, 0.199), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.369, 0.649).lineTo(0.724, 0.559).lineTo(0.418, -0.649).lineTo(0.311, -0.622).lineTo(0.4, -0.271).lineTo(0.188, -0.068).lineTo(0.3, 0.285).lineTo(0.369, 0.649).close().revolve(angleDegr... | 5 | 68 | 1.163239 |
train_56734f57b8b196d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.442, -0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.803, 0.553).threePointArc((0.85, 0.534), (1, 0.483)).lineTo(1, -0.476).lineTo(0.796, -0.553).lineTo(-0.736, -0.553).lineTo(-1, -0.414).lineTo(-1, 0.414).threePointArc((-0.83, 0.513), ... | 15 | 193 | 0.200572 |
train_148e0495685c6964 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.096, 0.449, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.359, 0.55).threePointArc((0.607, 0.447), (0.709, 0.199)).lineTo(0.709, -0.385).lineTo(0.544, -0.55).lineTo(-0.709, -0.55).lineTo(-0.709, 0.253).threePointArc((-0.622, 0.464), (-0.4... | 11 | 115 | 0.452902 |
train_441bd672190337e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.016, 0.237, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.838, 0.708).lineTo(0.164, -0.12).threePointArc((0.263, -0.162), (0.362, -0.125)).lineTo(0.826, 0.234).threePointArc((0.981, 0.073), (0.943, -0.293)).lineTo(0.49, -0.634).threePointArc... | 9 | 105 | 0.326217 |
train_2ae78f371294b9e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.2, 0.03, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.167, 0.154).lineTo(0.167, 0.052).lineTo(0.043, 0.052).lineTo(0.043, -0.154).lineTo(-0.043, -0.154).lineTo(-0.043, 0.052).lineTo(-0.167, 0.052).lineTo(-0.167, 0.154).lineTo(0.167, 0.154).c... | 13 | 138 | 0.103189 |
train_509bf292e2fcbc78 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.199, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.895, 0.796).threePointArc((0.963, 0.768), (1, 0.7)).lineTo(1, 0.167).threePointArc((0.942, 0.05), (0.828, 0)).lineTo(0.34, 0).threePointArc((0.241, -0.042), (0.199, -0.141)).lineTo(0.... | 6 | 139 | 0.468424 |
train_f596b2250fdb2229 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.037, 0.165, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.032, 0.192).lineTo(0.134, 0.173).lineTo(0.241, -0.05).lineTo(0.226, -0.141).lineTo(0.189, -0.15).threePointArc((0.166, -0.192), (-0.017, -0.111)).threePointArc((-0.035, -0.099), (-0.0... | 12 | 141 | 0.139832 |
train_91adf6ff301e117f | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.958, 0.976, 2)
result = result.edges().fillet(0.233)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.369).extrude(3.914, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 7 | 44 | 2.064669 |
train_998afdf0a4d06d37 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.033, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.217).lineTo(1, -0.092).threePointArc((0.963, -0.18), (0.874, -0.217)).lineTo(-0.787, -0.217).lineTo(-1, -0.004).lineTo(-1, 0.085).threePointArc((-0.961, 0.178), (-0.867, 0.217)).lin... | 6 | 37 | 0.257283 |
train_6695decf675bab7e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.236, 0, 0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.046, 0.692).threePointArc((0.847, 0.643), (0.94, -0.674)).threePointArc((0.666, -0.741), (0.12, -0.876)).lineTo(0.594, 0.207).threePointArc((0.6, 0.307), (0.515, 0.368)).lineTo(-0.158... | 3 | 31 | 0.67094 |
train_89a7f4d70cc8c83d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.997, 0.904, -0.209), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.752, 1.199).lineTo(0.788, 0.816).lineTo(0.275, 0.768).lineTo(0.311, 0.385).lineTo(-0.203, 0.337).lineTo(-0.167, -0.048).lineTo(-0.68, -0.096).lineTo(-0.788, 1.056).lineTo(0.752, 1... | 15 | 232 | 2.168634 |
train_f87afe65e39b9f9b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.195, -0.101, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.697, 0.727).lineTo(-0.048, 0.284).lineTo(0.459, 0.415).lineTo(0.618, 0.395).lineTo(0.731, 0.238).threePointArc((0.809, -0.425), (0.284, -0.727)).lineTo(0.105, -0.704).lineTo(-0.... | 14 | 355 | 0.737558 |
train_e95b78b93c0dfcd5 | 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.762).extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.762, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.146, 0.447), (-0.526, 0.724), (-0.998, 0.724), (-1.3... | 4 | 43 | 2.076661 |
train_10d4d72d8d32ceb5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.295, 0.491, 0.274), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.334).threePointArc((0.163, 0.267), (0.231, 0.104)).threePointArc((0.163, -0.06), (0, -0.127)).threePointArc((-0.163, -0.06), (-0.231, 0.104)).threePointArc((-0.163, 0.267), (0, ... | 13 | 700 | 0.719869 |
train_966af9a8222a17df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.123, -0.046, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, -0.594).lineTo(-0.722, -0.858).threePointArc((-0.543, 0.858), (0.722, -0.594)).close().extrude(0.368, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.272, -0.484, 0... | 10 | 29 | 0.785832 |
train_9629a999494dab43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0, 0.5).lineTo(1, 0.5).lineTo(1, 0).lineTo(0.5, 0).lineTo(0.5, -0.5).lineTo(-0.5, -0.5).lineTo(-0.5, -1).lineTo(-1, -1).lineTo(-1, 0.5).lineTo(-0.5, 0.5).lineTo(-0.5, 1).lineTo(... | 7 | 22 | 0.369477 |
train_f463860021f666d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.926, 2).lineTo(0.926, 0.369).lineTo(0.824, 0.369).lineTo(0.824, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.926, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result ... | 8 | 53 | 3.238567 |
train_0aa2f3cc5c76f760 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.153, -0.157, 0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.402, 0.483).threePointArc((-0.737, 0.65), (-0.174, 0.615)).lineTo(0.473, -0.506).threePointArc((0.737, -0.65), (0.245, -0.637)).lineTo(-0.402, 0.483).close().extrude(0.461, both=T... | 7 | 35 | 2.080726 |
train_17f01415e7d91946 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.872, 0.3).lineTo(1, 0.173).lineTo(1, -0.204).threePointArc((0.971, -0.272), (0.903, -0.3)).lineTo(-0.824, -0.3).threePointArc((-0.947, -0.248), (-1, -0.124)).lineTo(-1, 0.161).threePointAr... | 12 | 65 | 0.323393 |
train_9e47cd7df85ef686 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.393), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.486)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.393), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.115, 0.465), (-0.433, 0.822), (-0.88, 0.... | 11 | 230 | 1.152004 |
train_0ec0c0d360ce2fff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.288, -0.217, -0.502), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.079, 0.295).threePointArc((0.144, 0.25), (0.295, 0.079)).threePointArc((0.25, -0.144), (0.079, -0.295)).threePointArc((-0.144, -0.25), (-0.295, -0.079)).threePointArc((-0.25, 0.1... | 14 | 177 | 0.241043 |
train_50dc84b63814fe47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.323, 0.737, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.089, 2.092).threePointArc((0.297, 2.15), (0.451, 2.023)).threePointArc((0.413, 1.793), (0.479, 1.728)).lineTo(0.769, 1.298).lineTo(0.574, 0.85).lineTo(0.137, 0.487).threePointArc((-0.1... | 8 | 221 | 1.632635 |
train_465b272b3fdbe860 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.082, -0.252, 0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.429, -0.078).threePointArc((-0.73, -0.05), (-0.6, 0.019)).lineTo(-0.648, 0.059).lineTo(-0.593, 0.071).lineTo(-0.591, 0.092).lineTo(-0.256, 0.129).lineTo(0.211, 0.096).lineTo(0.73... | 19 | 141 | 0.756866 |
train_a381e2dcb8e4a8dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.509, 1).threePointArc((0.595, 0.963), (0.631, 0.878)).lineTo(0.631, -0.833).threePointArc((0.582, -0.951), (0.465, -1)).lineTo(-0.55, -1).lineTo(-0.631, -0.918).lineTo(-0.631, 0.874).lineT... | 5 | 49 | 0.406385 |
train_9f7eb70fa1b99567 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.829).lineTo(1, -0.156).lineTo(0.322, -0.156).lineTo(0.322, -0.829).lineTo(-0.299, -0.829).lineTo(-1, -0.133).lineTo(-1, 0.182).lineTo(-0.347, 0.829).lineTo(1, 0.829).close().extrude(0.14... | 10 | 41 | 0.295336 |
train_1b25da2d21a55dae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.108, 0.108, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.892, 0.613).lineTo(0.892, -0.613).lineTo(-0.892, -0.613).lineTo(-0.892, 0.613).lineTo(0.892, 0.613).close().extrude(0.033)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.233... | 7 | 75 | 0.135884 |
train_4633cccd821d83bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.329), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.077, 0.111).lineTo(0.116, -0.027).lineTo(-0.007, -0.111).lineTo(-0.116, -0.012).lineTo(-0.058, 0.111).lineTo(0.077, 0.111).close().sweep(cq.Workplane(cq.Plane(origin=(-0.74, 0, -0.454), ... | 5 | 116 | 0.07581 |
train_89749c92a59a5b56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.172, 0, -0.35), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, 0.219).lineTo(0.828, -0.219).lineTo(-0.828, -0.219).lineTo(-0.828, 0.219).lineTo(0.828, 0.219).close().extrude(0.549)
result = result.union(cq.Workplane(cq.Plane(origin=(0.348, 0,... | 10 | 45 | 0.199091 |
train_fcf9854cec143b8b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.213, 0, 0.366), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.147, 0.317).lineTo(0.317, 0.147).lineTo(0.147, -0.317).lineTo(-0.317, -0.147).lineTo(-0.147, 0.317).close().sweep(cq.Workplane(cq.Plane(origin=(0.002, 0, 0.002), normal=(0, -1, 0), x... | 2 | 43 | 0.230859 |
train_b4cdb53ae7bad3b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.392, 0, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.187, 0.578).lineTo(0.491, 0.357).lineTo(0.607, 0).lineTo(0.491, -0.357).lineTo(0.187, -0.578).lineTo(-0.187, -0.578).lineTo(-0.491, -0.357).lineTo(-0.607, 0).lineTo(-0.491, 0.357).lineT... | 5 | 59 | 0.365407 |
train_5d5f24998a7e0d77 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.082, 0.216, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.759, 0.806).threePointArc((0.879, -0.806), (-0.879, 0.689)).lineTo(0.759, 0.806).close().extrude(1.331, both=True).intersect(cq.Workplane(cq.Plane(origin=(0.082, 0.216, -0.001), no... | 4 | 31 | 0.738783 |
train_787b9c8fe5f72d2c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.5, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.5, 0.347).lineTo(1.5, -0.331).threePointArc((1.423, -0.358), (1.241, -0.37)).lineTo(0.824, -0.37).threePointArc((0.596, -0.355), (0.5, -0.322)).lineTo(0.5, -0.275).threePointArc((0.393,... | 15 | 18 | 0.472276 |
train_9e0af9ee4d74b5f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.363, 2).extrude(0.436)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.299, -0.383).lineTo(0.299, -0.617).lineTo(-0.299, -0.617)... | 7 | 18 | 1.067196 |
train_e9384a15cc86d172 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, -0.263, -0.17), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.356, 0.283).threePointArc((0.524, 0.28), (0.534, 0.039)).lineTo(0.541, 0.031).lineTo(0.501, -0.011).threePointArc((0.485, 0.005), (0.397, -0.078)).threePointArc((0.183, -0.283), ... | 8 | 92 | 0.465762 |
train_7019ef21c902e1d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.285, 0, -0.902), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.575, 1).lineTo(1.145, 0).lineTo(-0.575, -1).lineTo(-0.575, 1).close().extrude(1.803)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.857, -0.103, -0.002), normal=(0, 1, 0), xDir... | 10 | 71 | 1.947163 |
train_b2a4aa1326e5c41b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.085, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(0.8, 0.55, 0.667)
result = result.edges().fillet(0.035)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.085, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.068).extrude(1.599, both=Tru... | 9 | 112 | 0.261359 |
train_fc982e667a7331c5 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.453).extrude(0.803, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.503).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 5 | 29 | 1.320407 |
train_4e4d7c58ee147392 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.243, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.132, 0.471).threePointArc((0.132, 0.471), (0.263, 0.243)).threePointArc((0.132, 0.015), (-0.132, 0.015)).threePointArc((-0.263, 0.243), (-0.132, 0.471)).close().extrude(2)
result = resul... | 3 | 5 | 0.435604 |
train_927bfa4bac497c53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.007, 0.444, -0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.54, 0.555).threePointArc((0.63, 0.503), (0.526, 0.324)).lineTo(-0.062, 0.234).threePointArc((-0.1, 0.215), (-0.08, 0.177)).lineTo(0.377, -0.248).threePointArc((0.434, -0.46), (0.1... | 11 | 85 | 0.580249 |
train_d369a78abbc9b21b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.503, 0.396, 0.361), normal=(-0.715, 0.554, 0.427), xDir=(-0.613, -0.79, 0))).moveTo(0.227, 0.339).lineTo(0.214, -0.138).lineTo(0.192, -0.163).threePointArc((0.191, -0.339), (-0.192, -0.163)).lineTo(-0.214, -0.138).lineTo(-0.227, 0.339).lineTo(0.... | 11 | 195 | 0.969346 |
train_0e4c1c3905f3458e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.133, 0.076, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.149, 0.084).threePointArc((0.182, 0.071), (0.196, 0.038)).lineTo(0.196, -0.058).threePointArc((0.188, -0.077), (0.17, -0.084)).lineTo(-0.179, -0.084).threePointArc((-0.191, -0.079), (-0... | 3 | 63 | 0.161427 |
train_bb80866cc727cb7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.176, 0.53).lineTo(0.176, 0).lineTo(-0.176, 0).lineTo(-0.176, 0.53).lineTo(-0.05, 0.53).lineTo(-0.05, 0.126).lineTo(0.05, 0.126).lineTo(0.05, 0.53).lineTo(0.176, 0.53).close().extrude(1, bo... | 9 | 77 | 0.339058 |
train_41c1d192835ba05d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.103).lineTo(0.04, 0.095).lineTo(0.073, 0.073).lineTo(0.095, 0.04).lineTo(0.103, 0).lineTo(0.095, -0.04).lineTo(0.073, -0.073).lineTo(0.04, -0.095).lineTo(0, -0.103).lineTo(-0.04, -0.095).lineTo(-0.073, -0.073).lineTo(-0.095, -0.04).lineTo(-0.103,... | 4 | 32 | 0.186736 |
train_8a16372a1e8168d2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.33, 0.287, -0.723), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.059, 0.085).lineTo(0.059, -0.085).lineTo(0.029, -0.085).lineTo(0.029, -0.021).lineTo(-0.029, -0.021).lineTo(-0.029, -0.085).lineTo(-0.059, -0.085).lineTo(-0.059, 0.085).lineTo(-0.... | 1 | 14 | 0.182303 |
train_579915e3cd168d1d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.5, 0.545, -0.503), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.497, 0.996).lineTo(0.497, 0.094).lineTo(-0.497, 0.094).lineTo(-0.497, 0.32).lineTo(-0.249, 0.32).lineTo(-0.249, 0.545).lineTo(0, 0.545).lineTo(0, 0.771).lineTo(0.249, 0.771).lineTo(... | 8 | 12 | 0.667435 |
train_68959187c5745d14 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.097, -0.041), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.024, 0.465).threePointArc((0.15, 0.491), (0.236, 0.453)).threePointArc((0.259, 0.362), (0.213, 0.241)).threePointArc((0.109, 0.124), (-0.024, 0.041)).threePointArc((-0.15, 0.016), (-... | 2 | 32 | 0.855382 |
train_c5b05d858b8cd03e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.728, -0.117).lineTo(0.983, -0.185).lineTo(0.967, -0.257).lineTo(0.709, -0.198).lineTo(0.669, -0.308).lineTo(0.897, -0.444).lineTo(0.862, -0.509).lineTo(0.629, -0.383).lineTo(0.56,... | 3 | 188 | 1.210028 |
train_8cb1b669aa63dda1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.268, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.22, 0.514).lineTo(0.22, 0.021).threePointArc((-0.22, 0.267), (0.22, 0.514)).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.121, 0.009, -0.14), normal=(0, -1, 0), ... | 6 | 12 | 0.420533 |
train_2edd11b4bb1510d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.107, 0, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.002, 0.79).lineTo(1.106, 0.684).lineTo(1.106, -0.704).threePointArc((1.081, -0.764), (1.021, -0.79)).lineTo(-1.106, -0.79).lineTo(-1.106, 0.718).threePointArc((-1.086, 0.768), (-1.035... | 13 | 120 | 1.024581 |
train_f962504132a56525 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.865).lineTo(1, 0.302).lineTo(-0.437, 0.302).lineTo(-0.437, -0.302).lineTo(1, -0.302).lineTo(1, -0.865).lineTo(-1, -0.865).lineTo(-1, 0.865).lineTo(1, 0.865).close().extrude(1.298, taper... | 11 | 12 | 2.74709 |
train_6dcf30cb7e46ac4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.655, -0.529, 0.538), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.116, 0.786).lineTo(0.255, 0.48).threePointArc((0.293, 0.473), (0.313, 0.439)).lineTo(0.378, 0.405).lineTo(0.415, 0.348).threePointArc((0.395, 0.305), (0.408, 0.259)).lineTo(0.458,... | 8 | 197 | 0.707992 |
train_03d854e6493ee3a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.499, -0.315, 0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.261, 0).threePointArc((0, -1.261), (-1.261, 0)).threePointArc((0, 1.261), (1.261, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.499, -0.315, 0.248), normal=(0, -1, 0), xDir=(... | 6 | 38 | 3.65181 |
train_6be9ee2af91f6c00 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.364, 0, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.212, 0.131).threePointArc((0.224, 0.125), (0.229, 0.113)).lineTo(0.229, -0.082).threePointArc((0.214, -0.116), (0.18, -0.131)).lineTo(-0.186, -0.131).threePointArc((-0.216, -0.118), (... | 13 | 46 | 0.317767 |
train_1d177fb287ec8ffd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.835), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.457, 0).lineTo(0.457, 1.67).lineTo(0.228, 1.67).lineTo(0.228, 0.608).lineTo(1, 0.608).lineTo(1, 0).lineTo(0.457, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0... | 5 | 18 | 0.968328 |
train_80292263a034e6c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.622, 0.922, -0.015), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.737, 0.532).threePointArc((0.854, 0.381), (0.936, 0.188)).threePointArc((0.938, -0.005), (0.683, -0.021)).lineTo(0.366, -0.142).lineTo(0.076, -0.287).lineTo(-0.251, -0.375).lineTo... | 17 | 564 | 3.826101 |
train_853edb3de176390d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.294, 0.822, 0.303), normal=(0.218, 0.08, 0.973), xDir=(0, -0.997, 0.082))).moveTo(0.432, 0.763).lineTo(0.432, 0).lineTo(0.144, 0).lineTo(0.144, -0.382).lineTo(-0.144, -0.382).lineTo(-0.144, -0.763).lineTo(-0.432, -0.763).lineTo(-0.432, 0.763).li... | 9 | 73 | 1.319729 |
train_3fefe3a324382cab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.441), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.261, 0.561).threePointArc((0.312, 0.537), (0.333, 0.48)).lineTo(0.333, 0.247).threePointArc((0.349, 0.205), (0.387, 0.187)).lineTo(0.871, 0.187).threePointArc((0.959, 0.145), (1, 0.047)).l... | 4 | 109 | 1.104958 |
train_10cf2d78b314d73b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.099, -0.032, 0.246), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.091, 0.448).lineTo(0.006, 0.317).lineTo(0.131, 0.423).lineTo(0.089, 0.265).lineTo(0.25, 0.234).lineTo(0.1, 0.168).lineTo(0.176, 0.023).lineTo(0.031, 0.099).lineTo(-0.036, -0.051)... | 5 | 95 | 0.647071 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.