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_e0e5aaac517be13d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.079, 0, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, 0.719).lineTo(0.921, 0.134).lineTo(-0.336, 0.134).lineTo(-0.336, -0.134).lineTo(0.921, -0.134).lineTo(0.921, -0.719).lineTo(-0.921, -0.719).lineTo(-0.921, 0.719).lineTo(0.921, 0.7... | 11 | 138 | 2.177292 |
train_795d6e798fb73650 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.253, 0, -0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.355, 0.674).threePointArc((0.628, 0.517), (0.744, 0.145)).lineTo(0.744, -0.203).threePointArc((0.641, -0.534), (0.397, -0.674)).lineTo(-0.392, -0.674).threePointArc((-0.639, -0.532), ... | 5 | 84 | 0.352959 |
train_f9a411ba649fb191 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.729).extrude(0.783, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.217), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.288).extrude(0.628, both=True))
result = resul... | 14 | 83 | 1.044235 |
train_6c1e2f1fdf400656 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.112, 0.998, -0.009), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.114, 1.828).lineTo(0.252, 1.579).lineTo(0.526, 1.433).threePointArc((0.621, 1.309), (0.622, 1.153)).lineTo(0.288, 0.443).threePointArc((0.17, 0.455), (0.066, 0.397)).lineTo(-0.155... | 5 | 38 | 3.199861 |
train_b5ba00e7cd75722c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.081, -0.151, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.873, 0.822).lineTo(0.873, -0.822).lineTo(-0.873, -0.822).lineTo(-0.873, 0.822).lineTo(-0.527, 0.822).lineTo(-0.527, -0.476).lineTo(0.527, -0.476).lineTo(0.527, 0.822).lineTo(0.873... | 14 | 159 | 1.715363 |
train_2e65e9b93df82125 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.123, -0.052, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.133, 0.372).lineTo(0.401, -0.372).lineTo(0.133, -0.372).lineTo(-0.401, -0.372).lineTo(-0.268, 0.372).lineTo(-0.133, 0.372).lineTo(0.133, 0.372).close().extrude(0.225, taper=-2.37... | 12 | 67 | 0.213076 |
train_12a2b2818f7122b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.425, -0.625, -0.422), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.952).lineTo(0.481, 0.632).lineTo(0.398, 0.138).threePointArc((0.301, 0.129), (0.255, 0.042)).lineTo(0.109, -0.044).lineTo(-0.073, -0.036).lineTo(-0.458, 0.284).threePointAr... | 11 | 121 | 0.774824 |
train_960f59b1c3a63ad7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.863, 2).extrude(0.197)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.282, -0.151).lineTo(0.282, -0.839).lineTo(-0.282, -0.839)... | 12 | 55 | 0.106431 |
train_fb1fbd20629ac5aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.199, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.945, 0.171).threePointArc((0.983, 0.154), (1, 0.116)).lineTo(1, -0.074).threePointArc((0.971, -0.142), (0.902, -0.171)).lineTo(-0.951, -0.171).threePointArc((-0.985, -0.157), (-1, -0.1... | 8 | 32 | 0.1844 |
train_efff509a87f8c2fd | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.103, 1).threePointArc((0.206, 0.956), (0.25, 0.853)).lineTo(0.25, 0.601).threePointArc((0.28, 0.53), (0.351, 0.5)).lineTo(0.579, 0.5).threePointArc((0.699, 0.449), (0.75, 0.329)).lineTo(0.75, -0.42).threePointArc((0.726, -0.476), (0.67, -0.5)).lineT... | 3 | 22 | 3.040666 |
train_bb8f59970f93cf48 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.821, 0.226).threePointArc((1, 0), (0.821, -0.226)).lineTo(0, -0.226).lineTo(-0.821, -0.226).threePointArc((-1, 0), (-0.821, 0.226)).lineTo(0, 0.226).lineTo(0.821, 0.226).close().extrude(0.166, both=True)
result = result.cut(cq.Workplane(cq.Plane(ori... | 5 | 27 | 0.256596 |
train_c62038fecebd67a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.587), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.281, 1.173).lineTo(0.281, 0.281).lineTo(2, 0.281).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.173).lineTo(0.281, 1.173).close().extrude(0.79, both=True)
result = result.union(cq.Workplane(cq.P... | 6 | 38 | 1.102446 |
train_d7ad9dec404786e1 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.632).extrude(0.645, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.36).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0... | 9 | 70 | 1.193663 |
train_8822e71e85750e31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.403, 0, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.605).extrude(0.667)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.202, 0, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.177, 0.428), (-0.605, 0.605), (-1.0... | 5 | 68 | 0.843408 |
train_424b129d52489288 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.171).lineTo(1, 0.119).lineTo(0.158, 0.119).lineTo(0.158, -0.171).lineTo(-0.158, -0.171).lineTo(-0.158, 0.119).lineTo(-1, 0.119).lineTo(-1, 0.171).lineTo(1, 0.171).close().extrude(0.513)... | 9 | 48 | 0.11513 |
train_718ade33f01771be | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.071, 0.378, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.316, 0.377).threePointArc((0.384, 0.35), (0.413, 0.288)).lineTo(0.413, -0.126).threePointArc((0.332, -0.303), (0.138, -0.377)).lineTo(-0.261, -0.377).threePointArc((-0.367, -0.335), (-0... | 12 | 90 | 0.853841 |
train_60d158f19f60162a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, -0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.749, 0.122).lineTo(-0.783, 0.214).lineTo(-0.758, 0.296).lineTo(-0.464, 0.518).lineTo(-0.545, 0.608).lineTo(-0.249, 0.674).lineTo(0.179, 0.979).lineTo(0.329, 0.96).lineTo(0.375, 0.811... | 2 | 194 | 0.453177 |
train_29c9588a6818a785 | 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.532).extrude(0.603)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.532, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.103, 0.313), (-0.368, 0.506), (-0.696, 0.506), (... | 5 | 97 | 1.215404 |
train_61bb0029076d1df2 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.732).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.173).extrude(0.811, both=True))
result = result.cut(cq.Workplane('XY').circle(0.308).extrude(2.978, both=True))
resu... | 10 | 65 | 2.325611 |
train_a382627cd9a716e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.139, 0, -0.17), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.841, 0.595).lineTo(0.841, 0).lineTo(-0.841, 0).lineTo(-0.841, 0.595).lineTo(-0.685, 0.595).lineTo(-0.685, 0.156).lineTo(0.685, 0.156).lineTo(0.685, 0.595).lineTo(0.841, 0.595).close().... | 6 | 53 | 0.268139 |
train_84a9fb508997e171 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.222, 0.301, -0.011), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.383, 1.078).lineTo(0.543, 0.553).threePointArc((0.943, 0.484), (0.994, 0.233)).threePointArc((0.81, 0.011), (0.53, -0.087)).lineTo(0.368, -0.719).threePointArc((0.185, -0.777), (-... | 7 | 40 | 1.348332 |
train_044bf87318174af1 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.064, 0.377).threePointArc((0.115, 0.362), (0.137, 0.327)).lineTo(0.137, 0.237).threePointArc((0.158, 0.203), (0.207, 0.188)).lineTo(0.307, 0.188).threePointArc((0.38, 0.167), (0.411, 0.116)).lineTo(0.411, -0.259).threePointArc((0.36, -0.342), (0.24,... | 2 | 29 | 0.794544 |
train_556d12ff7497ff29 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.94, 0.99).lineTo(0.94, -0.986).lineTo(0.926, -0.986).lineTo(0.926, -1).lineTo(-0.93, -1).lineTo(-0.93, -0.99).lineTo(-0.94, -0.99).lineTo(-0.94, 0.991).lineTo(-0.931, 1).lineTo(0.93, 1).li... | 12 | 51 | 0.855149 |
train_f9edff569b4732c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.415).lineTo(1, -0.347).threePointArc((0.98, -0.396), (0.932, -0.415)).lineTo(-1, -0.415).lineTo(-1, 0.327).lineTo(-0.912, 0.415).lineTo(1, 0.415).close().extrude(0.037)
result = result.u... | 12 | 99 | 0.915866 |
train_b54564fb31de2f55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, -0.152).lineTo(0.982, -0.19).lineTo(0.966, -0.258).lineTo(0.903, -0.254).lineTo(0.851, -0.397).lineTo(0.895, -0.447).lineTo(0.862, -0.509).lineTo(0.802, -0.488).lineTo(0.712,... | 4 | 116 | 0.52742 |
train_9eaaf47d39048e61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.214, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.057, 0.43).threePointArc((0.161, 0.353), (0.222, 0.24)).threePointArc((0.223, 0.119), (0.164, 0.024)).threePointArc((0.062, -0.02), (-0.057, -0.002)).threePointArc((-0.161, 0.075), (-0.22... | 20 | 224 | 0.322387 |
train_a5bd9d7759c2cc7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.985, 0.472).lineTo(0.985, -0.288).lineTo(0.801, -0.288).lineTo(0.801, -0.472).lineTo(-0.817, -0.472).threePointArc((-0.937, -0.422), (-0.985, -0.302)).lineTo(-0.985, 0.302).threePointA... | 16 | 70 | 1.081353 |
train_df926553b72e6437 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.063, 0.154, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.194, 0.197).lineTo(0.194, -0.197).lineTo(-0.194, -0.197).lineTo(-0.194, 0.197).lineTo(-0.12, 0.197).lineTo(-0.12, -0.125).lineTo(0.12, -0.125).lineTo(0.12, 0.197).lineTo(0.194, 0.197).... | 22 | 72 | 0.12048 |
train_7aad127c22168ac9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.441, -0.496), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.057, 0.359).threePointArc((0.242, 0.283), (0.319, 0.098)).lineTo(0.319, -0.098).threePointArc((0.242, -0.283), (0.057, -0.359)).lineTo(-0.057, -0.359).threePointArc((-0.242, -0.283),... | 8 | 105 | 0.204945 |
train_7ed1b5addd310462 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.939, 0, -1.493), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.218).extrude(1.559)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.939, 0, -0.402), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(0.359).extrude(1.967))
result = ... | 9 | 36 | 0.162033 |
train_325fb186c94aae89 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.46, 0.652).workplane(offset=2).rect(1.384, 0.975).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.448, -0.471, -0.007), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.608, 0.981).... | 4 | 33 | 1.788266 |
train_d1c531637b078484 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.25, 0.229, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.12, 0.921).lineTo(0.268, 0.474).lineTo(0.331, 0.026).lineTo(0.12, -0.422).threePointArc((-0.106, -0.647), (-0.331, -0.422)).lineTo(-0.331, 0.921).threePointArc((-0.106, 1.147), (0.12, 0... | 6 | 8 | 0.501109 |
train_02c921c2e0eeeebb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, 0.463).lineTo(0.704, 0.171).lineTo(1, 0.171).lineTo(1, -0.225).lineTo(0.758, -0.225).lineTo(0.758, -0.463).lineTo(-0.696, -0.463).lineTo(-0.696, -0.163).lineTo(-1, -0.163).lineTo(-1, ... | 11 | 80 | 0.2687 |
train_78179da0369f9987 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.502), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.004).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.004).lineTo(-0.589, 1.004).lineTo(-0.589, 0.406).lineTo(0.589, 0.406).lineTo(0.589, 1.004).lineTo(1, 1.004).close().extrude(0.348, both=Tru... | 8 | 64 | 0.798648 |
train_6d3023884b2448bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.772, 0.061, 0.185), normal=(0.996, -0.094, -0.009), xDir=(0.094, 0.996, 0))).moveTo(0, 0.795).threePointArc((0.57, 0.562), (0.806, 0)).threePointArc((0.57, -0.562), (0, -0.795)).threePointArc((-0.57, -0.562), (-0.806, 0)).threePointArc((-0.57, ... | 5 | 57 | 3.268255 |
train_4e68e88911b76356 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, 0.504).threePointArc((0.97, 0.476), (1, 0.41)).lineTo(1, -0.395).threePointArc((0.967, -0.473), (0.889, -0.504)).lineTo(-0.866, -0.504).threePointArc((-0.96, -0.466), (-1, -0.372)).li... | 8 | 65 | 0.381747 |
train_489b69d409a1e2ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.016, -0.041, -0.413), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.268, 0.881).threePointArc((0.982, 0.305), (-0.31, -0.735)).lineTo(-0.768, -0.876).threePointArc((-0.828, -0.881), (-0.885, -0.859)).lineTo(-0.962, -0.807).threePointArc((-0.982,... | 3 | 30 | 0.795536 |
train_a392a2eca252f7de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.274, 0, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.716, 0.65).lineTo(0.716, -0.481).threePointArc((0.632, -0.615), (0.432, -0.672)).lineTo(-0.486, -0.672).threePointArc((-0.647, -0.626), (-0.716, -0.517)).lineTo(-0.716, 0.655).threePo... | 19 | 133 | 1.251992 |
train_7528d54955e5b983 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.015, -0.576), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.1, 0.877).lineTo(0.637, 0.606).lineTo(0.88, -0.212).lineTo(0.351, -0.855).lineTo(-0.431, -0.877).lineTo(-0.88, -0.247).lineTo(-0.794, 0.535).lineTo(-0.1, 0.877).close().extrude(1.32, ... | 19 | 239 | 0.918864 |
train_d325182aa7bf2e20 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, 0, 0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.008, 0.057).lineTo(0.024, 0.053).lineTo(0.049, 0.031).lineTo(0.058, 0).lineTo(0.049, -0.031).lineTo(0.024, -0.053).lineTo(-0.008, -0.057).lineTo(-0.038, -0.044).lineTo(-0.056, -0.017)... | 12 | 78 | 0.017203 |
train_9316b80bc39d007f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.096, 0.007, -0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.49, 1.085).lineTo(0.08, -0.985).lineTo(-0.092, -1.085).threePointArc((-0.49, -0.397), (-0.47, 0.76)).lineTo(0.49, 1.085).close().extrude(9.762, taper=12.567)
result = result.cut(cq... | 45 | 68 | 1.16354 |
train_069a61778cc1d118 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.567), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.875, -0.742).lineTo(-0.875, -0.742).threePointArc((0, 0.742), (0.875, -0.742)).close().extrude(0.158, taper=9.001)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.56), normal=... | 5 | 49 | 1.604101 |
train_faecc8710ae9557b | 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.047, 0.098).lineTo(-0.047, -0.034).lineTo(0.111, -0.034).lineTo(0.111, -0.098).lineTo(-0.111, -0.098).lineTo(-0.111, 0.098).lineTo(-0.047, 0.098).close().extrude(2)
result = result.cut(cq.Wor... | 5 | 18 | 0.033816 |
train_be47bf9b9285124a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.072, -0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.647, 0.662).lineTo(0.731, 0.578).lineTo(0.731, 0.482).lineTo(0.815, 0.397).lineTo(0.947, 0.397).lineTo(1, 0.352).lineTo(1, -0.062).lineTo(0.921, -0.132).lineTo(0.796, -0.132).lineTo(0... | 9 | 196 | 1.033953 |
train_5e7b32eb74395179 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.862, 0.295).threePointArc((0.959, 0.255), (1, 0.158)).lineTo(1, -0.091).threePointArc((0.939, -0.235), (0.796, -0.295)).lineTo(-0.833, -0.295).lineTo(-0.833, -0.129).lineTo(-1, -0.129).lin... | 16 | 197 | 0.703681 |
train_5bea3b7c4acb9afb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.023, 0.082, 0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.128, 0.514).threePointArc((0.528, -0.432), (-0.528, 0.191)).lineTo(-0.128, 0.514).close().moveTo(-0.305, 0.157).threePointArc((0.305, -0.397), (0.16, -0.514)).lineTo(-0.305, 0.157... | 24 | 126 | 1.255329 |
train_28406babedbf9b97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.524), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.641, 1).lineTo(0.825, 0.815).lineTo(0.825, -0.887).lineTo(0.712, -1).lineTo(-0.591, -1).lineTo(-0.825, -0.766).lineTo(-0.825, 0.773).lineTo(-0.599, 1).lineTo(0.641, 1).close().extrude(0.14... | 14 | 70 | 0.865388 |
train_46e92fd3e10fe224 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.132, 0, 0.871), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.072, 0.226).lineTo(0.159, 0.176).lineTo(0.215, 0.095).lineTo(0.237, 0).lineTo(0.215, -0.095).lineTo(0.159, -0.176).lineTo(0.072, -0.226).lineTo(-0.025, -0.234).lineTo(-0.117, -0.204).l... | 7 | 67 | 0.062191 |
train_a193aa123c2bbfca | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.859).extrude(0.456, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.624).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 6 | 25 | 2.737509 |
train_9ef9f3bf001223b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.046), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.39, 0.122).lineTo(0.39, 0.094).lineTo(0.512, 0.094).lineTo(0.512, 0).lineTo(-0.512, 0).lineTo(-0.512, 0.094).lineTo(-0.39, 0.094).lineTo(-0.39, 0.122).lineTo(0.39, 0.122).close().extrude(1... | 11 | 112 | 0.307895 |
train_c76f512fe1f2331d | 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.171, 2.549).lineTo(0.171, 2).lineTo(0.91, 2).lineTo(0.91, 0.901).lineTo(0.935, 0.901).lineTo(0.935, 0).lineTo(0, 0).lineTo(0, 2.549).lineTo(0.171, 2.549).close().revolve(angleDegrees=360, axi... | 2 | 6 | 4.177302 |
train_c68a717531fd5975 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.345).lineTo(1, -0.204).threePointArc((0.958, -0.304), (0.858, -0.345)).lineTo(-0.863, -0.345).lineTo(-1, -0.209).lineTo(-1, 0.182).lineTo(-0.836, 0.345).lineTo(1, 0.345).close().extrude(... | 6 | 31 | 0.240391 |
train_9f504d24239351dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.609, 0.746).lineTo(1, 0.353).lineTo(1, -0.214).lineTo(0.468, -0.746).lineTo(-0.558, -0.746).lineTo(-1, -0.304).lineTo(-1, 0.419).lineTo(-0.673, 0.746).lineTo(0.609, 0.746).close().extrude(... | 11 | 596 | 1.296594 |
train_df89044860f05fcf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.406, 0, -0.163), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.098, 0.598).lineTo(0.313, 0.533).lineTo(0.584, 0.218).lineTo(0.59, -0.197).lineTo(0.329, -0.52).lineTo(-0.08, -0.598).lineTo(-0.443, -0.396).lineTo(-0.59, -0.008).lineTo(-0.455, 0.38... | 7 | 142 | 0.457224 |
train_2e403c14bf188355 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.641, 0.243).lineTo(-0.641, -0.119).threePointArc((-0.529, -0.168), (-0.264, -0.188)).lineTo(0.933, -0.188).threePointArc((0.98, -0.192), (1, -0.2)).lineTo(1, -0.246).threePointArc((0.... | 4 | 18 | 0.05325 |
train_af046835caba61da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.172, -0.431), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.925, 0.432).threePointArc((0.973, 0.413), (1, 0.365)).lineTo(1, -0.372).threePointArc((0.976, -0.414), (0.933, -0.432)).lineTo(-0.928, -0.432).lineTo(-1, -0.368).lineTo(-1, 0.355).line... | 13 | 107 | 1.031856 |
train_f4b23a221fce1f41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.132, 0.889).threePointArc((0.391, 0.812), (0.5, 0.628)).lineTo(0.5, -0.41).threePointArc((0.552, -0.497), (0.674, -0.534)).lineTo(0.894, -0.534).threePointArc((0.968, -0.556), (1, -0.609))... | 8 | 141 | 0.703584 |
train_d5a689aa25c83f3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.037, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, 0.294).lineTo(1, -0.278).threePointArc((0.133, -0.294), (0.936, 0.294)).close().extrude(0.139).union(cq.Workplane(cq.Plane(origin=(0, 0.037, -0.152), normal=(0, 0, 1), xDir=(1, 0,... | 8 | 75 | 0.219451 |
train_f51711d3bf04d9f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.463), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.163, 0.564).threePointArc((0.497, 0.426), (0.634, 0.092)).lineTo(0.641, 0.055).lineTo(0.653, 0.018).lineTo(0.628, -0.018).lineTo(0.629, -0.055).lineTo(0.634, -0.092).threePointArc((0.497, ... | 6 | 187 | 1.948905 |
train_7249a6e41aa70d63 | 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.556, 0.244).workplane(offset=2).rect(0.745, 0.304).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.058, -0.241, -0.678), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.154, 0.264).workpla... | 2 | 11 | 0.352991 |
train_dd36db7fb0cdd1f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.086, 0, 0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.014, 0.142).lineTo(0.044, 0.136).lineTo(0.096, 0.106).lineTo(0.13, 0.059).lineTo(0.143, 0).lineTo(0.13, -0.059).lineTo(0.096, -0.106).lineTo(0.044, -0.136).lineTo(-0.014, -0.142).lineT... | 8 | 44 | 0.155109 |
train_f3e83a662dae656b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.902), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.46, 0.234).threePointArc((0.628, 0.167), (0.695, -0.033)).threePointArc((0.594, -0.201), (0.394, -0.234)).threePointArc((0.226, -0.167), (0.16, 0.033)).threePointArc((0.26, 0.201), (0.46, ... | 3 | 47 | 0.612544 |
train_030dd0718ebe4531 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.292, 0, -0.088), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.04, 0.132).lineTo(0.04, 0.099).lineTo(0.172, 0.099).lineTo(0.172, 0).lineTo(-0.172, 0).lineTo(-0.172, 0.099).lineTo(-0.04, 0.099).lineTo(-0.04, 0.132).lineTo(0.04, 0.132).close().extr... | 5 | 75 | 0.164186 |
train_01c80153d13ba67d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.236, -0.09, 0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.763, 0.708).lineTo(0.763, 0.327).lineTo(0.203, 0.327).lineTo(0.203, -0.708).lineTo(-0.203, -0.708).lineTo(-0.203, 0.327).lineTo(-0.763, 0.327).lineTo(-0.763, 0.708).lineTo(0.763, 0.... | 20 | 212 | 0.646262 |
train_d0787f43a6291ee5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, 0.019, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.073, 0.067).threePointArc((0.184, 0.045), (0.39, 0.001)).lineTo(0.445, -0.011).threePointArc((0.452, -0.014), (0.446, -0.017)).lineTo(0.27, -0.062).threePointArc((0.233, -0.067), (0.18... | 3 | 42 | 0.512545 |
train_a4883c80f4f55249 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.533, 0, -0.656), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.192, 0.468).threePointArc((0.386, 0.386), (0.466, 0.192)).lineTo(0.466, -0.175).threePointArc((0.381, -0.383), (0.173, -0.468)).lineTo(-0.029, -0.468).threePointArc((-0.338, -0.34), (-... | 8 | 39 | 0.400754 |
train_6a146a525bada4d0 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.056, 0.083).threePointArc((0.056, 0.083), (0.111, 0)).threePointArc((0.056, -0.083), (-0.056, -0.083)).threePointArc((-0.111, 0), (-0.056, 0.083)).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.06, 0.073, -0.02), ... | 3 | 14 | 0.066799 |
train_31e7483087c5529f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.779, -0.56, -0.764), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.56).threePointArc((1.103, 1.103), (1.56, 0)).lineTo(0.575, 0).threePointArc((0.407, 0.407), (0, 0.575)).lineTo(0, 1.56).close().extrude(0.985)
result = result.union(cq.Workplan... | 4 | 20 | 2.004791 |
train_1621dc2a7939e845 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.689, -0.404, 0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.046, 0.811).threePointArc((0.375, 0.403), (0.407, 0.317)).threePointArc((0.403, 0.246), (0.363, 0.183)).threePointArc((0.185, 0.02), (0.177, -0.349)).threePointArc((0.253, -0.58),... | 11 | 43 | 0.606849 |
train_a92092ba1b68de70 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, -0.317, 0.333), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.217, 0.681).lineTo(0.698, 0.153).lineTo(0.481, -0.527).lineTo(-0.217, -0.681).lineTo(-0.373, -0.582).lineTo(-0.43, -0.392).threePointArc((-0.494, -0.329), (-0.55, -0.261)).lineTo... | 4 | 99 | 0.445893 |
train_524258cca16cc4ea | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, -0.635, 0.247), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.169, 1.193).threePointArc((0.401, 1.221), (0.63, 1.137)).threePointArc((0.748, 0.939), (0.697, 0.71)).threePointArc((0.512, 0.543), (0.297, 0.474)).threePointArc((0.146, 0.453), (... | 5 | 43 | 0.576294 |
train_b136a2e23056af17 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.196, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.16).extrude(0.326, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.196, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.443).extrude(1, both=True))
result = result.cut... | 6 | 20 | 0.640974 |
train_40ec1347bb910d64 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.858, 0.664).lineTo(0.858, -0.664).lineTo(-0.858, -0.664).lineTo(-0.858, 0.664).lineTo(-0.587, 0.664).lineTo(-0.587, -0.39).lineTo(0.587, -0.39).lineTo(0.587, 0.664).lineTo(0.858, 0.664).close().extrude(1, both=True)
result = result.cut(cq.Workplane(... | 2 | 19 | 2.057848 |
train_cdbb674bd0f61386 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.017, 0.355).lineTo(1.017, 0.218).threePointArc((0.997, 0.203), (0.95, 0.197)).lineTo(-0.179, 0.197).threePointArc((-0.373, 0.17), (-0.455, 0.108)).lineTo(-0.455, -0.124).threePointArc(... | 6 | 150 | 0.195168 |
train_42f0fcce399a6e76 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.398, 0, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.606).extrude(0.369)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.004, 0, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.228, 0.474), (-0.741, 0.591), (-1.15... | 8 | 123 | 0.457252 |
train_9fde66592291e047 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.469), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.831).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.831).lineTo(-0.476, 0.831).lineTo(-0.476, 0.524).lineTo(0.476, 0.524).lineTo(0.476, 0.831).lineTo(1, 0.831).close().extrude(0.643, both=Tru... | 10 | 57 | 1.255012 |
train_d3d0abd506b9c0e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.298, 0.459, 0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.27, 0.468).threePointArc((0.27, 0.468), (0.539, 0)).threePointArc((0.27, -0.468), (-0.27, -0.468)).threePointArc((-0.539, 0), (-0.27, 0.468)).close().sweep(cq.Workplane(cq.Plane(o... | 2 | 13 | 1.599517 |
train_9c8dbe8e147fafcf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, -0.001, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.611, 0.065).lineTo(0.603, 0.034).lineTo(0.596, 0.003).lineTo(0.588, -0.027).lineTo(0.58, -0.058).lineTo(0.571, -0.088).lineTo(0.563, -0.118).lineTo(0.554, -0.148).lineTo(0.545, -0.178... | 33 | 241 | 2.417291 |
train_c0d8127a2e146bde | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.036, 0.034, 0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.695, 0.738).threePointArc((-0.614, 0.706), (-0.467, 0.602)).threePointArc((-0.409, 0.578), (-0.183, 0.608)).threePointArc((-0.041, 0.604), (0.285, 0.488)).threePointArc((0.904, 0.1... | 5 | 27 | 0.736443 |
train_af15923b8d8ddf75 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.394, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.094).extrude(0.334, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.394, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.447).extrude(0.605, both=True))
result = result.... | 16 | 83 | 0.746897 |
train_2529cba82c5896cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.84, 0.199).lineTo(0.912, 0.116).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.915, 0).lineTo(0.915, 0.06).lineTo(0.819, 0.116).lineTo(0, 0.122).lineTo(0, 0.199).lineTo(0.84, 0.199).close().revolve(... | 7 | 39 | 0.233137 |
train_2321650d52694dad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.257, -0.529), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.385).lineTo(1, -0.395).lineTo(-0.985, -0.395).lineTo(-1, -0.388).lineTo(-1, 0.386).lineTo(-0.982, 0.386).lineTo(-0.982, 0.395).lineTo(0.982, 0.395).lineTo(0.982, 0.385).lineTo(1, 0.... | 9 | 216 | 1.469051 |
train_7bcf2584bcef4c00 | 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.871, 0.74).lineTo(0.871, -0.74).lineTo(-0.871, -0.74).lineTo(-0.871, 0.74).lineTo(-0.315, 0.74).lineTo(-0.315, -0.184).lineTo(0.315, -0.184).lineTo(0.315, 0.74).lineTo(0.871, 0.74).close().ext... | 9 | 10 | 3.99208 |
train_d03f728b23567f2c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.784, 1).threePointArc((0.866, 0.959), (0.902, 0.881)).lineTo(0.902, -0.882).threePointArc((0.867, -0.959), (0.785, -1)).lineTo(0.241, -1).threePointArc((0.199, -0.976), (0.181, -0.937)).li... | 6 | 62 | 0.345909 |
train_a60d8c2a82930f55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.037, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.877, 0.421).threePointArc((0.963, 0.385), (1, 0.3)).lineTo(1, -0.248).threePointArc((0.948, -0.37), (0.827, -0.421)).lineTo(-0.815, -0.421).threePointArc((-0.944, -0.367), (-1, -0.235... | 14 | 217 | 0.436931 |
train_ce9f8d1d7a084cbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0.056, 0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.208, 0.544).threePointArc((0.691, 0.152), (-0.17, -0.382)).lineTo(-0.612, -0.544).threePointArc((-0.691, -0.513), (-0.673, -0.311)).lineTo(-0.172, -0.123).threePointArc((-0.166, -... | 18 | 242 | 1.197469 |
train_007eb55e32c1dda6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.635, 0, -0.324), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.367, 0.607).lineTo(0.367, 0.367).lineTo(1.27, 0.367).lineTo(1.27, 0).lineTo(0, 0).lineTo(0, 0.607).lineTo(0.367, 0.607).close().extrude(1, both=True)
result = result.union(cq.Workpla... | 14 | 261 | 0.576011 |
train_c87e6981a8653c86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.422)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.852).extrude(1.263, both=True))
result = result.union(cq.Workpl... | 16 | 90 | 0.648582 |
train_c5aa867c4d731f3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.161, 0.064, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.128, 0.239).lineTo(-0.128, -0.173).lineTo(0.195, -0.173).lineTo(0.195, -0.239).lineTo(-0.195, -0.239).lineTo(-0.195, 0.239).lineTo(-0.128, 0.239).close().sweep(cq.Workplane(cq.Pla... | 11 | 171 | 0.807597 |
train_f6b8f6a59c362c5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.552, 0.556).lineTo(1, 0.107).lineTo(1, -0.357).lineTo(0.802, -0.556).lineTo(-0.783, -0.556).lineTo(-1, -0.339).lineTo(-1, 0.344).lineTo(-0.791, 0.556).lineTo(0.552, 0.556).close().extrude(... | 14 | 45 | 0.090546 |
train_88ced0877b916b8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.16, 0.035, 0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.518, -0.116).threePointArc((-0.682, -0.113), (-0.626, -0.07)).threePointArc((-0.751, 0.058), (-0.165, 0.07)).threePointArc((0.131, 0.105), (0.134, 0.166)).lineTo(0.457, 0.214).line... | 14 | 228 | 0.522805 |
train_0d66702189421152 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.544), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.087)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.544), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.674).extrude(3.261, both=True))
result = result.union(cq.Workpl... | 12 | 24 | 3.341752 |
train_43212245d6023527 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.02, 0, -0.69), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.134, 0.751).lineTo(0.808, 0.655).threePointArc((0.987, 0.457), (0.769, 0.121)).lineTo(0.345, 0.161).threePointArc((0.291, 0.145), (0.298, 0.08)).lineTo(0.436, -0.241).threePointArc((0.3... | 11 | 184 | 1.027372 |
train_b52de1b13b372ec8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.381, -0.755), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.604, 0.565).lineTo(0.74, 0.43).lineTo(0.74, -0.436).lineTo(0.61, -0.436).lineTo(0.61, -0.565).lineTo(-0.618, -0.565).threePointArc((-0.703, -0.529), (-0.74, -0.444)).lineTo(-0.74, 0.43... | 26 | 284 | 3.288203 |
train_8a197e5459dbf72c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, -0.103).lineTo(0.979, -0.168).lineTo(0.964, -0.237).lineTo(0.689, -0.177).lineTo(0.657, -0.274).lineTo(0.904, -0.407).lineTo(0.875, -0.469).lineTo(0.623, -0.342).lineTo(0.567, -0... | 8 | 212 | 0.21239 |
train_82b4de4b82cee369 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, 0.232, -0.492), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.722, 0.194).threePointArc((0.194, 0.722), (0.722, -0.194)).threePointArc((-0.194, -0.722), (-0.722, 0.194)).close().sweep(cq.Workplane(cq.Plane(origin=(0.129, 0.232, -0.492), norm... | 4 | 46 | 0.65461 |
train_7bb56f79ec495e00 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.796, 0.204).threePointArc((1, 0), (0.796, -0.204)).lineTo(0.265, -0.204).lineTo(-0.265, -0.204).lineTo(-0.796, -0.204).threePointArc((-1, 0), (-0.796, 0.204)).lineTo(-0.265, 0.204).lineTo(0.265, 0.204).lineTo(0.796, 0.204).close().extrude(0.167, bot... | 7 | 22 | 0.253804 |
train_ea89f7c62ea8bf80 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.373, -0.073, -0.053), normal=(-0.922, 0.271, 0.277), xDir=(-0.282, -0.959, 0))).moveTo(0, 0.985).lineTo(0, 0.328).lineTo(0.811, 0.328).lineTo(0.811, -0.328).lineTo(0, -0.328).lineTo(0, -0.985).lineTo(-0.811, -0.985).lineTo(-0.811, -0.328).lineTo... | 14 | 187 | 1.113951 |
train_db5a2e59be9d6c88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.2, 0.09, -0.155), normal=(0.295, 0.509, 0.809), xDir=(-0.865, 0.501, 0))).moveTo(0.221, 0.489).lineTo(0.221, -0.562).lineTo(-0.221, -0.562).lineTo(-0.221, 0.489).threePointArc((-0.189, 0.562), (-0.158, 0.489)).threePointArc((-0.126, 0.416), (-0.... | 17 | 159 | 0.527476 |
train_32ed009dfb42b0d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.314, 0.987).lineTo(0.314, 0.658).lineTo(0.943, 0.658).lineTo(0.943, -0.987).lineTo(0.314, -0.987).lineTo(0.314, -0.658).lineTo(-0.943, -0.658).lineTo(-0.943, -0.329).lineTo(0.314, -0.329).... | 10 | 44 | 0.497331 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.