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_61cb44ad97bf525d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.079, -0.212, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 0.448).lineTo(0.774, 0.276).lineTo(0.207, 0.276).lineTo(0.207, -0.448).lineTo(-0.207, -0.448).lineTo(-0.207, 0.276).lineTo(-0.774, 0.276).lineTo(-0.774, 0.448).lineTo(0.774, 0... | 16 | 1,108 | 0.657048 |
train_b9f8b88f8842398c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0.001, -0.855), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.158, 0.286).lineTo(0.329, -0.01).lineTo(0.166, -0.286).lineTo(-0.168, -0.285).lineTo(-0.329, 0.001).lineTo(-0.167, 0.281).lineTo(0.158, 0.286).close().extrude(3.337, taper=9.642)
r... | 19 | 153 | 0.131818 |
train_ae8e295eedfd4580 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.292, 0.318).lineTo(0.476, 0.134).lineTo(0.476, -0.053).lineTo(0.209, -0.318).lineTo(-0.172, -0.318).threePointArc((-0.387, -0.229), (-0.476, -0.015)).lineTo(-0.476, 0.045).threePointArc((-... | 10 | 88 | 0.295538 |
train_765edee63751bf59 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.531, -0.206, -0.19), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.671, 1.135).threePointArc((0.769, 1.094), (0.81, 0.996)).lineTo(0.81, -0.584).threePointArc((0.769, -0.682), (0.671, -0.723)).lineTo(-0.671, -0.723).threePointArc((-0.769, -0.682)... | 15 | 339 | 2.916102 |
train_5442719cc66950fb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0.017, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.707, -0.073).threePointArc((-0.953, -0.118), (-0.703, 0.037)).lineTo(0.594, 0.037).threePointArc((0.953, 0.118), (0.594, -0.071)).lineTo(-0.707, -0.073).close().extrude(0.353, ta... | 4 | 39 | 0.096779 |
train_e207966c90daf94f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.411, 0.253, 0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.294, 0.441).lineTo(0.588, 0.147).lineTo(0.588, -0.147).lineTo(-0.147, 0.147).lineTo(-0.294, -0.441).lineTo(-0.588, -0.294).lineTo(-0.294, 0.441).close().extrude(5.836, both=True)
... | 17 | 223 | 0.43872 |
train_5233dac9775e0382 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.474, -0.053, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.272, 0.529).threePointArc((0.359, 0.48), (0.4, 0.383)).threePointArc((0.392, 0.272), (0.371, 0.18)).threePointArc((0.381, 0.114), (0.434, 0.05)).threePointArc((0.497, -0.037), (0.... | 7 | 148 | 0.590249 |
train_f3809a4c5f3c03e9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.281), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.91, 0.561).lineTo(0.91, 0.116).lineTo(1.004, 0.116).lineTo(1.004, 0).lineTo(0.513, 0).lineTo(0.513, 0.561).lineTo(0.91, 0.561).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE... | 4 | 22 | 1.041466 |
train_13b894095bc656fd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.942, 0.592).threePointArc((0.977, 0.576), (1, 0.541)).lineTo(1, -0.552).threePointArc((0.98, -0.579), (0.952, -0.592)).lineTo(-0.948, -0.592).threePointArc((-0.979, -0.579), (-1, -0.547)).... | 9 | 85 | 0.815488 |
train_7d9973e86bef0334 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0.186, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.333, 0.65).threePointArc((-0.255, 0.601), (-0.222, 0.487)).lineTo(-0.222, 0.248).threePointArc((-0.172, 0.074), (-0.053, 0)).lineTo(0.546, 0).threePointArc((0.629, -0.052), (0.665... | 14 | 196 | 0.44208 |
train_ff5b3459ea7a382b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.51), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.951, 0.279).lineTo(0.951, -0.278).threePointArc((0.941, -0.301), (0.917, -0.311)).lineTo(-0.928, -0.311).threePointArc((-0.944, -0.304), (-0.951, -0.288)).lineTo(-0.951, 0.273).threePointAr... | 6 | 48 | 0.562475 |
train_b18219d4efc0fcb1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.948, 0.596).lineTo(1, 0.553).lineTo(1, -0.553).threePointArc((0.979, -0.584), (0.949, -0.596)).lineTo(-0.95, -0.596).threePointArc((-0.98, -0.584), (-1, -0.555)).lineTo(-1, 0.535).threePoi... | 16 | 133 | 0.289758 |
train_018a36beedab4326 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.304, 0.155, 0.067), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.266, 0.384).lineTo(0.266, -0.074).threePointArc((-0.266, 0.155), (0.266, 0.384)).close().extrude(0.494)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.612, -0.044, 0.041), norm... | 5 | 27 | 0.448261 |
train_03d2b84a19deaab2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -1.196, -0.513), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.28, 1.911).lineTo(0.408, 1.554).lineTo(0.39, 1.196).lineTo(0.217, 0.838).threePointArc((0.321, 0.676), (0.28, 0.485)).threePointArc((-0.001, 0.204), (-0.281, 0.485)).lineTo(-0.408, 0.... | 7 | 40 | 1.24919 |
train_62461e76c53846cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.163, 0.976, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.064, 0.486).lineTo(0.243, 0.307).lineTo(0.243, -0.397).lineTo(0.154, -0.486).lineTo(0.06, -0.486).lineTo(0, -0.426).lineTo(0, -0.082).lineTo(-0.082, 0).lineTo(-0.188, 0).lineTo(-0.... | 5 | 69 | 0.159718 |
train_5f110271792468a2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.008, 0.043).lineTo(0.022, 0.038).lineTo(0.034, 0.028).lineTo(0.041, 0.015).lineTo(0.044, 0).lineTo(0.041, -0.015).lineTo(0.034, -0.028).lineTo(0.022, -0.038).lineTo(0.008, -0.043).lineTo(-0.008, -0.043).lineTo(-0.022, -0.038).lineTo(-0.034, -0.028).... | 6 | 44 | 0.014318 |
train_8e39aa4a57d916ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.176).lineTo(1, -0.2).lineTo(-1, -0.2).lineTo(-1, 0.172).threePointArc((-0.991, 0.192), (-0.971, 0.2)).lineTo(0.975, 0.2).lineTo(1, 0.176).close().extrude(0.118)
result = result.union... | 16 | 121 | 0.174822 |
train_a723bfbd73ea49df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.72, 0.239).lineTo(0.96, 0.048).lineTo(0.96, -0.239).lineTo(-0.96, -0.239).lineTo(-0.96, 0.048).lineTo(-0.84, 0.239).lineTo(-0.72, 0.239).lineTo(-0.6, 0.048).lineTo(-0.48, 0.239).lineTo(-0.... | 11 | 273 | 0.253023 |
train_8dede163274a59bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.639, 0.235, 0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.204, 0.296).lineTo(0.361, 0.231).lineTo(0.361, -0.28).lineTo(0.042, -0.28).threePointArc((-0.013, -0.194), (-0.053, -0.28)).lineTo(-0.127, -0.296).lineTo(-0.18, -0.279).lineTo(-0.22... | 3 | 57 | 0.998609 |
train_eae156882a76bd39 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.407, -0.341, -0.593), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.078, 0.313).threePointArc((-0.06, 0.306), (-0.052, 0.287)).lineTo(-0.052, 0.229).threePointArc((-0.046, 0.215), (-0.032, 0.209)).lineTo(0.129, 0.209).threePointArc((0.148, 0.201)... | 9 | 252 | 0.692933 |
train_cf8e5ebdcf2d376f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.577), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.516, 0.794).lineTo(-0.425, 0.452).lineTo(-0.3, 0.669).lineTo(-0.192, 0.606).lineTo(-0.208, 0.327).lineTo(0.025, 0.481).lineTo(0.133, 0.419).lineTo(0.117, 0.14).lineTo(0.35, 0.294).lineTo(... | 3 | 26 | 1.188921 |
train_fcf4858f39686a1f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.353).lineTo(1, 0.251).threePointArc((0.967, 0.223), (0.89, 0.212)).lineTo(0.331, 0.212).threePointArc((0.267, 0.202), (0.241, 0.18)).lineTo(0.241, -0.138).threePointArc((0.302, -0.19), ... | 13 | 208 | 0.175058 |
train_cc7f89462df6e7d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.138, -0.294), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.373, 0.867).lineTo(0.373, 0.486).lineTo(0.418, 0.486).lineTo(0.418, 0.278).lineTo(0.642, 0.278).lineTo(0.642, 0.096).lineTo(0.862, 0.096).lineTo(0.862, 0).lineTo(0, 0).lineTo(0, 0.867... | 6 | 44 | 0.620034 |
train_cd133e2c028edf96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.93).extrude(0.246, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.219), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.172).extrude(0.295, both=True))
resul... | 11 | 52 | 0.376979 |
train_ca5ebc7816825fde | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.335, 0.008, -0.847), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.376, 0.286).threePointArc((0.35, 0.189), (0.613, 0.015)).threePointArc((0.587, -0.081), (0.439, -0.248)).threePointArc((0.344, -0.222), (0.221, -0.293)).threePointArc((0.099, -0.3... | 15 | 219 | 1.116277 |
train_ede994e9b88b069e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.034, 0.013, -0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.965, -0.221).threePointArc((0.138, -0.809), (-0.965, -0.515)).threePointArc((0, 0.809), (0.965, -0.221)).close().moveTo(0.69, -0.221).threePointArc((0.138, -0.515), (-0.552, -0.368)... | 8 | 96 | 0.222726 |
train_5462f42e21cb5f2a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.056, -0.966), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.253, 0.033).threePointArc((0.281, 0.017), (0.281, -0.016)).threePointArc((0.252, -0.033), (0.224, -0.017)).threePointArc((0.224, 0.016), (0.253, 0.033)).close().sweep(cq.Workplane(cq.... | 6 | 42 | 0.148262 |
train_02435975346f669c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0, -0.554), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.108).lineTo(1, 0.591).lineTo(0.99, 0.591).lineTo(0.99, 0).lineTo(0.528, 0).lineTo(0.528, 1.108).lineTo(1, 1.108).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ... | 4 | 42 | 2.009997 |
train_a104d40f93f5e596 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.118, 0, -0.918), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.979, 1).lineTo(0.979, 0.719).lineTo(0.157, 0.719).lineTo(0.157, -1).lineTo(-0.157, -1).lineTo(-0.157, 0.719).lineTo(-0.979, 0.719).lineTo(-0.979, 1).lineTo(0.979, ... | 7 | 92 | 2.323129 |
train_5da3ce4483074313 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.283, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.292, 2).lineTo(0.292, 0.292).lineTo(0.456, 0.292).lineTo(0.456, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.292, 2).close().extrude(0.949, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 5 | 31 | 1.161919 |
train_9ea0588fac5cfc7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.383, 0.908), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.065, 0.343).lineTo(0.105, 0.266).lineTo(0.144, 0.188).threePointArc((0.201, 0.187), (0.256, 0.17)).threePointArc((0.255, 0.121), (0.298, 0.095)).lineTo(0.331, 0.013).lineTo(0.1, -0.343)... | 2 | 17 | 0.096811 |
train_a3cba867c63ed669 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.044, 0.208, 0.217), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.347, 0.542).lineTo(0.407, 0.336).threePointArc((0.619, 0.176), (0.686, -0.15)).lineTo(0.787, -0.468).lineTo(0.505, -0.542).lineTo(0.23, 0.512).lineTo(0.347, 0.542).close().revolve... | 3 | 17 | 1.115243 |
train_9d3aa363e4ced457 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.173), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.318, 0.346).lineTo(0.318, 0).lineTo(-0.318, 0).lineTo(-0.318, 0.346).lineTo(-0.166, 0.346).lineTo(-0.166, 0.152).lineTo(0.166, 0.152).lineTo(0.166, 0.346).lineTo(0.318, 0.346).close().ext... | 10 | 166 | 0.20881 |
train_76a47b85129faa22 | 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.66, 2).lineTo(0.66, 0.517).lineTo(0.765, 0.517).lineTo(0.765, 0).lineTo(0.631, 0).lineTo(0.631, 2).lineTo(0.66, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
re... | 3 | 28 | 0.352099 |
train_b519be933d697eba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.146, 1).threePointArc((0.704, 0.502), (0.994, 0.381)).threePointArc((0.815, -0.322), (0.848, -0.619)).threePointArc((0.111, -0.825), (-0.146, -1)).threePointArc((-0.704, -0.502), (-0.994, -... | 24 | 113 | 0.719388 |
train_2bc282c7956ab2ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.026, 0.076, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.07, -0.702).lineTo(-0.209, -0.877).threePointArc((-1.043, -0.877), (-0.626, 0)).threePointArc((-0.487, 0.175), (-0.487, 0.526)).threePointArc((0.348, 0.877), (0.487, 0.351)).three... | 8 | 59 | 1.181306 |
train_064af7935f8f316a | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.7, 0.834).threePointArc((-0.63, 0.804), (-0.6, 0.731)).lineTo(-0.6, 0.546).threePointArc((-0.563, 0.455), (-0.477, 0.417)).lineTo(0.857, 0.417).threePointArc((0.957, 0.373), (1, 0.269)).lineTo(1, 0.144).threePointArc((0.958, 0.043), (0.861, 0)).lin... | 5 | 120 | 0.5083 |
train_c6837b05cd66f63a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.134, -0.085, -0.633), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.709, 0.714).lineTo(0.709, 0.103).lineTo(-0.472, 0.103).lineTo(-0.472, -0.103).lineTo(0.709, -0.103).lineTo(0.709, -0.714).lineTo(-0.709, -0.714).lineTo(-0.709, -0.51).lineTo(0.47... | 21 | 381 | 1.830056 |
train_43b8815770cc3591 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.264, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.903, 0.667).lineTo(-0.903, -0.379).lineTo(1.626, -0.379).lineTo(1.626, -0.667).lineTo(-1.626, -0.667).lineTo(-1.626, 0.667).lineTo(-0.903, 0.667).close().extrude(2)
result = result.edges(... | 7 | 63 | 0.984364 |
train_0099e0de7b992ee8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.978, 0.461).lineTo(0.978, -0.457).lineTo(0.964, -0.471).lineTo(-0.967, -0.471).threePointArc((-0.976, -0.467), (-0.978, -0.458)).lineTo(-0.978, 0.459).threePointArc((-0.976, 0.467), (... | 8 | 117 | 0.440611 |
train_0d075bbcd35ba0b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.15, 0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.74, 0.85).threePointArc((0.818, 0.818), (0.85, 0.74)).lineTo(0.85, 0.46).threePointArc((0.799, 0.336), (0.675, 0.284)).lineTo(0.452, 0.284).threePointArc((0.334, 0.234), (0.284, 0.116))... | 10 | 70 | 0.64383 |
train_9d9cf47809c42588 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1, 2).extrude(0.276)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.072, -0.312, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).spline([(-0.655, 0.255), (-0.598, 0.332), (-0.622, 0.355), (-0... | 12 | 44 | 0.383785 |
train_01e5dfbd468e0fab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.622, 0, -0.457), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.978).threePointArc((0.315, 0.848), (0.445, 0.538)).threePointArc((0.315, 0.223), (0, 0.093)).threePointArc((-0.315, 0.223), (-0.445, 0.538)).threePointArc((-0.315, 0.848), (0, 0.97... | 9 | 376 | 1.231311 |
train_7968ad812536d21a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.203, 0.106, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.347, 0.757).threePointArc((0.726, 0.854), (0.908, 0.685)).lineTo(0.631, -0.346).threePointArc((0.622, -0.365), (0.605, -0.382)).lineTo(0.544, -0.429).threePointArc((0.525, -0.44), ... | 31 | 170 | 0.926572 |
train_95ab72e86cd152ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.206, 0.258, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.086, 1.765).threePointArc((0.206, 1.683), (0.255, 1.52)).lineTo(0.334, 1.368).threePointArc((0.433, 1.344), (0.494, 1.28)).lineTo(0.473, 1.18).lineTo(0.353, 1.116).lineTo(0.548, 0.923)... | 3 | 24 | 0.628998 |
train_7761583bb64c1612 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.209, 0.051), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.129, 1.019).threePointArc((0.273, 1.043), (0.409, 0.995)).threePointArc((0.503, 0.886), (0.548, 0.752)).threePointArc((0.556, 0.62), (0.544, 0.499)).threePointArc((0.52, 0.387), (0.487... | 11 | 137 | 1.95655 |
train_e0538741151492f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, 0.647).threePointArc((0.922, 0.59), (1, 0.455)).lineTo(1, -0.249).threePointArc((0.965, -0.302), (0.9, -0.324)).lineTo(0.705, -0.324).threePointArc((0.629, -0.349), (0.597, -0.41)).lin... | 4 | 176 | 1.409077 |
train_2749235a21a42b60 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.872, -0.125).lineTo(0.987, -0.165).lineTo(0.976, -0.221).lineTo(0.858, -0.203).lineTo(0.821, -0.323).lineTo(0.923, -0.388).lineTo(0.899, -0.441).lineTo(0.788, -0.396).lineTo(0.724... | 4 | 235 | 1.576026 |
train_a4dc1791266a2eef | 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.284, 0.542).lineTo(0.885, 0.408).lineTo(0.904, 0.389).lineTo(1, -0.175).lineTo(0.622, -0.542).lineTo(0.068, -0.413).lineTo(-0.064, 0.118).lineTo(0.284, 0.542).close().extrude(0.628).union(... | 4 | 24 | 0.946662 |
train_f28fbae1b5a85f9a | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.758, 0.897, 2)
result = result.edges().fillet(0.197)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.085, 0.451, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.144, 0.83).threePointArc((0.536, 0.889), (1.34, 0.584)).lineTo(1.362, 0.145).lineTo(1.2... | 12 | 131 | 0.768426 |
train_102ddf7fb4f7e01a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.563, 1).lineTo(0.563, -0.884).lineTo(0.455, -1).lineTo(-0.406, -1).threePointArc((-0.517, -0.946), (-0.563, -0.834)).lineTo(-0.563, 0.876).lineTo(-0.446, 1).lineTo(0.563, 1).close().extrud... | 12 | 126 | 0.241965 |
train_17bd51a107b21391 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.623, 0.435).lineTo(0.623, 0).lineTo(-0.623, 0).lineTo(-0.623, 0.435).lineTo(-0.565, 0.435).lineTo(-0.565, 0.058).lineTo(0.565, 0.058).lineTo(0.565, 0.435).lineTo(0.623, 0.435).close().ext... | 7 | 92 | 0.215255 |
train_bfb9765333e75b4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.845, 0.001, 0.012), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.183, 0.478).lineTo(0.438, 0.254).lineTo(0.49, -0.084).lineTo(0.488, -0.182).lineTo(0.382, -0.217).threePointArc((0.372, -0.269), (0.386, -0.32)).lineTo(0.314, -0.376).lineTo(0.201... | 2 | 38 | 1.25959 |
train_f9567bbb522c42a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.875, 0.892).lineTo(1, 0.779).lineTo(1, -0.843).lineTo(0.941, -0.892).lineTo(-0.913, -0.892).lineTo(-1, -0.818).lineTo(-1, 0.768).lineTo(-0.862, 0.892).lineTo(0.875, 0.892).close().extrude(... | 20 | 179 | 0.753268 |
train_176b5ad98fc15b85 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.712).lineTo(1, 0.4).lineTo(-0.684, 0.4).lineTo(-0.684, -0.4).lineTo(1, -0.4).lineTo(1, -0.712).lineTo(-1, -0.712).lineTo(-1, 0.712).lineTo(1, 0.712).close().extrude(0.358, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.507, 0.... | 7 | 43 | 0.940397 |
train_9a761b80768dea50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.515, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.013, 0.382).lineTo(0.343, 0.955).lineTo(0.216, 0.258).lineTo(0.763, 0.36).lineTo(0.293, -0.017).lineTo(0.734, -0.449).lineTo(0.197, -0.283).lineTo(0.276, -1).lineTo(-0.013, -0.382).lineTo(... | 16 | 1,244 | 0.821216 |
train_dc90040cb76fc4f8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.01, 0.033, 0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.719).threePointArc((0.958, 0.719), (0.958, 0.56)).lineTo(0.48, -0.56).threePointArc((0.48, -0.719), (0.16, -0.719)).lineTo(-0.799, -0.24).threePointArc((-0.958, 0.08), (-0.64... | 18 | 77 | 2.483626 |
train_4af28cf8cb288eac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.787, 0.624, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.666, 1.409).threePointArc((0.88, 1.321), (0.968, 1.107)).lineTo(0.968, 0.467).threePointArc((0.88, 0.253), (0.666, 0.164)).lineTo(-0.666, 0.164).threePointArc((-0.88, 0.253), (-0.968, ... | 3 | 74 | 2.421462 |
train_af06b0be8a3bdc11 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.018, 0.035, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.294, 0.29).lineTo(0.294, 0.174).lineTo(-0.196, 0.174).lineTo(-0.196, 0.058).lineTo(0.294, 0.058).lineTo(0.294, -0.29).lineTo(-0.294, -0.29).lineTo(-0.294, -0.174).lineTo(0.196, -0.174... | 2 | 37 | 0.458485 |
train_f9768700a417d482 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.596, 0.323).lineTo(0.596, 0).lineTo(-0.596, 0).lineTo(-0.596, 0.323).lineTo(-0.536, 0.323).lineTo(-0.536, 0.059).lineTo(0.536, 0.059).lineTo(0.536, 0.323).lineTo(0.596, 0.323).close().ext... | 5 | 16 | 0.193865 |
train_b28f9a9c7daebc28 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.013, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.53, 0.39).threePointArc((0.53, 0.561), (0.368, -0.561)).lineTo(-0.53, 0.39).close().moveTo(0.264, 0.419).lineTo(0.422, 0.252).threePointArc((0.422, 0.105), (0.283, 0.105)).lineTo(0.12... | 6 | 111 | 0.644144 |
train_662e5867c8c1b65b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.039, 0.068).lineTo(0.078, 0).lineTo(0.039, -0.068).lineTo(-0.039, -0.068).lineTo(-0.078, 0).lineTo(-0.039, 0.068).lineTo(0.039, 0.068).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 1), normal=(0, 0, 1), xDir=(... | 8 | 46 | 0.021786 |
train_d338f6369381cae8 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.597, 0.857).lineTo(-0.597, 0.172).lineTo(0.199, 0.172).lineTo(0.199, -0.172).lineTo(1, -0.172).lineTo(1, -0.517).lineTo(0.199, -0.517).lineTo(0.199, -0.857).lineTo(-0.597, -0.857).lineTo(-0.597, -0.517).lineTo(-1, -0.517).lineTo(-1, 0.857).lineTo(-... | 4 | 25 | 0.995145 |
train_7cdd9376518330a6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.221, -0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, 0.387).lineTo(0.746, 0.128).threePointArc((0.85, 0.003), (0.719, -0.096)).lineTo(0.684, -0.312).lineTo(0.71, -0.329).lineTo(0.714, -0.358).threePointArc((0.669, -0.387), (0.64, -0... | 9 | 69 | 1.419962 |
train_c30738b3e87b1737 | 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.168, 0.34).lineTo(0.344, 0.002).lineTo(0.166, -0.34).lineTo(-0.169, -0.338).lineTo(-0.344, -0.008).lineTo(-0.171, 0.337).lineTo(0.168, 0.34).close().extrude(3.097, taper=8.648)
result = result... | 2 | 13 | 0.238189 |
train_0e96465bfd2de619 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.142, -0.157, -0.748), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.143, 0.177).threePointArc((0.179, 0.159), (0.194, 0.118)).lineTo(0.194, -0.037).threePointArc((0.181, -0.073), (0.149, -0.088)).lineTo(-0.024, -0.088).threePointArc((-0.034, -0.0... | 7 | 102 | 0.177237 |
train_a863f7c95c504f82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.341, 0.358, 0.203), normal=(-0.001, -0.06, 0.998), xDir=(0, -0.998, -0.06))).moveTo(-0.015, -0.16).lineTo(-0.347, 0.098).threePointArc((-0.57, 0.156), (-0.352, 0.242)).lineTo(-0.224, 0.344).threePointArc((-0.231, 0.369), (-0.176, 0.36)).lineTo(0... | 14 | 179 | 1.007805 |
train_87e6c18eead663c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.102, 0, 0.407), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.235, 0.289).threePointArc((0.064, 0.248), (0.345, 0.141)).threePointArc((0.535, -0.004), (0.581, -0.148)).threePointArc((0.471, -0.252), (0.235, -0.289)).threePointArc((-0.064, -0.24... | 7 | 79 | 1.126275 |
train_75c8aeb7992e419a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.286, -0.041, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.051, 0.102).threePointArc((0.082, 0.112), (0.208, 0.088)).lineTo(0.68, 0.079).threePointArc((0.73, 0.073), (0.683, 0.045)).lineTo(0.24, 0.054).threePointArc((0.215, 0.052), (0.204... | 17 | 81 | 0.050463 |
train_87adf534ea44fe00 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.214, 0.165, 0.062), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.444, 0.353).lineTo(0.489, 0.322).threePointArc((0.499, 0.307), (0.495, 0.29)).lineTo(0.255, -0.059).threePointArc((0.252, -0.074), (0.26, -0.087)).lineTo(0.306, -0.119).threePointA... | 15 | 557 | 0.796055 |
train_db11a2d7ba4d7adc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0.256, 0.796, -0.549), xDir=(-0.952, 0.306, 0))).moveTo(0.377, 0.444).threePointArc((0.454, 0), (0.377, -0.444)).lineTo(0.126, -0.444).lineTo(-0.126, -0.444).lineTo(-0.377, -0.444).threePointArc((-0.454, 0), (-0.377, 0.444)).line... | 2 | 29 | 1.184374 |
train_16e83fdddaa20f7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.451).extrude(1.128, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.439).extrude(0.34, both=True))
result = result... | 10 | 40 | 0.51122 |
train_7c12a830bec947da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, -0.049, 0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.013, 0.09).lineTo(0.038, 0.083).lineTo(0.076, 0.049).lineTo(0.091, 0).lineTo(0.076, -0.049).lineTo(0.038, -0.083).lineTo(-0.013, -0.09).lineTo(-0.059, -0.069).lineTo(-0.087, -0.02... | 8 | 38 | 0.021204 |
train_da7f2228b9ffb01d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.188, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.552, -0.164).threePointArc((-0.6, -0.042), (-0.456, 0.024)).lineTo(-0.194, 0.811).lineTo(0.516, 0.342).threePointArc((0.493, 0.131), (0.748, 0.02)).lineTo(0.811, -0.237).lineTo(0.533, -0.7... | 5 | 74 | 0.2547 |
train_75b974cfc9a1c37f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.029, 0.004, -0.046), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.995, 0.051).lineTo(0.994, -0.008).lineTo(0.875, -0.006).threePointArc((0.755, -0.064), (0.576, -0.06)).lineTo(0.338, -0.056).lineTo(0.34, 0.064).lineTo(0.995, 0.051).close().revol... | 6 | 82 | 0.596187 |
train_e37ca6d46a5c9f02 | 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.18, 0.234).lineTo(0.388, 0.182).lineTo(0.44, -0.078).lineTo(0.285, -0.182).lineTo(0.076, -0.234).lineTo(-0.028, -0.078).lineTo(0.024, 0.078).lineTo(0.18, 0.234).close().extrude(1.972).union(cq... | 13 | 251 | 0.145739 |
train_9d3a99ed9cf7adc9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.11, -0.005, 0.516), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.201, 1.004).threePointArc((0.348, 0.895), (0.441, 0.651)).threePointArc((0.467, 0.306), (0.422, -0.085)).threePointArc((0.313, -0.463), (0.156, -0.769)).threePointArc((-0.024, -0.... | 9 | 115 | 1.648899 |
train_c78f3c0965e8b697 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.055, 0, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.656, 2).extrude(0.294)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.055, 0, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.234, -0.405).lineTo(-0.234, -0.095).lineTo(0.234, ... | 13 | 76 | 0.213741 |
train_e9c41fd4826eac49 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.003, -0.407), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.657, -0.153).lineTo(0.967, -0.263).lineTo(0.941, -0.348).lineTo(0.629, -0.243).lineTo(0.557, -0.379).lineTo(0.808, -0.594).lineTo(0.75, -0.663).lineTo(0.498, -0.453).lineTo(0.383... | 5 | 151 | 0.939858 |
train_e43524336cf5b073 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.372, 0.326, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.486, 0.673).lineTo(0.486, -0.673).lineTo(-0.486, -0.673).lineTo(-0.486, 0.673).lineTo(0.486, 0.673).close().extrude(0.455)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.372, ... | 10 | 85 | 0.683659 |
train_aebcd60005f91719 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.047, -0.572), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.369).lineTo(0.893, 0.262).lineTo(1, 0.262).lineTo(1, -0.369).lineTo(-1, -0.369).lineTo(-1, 0.369).lineTo(0.893, 0.369).close().extrude(0.424)
result = result.union(cq.Workplane(... | 11 | 132 | 0.604585 |
train_751877b6a45ae72c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.49, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.407, 2).extrude(0.239)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.49, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.111, -0.094).lineTo(0.111, -0.404).lineTo(-0.111,... | 14 | 108 | 0.187795 |
train_b3f9094e5a06d973 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.116, -0.011, 0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.598).threePointArc((0.449, 0.449), (0.598, 0)).threePointArc((0.449, -0.449), (0, -0.598)).threePointArc((-0.449, -0.449), (-0.598, 0)).threePointArc((-0.449, 0.449), (0, 0.598)... | 3 | 22 | 0.75416 |
train_f843d9e7188efaec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.009, 0.06, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.778, 0.602).lineTo(0.778, 0.234).lineTo(-0.411, 0.234).lineTo(-0.411, -0.234).lineTo(0.778, -0.234).lineTo(0.778, -0.602).lineTo(-0.778, -0.602).lineTo(-0.778, 0.602).lineTo(0.778, ... | 6 | 138 | 1.23851 |
train_a86427d122c64f37 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.17).lineTo(0.9, 0).lineTo(1, -0.17).lineTo(0.311, -0.17).lineTo(0.311, 0.17).lineTo(1, 0.17).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0, 0, 1)... | 8 | 36 | 0.604813 |
train_6dacec52f2e5af40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.61, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.217, 0.868).threePointArc((0.528, 0.968), (0.963, 0.68)).threePointArc((0.834, 0.176), (0.217, -0.251)).threePointArc((-0.528, -0.351), (-0.963, -0.064)).threePointArc((-0.834, 0.442), (-0... | 11 | 247 | 3.403234 |
train_a862d4c75298eb18 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.052, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.332, 0.597).lineTo(-0.332, 0.358).lineTo(1, 0.358).lineTo(1, 0.119).lineTo(0.332, 0.119).lineTo(0.332, -0.597).lineTo(-0.332, -0.597).lineTo(-0.332, -0.119).lineTo(-1, -0.119).lineTo(... | 11 | 94 | 0.52005 |
train_659bb40b3d3b0119 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.086, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.511, 0.378).threePointArc((0.045, 0.335), (0.538, 0.24)).lineTo(1, 0.032).threePointArc((0.716, -0.102), (0.47, -0.244)).lineTo(-0.334, -0.378).lineTo(-1, -0.116).lineTo(-0.98, 0.121... | 5 | 22 | 0.272943 |
train_ec161befa755e550 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.901, 0.368).lineTo(0.911, 0.227).lineTo(1, 0.128).lineTo(1, 0).lineTo(0.783, 0).lineTo(0.783, 0.111).lineTo(0.683, 0.227).lineTo(0, 0.156).lineTo(0, 0.368).lineTo(0.901, 0.368).close().re... | 7 | 44 | 0.579363 |
train_81e837ad2db797e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.883).threePointArc((0.667, 0.589), (1, 0)).threePointArc((0.667, -0.589), (0, -0.883)).threePointArc((-0.667, -0.589), (-1, 0)).threePointArc((-0.667, 0.589), (0, 0.883)).close().extrud... | 6 | 63 | 0.473019 |
train_0be24ce00aeb3557 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.109).lineTo(0.077, 0.077).lineTo(0.109, 0).lineTo(0.077, -0.077).lineTo(0, -0.109).lineTo(-0.077, -0.077).lineTo(-0.109, 0).lineTo(-0.077, 0.077).lineTo(0, 0.109).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, ... | 3 | 15 | 0.065804 |
train_0eb77bd16d4b66aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.007).extrude(0.222)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.008, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.756).extrude(0.667, both=True))
result = result.u... | 14 | 47 | 0.435989 |
train_083ba6b46bf3ab66 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.999, -0.122), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.089, 0.336).lineTo(0.116, 0.232).lineTo(0.327, 0.121).lineTo(0.249, -0.105).lineTo(0.152, -0.296).lineTo(-0.069, -0.336).lineTo(-0.252, -0.218).lineTo(-0.327, -0.021).lineTo(-0.251,... | 5 | 162 | 0.238856 |
train_961e46a57df50d51 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -1.092, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.653, 0.742).lineTo(0.653, 0.092).lineTo(-0.653, 0.092).lineTo(-0.653, 0.742).lineTo(-0.467, 0.742).lineTo(-0.467, 0.284).lineTo(-0.28, 0.284).lineTo(-0.28, 0.742).lineTo(-0.093, 0.742).lin... | 2 | 42 | 1.951659 |
train_447122e332edc01b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.579, 0.089), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.119, 0.332).lineTo(0.102, 0.086).lineTo(0.347, 0.063).lineTo(0.126, -0.045).lineTo(0.228, -0.269).lineTo(0.024, -0.131).lineTo(-0.119, -0.332).lineTo(-0.102, -0.086).lineTo(-0.347, -0.... | 5 | 80 | 0.529402 |
train_120102a45859b97c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.181, 0.197).lineTo(0.181, 0.118).lineTo(-0.09, 0.118).lineTo(-0.09, 0.039).lineTo(0.181, 0.039).lineTo(0.181, -0.197).lineTo(-0.181, -0.197).lineTo(-0.181, -0.118).lineTo(0.09, -0.118).lineTo(0.09, -0.039).lineTo(-0.181, -0.039).lineTo(-0.181, 0.197... | 12 | 696 | 0.187665 |
train_febcc3478d062dbb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.055, 0.002, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.788, 0.167).lineTo(0.945, 0.009).lineTo(0.945, -0.056).lineTo(0.835, -0.167).lineTo(-0.805, -0.167).lineTo(-0.945, -0.027).lineTo(-0.945, 0.06).lineTo(-0.838, 0.167).lineTo(0.788,... | 21 | 170 | 0.080155 |
train_943f0dec918a65d5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.016, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.372, 0.236).threePointArc((0.397, 0.224), (0.415, 0.204)).lineTo(0.449, 0.149).threePointArc((0.471, 0.128), (0.5, 0.127)).lineTo(0.641, 0.159).threePointArc((0.662, 0.158), (0.677, 0.144... | 4 | 105 | 0.702028 |
train_72db03acb53730b3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.681, 0.957).threePointArc((-0.553, 0.904), (-0.498, 0.784)).lineTo(-0.498, 0.365).threePointArc((-0.385, 0.109), (-0.119, 0)).lineTo(0.82, 0).threePointArc((0.94, -0.05), (1, -0.169)).lineTo(1, -0.33).threePointArc((0.946, -0.436), (0.836, -0.48)).... | 3 | 31 | 0.273629 |
train_7f865bd6f638829d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.172, -0.35, 0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.051, 0.29).threePointArc((0.147, 0.255), (0.121, 0.21)).lineTo(0.226, 0.189).threePointArc((0.277, 0.101), (0.228, 0.083)).lineTo(0.295, 0).threePointArc((0.277, -0.101), (0.228, -0.... | 7 | 123 | 0.531994 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.