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_aed18c7d33d45d1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.301), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.616).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.616).lineTo(-0.571, 0.616).lineTo(-0.571, 0.423).lineTo(0.571, 0.423).lineTo(0.571, 0.616).lineTo(1, 0.616).close().extrude(0.384, both=Tru... | 15 | 160 | 0.747049 |
train_77aff47b138a862a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.676), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.899).lineTo(1, -0.899).lineTo(-1, -0.899).lineTo(-1, 0.899).lineTo(-0.569, 0.899).lineTo(-0.569, -0.477).lineTo(0.569, -0.477).lineTo(0.569, 0.899).lineTo(1, 0.899).close().extrude(1.35... | 7 | 56 | 0.906059 |
train_2c193acf874ba1cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.751, -0.886, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.501, 1.846).threePointArc((0.846, 1.701), (1, 1.352)).lineTo(1, 0.42).threePointArc((0.846, 0.071), (0.501, -0.075)).lineTo(-0.501, -0.075).threePointArc((-0.846, 0.071), (-1, 0.42)).... | 10 | 20 | 1.718498 |
train_a5bad8872002e32d | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.264).lineTo(0.787, 0).lineTo(1, -0.264).lineTo(0.191, -0.264).lineTo(0.191, 0.264).lineTo(1, 0.264).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.063, -0.158, 0.076),... | 14 | 94 | 0.618118 |
train_daef9666528a4530 | 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.491, 0.386).workplane(offset=2).rect(1.863, 0.434).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.086), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.412, 0.365).lineTo(0.541, ... | 2 | 12 | 0.669618 |
train_18f9e9547dd2d98b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.918, 0.726).threePointArc((0.974, 0.703), (1, 0.646)).lineTo(1, -0.573).threePointArc((0.954, -0.682), (0.845, -0.726)).lineTo(-0.884, -0.726).threePointArc((-0.965, -0.693), (-1, -0.613)).... | 17 | 477 | 0.405299 |
train_adfc012e6e82b2e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.121, 2).extrude(0.428)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.425, 0.866).lineTo(0.425, -0.866).lineTo(-0.425, -0.866).... | 5 | 34 | 0.278848 |
train_d29bb7af292fff61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.953, -0.938, 0.643), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.288, 0).threePointArc((0, -1.288), (-1.288, 0)).threePointArc((0, 1.288), (1.288, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-1.953, -0.938, 0.643), normal=(0, -1, 0), xDir=(... | 5 | 27 | 3.293905 |
train_36de5b5daf806d88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.704), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.976).lineTo(0.849, -0.966).threePointArc((0.84, -0.984), (0.824, -1)).lineTo(-0.832, -1).lineTo(-0.849, -0.976).lineTo(-0.849, 1).lineTo(0.83, 1).lineTo(0.849, 0.976).close().extrud... | 9 | 63 | 1.986735 |
train_05e281b813e9ae33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.296), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.593)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.296), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.924).extrude(1.778, both=True))
result = result.union(cq.Workpl... | 13 | 59 | 0.925902 |
train_db5b0a4251b73396 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.244, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.641, 0.739).threePointArc((0.719, 0.69), (0.752, 0.575)).lineTo(0.752, 0.289).threePointArc((0.694, 0.086), (0.556, 0)).lineTo(-0.166, 0).threePointArc((-0.226, -0.037), (-0.251, -0.1... | 12 | 118 | 0.357574 |
train_8892a690d27c2f35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.274, 0.234).lineTo(0.309, 0.199).lineTo(0.309, -0.182).lineTo(0.257, -0.182).lineTo(0.257, -0.234).lineTo(-0.263, -0.234).threePointArc((-0.296, -0.221), (-0.309, -0.188)).lineTo(-0.309, 0... | 10 | 44 | 0.421859 |
train_97a77661fde168b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.471, 0, 0.076), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.221, 0.508).lineTo(0.31, 0.314).lineTo(-0.232, 0.066).lineTo(-0.101, -0.219).lineTo(0.441, 0.03).lineTo(0.529, -0.163).lineTo(-0.221, -0.508).lineTo(-0.529, 0.163).lineTo(0.221, 0.508... | 1 | 10 | 0.53412 |
train_78f9358c22bab06a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.115, -0.016, -0.725), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.121, 0.127).lineTo(0.121, 0.104).threePointArc((0.119, 0.098), (0.113, 0.096)).lineTo(0.035, 0.096).threePointArc((0.023, 0.091), (0.019, 0.08)).lineTo(0.019, -0.126).threePointAr... | 19 | 99 | 0.036587 |
train_d9724059823ea9a9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.03, 0.227, 0.593), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.712, 0.621).lineTo(0.712, -0.621).lineTo(-0.712, -0.621).lineTo(-0.712, 0.621).lineTo(-0.284, 0.621).lineTo(-0.284, -0.048).lineTo(0.284, -0.048).lineTo(0.284, 0.621).lineTo(0.712, ... | 16 | 171 | 0.843296 |
train_770051200c0a71c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.466, 0.856, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.072, 0.125).threePointArc((0.072, 0.125), (0.144, 0)).threePointArc((0.072, -0.125), (-0.072, -0.125)).threePointArc((-0.144, 0), (-0.072, 0.125)).close().transformed(offset=(0.1... | 6 | 45 | 0.062116 |
train_825d6b555215eca5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.662, -0.075).lineTo(0.991, -0.138).lineTo(0.972, -0.232).lineTo(0.645, -0.166).lineTo(0.622, -0.238).lineTo(0.925, -0.379).lineTo(0.884, -0.467).lineTo(0.583, -0.32).lineTo(0.543, -0.... | 4 | 221 | 0.82498 |
train_f71997b75eaf1fd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.647).extrude(0.296)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.804, -0.191).lineTo(0.804, -0.634).lineTo(-0.804, -0.634)... | 9 | 30 | 0.519121 |
train_4842cec9302d3635 | 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.128, 0.617).threePointArc((-0.038, 0.583), (0, 0.501)).lineTo(0, 0.364).threePointArc((0.018, 0.325), (0.062, 0.309)).lineTo(0.229, 0.309).threePointArc((0.308, 0.278), (0.342, 0.207)).lineTo... | 27 | 141 | 1.522478 |
train_d5d65abbc2fb2297 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, -0.025, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.296, -0.046).threePointArc((-0.379, -0.067), (-0.29, 0.023)).lineTo(0.25, 0.023).threePointArc((0.379, 0.067), (0.25, -0.041)).lineTo(-0.296, -0.046).close().extrude(1, both=True)
re... | 16 | 106 | 0.087979 |
train_e4743ab192c8a36b | 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.828, 0.287).lineTo(0.828, 0.115).lineTo(1, 0.115).lineTo(1, -0.005).lineTo(0.718, -0.287).lineTo(-0.853, -0.287).threePointArc((-0.956, -0.244), (-1, -0.14)).lineTo(-1, 0.099).threePointAr... | 1 | 11 | 0.226009 |
train_d0fc61710073e922 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.563, 0.743).threePointArc((-0.401, 0.666), (-0.331, 0.486)).lineTo(-0.331, 0.29).threePointArc((-0.255, 0.086), (-0.075, 0)).lineTo(0.826, 0).threePointArc((0.943, -0.055), (1, -0.185)).lineTo(1, -0.583).threePointArc((0.949, -0.695), (0.847, -0.74... | 7 | 106 | 1.149375 |
train_94c9b97fc5e4466d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.279, -0.91), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.804, 0.539).threePointArc((1, 0.343), (0.804, 0.147)).threePointArc((0.521, 0.146), (0.268, 0.019)).lineTo(-0.268, 0.221).lineTo(-0.804, 0.147).threePointArc((-1, 0.343), (-0.804, 0.53... | 7 | 18 | 1.371075 |
train_72255198d0610d25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.085, -0.288), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.672).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.672).lineTo(-0.698, 0.672).lineTo(-0.698, 0.298).lineTo(0.698, 0.298).lineTo(0.698, 0.672).lineTo(1, 0.672).close().extrude(0.332, bot... | 7 | 47 | 0.711796 |
train_83efeaa775a53b80 | 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.603, 0.548).lineTo(0.706, 0.443).lineTo(0.706, -0.548).lineTo(-0.624, -0.548).threePointArc((-0.682, -0.524), (-0.706, -0.465)).lineTo(-0.706, 0.439).threePointArc((-0.675, 0.517), (-0.598... | 9 | 48 | 0.418511 |
train_6a9c2e18fe4737c9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.115), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.894, 1.539).lineTo(0.894, 0.936).lineTo(1, 0.936).lineTo(1, 0.691).lineTo(0.433, 0.691).lineTo(0.433, 0).lineTo(0, 0).lineTo(0, 1.539).lineTo(0.894, 1.539).close().revolve(angleDegrees=36... | 6 | 22 | 2.145934 |
train_0b6073b2a86c87ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.722, 0.388).lineTo(0.92, 0.21).lineTo(1, 0.136).lineTo(1, 0).lineTo(0.709, 0).lineTo(0.709, 0.117).lineTo(0.608, 0.21).lineTo(0, 0.097).lineTo(0, 0.388).lineTo(0.722, 0.388).close().revol... | 3 | 17 | 0.710335 |
train_2a513f7aea8ae708 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.569).extrude(1.045, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.18).extrude(0.97, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir... | 13 | 63 | 0.807477 |
train_176f0ceb395a5b8b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.021, 0, -0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.978, 0.258).lineTo(0.978, -0.205).threePointArc((0.962, -0.242), (0.924, -0.258)).lineTo(-0.936, -0.258).lineTo(-0.978, -0.216).lineTo(-0.978, 0.223).lineTo(-0.942, 0.258).lineTo(0.978... | 10 | 104 | 0.367753 |
train_62e20998478b22ba | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.112).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.1).extrude(0.199, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.042, 0, 0), normal=(1, 0, 0), xDi... | 7 | 30 | 0.034389 |
train_c2add01148c9efb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.641, 0, -0.227), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.243, 0.348).lineTo(0.243, 0.243).lineTo(1.281, 0.243).lineTo(1.281, 0).lineTo(0, 0).lineTo(0, 0.348).lineTo(0.243, 0.348).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 8 | 120 | 0.630181 |
train_a5bd5e572c1a1e89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.648, 0.227), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.075, 0.425).lineTo(0.257, 0.372).lineTo(0.117, -0.111).lineTo(0.319, -0.169).lineTo(0.266, -0.352).lineTo(-0.319, -0.183).lineTo(-0.266, 0).lineTo(-0.065, -0.058).lineTo(0.075, 0.425).c... | 4 | 20 | 1.248571 |
train_6153cf67ccb27082 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.466, 0.239).lineTo(-0.466, -0.14).lineTo(1, -0.14).lineTo(1, -0.239).lineTo(-1, -0.239).lineTo(-1, 0.239).lineTo(-0.466, 0.239).close().extrude(0.347)
result = result.cut(cq.Workplane(cq.... | 15 | 126 | 0.092885 |
train_46b21bb8c4851a56 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.761, 0.416).lineTo(0.912, 0.323).lineTo(1, 0.145).lineTo(1, 0).lineTo(0.824, 0).lineTo(0.824, 0.125).lineTo(0.725, 0.323).lineTo(0, 0.243).lineTo(0, 0.416).lineTo(0.761, 0.416).close().re... | 7 | 70 | 0.389093 |
train_b37058f8242c7a5a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.588, 0.911).threePointArc((-0.519, 0.881), (-0.489, 0.816)).lineTo(-0.489, -0.046).threePointArc((-0.378, -0.304), (-0.118, -0.413)).lineTo(0.895, -0.413).threePointArc((0.963, -0.441), (... | 17 | 121 | 0.56893 |
train_f3451518afa04957 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.865, -0.202, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.61).threePointArc((1.138, 1.138), (1.61, 0)).lineTo(0.741, 0).threePointArc((0.524, 0.524), (0, 0.741)).lineTo(0, 1.61).close().extrude(2.853)
result = result.union(cq.Workpla... | 9 | 12 | 0.087951 |
train_67c55b6162c59cc3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.197, 0.118).lineTo(0.197, -0.118).lineTo(-0.197, -0.118).lineTo(-0.197, -0.039).lineTo(0.118, -0.039).lineTo(0.118, 0.039).lineTo(-0.197, 0.039).lineTo(-0.197, 0.118).lineTo(0.197, 0.118).close().extrude(1, both=True)
result = result.union(cq.Workpl... | 6 | 36 | 0.145985 |
train_8b75ce524ac8a565 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.016, -0.166), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.705, 0.332).lineTo(0.92, 0.301).lineTo(1, 0.116).lineTo(1, 0).lineTo(0.843, 0).lineTo(0.843, 0.1).lineTo(0.743, 0.301).lineTo(0, 0.175).lineTo(0, 0.332).lineTo(0.705, 0.332).close().... | 9 | 72 | 0.196642 |
train_0dcf3db18f54de9c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.421, 0.874).lineTo(1, 0.005).threePointArc((0.671, -0.436), (0.288, -0.828)).lineTo(-0.612, -0.874).threePointArc((-0.887, -0.527), (-1, -0.09)).threePointArc((-0.728, 0.346), (-0.419, 0.7... | 5 | 8 | 0.75298 |
train_7dfa71eaed9ae270 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.391), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.586, 0.782).lineTo(0.92, 0.742).lineTo(1, 0.274).lineTo(1, 0).lineTo(0.74, 0).lineTo(0.74, 0.234).lineTo(0.64, 0.742).lineTo(0, 0.522).lineTo(0, 0.782).lineTo(0.586, 0.782).close().revolv... | 5 | 40 | 0.683802 |
train_e78c95cbe9c951a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.269, -0.297), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.388, 0.212).lineTo(0.551, 0.105).lineTo(0.934, 0.184).threePointArc((0.996, 0.139), (0.967, 0.062)).lineTo(0.623, -0.014).lineTo(0.812, -0.163).threePointArc((0.821, -0.188), (0.773,... | 8 | 95 | 0.380088 |
train_3694aad6d187f997 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.594, -0.096, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.36, 0.363).lineTo(0.36, -0.363).lineTo(-0.36, -0.363).lineTo(-0.36, 0.363).lineTo(-0.217, 0.363).lineTo(-0.217, -0.25).lineTo(0.217, -0.25).lineTo(0.217, 0.363).lineTo(0.36, 0.363... | 16 | 278 | 0.93498 |
train_77c0d06b99f6e525 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.581), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.537, 0.88).lineTo(-0.537, -0.576).lineTo(1, -0.576).lineTo(1, -0.88).lineTo(-1, -0.88).lineTo(-1, 0.88).lineTo(-0.537, 0.88).close().extrude(1.162)
result = result.cut(cq.Workplane(cq.Pla... | 20 | 26 | 1.473354 |
train_824f7aa615ce419c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, -0.106).lineTo(0.981, -0.146).lineTo(0.966, -0.225).lineTo(0.833, -0.206).lineTo(0.805, -0.308).lineTo(0.917, -0.378).lineTo(0.884, -0.45).lineTo(0.764, -0.4).lineTo(0.708, -0.491... | 5 | 142 | 0.77156 |
train_caed9147497e13dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.093, 0.025, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.547, 0.947).lineTo(1.093, 0).lineTo(-0.547, -0.947).lineTo(-0.547, 0.947).close().extrude(0.219)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.093, 0.025, -0.11), normal=(0... | 4 | 39 | 0.178071 |
train_2bbbeb6e63e1db53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.162, 0.838, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.433, 0.773).lineTo(0.771, 0.504).lineTo(0.501, -0.701).lineTo(0.244, -0.72).threePointArc((0.113, -0.773), (-0.004, -0.697)).threePointArc((-0.136, -0.709), (-0.242, -0.626)).lineTo(... | 7 | 150 | 3.292554 |
train_5deaf4d27cafa18c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.99).extrude(0.554)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.19).extrude(1.662, both=True))
result = result.union(cq.Work... | 10 | 16 | 1.702464 |
train_cd07d07b4b585f24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.159, -0.055, -0.285), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.892, 0.215).lineTo(0.944, -0.059).lineTo(0.124, -0.215).lineTo(0.11, -0.145).lineTo(0.267, -0.107).lineTo(0.301, 0.072).lineTo(0.322, 0.106).lineTo(0.61, 0.144).lineTo(0.892, 0.2... | 14 | 283 | 0.9619 |
train_844ad1e8a4e22c82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.081, 0, -0.056), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.755, 0.158).lineTo(0.755, 0).lineTo(-0.755, 0).lineTo(-0.755, 0.158).lineTo(-0.596, 0.158).lineTo(-0.596, 0.159).lineTo(0.596, 0.159).lineTo(0.596, 0.158).lineTo(0.755, 0.158).close()... | 4 | 23 | 0.480004 |
train_2cc2e0db06ac0c9f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.674, 0, -0.257), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.033, 0.225).threePointArc((0.094, 0.226), (0.207, 0.192)).threePointArc((0.288, 0.13), (0.325, 0.047)).threePointArc((0.313, -0.042), (0.253, -0.125)).threePointArc((0.155, -0.189),... | 4 | 247 | 0.107517 |
train_b202f510e146be6a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.283, 0.156, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.112, -0.077).threePointArc((0.053, 0.374), (0.097, -0.156)).threePointArc((0.091, -0.343), (0.029, -0.374)).threePointArc((-0.097, -0.191), (-0.105, -0.134)).lineTo(-0.112, -0.077).c... | 5 | 65 | 1.315636 |
train_b6c0fa97d11bc6ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.115, 0, -0.203), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.199, 0.181).lineTo(0.196, 0.161).lineTo(0.237, 0.145).lineTo(0.229, 0.117).lineTo(0.186, 0.126).lineTo(0.178, 0.107).lineTo(0.212, 0.081).lineTo(0.196, 0.056).lineTo(0.158, 0.076).lin... | 5 | 247 | 0.600006 |
train_73647857b8f423f7 | 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.187, 0.259).lineTo(0.187, 0).lineTo(-0.187, 0).lineTo(-0.187, 0.259).lineTo(-0.155, 0.259).lineTo(-0.155, 0.032).lineTo(0.155, 0.032).lineTo(0.155, 0.259).lineTo(0.187, 0.259).close().ext... | 4 | 32 | 0.056806 |
train_56d82fae489856ef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.564), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, -0.099).lineTo(0.993, -0.128).lineTo(0.978, -0.215).lineTo(0.923, -0.219).lineTo(0.896, -0.315).lineTo(0.937, -0.354).lineTo(0.901, -0.434).lineTo(0.848, -0.426).lineTo(0.8, -0.51... | 3 | 139 | 2.540143 |
train_18b46d5503530ecc | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.932, 0.638).lineTo(0.932, 0).lineTo(0, 0).lineTo(0, -0.638).lineTo(-0.466, -0.638).lineTo(-0.466, 0).lineTo(-0.932, 0).lineTo(-0.932, 0.638).lineTo(0.932, 0.638).close().extrude(0.391, taper=-9.859, both=True)
result = result.cut(cq.Workplane(cq.Pla... | 5 | 301 | 1.023277 |
train_e237b3d82a9cd131 | 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.757, 0.814).threePointArc((-0.715, 0.801), (-0.698, 0.773)).lineTo(-0.698, -0.315).threePointArc((-0.574, -0.519), (-0.283, -0.605)).lineTo(0.948, -0.605).threePointArc((0.979, -0.614), (1... | 15 | 197 | 0.511359 |
train_d5dd6be2a2a787e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.057, 0, 0.439), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.321, 0.981).threePointArc((0.102, 0.77), (0.499, 0.353)).threePointArc((0.76, -0.159), (0.819, -0.627)).threePointArc((0.658, -0.929), (0.321, -0.981)).threePointArc((-0.102, -0.77),... | 19 | 45 | 1.675471 |
train_7412aa6240c46737 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.557, 2).extrude(0.274)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.101, -0.778).lineTo(0.101, -0.822).lineTo(-0.101, -0.822)... | 14 | 43 | 0.234864 |
train_65df5d66be5f8cf8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.102, 0.101).threePointArc((0.108, 0.098), (0.111, 0.091)).lineTo(0.111, 0.069).threePointArc((0.109, 0.063), (0.103, 0.06)).lineTo(-0.064, 0.06).threePointArc((-0.071, 0.057), (-0.074, 0.049)).lineTo(-0.074, 0.028).threePointArc((-0.072, 0.022), (-0... | 14 | 142 | 0.052118 |
train_08c58d70c0f630fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.295).lineTo(1, -0.295).lineTo(-1, -0.295).lineTo(-1, -0.196).lineTo(-0.597, -0.196).lineTo(-0.597, -0.099).lineTo(-0.199, -0.099).lineTo(-0.199, 0.099).lineTo(0.199, 0.099).lineTo(0.199... | 10 | 47 | 0.121777 |
train_3f4d62e88f3bdba0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.483), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.939, 0.673).threePointArc((0.981, 0.655), (1, 0.614)).lineTo(1, -0.644).threePointArc((0.991, -0.665), (0.97, -0.673)).lineTo(-0.964, -0.673).lineTo(-0.964, -0.638).lineTo(-1, -0.638).line... | 4 | 27 | 2.102428 |
train_4032a697d0b3a73c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.104, 0, -0.41), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.895, 0.284).lineTo(0.895, -0.201).threePointArc((0.87, -0.26), (0.813, -0.284)).lineTo(-0.851, -0.284).lineTo(-0.851, -0.24).lineTo(-0.895, -0.24).lineTo(-0.895, 0.284).lineTo(0.895, 0.... | 14 | 89 | 0.32548 |
train_d38d27082582d1ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.568), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.296, 1.136).lineTo(0.296, 0.162).lineTo(1, 0.162).lineTo(1, 0).lineTo(0.197, 0).lineTo(0.197, 1.136).lineTo(0.296, 1.136).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn... | 7 | 33 | 0.550995 |
train_0ae072d339f0fb8b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.41, 0.789).threePointArc((0.823, 0.605), (1, 0.168)).lineTo(1, -0.595).threePointArc((0.943, -0.732), (0.813, -0.789)).lineTo(0.616, -0.789).threePointArc((0.534, -0.753), (0.5, -0.667)).li... | 2 | 32 | 0.425725 |
train_44d5a5f7de9d3e67 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.136, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.135, 0.738).lineTo(0.135, -0.466).threePointArc((0, -0.601), (-0.135, -0.466)).lineTo(-0.135, 0.738).threePointArc((0, 0.872), (0.135, 0.738)).close().extrude(2)
result = result.cut(cq.Wo... | 8 | 6 | 0.764132 |
train_5d0d522eb38ce000 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.495).lineTo(1, -0.495).lineTo(-1, -0.495).lineTo(-1, 0.495).lineTo(1, 0.495).close().extrude(0.24)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.33, 0.12), normal=(0, 0, 1), xD... | 10 | 103 | 0.441596 |
train_3819f9346bf82816 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.543, -0.425, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.084).threePointArc((0.766, 0.766), (1.084, 0)).lineTo(0.322, 0).threePointArc((0.228, 0.228), (0, 0.322)).lineTo(0, 1.084).close().extrude(2)
result = result.union(cq.Workplane(cq... | 4 | 15 | 1.818213 |
train_7abfd7728bb5dc84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.011, -0.311, -0.431), normal=(-0.149, 0.982, 0.119), xDir=(-0.989, -0.15, 0))).moveTo(0.491, 0.573).lineTo(0.491, 0.082).lineTo(-0.328, 0.082).lineTo(-0.328, -0.082).lineTo(0.491, -0.082).lineTo(0.491, -0.573).lineTo(-0.491, -0.573).lineTo(-0.4... | 7 | 231 | 0.460672 |
train_065884be734b58b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.222, 0.976).threePointArc((0.365, 0.933), (0.5, 0.87)).threePointArc((0.623, 0.788), (0.734, 0.688)).threePointArc((0.829, 0.573), (0.905, 0.446)).threePointArc((0.961, 0.308), (0.997, 0.1... | 8 | 61 | 0.563863 |
train_eaefd674619c59aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.617), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.719, 0.8).threePointArc((0.916, 0.719), (1, 0.519)).lineTo(1, -0.657).threePointArc((0.956, -0.758), (0.854, -0.8)).lineTo(-0.802, -0.8).threePointArc((-0.941, -0.742), (-1, -0.602)).lineT... | 10 | 74 | 0.92752 |
train_a506e02fbfbe8027 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.781, 0.55, -0.611), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.164).lineTo(0, 0.055).lineTo(0.219, 0.055).lineTo(0.219, -0.164).lineTo(-0.219, -0.164).lineTo(-0.219, -0.055).lineTo(-0.11, -0.055).lineTo(-0.11, 0.164).lineTo(0, 0.164).close(... | 19 | 202 | 0.400436 |
train_2da1eb67328d6994 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.53, -0.149).lineTo(0.704, -0.597).lineTo(0.284, -0.54).lineTo(0.134, -1).lineTo(-0.129, -0.615).lineTo(-0.514, -0.817).lineTo(-0.466, -0.329).lineTo(-0.862, -0.156).lineTo(-0.53, 0.149).li... | 4 | 82 | 0.863119 |
train_053f8aecd6407f71 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.23).lineTo(0.786, 0).lineTo(1, -0.23).lineTo(0.191, -0.23).lineTo(0.191, 0.23).lineTo(1, 0.23).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.447, -0.047), normal=(... | 11 | 67 | 0.516142 |
train_d28778adacbc8ec2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, 0.001, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.806, -0.162).lineTo(0.977, -0.223).lineTo(0.967, -0.263).lineTo(0.792, -0.222).lineTo(0.733, -0.374).lineTo(0.879, -0.479).lineTo(0.859, -0.514).lineTo(0.704, -0.427).lineTo(0.606... | 2 | 95 | 1.420475 |
train_d48466ed91a1af49 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.717, 0.552).threePointArc((0.758, 0.534), (0.774, 0.494)).lineTo(0.774, -0.456).threePointArc((0.747, -0.523), (0.679, -0.552)).lineTo(-0.656, -0.552).lineTo(-0.774, -0.432).lineTo(-0.774,... | 7 | 47 | 0.130088 |
train_b09a9087bd4a2cb6 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.157).lineTo(0.832, 0).lineTo(1, -0.157).lineTo(0.271, -0.157).lineTo(0.271, 0.157).lineTo(1, 0.157).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=(... | 12 | 72 | 0.575645 |
train_dfd37ef90e127160 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.257), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.216, 0.515).lineTo(0.216, 0).lineTo(-0.216, 0).lineTo(-0.216, 0.515).lineTo(-0.123, 0.515).lineTo(-0.123, 0.093).lineTo(0.123, 0.093).lineTo(0.123, 0.515).lineTo(0.216, 0.515).close().ext... | 9 | 79 | 0.193018 |
train_ab5d25e3dfaa9181 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.406)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.634).extrude(1.218, both=True))
result = result.union(cq.Workpl... | 15 | 231 | 1.043963 |
train_b57021e8c6524aca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 1.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.36, 0.421).lineTo(0.432, -0.395).lineTo(0.298, -0.338).lineTo(0.22, -0.436).lineTo(-0.432, 0.1).lineTo(0.013, 0.436).lineTo(0.36, 0.421).close().moveTo(-0.22, 0.142).threePointArc((0.205, 0... | 6 | 47 | 0.417525 |
train_f51dd190a2ec9a27 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.615).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.529).extrude(0.218, both=True))
result = result.cut(cq.Workplane('XY').circle(0.337).extrude(3, both=True))
result =... | 10 | 72 | 0.825855 |
train_3fc4b6ad950dd2fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.39, 0.335).threePointArc((-0.116, 0.31), (0, 0.248)).lineTo(0, 0.179).threePointArc((0.09, 0.131), (0.302, 0.111)).lineTo(0.809, 0.111).threePointArc((0.937, 0.1), (1, 0.07)).lineTo(1... | 7 | 154 | 0.430299 |
train_9b3d4e6bb1ba3bd5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.077, 0.018, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.64, 1.005).threePointArc((1.376, 0.497), (1.085, -0.349)).lineTo(0.57, -0.658).threePointArc((0.06, -0.984), (-0.357, -1.005)).lineTo(-0.5, -0.948).threePointArc((-0.551, -0.923),... | 5 | 32 | 0.137318 |
train_508e605daaa3a400 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.339, 0.278).threePointArc((0.433, 0.239), (0.471, 0.145)).lineTo(0.471, -0.006).threePointArc((0.391, -0.197), (0.199, -0.278)).lineTo(-0.471, -0.278).lineTo(-0.471, 0.006).threePoint... | 13 | 65 | 0.556102 |
train_2504282a2e5e68cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.032, 0.078, 0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.197, 0.735).threePointArc((0.403, 0.699), (0.735, 0.197)).threePointArc((0.699, -0.403), (0.197, -0.735)).threePointArc((-0.403, -0.699), (-0.735, -0.197)).threePointArc((-0.699, 0... | 1 | 6 | 2.284993 |
train_a30fbccc3c66d6ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.303, -0.163, -0.559), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.836).lineTo(0.464, 0.419).lineTo(0.927, 0).lineTo(0.464, -0.419).lineTo(0, -0.836).lineTo(-0.464, -0.419).lineTo(-0.927, 0).lineTo(-0.464, 0.419).lineTo(0, 0.836).close().extr... | 10 | 60 | 0.563986 |
train_30ec50dd742aed5a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.195).extrude(0.689, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.307), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.34).extrude(0.229, both=True))
result = result... | 5 | 18 | 0.189489 |
train_27b2913d6eb17dc0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.075, 0.456, 0.356), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.556, 0.544).threePointArc((0.599, 0.527), (0.617, 0.484)).lineTo(0.617, -0.484).threePointArc((0.599, -0.527), (0.556, -0.544)).lineTo(-0.556, -0.544).threePointArc((-0.599, -0.527... | 17 | 368 | 1.066099 |
train_cf9eb16cb65a86ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.435, -0.432, -0.642), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.496).lineTo(0.564, 0.246).lineTo(0.126, 0.246).lineTo(0.126, -0.246).lineTo(0.564, -0.246).lineTo(0.564, -0.496).lineTo(-0.564, -0.496).lineTo(-0.564, -0.246).lineTo(-0.126... | 8 | 58 | 0.994683 |
train_8a0fa2d68999800b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, -0.491, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.589, 1.5).threePointArc((0.078, 0.983), (0.284, 0.07)).threePointArc((0.38, -0.056), (0.752, 0.02)).threePointArc((1.662, -1.089), (0.349, -1.5)).threePointArc((0.291, -1.338), ... | 6 | 130 | 1.414512 |
train_525be38d4161cad3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.011, -0.352, -0.553), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.756, 0.808).threePointArc((-0.651, 0.764), (-0.607, 0.659)).lineTo(-0.607, 0.518).threePointArc((-0.573, 0.438), (-0.493, 0.404)).lineTo(0.878, 0.404).threePointArc((0.971, 0.365... | 20 | 141 | 0.3476 |
train_185edab94ea954c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.185, -0.915), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(1, 0.605).lineTo(1, -0.736).lineTo(-1, -0.736).lineTo(-1, 0.605).threePointArc((-0.849, 0.736), (-0.711, 0.605)).threePointArc((-0.568, 0.475), (-0.427, 0.605)).thre... | 3 | 20 | 3.560576 |
train_5109acd7f0d16e78 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 0.973).threePointArc((0.921, 0.851), (0.996, 0.562)).lineTo(0.996, -0.176).threePointArc((0.969, -0.28), (0.905, -0.324)).lineTo(0.724, -0.324).threePointArc((0.635, -0.386), (0.... | 7 | 481 | 1.1057 |
train_d9880542c4b6dde9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.339, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.614, 0.202).lineTo(0.614, 0.155).lineTo(0.661, 0.155).lineTo(0.661, -0.142).threePointArc((0.644, -0.184), (0.601, -0.202)).lineTo(-0.617, -0.202).threePointArc((-0.648, -0.189), (-0.... | 13 | 76 | 0.108553 |
train_5a1f708b69f82401 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.864, 0.164, -0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.013, 0.127).lineTo(-0.013, -0.014).lineTo(0.127, -0.014).lineTo(0.127, -0.127).lineTo(-0.127, -0.127).lineTo(-0.127, 0.127).lineTo(-0.013, 0.127).close().transformed(offset=(0.58... | 4 | 26 | 0.040807 |
train_76cb16c2aae0d05b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.81, -0.175, 0.757), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.051, 0.574).threePointArc((0.115, 0.456), (0.236, 0.191)).threePointArc((0.272, 0.137), (0.466, 0.078)).threePointArc((0.69, -0.62), (-0.025, -0.533)).threePointArc((-0.129, -0.43... | 19 | 188 | 0.505267 |
train_4768dcb6d133f3c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.694, 0.198, -0.276), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.164, 0.148).lineTo(0.164, -0.148).lineTo(-0.164, -0.148).lineTo(-0.164, -0.074).lineTo(-0.082, -0.074).lineTo(-0.082, 0).lineTo(0, 0).lineTo(0, 0.074).lineTo(0.082, 0.074).lineTo... | 6 | 43 | 0.572113 |
train_b2dffda8208a2b58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.303, -0.01, 0.032), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.067, 0.131).threePointArc((0.093, 0.107), (0.104, 0.065)).threePointArc((0.1, 0.013), (0.08, -0.041)).threePointArc((0.049, -0.088), (0.009, -0.121)).threePointArc((-0.031, -0.137)... | 8 | 104 | 0.232763 |
train_8dfc478029d7b924 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.091).lineTo(0.738, 0).lineTo(1, -0.091).lineTo(0.262, -0.091).lineTo(0.262, 0.091).lineTo(1, 0.091).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.387, 0.387, 0), nor... | 13 | 71 | 0.234386 |
train_8030fa6753527f9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.915, 0.287).lineTo(0.912, 0.143).lineTo(1, 0.101).lineTo(1, 0).lineTo(0.891, 0).lineTo(0.891, 0.086).lineTo(0.795, 0.143).lineTo(0, 0.186).lineTo(0, 0.287).lineTo(0.915, 0.287).close().re... | 9 | 106 | 0.332934 |
train_7f6ecaed83b35f45 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.699, 0.238).lineTo(0.699, -0.004).threePointArc((0.63, -0.169), (0.466, -0.238)).lineTo(-0.527, -0.238).threePointArc((-0.649, -0.187), (-0.699, -0.066)).lineTo(-0.699, 0.238).lineTo(0.699... | 6 | 57 | 1.198825 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.