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_290f86f7aa412cb9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.436), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.388, 0.581).threePointArc((-0.115, 0.548), (0, 0.468)).lineTo(0, 0.34).threePointArc((0.051, 0.305), (0.172, 0.291)).lineTo(0.703, 0.291).threePointArc((0.912, 0.265), (1, 0.204)).lin... | 4 | 57 | 0.447608 |
train_4da47d2d02ccc837 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.137).lineTo(1, 0.098).threePointArc((0.984, 0.094), (0.947, 0.092)).lineTo(-0.115, 0.092).threePointArc((-0.4, 0.077), (-0.521, 0.043)).lineTo(-0.521, -0.048).threePointArc((-0.412, -0.079), (-0.154, -0.092)).lineTo(0.929, -0.092).threePointArc((... | 4 | 18 | 0.291667 |
train_68db24f8db4929a6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.135), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.511, 1.134).lineTo(0.511, 0.056).lineTo(0.653, 0.056).lineTo(0.653, 0).lineTo(0.194, 0).lineTo(0.194, 1.134).lineTo(0.511, 1.134).close().revolve(angleDegrees=360, axisStart=(0, 0, 0... | 9 | 71 | 0.684797 |
train_31d24afcd14eb34b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.248, -0.288, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.724, 0.708).lineTo(0.724, 0.444).lineTo(-0.438, 0.444).lineTo(-0.438, -0.444).lineTo(0.724, -0.444).lineTo(0.724, -0.708).lineTo(-0.724, -0.708).lineTo(-0.724, 0.708).lineTo(0.724... | 4 | 62 | 1.282551 |
train_528cf56cf7f77cd0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.22, 0, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.48, 0.943).threePointArc((0.688, 0.871), (0.775, 0.705)).lineTo(0.775, 0.079).threePointArc((0.748, 0.023), (0.679, 0)).lineTo(0.514, 0).threePointArc((0.425, -0.031), (0.388, -0.103))... | 7 | 139 | 0.705053 |
train_af050611924d2b19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.467, -0.634, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.415, 0.15).threePointArc((0, -0.266), (-0.415, 0.15)).threePointArc((0, 0.565), (0.415, 0.15)).close().workplane(offset=0.183).moveTo(0.512, 0.15).threePointArc((0, -0.361), (-0.512, ... | 2 | 8 | 1.259494 |
train_6b46ca6ff94b5af6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.187, -0.093, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.623, 0.811).threePointArc((0.752, 0.784), (0.807, 0.718)).lineTo(0.807, 0.556).threePointArc((0.717, 0.452), (0.506, 0.407)).lineTo(0.311, 0.407).threePointArc((0.092, 0.361), (0... | 6 | 146 | 0.425529 |
train_ea7a9edb5e9634c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.211, 0.177, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.786, 0.362).lineTo(0.51, 0.105).threePointArc((0.786, 0.117), (0.52, 0.037)).lineTo(-0.559, -0.273).lineTo(-0.54, -0.315).threePointArc((-0.764, -0.362), (-0.689, -0.239)).lineTo(... | 11 | 234 | 0.685955 |
train_a7234a85f5361709 | 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.6, 0.191).workplane(offset=2).rect(0.556, 0.255).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.119).extrude(0.573, both=True... | 7 | 36 | 0.208298 |
train_11b6c1284ca85be6 | 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.395, 0.34).threePointArc((0.469, 0.326), (0.5, 0.292)).lineTo(0.5, 0.158).threePointArc((0.529, 0.127), (0.598, 0.113)).lineTo(0.908, 0.113).threePointArc((0.973, 0.101), (1, 0.071)).lineTo... | 6 | 70 | 0.255241 |
train_e12278e97f9595a3 | 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, 1).lineTo(0, 0.5).lineTo(1, 0.5).lineTo(1, 0).lineTo(0, 0).lineTo(0, -1).lineTo(-0.5, -1).lineTo(-0.5, -0.5).lineTo(-1, -0.5).lineTo(-1, 1).lineTo(0, 1).close().extrude(0.42)
result = resu... | 20 | 41 | 0.932519 |
train_d8428f580260b779 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.18, -0.258, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.243, 0.435).lineTo(1.243, -0.435).lineTo(0.427, -0.435).lineTo(0.427, 0.435).lineTo(0.682, 0.435).lineTo(0.682, 0.091).lineTo(0.988, 0.091).lineTo(0.988, 0.435).lineTo(1.243, 0.435... | 14 | 63 | 0.11545 |
train_92b65139c560fdf0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.015, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 0.875).threePointArc((0.328, 0.571), (0.737, 0.403)).lineTo(1, -0.117).threePointArc((0.724, -0.361), (0.709, -0.677)).threePointArc((0.391, -0.875), (-0.026, -0.873)).threePointArc((-... | 8 | 10 | 1.564301 |
train_17908ac3c12ae765 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.226, -0.036, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.033, 0.095).threePointArc((0.051, 0.087), (0.067, 0.076)).lineTo(0.093, 0.03).threePointArc((0.096, 0.003), (0.094, -0.023)).lineTo(0.059, -0.084).threePointArc((0.05, -0.091), (... | 4 | 42 | 0.091445 |
train_6f640b3273fc9af5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.445, 0.881).threePointArc((0.445, 0.881), (0.89, 0)).threePointArc((0.445, -0.881), (-0.445, -0.881)).threePointArc((-0.89, 0), (-0.445, 0.881)).close().extrude(0.374, both=True)
result =... | 6 | 241 | 1.72747 |
train_1376c305fb0940f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.078, -0.221, -1.692), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.077, 2.339).lineTo(1.077, 1.853).lineTo(0.373, 1.853).lineTo(0.373, 1.036).lineTo(0.136, 1.036).lineTo(0.136, 0.37).lineTo(0.411, 0.37).lineTo(0.411, 0).lineTo(0, 0).lineTo(0, 2.... | 8 | 25 | 1.610072 |
train_6a1aad23f4b2ac52 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.993, 0.763, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.367, 1.763).lineTo(0.825, 1.436).lineTo(0.464, 0.929).lineTo(0.96, 0.576).lineTo(0.49, -0.083).lineTo(-0.006, 0.27).lineTo(-0.367, -0.237).lineTo(-0.825, 0.089).lineTo(-0.464, 0.596).l... | 18 | 531 | 1.34516 |
train_62a0922b4ae5a54b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.172, 0.019, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.754, 0.309).lineTo(0.754, -0.309).lineTo(-0.754, -0.309).lineTo(-0.754, 0.309).lineTo(-0.461, 0.309).lineTo(-0.461, -0.204).lineTo(0.461, -0.204).lineTo(0.461, 0.309).lineTo(0.754,... | 10 | 74 | 1.316451 |
train_988886c4251284e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, 0.254).lineTo(0.964, 0.05).lineTo(0.964, -0.139).lineTo(0.849, -0.254).lineTo(-0.773, -0.254).lineTo(-0.964, -0.062).lineTo(-0.964, 0.005).lineTo(-0.715, 0.254).lineTo(0.76, 0.254).clo... | 12 | 45 | 0.30858 |
train_ca9343559ff53568 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.611), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.755, 2.13).lineTo(0.755, 1.386).lineTo(1, 1.386).lineTo(1, 1.091).lineTo(0.182, 1.091).lineTo(0.182, 0.912).lineTo(0.286, 0.912).lineTo(0.286, 0).lineTo(0, 0).lineTo(0, 2.13).lineTo(0.755... | 2 | 6 | 1.562409 |
train_65394e5aca3f819a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.691).extrude(0.941)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.34), normal=(0.075, 0, 0.997), xDir=(0.997, 0, -0.075))).circle(0.524).extrude(1.304))
result = result.cut(... | 8 | 44 | 0.98062 |
train_5ab77ea7fc078c61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.61), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.219).lineTo(1, 0.717).lineTo(0.547, 0.717).lineTo(0.547, 0).lineTo(0.296, 0).lineTo(0.296, 1.219).lineTo(1, 1.219).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, ... | 6 | 31 | 1.632107 |
train_e5f28664b266cb44 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.482), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.46, 0.963).lineTo(0.46, 0.363).lineTo(1, 0.363).lineTo(1, 0).lineTo(0.081, 0).lineTo(0.081, 0.963).lineTo(0.46, 0.963).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1... | 2 | 20 | 1.474502 |
train_03005fbcfad9a204 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.167, 1).lineTo(0.167, 0.333).lineTo(0.833, 0.333).lineTo(0.833, 0).lineTo(0.5, 0).lineTo(0.5, -0.667).lineTo(0.167, -0.667).lineTo(0.167, -1).lineTo(-0.833, -1).lineTo(-0.833, -0.667).lineTo(-0.167, -0.667).lineTo(-0.167, 0).lineTo(-0.5, 0).lineTo(-... | 18 | 34 | 1.208469 |
train_2a92366cf63e0c98 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.057, -0.189, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.045, 0.027).lineTo(0.045, -0.027).lineTo(-0.045, -0.027).lineTo(-0.045, -0.009).lineTo(0.027, -0.009).lineTo(0.027, 0.009).lineTo(-0.045, 0.009).lineTo(-0.045, 0.027).lineTo(0.04... | 6 | 85 | 0.099855 |
train_bb1e65b5ee718e4d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.051, 0.199, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.256, 0.199).threePointArc((0, -0.057), (-0.256, 0.199)).threePointArc((0, 0.455), (0.256, 0.199)).close().extrude(1.05)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.473, -0.187,... | 12 | 37 | 0.403711 |
train_443bb234f899b9f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.184, -0.856, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.017, 0.406).lineTo(0.275, 0.3).lineTo(0.406, 0.017).lineTo(0.3, -0.275).lineTo(0.017, -0.406).lineTo(-0.275, -0.3).lineTo(-0.406, -0.017).lineTo(-0.3, 0.275).lineTo(-0.017, 0.406).cl... | 1 | 10 | 0.374339 |
train_34d129c604b1e544 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.708), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.539).lineTo(1, -0.539).lineTo(-1, -0.539).lineTo(-1, 0.539).lineTo(1, 0.539).close().extrude(0.297)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.411), normal=(0, 0, 1), ... | 12 | 42 | 2.158531 |
train_a986d9fea9513303 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.281, 0.113, -0.808), normal=(0.126, -0.446, 0.886), xDir=(0.962, 0.271, 0))).moveTo(-0.216, 0.336).lineTo(0.274, 0.075).threePointArc((0.435, -0.088), (0.247, -0.231)).lineTo(-0.056, -0.346).threePointArc((-0.346, -0.372), (-0.435, -0.151)).line... | 15 | 119 | 0.786113 |
train_8f84828d1e510dc9 | 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.829, 2).lineTo(0.829, 0.072).lineTo(0.515, 0.072).lineTo(0.515, 0).lineTo(0.19, 0).lineTo(0.19, 2).lineTo(0.829, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
r... | 5 | 36 | 3.972458 |
train_3d5943c607e2ce98 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.114).lineTo(0.731, 0).lineTo(1, -0.114).lineTo(0.454, -0.114).lineTo(0.454, 0.114).lineTo(1, 0.114).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.332, 0.572, 0), nor... | 11 | 31 | 0.251991 |
train_2f363160204565c3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0.598, 0.302), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.406, 0.445).lineTo(0.553, 0.119).lineTo(0.716, 0.193).lineTo(0.79, 0.029).lineTo(0.954, 0.103).lineTo(1.028, -0.06).lineTo(0.864, -0.134).lineTo(0.938, -0.297).lineTo(0.612, -0.445... | 6 | 97 | 0.819472 |
train_2714603abd918918 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.155, 0.761, 0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.337, 0.754).lineTo(0.42, 0.508).lineTo(0.473, 0.372).lineTo(0.591, 0.214).threePointArc((0.548, 0.118), (0.602, -0.006)).threePointArc((0.453, 0.008), (0.338, 0.029)).lineTo(0.267,... | 1 | 22 | 2.21354 |
train_21ab37351f4f035a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.093, 0.567, 0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.306, 0.306).threePointArc((0.432, 0), (0.306, -0.306)).threePointArc((0, -0.432), (-0.306, -0.306)).threePointArc((-0.432, 0), (-0.306, 0.306)).threePointArc((0, 0.432), (0.306, 0.... | 4 | 42 | 0.383927 |
train_910b58ec69611b0a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.041, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.466, 0.697).threePointArc((1.064, 0.094), (0.42, -0.711)).threePointArc((-0.258, -0.805), (-0.82, -0.607)).threePointArc((-0.852, 0.147), (-1.064, 0.548)).threePointArc((-0.669, 0.805... | 18 | 311 | 0.852461 |
train_1699cecf39db9d61 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.265, -0.37, -0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.109, 0.335).threePointArc((0.254, -0.201), (-0.254, -0.335)).threePointArc((-0.181, -0.022), (-0.036, 0.156)).lineTo(-0.109, 0.335).close().extrude(1.485, both=True)
result = res... | 18 | 121 | 0.386382 |
train_ae118b7021228dd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.908), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.31, 1.816).lineTo(0.31, 1.455).lineTo(1, 1.455).lineTo(1, 0.706).lineTo(0.677, 0.706).lineTo(0.677, 0).lineTo(0, 0).lineTo(0, 1.816).lineTo(0.31, 1.816).close().revolve(angleDegrees=360, ... | 2 | 8 | 3.074926 |
train_92da91c64ed4bdc3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.774), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.547).lineTo(1, 1.12).lineTo(0.477, 1.12).lineTo(0.477, 0.663).lineTo(0.804, 0.663).lineTo(0.804, 0).lineTo(0, 0).lineTo(0, 1.547).lineTo(1, 1.547).close().revolve(angleDegrees=360, axi... | 7 | 22 | 2.810911 |
train_9db8d806b0345c06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.089, -0.064, -0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.576).lineTo(0, 0.288).lineTo(0.576, 0.288).lineTo(0.576, -0.288).lineTo(0, -0.288).lineTo(0, -0.576).lineTo(-0.288, -0.576).lineTo(-0.288, -0.288).lineTo(-0.576, -0.288).lineT... | 10 | 181 | 0.115 |
train_7e6e03de6b0eb451 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.308, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.05, 0.692).lineTo(0.391, 0.351).lineTo(0.391, -0.692).lineTo(-0.391, -0.692).lineTo(-0.391, 0.437).threePointArc((-0.316, 0.617), (-0.134, 0.692)).lineTo(0.05, 0.692).close().extrude(... | 9 | 115 | 0.426644 |
train_c52b8142ae82fe46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.17, -0.166, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.718, 0.833).lineTo(0.718, -0.428).threePointArc((0.597, -0.716), (0.31, -0.833)).lineTo(-0.273, -0.833).lineTo(-0.718, -0.392).lineTo(-0.718, 0.525).threePointArc((-0.626, 0.745), ... | 12 | 82 | 0.616894 |
train_560caeb4e228a2b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.05, -0.029, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.439, 0.194).lineTo(0.723, 0.119).threePointArc((0.862, 0.232), (0.945, -0.09)).lineTo(0.847, -0.232).lineTo(-0.449, -0.149).threePointArc((-0.945, 0.079), (-0.439, 0.194)).close(... | 5 | 34 | 0.297583 |
train_3f859687107a08f6 | 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(1, 0.524).lineTo(1, -0.506).lineTo(0.955, -0.551).lineTo(-0.966, -0.551).lineTo(-1, -0.518).lineTo(-1, 0.516).lineTo(-0.964, 0.551).lineTo(0.973, 0.551).lineTo(1, 0.524).close().extrude(0.08... | 17 | 164 | 0.481886 |
train_ffe06fd906049503 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.581, -0.345, -0.38), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.151, 0.364).threePointArc((0.337, 0.287), (0.414, 0.102)).lineTo(0.414, -0.102).threePointArc((0.337, -0.287), (0.151, -0.364)).lineTo(-0.151, -0.364).threePointArc((-0.337, -0.28... | 20 | 335 | 1.771331 |
train_ee239a2899dbeff1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.543, -0.225, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.018, 0.7).lineTo(0.457, 0.411).lineTo(0.377, -0.19).lineTo(-0.318, -0.25).lineTo(-0.457, 0.403).lineTo(0.018, 0.7).close().revolve(angleDegrees=270, axisStart=(-0.543, -0.3), axisEnd=(... | 16 | 623 | 1.273378 |
train_7aa04dd949e58189 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.221, 0.025, 0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.297, -0.143).lineTo(0.271, -0.149).lineTo(0.258, -0.193).lineTo(0.25, -0.642).lineTo(0.215, -0.685).threePointArc((0.212, -0.895), (-0.215, -0.685)).lineTo(-0.249, -0.642).lineTo(-0... | 7 | 87 | 0.404853 |
train_fc9f95bc4f9b61e4 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.529, 2, 1.608)
result = result.edges().fillet(0.406)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.468).extrude(3.057, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 13 | 99 | 1.580358 |
train_b5ad8a60480d9591 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.356, 0.394).lineTo(0.356, -0.394).lineTo(-0.189, -0.394).threePointArc((-0.308, -0.345), (-0.356, -0.227)).lineTo(-0.356, 0.311).lineTo(-0.275, 0.311).lineTo(-0.275, 0.394).lineTo(0.356, 0... | 10 | 103 | 0.986761 |
train_bde9c7f975dc4cd3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.011, 0.29, -0.482), normal=(0.054, 0.999, -0.008), xDir=(-0.999, 0.054, 0))).moveTo(0.102, 0.359).lineTo(0.131, 0.112).lineTo(0.344, -0.013).lineTo(0.12, -0.116).threePointArc((0.132, -0.163), (0.096, -0.196)).threePointArc((0.101, -0.238), (0.... | 11 | 120 | 0.461366 |
train_2ccab1eb3febb444 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.656, -0.198, -0.046), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.711, 0).threePointArc((0, -0.711), (-0.711, 0)).threePointArc((0, 0.711), (0.711, 0)).close().extrude(0.126)
result = result.union(cq.Workplane(cq.Plane(origin=(0.165, -0.198, -0... | 7 | 216 | 0.872364 |
train_a0e4fa8bd990bc04 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.513, 0.985).threePointArc((-0.457, 0.967), (-0.433, 0.924)).lineTo(-0.433, 0.723).threePointArc((-0.407, 0.676), (-0.345, 0.656)).lineTo(0.738, 0.656).threePointArc((0.827, 0.627), (0.865... | 9 | 92 | 0.297634 |
train_f3e97bd1cd4c9218 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.792).extrude(0.413)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.792, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.068, 0.321), (-0.262, 0.589), (-0.547, 0.753), (... | 7 | 73 | 1.392351 |
train_4b76da457d7e8910 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.898, 0.231).lineTo(0.898, 0.128).lineTo(1, 0.128).lineTo(1, -0.087).lineTo(0.856, -0.087).lineTo(0.856, -0.231).lineTo(-0.845, -0.231).lineTo(-0.845, -0.075).lineTo(-1, -0.075).lineTo(-1, ... | 11 | 67 | 0.257137 |
train_12fb2beac15eb042 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.835), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.839)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.835), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.191, 0.588), (-0.691, 0.951), (-1.309, 0.951), (... | 6 | 51 | 2.349917 |
train_a53172cbb2a9ef13 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(0.143, 0.416).lineTo(0.329, 0.228).lineTo(0.502, 0.259).lineTo(1, -0.267).lineTo(0.843, -0.416).lineTo(0.097, 0.372).lineTo(0.143, 0.416).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
final_result = result
| 1 | 6 | 0.718467 |
train_a2989d21e4321fff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.489, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.11, 0.677).lineTo(0.051, 0.463).lineTo(0.297, 0.569).lineTo(0.193, 0.323).lineTo(0.407, 0.163).lineTo(0.141, 0.13).lineTo(0.11, -0.136).lineTo(-0.051, 0.077).lineTo(-0.297, -0.028).l... | 13 | 107 | 0.682013 |
train_ef96c45196fbafd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.341, 0.437, 0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.388, -0.222).lineTo(0.479, -0.284).lineTo(0.359, -0.43).lineTo(0.282, -0.35).lineTo(0.156, -0.423).lineTo(0.186, -0.531).lineTo(0.003, -0.563).lineTo(-0.005, -0.452).lineTo(-0.148, ... | 9 | 187 | 1.418059 |
train_b79265bd3cdd7294 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.26, 0.001, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.545, 0.754).threePointArc((0.682, 0.715), (0.74, 0.622)).lineTo(0.74, -0.402).threePointArc((0.586, -0.65), (0.222, -0.754)).lineTo(-0.482, -0.754).threePointArc((-0.664, -0.702), (... | 4 | 35 | 0.415719 |
train_8daa9a44334dd1da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.5, 0.345, 0.605), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.065, 0.556).threePointArc((0.131, 0.55), (0.194, 0.527)).threePointArc((0.395, 0.327), (0.194, 0.127)).lineTo(-0.194, 0.127).threePointArc((-0.395, 0.327), (-0.194, 0.527)).threePoint... | 2 | 11 | 0.553531 |
train_f0f9b1d21bb0d677 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.034, 0.046, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, 0.903).threePointArc((0.803, 0.903), (0.803, 0.703)).threePointArc((0.401, 0.1), (0.602, -0.903)).threePointArc((-0.803, -0.502), (0.401, 0.903)).lineTo(0.602, 0.903).close().extru... | 23 | 36 | 3.334891 |
train_4a55ae0fec3a9910 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.869, -0.739, -0.591), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.738).threePointArc((1.227, 1.227), (1.738, 0)).lineTo(1.159, 0).threePointArc((0.821, 0.821), (0, 1.159)).lineTo(0, 1.738).close().extrude(1.098)
result = result.union(cq.Work... | 8 | 42 | 1.786595 |
train_946871bcb9f1f5f1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.359, -0.161, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.592, 0.58).threePointArc((-0.17, 0.758), (0.078, 0.517)).lineTo(-0.035, 0.03).threePointArc((-0.019, -0.048), (0.091, -0.013)).lineTo(0.565, 0.261).threePointArc((0.839, 0.243), ... | 18 | 202 | 0.945689 |
train_772e08b6bfd1d79a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.024, 0.086, -0.031), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.715, -0.353).lineTo(0.446, -0.111).lineTo(0.228, -0.258).lineTo(0.13, -0.113).lineTo(0.662, 0.353).lineTo(0.76, 0.207).lineTo(0.542, 0.06).lineTo(0.788, -0.303).lineTo(0.666, -0.... | 12 | 219 | 0.899914 |
train_c0f989503886ebc4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.1, 0.664).threePointArc((0.263, 0.594), (0.332, 0.431)).lineTo(0.332, 0.256).threePointArc((0.408, 0.076), (0.587, 0)).lineTo(0.803, 0).threePointArc((0.935, -0.057), (1, -0.192)).lineTo(1, -0.515).threePointArc((0.948, -0.619), (0.843, -0.664)).lin... | 5 | 40 | 0.567232 |
train_4229eef697b3389a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.446, 0.107, -0.508), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.133, 0.246).lineTo(0.156, 0.172).threePointArc((0.242, -0.062), (0.133, -0.246)).lineTo(-0.156, -0.172).threePointArc((-0.242, 0.062), (-0.133, 0.246)).close().extrude(2.963, both... | 7 | 53 | 0.57159 |
train_9efadbfca2edf366 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0.019, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.003).extrude(0.185)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.006, 0.019, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.436), (-0.377, 0.784)... | 11 | 86 | 0.413407 |
train_31a09a23a87a458e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.463, 0.548).lineTo(1, 0.011).lineTo(1, -0.186).threePointArc((0.892, -0.443), (0.638, -0.548)).lineTo(-1, -0.548).lineTo(-1, 0.246).threePointArc((-0.909, 0.461), (-0.697, 0.548)).lineTo(0... | 3 | 28 | 0.753574 |
train_398126f3bc5f774a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.709, 0.043, 0.489), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.237, 1.233).threePointArc((0.361, 1.15), (0.402, 0.997)).threePointArc((0.413, 0.846), (0.51, 0.717)).lineTo(0.276, 0.586).threePointArc((0.276, 0.45), (0.248, 0.229)).threePointAr... | 7 | 86 | 0.827516 |
train_b56309197953b5aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.083, 0.133, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.883, 0).threePointArc((0, -0.883), (-0.883, 0)).threePointArc((0, 0.883), (0.883, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.083, 0.133, -0.238), normal=(0, -1, 0), xDir=(... | 15 | 332 | 0.544455 |
train_e8177714304a77f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.116, -0.296), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.012, 1.116).lineTo(0.374, 0.99).lineTo(0.535, 0.656).lineTo(0.438, 0.328).lineTo(0.202, 0.101).lineTo(-0.129, 0.098).lineTo(-0.39, 0.301).lineTo(-0.535, 0.639).lineTo(-0.273, 0.893).l... | 21 | 25 | 0.778777 |
train_7d68a1a311aa95a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.01, 0.001, 0.241), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.593, 0.378).lineTo(0.615, 0.35).lineTo(0.607, 0.277).lineTo(0.648, 0.226).lineTo(0.698, 0.221).lineTo(0.752, 0.265).lineTo(0.756, 0.304).lineTo(0.818, 0.354).lineTo(0.877, 0.348).li... | 11 | 287 | 1.11513 |
train_3811e11bc492e241 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.859).lineTo(0, 0.515).lineTo(0.344, 0.515).lineTo(0.344, 0.172).lineTo(0.687, 0.172).lineTo(0.687, -0.515).lineTo(0, -0.515).lineTo(0, -0.859).lineTo(-0.687, -0.859).lineTo(-0.687, 0.17... | 26 | 108 | 1.081266 |
train_e3dc8c28475a129c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.243, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.757, 0.649).lineTo(0.757, -0.64).threePointArc((0.755, -0.647), (0.748, -0.649)).lineTo(-0.746, -0.649).lineTo(-0.757, -0.638).lineTo(-0.757, 0.643).lineTo(-0.751, 0.643).lineTo(-0.75... | 11 | 83 | 0.526264 |
train_5d2ac899b4a55ed8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.022, 0.439, 0.183), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.115, 0.565).threePointArc((0.182, 0.468), (0.158, 0.334)).threePointArc((0.197, 0.285), (0.326, 0.222)).threePointArc((0.364, 0.105), (0.295, 0.01)).threePointArc((0.229, -0.088), (... | 3 | 27 | 0.825915 |
train_cc5ecea49fc11c46 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.196, 0.372, -0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.09, 0.628).lineTo(0.263, 0.577).lineTo(0.533, 0.343).lineTo(1, 0).lineTo(0.533, -0.343).lineTo(0.263, -0.577).lineTo(-0.09, -0.628).lineTo(-0.415, -0.479).lineTo(-0.608, -0.179).... | 3 | 119 | 1.044343 |
train_e36376ec3fe97ddc | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.68, 1.692, 2)
result = result.edges().fillet(0.331)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.202).extrude(3.361, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm... | 5 | 32 | 4.633079 |
train_0956b703481ee5d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.203, -0.265, -0.474), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.688, 0.224).threePointArc((0.563, 0.009), (0.721, 0.097)).lineTo(0.797, -0.205).lineTo(0.593, -0.594).lineTo(0.502, -0.597).lineTo(0.474, -0.454).lineTo(0.361, -0.435).lineTo(0.24... | 4 | 35 | 0.766004 |
train_c15da91ca1ed4fe1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.1, -0.993, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.84, 1.099).threePointArc((0.945, 1.056), (0.988, 0.951)).lineTo(0.988, -0.751).threePointArc((0.945, -0.855), (0.84, -0.899)).lineTo(-0.84, -0.899).threePointArc((-0.945, -0.855), (-0.9... | 6 | 166 | 5.536023 |
train_a720f3c7ab29594c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.375), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.34, 0.75).lineTo(0.34, 0.34).lineTo(2, 0.34).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.75).lineTo(0.34, 0.75).close().extrude(0.4, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin... | 5 | 16 | 0.647033 |
train_f8fb9917ee068046 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.286)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.615).extrude(0.854, both=True))
result = result.union(cq.Workpl... | 11 | 98 | 0.897942 |
train_d76e4a990f3a36fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.233, 0.281).lineTo(0.233, 0).lineTo(-0.233, 0).lineTo(-0.233, 0.281).lineTo(-0.115, 0.281).lineTo(-0.115, 0.116).lineTo(0.115, 0.116).lineTo(0.115, 0.281).lineTo(0.233, 0.281).close().ext... | 8 | 52 | 0.095221 |
train_485f176d93bfc1ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.402, 0, -0.234), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.598, 0.448).lineTo(0.598, 0).lineTo(-0.598, 0).lineTo(-0.598, 0.448).lineTo(-0.354, 0.448).lineTo(-0.354, 0.243).lineTo(0.354, 0.243).lineTo(0.354, 0.448).lineTo(0.598, 0.448).close()... | 3 | 114 | 0.16607 |
train_3df88659a75172e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.273, 0.002, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.69, 0.985).threePointArc((0.493, 0.592), (0.887, -0.788)).threePointArc((0.493, -0.985), (0.296, -0.788)).lineTo(-0.887, 0.592).threePointArc((-0.887, 0.788), (-0.69, 0.985)).clo... | 3 | 12 | 0.354622 |
train_17fc38e4d4b4158f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.877, 0.217).threePointArc((0.959, 0.183), (1, 0.102)).lineTo(1, -0.071).threePointArc((0.95, -0.174), (0.846, -0.217)).lineTo(-0.835, -0.217).threePointArc((-0.946, -0.17), (-1, -0.06)).li... | 6 | 30 | 0.158255 |
train_487d0caa614fb030 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.127, -0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.202).lineTo(1, 0.121).lineTo(-0.711, 0.121).lineTo(-0.711, 0.041).lineTo(1, 0.041).lineTo(1, -0.202).lineTo(-1, -0.202).lineTo(-1, -0.121).lineTo(0.711, -0.121).lineTo(0.711, -0.04... | 15 | 331 | 0.488601 |
train_6fcaf07bc559288a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.093, 0, 0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.346, 0.268).lineTo(-0.346, -0.092).lineTo(0.886, -0.092).lineTo(0.886, -0.268).lineTo(-0.886, -0.268).lineTo(-0.886, 0.268).lineTo(-0.346, 0.268).close().extrude(0.095, both=True)
res... | 5 | 28 | 0.120882 |
train_3e06f6dcdb25a9bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.745, 1).threePointArc((0.878, 0.934), (0.934, 0.8)).lineTo(0.934, -0.916).threePointArc((0.912, -0.97), (0.859, -1)).lineTo(-0.766, -1).threePointArc((-0.884, -0.94), (-0.934, -0.821)).lin... | 8 | 65 | 1.775069 |
train_da359495e47bde6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.299, -0.327, -0.47), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.117, 0.842).threePointArc((0.084, 0.81), (0.262, 0.646)).threePointArc((0.37, 0.389), (0.378, 0.111)).threePointArc((0.286, -0.115), (0.117, -0.227)).threePointArc((-0.084, -0.19... | 9 | 58 | 1.136713 |
train_7ebd2b9ff9f01203 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.017, 0.165).lineTo(0.052, 0.158).lineTo(0.112, 0.123).lineTo(0.152, 0.068).lineTo(0.167, 0).lineTo(0.152, -0.068).lineTo(0.112, -0.123).lineTo(0.052, -0.158).lineTo(-0.017, -0.165).lineTo(-0.083, -0.145).lineTo(-0.135, -0.098).lineTo(-0.163, -0.035... | 9 | 167 | 0.171212 |
train_b07dc0b76fa29119 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.047, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.171).lineTo(0.196, 0.003).lineTo(0.1, -0.168).lineTo(-0.095, -0.171).lineTo(-0.196, 0.003).lineTo(-0.103, 0.167).lineTo(0.096, 0.171).close().extrude(1, both=True)
result = result.un... | 9 | 89 | 0.295871 |
train_39f1efed3821cb3b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.733, 0.916).lineTo(0.733, 0.55).lineTo(-0.367, 0.55).lineTo(-0.367, 0.183).lineTo(0.733, 0.183).lineTo(0.733, -0.916).lineTo(-0.733, -0.916).lineTo(-0.733, -0.55).lineTo(0.367, -0.55).lineTo(0.367, -0.183).lineTo(-0.733, -0.183).lineTo(-0.733, 0.916... | 7 | 70 | 3.535016 |
train_b67e8392fbe3cf82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.199, -0.146, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.1, 0.264).lineTo(1.1, 0.184).threePointArc((1.185, 0.157), (1.389, 0.146)).lineTo(1.81, 0.146).threePointArc((2.084, 0.131), (2.199, 0.094)).lineTo(2.199, 0.026).threePointArc((2... | 3 | 62 | 0.183384 |
train_27f45636b1cbe191 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.17, -0.185, 0.349), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.11, 0.755).lineTo(-0.11, -0.053).lineTo(0.565, -0.053).lineTo(0.565, -0.509).threePointArc((0.452, -0.491), (0.339, -0.475)).threePointArc((0.211, -0.554), (0.113, -0.668)).threePo... | 4 | 41 | 0.971212 |
train_dfc3d388cd487a83 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.359), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.618, 1).lineTo(0.618, -0.688).threePointArc((0.527, -0.908), (0.306, -1)).lineTo(-0.411, -1).lineTo(-0.411, -0.794).lineTo(-0.618, -0.794).lineTo(-0.618, 0.676).threePointArc((-0.523, 0.90... | 15 | 183 | 0.70756 |
train_9dca7859cfb1b6da | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.059, 1).lineTo(0.998, 0.475).lineTo(0.999, -0.534).lineTo(0.069, -1).lineTo(-0.938, -0.583).lineTo(-0.999, -0.487).lineTo(-0.889, 0.535).lineTo(0.059, 1).close().extrude(0.214, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.386, -0.... | 5 | 44 | 1.230134 |
train_8580ccd9e25964dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.427, 0.879, 0.263), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.737, 0.515).threePointArc((0, 1.252), (-0.737, 0.515)).threePointArc((0, -0.222), (0.737, 0.515)).close().extrude(1.873)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.241, 0... | 7 | 69 | 2.907177 |
train_61a75a24f06f3e3f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.052, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.425, 0.669).lineTo(-0.425, -0.322).lineTo(1, -0.322).lineTo(1, -0.669).lineTo(-1, -0.669).lineTo(-1, 0.669).lineTo(-0.425, 0.669).close().extrude(0.518, both=True)
result = result.cut(cq.... | 16 | 98 | 1.42167 |
train_f0567f549f6edec1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, -0.079, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.119, 0.243).lineTo(-0.119, -0.152).lineTo(0.225, -0.152).lineTo(0.225, -0.243).lineTo(-0.225, -0.243).lineTo(-0.225, 0.243).lineTo(-0.119, 0.243).close().extrude(6.409, both=True).int... | 5 | 49 | 0.133508 |
train_818f03ccd38ac577 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.276, 0.136, 0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.362, 0.627).threePointArc((0.188, 0.699), (0.627, 0.362)).threePointArc((0.699, -0.188), (0.362, -0.627)).threePointArc((-0.188, -0.699), (-0.627, -0.362)).threePointArc((-0.699, 0... | 11 | 419 | 0.425492 |
train_d68390484188e769 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.587, -0.063, -0.834), normal=(-0.567, 0.062, 0.821), xDir=(-0.108, -0.994, 0))).moveTo(0.3, 0.291).lineTo(0.3, -0.079).lineTo(0.3, -0.291).lineTo(-0.3, -0.291).lineTo(-0.3, -0.079).lineTo(-0.3, 0.291).lineTo(-0.214, 0.291).lineTo(-0.214, -0.079)... | 3 | 38 | 0.506309 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.