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_9baf21032c14a644 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.075, 0.008, -0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.022, -0.457).threePointArc((-0.606, -0.627), (-0.832, -0.339)).threePointArc((-0.691, 0.204), (-0.111, 0.587)).threePointArc((0.166, 0.627), (0.439, 0.573)).th... | 12 | 183 | 0.583784 |
train_09521bed7be32af0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.247, 0.117, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.246, 0.211).lineTo(1.246, 0.122).lineTo(-0.668, 0.122).lineTo(-0.668, -0.122).lineTo(1.246, -0.122).lineTo(1.246, -0.211).lineTo(-1.246, -0.211).lineTo(-1.246, 0.211).lineTo(1.246,... | 21 | 132 | 0.331588 |
train_e347c39c6c296051 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.47, 0.509).threePointArc((0.821, 0.363), (0.964, 0.01)).lineTo(0.964, -0.01).threePointArc((0.821, -0.363), (0.47, -0.509)).lineTo(-0.47, -0.509).lineTo(-0.964, -0.01).lineTo(-0.964, 0.01)... | 11 | 56 | 2.221805 |
train_955b45068cede566 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.123, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.633, -0.505).lineTo(0.143, -0.876).lineTo(0.134, -0.855).lineTo(0.089, -0.875).lineTo(-0.02, -0.74).lineTo(-0.13, -0.804).lineTo(-0.13, -0.505).lineTo(-0.633, -0.505).threePointArc((0.633,... | 5 | 100 | 0.210524 |
train_f8b8d76ede5c09a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.666, 1).lineTo(-0.666, -0.722).lineTo(0.975, -0.722).lineTo(0.975, -1).lineTo(-0.975, -1).lineTo(-0.975, 1).lineTo(-0.666, 1).close().workplane(offset=0.285).moveTo(-0... | 15 | 56 | 0.250026 |
train_99ed5a953dd8db85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.59, 0.265).threePointArc((0.679, 0.265), (0.645, -0.463)).lineTo(0.645, -0.756).lineTo(0.03, -0.756).lineTo(0.03, -0.463).threePointArc((-0.013, -0.463), (0.085, 0.265)).threePointArc... | 20 | 167 | 0.356424 |
train_2e7ca150146340b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.198, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0.62).lineTo(0.213, 0.381).threePointArc((0.181, 0.351), (0.157, 0.314)).lineTo(0.098, 0.197).threePointArc((0.095, 0.178), (0.104, 0.162)).lineTo(0.16, 0.105).threePointArc((0.17... | 2 | 77 | 0.382669 |
train_fa08aa17189a45a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.488, 0, -0.603), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.141, 1.206).lineTo(0.141, 0.141).lineTo(0.975, 0.141).lineTo(0.975, 0).lineTo(0, 0).lineTo(0, 1.206).lineTo(0.141, 1.206).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 11 | 45 | 0.444129 |
train_db5039593b2ece15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.336, 0, -0.325), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.045, 1).lineTo(0.019, 0.577).threePointArc((0.031, 0.54), (0.048, 0.556)).lineTo(0.085, 0.643).threePointArc((0.1, 0.658), (0.112, 0.632)).lineTo(0.307, -0.109).threePointArc((0.319, ... | 10 | 86 | 0.87964 |
train_c489e89343fe8277 | 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.049, 0.196).lineTo(0.049, 0.098).lineTo(0.147, 0.098).lineTo(0.147, -0.196).lineTo(-0.049, -0.196).lineTo(-0.049, -0.098).lineTo(0.049, -0.098).lineTo(0.049, 0).lineTo(-0.049, 0).lineTo(-0.049... | 14 | 105 | 0.115093 |
train_106a4b715b6045c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.638, -0.469, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.274).threePointArc((0.9, 0.9), (1.274, 0)).lineTo(0.804, 0).threePointArc((0.568, 0.568), (0, 0.804)).lineTo(0, 1.274).close().extrude(2)
result = result.union(cq.Workplane(cq.Pla... | 9 | 52 | 0.893165 |
train_91423e4c4640617f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.653, 0.118).lineTo(0.967, 0.039).threePointArc((1, 0.003), (0.976, -0.033)).lineTo(0.735, -0.1).threePointArc((0.529, -0.122), (0.298, -0.139)).lineTo(-0.295, -0.14).threePointArc((-0.463,... | 6 | 43 | 0.090918 |
train_7657766e18834c31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.149, 0, 0.075), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.146, 0.012).threePointArc((0.18, 0.021), (0.189, -0.012)).threePointArc((0.155, -0.021), (0.146, 0.012)).close().sweep(cq.Workplane(cq.Plane(origin=(0.149, 0, 0.075), normal=(0, 0, 1),... | 5 | 17 | 0.036673 |
train_e4a9eb44d9594b4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1, -0.229, 0.008), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.15, 0.216).lineTo(0.232, 0.174).lineTo(0.197, 0.15).threePointArc((0.201, 0.128), (0.229, 0.091)).threePointArc((0.155, 0.108), (0.119, 0.112)).threePointArc((0.105, 0.09), (0.077, 0.... | 11 | 680 | 0.193553 |
train_163193336d2f5b42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.72, 1).threePointArc((0.825, 0.955), (0.866, 0.85)).lineTo(0.866, -0.862).lineTo(0.734, -1).lineTo(-0.866, -1).lineTo(-0.866, 0.872).lineTo(-0.744, 1).lineTo(0.72, 1).close().extrude(0.228)... | 8 | 73 | 0.726833 |
train_30d6fb22528741a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.593, -0.445), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.311, 0.404).threePointArc((-0.219, 0.387), (-0.181, 0.347)).lineTo(-0.181, 0.141).threePointArc((-0.141, 0.099), (-0.048, 0.081)).lineTo(0.056, 0.081).threePointArc((0.144, 0.064), (0... | 16 | 612 | 0.935495 |
train_24ba6224cfeef0c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.057, 0.004, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.022, 0.196).lineTo(-0.01, 0.14).lineTo(0.114, -0.184).threePointArc((0.106, -0.221), (0.044, -0.216)).lineTo(0.025, -0.168).threePointArc((0.002, -0.179), (-0.052, -0.151)).lineTo(-0.... | 24 | 301 | 0.073364 |
train_0a1eae3e42a8fdfd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, 0.855).threePointArc((0.942, 0.829), (1, 0.764)).lineTo(1, -0.733).threePointArc((0.926, -0.822), (0.775, -0.855)).lineTo(0.323, -0.855).threePointArc((0.096, -0.804), (0, -0.674)... | 5 | 41 | 0.682842 |
train_668b76b293fb8799 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.536, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.203, 2).lineTo(0.203, 0.203).lineTo(1.071, 0.203).lineTo(1.071, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.203, 2).close().extrude(0.836, both=True)
result = result.cut(cq.Workplane(cq.Plane(... | 2 | 17 | 0.94765 |
train_eedb679db6d6368b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.735, -0.314, -0.154), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.075, 0.151).threePointArc((0.003, 0.138), (0.081, 0.088)).threePointArc((0.137, 0.015), (0.156, -0.062)).threePointArc((0.134, -0.123), (0.075, -0.151)).threePointArc((-0.003, ... | 5 | 55 | 0.711924 |
train_b9e3bf684693042c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.116, 0, 0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.519, -0.462).threePointArc((-0.752, -0.366), (-0.591, -0.177)).lineTo(-0.57, 0.137).lineTo(-0.528, 0.172).lineTo(-0.544, 0.209).lineTo(-0.177, 0.715).lineTo(0.591, 0.407).lineTo(0.752... | 17 | 277 | 1.165029 |
train_23bfa29c9802af04 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 1).lineTo(0.614, 0.595).lineTo(0.614, -0.398).lineTo(0.012, -1).lineTo(-0.126, -1).lineTo(-0.614, -0.509).lineTo(-0.614, 0.398).lineTo(-0.012, 1).lineTo(0.211, 1).close().extrude(0.53... | 3 | 11 | 0.823968 |
train_45add4b48f6f3dc4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.256, -0.307, -0.471), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.912, 0.712).lineTo(0.912, -0.237).threePointArc((-0.912, -0.712), (0.912, 0.712)).close().moveTo(0.365, 0.237).lineTo(0.365, -0.237).threePointArc((-0.547, 0.712), (0.365, 0.237))... | 5 | 10 | 0.153305 |
train_f5967250108c5786 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.395, 0, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.375, 0.545).threePointArc((0.538, 0.477), (0.605, 0.314)).lineTo(0.605, -0.545).lineTo(-0.605, -0.545).lineTo(-0.605, 0.545).lineTo(0.375, 0.545).close().extrude(0.599)
result = result.c... | 4 | 29 | 0.851759 |
train_639d820f682c3f79 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.197, -0.455, 0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.588, -0.113).lineTo(0.55, -0.221).lineTo(0.486, -0.32).lineTo(0.402, -0.404).lineTo(0.301, -0.471).lineTo(0.186, -0.518).lineTo(0.063, -0.541).lineTo(-0.063, -0.541).lineTo(-0.186,... | 13 | 408 | 0.619359 |
train_4ae864028c360640 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.323, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.614, -0.944).lineTo(0.268, -1).lineTo(-0.073, -0.912).lineTo(-0.358, -0.692).lineTo(-0.548, -0.373).lineTo(-0.614, 0).lineTo(-0.548, 0.373).lineTo(-0.358, 0.692).lineTo(-0.073, 0.912).line... | 10 | 39 | 1.152716 |
train_a2ab959a04b3e71d | 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.785, 0.2).lineTo(0.913, 0.18).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.931, 0).lineTo(0.931, 0.06).lineTo(0.831, 0.18).lineTo(0, 0.139).lineTo(0, 0.2).lineTo(0.785, 0.2).close().revolve(angleD... | 5 | 34 | 0.138021 |
train_65e71fb920407a97 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.235).lineTo(1, 0.191).threePointArc((0.974, 0.179), (0.911, 0.174)).lineTo(-0.24, 0.174).threePointArc((-0.489, 0.153), (-0.594, 0.104)).lineTo(-0.594, -0.131).threePointArc((-0.53,... | 3 | 53 | 0.114045 |
train_e4e2a87c5a7c19de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.713, 0.508).lineTo(0.912, 0.329).lineTo(1, 0.177).lineTo(1, 0).lineTo(0.733, 0).lineTo(0.733, 0.151).lineTo(0.633, 0.329).lineTo(0, 0.245).lineTo(0, 0.508).lineTo(0.713, 0.508).close().re... | 6 | 35 | 0.704516 |
train_5d12dff1c371b6bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.048, -0.34, -0.712), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.199, 0.65).lineTo(0.619, -0.41).lineTo(0.241, -0.65).lineTo(0.01, -0.069).lineTo(-0.429, -0.347).lineTo(-0.619, 0.131).lineTo(0.199, 0.65).close().extrude(1.712)
result = result.u... | 21 | 156 | 1.028796 |
train_b589f1f9742ee7b2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.109, 0.579, 0.359), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 0.421).threePointArc((0.341, 0.414), (0.348, 0.398)).lineTo(0.348, 0.327).threePointArc((0.341, 0.309), (0.323, 0.301)).lineTo(0.129, 0.301).threePointArc((0.08, 0.281), (0.06... | 8 | 163 | 0.364558 |
train_6a925a4fd053a5b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.138, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.387, 0.494).lineTo(0.85, 0.375).lineTo(1, -0.485).threePointArc((0.591, -0.52), (0.529, -0.366)).threePointArc((0.233, -0.153), (-1, 0.298)).threePointArc((-0.824, 0.391), (-0.25, 0.52... | 8 | 242 | 1.709776 |
train_f049b13e407104f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.591, 1).threePointArc((-0.41, 0.923), (-0.333, 0.742)).lineTo(-0.333, 0.461).threePointArc((-0.295, 0.371), (-0.206, 0.333)).lineTo(0.896, 0.333).threePointArc((0.969, 0.302), (1, 0.229))... | 10 | 95 | 4.191928 |
train_96ebe1671b171b27 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.165, -0.115, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.656).lineTo(0.751, -0.656).lineTo(0.251, -0.656).lineTo(0.251, -0.219).lineTo(-0.751, -0.219).lineTo(-0.751, 0.219).lineTo(0.251, 0.219).lineTo(0.251, 0.656).lineTo(0.751,... | 10 | 119 | 0.817035 |
train_8d7d7825bf6e73cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.825).extrude(2)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.821, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.063, 0.316), (-0.242, 0.583), (-0.509, 0.762), ... | 9 | 125 | 1.679415 |
train_b98bc545ff771b62 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.071, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.219).lineTo(1, 0.157).threePointArc((0.938, 0.131), (0.814, 0.12)).lineTo(-0.15, 0.12).threePointArc((-0.29, 0.109), (-0.348, 0.081)).lineTo(-0.348, -0.055).threePointArc((-0.25, -0... | 19 | 224 | 0.271493 |
train_30e91de745cdcbf9 | 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.449, 0.386).lineTo(0.449, 0.286).lineTo(1, 0.286).lineTo(1, 0).lineTo(0.301, 0).lineTo(0.301, 0.386).lineTo(0.449, 0.386).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 3 | 63 | 0.879289 |
train_7edd0eb6ed075318 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.683, 0.408).threePointArc((0.905, 0.316), (1, 0.091)).lineTo(1, -0.226).threePointArc((0.945, -0.356), (0.818, -0.408)).lineTo(-0.702, -0.408).threePointArc((-0.911, -0.321), (-1, -0.11)).... | 8 | 40 | 0.272066 |
train_ce3d1bd3ceb96a7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.881, 0.176).threePointArc((0.959, 0.144), (1, 0.067)).lineTo(1, -0.045).threePointArc((0.953, -0.138), (0.859, -0.176)).lineTo(-0.911, -0.176).threePointArc((-0.968, -0.153), (-1, -0.097))... | 7 | 35 | 0.091372 |
train_67977dcd86cd5f7b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.03, 0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.236).lineTo(1, 0.201).threePointArc((0.989, 0.197), (0.964, 0.195)).lineTo(-0.29, 0.195).threePointArc((-0.569, 0.173), (-0.688, 0.123)).lineTo(-0.688, -0.13).threePointArc((-0.581, -... | 3 | 64 | 0.09126 |
train_4a054f2aaf6709af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.498, 0.859).lineTo(0.859, 0.498).lineTo(1, 0).lineTo(0.859, -0.498).lineTo(0.498, -0.859).lineTo(0, -1).lineTo(-0.498, -0.859).lineTo(-0.859, -0.498).lineTo(-1, 0).lineTo(-0.8... | 6 | 90 | 0.846941 |
train_f86df91c35834f9d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.562, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.234, 1.1).threePointArc((0.551, 0.968), (0.683, 0.65)).lineTo(0.683, 0.473).threePointArc((0.551, 0.155), (0.234, 0.023)).lineTo(-0.234, 0.023).threePointArc((-0.551, 0.155), (-0.683, 0.4... | 11 | 93 | 1.907587 |
train_d9bc22c96c5f811c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.44, 0, -0.644), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.263, 1.287).lineTo(0.263, 0.263).lineTo(0.879, 0.263).lineTo(0.879, 0).lineTo(0, 0).lineTo(0, 1.287).lineTo(0.263, 1.287).close().extrude(1, both=True)
result = result.cut(cq.Workplan... | 9 | 126 | 0.286973 |
train_79da20f2835e7c76 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.233), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.949, 0.465).lineTo(0.92, 0.327).lineTo(1, 0.164).lineTo(1, 0).lineTo(0.755, 0).lineTo(0.755, 0.139).lineTo(0.655, 0.327).lineTo(0, 0.219).lineTo(0, 0.465).lineTo(0.949, 0.465).close().rev... | 2 | 13 | 0.826595 |
train_172a0aac47a3e75e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.245, -0.013, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.659).extrude(0.31)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.904, -0.013, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.089, 0.329), (-0.33, 0.57),... | 9 | 139 | 1.031359 |
train_db9b14fd9b1316aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.398, 0, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.273, 1).lineTo(0.273, -1).lineTo(-0.26, -1).lineTo(-0.273, -0.986).lineTo(-0.273, 1).lineTo(0.273, 1).close().extrude(0.578)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.398, ... | 4 | 59 | 0.868364 |
train_6af831e0c1f3cc6c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.429, -0.36, 0.133), normal=(0.764, 0.575, -0.294), xDir=(-0.601, 0.799, 0))).moveTo(0.07, 0.373).lineTo(0.075, 0.313).threePointArc((0.075, 0.284), (0.096, 0.256)).lineTo(0.228, 0.208).threePointArc((0.232, 0.172), (0.177, 0.143)).lineTo(0.217,... | 5 | 47 | 0.396237 |
train_600099bd0ce42166 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.139, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.899, 0.836).threePointArc((0.964, 0.805), (1, 0.733)).lineTo(1, -0.059).threePointArc((0.933, -0.214), (0.794, -0.28)).lineTo(-0.309, -0.28).threePointArc((-0.442, -0.343), (-0.498, -... | 2 | 31 | 0.825205 |
train_07f93326baf68f12 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, -0.45, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.473, 0.51).threePointArc((0.495, 0.503), (0.504, 0.485)).lineTo(0.504, 0.366).threePointArc((0.497, 0.354), (0.482, 0.348)).lineTo(0.177, 0.348).threePointArc((0.122, 0.329), (0.0... | 15 | 206 | 0.467189 |
train_1377cf183dc8bb88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.159, 0.183).lineTo(0.159, 0).lineTo(-0.159, 0).lineTo(-0.159, 0.183).lineTo(-0.087, 0.183).lineTo(-0.087, 0.071).lineTo(0.087, 0.071).lineTo(0.087, 0.183).lineTo(0.159, 0.183).close().ext... | 6 | 48 | 0.065977 |
train_10f4c3a855a49226 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, -0.052, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.774, -0.774).threePointArc((-0.431, 0.602), (-0.258, 0.774)).threePointArc((0.602, 0.947), (0.774, 0.774)).threePointArc((-0.086, -0.774), (-0.258, -0.947)).lineTo(-0.602, -0.947... | 2 | 28 | 0.256791 |
train_47fc0cb06c178391 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, 0.662).threePointArc((0.958, 0.628), (1, 0.547)).lineTo(1, -0.547).threePointArc((0.958, -0.628), (0.876, -0.662)).lineTo(-0.922, -0.662).threePointArc((-0.971, -0.641), (-1, -0.594))... | 9 | 47 | 0.426711 |
train_f6abe22d74607325 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.997, -0.019, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.925, 0.649).lineTo(1.547, -0.514).lineTo(1.996, -0.665).lineTo(1.626, -0.541).threePointArc((1.543, -0.52), (1.454, -0.511)).lineTo(0.551, -0.479).threePointArc((0.392, -0.463), (0.24... | 6 | 24 | 0.592496 |
train_78334cc93e7ee4c4 | 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.926, 0.354).workplane(offset=2).rect(0.088, 0.277).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.707, -1.193), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.593, 1.633).lineTo(0.5... | 6 | 25 | 0.315762 |
train_7c96c2dcee0e7c20 | 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.313, 0.197).threePointArc((0.397, 0.161), (0.432, 0.077)).lineTo(0.432, -0.197).lineTo(-0.432, -0.197).lineTo(-0.432, 0.077).lineTo(-0.313, 0.197).lineTo(0.313, 0.197).close().extrude(0.26... | 8 | 22 | 0.401933 |
train_f34575d27dffd479 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.067, 0.049, -0.286), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.689, 0.298).lineTo(0.838, 0.151).lineTo(0.801, 0.113).lineTo(0.691, 0.075).lineTo(0.692, -0.073).lineTo(0.544, -0.074).lineTo(0.507, -0.111).lineTo(0.508, -0.259).lineTo(0.471, -0... | 4 | 81 | 0.966509 |
train_a2eaf9c2d7ace094 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.952, -0.151).lineTo(0.982, -0.191).lineTo(0.948, -0.32).lineTo(0.906, -0.33).lineTo(0.844, -0.468).lineTo(0.857, -0.516).lineTo(0.782, -0.625).lineTo(0.739, -0.62).lineTo(0.633, -0.728).li... | 3 | 148 | 0.957732 |
train_78661afdb4d61bd5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.038, 0, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, 0.255).lineTo(-0.057, 0.127).lineTo(0.17, 0.127).lineTo(0.17, 0).lineTo(0.283, 0).lineTo(0.283, -0.127).lineTo(-0.057, -0.127).lineTo(-0.057, -0.255).lineTo(-0.17, -0.255).lineTo... | 28 | 183 | 0.076002 |
train_b57e2f798ff830f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.147, 0.174, -0.558), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.519).lineTo(0.607, 0.135).lineTo(0.192, 0.135).lineTo(0.192, -0.135).lineTo(0.607, -0.135).lineTo(0.607, -0.519).lineTo(-0.607, -0.519).lineTo(-0.607, -0.135).lineTo(-0.192,... | 15 | 141 | 0.840063 |
train_ba2dd2d08d9deaab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.134).lineTo(1, 0.111).threePointArc((0.977, 0.108), (0.941, 0.106)).lineTo(-0.46, 0.106).threePointArc((-0.599, 0.1), (-0.658, 0.084)).lineTo(-0.658, -0.077).threePointArc((-0.58, ... | 7 | 53 | 0.078724 |
train_cb54124fdb5027a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.901, 0.2).lineTo(0.92, 0.178).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.85, 0).lineTo(0.85, 0.06).lineTo(0.75, 0.178).lineTo(0, 0.05).lineTo(0, 0.2).lineTo(0.901, 0.2).close().revolve(angleDe... | 5 | 89 | 0.240636 |
train_49e15ee36327b10c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.029, 0, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.773, -0.135).lineTo(0.981, -0.2).lineTo(0.965, -0.27).lineTo(0.753, -0.221).lineTo(0.704, -0.347).lineTo(0.885, -0.468).lineTo(0.849, -0.531).lineTo(0.66, -0.424).lineTo(0.578, -0.531)... | 6 | 99 | 0.827779 |
train_04b33f4894288402 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.748, 0.858).threePointArc((0.924, 0.787), (1, 0.608)).lineTo(1, -0.858).lineTo(-1, -0.858).lineTo(-1, 0.736).threePointArc((-0.962, 0.824), (-0.874, 0.858)).lineTo(0.748, 0.858).close().ex... | 17 | 261 | 0.615797 |
train_a7c28a949327ffd5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.022, 0.11, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.456, 0.819).threePointArc((0.83, 0.073), (0.79, -0.819)).threePointArc((-0.83, -0.512), (0.456, 0.819)).close().extrude(0.178)
final_result = result
| 1 | 4 | 0.508311 |
train_60d803f593481d3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, 0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.603, 0.903).lineTo(0.603, -0.903).lineTo(-0.603, -0.903).lineTo(-0.603, 0.301).lineTo(0, 0.301).lineTo(0, 0.903).lineTo(0.603, 0.903).close().workplane(offset=0.085)... | 18 | 286 | 0.18581 |
train_df680734a09ca115 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.141, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.343).extrude(0.909)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.141, 0, -0.363), normal=(0.331, 0, 0.944), xDir=(0.944, 0, -0.331))).circle(0.177).extrude(1.382))
result = resu... | 5 | 10 | 0.309544 |
train_434885ca8d27fc64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.767), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.765).lineTo(1, 0.265).lineTo(1, -0.194).threePointArc((0.831, -0.599), (0.429, -0.765)).lineTo(-0.561, -0.765).lineTo(-0.561, -0.327).lineTo(-1, -0.327).lineTo(-1, 0.296).threePointAr... | 2 | 12 | 3.713753 |
train_3418c35ac02bd07b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.38, 0.003, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.464).extrude(1.161)
result = result.union(cq.Workplane(cq.Plane(origin=(0.38, 0.003, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.38).extrude(1.185))
result = result.cut(cq.Work... | 14 | 168 | 1.148779 |
train_65c25bfd8187eb8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.07, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.318).lineTo(1, 0.223).threePointArc((0.961, 0.19), (0.886, 0.176)).lineTo(0.747, 0.176).threePointArc((0.641, 0.157), (0.597, 0.111)).lineTo(0.597, 0.035).threePointArc((0.62, 0.01), (0.... | 19 | 232 | 0.347622 |
train_aa00c106a541e5eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.624, 0.16, 0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.044, 0.218).lineTo(0.393, -0.131).threePointArc((-0.393, -0.218), (0.044, 0.218)).close().extrude(10.357, both=True)
result = result.intersect(cq.Workplane(cq.Plane(origin=(-0.624, ... | 12 | 188 | 0.467611 |
train_b3082310a4364c0a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.044, 0.56, 0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.22, 0.381).threePointArc((0.22, 0.381), (0.439, 0)).threePointArc((0.22, -0.381), (-0.22, -0.381)).threePointArc((-0.439, 0), (-0.22, 0.381)).close().sweep(cq.Workplane(cq.Plane(or... | 5 | 33 | 0.401809 |
train_7317fc01c37968ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.775, 0.98, -0.024), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.426, 1.71).lineTo(0.055, 1.348).lineTo(0.208, 1.494).lineTo(0.43, 1.497).lineTo(0.597, 1.611).lineTo(0.524, 1.013).lineTo(1.023, 0.676).threePointArc((0.991, 0.616), (0.928, 0.591... | 3 | 52 | 3.40309 |
train_35ce7fcb8a47bda5 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.182).lineTo(0.802, 0).lineTo(1, -0.182).lineTo(0.289, -0.182).lineTo(0.289, 0.182).lineTo(1, 0.182).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.274, 0.474, 0), norm... | 9 | 31 | 0.602489 |
train_12d97a704993a244 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.061, 0.7, 0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.206, 0.206).threePointArc((0.291, 0), (0.206, -0.206)).threePointArc((0, -0.291), (-0.206, -0.206)).threePointArc((-0.291, 0), (-0.206, 0.206)).threePointArc((0, 0.291), (0.206, 0.206... | 11 | 72 | 0.141773 |
train_3efad6eba63982c3 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.798, 1).threePointArc((0.87, 0.976), (0.9, 0.919)).lineTo(0.9, 0.716).threePointArc((0.867, 0.654), (0.79, 0.628)).lineTo(0.356, 0.628).threePointArc((0.269, 0.598), (0.232, 0.528)).lineTo(0.232, -0.945).threePointArc((0.212, -0.984), (0.164, -1)).l... | 5 | 14 | 0.567422 |
train_c0da3d38bec866cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.146), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.567, 0.294).lineTo(0.567, 0.194).lineTo(1, 0.194).lineTo(1, 0).lineTo(0.139, 0).lineTo(0.139, 0.294).lineTo(0.567, 0.294).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 10 | 80 | 0.827954 |
train_646a1843f3697ea7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.327, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.405, 0.672).lineTo(0.519, 0.559).lineTo(0.519, -0.496).lineTo(0.343, -0.672).lineTo(-0.382, -0.672).lineTo(-0.519, -0.535).lineTo(-0.519, 0.568).lineTo(-0.415, 0.672).lineTo(0.405, 0.6... | 8 | 171 | 0.307978 |
train_44d3ac5fd4e6b198 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.104, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.789, -0.164).lineTo(0.827, -0.159).threePointArc((0.723, -0.217), (0.613, -0.263)).lineTo(0.429, -0.326).threePointArc((0.318, -0.329), (0.209, -0.314)).lineTo(0.001, -0.267).threePoin... | 4 | 111 | 0.383874 |
train_8268c1650b1a174e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.073, -0.142, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, -0.349).lineTo(0.073, -0.753).threePointArc((-0.767, 0.689), (0.767, -0.349)).close().moveTo(-0.163, 0.753).lineTo(0.427, -0.259).threePointArc((-0.427, 0.599), (-0.163, 0.7... | 5 | 62 | 0.636235 |
train_227da0ce1428e719 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.903).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.569).extrude(0.828, both=True))
result = result.cut(cq.Workplane('XY').circle(0.632).extrude(2.977, both=True))
resu... | 10 | 68 | 1.813387 |
train_bd3c27ece002b062 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.169, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.831, 0.253).lineTo(0.831, -0.087).lineTo(0.664, -0.087).lineTo(0.664, -0.253).lineTo(-0.656, -0.253).threePointArc((-0.78, -0.201), (-0.831, -0.077)).lineTo(-0.831, 0.011).threePointA... | 9 | 71 | 0.240989 |
train_05132529538a5048 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.083, -0.243, -0.236), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.101, 0.168).threePointArc((0.18, 0.089), (0.101, 0.011)).lineTo(-0.101, 0.011).threePointArc((-0.18, 0.089), (-0.101, 0.168)).lineTo(0.101, 0.168).close().extrude(0.74)
result = ... | 7 | 29 | 0.269429 |
train_d4675b4b4dd5c509 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0.005, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.112, -0.058).threePointArc((-0.01, 0.221), (0.112, -0.054)).lineTo(0.112, -0.201).threePointArc((0.105, -0.221), (0.055, -0.204)).lineTo(0.055, -0.038).threePointArc((0.092, 0.016), (... | 11 | 62 | 0.071243 |
train_fa64cfa8eb869c85 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.405, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.131, 0.239).lineTo(0.131, 0.081).lineTo(0.291, 0.081).lineTo(0.291, -0.097).lineTo(0.149, -0.097).lineTo(0.149, -0.239).lineTo(-0.177, -0.239).lineTo(-0.291, -0.125).lineTo(-0.291, 0.1... | 11 | 73 | 0.412933 |
train_9448218f4093ac48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.337, 0, -0.507), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.082, 0.839).lineTo(0.492, 0.595).lineTo(0.437, -0.026).lineTo(-0.17, -0.166).lineTo(-0.492, 0.368).lineTo(-0.082, 0.839).close().revolve(angleDegrees=270, axisStart=(0.508, -0.216), ... | 6 | 186 | 1.267826 |
train_9bfd4e67b16fe3fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.093, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.041, 0.104).threePointArc((0.054, 0.098), (0.066, 0.09)).lineTo(0.102, 0.028).threePointArc((0.105, 0), (0.102, -0.027)).lineTo(0.076, -0.075).threePointArc((0.052, -0.092), (0.026, -0.104... | 3 | 46 | 0.136103 |
train_e1260648c6f7d8aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.402).lineTo(1, -0.402).lineTo(-0.904, -0.402).threePointArc((-0.966, -0.376), (-1, -0.315)).lineTo(-1, 0.325).threePointArc((-0.969, 0.379), (-0.915, 0.402)).lineTo(1, 0.402).close().ext... | 17 | 162 | 0.419039 |
train_4e387b260e61e924 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.048, 0, 0.058), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.1).lineTo(0.878, 0).lineTo(0.951, -0.1).lineTo(0.237, -0.1).lineTo(0.237, 0.1).lineTo(0.951, 0.1).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
resu... | 17 | 106 | 0.284661 |
train_be075b5fffacc032 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.169, 0.986).threePointArc((0.283, 0.764), (0.348, 0.938)).lineTo(0.515, 0.858).threePointArc((0.541, 0.61), (0.664, 0.749)).lineTo(0.791, 0.615).threePointArc((0.726, 0.374), (0.891, 0.46))... | 5 | 68 | 1.244805 |
train_3046b2e195ee6158 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.331, -0.183, -0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.245).threePointArc((0.086, 0.178), (0.101, 0.084)).threePointArc((0.089, -0.009), (0.053, -0.078)).threePointArc((0.003, -0.104), (-0.048, -0.08)).threePointArc((-0.086, -... | 16 | 130 | 0.27881 |
train_f9384c16687d6143 | 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.73, 0.707).threePointArc((0.913, 0.63), (1, 0.442)).lineTo(1, -0.577).threePointArc((0.954, -0.669), (0.862, -0.707)).lineTo(-0.718, -0.707).threePointArc((-0.91, -0.625), (-1, -0.43)).line... | 6 | 40 | 1.614747 |
train_0a636c20f6d55af6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, -0.002, -0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, -0.116).lineTo(0.989, -0.165).lineTo(0.964, -0.276).lineTo(0.825, -0.254).lineTo(0.783, -0.363).lineTo(0.897, -0.449).lineTo(0.84, -0.548).lineTo(0.713, -0.486).lineTo(0.641... | 9 | 269 | 0.698119 |
train_ea1b77cb37153af6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.008, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.149, 0.149).lineTo(0.149, 0.111).threePointArc((0.146, 0.1), (0.139, 0.092)).lineTo(0.058, 0.031).threePointArc((0.051, 0.024), (0.045, 0.015)).lineTo(0.027, -0.02).threePointArc((0.026, -... | 3 | 46 | 0.160283 |
train_194b0ed7447de7a5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.735, 0.312).threePointArc((0.763, 0.299), (0.775, 0.27)).lineTo(0.775, -0.275).threePointArc((0.764, -0.3), (0.738, -0.312)).lineTo(-0.724, -0.312).lineTo(-0.775, -0.26).lineTo(-0.775... | 7 | 110 | 0.346472 |
train_e25f515463391220 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.778, 0.827).threePointArc((0.928, 0.759), (1, 0.592)).lineTo(1, -0.496).threePointArc((0.902, -0.73), (0.693, -0.827)).lineTo(-0.897, -0.827).threePointArc((-0.964, -0.797), (-1, -0.7... | 4 | 98 | 0.417826 |
train_3c0612414ef8820f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.685, 0, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.191, 0.481).threePointArc((0.244, 0.364), (0.241, 0.248)).threePointArc((0.253, 0.174), (0.298, 0.106)).threePointArc((0.317, 0.018), (0.273, -0.058)).threePointArc((0.205, -0.109), (... | 3 | 35 | 0.779325 |
train_b9788a3bbc937d24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.268).lineTo(1, 0.125).lineTo(0.802, 0.125).lineTo(0.802, 0).lineTo(0.368, 0).lineTo(0.368, 0.268).lineTo(1, 0.268).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,... | 5 | 29 | 0.48821 |
train_4850605baf223137 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.031, -0.517), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.02, 1.034).lineTo(1.02, 0.565).lineTo(0.774, 0.565).lineTo(0.774, 0).lineTo(0.292, 0).lineTo(0.292, 1.034).lineTo(1.02, 1.034).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), a... | 9 | 59 | 1.320898 |
train_9209202d043a9a90 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.774).lineTo(1, -0.774).lineTo(-1, -0.774).lineTo(-1, 0.774).lineTo(-0.586, 0.774).lineTo(-0.586, -0.36).lineTo(0.586, -0.36).lineTo(0.586, 0.774).lineTo(1, 0.774).close().extrude(1.5)
re... | 8 | 64 | 2.443373 |
train_a32100414814c6f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.123, 0.346, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.317, 0.175).threePointArc((0.325, 0.171), (0.329, 0.162)).lineTo(0.329, -0.129).threePointArc((0.316, -0.161), (0.283, -0.175)).lineTo(0.032, -0.175).threePointArc((-0.005, -0.159), (... | 6 | 77 | 0.480329 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.