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_f5f03037aee3dac5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.575).lineTo(1, -0.46).lineTo(0.876, -0.575).lineTo(-0.78, -0.575).lineTo(-1, -0.36).lineTo(-1, 0.439).lineTo(-0.855, 0.439).lineTo(-0.855, 0.575).lineTo(1, 0.575).close().extrude(0.522)... | 19 | 316 | 0.910963 |
train_6a2a5727c8a8f034 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.725), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.485).lineTo(1, 0.294).lineTo(-0.328, -0.485).lineTo(-1, 0.485).close().extrude(1.45)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.689, 0.223, -1.352), normal=(0, 1, 0), xDir=(1... | 20 | 20 | 1.120877 |
train_02b8346171c5a1d3 | 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.59, 2).lineTo(0.59, 1.747).lineTo(0.563, 1.747).lineTo(0.563, 1.228).lineTo(0.354, 1.228).lineTo(0.354, 0.528).lineTo(0.369, 0.528).lineTo(0.369, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.59, 2).... | 4 | 18 | 1.088337 |
train_cce4f226379abe5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.366, -0.101, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.731).threePointArc((0.517, 0.517), (0.731, 0)).lineTo(0.334, 0).threePointArc((0.236, 0.236), (0, 0.334)).lineTo(0, 0.731).close().extrude(2)
result = result.union(cq.Workplane(cq... | 4 | 23 | 0.815532 |
train_d849ff1f7bc124a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.572, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.129, 0.383).threePointArc((0.015, 0.416), (0.114, 0.272)).lineTo(0.221, 0.173).threePointArc((0.246, 0.084), (0.299, -0.002)).lineTo(0.187, -0.118).threePointArc((0.138, -0.183), (0.084,... | 10 | 74 | 1.053693 |
train_25c3d3fc7ad924ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.309, -0.13, -0.573), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.076, 1.003).lineTo(1.08, -0.911).lineTo(-1.08, -1.003).lineTo(-0.076, 1.003).close().moveTo(-0.034, -0.084).lineTo(0.161, -0.406).lineTo(-0.203, -0.421).lineTo(-0.034, -0.084).clo... | 19 | 143 | 1.443016 |
train_a3a72d8ff1917fae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.018, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.739, 0.609).lineTo(1.101, 0.247).lineTo(1.101, -0.306).lineTo(0.799, -0.609).lineTo(-0.773, -0.609).lineTo(-1.101, -0.28).lineTo(-1.101, 0.35).lineTo(-0.843, 0.609).lineTo(0.739, 0.609... | 7 | 29 | 0.900442 |
train_46c08ad0c806bea8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.108, -0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.333, 0.208).lineTo(0.333, 0.145).lineTo(1, 0.083).lineTo(0.714, -0.062).lineTo(0.429, -0.208).lineTo(-0.238, -0.145).lineTo(-1, -0.104).lineTo(-0.619, 0.062).lineTo(-0.333, 0.208).cl... | 20 | 484 | 0.421808 |
train_4a3f04c196ce9f90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.103, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.598, 0.103).threePointArc((0, -0.494), (-0.598, 0.103)).threePointArc((0, 0.701), (0.598, 0.103)).close().extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.161, -0.203, 0.084)... | 10 | 117 | 1.644353 |
train_76ec7124b3e25978 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.137, 0.828).threePointArc((-0.041, 0.782), (0, 0.677)).lineTo(0, 0.452).threePointArc((0.047, 0.33), (0.157, 0.278)).lineTo(0.812, 0.278).threePointArc((0.938, 0.218), (1, 0.078)).lineTo(1, -0.673).threePointArc((0.95, -0.781), (0.85, -0.828)).line... | 4 | 61 | 0.58934 |
train_ec7736cc9e553336 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.893, 0.487, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.362, 1.758).threePointArc((0.81, 1.573), (1, 1.125)).lineTo(1, 0.661).threePointArc((0.81, 0.213), (0.362, 0.028)).lineTo(-0.312, 0.028).threePointArc((-0.759, 0.213), (-0.94, 0.661)).... | 11 | 106 | 1.19034 |
train_1087b443347162b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.471, -0.023, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.056, 0.111).lineTo(0.056, -0.056).lineTo(0.111, -0.056).lineTo(0.111, -0.111).lineTo(-0.056, -0.111).lineTo(-0.056, 0).lineTo(-0.111, 0).lineTo(-0.111, 0.111).lineTo(0.056, 0.111).clos... | 9 | 159 | 0.140351 |
train_51e98e995bab1ba8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.883, -1.179, 0.031), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.437, 1.15).threePointArc((0.416, 1.039), (0.482, 0.863)).threePointArc((0.442, 0.679), (0.266, 0.644)).threePointArc((0.101, 0.694), (-0.034, 0.674)).threePointArc((-0.19, 0.658),... | 3 | 38 | 2.694292 |
train_8c02fba03d45d228 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, -0.087).lineTo(0.99, -0.141).lineTo(0.979, -0.204).lineTo(0.71, -0.156).lineTo(0.686, -0.24).lineTo(0.936, -0.351).lineTo(0.912, -0.41).lineTo(0.66, -0.306).lineTo(0.618, -0... | 6 | 156 | 0.870906 |
train_f0377d83c31ca08a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.001, 0.256).lineTo(0.721, 0.18).lineTo(1.015, -0.002).lineTo(0.713, -0.182).lineTo(0.024, -0.256).lineTo(-0.723, -0.18).lineTo(-1.015, -0.008).lineTo(-0.702, 0.185).lineTo(-0.001, 0.256).... | 12 | 152 | 0.265455 |
train_2f23cbd92b08c3c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.34, 0.095, 0.185), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.204, 0.726).lineTo(0.658, 0.369).lineTo(0.726, -0.204).lineTo(0.369, -0.658).lineTo(-0.204, -0.726).lineTo(-0.658, -0.369).lineTo(-0.726, 0.204).lineTo(-0.369, 0.658).lineTo(0.204, ... | 25 | 505 | 0.949099 |
train_b260bd9134942d08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.465), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.437, 0.821).lineTo(0.437, 0.437).lineTo(2, 0.437).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.821).lineTo(0.437, 0.821).close().extrude(0.985, both=True)
result = result.cut(cq.Workplane(cq.Pl... | 5 | 63 | 0.641929 |
train_22d4fbe0fffd33a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.008, 0.267, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.512).extrude(0.678, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.008, 0.267, 0.049), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.293).extrude(0.74, both=True))
r... | 6 | 36 | 0.882071 |
train_358f1596d43279b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.322, -0.519, 0.027), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.473, 0.204).threePointArc((0.473, 0.468), (0.381, -0.468)).lineTo(-0.434, 0.096).threePointArc((-0.438, 0.1), (-0.44, 0.105)).lineTo(-0.473, 0.204).close().extrude(2.204, both=Tr... | 8 | 76 | 1.0494 |
train_5863a6345f180969 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.67), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.793).lineTo(1, -0.793).lineTo(-1, -0.793).lineTo(-1, 0.793).lineTo(-0.36, 0.793).lineTo(-0.36, -0.157).lineTo(0.36, -0.157).lineTo(0.36, 0.793).lineTo(1, 0.793).close().extrude(1.34)
res... | 7 | 37 | 2.897917 |
train_f7f65ae871dffa07 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.74, 0.898, 2)
result = result.edges().fillet(0.291)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.336).extrude(3.479, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm... | 8 | 75 | 1.120905 |
train_7a18e1b9dd4d34fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.38, 0.401, -0.295), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.377, 0.805).lineTo(0.377, -0.002).threePointArc((0, -0.379), (-0.377, -0.002)).lineTo(-0.377, 0.805).threePointArc((0, 1.182), (0.377, 0.805)).close().moveTo(-0.03, 0.538).threePoi... | 22 | 522 | 1.218228 |
train_afd6e6768e4f55f7 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.083, 0.144).lineTo(0.166, 0).lineTo(0.083, -0.144).lineTo(-0.083, -0.144).lineTo(-0.166, 0).lineTo(-0.083, 0.144).lineTo(0.083, 0.144).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.059, -0.143, 0), normal=(1, 0, 0... | 6 | 39 | 0.134626 |
train_c9eb200ad61ac42e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.838), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.402, 0.862).lineTo(-0.402, -0.273).lineTo(1, -0.273).lineTo(1, -0.862).lineTo(-1, -0.862).lineTo(-1, 0.862).lineTo(-0.402, 0.862).close().extrude(1.295)
result = result.cut(cq.Workplane(c... | 14 | 465 | 0.870971 |
train_73df341dbf1125e3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.026, 0.45, 0.991), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.063, 0.546).lineTo(0.534, -0.128).lineTo(0.389, -0.256).lineTo(0.171, -0.01).lineTo(-0.011, -0.171).lineTo(0.207, -0.417).lineTo(0.063, -0.546).lineTo(-0.534, 0.128).lineTo(-0.389... | 10 | 43 | 1.409502 |
train_7e2e12c33171eeea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.049, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.221, 0.221).lineTo(0.221, 0.074).lineTo(0.074, 0.074).lineTo(0.074, -0.074).lineTo(0.221, -0.074).lineTo(0.221, -0.221).lineTo(-0.074, -0.221).lineTo(-0.074, 0.074).lineTo(-0.221, 0.074).l... | 15 | 135 | 0.160491 |
train_8d15d8bafe562cbc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.015, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.152).lineTo(0.354, 0.046).lineTo(0.354, -0.152).lineTo(-0.278, -0.152).threePointArc((-0.332, -0.13), (-0.354, -0.076)).lineTo(-0.354, 0.152).lineTo(0.248, 0.152).close().extru... | 8 | 37 | 0.184029 |
train_ef350f47ba5edd3d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.185, 0, -0.868), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.119, 0.256).lineTo(-0.119, -0.058).lineTo(0.276, -0.058).lineTo(0.276, -0.256).lineTo(-0.276, -0.256).lineTo(-0.276, 0.256).lineTo(-0.119, 0.256).close().extrude(1.867)
result = resul... | 6 | 70 | 0.229642 |
train_a3b0ae4606218f58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.193, -0.227, 0.773), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.508, 0.755).threePointArc((0.518, 0.647), (0.597, 0.574)).lineTo(0.719, 0.405).threePointArc((0.698, 0.297), (0.769, 0.212)).lineTo(0.722, -0.01).lineTo(0.802, -0.193).lineTo(0.64... | 8 | 104 | 0.696755 |
train_880ca326bb7c740b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.009).extrude(0.424)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.009, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.135, 0.504), (-0.505, 0.874), (-1.009, 1... | 6 | 69 | 1.458936 |
train_92c9b6dea0debe80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.093, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.406, 1).lineTo(1.656, 0.747).lineTo(1.656, -0.247).lineTo(0.906, -1).lineTo(-1.545, -1).lineTo(-1.656, -0.882).lineTo(-1.656, -0.572).lineTo(-1.415, -0.332).lineTo(-1.157, -0.332).lineTo(-... | 16 | 146 | 0.807933 |
train_d431cf4eb0b37a30 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.779, 0.996).threePointArc((0.897, 0.964), (0.948, 0.889)).lineTo(0.948, -0.442).threePointArc((0.874, -0.552), (0.701, -0.598)).lineTo(0.475, -0.598).threePointArc((0.363, -0.627), (0.316, ... | 13 | 421 | 0.636413 |
train_b097e190c6583877 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.341, -0.04, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.157, 0.346).threePointArc((0.244, 0.311), (0.28, 0.223)).lineTo(0.28, -0.195).lineTo(0.129, -0.346).lineTo(-0.171, -0.346).lineTo(-0.171, -0.237).lineTo(-0.28, -0.237).lineTo(-0.2... | 14 | 99 | 0.525905 |
train_5c0215dc049bc960 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.113, 0.084, -0.351), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.099, 0.765).threePointArc((-0.029, 0.721), (0, 0.618)).lineTo(0, 0.48).threePointArc((0.019, 0.411), (0.065, 0.382)).lineTo(0.417, 0.382).threePointArc((0.485, 0.34), (0.514, 0.23... | 13 | 201 | 0.741801 |
train_db439a6fa5533680 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.646, 0.998).threePointArc((0.789, 0.951), (0.85, 0.839)).lineTo(0.85, -0.617).threePointArc((0.705, -0.885), (0.362, -0.998)).lineTo(-0.685, -0.998).threePointArc((-0.801, -0.96), (-0.85, -0.869)).lineTo(-0.85, -0.481).threePointArc((-0.793, -0.377)... | 4 | 30 | 1.806806 |
train_88e7bc8571e9d1e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.01).extrude(0.509)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.01, 0, -0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.297, 0.713), (-1.01, 1.01), (-1.723, 0.713... | 6 | 37 | 1.44215 |
train_eebf04181b4b32e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.135, 0.495, -0.014), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.253, 0.437).threePointArc((0.253, 0.437), (0.505, 0)).threePointArc((0.253, -0.437), (-0.253, -0.437)).threePointArc((-0.505, 0), (-0.253, 0.437)).close().sweep(cq.Workplane(cq.P... | 3 | 13 | 0.829557 |
train_fcfa65d28aa6ee08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.001), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.94, 0.729).lineTo(0.94, 0).lineTo(-0.94, 0).lineTo(-0.94, 0.729).lineTo(-0.579, 0.729).lineTo(-0.579, 0.365).lineTo(0.579, 0.365).lineTo(0.579, 0.729).lineTo(0.94, 0.729).close().extrude(... | 10 | 64 | 1.958286 |
train_fc067b0674192ed0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.468, -0.242), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.065, 0.222).lineTo(0.048, 0.152).threePointArc((0.095, 0.131), (0.104, 0.082)).lineTo(0.051, 0.011).lineTo(0.065, -0.06).threePointArc((-0.104, 0.082), (0.065, 0.222)).close().re... | 6 | 54 | 0.407031 |
train_14a7ef87ccfcaa9d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.354), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.925, 0.331).lineTo(1, 0.255).lineTo(1, -0.331).lineTo(-0.873, -0.331).lineTo(-1, -0.203).lineTo(-1, 0.197).threePointArc((-0.961, 0.292), (-0.867, 0.331)).lineTo(0.925, 0.331).close().extr... | 11 | 86 | 0.423476 |
train_417ee9ca34aab59d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.089, 0.096).threePointArc((0.095, 0.093), (0.098, 0.086)).lineTo(0.098, -0.071).threePointArc((0.091, -0.088), (0.074, -0.096)).lineTo(-0.046, -0.096).threePointArc((-0.083, -0.08), (-0.098, -0.042)).lineTo(-0.098, 0.08).threePointArc((-0.094, 0.091... | 1 | 18 | 0.057047 |
train_247c37cf4a4a9a75 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.106).lineTo(0.67, 0).lineTo(1, -0.106).lineTo(0.171, -0.106).lineTo(0.171, 0.106).lineTo(1, 0.106).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = re... | 10 | 62 | 0.132156 |
train_8feffb13071aab40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.845, 0.53, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.468, 1.501).threePointArc((0.454, 1.263), (0.583, 1.064)).lineTo(0.715, 0.626).lineTo(0.468, 0.189).threePointArc((-0.715, 0.845), (0.468, 1.501)).close().workplane(offset=0.277).moveTo... | 7 | 6 | 2.327091 |
train_8802cb4a37f9856b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, 0.004, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.502, 0.222).lineTo(0.502, 0.028).threePointArc((0.536, 0.008), (0.616, 0)).lineTo(0.859, 0).threePointArc((0.961, -0.011), (1.004, -0.036)).lineTo(1.004, -0.171).threePointArc((0.909, ... | 12 | 318 | 0.432915 |
train_a9df5c2dac65dcca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.374, 0, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.072, 1).lineTo(1.072, -1).lineTo(-1.072, -1).lineTo(-1.072, 1).lineTo(-0.348, 1).lineTo(-0.348, -0.447).lineTo(0.348, -0.447).lineTo(0.348, 1).lineTo(1.072, 1).close().extrude(0.179)
re... | 15 | 68 | 0.373344 |
train_55da8eb01083c0f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.784, 0.39).threePointArc((0.935, 0.328), (1, 0.174)).lineTo(1, -0.116).threePointArc((0.918, -0.309), (0.726, -0.39)).lineTo(-0.698, -0.39).threePointArc((-0.911, -0.302), (-1, -0.088)).li... | 10 | 86 | 0.238788 |
train_6bb9e3fa8a93a109 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 1).lineTo(0.421, 0.918).lineTo(0.849, 0.547).lineTo(1.009, 0).lineTo(0.849, -0.547).lineTo(0.421, -0.918).lineTo(-0.145, -1).lineTo(-0.66, -0.764).lineTo(-0.969, -0.286).lineTo(-0... | 4 | 36 | 0.445072 |
train_b0b8053edcc3fed3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.284, 0.026, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.705, -0.191).threePointArc((0.235, 0.952), (0.705, -0.952)).lineTo(-0.705, -0.191).close().moveTo(0.651, -0.121).lineTo(0.523, -0.251).threePointArc((0.188, 0.182), (0.651, -0.12... | 24 | 242 | 0.57598 |
train_39df1264ee1fc569 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.776, 2).extrude(0.306)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.202, -0.686).lineTo(0.202, -0.813).lineTo(-0.202, -0.813)... | 10 | 59 | 0.149215 |
train_d9f56e426e0973e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.158, 0.72, 0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.333, 0.176).lineTo(0.333, 0.176).lineTo(0.376, 0.168).lineTo(0.414, 0.143).lineTo(0.445, 0.104).lineTo(0.465, 0.054).lineTo(0.471, 0).lineTo(0.465, -0.054).lineTo(0.445, -0.104).li... | 5 | 258 | 0.398786 |
train_fcb18abe6b92d031 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.253, 0, -0.432), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.633, 0.724).threePointArc((0.712, 0.684), (0.746, 0.589)).lineTo(0.746, 0.487).threePointArc((0.715, 0.4), (0.643, 0.363)).lineTo(0.555, 0.363).threePointArc((0.48, 0.324), (0.448, 0.2... | 21 | 3,771 | 0.62288 |
train_486b027ea0b0eae3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.509, 1).threePointArc((0.854, 0.854), (1, 0.509)).lineTo(1, -0.08).threePointArc((0.925, -0.258), (0.746, -0.333)).lineTo(0.581, -0.333).threePointArc((0.407, -0.407), (0.333, -0.581)).lin... | 11 | 145 | 1.617028 |
train_6ea41dc5ae302601 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, 0.086, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.246, -0.331).threePointArc((0.258, -0.256), (0.162, -0.207)).lineTo(0.122, -0.068).lineTo(0.147, -0.038).threePointArc((0.128, -0.003), (0.266, 0.181)).lineTo(0.281, 0.207).lineTo... | 7 | 300 | 0.842279 |
train_2ebe171cf2e6af2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.601, 0, -0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.33, -0.068).lineTo(0.307, -0.139).lineTo(0.361, -0.182).lineTo(0.285, -0.287).lineTo(0.227, -0.249).lineTo(0.167, -0.293).lineTo(0.185, -0.359).lineTo(0.062, -0.399).lineTo(0.037, -0.33... | 4 | 50 | 0.83207 |
train_9d6bd1c52041a713 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.012, -0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.303).lineTo(1, 0.184).lineTo(0.189, 0.184).lineTo(0.189, -0.184).lineTo(1, -0.184).lineTo(1, -0.303).lineTo(-1, -0.303).lineTo(-1, -0.184).lineTo(-0.189, -0.184).lineTo(-0.189, 0.1... | 8 | 66 | 0.26574 |
train_2c6a862782c1b654 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.327, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.196, 2).lineTo(0.196, 0.196).lineTo(0.654, 0.196).lineTo(0.654, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.196, 2).close().extrude(0.327, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 20 | 18 | 0.219402 |
train_384249e10f44941f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.488, -0.63, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.913, 0.63).threePointArc((0, -0.284), (-0.913, 0.63)).threePointArc((0, 1.543), (0.913, 0.63)).close().workplane(offset=0.177).moveTo(0.893, 0.63).threePointArc((0, -0.264), (-0.893, 0... | 14 | 7 | 0.445338 |
train_bb52114ebcfbf5fa | 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.2, 1).lineTo(0.2, 0.6).lineTo(0.6, 0.6).lineTo(0.6, 0.2).lineTo(1, 0.2).lineTo(1, -0.2).lineTo(-0.2, -0.2).lineTo(-0.2, -1).lineTo(-0.6, -1).lineTo(-0.6, 0.2).lineTo(-1, 0.2).lineTo(-1, 1).... | 7 | 14 | 0.8736 |
train_a35106fab0b59d33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.458, 1).threePointArc((0.712, 0.892), (0.818, 0.64)).lineTo(0.818, -0.588).threePointArc((0.698, -0.877), (0.407, -1)).lineTo(-0.423, -1).threePointArc((-0.702, -0.882), (-0.818, -0.605)).... | 3 | 33 | 0.987636 |
train_9f8e8706a0df2178 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.33), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.461).lineTo(1, -0.461).lineTo(-0.612, -0.461).lineTo(-1, -0.073).lineTo(-1, 0.194).lineTo(-0.733, 0.194).lineTo(-0.733, 0.461).lineTo(1, 0.461).close().extrude(0.147)
result = result.uni... | 15 | 54 | 0.364027 |
train_f6239472277dbad5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.477)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.874).extrude(1.432, both=True))
result = result.union(cq.Workpl... | 10 | 61 | 0.468975 |
train_b924c028fb6481c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.525), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 1).lineTo(0.9, -0.442).threePointArc((0.742, -0.829), (0.349, -1)).lineTo(-0.9, -1).lineTo(-0.9, 0.764).threePointArc((-0.831, 0.924), (-0.672, 1)).lineTo(0.9, 1).close().extrude(0.638)... | 11 | 42 | 1.344328 |
train_4aecbc1f23d6dc3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.014).extrude(1.005)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.014, 0, -0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-1.014, 1.014), (-2.028, 0), (-1.014, -1.01... | 9 | 58 | 1.861105 |
train_9a6c54b3aafa52d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.407), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.022).extrude(0.813)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.022, 0, -0.407), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.3, 0.722), (-1.022, 1.022), (-1.744, 0.7... | 4 | 31 | 1.260928 |
train_5e86f28506c90686 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.312), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.624).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.624).lineTo(-0.804, 0.624).lineTo(-0.804, 0.189).lineTo(0.804, 0.189).lineTo(0.804, 0.624).lineTo(1, 0.624).close().extrude(0.595, both=Tru... | 4 | 45 | 0.450438 |
train_6be8afc67a08cc3e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.259), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.956, 0.518).lineTo(0.956, 0.271).lineTo(1.023, 0.271).lineTo(1.023, 0).lineTo(0.592, 0).lineTo(0.592, 0.518).lineTo(0.956, 0.518).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax... | 11 | 62 | 0.656154 |
train_fb2d130d7ba717c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.022, 0, -0.311), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.222).lineTo(1, 0.082).lineTo(1, 0).lineTo(0.872, 0).lineTo(0.872, 0.07).lineTo(0.776, 0.222).lineTo(0, 0.114).lineTo(0, 0.234).lineTo(0.498, 0.234).lineTo(0.912, 0.222).close()... | 6 | 57 | 0.532085 |
train_8787702991ac6a27 | 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).threePointArc((0.664, 0.664), (1, 0)).threePointArc((0.664, -0.664), (0, -1)).threePointArc((-0.664, -0.664), (-1, 0)).threePointArc((-0.664, 0.664), (0, 1)).close().extrude(0.211)
res... | 6 | 252 | 0.580275 |
train_e43848e306b145c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.389), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.249, 0.743).lineTo(0.328, 0.666).lineTo(0.328, -0.694).threePointArc((0.313, -0.729), (0.278, -0.743)).lineTo(-0.299, -0.743).lineTo(-0.328, -0.716).lineTo(-0.328, 0.697).threePointArc((-0... | 10 | 57 | 1.305287 |
train_dfa1a22c7e166b84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.748).lineTo(1, -0.748).lineTo(-1, -0.748).lineTo(-1, 0.748).lineTo(-0.612, 0.748).lineTo(-0.612, -0.364).lineTo(0.612, -0.364).lineTo(0.612, 0.748).lineTo(1, 0.748).close().extrude(1.117... | 29 | 59 | 0.575948 |
train_d592fa346bb9295b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, -0.124).lineTo(0.988, -0.154).lineTo(0.978, -0.213).lineTo(0.92, -0.21).lineTo(0.885, -0.329).lineTo(0.929, -0.371).lineTo(0.905, -0.424).lineTo(0.851, -0.409).lineTo(0.789, -0.518).l... | 3 | 117 | 0.566359 |
train_cbe425527d6d0279 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.346, -0.281, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.691).threePointArc((0.489, 0.489), (0.691, 0)).lineTo(0.173, 0).threePointArc((0.123, 0.123), (0, 0.173)).lineTo(0, 0.691).close().extrude(2)
result = result.union(cq.Workplane(cq... | 4 | 52 | 0.647392 |
train_74bbc4f4fc9a7065 | 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.194, 0.221).threePointArc((0.35, 0.156), (0.415, 0)).threePointArc((0.35, -0.156), (0.194, -0.221)).threePointArc((0.038, -0.156), (-0.026, 0)).threePointArc((0.038, 0.156), (0.194, 0.221)).cl... | 2 | 179 | 0.283152 |
train_70d4cf6ab4a09b80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.079, 0.165, 0.155), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.415, 0.62).threePointArc((0.728, 0.398), (0.844, 0.091)).threePointArc((0.737, -0.219), (0.431, -0.45)).threePointArc((0.009, -0.539), (-0.415, -0.462)).threePointArc((-0.728, -0.2... | 5 | 48 | 0.664443 |
train_4ea619f764bb35f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.796), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.591)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.32), normal=(0.545, 0, 0.839), xDir=(0.839, 0, -0.545))).circle(0.311).extrude(2.592))
result = result.cut(cq.Wo... | 7 | 44 | 1.787702 |
train_9100e53a66acf3e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.811), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.236, 1).threePointArc((-0.17, 0.971), (-0.143, 0.906)).lineTo(-0.143, 0.814).threePointArc((-0.113, 0.744), (-0.043, 0.714)).lineTo(0.069, 0.714).threePointArc((0.121, 0.692), (0.143, 0.6... | 6 | 261 | 1.571564 |
train_a896145d7c0fd820 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.797), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.006).extrude(0.288)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.006, 0, -0.797), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.295, 0.711), (-1.006, 1.006), (-1.717, 0... | 14 | 233 | 0.814114 |
train_e1134638c3d74727 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.449, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.26, 0.989).threePointArc((-0.014, 0.914), (0.235, 0.768)).threePointArc((0.449, 0.574), (0.593, 0.36)).threePointArc((0.648, 0.16), (0.604, 0.004)).threePointArc((0.468, -0.085), (0.26, ... | 7 | 36 | 1.747862 |
train_07a6fb4818b1423f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.162, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.489, 1.676).extrude(0.278)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.038, 1, -0.094), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.054, 1.306).threePointArc((0.212, 1.261), (0.... | 17 | 192 | 0.166175 |
train_120c91ba0a50ea1d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.233, 0.974).threePointArc((0.376, 0.929), (0.511, 0.863)).threePointArc((0.634, 0.778), (0.744, 0.675)).threePointArc((0.837, 0.558), (0.911, 0.427)).threePointArc((0.965, 0.287), (0.997, ... | 7 | 189 | 2.115096 |
train_f3dd4fc4fc8bbbc6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.339, 0, -0.283), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.179, 0.566).lineTo(0.179, 0.179).lineTo(0.678, 0.179).lineTo(0.678, 0).lineTo(0, 0).lineTo(0, 0.566).lineTo(0.179, 0.566).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 3 | 16 | 0.360615 |
train_436c7e8c6211e5c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.295, 1).threePointArc((0.519, 0.906), (0.611, 0.684)).lineTo(0.611, -1).lineTo(-0.192, -1).threePointArc((-0.489, -0.876), (-0.611, -0.581)).lineTo(-0.611, 1).lineTo(0.295, 1).close().extr... | 16 | 32 | 0.47086 |
train_2a5ecda8c074e923 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.136, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.37, 1.12).threePointArc((-0.11, 1.021), (0, 0.789)).lineTo(0, 0.306).threePointArc((0.027, 0.248), (0.091, 0.224)).lineTo(0.373, 0.224).threePointArc((0.462, 0.19), (0.5, 0.11)).lineTo... | 6 | 39 | 0.82248 |
train_d2554792c1478070 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.705, -0.117, 0.511), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.136, -0.016).threePointArc((0.19, -0.034), (0.212, -0.057)).threePointArc((0.208, -0.072), (0.147, -0.066)).lineTo(0.173, -0.145).threePointArc((0.132, -0.161), (0.076, -0.14)).t... | 2 | 37 | 0.268298 |
train_f70b623c298bbbab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.226, -0.054, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.454).threePointArc((0.321, 0.321), (0.454, 0)).lineTo(0.142, 0).threePointArc((0.101, 0.101), (0, 0.142)).lineTo(0, 0.454).close().extrude(1.199)
result = result.union(cq.Work... | 6 | 39 | 0.49206 |
train_fdfb3969e512f8aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.688, 0.132, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.103, 1.119).lineTo(0.322, 0.455).lineTo(1, 0.259).lineTo(0.428, -0.155).lineTo(0.449, -0.854).lineTo(-0.119, -0.446).lineTo(-0.781, -0.684).lineTo(-0.565, -0.015).lineTo(-1, 0.541).lin... | 17 | 108 | 1.844473 |
train_ca54c0231b39e1be | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.389), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.686, 0.396).lineTo(0.686, 0.087).lineTo(1, 0.087).lineTo(1, -0.396).lineTo(-0.732, -0.396).lineTo(-1, -0.132).lineTo(-1, 0.396).lineTo(0.686, 0.396).close().extrude(0.088)
result = result.... | 21 | 168 | 0.252916 |
train_5b9622565375e4b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.011, 0.035).lineTo(0.03, 0.022).lineTo(0.037, 0).lineTo(0.03, -0.022).lineTo(0.011, -0.035).lineTo(-0.011, -0.035).lineTo(-0.03, -0.022).lineTo(-0.037, 0).lineTo(-0.03, 0.022).lineTo(-0.01... | 5 | 40 | 0.012506 |
train_5af42b4d56f96e77 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, -0.385, -0.392), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.108, 0.614).lineTo(0.477, 0.401).lineTo(0.623, 0).lineTo(0.477, -0.401).lineTo(0.108, -0.614).lineTo(-0.312, -0.539).lineTo(-0.586, -0.214).lineTo(-0.586, 0.214).lineTo(-0.312, 0... | 6 | 143 | 0.895644 |
train_916e2515202b97c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.056, 0.663).lineTo(1.056, 0.332).lineTo(0.529, 0).lineTo(1.056, -0.332).lineTo(1.056, -0.663).lineTo(0.529, -0.994).lineTo(-0.529, -0.994).lineTo(-1.056, -0.663).lineTo(-1.056, -0.332).... | 4 | 232 | 2.601171 |
train_09bc7a1772f84265 | 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.927, 2).lineTo(0.927, 1.896).lineTo(0.806, 1.896).lineTo(0.806, 0.845).lineTo(0.804, 0.845).lineTo(0.804, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.927, 2).close().revolve(angleDegrees=360, axisS... | 7 | 48 | 1.895843 |
train_4f1a41624b6c7a10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.762, 0, 0.107), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.237, 0.35).lineTo(0.237, -0.35).threePointArc((0.044, -0.542), (-0.148, -0.35)).lineTo(-0.111, -0.21).threePointArc((-0.191, -0.16), (-0.219, -0.07)).threePointArc((-0.204, -0.001), (... | 3 | 36 | 0.57556 |
train_a8228251d220d6fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.741), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.332, 0.681).lineTo(0.332, -0.681).threePointArc((0.059, -0.95), (-0.214, -0.681)).threePointArc((-0.164, -0.514), (-0.148, -0.34)).lineTo(-0.119, 0).lineTo(-0.332, 0.34).lineTo(-0.214, 0.6... | 6 | 58 | 1.104156 |
train_7cbe803e9dc402f4 | 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(1, 0.357).lineTo(1, -0.337).threePointArc((0.958, -0.369), (0.926, -0.383)).lineTo(-0.939, -0.383).threePointArc((-0.962, -0.373), (-1, -0.35)).lineTo(-1, 0.383).lineTo(0.946, 0.383).lineTo(... | 11 | 72 | 0.584542 |
train_0102c876bbc6ffba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.237, 0.204, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.596, 0.067).lineTo(0.596, 0.04).lineTo(-0.398, 0.04).lineTo(-0.398, 0.013).lineTo(0.596, 0.013).lineTo(0.596, -0.067).lineTo(-0.596, -0.067).lineTo(-0.596, -0.04).lineTo(0.398, -0.04).... | 17 | 136 | 0.290363 |
train_cd8d82ae3d5cfc90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.627, -0.255, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.254).threePointArc((0.886, 0.886), (1.254, 0)).lineTo(0.749, 0).threePointArc((0.53, 0.53), (0, 0.749)).lineTo(0, 1.254).close().extrude(1.298)
result = result.union(cq.Workpl... | 11 | 47 | 1.63205 |
train_4dcf6746dc1dcec9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.136, -0.376), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.242, 0.863).lineTo(0.242, 0.745).lineTo(0.36, 0.745).lineTo(0.36, -0.741).lineTo(0.237, -0.863).lineTo(-0.224, -0.863).threePointArc((-0.319, -0.823), (-0.36, -0.728)).lineTo(-0.36, 0.... | 9 | 61 | 0.350306 |
train_9ad3060cd906dacf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.998, -0.562).lineTo(0.993, -0.579).lineTo(0.985, -0.595).lineTo(0.973, -0.609).lineTo(0.959, -0.622).lineTo(0.942, -0.633).lineTo(0.923, -0.642).lineTo(0.903, -0.649).lineTo(0.881, -0.653)... | 7 | 253 | 1.667087 |
train_7222f4ea9e930afd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.106, -0.003, 0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.182, 0.518).lineTo(0.544, 0.143).lineTo(0.405, -0.374).lineTo(-0.096, -0.518).lineTo(-0.544, -0.12).lineTo(-0.296, 0.461).lineTo(0.182, 0.518).close().extrude(0.573, taper=11.496, ... | 15 | 229 | 0.976383 |
train_0104e8eca9f95f2c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.501, 0.886).threePointArc((-0.405, 0.858), (-0.364, 0.794)).lineTo(-0.364, -0.321).threePointArc((-0.304, -0.418), (-0.16, -0.458)).lineTo(0.923, -0.458).threePointArc((0.977, -0.474), (1,... | 9 | 18 | 1.87082 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.