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_edbd0aeb122aa4b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.272, 0.464), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.472, -0.535).lineTo(-0.607, 0.396).lineTo(0.536, 0.535).lineTo(0.607, -0.379).close().moveTo(-0.064, 0.04).lineTo(-0.152, 0.04).lineTo(-0.152, 0.145).lineTo(0.152, 0.145).lineTo(0.152... | 17 | 160 | 1.03408 |
train_a6b536748f4173fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0.109), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.872, 0.26).lineTo(0.842, 0.124).lineTo(0.677, 0.018).lineTo(0.964, 0.027).threePointArc((0.973, -0.26), (0.308, -0.044)).lineTo(0.459, -0.006).lineTo(0.391, 0.009).lineTo(0.872, 0.26).... | 4 | 98 | 0.375463 |
train_c84f461f33637719 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.092, 0, -2.494), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.372).extrude(2.207)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.092, 0, -0.949), normal=(0.096, 0, 0.995), xDir=(0.995, 0, -0.096))).circle(0.538).extrude(1.914))
result = ... | 7 | 14 | 0.758618 |
train_4dab475390e3d7a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.364, 0.763, -0.066), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.095, 0.34).lineTo(0.095, 0.188).lineTo(0.224, 0.188).lineTo(0.224, -0.085).lineTo(0.095, -0.085).lineTo(0.095, -0.237).lineTo(-0.095, -0.237).lineTo(-0.095, -0.085).lineTo(-0.224,... | 11 | 813 | 0.42419 |
train_169b6f7b4985a2ad | 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.689, 0.804).threePointArc((0.907, 0.713), (1, 0.492)).lineTo(1, -0.804).lineTo(-0.767, -0.804).lineTo(-1, -0.569).lineTo(-1, 0.514).threePointArc((-0.914, 0.72), (-0.711, 0.804)).lineTo(0.... | 5 | 68 | 1.079728 |
train_5f6571ecd2ac267d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.385, 0.953).lineTo(0.385, -0.956).threePointArc((0.375, -0.982), (0.349, -1)).lineTo(-0.342, -1).threePointArc((-0.372, -0.98), (-0.385, -0.949)).lineTo(-0.385, 1).lineTo(0.346, 1).lineTo(0... | 15 | 296 | 0.710299 |
train_108cf2a7bb17c717 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 1).lineTo(1, -1).lineTo(-1, -1).lineTo(-1, 1).lineTo(1, 1).close().extrude(0.35)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.718, -0.718, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0... | 8 | 106 | 1.167408 |
train_e4b09eb84f72d9c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.212), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.636, 0.425).lineTo(0.636, 0.259).lineTo(1, 0.259).lineTo(1, 0).lineTo(0.08, 0).lineTo(0.08, 0.425).lineTo(0.636, 0.425).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd... | 8 | 55 | 0.656126 |
train_215b01c451ea1db1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.14, 0.385).lineTo(0.895, 0.224).lineTo(1, 0.176).lineTo(0.877, 0.12).lineTo(0.181, -0.024).lineTo(0.181, -0.393).lineTo(-0.181, -0.393).lineTo(-0.181, -0.024).lineTo(-0.877, 0.12).lineT... | 5 | 83 | 0.04621 |
train_8ef80a4407eaf510 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.251, -1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.246, 0.502).lineTo(0.246, -0.502).threePointArc((0, -0.749), (-0.246, -0.502)).lineTo(-0.246, 0.502).threePointArc((0, 0.749), (0.246, 0.502)).close().revolve(angleDegrees=90, axisStart=(... | 9 | 392 | 1.193133 |
train_2e942d594b763641 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.086, 0.193, 0.377), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.668, -0.532).threePointArc((-0.752, -0.802), (0.047, 0.318)).lineTo(0.542, 0.774).threePointArc((0.676, 0.802), (0.752, 0.555)).lineTo(0.18, 0.032).threePointArc((-0.185, 0.031), (-... | 4 | 22 | 0.248948 |
train_844da0907e47522c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.05, 0.127, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.439, 0.94).threePointArc((0.146, 0.731), (0.146, 0.523)).threePointArc((0.731, -0.731), (0.731, -0.94)).threePointArc((-0.146, -0.731), (-0.146, -0.523)).lineTo(-0.731, 0.731).thre... | 32 | 199 | 0.488034 |
train_6cc90fadc8189daa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.516, 0.479, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.204, 0.489).threePointArc((0.384, 0.336), (0.462, 0.094)).threePointArc((0.415, -0.174), (0.257, -0.394)).threePointArc((0.031, -0.51), (-0.204, -0.489)).threePointArc((-0.384, -0.336... | 10 | 716 | 4.288525 |
train_229f4418601708ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.591, 1).lineTo(0.941, 0.643).lineTo(0.941, -0.776).lineTo(0.726, -1).lineTo(-0.66, -1).threePointArc((-0.858, -0.909), (-0.941, -0.711)).lineTo(-0.941, 0.676).threePointArc((-0.848, 0.899)... | 10 | 115 | 0.392896 |
train_40896a50c3884055 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.077, 0.039, 0.693), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.031, 0.115).lineTo(0.047, 0.047).lineTo(0.115, 0.031).lineTo(0.064, -0.017).lineTo(0.084, -0.084).lineTo(0.017, -0.064).lineTo(-0.031, -0.115).lineTo(-0.047, -0.047).lineTo(-0.115... | 4 | 71 | 0.069366 |
train_d1ad661b3868f75c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.041, 0.088, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.554, 0.132).lineTo(0.42, 0.043).lineTo(1.04, -0.018).lineTo(0.287, -0.045).lineTo(0.485, -0.15).lineTo(0.077, -0.067).lineTo(-0.554, -0.132).lineTo(-0.42, -0.043).lineTo(-1.04, 0.01... | 20 | 293 | 0.19246 |
train_610d2dd7e43dde10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.041, -0.295, 0.596), normal=(0.02, 0.537, 0.843), xDir=(-0.999, 0.038, 0))).moveTo(0.507, 0.39).lineTo(0.507, -0.39).lineTo(-0.507, -0.39).lineTo(-0.507, 0).lineTo(0.117, 0).lineTo(0.117, 0.39).lineTo(0.507, 0.39).close().extrude(0.226, both=Fa... | 12 | 206 | 0.539529 |
train_125d717ed493714e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.051, 1).lineTo(0.023, 0.142).lineTo(0.289, -0.436).lineTo(0.28, -0.72).lineTo(-0.014, -1).lineTo(-0.289, -0.702).lineTo(-0.28, -0.417).lineTo(-0.262, 0.151).lineTo(0.051, 1).close().extrud... | 14 | 151 | 0.161215 |
train_3503150a61040b50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.664, 1).lineTo(0.664, 0.332).lineTo(0, 0.332).lineTo(0, -0.332).lineTo(0.664, -0.332).lineTo(0.664, -1).lineTo(-0.664, -1).lineTo(-0.664, 1).lineTo(0.664, 1).close().extrude(0.772)
result ... | 8 | 66 | 1.561803 |
train_3649add248223234 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.333, -0.096), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.041, 0.516).lineTo(0.201, 0.435).lineTo(0.301, 0.183).lineTo(0.135, -0.034).lineTo(-0.108, -0.001).lineTo(-0.301, 0.142).lineTo(-0.225, 0.37).lineTo(-0.041, 0.516).close().extrude(1... | 12 | 150 | 0.369395 |
train_a979fd3a66576ce1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.71), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.415, 1.739).lineTo(0.415, 0.292).lineTo(1, 0.292).lineTo(1, 0).lineTo(0.06, 0).lineTo(0.06, 1.739).lineTo(0.415, 1.739).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1... | 5 | 19 | 1.487824 |
train_5d1db4932ab1f655 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.217, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.527, 0.782).threePointArc((0.62, 0.743), (0.658, 0.65)).lineTo(0.658, -0.569).lineTo(0.445, -0.782).lineTo(-0.453, -0.782).threePointArc((-0.598, -0.722), (-0.658, -0.577)).lineTo(-0.... | 6 | 77 | 0.941131 |
train_a79fbd89e21aaaa2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.073, 0.098, -0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-3.886, 1.174).lineTo(0.474, 0.45).lineTo(1.827, 0.878).lineTo(2.381, 0.911).lineTo(2.826, 0.693).lineTo(3.712, -0.167).threePointArc((4.161, -0.584), (3.502, -0.652)).lineTo(2.04, ... | 25 | 90 | 1.123128 |
train_13644aa08d4f29f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.172, 0.726, 0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.073, 0.271).threePointArc((0.132, 0.229), (0.271, 0.073)).threePointArc((0.229, -0.132), (0.073, -0.271)).threePointArc((-0.132, -0.229), (-0.271, -0.073)).threePointArc((-0.229, 0... | 10 | 56 | 0.141761 |
train_4d3024130d103c33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.947, 0.697).lineTo(0.947, 0.645).lineTo(1, 0.645).lineTo(1, -0.697).lineTo(-0.935, -0.697).threePointArc((-0.98, -0.678), (-1, -0.632)).lineTo(-1, 0.697).lineTo(0.947, 0.697).close().extru... | 13 | 56 | 0.525915 |
train_d6eaab1f5bc52704 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0.018, -0.707), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.695, 0.38).lineTo(0.923, 0.189).lineTo(1.002, 0.133).lineTo(1.002, 0).lineTo(0.838, 0).lineTo(0.838, 0.114).lineTo(0.738, 0.189).lineTo(0, 0.216).lineTo(0, 0.38).lineTo(0.695, 0.... | 6 | 68 | 1.298741 |
train_dd1d36220c59a6fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.139, 0.352, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.049, 0.515).threePointArc((0.515, -0.049), (-0.049, -0.515)).threePointArc((-0.515, 0.049), (0.049, 0.515)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.139, 0.352, -0.146), nor... | 13 | 83 | 1.180678 |
train_3bf4ab7bc752f9bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.37, -0.163, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.74).threePointArc((0.524, 0.524), (0.74, 0)).lineTo(0.35, 0).threePointArc((0.248, 0.248), (0, 0.35)).lineTo(0, 0.74).close().extrude(2)
result = result.union(cq.Workplane(cq.Plane... | 4 | 20 | 0.765463 |
train_a1f11fa9fe54df40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.208).lineTo(0.333, 0.134).threePointArc((0.397, 0.097), (0.548, 0.081)).lineTo(0.784, 0.081).threePointArc((0.934, 0.066), (0.998, 0.029)).lineTo(0.998, -0.026).threePointArc((0.931... | 13 | 106 | 0.097715 |
train_e2666ab5687f0d7c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.129, -0.615), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.659, 0.153).threePointArc((0.727, 0.125), (0.757, 0.058)).lineTo(0.757, -0.004).threePointArc((0.712, -0.11), (0.605, -0.153)).lineTo(-0.622, -0.153).threePointArc((-0.717, -0.115), (... | 17 | 72 | 1.123023 |
train_38f630797887fb0f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.167, -0.05, -0.325), normal=(-0.062, 0.023, 0.998), xDir=(0, -1, 0.023))).moveTo(0.38, 0.835).lineTo(0.38, 0.38).lineTo(0.835, -0.076).lineTo(0.38, -0.38).lineTo(0.076, -0.835).lineTo(-0.38, -0.38).lineTo(-0.835, -0.38).lineTo(-0.683, 0.228).li... | 5 | 63 | 0.741036 |
train_7f4f9e474b7ab0e8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.244, 0.171).threePointArc((0.32, 0.139), (0.351, 0.063)).lineTo(0.351, -0.078).threePointArc((0.325, -0.143), (0.258, -0.171)).lineTo(-0.246, -0.171).lineTo(-0.351, -0.066).lineTo(-0.351, ... | 8 | 50 | 0.175756 |
train_7ef711bdae07a36c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.221, 0.442).lineTo(0.221, 0.221).lineTo(0.221, 0).lineTo(0.221, -0.221).lineTo(0.221, -0.442).lineTo(0, -0.664).lineTo(-0.221, -0.442).lineTo(-0.221, -0.221).lineTo(-0.221, 0).lineTo(-0.221, 0.221).lineTo(-0.221, 0.442).threePointArc((0, 0.664), (0.... | 4 | 66 | 0.195869 |
train_b524915b525fe554 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.085, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.243).lineTo(1, -0.243).lineTo(-1, -0.243).lineTo(-1, 0.243).lineTo(1, 0.243).close().extrude(0.534)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.498, -0.328, 0.011), norma... | 11 | 133 | 0.605642 |
train_bf8828b215fb47fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.577).threePointArc((0.959, 0.545), (1, 0.464)).lineTo(1, -0.465).threePointArc((0.959, -0.545), (0.878, -0.577)).lineTo(-0.871, -0.577).threePointArc((-0.956, -0.544), (-1, -0.458))... | 5 | 54 | 0.547734 |
train_8fc1216e36addc9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0.005, -0.134), normal=(0.053, 0.498, -0.866), xDir=(-0.994, 0.106, 0))).moveTo(0.881, 0.414).threePointArc((0.945, 0.4), (0.972, 0.367)).lineTo(0.972, 0.277).threePointArc((0.956, 0.257), (0.916, 0.248)).lineTo(-0.576, 0.248).threePointAr... | 9 | 132 | 0.341216 |
train_f8428cf6e2b30a74 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.181, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, 0.618).threePointArc((0.811, 0.596), (0.833, 0.542)).lineTo(0.833, -0.56).threePointArc((0.816, -0.601), (0.774, -0.618)).lineTo(-0.77, -0.618).threePointArc((-0.814, -0.599), (-0... | 13 | 46 | 1.459721 |
train_4e1c0577df0938fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.115, 0.264).lineTo(0.201, 0.178).lineTo(0.201, -0.264).lineTo(-0.061, -0.264).lineTo(-0.201, -0.123).lineTo(-0.201, 0.204).threePointArc((-0.183, 0.246), (-0.141, 0.264)).lineTo(0.115,... | 12 | 128 | 0.386916 |
train_0b0546cc2e71773e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.434), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.777).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.777).lineTo(-0.522, 0.777).lineTo(-0.522, 0.478).lineTo(0.522, 0.478).lineTo(0.522, 0.777).lineTo(1, 0.777).close().extrude(0.249, both=Tru... | 3 | 34 | 0.649894 |
train_03ec41de84a96496 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.206, 1).threePointArc((0.295, 0.954), (0.332, 0.866)).lineTo(0.332, 0.515).threePointArc((0.386, 0.386), (0.515, 0.332)).lineTo(0.844, 0.332).threePointArc((0.948, 0.288), (1, 0.184)).... | 10 | 136 | 0.362619 |
train_69ef100dc2dc7986 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.734, 0.069, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.754, 0.93).lineTo(0.754, -0.792).threePointArc((-0.754, 0.069), (0.754, 0.93)).close().moveTo(-0.164, 0.138).lineTo(-0.09, -0.039).lineTo(0.089, -0.108).lineTo(-0.056, -0.233).lineTo(-... | 15 | 939 | 2.318041 |
train_dd5f005edce465ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, 0.129, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.593, 0.756).threePointArc((0.956, 0.425), (0.746, -0.15)).lineTo(-0.683, -0.756).threePointArc((-0.956, -0.507), (-0.837, 0.15)).lineTo(0.593, 0.756).close().extrude(0.157)
result ... | 21 | 448 | 0.234168 |
train_1ade69777fb311cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.309).lineTo(1, -0.315).threePointArc((0.989, -0.339), (0.965, -0.349)).lineTo(-0.954, -0.349).threePointArc((-0.986, -0.336), (-1, -0.304)).lineTo(-1, 0.293).threePointArc((-0.982, 0.33... | 9 | 69 | 0.351592 |
train_ac6486b4bfef776b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.007, 0, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.88, 0.615).threePointArc((0.983, 0.573), (1, 0.469)).lineTo(1, -0.245).threePointArc((0.918, -0.508), (0.655, -0.615)).lineTo(-0.679, -0.615).threePointArc((-0.925, -0.515), (-1, -0.2... | 7 | 21 | 0.383408 |
train_413c5c63ecfed4fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.313, -0.157), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.643, 0.314).lineTo(0.633, 0.253).lineTo(0.687, 0.11).lineTo(0.687, 0).lineTo(0.593, 0).lineTo(0.593, 0.094).lineTo(0.524, 0.253).lineTo(0, 0.22).lineTo(0, 0.314).lineTo(0.643, 0.314).... | 8 | 50 | 0.253792 |
train_e2b5bb8a8f0bd0b8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.917).lineTo(1, -0.917).lineTo(-1, -0.917).lineTo(-1, 0.917).lineTo(-0.672, 0.917).lineTo(-0.672, -0.686).lineTo(0.672, -0.686).lineTo(0.672, 0.917).lineTo(1, 0.917).close().extrude(0.165, both=True)
result = result.cut(cq.Workplane(cq.Plane(origi... | 5 | 10 | 0.499477 |
train_80593369d1704690 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, -0.185, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.2, 0).threePointArc((0.141, 0.141), (0, 0.2)).lineTo(0, 0.571).close().extrude(2)
result = result.union(cq.Workplane(cq.Pla... | 3 | 13 | 0.487091 |
train_0fd504e775279a5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.362, 2.005).extrude(0.324)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.003, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.06, 0.242).lineTo(-0.06, 0.242).lineTo(0.06, 0... | 11 | 51 | 0.175849 |
train_4474b6339e168d55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.047, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.189, 1).lineTo(0.189, 0.561).lineTo(0.045, 0.561).lineTo(0.045, -1).lineTo(-0.045, -1).lineTo(-0.045, 0.561).lineTo(-0.189, 0.561).lineTo(-0.189, 1).lineTo(0.189, 1).close().extrude(7.465, ... | 10 | 116 | 0.264303 |
train_9f49af1cdd1ddda4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.616, 0.939).threePointArc((0.652, 0.925), (0.667, 0.892)).lineTo(0.667, 0.745).threePointArc((0.704, 0.662), (0.794, 0.626)).lineTo(0.921, 0.626).threePointArc((0.976, 0.604), (1, 0.552)).li... | 2 | 38 | 0.230689 |
train_adfc4d2767fee9b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.816), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.56, 1).lineTo(0.56, -1).lineTo(-0.56, -1).lineTo(-0.56, 1).lineTo(0.56, 1).close().extrude(1.632)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.816), normal=(0, 0, 1), xDir=(1... | 7 | 38 | 2.017894 |
train_51730a2c45250e35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.779, 0.467).threePointArc((0.928, 0.404), (1, 0.251)).lineTo(1, -0.275).threePointArc((0.936, -0.411), (0.803, -0.467)).lineTo(-0.841, -0.467).threePointArc((-0.948, -0.422), (-1, -0.317))... | 13 | 47 | 0.599178 |
train_3ca458f9d4c5b8ba | 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.668, 1).lineTo(0.668, -0.6).lineTo(0, -0.6).lineTo(0, -1).lineTo(-0.668, -1).lineTo(-0.668, 1).lineTo(0.668, 1).close().extrude(0.84, taper=9.695)
result = result.cut(cq.Workplane(cq.Plane(... | 18 | 45 | 1.61927 |
train_20a944f239bfaf13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.399), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.889, 0.672).lineTo(1, 0.568).lineTo(1, -0.452).lineTo(0.775, -0.672).lineTo(-0.787, -0.672).lineTo(-1, -0.463).lineTo(-1, 0.474).lineTo(-0.797, 0.672).lineTo(0.889, 0.672).close().extrude(... | 16 | 324 | 0.588387 |
train_40757591862148ba | 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.702, 0.699).lineTo(1, 0.405).lineTo(1, -0.699).lineTo(-0.312, -0.699).threePointArc((-0.794, -0.5), (-1, -0.015)).lineTo(-1, 0.343).threePointArc((-0.887, 0.595), (-0.639, 0.699)).lineTo(0... | 6 | 42 | 0.609443 |
train_d59395efec1cacb1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 1).lineTo(-0.5, 0).lineTo(1, 0).lineTo(1, -0.5).lineTo(0.5, -0.5).lineTo(0.5, -1).lineTo(-1, -1).lineTo(-1, 1).lineTo(-0.5, 1).close().extrude(0.424, taper=2.969)
result = result.cut(c... | 7 | 115 | 0.85084 |
train_eb723ed7c2e90de5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.739, 0.261).lineTo(0.739, 0.194).lineTo(1, 0.194).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.194).lineTo(-0.739, 0.194).lineTo(-0.739, 0.261).lineTo(0.739, 0.261).close().extrude(0.912, both... | 9 | 38 | 0.717201 |
train_cf1701e51af438d6 | 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(1, 0.497).lineTo(1, -0.391).lineTo(0.894, -0.497).lineTo(-0.943, -0.497).lineTo(-1, -0.441).lineTo(-1, 0.497).lineTo(1, 0.497).close().extrude(0.104)
result = result.union(cq.Workplane(cq.Pl... | 17 | 81 | 0.339013 |
train_c57980daa5db8cfa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.231, 0.059, -0.001), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.429, 0.668).lineTo(0.687, 0.567).lineTo(0.2, -0.668).lineTo(0.117, -0.636).lineTo(0.238, -0.31).threePointArc((0.146, -0.051), (0.303, 0.303)).lineTo(0.429, 0.668).close().revolv... | 13 | 156 | 1.180054 |
train_5a98e4998666773c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.144, 0.073), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.203, 0.574).threePointArc((0.173, 0.531), (0.502, 0.345)).threePointArc((0.697, 0.067), (0.705, -0.229)).threePointArc((0.524, -0.464), (0.203, -0.574)).threePointArc((-0.173, -0.531... | 9 | 231 | 1.388369 |
train_3ad843f56b6d8fc7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.152, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.677, -0.876).threePointArc((-0.747, -0.919), (-0.714, -0.809)).lineTo(-0.579, -0.44).threePointArc((-0.727, -0.255), (-0.645, -0.057)).lineTo(-0.763, 0.086).threePointArc((-0.957, 0.1... | 11 | 123 | 3.346677 |
train_acfa3cbbca959efb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.239, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.131, 0.443).threePointArc((0.21, 0.41), (0.243, 0.33)).lineTo(0.243, 0.147).threePointArc((0.21, 0.068), (0.131, 0.035)).lineTo(-0.131, 0.035).threePointArc((-0.21, 0.068), (-0.243, 0.147... | 1 | 10 | 0.374783 |
train_ea35dfde7a40dbdf | 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.393, 0.525).lineTo(-0.393, -0.262).lineTo(-0.131, -0.262).lineTo(-0.131, 0).lineTo(0.393, 0).lineTo(0.393, -0.262).lineTo(0.917, -0.262).lineTo(0.917, -0.525).lineTo(-0.656, -0.525).lineT... | 9 | 37 | 0.596506 |
train_9022c6a7a28112bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.022, 0.211, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.683, 0.23).threePointArc((0.977, 0.086), (0.977, -0.23)).lineTo(-0.977, -0.23).lineTo(-0.977, 0.086).lineTo(-0.879, 0.23).lineTo(-0.781, 0.23).lineTo(-0.587, 0.086).lineTo(-0.489,... | 5 | 55 | 0.336019 |
train_92ff8c1a0acf009e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.171, -0.105, -0.781), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, 0.103).lineTo(0.816, -0.103).threePointArc((0.363, -0.077), (0.828, 0.103)).close().moveTo(0.436, 0.06).lineTo(0.76, 0.042).threePointArc((0.431, -0.016), (0.436, 0.06)).clos... | 2 | 54 | 0.759379 |
train_2d55ac5d5dae68d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, 0.463, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.002, 0.842).lineTo(0.295, 0.575).lineTo(0.348, 0.197).lineTo(-0.012, 0.081).lineTo(-0.348, 0.221).lineTo(-0.337, 0.609).lineTo(0.002, 0.842).close().extrude(1.015)
result = result.cut(... | 26 | 14 | 0.722034 |
train_074a925bf2370d3f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.284, 0.04, 0.189), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.027, 0.208).lineTo(0.166, 0.128).lineTo(0.208, -0.027).lineTo(0.128, -0.166).lineTo(-0.027, -0.208).lineTo(-0.166, -0.128).lineTo(-0.208, 0.027).lineTo(-0.128, 0.166).lineTo(0.027, ... | 8 | 113 | 0.696412 |
train_de60818e628ddc14 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.059, 0, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.334, 2).extrude(0.214)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.059, 0, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.019, -0.646).lineTo(0.019, -0.843).lineTo(-0.01... | 15 | 52 | 0.107224 |
train_f6778ca6841063e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.49), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.06, 0.329).threePointArc((0.157, 0.306), (0.199, 0.252)).lineTo(0.199, 0.173).threePointArc((0.233, 0.128), (0.315, 0.11)).lineTo(0.932, 0.11).threePointArc((0.974, 0.1), (1, 0.077)).lineTo... | 10 | 183 | 0.428248 |
train_56c2c6b8cd762a65 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.039, -0.119, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.773, 0.632).threePointArc((0.801, 0.621), (0.813, 0.593)).lineTo(0.813, -0.459).threePointArc((0.761, -0.581), (0.64, -0.632)).lineTo(-0.466, -0.632).threePointArc((-0.71, -0.529... | 12 | 260 | 1.092083 |
train_77b443c5a78765ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.002, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.913, -0.184).lineTo(0.976, -0.231).lineTo(0.952, -0.312).lineTo(0.88, -0.303).lineTo(0.803, -0.47).lineTo(0.847, -0.533).lineTo(0.799, -0.603).lineTo(0.736, -0.573).lineTo(0.608, ... | 3 | 80 | 1.773479 |
train_f0027562eac5b5c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.728, 0.242).threePointArc((1, 0), (0.728, -0.242)).lineTo(0, -0.242).lineTo(-0.728, -0.242).threePointArc((-1, 0), (-0.728, 0.242)).lineTo(0, 0.242).lineTo(0.728, 0.242).close().extrude(0.... | 5 | 19 | 0.276248 |
train_5a88f50774d14da3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.789, 0.272, 0.204), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.082, 0.197).lineTo(0.082, -0.128).threePointArc((0, -0.21), (-0.082, -0.128)).lineTo(-0.082, 0.197).threePointArc((0, 0.279), (0.082, 0.197)).close().revolve(angleDegrees=180, axis... | 11 | 110 | 0.267613 |
train_0f861415faa741fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.5, 0.866).lineTo(0.866, 0.5).lineTo(1, 0).lineTo(0.866, -0.5).lineTo(0.5, -0.866).lineTo(0, -1).lineTo(-0.5, -0.866).lineTo(-0.866, -0.5).lineTo(-1, 0).lineTo(-0.866, 0.5).lin... | 6 | 57 | 1.375456 |
train_cf4ac2af63c92de1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, -0.008, -0.786), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.173, 0.176).lineTo(0.173, 0.103).lineTo(-0.097, 0.103).lineTo(-0.097, -0.103).lineTo(0.173, -0.103).lineTo(0.173, -0.176).lineTo(-0.173, -0.176).lineTo(-0.173, 0.176).lineTo(0.173... | 11 | 32 | 0.107378 |
train_9fad16ea51a3b58b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.015, 0.06).lineTo(0.033, 0.052).lineTo(0.048, 0.038).lineTo(0.058, 0.02).lineTo(0.062, 0).lineTo(0.058, -0.02).lineTo(0.048, -0.038).lineTo(0.033, -0.052).lineTo(0.015, -0.06).lineTo(-0.005... | 6 | 68 | 0.022568 |
train_d4f9d809df6426c0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.451, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.097, 1.39, 1.003)
result = result.edges().fillet(0.018)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.451, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.182).extrude(2.194, both=Tru... | 9 | 86 | 1.038985 |
train_758122cd2c58d85d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.865).lineTo(1, 0).lineTo(0.5, -0.865).lineTo(-0.5, -0.865).lineTo(-1, 0).lineTo(-0.5, 0.865).lineTo(0.5, 0.865).close().extrude(0.59)
result = result.cut(cq.Workplane(cq.Plane(origin=... | 2 | 9 | 1.067665 |
train_baaa523169f7e825 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.121, 0.312, -0.097), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.568, 0.193).lineTo(0.632, 0.11).lineTo(0.687, 0.067).lineTo(0.687, 0).lineTo(0.604, 0).lineTo(0.604, 0.058).lineTo(0.536, 0.11).lineTo(0, 0.109).lineTo(0, 0.193).lineTo(0.568, 0.1... | 6 | 57 | 0.12028 |
train_1bfecc5e80a75923 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.238, 0.432, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.339, -0.078).threePointArc((0.56, -0.281), (0.51, -0.508)).lineTo(0.192, -0.353).threePointArc((0.159, -0.419), (0.097, -0.429)).threePointArc((0.03, -0.446), (-0.032, -0.399)).li... | 3 | 54 | 0.442519 |
train_5c7e1e4ac6a8f4ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.753), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.466).extrude(0.684)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.466, 0, -0.753), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.466, 0.466), (-0.932, 0), (-0.466, -0.46... | 7 | 50 | 0.56678 |
train_564321403e8f6590 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.437, 0.972).lineTo(0.437, -0.975).threePointArc((0.43, -0.992), (0.413, -1)).lineTo(-0.437, -1).lineTo(-0.437, 0.958).lineTo(-0.397, 1).lineTo(0.412, 1).lineTo(0.412, 0.972).lineTo(0.437, ... | 21 | 131 | 0.434181 |
train_d68192d478f2aa06 | 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.265, 1).threePointArc((-0.219, 0.98), (-0.2, 0.934)).lineTo(-0.2, 0.743).threePointArc((-0.158, 0.642), (-0.057, 0.6)).lineTo(0.139, 0.6).threePointArc((0.182, 0.582), (0.2, 0.539)).lineTo... | 3 | 34 | 1.735046 |
train_2dc76f109f400a02 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.299, 0, -0.432), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.233, 1.042).lineTo(1.233, 0).lineTo(-1.233, 0).lineTo(-1.233, 1.042).lineTo(-0.981, 1.042).lineTo(-0.981, 0.252).lineTo(0.981, 0.252).lineTo(0.981, 1.042).lineTo(1.233, 1.042).close()... | 8 | 40 | 0.208582 |
train_8efec064a1f5929c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.731, 0.754).lineTo(1, 0.321).threePointArc((0.716, 0.295), (0.634, -0.056)).lineTo(0.284, 0.026).lineTo(0.202, -0.325).lineTo(-0.149, -0.243).lineTo(-0.231, -0.593).threePointArc((-0.582, ... | 2 | 39 | 0.196046 |
train_d5eb97a66ccd1efd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.403, -0.022, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.305, 0.839).lineTo(0.33, 0.466).lineTo(0.544, 0.334).lineTo(0.549, -0.246).lineTo(0.597, -0.824).lineTo(0.236, -0.839).lineTo(0.16, 0.833).lineTo(0.305, 0.839).close().revolve(angleD... | 3 | 32 | 1.499327 |
train_aaa1ede634eaad33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.394, -0.191, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.788).threePointArc((0.557, 0.557), (0.788, 0)).lineTo(0.371, 0).threePointArc((0.263, 0.263), (0, 0.371)).lineTo(0, 0.788).close().extrude(2)
result = result.union(cq.Workplane(cq... | 9 | 95 | 0.871665 |
train_0e189c454db8fc94 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.958, -0.13, 0.062), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.688, 0.088).lineTo(0.621, -0.336).lineTo(0.321, -0.612).threePointArc((0.23, -0.682), (0.111, -0.624)).lineTo(-0.245, -0.766).lineTo(-0.534, -0.578).threePointArc((-0.734, -0.399),... | 10 | 474 | 2.888613 |
train_3a8fc50f5f15ef86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.11, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.998, 0.17).lineTo(0.337, -0.831).threePointArc((-0.998, 0.05), (0.998, 0.17)).close().moveTo(-0.003, 0.831).lineTo(0.754, 0.236).threePointArc((-0.688, 0.229), (-0.003, 0.831)).clos... | 6 | 40 | 0.480001 |
train_c3874af03931810d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.527), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.539, 1.05).lineTo(0.539, 0.37).lineTo(1, 0.37).lineTo(1, 0).lineTo(0.077, 0).lineTo(0.077, 1.05).lineTo(0.539, 1.05).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, ... | 10 | 63 | 1.298252 |
train_3eeca7475fe2e229 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.037, -0.238, 0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.862, 0.342).threePointArc((0.933, 0.312), (0.963, 0.241)).lineTo(0.963, 0.085).threePointArc((0.938, 0.025), (0.878, 0)).lineTo(0.717, 0).threePointArc((0.651, -0.028), (0.622, -0... | 13 | 327 | 0.782488 |
train_ddfdf70be6804a1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.738), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.386, 1.475).lineTo(0.386, 0.297).lineTo(1, 0.297).lineTo(1, 0).lineTo(0.318, 0).lineTo(0.318, 1.475).lineTo(0.386, 1.475).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 3 | 22 | 0.929105 |
train_1dd1d66c4b71568e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.399).lineTo(1, -0.01).threePointArc((0.885, -0.286), (0.611, -0.399)).lineTo(-0.825, -0.399).lineTo(-0.825, -0.224).lineTo(-1, -0.224).lineTo(-1, 0.089).threePointArc((-0.908, 0.309), (... | 5 | 16 | 0.113382 |
train_d7d0882415080f27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.424, -0.04, -0.2), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.163, -0.018).lineTo(0.159, -0.043).lineTo(0.219, -0.065).lineTo(0.205, -0.099).lineTo(0.146, -0.076).lineTo(0.133, -0.097).lineTo(0.18, -0.14).lineTo(0.155, -0.167).lineTo(0.109, -0... | 7 | 463 | 0.744208 |
train_11cfb5c5435f9f7b | 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.78, 2).lineTo(0.78, 1.795).lineTo(0.581, 1.795).lineTo(0.581, 1.504).lineTo(0.521, 1.504).lineTo(0.521, 0.868).lineTo(0.553, 0.868).lineTo(0.553, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.78, 2).... | 2 | 10 | 2.008731 |
train_3ee575f218522e32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.387, -0.168, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.196, 0.196).lineTo(0.196, -0.196).lineTo(-0.196, -0.196).lineTo(-0.196, 0.196).lineTo(-0.114, 0.196).lineTo(-0.114, -0.131).lineTo(0.114, -0.131).lineTo(0.114, 0.196).lineTo(0.196, 0.1... | 5 | 64 | 0.302033 |
train_f0e5ec59d6bd6478 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.468, 0, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.15, 0.708).lineTo(0.222, 0.646).lineTo(0.285, 0.575).lineTo(0.338, 0.498).lineTo(0.379, 0.415).lineTo(0.407, 0.329).lineTo(0.423, 0.24).lineTo(0.425, 0.149).lineTo(0.415, 0.059).lineT... | 21 | 270 | 1.017944 |
train_bc04df19c81d3c2b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.009, 0.475).lineTo(-0.009, -0.043).lineTo(0.492, -0.043).lineTo(0.492, -0.475).lineTo(-0.492, -0.475).lineTo(-0.492, 0.475).lineTo(-0.009, 0.475).close().extrude(0.867, both=True)
result ... | 10 | 143 | 1.08346 |
train_4f8fe8b7780405c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.088, 0.39).threePointArc((0.251, 0.373), (0.32, 0.333)).lineTo(0.32, -0.019).threePointArc((0.392, -0.061), (0.562, -0.078)).lineTo(0.805, -0.078).threePointArc((0.914, -0.089), (0.96... | 2 | 33 | 0.246031 |
train_7b6d0f6f2c3afad8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.467), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.683, 1).lineTo(0.915, 0.768).lineTo(0.915, -1).lineTo(-0.915, -1).lineTo(-0.915, 0.594).lineTo(-0.509, 0.594).lineTo(-0.509, 1).lineTo(0.683, 1).close().extrude(0.161)
result = result.unio... | 16 | 45 | 0.976588 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.