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_8a327156e616e3f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.339).lineTo(1, 0.183).lineTo(0.307, 0.183).lineTo(0.307, -0.183).lineTo(1, -0.183).lineTo(1, -0.339).lineTo(-1, -0.339).lineTo(-1, -0.183).lineTo(-0.307, -0.183).lineTo(-0.307, 0.183).l... | 8 | 18 | 0.430067 |
train_8feb4851c5869466 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.969, 1).lineTo(0.969, -1).lineTo(-0.323, -1).lineTo(-0.323, -0.2).lineTo(-0.969, -0.2).lineTo(-0.969, 0.6).lineTo(-0.323, 0.6).lineTo(-0.323, 1).lineTo(0.969, 1).close().extrude(0.84, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0... | 4 | 34 | 4.989596 |
train_b85b4a242ecf0925 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.147, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.768, 0.371).threePointArc((0.827, 0.36), (0.852, 0.333)).lineTo(0.852, 0.194).threePointArc((0.827, 0.167), (0.768, 0.156)).lineTo(0.357, 0.156).threePointArc((0.273, 0.14), (0.238, 0... | 18 | 187 | 0.064078 |
train_2c20b28d680ed4fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.023, 0.326, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.67).threePointArc((0.447, 0.447), (0.67, 0)).threePointArc((0.447, -0.447), (0, -0.67)).threePointArc((-0.447, -0.447), (-0.67, 0)).threePointArc((-0.447, 0.447), (0, 0.67)).clo... | 4 | 10 | 0.223892 |
train_757ae265d230c0fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.024, -0.347, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.873, 0.455).lineTo(0.873, 0.253).lineTo(0.172, 0.253).lineTo(0.172, -0.455).lineTo(-0.172, -0.455).lineTo(-0.172, 0.253).lineTo(-0.873, 0.253).lineTo(-0.873, 0.455).lineTo(0.873, ... | 5 | 62 | 0.810839 |
train_4c00f7ec152d8dd1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, -0.145, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.613, 0.799).threePointArc((0.773, 0.709), (-0.106, -0.465)).lineTo(-0.606, -0.754).threePointArc((-0.773, -0.85), (-0.702, -0.587)).lineTo(-0.035, -0.202).threePointArc((0.395, -0.176... | 3 | 17 | 0.681278 |
train_072218509ebc3ff5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, -0.535, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.136, 0.297).lineTo(0.136, 0.059).lineTo(0.273, 0.059).lineTo(0.273, -0.178).lineTo(0.136, -0.178).lineTo(0.136, -0.297).lineTo(0, -0.297).lineTo(0, -0.059).lineTo(-0.136, -0.059).lin... | 21 | 72 | 0.470827 |
train_3c8af61c6ac3cba3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.488, -1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.511, 0.281).threePointArc((0.477, 0.134), (0.608, -0.125)).threePointArc((0.552, -0.384), (0.317, -0.466)).threePointArc((0.085, -0.477), (-0.138, -0.511)).threePointArc((-0.364, -0.463),... | 9 | 45 | 3.591746 |
train_3d7ef2991fc54cfd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, -0.019, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.861, -0.132).lineTo(0.873, -0.215).threePointArc((0.871, -0.231), (0.86, -0.242)).lineTo(0.801, -0.278).threePointArc((0.788, -0.283), (0.774, -0.282)).lineTo(-0.577, -0.032).threePoi... | 3 | 45 | 0.877386 |
train_cbd8fca94ed1dbd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.085, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.778, 2.169).extrude(0.214)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.085, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.177, 0.872).lineTo(0.177, 0.861).lineTo(-0.17... | 19 | 115 | 0.272045 |
train_6969bdcdace83a79 | 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.134, 0.197).threePointArc((0.151, 0.19), (0.157, 0.174)).lineTo(0.157, 0.129).threePointArc((0.154, 0.121), (0.146, 0.118)).lineTo(-0.061, 0.118).threePointArc((-0.073, 0.113), (-0.079, 0.1)).... | 10 | 26 | 0.16848 |
train_5f59d3e29bc134b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.133, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.355, 1).threePointArc((0.455, 0.949), (0.498, 0.849)).lineTo(0.498, 0.63).threePointArc((0.538, 0.538), (0.63, 0.498)).lineTo(0.818, 0.498).threePointArc((0.939, 0.445), (1, 0.321)).li... | 21 | 89 | 0.484227 |
train_91e262de3aa0632e | 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.221, 0.147).lineTo(0.221, -0.147).lineTo(-0.221, -0.147).lineTo(-0.221, 0).lineTo(-0.074, 0).lineTo(-0.074, 0.147).lineTo(0.221, 0.147).close().extrude(2, taper=2.456)
result = result.cut(cq.W... | 9 | 71 | 0.09106 |
train_f10b6bd8a64e586d | 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.691, 1.888).lineTo(0.691, 1.476).lineTo(0.577, 1.476).lineTo(0.577, 1.229).lineTo(0.353, 1.229).lineTo(0.353, 0.714).lineTo(0.329, 0.714).lineTo(0.329, 0).lineTo(0, 0).lineTo(0, 1.888).lineTo... | 3 | 47 | 1.278583 |
train_5bc9155dcea4257f | 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.875, 0.878).lineTo(0.875, 0.313).lineTo(0.424, 0.313).lineTo(0.424, 0).lineTo(0, 0).lineTo(0, 0.878).lineTo(0.875, 0.878).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 14 | 227 | 1.435866 |
train_890bf018d923cb0c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, -1.664, 0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.306, 1.368).lineTo(1.306, 0.654).lineTo(2.027, 0.654).lineTo(2.027, -0.499).lineTo(1.152, -0.499).lineTo(1.152, -1.368).lineTo(-2.027, -1.368).lineTo(-2.027, 0.507).lineTo(-1.162,... | 9 | 18 | 3.865436 |
train_b3e864c9068d6b75 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.626, 0.347).threePointArc((1, 0), (0.626, -0.347)).lineTo(-0.626, -0.347).threePointArc((-1, 0), (-0.626, 0.347)).lineTo(0.626, 0.347).close().workplane(offset=0.34... | 3 | 16 | 0.430771 |
train_62c57fe90eb57bf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.931, 0.772).threePointArc((0.979, 0.752), (1, 0.704)).lineTo(1, -0.702).lineTo(0.928, -0.772).lineTo(-0.941, -0.772).lineTo(-1, -0.715).lineTo(-1, 0.736).threePointArc((-0.988, 0.761), (-0.... | 11 | 158 | 0.963369 |
train_ab14def22c122b2c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.168, 0.02, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.668, 0.49).threePointArc((0.718, 0.473), (0.735, 0.423)).lineTo(0.735, -0.49).threePointArc((-0.245, -0.98), (-0.735, -0.49)).lineTo(-0.735, 0.49).threePointArc((-0.245, 0.98), (0.2... | 16 | 301 | 0.515254 |
train_0b11cc023d793cce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.186, 0.245, -0.054), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.067, 0.765).threePointArc((0.167, 0.734), (0.313, 0.573)).threePointArc((0.334, 0.55), (0.339, 0.519)).threePointArc((0.364, 0.497), (0.361, 0.464)).lineTo(0.371, 0.408).threePoi... | 9 | 315 | 0.499595 |
train_d822efb51f7d6fff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.275, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.269).lineTo(1, -0.149).threePointArc((0.964, -0.233), (0.88, -0.269)).lineTo(-0.869, -0.269).threePointArc((-0.961, -0.231), (-1, -0.138)).lineTo(-1, 0.269).lineTo(1, 0.269).close()... | 11 | 42 | 1.209032 |
train_981b6d24a0325970 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.631, 0.644).threePointArc((0.891, 0.536), (1, 0.275)).lineTo(1, -0.492).threePointArc((0.954, -0.599), (0.847, -0.644)).lineTo(-0.824, -0.644).threePointArc((-0.947, -0.592), (-1, -0.468))... | 3 | 19 | 0.715661 |
train_0f5fec08f3f140c8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.348, 0.99).lineTo(0.74, 0.922).lineTo(-0.057, -0.99).lineTo(-0.449, -0.922).lineTo(-0.74, -0.786).lineTo(-0.706, -0.707).lineTo(-0.316, -0.603).lineTo(-0.607, -0.468).lineTo(-0.574, -0.389).lineTo(-0.183, -0.285).lineTo(-0.475, -0.149).lineTo(-0.442... | 4 | 90 | 0.169109 |
train_c0683b4cfe585f9d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.861, 0.532, -0.82), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.139, 0.145).lineTo(0.139, 0.105).lineTo(-0.097, 0.105).lineTo(-0.097, -0.105).lineTo(0.139, -0.105).lineTo(0.139, -0.145).lineTo(-0.139, -0.145).lineTo(-0.139, 0.145).lineTo(0.139, ... | 10 | 88 | 0.347198 |
train_69c11fc2bb1565d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.403, -0.25, -0.316), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.231, 0.632).lineTo(0.231, 0.231).lineTo(0.807, 0.231).lineTo(0.807, 0).lineTo(0, 0).lineTo(0, 0.632).lineTo(0.231, 0.632).close().extrude(0.75, both=True)
result = result.cut(cq.... | 11 | 85 | 0.698206 |
train_7f93825847a6b729 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.06).lineTo(0.042, 0.042).lineTo(0.06, 0).lineTo(0.042, -0.042).lineTo(0, -0.06).lineTo(-0.042, -0.042).lineTo(-0.06, 0).lineTo(-0.042, 0.042).lineTo(0, 0.06).close().extrude(1, both=Tru... | 9 | 43 | 0.018777 |
train_0d43d5ab18a1e72e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.351, 0.323, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.043, 0.192).lineTo(0.193, 0.031).threePointArc((0.261, 0.033), (0.388, -0.029)).lineTo(0.37, -0.033).lineTo(0.338, -0.067).lineTo(0.252, -0.101).lineTo(0.451, -0.061).threePointArc... | 23 | 239 | 0.846562 |
train_44117c086d87fbd7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.361).lineTo(1, 0.176).lineTo(-0.463, 0.176).lineTo(-0.463, -0.176).lineTo(1, -0.176).lineTo(1, -0.361).lineTo(-1, -0.361).lineTo(-1, 0.361).lineTo(1, 0.361).close().extrude(0.524)
resul... | 12 | 29 | 0.268912 |
train_c5a0c928b5153074 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.093, -0.143, -0.026), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.738, 0.303).threePointArc((0.857, 0.287), (0.907, 0.247)).lineTo(0.907, -0.048).threePointArc((0.86, -0.085), (0.749, -0.101)).lineTo(0.507, -0.101).threePointArc((0.363, -0.122),... | 24 | 273 | 0.796766 |
train_fd61e8f6193af0c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.054, -0.147, -0.561), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.877, 0.724).threePointArc((0.925, 0.708), (0.945, 0.67)).lineTo(0.945, 0.369).threePointArc((0.915, 0.313), (0.844, 0.29)).lineTo(-0.22, 0.29).threePointArc((-0.339, 0.251), (-0.3... | 8 | 43 | 1.854723 |
train_e6582f370db3c7e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.402, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.597).extrude(0.295)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.402, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.414).extrude(0.884, both=True))
result = result.union... | 17 | 110 | 0.443852 |
train_774be23414b646ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.256, 0.285, 0.206), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.096, 0.501).threePointArc((0.191, 0.459), (0.288, 0.493)).lineTo(0.48, 0.424).threePointArc((0.794, 0.11), (0.48, -0.204)).threePointArc((0.356, -0.239), (0.24, -0.18)).threePointA... | 9 | 123 | 0.609617 |
train_f49fba529a1bac59 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.247, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.536, 0.752).lineTo(0.536, -0.752).lineTo(-0.536, -0.752).lineTo(-0.536, 0.752).lineTo(0.536, 0.752).close().extrude(0.268)
result = result.union(cq.Workplane(cq.Plane(origin=(0.067, 0.... | 6 | 30 | 0.485002 |
train_6f733a5e87af96cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.228, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.204, 1).lineTo(0.566, 0.638).lineTo(0.566, -0.794).lineTo(0.361, -1).lineTo(-0.254, -1).lineTo(-0.566, -0.69).lineTo(-0.566, 1).lineTo(0.204, 1).close().extrude(0.261)
result = result.... | 9 | 80 | 0.217327 |
train_673c67bcd0e0f1f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.595, 0.896).threePointArc((0.666, 0.866), (0.696, 0.799)).lineTo(0.696, 0.06).threePointArc((0.713, 0.018), (0.755, 0)).lineTo(0.939, 0).threePointArc((0.976, -0.016), (1, -0.053)).lineTo(... | 5 | 151 | 0.971255 |
train_544ba9b6c6e54101 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.281, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.262, 1.437).extrude(0.204)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.281, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.038, 0.051).lineTo(0.038, -0.051).lineTo(-0.0... | 13 | 56 | 0.121827 |
train_8768a7b0449bf001 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.042, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.483, 0.232).lineTo(-0.483, -0.143).lineTo(1, -0.143).lineTo(1, -0.232).lineTo(-1, -0.232).lineTo(-1, 0.232).lineTo(-0.483, 0.232).close().extrude(0.082)
result = result.union(cq.Workp... | 15 | 225 | 0.283977 |
train_64f7812e30da4f33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.085, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.665).lineTo(1, -0.665).lineTo(-1, -0.665).lineTo(-1, 0.665).lineTo(1, 0.665).close().extrude(0.51, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.58, -0.228), ... | 12 | 59 | 1.209353 |
train_22329ead473fe641 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.098, 0.72, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.049, 0.183).threePointArc((0.074, 0.129), (0.095, 0.164)).lineTo(0.134, 0.134).threePointArc((0.129, 0.074), (0.164, 0.095)).lineTo(0.183, 0.049).threePointArc((0.149, 0), (0.19, 0)... | 8 | 165 | 0.031742 |
train_abec2d141daaf688 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.079, 0.631, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.341, 0.907).threePointArc((0.527, 0.829), (0.605, 0.644)).lineTo(0.605, -0.096).threePointArc((0.667, -0.241), (0.812, -0.303)).lineTo(1.079, -0.303).threePointArc((1.171, -0.342)... | 11 | 18 | 0.367009 |
train_4c3fe14632bc4a91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.181, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.007, 0.664).lineTo(0.477, 0.462).lineTo(0.663, 0.018).lineTo(0.461, -0.478).lineTo(0.002, -0.664).lineTo(-0.466, -0.473).lineTo(-0.663, 0.017).lineTo(-0.458, 0.481).lineTo(0.007, 0.664)... | 7 | 97 | 1.621084 |
train_93f4637f03e62fb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.095, 0.208, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.571, -0.184).lineTo(-0.648, -0.173).lineTo(-0.631, -0.132).lineTo(-1.095, 0.211).lineTo(-0.178, 0.336).lineTo(-0.111, 0.307).lineTo(-0.035, 0.326).lineTo(0.241, 0.244).threePointAr... | 5 | 79 | 0.164018 |
train_8adf7332a690c85c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.005, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.731, -0.085).threePointArc((-0.931, -0.128), (-0.721, 0.057)).lineTo(0.664, 0.057).threePointArc((0.931, 0.128), (0.664, -0.079)).lineTo(-0.731, -0.085).close().extrude(0.193, ta... | 3 | 11 | 0.053425 |
train_c41322851f48e3dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.019, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, 0.473).lineTo(1, 0.323).lineTo(1, -0.308).lineTo(0.835, -0.473).lineTo(-0.838, -0.473).lineTo(-1, -0.31).lineTo(-1, 0.273).lineTo(-0.801, 0.473).lineTo(0.851, 0.473).close().extr... | 17 | 151 | 0.256082 |
train_62ce879c6dcc66c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.904).lineTo(1, -0.904).lineTo(-1, -0.904).lineTo(-1, 0.904).lineTo(1, 0.904).close().extrude(0.388)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.12), normal=(0, 0, 1), xD... | 17 | 110 | 1.979072 |
train_881cdf0434079424 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.019, 0.11).lineTo(0.06, 0.092).threePointArc((0.076, 0.074), (0.093, 0.057)).lineTo(0.111, 0.013).threePointArc((0.11, -0.002), (0.111, -0.017)).lineTo(0.091, -0.065).threePointArc((0.076, -0.079), (0.062, -0.093)).lineTo(0.021, -0.11).threePointArc... | 4 | 77 | 0.239814 |
train_c23de52ca76eb262 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.561, 0.237).lineTo(0.912, 0.161).lineTo(1, 0.083).lineTo(1, 0).lineTo(0.853, 0).lineTo(0.853, 0.071).lineTo(0.758, 0.161).lineTo(0, 0.099).lineTo(0, 0.237).lineTo(0.561, 0.237).close().re... | 5 | 25 | 0.270401 |
train_8af0ace3a7b0a272 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.294, 0.214, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.706, 1.225).lineTo(0.692, 1.138).lineTo(0.847, 1.074).lineTo(0.816, 0.969).lineTo(0.65, 1.01).lineTo(0.61, 0.931).lineTo(0.742, 0.826).lineTo(0.676, 0.736).lineTo(0.532, 0.827).lineTo(... | 9 | 132 | 0.694439 |
train_15f851bc7cd1aebc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, -0.353, -0.021), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.63, 1.327).threePointArc((0.693, 1.301), (0.719, 1.238)).lineTo(0.719, -0.444).threePointArc((0.693, -0.507), (0.63, -0.533)).lineTo(-0.63, -0.533).threePointArc((-0.693, -0.507)... | 8 | 84 | 2.913813 |
train_e0f26c94f0269a46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.287, -0.098, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.599, 0.267).lineTo(0.599, -0.263).lineTo(0.587, -0.276).lineTo(-0.59, -0.276).threePointArc((-0.598, -0.272), (-0.599, -0.265)).lineTo(-0.599, 0.259).threePointArc((-0.596, 0.27),... | 15 | 74 | 1.178526 |
train_ee5268ff4595bd67 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.59, -0.442, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.558).threePointArc((0.394, 0.394), (0.558, 0)).threePointArc((0.394, -0.394), (0, -0.558)).threePointArc((-0.394, -0.394), (-0.558, 0)).threePointArc((-0.394, 0.394), (0, 0.558)).c... | 1 | 6 | 0.82318 |
train_fef6473795078fff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.519, 0.096, 0.129), normal=(0.873, -0.303, 0.381), xDir=(0.328, 0.945, 0))).moveTo(-0.468, 0.369).lineTo(0.894, 0.029).lineTo(0.605, -0.134).lineTo(0.097, -0.007).lineTo(-0.549, -0.369).lineTo(-0.894, -0.282).lineTo(-0.249, 0.079).lineTo(-0.757... | 16 | 203 | 0.685579 |
train_05e300bded1903b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.761, 0.303).lineTo(1, 0.064).lineTo(1, -0.046).lineTo(0.743, -0.303).lineTo(-0.85, -0.303).lineTo(-1, -0.153).lineTo(-1, 0.078).lineTo(-0.775, 0.303).lineTo(0.761, 0.303).close().extrude(0.... | 4 | 12 | 0.235755 |
train_ba128710e33149e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.228, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.507).lineTo(1, -0.434).threePointArc((0.978, -0.487), (0.927, -0.507)).lineTo(-0.946, -0.507).threePointArc((-0.984, -0.493), (-1, -0.455)).lineTo(-1, 0.385).lineTo(-0.878, 0.507).l... | 8 | 122 | 0.739849 |
train_3a3bba8ad633aee9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.477), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.795).lineTo(1, 0.159).lineTo(0.221, 0.159).lineTo(0.221, 0).lineTo(0, 0).lineTo(0, 0.795).lineTo(1, 0.795).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
res... | 7 | 131 | 1.316804 |
train_d2b10d8edf815783 | 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.84).extrude(0.277)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.84, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.84, 0.84), (-1.68, 0), (-0.84, -0.84)]).rect(0.573... | 6 | 35 | 0.997923 |
train_33fe6ed68b056f5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.086, 0.552, 0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.448, 0).threePointArc((0, -0.448), (-0.448, 0)).threePointArc((0, 0.448), (0.448, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.086, 0.552, 0.122), normal=(0, -1, 0), xDir=(1,... | 4 | 14 | 0.141764 |
train_fee9b55b81aa130b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.441, 0.813).threePointArc((-0.365, 0.774), (-0.333, 0.681)).lineTo(-0.333, 0.156).threePointArc((-0.295, 0.046), (-0.205, 0)).lineTo(0.819, 0).threePointArc((0.946, -0.065), (0.999, -0.219... | 11 | 184 | 2.48906 |
train_bc32c62b567d2252 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.729, 0.714).lineTo(0.999, -0.107).lineTo(0.546, -0.703).threePointArc((0.045, -0.598), (-0.362, -0.853)).threePointArc((-0.739, -0.501), (-0.999, -0.089)).threePointArc((-0.885, 0.38),... | 8 | 8 | 0.441372 |
train_9302a7fd30ca3979 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.318).lineTo(0.747, -0.159).lineTo(1, -0.268).lineTo(0.934, -0.318).lineTo(0.699, -0.316).lineTo(0.411, -0.281).lineTo(-0.174, -0.14).lineTo(-0.664, 0.073).lineTo(-1, 0.318).close(... | 5 | 82 | 0.063353 |
train_af0b7e46450c34d4 | 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(1, 0.286).lineTo(1, -0.283).threePointArc((0.991, -0.303), (0.971, -0.311)).lineTo(-0.951, -0.311).threePointArc((-0.985, -0.297), (-1, -0.263)).lineTo(-1, 0.311).lineTo(0.973, 0.311).lineTo... | 10 | 191 | 0.410815 |
train_8cf4da55832a9ee3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.058, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.667, 0.674).lineTo(1.667, 0).lineTo(1, 0).lineTo(1, -0.674).lineTo(0.333, -0.674).lineTo(0.333, -0.337).lineTo(-0.333, -0.337).lineTo(-0.333, -0.674).lineTo(-1, -0.674).lineTo(-1, 0.33... | 12 | 140 | 0.640704 |
train_e00aad0fad663f43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.931, 0.574).threePointArc((0.979, 0.556), (1, 0.508)).lineTo(1, -0.479).threePointArc((0.971, -0.547), (0.902, -0.574)).lineTo(-0.877, -0.574).threePointArc((-0.962, -0.54), (-1, -0.453)).... | 8 | 27 | 1.104201 |
train_b539f53e1b78a6a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.181, 0.012, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.302, 0.544).lineTo(-0.117, 0.19).lineTo(-0.08, 0.12).threePointArc((0.312, -0.418), (0.339, 0.159)).threePointArc((0.302, 0.229), (0.493, 0.284)).threePointArc((0.29, -0.587), (-0... | 26 | 233 | 0.11989 |
train_b63bb9f495e79199 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.058, -0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.504, 0.158).spline([(-0.504, 0.158), (0.055, 0.294), (0.847, 0.197)]).lineTo(0.828, -0.271).lineTo(0.085, -0.294).lineTo(-0.311, -0.217).lineTo(-0.962, -0.083).lineTo(-0.504, 0.158).c... | 4 | 44 | 1.17121 |
train_ef4f5cfc17b8f29e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.301, 0.276), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.004, 0.294).lineTo(0.291, 0.042).lineTo(0.004, -0.294).lineTo(-0.291, -0.042).lineTo(-0.2, 0.063).lineTo(0.002, -0.109).lineTo(0.108, 0.015).lineTo(-0.094, 0.188).lineTo(-0.004, 0... | 2 | 18 | 0.170726 |
train_c40d6b74f423bafc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.575, 1).threePointArc((0.875, 0.875), (1, 0.575)).lineTo(1, -0.595).threePointArc((0.881, -0.881), (0.595, -1)).lineTo(-1, -1).lineTo(-1, 1).lineTo(0.575, 1).close().extrude(0.28)
result = ... | 8 | 24 | 0.682807 |
train_c77a1f619139b321 | 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.193, 0.222).lineTo(0.193, 0.032).lineTo(-0.097, 0.032).lineTo(-0.097, -0.032).lineTo(0.193, -0.032).lineTo(0.193, -0.222).lineTo(-0.193, -0.222).lineTo(-0.193, -0.159).lineTo(0.097, -0.159).li... | 8 | 27 | 0.229085 |
train_47b8739beafe32b7 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0).threePointArc((0, -1), (-1, 0)).threePointArc((0, 1), (1, 0)).close().extrude(0.18, taper=0.295, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.088, 0.408, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.031, -0.147).lineTo(... | 8 | 358 | 0.905889 |
train_3eec237c324229ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.843, 0.525, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.383, 1.273).threePointArc((0.383, 1.273), (0.766, 0.609)).threePointArc((0.383, -0.054), (-0.383, -0.054)).threePointArc((-0.766, 0.609), (-0.383, 1.273)).close().moveTo(-0.033, 0.444... | 3 | 31 | 2.494207 |
train_31af7e46c8e6374d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, -0.053, 1.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.023, 0.241).lineTo(0.108, 0.218).lineTo(0.18, 0.163).lineTo(0.227, 0.087).lineTo(0.244, 0).lineTo(0.227, -0.087).lineTo(0.18, -0.163).lineTo(0.108, -0.218).lineTo(0.023, -0.241).l... | 10 | 30 | 0.095707 |
train_bab58e0d91d59ee6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, 0.216, -0.262), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.177, 0.65).threePointArc((0.491, 0.52), (0.621, 0.206)).lineTo(0.621, 0.067).threePointArc((0.491, -0.247), (0.177, -0.378)).lineTo(-0.177, -0.378).threePointArc((-0.491, -0.247), (-0... | 11 | 68 | 3.827276 |
train_d1650643893e114e | 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(0.999, -0.784).lineTo(0.996, -0.794).lineTo(0.991, -0.804).lineTo(0.985, -0.813).lineTo(0.977, -0.821).lineTo(0.967, -0.828).lineTo(0.957, -0.834).lineTo(0.945, -0.838).lineTo(0.933, -0.84).... | 15 | 397 | 1.903102 |
train_d6901462c590a915 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.222).lineTo(1, 0.082).lineTo(1, 0).lineTo(0.879, 0).lineTo(0.879, 0.07).lineTo(0.783, 0.222).lineTo(0, 0.121).lineTo(0, 0.233).lineTo(0.6, 0.233).lineTo(0.912, 0.222).close().revol... | 4 | 34 | 0.232965 |
train_8d66f97618d19624 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.164, 0.001, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.764, 0.779).threePointArc((0.815, 0.762), (0.836, 0.723)).lineTo(0.836, -0.558).threePointArc((0.75, -0.713), (0.546, -0.779)).lineTo(-0.493, -0.779).threePointArc((-0.734, -0.701)... | 8 | 128 | 0.341856 |
train_feb82bd7696a27f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.784, 0.636).lineTo(0.912, 0.527).lineTo(1, 0.222).lineTo(1, 0).lineTo(0.869, 0).lineTo(0.869, 0.19).lineTo(0.774, 0.527).lineTo(0, 0.514).lineTo(0, 0.636).lineTo(0.784, 0.636).close().rev... | 12 | 66 | 0.529637 |
train_ff4f1cc64ffadfd7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.566, 1).threePointArc((0.683, 0.951), (0.731, 0.832)).lineTo(0.731, -0.802).threePointArc((0.673, -0.94), (0.533, -1)).lineTo(-0.415, -1).lineTo(-0.415, -0.683).lineTo(-0.731, -0.683).line... | 6 | 43 | 0.303279 |
train_140f5ad342ddedf0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.075, 0.907).threePointArc((0.256, 0.855), (0.332, 0.735)).lineTo(0.332, 0.088).threePointArc((0.369, 0.026), (0.46, 0)).lineTo(0.761, 0).threePointArc((0.922, -0.048), (1, -0.161)).lineTo(... | 12 | 50 | 1.373308 |
train_6df30a46bb6f57e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.033, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, -0.128).threePointArc((0.825, -0.216), (0.812, -0.303)).threePointArc((0.789, -0.389), (0.759, -0.472)).threePointArc((0.72, -0.551), (0.674, -0.626)).threePointArc((0.62, -0.696), (0.... | 3 | 42 | 4.748564 |
train_55f9ff318d7a6f4c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.646), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.144, 1).lineTo(0.418, 0.919).lineTo(0.849, 0.547).lineTo(1.01, 0).lineTo(0.849, -0.547).lineTo(0.418, -0.919).lineTo(-0.144, -1).lineTo(-0.66, -0.763).lineTo(-0.97, -0.285).lineTo(-0.... | 2 | 25 | 0.965072 |
train_38aad85c1dee5608 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.171, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.347, 0.579).threePointArc((0.124, 0.846), (0.507, 0.518)).lineTo(0.347, -0.579).threePointArc((-0.124, -0.846), (-0.507, -0.518)).lineTo(-0.347, 0.579).close().extrude(4.72, both=True).in... | 4 | 30 | 1.964204 |
train_8c5c4fff88c3d1d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.884), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, 0.273).threePointArc((0.509, 0.269), (0.514, 0.258)).lineTo(0.514, 0.182).threePointArc((0.508, 0.169), (0.495, 0.164)).lineTo(0.095, 0.164).threePointArc((0.082, 0.159), (0.076, 0.14... | 4 | 82 | 0.705278 |
train_5f6a7a13e342fb39 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.141, 0.537, -0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.455, 0.086).threePointArc((0.086, -0.455), (-0.455, -0.086)).threePointArc((-0.086, 0.455), (0.455, 0.086)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.141, 0.537, -0.069), nor... | 1 | 4 | 0.386665 |
train_760aa71f90477547 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, 0.549, 0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.435, 0.116).threePointArc((0.116, 0.435), (0.435, -0.116)).threePointArc((-0.116, -0.435), (-0.435, 0.116)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.051, 0.549, 0.033), norm... | 3 | 48 | 0.180279 |
train_2b5519f25c350346 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.755, 0.742, 0.158), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.333, 1.593).threePointArc((-0.167, 1.521), (-0.035, 1.423)).threePointArc((0.066, 1.334), (0.16, 1.276)).threePointArc((0.269, 1.246), (0.408, 1.221)).threePointArc((0.566, 1.171)... | 8 | 50 | 1.723626 |
train_e67d4fbc526ac9e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.397), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.897).lineTo(1, 0.42).lineTo(0.238, 0.42).lineTo(0.238, -0.897).lineTo(-0.238, -0.897).lineTo(-0.238, 0.42).lineTo(-1, 0.42).lineTo(-1, 0.897).lineTo(1, 0.897).close().extrude(0.636)
res... | 12 | 86 | 1.174995 |
train_022a2069619b9db9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.026, -0.003, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.158, 0.394).threePointArc((-0.124, 0.381), (-0.11, 0.351)).lineTo(-0.11, 0.239).threePointArc((-0.096, 0.209), (-0.063, 0.197)).lineTo(0.037, 0.197).threePointArc((0.088, 0.177), (0.... | 4 | 80 | 0.746003 |
train_d40095a4386975b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.277, 0, -0.125), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.355, 0.548).lineTo(0.714, -0.448).threePointArc((0.625, -0.637), (0.436, -0.548)).lineTo(0.076, 0.448).threePointArc((0.165, 0.637), (0.355, 0.548)).close().revolve(angleDegrees=360, ... | 10 | 95 | 0.952777 |
train_9b61429c9798b100 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.048, -0.049, -0.003), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.591, 0.238).lineTo(0.629, 0.217).lineTo(0.664, 0.098).lineTo(0.703, 0.077).lineTo(0.86, 0.091).lineTo(0.895, -0.028).lineTo(0.912, -0.088).lineTo(1.048, -0.112).lineTo(0.964, -0.... | 3 | 44 | 0.570466 |
train_bdd82131a893f89c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.226, 0.376, 0.709), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.277, 0.395).lineTo(0.29, 0.309).lineTo(0.289, 0.236).threePointArc((0.223, 0.25), (0.224, 0.211)).threePointArc((0.247, 0.096), (0.202, 0.046)).lineTo(0.122, 0.13).threePointArc((0... | 6 | 233 | 0.199143 |
train_1a8dd55b0415ced2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.123, 0.025, -0.437), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.031, 0.665).lineTo(0.042, 0.555).lineTo(0.163, 0.61).lineTo(0.137, 0.48).lineTo(0.261, 0.435).lineTo(0.151, 0.361).lineTo(0.207, 0.241).lineTo(0.077, 0.267).lineTo(0.031, 0.142).... | 8 | 107 | 0.608682 |
train_140b9e048ba1993e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.122, 0.153, -0.898), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.205, 0.35).lineTo(0.263, 0.293).lineTo(0.263, 0.213).lineTo(0.301, 0.175).lineTo(0.374, 0.175).lineTo(0.438, 0.111).lineTo(0.438, -0.07).lineTo(0.333, -0.175).lineTo(0.125, -0.175... | 7 | 169 | 1.173161 |
train_df3402fb07732336 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.702, -0.52), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.174, 0.369).threePointArc((0.328, 0.272), (0.395, 0.103)).threePointArc((0.355, -0.095), (0.221, -0.266)).threePointArc((0.027, -0.367), (-0.174, -0.369)).threePointArc((-0.328, -0.272... | 10 | 292 | 0.859545 |
train_c60f99710bdcf049 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.547), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.928, 0.732).threePointArc((0.973, 0.713), (1, 0.668)).lineTo(1, 0.32).threePointArc((0.968, 0.262), (0.91, 0.238)).lineTo(-0.439, 0.238).threePointArc((-0.483, 0.219), (-0.501, 0.175)).lin... | 8 | 52 | 2.228481 |
train_808e44cc1afd68d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.311, -0.48, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.94).threePointArc((0.263, 0.831), (0.372, 0.569)).threePointArc((0.263, 0.306), (0, 0.197)).threePointArc((-0.263, 0.306), (-0.372, 0.569)).threePointArc((-0.263, 0.831), (0, 0.94))... | 4 | 49 | 0.781394 |
train_51cdd56145a48fd8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.412, 0.34), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.156, 0.583).threePointArc((0.412, 0.477), (0.519, 0.221)).lineTo(0.519, -0.221).threePointArc((0.412, -0.477), (0.156, -0.583)).lineTo(-0.156, -0.583).threePointArc((-0.412, -0.477), (... | 7 | 69 | 1.027609 |
train_078cc8014387c474 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.409, 0, -0.33), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.591).lineTo(0.417, 0.417).lineTo(0.591, 0).lineTo(0.417, -0.417).lineTo(0, -0.591).lineTo(-0.417, -0.417).lineTo(-0.591, 0).lineTo(-0.417, 0.417).lineTo(0, 0.591).close().extrude(0.6... | 5 | 71 | 0.197621 |
train_33053b81f5553aa3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.31, 0.091, 0.016), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.076, 0.278).lineTo(0.124, 0.092).lineTo(-0.124, 0.031).lineTo(-0.076, 0.278).close().extrude(0.867)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.155, 1.306, 0.084), norma... | 7 | 65 | 0.362241 |
train_bd3fa702dcf8c522 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.011, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.687, 0.676).lineTo(-0.687, -0.495).lineTo(1, -0.495).lineTo(1, -0.676).lineTo(-1, -0.676).lineTo(-1, 0.676).lineTo(-0.687, 0.676).close().extrude(0.524)
result = result.union(cq.Work... | 4 | 104 | 0.668856 |
train_2e8389ddf82eccfa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.288, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.672).extrude(1.023)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.288, 0, -0.283), normal=(0.683, 0, 0.731), xDir=(0.731, 0, -0.683))).circle(0.449).extrude(1.336))
result = ... | 7 | 35 | 0.512104 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.