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_86f100cf1030f807 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.475, 0.364), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.287, 0.525).lineTo(0.466, 0.336).lineTo(0.641, -0.01).lineTo(0.334, -0.186).threePointArc((0.329, -0.316), (0.326, -0.525)).threePointArc((0.206, -0.472), (0.122, -0.438)).lineTo(-0.0... | 4 | 98 | 1.219383 |
train_f957e4aca4cd3d49 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.833, 0.273).lineTo(1, 0).lineTo(1, -0.273).lineTo(-1, -0.273).lineTo(-1, 0).lineTo(-1, 0.273).lineTo(-0.833, 0.273).lineTo(-0.667, 0).lineTo(-0.667, 0.273).lineTo(-0.5, 0.273).lineTo(-0.5, 0).lineTo(-0.333, 0.273).lineTo(-0.167, 0).lineTo(0, 0.273).... | 3 | 53 | 0.497939 |
train_666711f2b50a52cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.85, 2).extrude(0.179)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.112, 0.114).lineTo(0.112, 0.114).lineTo(-0.112, -0.114).clos... | 13 | 28 | 0.258788 |
train_5dd57a1173b38417 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.055, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.269).lineTo(1, -0.304).lineTo(-0.95, -0.304).lineTo(-0.95, -0.256).lineTo(-1, -0.256).lineTo(-1, 0.207).threePointArc((-0.97, 0.277), (-0.901, 0.304)).lineTo(0.962, 0.304).threePoint... | 15 | 88 | 0.354119 |
train_461788d2d45ec280 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, 0.696).threePointArc((0.943, 0.64), (1, 0.503)).lineTo(1, -0.418).lineTo(0.722, -0.696).lineTo(-0.726, -0.696).lineTo(-0.726, -0.422).lineTo(-1, -0.422).lineTo(-1, 0.348).threePointAr... | 6 | 30 | 0.845455 |
train_d49f99b44c9ce119 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.516).lineTo(1, -0.253).threePointArc((0.915, -0.439), (0.732, -0.516)).lineTo(-1, -0.516).lineTo(-1, 0.382).lineTo(-0.858, 0.516).lineTo(1, 0.516).close().extrude(0.391)
result = result.... | 9 | 49 | 0.721083 |
train_7decd4be32a98f55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.306, 1).lineTo(0.56, 0.742).lineTo(0.56, -0.609).lineTo(0.174, -1).lineTo(-0.397, -1).lineTo(-0.56, -0.829).lineTo(-0.56, 0.778).lineTo(-0.344, 1).lineTo(0.306, 1).close().extrude(0.678)
re... | 6 | 38 | 0.723687 |
train_34eeb0bda32ad261 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.373), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.745).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.745).lineTo(-0.736, 0.745).lineTo(-0.736, 0.264).lineTo(0.736, 0.264).lineTo(0.736, 0.745).lineTo(1, 0.745).close().extrude(0.244, both=Tru... | 5 | 37 | 0.396973 |
train_59d687deb467acf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.629, 2).extrude(0.47)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.596, -0.776).lineTo(-0.596, 0.776).lineTo(0.596, 0.776).clo... | 7 | 46 | 0.575127 |
train_91718dbb78cc0c10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.097, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.307).extrude(1.144)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.097, 0, -0.199), normal=(0.16, 0, 0.987), xDir=(0.987, 0, -0.16))).circle(0.326).extrude(1.17))
result = res... | 9 | 36 | 0.304335 |
train_d154c4ca66fbab72 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.214).lineTo(1, -0.214).lineTo(-1, -0.214).lineTo(-1, 0.199).lineTo(-0.985, 0.214).lineTo(1, 0.214).close().extrude(0.387)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.6, 0, 0.... | 9 | 107 | 0.149315 |
train_6ec67882d4e2fc24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.693, -0.165, -0.067), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.192, 0.301).threePointArc((-0.081, 0.338), (0.077, 0.273)).threePointArc((0.19, 0.144), (0.192, 0.028)).threePointArc((0.081, -0.009), (-0.077, 0.057)).threePointArc((-0.19, 0.1... | 7 | 20 | 0.17177 |
train_a32360e38713e5b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.05, -0.005, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.68, 0.34).threePointArc((0.939, 0.314), (1.049, 0.251)).lineTo(1.049, 0.067).threePointArc((0.967, 0.02), (0.774, 0)).lineTo(0.576, 0).threePointArc((0.417, -0.016), (0.35, -0.055)... | 7 | 156 | 0.34753 |
train_dff4cd2a9c56d373 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.028, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.467).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.028, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.664).extrude(0.249, both=True))
result = result.cut(... | 7 | 33 | 0.902773 |
train_f386b73782fa6ddc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.824, 0.429, 0.167), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.833, 1.582).lineTo(0.833, 1.064).lineTo(0.345, 1.064).lineTo(0.345, 0.067).lineTo(-0.345, 0.067).lineTo(-0.345, 1.064).lineTo(-0.833, 1.064).lineTo(-0.833, 1.582).lineTo(0.833, 1.5... | 17 | 97 | 1.450199 |
train_caea0da7e4b40ffe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.537)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.729).extrude(1.609, both=True))
result = result.union(cq.Workpl... | 15 | 29 | 1.380244 |
train_89d7d2ac43eb3b5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, -0.047, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.062, 0.111).threePointArc((0.086, 0.103), (0.096, 0.083)).lineTo(0.096, 0.032).threePointArc((0.09, 0.021), (0.076, 0.016)).lineTo(-0.046, 0.016).threePointArc((-0.054, 0.013), (-0.05... | 7 | 99 | 0.06245 |
train_cdbb5231ed9e41ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.402, 0, -0.115), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.544, 0.365).lineTo(0.544, 0).lineTo(-0.544, 0).lineTo(-0.544, 0.365).lineTo(-0.492, 0.365).lineTo(-0.492, 0.053).lineTo(0.492, 0.053).lineTo(0.492, 0.365).lineTo(0.544, 0.365).close()... | 5 | 134 | 0.076764 |
train_fd6a17604949ee74 | 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.111, 0.109).lineTo(0.111, 0.032).lineTo(-0.039, 0.032).lineTo(-0.039, -0.032).lineTo(0.111, -0.032).lineTo(0.111, -0.109).lineTo(-0.111, -0.109).lineTo(-0.111, 0.109).lineTo(0.111, 0.109).clos... | 15 | 107 | 0.04544 |
train_299cebfefecb7484 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.25), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.27, 0.499).lineTo(0.27, 0.27).lineTo(0.762, 0.27).lineTo(0.762, 0).lineTo(0, 0).lineTo(0, 0.499).lineTo(0.27, 0.499).close().extrude(0.873, both=True)
result = result.union(cq.Workplane(c... | 7 | 60 | 0.459429 |
train_cc30595dcab34f7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.875, 0.523).threePointArc((0.962, 0.487), (1, 0.4)).lineTo(1, -0.405).threePointArc((0.965, -0.488), (0.881, -0.523)).lineTo(-0.855, -0.523).threePointArc((-0.956, -0.481), (-1, -0.38)).li... | 10 | 78 | 0.39597 |
train_561ccdba2d1f9dd4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.412, -0.271, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.825).threePointArc((0.584, 0.584), (0.825, 0)).lineTo(0.299, 0).threePointArc((0.21, 0.21), (0, 0.299)).lineTo(0, 0.825).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 3 | 16 | 1.081808 |
train_15795e4fcaaaa62d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0.036, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.666, -0.443).lineTo(0.791, -0.634).lineTo(0.658, -0.771).lineTo(0.499, -0.625).lineTo(0.068, -0.797).lineTo(-0.004, -1.013).lineTo(-0.193, -0.994).lineTo(-0.179, -0.78).lineTo(-0.... | 5 | 47 | 0.66219 |
train_d06ce5573423c97a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.228, -0.093, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.502, 0.256).threePointArc((0.564, 0.244), (0.59, 0.218)).lineTo(0.59, 0.142).threePointArc((0.551, 0.102), (0.458, 0.085)).lineTo(0.268, 0.085).threePointArc((0.218, 0.076), (0.1... | 12 | 80 | 0.90906 |
train_4fcca027a284e248 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.266, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.32, 0.32).lineTo(0.32, -0.32).lineTo(-0.32, -0.32).lineTo(-0.32, 0.32).lineTo(-0.107, 0.32).lineTo(-0.107, 0.107).lineTo(0.107, 0.107).lineTo(0.107, 0.32).lineTo(0.32, 0.32).close().extrud... | 4 | 22 | 1.135504 |
train_1ed289d174036977 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.215).lineTo(0.721, 0).lineTo(1, -0.215).lineTo(0.368, -0.215).lineTo(0.368, 0.215).lineTo(1, 0.215).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.506, 0.164, 0), norm... | 13 | 63 | 0.286344 |
train_095f1a47c2fd7c09 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.245).lineTo(0.804, 0).lineTo(1, -0.245).lineTo(0.362, -0.245).lineTo(0.362, 0.245).lineTo(1, 0.245).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.204, -0.572, 0), no... | 19 | 117 | 0.40891 |
train_7610e4f1db11c72b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.511, -0.362, 0.533), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.085, 0.44).lineTo(-0.085, -0.141).lineTo(0.384, -0.141).lineTo(0.384, -0.44).lineTo(-0.384, -0.44).lineTo(-0.384, 0.44).lineTo(-0.085, 0.44).close().extrude(0.781)
result = resu... | 6 | 154 | 0.453175 |
train_8c01714676232e3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.199, -0.006, -0.721), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.796, 0.392).lineTo(0.796, 0.167).lineTo(0.354, 0.167).lineTo(0.354, -0.167).lineTo(0.796, -0.167).lineTo(0.796, -0.392).lineTo(0.128, -0.392).lineTo(0.128, 0.392).lineTo(0.796, 0.... | 14 | 186 | 0.792807 |
train_4e39796e8735bcf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.757), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.911).threePointArc((0.941, 0.862), (1, 0.746)).lineTo(1, -0.768).threePointArc((0.949, -0.867), (0.843, -0.911)).lineTo(-0.829, -0.911).lineTo(-1, -0.754).lineTo(-1, 0.782).lineTo(-... | 13 | 92 | 1.331194 |
train_c4c49cc6feb9eca1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.157, -0.154, 0.541), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.356, 0.277).lineTo(-0.049, 0.063).lineTo(2.125, -0.256).lineTo(1.913, -0.349).lineTo(-0.264, -0.031).lineTo(-1.152, -0.072).lineTo(-1.459, -0.057).lineTo(-1.656, 0.007).lineTo(-1.... | 5 | 42 | 0.586157 |
train_ba168856530b7e8e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.423).lineTo(1, -0.412).lineTo(0.98, -0.423).lineTo(-1, -0.423).lineTo(-1, 0.416).lineTo(-0.985, 0.416).lineTo(-0.985, 0.423).lineTo(1, 0.423).close().extrude(0.418)
result = result.cut(... | 8 | 52 | 0.584793 |
train_7dfd008aeb1bb016 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.132, -0.068, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.127, 0.386).lineTo(0.127, -0.386).lineTo(-0.127, -0.386).lineTo(-0.127, 0.386).lineTo(-0.043, 0.386).lineTo(-0.043, 0.016).lineTo(0.043, 0.016).lineTo(0.043, 0.386).lineTo(0.127, 0.386... | 13 | 225 | 0.364709 |
train_ce0c867ec4633be2 | 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(-0.501, 0.996).threePointArc((0.022, 0.893), (0.532, 0.267)).threePointArc((0.73, -0.516), (0.501, -0.996)).threePointArc((-0.022, -0.893), (-0.532, -0.267)).threePointArc((-0.73, 0.516), (... | 10 | 548 | 0.769188 |
train_38b51348cc1cfaf2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.137, 0.069, -0.186), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.234, 0.131).lineTo(0.863, -0.041).lineTo(0.839, -0.131).lineTo(0.659, -0.082).lineTo(0.21, 0.041).lineTo(0.234, 0.131).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE... | 19 | 308 | 1.451417 |
train_80b092d012dcef2b | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.25).lineTo(0.811, 0).lineTo(1, -0.25).lineTo(0.314, -0.25).lineTo(0.314, 0.25).lineTo(1, 0.25).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.548, 0, 0), normal=(0, 0,... | 13 | 64 | 0.63787 |
train_c37b9a98b92a014e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.047), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.632, 0.716).threePointArc((0.969, 0.927), (0.906, 0.653)).lineTo(0.317, -0.653).lineTo(0.254, -0.927).lineTo(0.043, -0.589).lineTo(0.632, 0.716).close().revolve(angleDegrees=360, axi... | 7 | 25 | 2.462062 |
train_f31ff1b6766f6d36 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.997).threePointArc((0.892, 0.953), (0.964, 0.847)).lineTo(0.964, 0.327).threePointArc((0.903, 0.237), (0.759, 0.199)).lineTo(0.5, 0.199).threePointArc((0.374, 0.166), (0.321, 0.... | 13 | 114 | 0.399626 |
train_b2cf61a2b8ddc0b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.359, 3.979, -2.34), normal=(-0.057, -0.844, 0.533), xDir=(0.998, -0.067, 0))).moveTo(0.001, 0.361).threePointArc((0.574, -0.148), (-0.157, -0.373)).threePointArc((-0.297, 0.036), (-0.378, 0.057)).threePointArc((-0.528, 0.147), (-0.574, 0.261)).l... | 12 | 49 | 1.628296 |
train_abc97e7d7dc03ed1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.241, 0.154).workplane(offset=2).rect(1.503, 0.231).loft()
result = result.edges(cq.selectors.NearestToPointSelector((-0.751, 0, 1))).chamfer(0.038)
result = result.edges(cq.selectors.NearestToPo... | 4 | 9 | 0.350751 |
train_14a7358321a5a517 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.859, -0.129).lineTo(0.985, -0.181).lineTo(0.954, -0.303).lineTo(0.821, -0.282).lineTo(0.771, -0.401).lineTo(0.871, -0.491).lineTo(0.802, -0.597).lineTo(0.685, -0.534).lineTo(0.599, -0.6... | 2 | 79 | 1.557708 |
train_619f04487b4f69d2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.666), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.624, 0).lineTo(0.624, 1.332).lineTo(1, 1.332).lineTo(1, 0.729).lineTo(0.576, 0.729).lineTo(0.576, 0).lineTo(0.624, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 4 | 20 | 0.970324 |
train_90889ef3a02f62f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.449), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.482, 0.897).lineTo(0.482, 0.64).lineTo(1, 0.64).lineTo(1, 0.373).lineTo(0.399, 0.373).lineTo(0.399, 0).lineTo(0, 0).lineTo(0, 0.897).lineTo(0.482, 0.897).close().revolve(angleDegrees=360,... | 3 | 9 | 1.129209 |
train_0484ed48eba97c4b | 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.188, 0.222).threePointArc((0.201, 0.217), (0.207, 0.205)).lineTo(0.207, 0.142).threePointArc((0.2, 0.127), (0.184, 0.121)).lineTo(0.085, 0.121).threePointArc((0.064, 0.113), (0.055, 0.093)).li... | 4 | 26 | 0.154177 |
train_8b922d6cb98b01c5 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.528, 0.891).lineTo(-0.528, -0.419).lineTo(1, -0.419).lineTo(1, -0.891).lineTo(-1, -0.891).lineTo(-1, 0.891).lineTo(-0.528, 0.891).close().extrude(0.646, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.598, 0, -1.158), normal=(0, 1, ... | 9 | 9 | 1.980881 |
train_bed66afd0a9d4f51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.396, -0.303, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.861).threePointArc((0.611, 0.611), (0.861, 0)).lineTo(0.344, 0).threePointArc((0.243, 0.243), (0, 0.344)).lineTo(0, 0.861).close().extrude(2)
result = result.union(cq.Workplane(cq... | 8 | 34 | 1.179967 |
train_7fa2f86b09d9a8a9 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.292).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.928).extrude(1, both=True))
result = result.cut(cq.Workplane('XY').circle(0.429).extrude(3, both=True))
result = res... | 5 | 37 | 3.888353 |
train_a9af88810767b5c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.029, 0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.314, 0.853).threePointArc((0.544, 0.756), (0.641, 0.528)).lineTo(0.641, -0.706).threePointArc((0.597, -0.809), (0.493, -0.853)).lineTo(0.279, -0.853).threePointArc((0.233, -0.834), (0.... | 27 | 126 | 2.360951 |
train_8061fc8372d06a8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.267)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.122, 0.463), (-0.433, 0.819), (-0.88, 0.984)... | 5 | 60 | 0.607665 |
train_0c3a7260b5c99eff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.381, 0.651).lineTo(0.51, 0.343).lineTo(0.619, 0.374).lineTo(0.826, 0.373).lineTo(0.835, 0.126).lineTo(0.999, 0.111).lineTo(1, -0.651).lineTo(-0.033, -0.648).lineTo(-0.032, -0.325).threePoi... | 6 | 164 | 0.475513 |
train_b7df7a19e95d20bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.373, 0.139, -0.063), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.429, -0.304).lineTo(0.417, -0.364).lineTo(0.397, -0.422).lineTo(0.369, -0.475).lineTo(0.335, -0.523).lineTo(0.296, -0.563).lineTo(0.252, -0.596).lineTo(0.203, -0.62).lineTo(0.152,... | 11 | 231 | 0.713181 |
train_7e741f72e85a107a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.132).lineTo(1, 0.101).threePointArc((0.977, 0.095), (0.922, 0.093)).lineTo(0.367, 0.093).threePointArc((0.278, 0.089), (0.24, 0.08)).lineTo(0.24, -0.129).threePointArc((0.203, -0.138), ... | 3 | 59 | 0.157555 |
train_73eb30c7389f24a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.084, 0, -0.022), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.959, 0.143).lineTo(1, -0.014).lineTo(0.364, -0.143).lineTo(0.348, -0.065).lineTo(0.506, -0.033).lineTo(0.568, 0.063).lineTo(0.727, 0.096).lineTo(0.959, 0.143).close().revolve(angleDeg... | 4 | 44 | 0.395767 |
train_6b28e559e91807ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.302, 0.638, 0.031), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.07, 0.191).threePointArc((0.061, 0.346), (0.081, 0.189)).lineTo(0.361, -0.076).lineTo(0.095, -0.346).lineTo(0.057, -0.33).lineTo(0.021, -0.345).lineTo(-0.243, -0.061).threePointAr... | 8 | 84 | 0.16777 |
train_aa50620ae2e60d0b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.124, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.802, 0.202).threePointArc((0.94, 0.144), (1, 0.004)).lineTo(1, -0.004).lineTo(0.802, -0.202).lineTo(-1, -0.202).lineTo(-1, 0.026).threePointArc((-0.947, 0.151), (-0.824, 0.202)).lineTo... | 4 | 23 | 0.424703 |
train_7186a07d65a69abe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.007, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.052, 0.851).lineTo(0.296, 0.744).threePointArc((0.339, 0.575), (0.476, 0.605)).lineTo(1, 0.013).lineTo(0.377, -0.456).lineTo(0.276, -0.424).lineTo(0.251, -0.558).lineTo(-0.252, -0.936).lin... | 9 | 125 | 1.776945 |
train_4713a00b6fea48da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.104, -0.318, -0.116), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.345, 0.33).lineTo(0.682, 0.141).lineTo(0.418, -0.33).lineTo(0.328, -0.279).lineTo(0.541, 0.102).lineTo(0.385, 0.189).lineTo(0.171, -0.191).lineTo(0.081, -0.141).lineTo(0.345, 0.3... | 17 | 331 | 0.395796 |
train_943cbc9459cba757 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.46, 0.261).lineTo(0.46, 0).lineTo(-0.46, 0).lineTo(-0.46, 0.261).lineTo(-0.324, 0.261).lineTo(-0.324, 0.137).lineTo(0.324, 0.137).lineTo(0.324, 0.261).lineTo(0.46, 0.261).close().extrude(... | 6 | 36 | 0.312886 |
train_f773c55751a0f07a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.211, 0.589, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.22, 0).threePointArc((0, -0.22), (-0.22, 0)).threePointArc((0, 0.22), (0.22, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.211, 0.589, -0.123), normal=(0, -1, 0), xDir=(1, 0, 0... | 4 | 13 | 0.082496 |
train_237f0b4e6d075267 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.63, -0.231, -0.01), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.66, 0.104).threePointArc((0, -0.556), (-0.66, 0.104)).threePointArc((0, 0.764), (0.66, 0.104)).close().extrude(1.261)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.325, -0.4... | 16 | 105 | 1.026065 |
train_11f1b7527a0f5b5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, -0.011, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.093, -0.074).threePointArc((-0.056, 0.111), (0.093, -0.111)).lineTo(-0.093, -0.074).close().moveTo(0.093, 0.074).lineTo(0.056, -0.074).threePointArc((-0.019, 0.074), (0.093, 0.074))... | 3 | 18 | 0.057888 |
train_ac9583242004b739 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.622, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.216, 0.008).threePointArc((0.241, -0.042), (0.291, -0.119)).threePointArc((0.323, -0.223), (0.301, -0.32)).threePointArc((0.225, -0.372), (0.126, -0.366)).threePointArc((0.04, -0.324), (-0... | 11 | 850 | 0.575832 |
train_021540c5b9e9c906 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.024, 0.71, 0.144), normal=(0.917, -0.15, -0.369), xDir=(0.161, 0.987, 0))).moveTo(0.129, 0.538).lineTo(0.345, 0.475).lineTo(0.333, 0.425).lineTo(0.522, 0.265).lineTo(0.583, 0.261).lineTo(0.653, 0.03).lineTo(0.651, -0.054).lineTo(0.598, -0.067).l... | 11 | 218 | 0.569869 |
train_de2c0fe0cd596270 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.015, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.538, 0.59).threePointArc((0.622, 0.907), (0.854, 0.505)).lineTo(0.974, -0.164).threePointArc((0.983, -0.207), (0.954, -0.24)).lineTo(0.6, -0.443).threePointArc((0.832, -0.845), (0.515, -0.7... | 11 | 327 | 0.60448 |
train_843ee3ff0e3ec71d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.018, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.266).threePointArc((0.221, 0.332), (0.221, 0.199)).lineTo(0.111, 0.067).lineTo(0.332, -0.266).threePointArc((0.221, -0.332), (0, -0.332)).lineTo(-0.332, 0.067).lineTo(0, 0.266).close().... | 3 | 38 | 0.398414 |
train_28cdcd1f653be982 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.442), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.192, 0.902).threePointArc((0.761, 0.669), (1, 0.103)).lineTo(1, -0.018).threePointArc((0.736, -0.646), (0.108, -0.902)).lineTo(-0.3, -0.902).threePointArc((-0.79, -0.701), (-1, -0.21)).lin... | 5 | 46 | 1.37109 |
train_1512fbe08e7c758b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.673), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.782).lineTo(1, -0.401).threePointArc((0.879, -0.67), (0.613, -0.782)).lineTo(-1, -0.782).lineTo(-1, 0.016).lineTo(-0.229, 0.782).lineTo(1, 0.782).close().extrude(1.029)
result = result.... | 16 | 22 | 1.985318 |
train_baa21578c7f940e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.114, -0.121, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.696, -0.438).lineTo(-0.154, -0.803).threePointArc((-0.696, 0.803), (0.696, -0.438)).close().extrude(0.34, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.064, 0.009... | 14 | 193 | 1.729472 |
train_d642178255696386 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.398, 0.435).lineTo(0.814, 0.352).threePointArc((0.85, 0.327), (0.859, 0.285)).lineTo(0.845, 0.217).threePointArc((0.853, 0.18), (0.884, 0.159)).lineTo(0.977, 0.141).threePointArc((0.996, ... | 5 | 70 | 1.037443 |
train_bbb6c575b0b4c5ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.01, -0.05, -0.846), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.918, 0.241).lineTo(0.918, 0.194).threePointArc((0.897, 0.181), (0.849, 0.176)).lineTo(0.283, 0.176).threePointArc((0.199, 0.166), (0.164, 0.144)).lineTo(0.164, -0.242).threePointArc... | 13 | 66 | 1.041746 |
train_239bfd74453ef42c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.062, -0.122, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.009, 0.308).threePointArc((-0.005, 0.355), (0.061, 0.312)).lineTo(0.527, 0.102).threePointArc((0.532, 0.057), (-0.015, -0.325)).lineTo(-0.069, -0.355).lineTo(-0.469, -0.001).threePo... | 8 | 111 | 0.414199 |
train_c069a78861eab883 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.372, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.833, 0.297).lineTo(1, 0.136).lineTo(1, -0.04).lineTo(0.739, -0.297).lineTo(-0.831, -0.297).lineTo(-1, -0.136).lineTo(-1, 0.107).lineTo(-0.805, 0.297).lineTo(0.833, 0.297).close().extru... | 12 | 67 | 0.399697 |
train_88347493de69a045 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.78, 0.822, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.043, 1.573).lineTo(0.724, 1.309).lineTo(1.004, 0.497).lineTo(0.286, 0.072).lineTo(-0.414, 0.081).lineTo(-1.004, 0.639).lineTo(-0.587, 1.326).lineTo(0.043, 1.573).close().extrude(1.56)
r... | 6 | 140 | 0.531552 |
train_9023d0686cd69ffe | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.712).lineTo(1, 0.037).lineTo(0.337, 0.037).lineTo(0.337, -0.037).lineTo(1, -0.037).lineTo(1, -0.712).lineTo(-1, -0.712).lineTo(-1, -0.037).lineTo(-0.337, -0.037).lineTo(-0.337, 0.037).lineTo(-1, 0.037).lineTo(-1, 0.712).lineTo(1, 0.712).close().e... | 6 | 64 | 2.301237 |
train_68c51c32a4495ff5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.237, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.154, 0.642).threePointArc((0.213, 0.62), (0.238, 0.567)).lineTo(0.238, 0.375).threePointArc((0.291, 0.262), (0.417, 0.214)).lineTo(0.57, 0.214).threePointArc((0.671, 0.176), (0.713, 0.085... | 14 | 137 | 0.706068 |
train_1d52ebb1ef766d11 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.028), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.655, 0.539).lineTo(0.655, 0).lineTo(-0.655, 0).lineTo(-0.655, 0.539).lineTo(-0.594, 0.539).lineTo(-0.594, 0.061).lineTo(0.594, 0.061).lineTo(0.594, 0.539).lineTo(0.655, 0.539).close().extr... | 11 | 113 | 0.927531 |
train_bf346a620f6b034f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.574), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.125, 0.87).lineTo(1, -0.87).lineTo(-1, -0.87).lineTo(0.125, 0.87).close().moveTo(0, 0).lineTo(0.375, -0.497).lineTo(-0.25, -0.497).lineTo(0, 0).close().extrude(1.149)
result = result.cut(c... | 9 | 10 | 1.805634 |
train_38b2498bac76d3d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.811, -0.061, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.007, 0.203).threePointArc((0.065, 0.198), (0.108, 0.156)).threePointArc((0.124, 0.099), (0.125, 0.05)).threePointArc((0.129, 0.015), (0.15, -0.018)).threePointArc((0.177, -0.064)... | 4 | 42 | 0.03748 |
train_7a21574bd2655d85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.014, 0.09, 0.364), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.306, 0.807).threePointArc((-0.13, 0.772), (-0.007, 0.691)).threePointArc((0.065, 0.642), (0.139, 0.65)).threePointArc((0.254, 0.673), (0.392, 0.648)).threePointArc((0.499, 0.554),... | 4 | 38 | 0.430213 |
train_8cf2df78c5ea1f4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.025, 0.069, -0.575), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.497, 0.871).lineTo(0.768, 0.598).threePointArc((-0.533, -0.871), (-0.497, 0.871)).close().moveTo(-0.38, 0.409).threePointArc((0.244, -0.164), (-0.768, 0.055)).lineTo(-0.38, 0.409)... | 8 | 60 | 2.230426 |
train_dccb159e891ebc41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.675), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.462, 0.796).threePointArc((-0.383, 0.763), (-0.349, 0.684)).lineTo(-0.349, -0.03).threePointArc((-0.315, -0.111), (-0.234, -0.146)).lineTo(0.876, -0.146).threePointArc((0.963, -0.182), (1... | 19 | 36 | 2.498946 |
train_767c544de720ce03 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.354)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.594).extrude(1.061, both=True))
result = result.union(cq.Wo... | 16 | 51 | 0.891215 |
train_65459fc0767d274a | 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.056, 0.096).threePointArc((0.056, 0.096), (0.111, 0)).threePointArc((0.056, -0.096), (-0.056, -0.096)).threePointArc((-0.111, 0), (-0.056, 0.096)).close().extrude(2)
result = result.cut(cq.Wo... | 6 | 217 | 0.060746 |
train_4869833236c69626 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.74).extrude(1.386)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.002, -0.031), normal=(0.376, 0, 0.927), xDir=(0.927, 0, -0.376))).circle(0.393).extrude(0.661))
result = result.... | 10 | 46 | 2.997362 |
train_c5a03940aeab9f59 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.158, 1).lineTo(0.158, 0.832).lineTo(0.324, 0.832).lineTo(0.324, -0.91).lineTo(0.235, -1).lineTo(-0.244, -1).threePointArc((-0.301, -0.976), (-0.324, -0.919)).lineTo(-0.324, 1).lineTo(0.158... | 12 | 33 | 0.657422 |
train_57ba9a8f4b0af44c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.043, 0.132).lineTo(0.092, 0.102).lineTo(0.127, 0.057).lineTo(0.138, 0).lineTo(0.127, -0.057).lineTo(0.092, -0.102).lineTo(0.043, -0.132).lineTo(-0.015, -0.137).lineTo(-0.068, -0.12).lineTo(-0.112, -0.082).lineTo(-0.135, -0.028).lineTo(-0.135, 0.028)... | 3 | 55 | 0.12815 |
train_b00abd27c6a31225 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.189, 0.299, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.101, 0.477).lineTo(0.319, 0.399).threePointArc((0.358, 0.378), (0.382, 0.306)).threePointArc((0.202, -0.415), (0.176, -0.456)).lineTo(0.137, -0.476).threePointArc((0.092, -0.477),... | 20 | 155 | 0.639019 |
train_64bc8e221ee706e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.326, 0.105, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.323, 0.56).threePointArc((0.323, 0.56), (0.647, 0)).threePointArc((0.323, -0.56), (-0.323, -0.56)).threePointArc((-0.647, 0), (-0.323, 0.56)).close().sweep(cq.Workplane(cq.Plane(orig... | 4 | 26 | 1.461503 |
train_4333ecc428863fbc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.044, -0.116, -0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.201, 0.627).lineTo(-0.139, 0.415).threePointArc((-0.127, 0.387), (-0.109, 0.363)).lineTo(0.032, 0.208).threePointArc((0.061, 0.182), (0.093, 0.165)).lineTo(0.293, 0.084).threePoin... | 8 | 115 | 0.604558 |
train_c3be6e0dac0d1f3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.555).lineTo(1, -0.557).threePointArc((0.995, -0.568), (0.984, -0.573)).lineTo(-0.985, -0.573).threePointArc((-0.995, -0.569), (-1, -0.559)).lineTo(-1, 0.559).threePointArc((-0.995, 0.56... | 11 | 67 | 0.492988 |
train_80311d7d1e5095f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.728, 0.698).lineTo(0.728, 0.426).lineTo(1, 0.426).lineTo(1, -0.432).lineTo(0.734, -0.432).lineTo(0.734, -0.698).lineTo(-0.838, -0.698).threePointArc((-0.953, -0.651), (-1, -0.537)).lineTo(... | 5 | 23 | 1.486035 |
train_710f304875cd578c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.205, -0.311, 0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.292, 0.444).threePointArc((0.367, 0.413), (0.398, 0.339)).lineTo(0.398, 0.009).threePointArc((0.367, -0.066), (0.292, -0.097)).lineTo(0.097, -0.158).lineTo(-0.097, -0.205).threePo... | 2 | 22 | 1.00204 |
train_44d481eb89d8035f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.196, -0.118, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.224).threePointArc((0.409, 0.035), (0.338, -0.15)).threePointArc((0.343, -0.248), (0.236, -0.313)).threePointArc((0.187, -0.293), (0.14, -0.201)).threePointArc((-0.026, -0.... | 8 | 146 | 1.307214 |
train_a43964160235e753 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.403), normal=(0, 0, 1), xDir=(1, 0, 0))).box(0.996, 0.679, 1.193)
result = result.edges().fillet(0.191)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.403), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.1).extrude(1.991, both=True... | 9 | 48 | 0.33379 |
train_a3b7efef4f828cad | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.457, 1).threePointArc((0.558, 0.958), (0.6, 0.857)).lineTo(0.6, 0.338).threePointArc((0.559, 0.241), (0.462, 0.2)).lineTo(0.34, 0.2).threePointArc((0.242, 0.158), (0.2, 0.06)).lineTo(0.2, -0.117).threePointArc((0.225, -0.175), (0.283, -0.2)).lineTo(... | 2 | 62 | 0.802757 |
train_8f915aaaf0be9cb3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.332, -0.443), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.667, 0.886).lineTo(0.667, 0.463).lineTo(0.473, 0.463).lineTo(0.473, 0).lineTo(0.328, 0).lineTo(0.328, 0.886).lineTo(0.667, 0.886).close().revolve(angleDegrees=360, axisStart=(0, 0, 0)... | 9 | 53 | 0.666213 |
train_a19fe60b2cf9e456 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.296, 0, -0.097), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.703, 0.084).lineTo(0.591, 0).lineTo(0.703, -0.084).lineTo(0.225, -0.084).lineTo(0.225, 0.084).lineTo(0.703, 0.084).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ... | 15 | 148 | 0.208502 |
train_e218fef59a6d6000 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.984, 1).lineTo(0.567, -1).lineTo(-0.984, 0.357).lineTo(0.984, 1).close().moveTo(0.658, 0.636).lineTo(0.411, -0.538).lineTo(-0.502, 0.259).lineTo(0.658, 0.636).close().extrude(0.42)
result =... | 4 | 38 | 0.643959 |
train_950528274f5202fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.08, 0.059, -0.746), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.073).lineTo(0, 0.024).lineTo(0.049, 0.024).lineTo(0.049, -0.024).lineTo(0.097, -0.024).lineTo(0.097, -0.073).lineTo(0, -0.073).lineTo(0, -0.024).lineTo(-0.097, -0.024).lineTo(-0.... | 3 | 30 | 0.032964 |
train_fc42b19237fbac44 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.13, -0.007, -0.211), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.748, 0.52).threePointArc((0.833, 0.484), (0.869, 0.398)).lineTo(0.869, -0.398).threePointArc((0.833, -0.484), (0.748, -0.52)).lineTo(-0.748, -0.52).threePointArc((-0.833, -0.484),... | 6 | 53 | 0.539538 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.