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_879c88cd8dbfd77e | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.257, 0.382).lineTo(0.397, 0.328).lineTo(0.397, 0.128).lineTo(0.531, 0.076).lineTo(0.639, 0.076).lineTo(0.794, 0.017).lineTo(0.794, -0.038).lineTo(0.695, -0.076).lineTo(0.471, -0.076).lineTo(0.397, -0.105).lineTo(0.397, -0.294).lineTo(0.168, -0.382).... | 4 | 44 | 1.262366 |
train_87aff87037bd3a3b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.056, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.03, 1.217).threePointArc((0.353, 1.185), (0.664, 1.086)).lineTo(1.1, 0.895).lineTo(1.28, 0.566).threePointArc((1.323, 0.301), (1.333, 0.033)).lineTo(1.327, -0.261).threePointArc((1.217... | 5 | 72 | 1.22096 |
train_87bb632dcbbccda7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.043, 0.319, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.662, -0.107).lineTo(0.638, -0.211).lineTo(0.598, -0.31).lineTo(0.543, -0.401).lineTo(0.474, -0.483).lineTo(0.394, -0.552).lineTo(0.304, -0.608).lineTo(0.207, -0.649).lineTo(0.105, ... | 7 | 94 | 0.969305 |
train_a9db8d86a9d617b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.154, -0.046, 0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.331, -0.783).threePointArc((-0.457, -0.863), (-0.384, -0.544)).lineTo(-0.302, 0.411).lineTo(-0.089, 0.611).lineTo(0.257, 0.756).threePointArc((0.305, 0.954), (0.337, 0.614)).line... | 8 | 133 | 0.547597 |
train_28a77eaa2dd88001 | 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.69, 2).lineTo(0.69, 1.695).lineTo(0.304, 1.695).lineTo(0.304, 1.099).lineTo(0.43, 1.099).lineTo(0.43, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.69, 2).close().revolve(angleDegrees=360, axisStart=... | 1 | 7 | 1.267619 |
train_63f1c690d032e891 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.218, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.165, 2).lineTo(0.165, 0.165).lineTo(0.436, 0.165).lineTo(0.436, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.165, 2).close().extrude(0.573, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 3 | 13 | 0.445666 |
train_ed91f59f4a538cf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.099), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.159).lineTo(0.818, 0).lineTo(1, -0.159).lineTo(0.326, -0.159).lineTo(0.326, 0.159).lineTo(1, 0.159).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = re... | 10 | 54 | 0.594473 |
train_d806a7bd7b21221e | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.743).lineTo(1, 0.427).lineTo(0.158, 0.427).lineTo(0.158, -0.743).lineTo(-0.158, -0.743).lineTo(-0.158, 0.427).lineTo(-1, 0.427).lineTo(-1, 0.743).lineTo(1, 0.743).close().extrude(0.18, taper=7.522, both=True)
result = result.cut(cq.Workplane(cq.P... | 15 | 125 | 0.473883 |
train_7cd9c866bba654fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.142, 0.126, -0.664), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.453, 0.219).lineTo(0.524, -0.333).threePointArc((0.822, -0.437), (0.396, -0.442)).lineTo(-0.644, 0.128).threePointArc((-0.822, 0.442), (-0.453, 0.219)).close().moveTo(-0.626, 0.24... | 3 | 21 | 0.715708 |
train_b07d00d5ae651924 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.022, -0.237, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.716, 0.647).lineTo(0.716, 0.342).lineTo(-0.411, 0.342).lineTo(-0.411, -0.342).lineTo(0.716, -0.342).lineTo(0.716, -0.647).lineTo(-0.716, -0.647).lineTo(-0.716, 0.647).lineTo(0.716... | 11 | 197 | 1.642201 |
train_8451d42eaeab0c7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-4.765, -2.918, -2.286), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.037).threePointArc((0.899, -0.137), (0.725, -0.037)).threePointArc((0.826, 0.137), (1, 0.037)).close().sweep(cq.Workplane(cq.Plane(origin=(-4.765, -2.918, -2.286), normal=(0,... | 15 | 9 | 0.229541 |
train_19740fc8cd384a86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.19, 0.08, 0.403), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.174, 0.822).threePointArc((1.174, 0.353), (0.47, 0.118)).threePointArc((0.235, 0.118), (0.235, -0.118)).threePointArc((-0.235, -1.057), (-1.174, -0.353)).threePointArc((-1.174, 0.118)... | 3 | 56 | 0.450257 |
train_42384406564fb9d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.122, 0.032, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.174, 0.196).threePointArc((0.183, 0.192), (0.187, 0.184)).lineTo(0.187, -0.098).threePointArc((0.156, -0.166), (0.086, -0.196)).lineTo(-0.123, -0.196).threePointArc((-0.168, -0.177), (-... | 22 | 112 | 0.196594 |
train_d5316a67c3d0cb5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.343, 0, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0.941).lineTo(0.656, -0.941).lineTo(-0.356, -0.941).lineTo(-0.656, -0.642).lineTo(-0.656, 0.636).lineTo(-0.35, 0.941).lineTo(0.656, 0.941).close().extrude(1.175)
result = result.c... | 8 | 86 | 1.546131 |
train_3b6eae06add0beff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.722).lineTo(1, -0.719).lineTo(0.969, -0.719).lineTo(0.969, -0.744).lineTo(-0.962, -0.744).threePointArc((-0.984, -0.737), (-1, -0.714)).lineTo(-1, 0.717).lineTo(-0.967, 0.744).lineTo(0.... | 12 | 119 | 1.336253 |
train_44b156c6c28ec9bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.484, 1).threePointArc((0.546, 0.972), (0.571, 0.911)).lineTo(0.571, -0.877).threePointArc((0.536, -0.962), (0.45, -1)).lineTo(-0.429, -1).threePointArc((-0.53, -0.957), (-0.571, -0.855)).l... | 8 | 129 | 1.203864 |
train_3c7a4cb8ed7c880a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.186, 0, -0.467), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.136, 0.933).lineTo(0.136, 0.136).lineTo(0.372, 0.136).lineTo(0.372, 0).lineTo(0, 0).lineTo(0, 0.933).lineTo(0.136, 0.933).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 9 | 37 | 0.281286 |
train_d2ffb81cb04899af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.212, 0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.144, 0.607).lineTo(1.005, 0.068).lineTo(-0.432, -0.607).lineTo(-1.005, -0.337).lineTo(-0.144, 0.068).lineTo(-0.432, 0.202).lineTo(-0.721, 0.337).lineTo(-0.144, 0.607).close().extrude(... | 12 | 218 | 0.936891 |
train_a0aa29301830881a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.021, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.061, 0.196).lineTo(0.061, 0.098).lineTo(0.183, 0.098).lineTo(0.183, 0).lineTo(0.061, 0).lineTo(0.061, -0.196).lineTo(-0.061, -0.196).lineTo(-0.061, -0.098).lineTo(-0.183, -0.098).lineTo(-0.... | 6 | 24 | 0.165918 |
train_db29e449f53b1ff3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.116, -0.869, -0.936), normal=(0.551, 0.405, 0.73), xDir=(-0.592, 0.806, 0))).moveTo(0.023, 0.046).lineTo(0.023, 0).threePointArc((0.069, -0.046), (0.023, -0.046)).threePointArc((-0.023, -0.092), (-0.069, -0.046)).lineTo(-0.069, 0.046).threePoin... | 14 | 164 | 0.393531 |
train_54d5abe639ec31f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.231, 0.245, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, 0.386).threePointArc((0.421, 0.025), (0.317, -0.361)).threePointArc((-0.104, -0.386), (-0.421, -0.025)).threePointArc((-0.317, 0.361), (0.104, 0.386)).close().sweep(cq.Workpla... | 9 | 81 | 0.321631 |
train_e6aeed5c950e0520 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.856, -0.103).lineTo(0.991, -0.14).lineTo(0.981, -0.198).lineTo(0.844, -0.18).lineTo(0.816, -0.279).lineTo(0.939, -0.344).lineTo(0.918, -0.398).lineTo(0.788, -0.351).lineTo(0.74, -0.443).li... | 11 | 152 | 0.9192 |
train_0194e6c33ab1ea5b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.876, -0.164).lineTo(0.978, -0.21).lineTo(0.967, -0.251).lineTo(0.862, -0.231).lineTo(0.804, -0.385).lineTo(0.89, -0.456).lineTo(0.87, -0.493).lineTo(0.773, -0.445).lineTo(0.677, -0.581).li... | 5 | 250 | 1.060156 |
train_14372f3e8acd4849 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.389, -0.972, -0.386), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.448, 0.621).threePointArc((0.524, 0.589), (0.556, 0.513)).lineTo(0.593, 0.305).threePointArc((0.497, 0.224), (0.502, 0.098)).threePointArc((0.522, -0.025), (0.613, -0.109)).lineT... | 8 | 194 | 2.46167 |
train_bf3adc108e083383 | 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.5, 0.854).threePointArc((0.5, 0.854), (1, 0)).threePointArc((0.5, -0.854), (-0.5, -0.854)).threePointArc((-1, 0), (-0.5, 0.854)).close().extrude(0.84)
result = result.cut(cq.Workplane(cq.P... | 4 | 68 | 2.368953 |
train_bf3783c6aa84657c | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.161).lineTo(0.721, 0).lineTo(1, -0.161).lineTo(0.219, -0.161).lineTo(0.219, 0.161).lineTo(1, 0.161).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.445, 0.323, 0), nor... | 7 | 28 | 0.535011 |
train_470bd71b2e45cd27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.61, 0.711).lineTo(0.61, 0.325).lineTo(1, 0.325).lineTo(1, -0.285).lineTo(0.568, -0.711).lineTo(-0.657, -0.711).threePointArc((-0.892, -0.612), (-1, -0.373)).lineTo(-1, 0.134).lineTo(-0.418... | 4 | 19 | 1.293551 |
train_43627f776677c67a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.365, -0.213, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.73).threePointArc((0.517, 0.517), (0.73, 0)).lineTo(0.197, 0).threePointArc((0.138, 0.138), (0, 0.197)).lineTo(0, 0.73).close().extrude(2)
result = result.union(cq.Workplane(cq.Pl... | 9 | 48 | 0.853162 |
train_60683c37e90d16ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-5.817, 9.548, -1.515), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-6.872, -5.293).threePointArc((-0.48, 9.744), (6.872, -3.851)).lineTo(6.86, -8.624).threePointArc((6.323, -9.744), (3.217, -9.036)).lineTo(3.125, -3.039).threePointArc((4.436, 1.718... | 14 | 31 | 0.33362 |
train_a5882bd0f2f92c61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.168, 0.997).threePointArc((0.287, 0.979), (0.401, 0.943)).threePointArc((0.508, 0.892), (0.605, 0.826)).threePointArc((0.692, 0.749), (0.766, 0.663)).threePointArc((0.829, 0.571), (0.88, 0... | 4 | 56 | 1.89842 |
train_b984f4862ff6fb52 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.49, 1).lineTo(0.49, 0.667).lineTo(0.981, 0.667).lineTo(0.981, 0).lineTo(0.49, 0).lineTo(0.49, -1).lineTo(0, -1).lineTo(0, -0.667).lineTo(-0.49, -0.667).lineTo(-0.49, -0.333).lineTo(-0.981,... | 6 | 33 | 0.939423 |
train_46971cb17737e06a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.212).lineTo(0.498, 0.153).threePointArc((0.533, 0.132), (0.615, 0.123)).lineTo(0.91, 0.123).threePointArc((0.968, 0.117), (1, 0.104)).lineTo(1, 0.02).threePointArc((0.968, 0.006... | 2 | 54 | 0.195993 |
train_212c040dd2533463 | 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.794, 0.448).threePointArc((0.857, 0.433), (0.884, 0.398)).lineTo(0.884, 0.271).threePointArc((0.852, 0.23), (0.776, 0.212)).lineTo(-0.311, 0.212).threePointArc((-0.411, 0.189), (-0.453, 0.... | 6 | 81 | 0.742165 |
train_6c634edae386512d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.135, 0.003, 0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.198, 0.825).threePointArc((-0.164, 0.812), (-0.15, 0.781)).lineTo(-0.15, 0.332).threePointArc((-0.131, 0.292), (-0.088, 0.275)).lineTo(0.043, 0.275).threePointArc((0.118, 0.246), (... | 9 | 163 | 1.258928 |
train_944ce1aa09f9cceb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.849), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.55, 1.697).lineTo(0.55, 0.84).lineTo(1, 0.84).lineTo(1, 0.566).lineTo(0.838, 0.566).lineTo(0.838, 0).lineTo(0, 0).lineTo(0, 1.697).lineTo(0.55, 1.697).close().revolve(angleDegrees=360, ax... | 3 | 9 | 2.167969 |
train_320f3828d5f9575d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.343, 0, -0.262), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.328, 0.524).lineTo(0.328, 0).lineTo(-0.328, 0).lineTo(-0.328, 0.524).lineTo(-0.253, 0.524).lineTo(-0.253, 0.076).lineTo(0.253, 0.076).lineTo(0.253, 0.524).lineTo(0.328, 0.524).close()... | 6 | 71 | 0.282322 |
train_e985e5e1ab81395f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.617, 0.973).lineTo(0.617, -0.972).threePointArc((0.61, -0.991), (0.591, -1)).lineTo(-0.571, -1).threePointArc((-0.604, -0.985), (-0.617, -0.952)).lineTo(-0.617, 0.941).threePointArc((-0.6, ... | 10 | 153 | 0.26898 |
train_b548d638be42d9ca | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.022, 0.276, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.029, 0.363).threePointArc((1.437, 0), (1.029, -0.363)).lineTo(0.343, -0.363).lineTo(-0.343, -0.363).lineTo(-1.029, -0.363).threePointArc((-1.437, 0), (-1.029, 0.363)).lineTo(-0.34... | 38 | 483 | 0.63648 |
train_3792422c03ac2e0b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.306), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.814).lineTo(1, 0.616).threePointArc((0.983, 0.577), (0.944, 0.56)).lineTo(-0.5, 0.56).threePointArc((-0.653, 0.496), (-0.718, 0.343)).lineTo(-0.718, -0.413).threePointArc((-0.674, -0.51... | 3 | 18 | 0.861175 |
train_121a0bae92634688 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.3, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.309, 0.088).threePointArc((-0.088, 0.309), (0.309, -0.044)).lineTo(0.088, -0.309).lineTo(-0.221, -0.221).lineTo(-0.309, 0.088).close().extrude(2.094)
result = result.union(result.... | 8 | 42 | 0.877392 |
train_8b38ec3ae74f81f8 | 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.619, 0.199).lineTo(0.912, 0.136).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.879, 0).lineTo(0.879, 0.06).lineTo(0.783, 0.136).lineTo(0, 0.087).lineTo(0, 0.199).lineTo(0.619, 0.199).close().revolv... | 8 | 71 | 0.18162 |
train_208ec025e21857b1 | 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(0.694, 0.998).threePointArc((0.765, 0.979), (0.795, 0.935)).lineTo(0.795, -0.217).threePointArc((0.74, -0.298), (0.61, -0.333)).lineTo(0.468, -0.333).threePointArc((0.325, -0.371), (0.265, -0... | 32 | 1,004 | 1.035255 |
train_d5712fbea2b6df7b | 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.822, 0.748).threePointArc((0.941, 0.699), (1, 0.575)).lineTo(1, -0.581).threePointArc((0.943, -0.7), (0.828, -0.748)).lineTo(-0.666, -0.748).threePointArc((-0.896, -0.652), (-1, -0.42)).li... | 14 | 110 | 0.75948 |
train_e3ea6ab9550bd741 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.55), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.388, 1).threePointArc((0.449, 0.975), (0.475, 0.913)).lineTo(0.475, -0.808).lineTo(0.283, -1).lineTo(-0.475, -1).lineTo(-0.475, 0.75).lineTo(-0.225, 1).lineTo(0.388, 1).close().extrude(0.19... | 7 | 45 | 0.763718 |
train_2d2efa0e707f7394 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0.014, 0.995), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.59, -0.022).lineTo(0.58, -0.415).threePointArc((0.344, -0.421), (0.188, -0.418)).threePointArc((0.062, -0.453), (-0.105, -0.534)).threePointArc((-0.408, -0.634), (-0.664, -0.492))... | 3 | 28 | 1.257653 |
train_9d79e4ed6ee79bd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.348, 0.221).threePointArc((0.422, 0.19), (0.452, 0.117)).lineTo(0.452, -0.221).lineTo(-0.272, -0.221).lineTo(-0.272, -0.041).lineTo(-0.452, -0.041).lineTo(-0.452, 0.221).lineTo(0.348, 0.22... | 19 | 169 | 0.310221 |
train_161a90ab7e115743 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.452, 0.151, -0.517), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.464, 0.365).threePointArc((0.521, 0.341), (0.544, 0.286)).lineTo(0.544, -0.286).threePointArc((0.521, -0.341), (0.464, -0.365)).lineTo(-0.464, -0.365).threePointArc((-0.521, -0.34... | 15 | 245 | 1.487117 |
train_324dec617877b09d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.227, 0, -0.478), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.122, 1.735).lineTo(0.122, 0.956).lineTo(0.773, 0.956).lineTo(0.773, 0).lineTo(0, 0).lineTo(0, 1.735).lineTo(0.122, 1.735).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE... | 4 | 15 | 0.886898 |
train_cc3f7dc5e4e6fa2b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.499, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.226, 0.495).lineTo(0.226, -0.263).threePointArc((-0.226, 0.116), (0.226, 0.495)).close().revolve(angleDegrees=270, axisStart=(-0.269, -0.499), axisEnd=(0.269, -0.499))
result = result.cut(... | 17 | 143 | 0.55707 |
train_2d016546fe67db85 | 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.086, 0.198).lineTo(-0.086, -0.062).lineTo(0.222, -0.062).lineTo(0.222, -0.198).lineTo(-0.222, -0.198).lineTo(-0.222, 0.198).lineTo(-0.086, 0.198).close().extrude(2)
result = result.cut(cq.Wor... | 18 | 9 | 0.191212 |
train_d0e6afe896d44382 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, 0, -0.23), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.19, 0.33).threePointArc((0.19, 0.33), (0.38, 0)).threePointArc((0.19, -0.33), (-0.19, -0.33)).threePointArc((-0.38, 0), (-0.19, 0.33)).close().revolve(angleDegrees=90, axisStart=(0.3... | 9 | 316 | 0.751716 |
train_3e2feab6fc326b75 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.879, 0.492).lineTo(0.879, 0.371).lineTo(1, 0.371).lineTo(1, -0.351).lineTo(0.859, -0.351).lineTo(0.859, -0.492).lineTo(-0.931, -0.492).lineTo(-0.931, -0.422).lineTo(-1, -0.422).lineTo(-1, ... | 8 | 39 | 0.154601 |
train_a2d4867fdd610c6f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.418, 0, -0.879), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.146, 1.758).lineTo(0.146, 0.146).lineTo(0.835, 0.146).lineTo(0.835, 0).lineTo(0, 0).lineTo(0, 1.758).lineTo(0.146, 1.758).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 13 | 59 | 0.504778 |
train_928c42171a450ed5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.091, 2).extrude(0.386)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.249, 0.697).lineTo(0.249, -0.697).lineTo(-0.249, -0.697).... | 7 | 17 | 0.563217 |
train_4687e348a9af46c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -3.813), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.427, 0.537).workplane(offset=4.812).rect(0.272, 0.478).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -2.608), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.413).extrude(1.608,... | 2 | 6 | 0.29838 |
train_7b3c47ea03f61ae9 | 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.221, 1).threePointArc((0.3, 0.967), (0.333, 0.888)).lineTo(0.333, 0.593).threePointArc((0.41, 0.41), (0.593, 0.333)).lineTo(0.782, 0.333).threePointArc((0.935, 0.269), (1, 0.115)).lineTo(1,... | 11 | 27 | 1.282967 |
train_8f5c29dba4c71d5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.32), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.593).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.593).lineTo(-0.601, 0.593).lineTo(-0.601, 0.399).lineTo(0.601, 0.399).lineTo(0.601, 0.593).lineTo(1, 0.593).close().extrude(0.365, both=True... | 6 | 49 | 0.673704 |
train_8308d256d1930753 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, -0.019, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.66, 0.974).threePointArc((-0.22, 0.974), (0, 0.811)).threePointArc((0.66, 0.162), (0.878, -0.487)).threePointArc((0.878, -0.811), (0.66, -0.974)).threePointArc((0.44, -0.974), (... | 9 | 170 | 0.69321 |
train_30e5c99bb3b340ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.251, 0.318, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.858, 0.162).threePointArc((1, 0.044), (0.931, -0.064)).threePointArc((0.919, -0.345), (0.712, -0.526)).threePointArc((0.504, -0.645), (0.213, -0.476)).threePointArc((0.134, -0.584), (0... | 7 | 153 | 1.20278 |
train_4d4eb75ecb44906d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.363, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.554, 1.075).threePointArc((0.86, 0.969), (1, 0.721)).lineTo(1, 0.23).threePointArc((0.907, 0.069), (0.712, 0)).lineTo(0.075, 0).threePointArc((-0.211, -0.099), (-0.332, -0.331)).lineT... | 8 | 20 | 0.133368 |
train_aa99bb0cb9eefdbd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.399), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.798).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.798).lineTo(-0.612, 0.798).lineTo(-0.612, 0.383).lineTo(0.612, 0.383).lineTo(0.612, 0.798).lineTo(1, 0.798).close().extrude(0.279, both=Tru... | 8 | 67 | 0.322422 |
train_1f8df62aa81d83cb | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.333, 1).lineTo(-0.333, 0.333).lineTo(0.333, 0.333).lineTo(0.333, -0.333).lineTo(1, -0.333).lineTo(1, -1).lineTo(-0.333, -1).lineTo(-0.333, -0.333).lineTo(-1, -0.333).lineTo(-1, 1).lineTo(-0.333, 1).close().extrude(0.726, both=True)
result = result.... | 4 | 24 | 3.125549 |
train_21e645e86418dfa6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.19, -0.083, -0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.511, -0.527).threePointArc((-0.563, 0.572), (0.278, -0.179)).lineTo(0.556, -0.447).threePointArc((0.57, -0.528), (0.44, -0.572)).threePointArc((0.105, -0.251), (0.142, 0.045)).thr... | 12 | 114 | 0.394877 |
train_f9599d17cc812727 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.085, 0, -0.328), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.434, 0.802).threePointArc((-0.376, 0.783), (-0.351, 0.74)).lineTo(-0.351, -0.208).threePointArc((-0.278, -0.334), (-0.107, -0.387)).lineTo(0.839, -0.387).threePointArc((0.892, -0.404... | 12 | 64 | 1.761348 |
train_951f9f9980060c9b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.335, -0.147, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.671).threePointArc((0.474, 0.474), (0.671, 0)).lineTo(0.171, 0).threePointArc((0.121, 0.121), (0, 0.171)).lineTo(0, 0.671).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 29 | 0.62735 |
train_3ca11964cbe910ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.086, 0.45, 0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.019, 0.251).threePointArc((0.236, 0.293), (0.361, 0.22)).lineTo(0.359, 0.116).threePointArc((0.355, 0.094), (0.343, 0.072)).lineTo(0.297, 0.01).threePointArc((0.262, -0.023), (0.209... | 19 | 204 | 0.621144 |
train_7538208cdfe21dbe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.344, -0.26, -0.41), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.186, 0.476).threePointArc((0.251, 0.36), (0.231, 0.218)).threePointArc((0.212, 0.132), (0.271, 0.07)).threePointArc((0.351, -0.033), (0.346, -0.152)).threePointArc((0.249, -0.217), ... | 8 | 80 | 0.900727 |
train_5ffadbb1dacf75d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.178, 0.018, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.031, -0.174).lineTo(0.013, -0.194).threePointArc((0.011, -0.195), (0.01, -0.192)).lineTo(0.01, -0.156).threePointArc((0.009, -0.151), (0.007, -0.147)).lineTo(-0.196, 0.034).threePointA... | 15 | 243 | 0.294958 |
train_e91bf6c8d24d7b54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, -0.223, -0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.661, 0.485).lineTo(0.707, 0.397).threePointArc((1.047, -0.53), (0.058, -0.894)).threePointArc((-0.164, -0.752), (-0.382, -0.736)).threePointArc((-1.047, 0.894), (0.661, 0.485)).cl... | 10 | 49 | 0.074656 |
train_0bbbf3544c207bf9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.382).lineTo(1, -0.374).threePointArc((0.986, -0.405), (0.955, -0.418)).lineTo(-0.96, -0.418).threePointArc((-0.988, -0.407), (-1, -0.379)).lineTo(-1, 0.39).threePointArc((-0.991, 0.41),... | 19 | 198 | 0.135978 |
train_d29dc3566619e614 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.203, 0.082, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.522, 0.082).threePointArc((0.697, 0.247), (0.522, -0.247)).lineTo(-0.522, -0.247).threePointArc((-0.697, -0.247), (-0.522, 0.082)).lineTo(0.522, 0.082).close().extrude(0.74, both=True)... | 8 | 90 | 1.48206 |
train_ba10c957ee6c6bd3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.088, -0.474, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.715, 0.403).lineTo(0.715, -0.403).lineTo(-0.715, -0.403).lineTo(-0.715, -0.134).lineTo(0.477, -0.134).lineTo(0.477, 0.134).lineTo(-0.715, 0.134).lineTo(-0.715, 0.403).lineTo(0.715,... | 15 | 727 | 1.003127 |
train_a9ef3f8eb71f7d57 | 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.219, 0.449).lineTo(0.415, 0.115).lineTo(0.239, -0.205).lineTo(-0.086, -0.361).lineTo(-0.39, -0.142).lineTo(-0.415, 0.219).lineTo(-0.152, 0.455).lineTo(0.219, 0.449).close().extrude(1.223)
... | 3 | 55 | 1.038743 |
train_d67d6a15561241d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.377, -1.098, 0.004), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.064, 1.886).threePointArc((0.143, 1.852), (0.317, 1.743)).lineTo(0.661, 1.447).lineTo(0.761, 1.009).lineTo(0.449, 0.744).threePointArc((0.355, 0.575), (0.228, 0.31)).lineTo(-0.11... | 5 | 67 | 1.335082 |
train_c085134e5db6e6ca | 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.427, 0.758).lineTo(-0.427, 0.455).lineTo(0.854, 0.455).lineTo(0.854, 0.152).lineTo(-0.427, 0.152).lineTo(-0.427, -0.758).lineTo(-0.854, -0.758).lineTo(-0.854, 0.758).lineTo(-0.427, 0.758).clo... | 1 | 10 | 2.07095 |
train_7404d2f2bc874ac0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.759, 0.063, -0.445), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.619, 0.774).threePointArc((-0.31, 0.926), (0.155, 0.619)).threePointArc((0.465, 0), (0.774, -0.155)).threePointArc((0.774, -0.465), (0.465, -0.926)).threePointArc((-0.619, -0.774)... | 11 | 32 | 0.077585 |
train_97bbabc1ae5e7f10 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.884, 0.664).threePointArc((0.96, 0.632), (1, 0.556)).lineTo(1, 0.244).threePointArc((0.919, 0.073), (0.752, 0)).lineTo(-0.079, 0).threePointArc((-0.257, -0.076), (-0.332, -0.253)).lineTo(-0... | 9 | 73 | 0.121078 |
train_f52fdcd5b83e4fa0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.913, 0.34).lineTo(1, 0.125).lineTo(1, 0).lineTo(0.815, 0).lineTo(0.815, 0.108).lineTo(0.717, 0.34).lineTo(0, 0.179).lineTo(0, 0.359).lineTo(0.654, 0.359).lineTo(0.913, 0.34).close().revolv... | 4 | 31 | 0.433291 |
train_16fd9645d1ee9c31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.151, -0.085, -0.13), normal=(0.069, -0.337, -0.939), xDir=(0, 0.941, -0.338))).moveTo(-0.321, 0.036).threePointArc((0.244, -0.125), (0.485, 0.359)).lineTo(0.695, 0.289).threePointArc((0.717, 0.273), (0.719, 0.246)).lineTo(0.651, -0.024).threePo... | 16 | 172 | 0.617083 |
train_756de990a9c26130 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.093, 1).lineTo(0.796, 0.292).lineTo(0.796, -1).lineTo(-0.335, -1).threePointArc((-0.662, -0.857), (-0.796, -0.537)).lineTo(-0.796, 0.552).threePointArc((-0.667, 0.862), (-0.352, 1)).lineTo... | 19 | 27 | 1.085653 |
train_dbda315b9de80c99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.624).lineTo(1, 0.346).lineTo(0.214, 0.346).lineTo(0.214, -0.346).lineTo(1, -0.346).lineTo(1, -0.624).lineTo(-0.064, -0.624).lineTo(-0.064, 0.624).lineTo(1, 0.624).close().extrude(0.255)... | 2 | 22 | 0.358766 |
train_cdea014f2423c05c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.854).lineTo(1, -0.456).lineTo(0.594, -0.854).lineTo(-0.768, -0.854).lineTo(-1, -0.63).lineTo(-1, 0.854).lineTo(1, 0.854).close().extrude(0.583)
result = result.cut(cq.Workplane(cq.Plane... | 7 | 33 | 0.852213 |
train_1f7c85b088af3124 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.094, 0.572, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.11, 0.412).threePointArc((0.416, 0.109), (0.305, -0.303)).threePointArc((-0.11, -0.412), (-0.416, -0.109)).threePointArc((-0.305, 0.303), (0.11, 0.412)).close().sweep(cq.Workplane(c... | 7 | 74 | 0.481339 |
train_1118a6971f0e67d2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.391, 1).threePointArc((0.466, 0.96), (0.498, 0.885)).lineTo(0.498, -0.558).threePointArc((0.467, -0.632), (0.393, -0.664)).lineTo(0.266, -0.664).threePointArc((0.196, -0.694), (0.166, -0.7... | 18 | 32 | 0.990601 |
train_0448849cd032367b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.986), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.704, 0.704).lineTo(1, 0).lineTo(0.704, -0.704).lineTo(0, -1).lineTo(-0.704, -0.704).lineTo(-1, 0).lineTo(-0.704, 0.704).lineTo(0, 1).close().extrude(1.973)
result = result.cut... | 6 | 78 | 1.989143 |
train_1344138288234ab0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.104, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.032, 0.295).lineTo(0.084, 0.23).lineTo(0.165, 0.245).lineTo(0.181, 0.163).lineTo(0.261, 0.138).lineTo(0.236, 0.059).lineTo(0.295, 0).lineTo(0.236, -0.059).lineTo(0.261, -0.138).lineTo(0.181... | 8 | 354 | 0.379262 |
train_c03ee2dea4f2a0b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.71, 1).threePointArc((0.828, 0.943), (0.874, 0.826)).lineTo(0.874, -0.905).threePointArc((0.849, -0.967), (0.792, -1)).lineTo(-0.785, -1).threePointArc((-0.847, -0.965), (-0.874, -0.898)).... | 7 | 72 | 0.876075 |
train_d437ac8b202849cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.081, 0, -0.545), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.081, 1).lineTo(-0.06, 0.908).lineTo(-0.06, 0.604).lineTo(-0.035, 0.498).lineTo(0.089, 0.498).lineTo(0.18, 0.118).lineTo(0.18, -0.336).lineTo(0.141, -0.498).lineTo(0.103, -0.498).line... | 18 | 547 | 0.51 |
train_1b7129a6fdc03d2e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.467, 0.885).threePointArc((0.558, 0.842), (0.597, 0.742)).lineTo(0.597, 0.583).threePointArc((0.634, 0.486), (0.72, 0.445)).lineTo(0.87, 0.445).threePointArc((0.956, 0.404), (1, 0.31)).lin... | 11 | 267 | 0.661755 |
train_d20d423bcc6821c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, 1).threePointArc((0.651, 0.935), (0.714, 0.785)).lineTo(0.714, -0.842).threePointArc((0.668, -0.953), (0.556, -1)).lineTo(-0.516, -1).threePointArc((-0.656, -0.941), (-0.714, -0.803))... | 14 | 194 | 0.704188 |
train_966993685c3ff924 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.191).lineTo(0.882, 0).lineTo(1, -0.191).lineTo(0.328, -0.191).lineTo(0.328, 0.191).lineTo(1, 0.191).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.388, 0.388, 0), norm... | 10 | 40 | 0.62793 |
train_40190b498014d5c0 | 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(0.813, 1).lineTo(0.813, -0.886).lineTo(0.707, -1).lineTo(-0.734, -1).lineTo(-0.734, -0.913).lineTo(-0.813, -0.913).lineTo(-0.813, 0.899).lineTo(-0.72, 0.899).lineTo(-0.72, 1).lineTo(0.813, 1... | 12 | 69 | 0.105258 |
train_906c5aceb506297d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.261), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.565, 0.521).lineTo(0.918, 0.373).lineTo(1, 0.182).lineTo(1, 0).lineTo(0.701, 0).lineTo(0.701, 0.156).lineTo(0.599, 0.373).lineTo(0, 0.222).lineTo(0, 0.521).lineTo(0.565, 0.521).close().re... | 7 | 102 | 0.722559 |
train_abacb59d79053087 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.133, -0.081, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.789).lineTo(0.866, 0.113).lineTo(-0.619, 0.113).lineTo(-0.619, -0.113).lineTo(0.866, -0.113).lineTo(0.866, -0.789).lineTo(-0.866, -0.789).lineTo(-0.866, -0.564).lineTo(0.6... | 13 | 205 | 0.960677 |
train_ee5f2f35c5017f25 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.827, 0.953).lineTo(0.827, 0.788).lineTo(1, 0.788).lineTo(1, -0.779).lineTo(0.818, -0.779).lineTo(0.818, -0.953).lineTo(-1, -0.953).lineTo(-1, 0.717).lineTo(-0.754, 0.953).lineTo(0.827, 0.9... | 16 | 263 | 1.721296 |
train_650a7a3484860e48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.396), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.983, 0.329).lineTo(0.983, -0.331).lineTo(0.954, -0.331).lineTo(0.954, -0.359).lineTo(-0.965, -0.359).lineTo(-0.965, -0.34).lineTo(-0.983, -0.34).lineTo(-0.983, 0.338).lineTo(-0.963, 0.338)... | 10 | 68 | 0.851216 |
train_2e09b4079cf7cc47 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.998).extrude(0.658)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.713).extrude(1.974, both=True))
result = result.union(cq.Wo... | 9 | 59 | 1.806588 |
train_e1abedf0d4706f22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.551, 0, -0.611), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.448).extrude(0.994)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.551, 0, 0.085), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(0.277).extrude(0.739))
result = r... | 10 | 91 | 0.336262 |
train_2df8933aafd6ecac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.401), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.831, 0.284).lineTo(0.831, 0.116).lineTo(1, 0.116).lineTo(1, -0.078).threePointArc((0.939, -0.224), (0.794, -0.284)).lineTo(-0.885, -0.284).lineTo(-0.885, -0.17).lineTo(-1, -0.17).lineTo(-1... | 6 | 35 | 0.344662 |
train_c8c18e7684dfb7ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.063, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.53).extrude(1.088)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.063, 0, -0.24), normal=(0.281, 0, 0.96), xDir=(0.96, 0, -0.281))).circle(0.317).extrude(1.25))
result = result.cu... | 7 | 130 | 0.438214 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.