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_237ec556d75d1d9b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, 0.392).threePointArc((0.983, 0.377), (1, 0.338)).lineTo(1, -0.333).threePointArc((0.982, -0.375), (0.939, -0.392)).lineTo(-0.947, -0.392).threePointArc((-0.983, -0.377), (-1, -0.339))... | 5 | 30 | 0.742466 |
train_6d6fa37fd6d3a3c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.192, -0.423, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.827, 0.075).lineTo(-0.827, -0.057).lineTo(1.192, -0.057).lineTo(1.192, -0.075).lineTo(-1.192, -0.075).lineTo(-1.192, 0.075).lineTo(-0.827, 0.075).close().extrude(0.112)
result = ... | 14 | 183 | 0.678224 |
train_2d0b3a117344b5a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.393, 0.433).workplane(offset=2).rect(1.261, 0.313).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.12).extrude(1.294, both=Tru... | 8 | 15 | 0.903627 |
train_696b60453f9b09f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, -0.199, 0.8), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.796, 0).threePointArc((0, -0.796), (-0.796, 0)).threePointArc((0, 0.796), (0.796, 0)).close().revolve(angleDegrees=90, axisStart=(0.805, -1.42), axisEnd=(0.805, 1.42))
result = res... | 8 | 15 | 1.673233 |
train_f0271eac215fc3eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.038, 0, 0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.331, 0.179).lineTo(0.426, 0.024).lineTo(0.522, -0.131).lineTo(0.357, -0.22).lineTo(0.191, -0.309).lineTo(0.026, -0.398).lineTo(-0.14, -0.487).lineTo(-0.236, -0.333).lineTo(-0.331, -0.1... | 5 | 34 | 0.939368 |
train_492ccdb2a4f8b042 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.972, 1).lineTo(0.972, -1).lineTo(-0.972, -1).lineTo(-0.972, 1).lineTo(0.972, 1).close().extrude(0.278)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.322, -0.302, 0), normal=(-1, 0, 0... | 16 | 160 | 0.926538 |
train_35e1f6d8e2506bdd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.064), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.342, 0.048).threePointArc((0.38, 0.043), (0.403, 0.013)).threePointArc((0.398, -0.025), (0.368, -0.048)).threePointArc((0.33, -0.043), (0.307, -0.013)).threePointArc((0.312, 0.025), (0.34... | 5 | 44 | 0.133153 |
train_951eae5ff6952f1d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.064, 0, -0.382), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.633, 1).threePointArc((0.704, 0.968), (0.735, 0.896)).lineTo(0.735, -0.917).threePointArc((0.711, -0.974), (0.652, -1)).lineTo(-0.633, -1).lineTo(-0.633, -0.896).lineTo(-0.735, -0.896)... | 9 | 44 | 0.331909 |
train_6e2c44dff9581ba5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.272), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.268, 0.46).lineTo(0.268, 0.268).lineTo(2, 0.268).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.46).lineTo(0.268, 0.46).close().extrude(0.693, both=True)
result = result.cut(cq.Workplane(cq.Plane... | 7 | 50 | 0.719054 |
train_01f2d96f3d6bcef8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.066, -0.024, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.415, 0.471).lineTo(0.415, -0.339).threePointArc((-0.415, 0.066), (0.415, 0.471)).close().moveTo(0.052, 0.258).threePointArc((0.096, 0.24), (0.115, 0.195)).lineTo(0.115, -0.074).threeP... | 9 | 114 | 0.837329 |
train_32c50f5b78631809 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.512).threePointArc((0.944, 0.463), (1, 0.347)).lineTo(1, -0.399).threePointArc((0.958, -0.478), (0.879, -0.512)).lineTo(-0.843, -0.512).threePointArc((-0.948, -0.468), (-1, -0.363))... | 6 | 41 | 0.586918 |
train_110ef72c853754f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.487, 0, -0.183), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.99, 0.297).lineTo(0.99, 0).lineTo(0, 0).lineTo(0, 0.299).lineTo(0.297, 0.299).lineTo(0.297, 0.297).lineTo(0.99, 0.297).close().extrude(1, both=True)
result = result.cut(cq.Workplane(... | 6 | 41 | 0.568481 |
train_1191b7c57c33c458 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.284).lineTo(0.757, 0).lineTo(1, -0.284).lineTo(0.319, -0.284).lineTo(0.319, 0.284).lineTo(1, 0.284).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.549, 0, 0), normal=(... | 9 | 56 | 0.549795 |
train_6d2de13623177370 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.866).lineTo(1, 0).lineTo(0.5, -0.866).lineTo(-0.5, -0.866).lineTo(-1, 0).lineTo(-0.5, 0.866).lineTo(0.5, 0.866).close().extrude(0.855)
result = result.cut(cq.Workplane(cq.Plane(origin... | 5 | 52 | 2.097308 |
train_310d6a8f967297fe | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.297).lineTo(1, 0.148).lineTo(0.333, 0.148).lineTo(0.333, -0.297).lineTo(-0.333, -0.297).lineTo(-0.333, -0.148).lineTo(-1, -0.148).lineTo(-1, 0.297).lineTo(1, 0.297).close().extrude(0.14... | 11 | 99 | 0.114176 |
train_cdc53a2c107c423e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.005, 0.896, -0.004), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.006, 0.957).threePointArc((0.131, 0.922), (0.201, 0.793)).threePointArc((0.225, 0.675), (0.279, 0.613)).threePointArc((0.385, 0.557), (0.474, 0.455)).threePointArc((0.462, 0.333),... | 11 | 37 | 1.055098 |
train_bb008b36943d7f7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.288, -0.427), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.708).extrude(0.442)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.708, 0.288, -0.427), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.082, 0.328), (-0.307, 0.579), (-... | 11 | 139 | 0.904878 |
train_ea6378394f9d92bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0.026, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.121, 0.394).threePointArc((0.394, 0.051), (-0.394, -0.255)).lineTo(-0.121, 0.394).close().moveTo(-0.232, -0.192).threePointArc((0.232, -0.012), (0.071, -0.394)).lineTo(-0.232, -0.192... | 6 | 14 | 0.5964 |
train_ccdfa57fa059612f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.032, -0.196, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, 0.193).threePointArc((0.909, -0.193), (0.501, -0.028)).lineTo(-0.465, -0.126).threePointArc((-0.909, -0.092), (-0.485, 0.075)).lineTo(0.76, 0.193).close().moveTo(-0.588, -0.03... | 5 | 79 | 0.361535 |
train_44613f1b8f680ff0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.921), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.963)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.921), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.195, 0.585), (-0.692, 0.943), (-1.308, 0.943), (... | 9 | 100 | 2.378208 |
train_d72d3ec5345c4d92 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.2, 1).lineTo(0.2, 0.2).lineTo(1, 0.2).lineTo(1, -0.2).lineTo(0.6, -0.2).lineTo(0.6, -0.6).lineTo(0.2, -0.6).lineTo(0.2, -1).lineTo(-0.6, -1).lineTo(-0.6, -0.6).lineTo(-0.2, -0.6).lineTo(-0.2, -0.2).lineTo(-1, -0.2).lineTo(-1, 0.6).lineTo(-0.6, 0.6).... | 14 | 97 | 1.614118 |
train_821e9c0e77fb22b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.377), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.058).lineTo(1, -0.027).threePointArc((0.985, -0.03), (0.964, -0.069)).lineTo(0.959, -0.073).lineTo(0.958, -0.083).lineTo(0.952, -0.086).threePointArc((0.951, -0.094), (0.849, -0.086)).... | 2 | 52 | 0.765645 |
train_80d7c60f675fe0f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1.39), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 2.22).lineTo(1, 1.324).lineTo(0.77, 1.324).lineTo(0.77, 0.559).lineTo(0.591, 0.559).lineTo(0.591, 0).lineTo(0, 0).lineTo(0, 2.22).lineTo(1, 2.22).close().revolve(angleDegrees=360, axisSta... | 2 | 6 | 1.95986 |
train_d36df280d32a6d75 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.882, -1, -0.021), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.05, 1.662).threePointArc((0.129, 1.553), (0.126, 1.321)).lineTo(0.321, 1.344).threePointArc((0.507, 1.371), (0.671, 1.326)).lineTo(0.708, 0.966).lineTo(0.948, 0.833).threePointArc((0... | 5 | 94 | 3.686754 |
train_f3b0c9e77a204649 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.218, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.97, -0.149).lineTo(0.906, -0.292).lineTo(0.805, -0.421).lineTo(0.666, -0.533).lineTo(0.498, -0.62).lineTo(0.308, -0.682).lineTo(0.105, -0.713).lineTo(-0.105, -0.713).lineTo(-0.308, -0... | 3 | 89 | 0.866639 |
train_282b190fde8158aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.652, 0.5).lineTo(0.652, -0.495).lineTo(0.636, -0.511).lineTo(-0.636, -0.511).lineTo(-0.652, -0.496).lineTo(-0.652, 0.495).lineTo(-0.635, 0.511).lineTo(0.641, 0.511).lineTo(0.652, 0.5).clos... | 8 | 57 | 1.148113 |
train_c94c717eff72767a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.438), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.916, 0.564).lineTo(0.916, -0.564).threePointArc((-0.916, 0), (0.916, 0.564)).close().extrude(0.874, taper=0.468)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -3.016), normal=(0,... | 3 | 12 | 2.60991 |
train_43276e1973a9a060 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, 0.939, 0.156), normal=(0.022, -0.987, -0.161), xDir=(1, 0.023, 0))).moveTo(0.098, 0.362).lineTo(0.098, 0.096).lineTo(-0.043, 0.096).lineTo(-0.043, -0.096).lineTo(0.098, -0.096).lineTo(0.098, -0.362).lineTo(-0.098, -0.362).lineTo(-0.098, 0.... | 4 | 42 | 0.221527 |
train_ef09662d25c26334 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.544, 0, 0.053), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.065, 0.231).threePointArc((0.203, 0.173), (0.261, 0.035)).lineTo(0.261, -0.035).threePointArc((0.203, -0.173), (0.065, -0.231)).lineTo(-0.065, -0.231).threePointArc((-0.203, -0.173), ... | 5 | 84 | 0.062989 |
train_214f73132ca658b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.045, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.073, 0.104).lineTo(0.073, 0.021).lineTo(0.157, 0.021).lineTo(0.157, -0.021).lineTo(0.032, -0.021).lineTo(0.032, -0.104).lineTo(-0.01, -0.104).lineTo(-0.01, 0.021).lineTo(0.032, 0.021).lin... | 7 | 117 | 0.075946 |
train_14fa2b83f29066bb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.5, 0.09, 0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 1.313).lineTo(0.569, 1.231).lineTo(0.202, -0.137).lineTo(0.425, -0.523).lineTo(0.384, -0.675).lineTo(0.343, -0.827).lineTo(-0.042, -1.049).threePointArc((-0.276, -1.313), (-0.346... | 10 | 257 | 0.401037 |
train_75a921bccf002be2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.62, 0.046), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.113, 0.37).threePointArc((0.248, 0.275), (0.316, 0.106)).threePointArc((0.3, -0.092), (0.203, -0.264)).threePointArc((0.052, -0.366), (-0.113, -0.37)).threePointArc((-0.248, -0.275), (... | 2 | 21 | 0.835306 |
train_c94b91e1525d99fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.622, 0, -0.202), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.114, 0.405).lineTo(0.114, 0.114).lineTo(1.245, 0.114).lineTo(1.245, 0).lineTo(0, 0).lineTo(0, 0.405).lineTo(0.114, 0.405).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 8 | 53 | 0.317403 |
train_41985562e570fba5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.076, 0.9, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.068).threePointArc((0.704, 0.78), (1, 0.077)).threePointArc((0.704, -0.627), (0, -0.915)).threePointArc((-0.704, -0.627), (-1, 0.077)).threePointArc((-0.704, 0.78), (0, 1.068)).close(... | 1 | 26 | 4.964425 |
train_a972325317808c1d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.149, -0.018, 0.422), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.262, 0.023).lineTo(0.329, -0.115).lineTo(0.148, -0.173).lineTo(0.029, -0.266).threePointArc((-0.031, -0.178), (-0.076, -0.14)).threePointArc((-0.141, -0.177), (-0.159, -0.143)).th... | 10 | 222 | 0.49166 |
train_52d8fb41139313c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.882, 0.995, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.41, 1.755).threePointArc((0.579, 1.364), (0.409, 0.693)).threePointArc((0, 0.13), (-0.41, 0.01)).threePointArc((-0.579, 0.402), (-0.409, 1.073)).threePointArc((0, 1.635), (0.41, 1.755)... | 19 | 58 | 2.668728 |
train_0275b453bc682eaf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.612, -0.038).lineTo(0.671, -0.205).lineTo(0.674, -0.241).lineTo(0.68, -0.276).lineTo(0.687, -0.31).lineTo(0.696, -0.345).lineTo(0.707, -0.379).lineTo(0.72, -0.413).lineTo(0.736, -0.446).li... | 7 | 283 | 0.614908 |
train_dad3704c8dcecd57 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.043, 0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, 0.801).threePointArc((1.041, 0.089), (0.725, -0.674)).threePointArc((-0.015, -1.041), (-0.746, -0.801)).threePointArc((-1.041, -0.089), (-0.725, 0.674)).threePointArc((0.015, 1.041... | 8 | 56 | 0.134882 |
train_9df39d5e107066ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.14, 0.847).threePointArc((-0.042, 0.776), (0, 0.608)).lineTo(0, 0.238).threePointArc((0.041, 0.071), (0.139, 0)).lineTo(0.874, 0).threePointArc((0.958, -0.061), (0.994, -0.204)).lineT... | 11 | 111 | 1.184161 |
train_c18247022cff8303 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.749, -0.477, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.012, 1.101).lineTo(0.415, 0.934).lineTo(0.6, 0.514).lineTo(0.433, 0.086).lineTo(0.012, -0.098).lineTo(-0.415, 0.068).lineTo(-0.6, 0.489).lineTo(-0.433, 0.917).lineTo(-0.012, 1.101).c... | 16 | 125 | 0.653809 |
train_a4fbdf631ece0402 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.408, 0.273).lineTo(0.455, 0.185).lineTo(0.497, 0.093).lineTo(0.535, -0.003).lineTo(0.568, -0.102).lineTo(0.595, -0.203).lineTo(0.617, -0.306).lineTo(0.634, -0.411).lineTo(0.646, -0.518).li... | 12 | 341 | 0.232719 |
train_d5980a1bb7b2e830 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.106).extrude(0.363, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.252).extrude(1.04, both=True))
result = result.cut(cq.Workplane('XY').circle(0.021).extrude(1.088, both=True))
r... | 8 | 32 | 0.363779 |
train_5f9f44e0b2901275 | 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.784).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.254).extrude(1.659))
result = result.cut(cq.Workplane(cq.Plane(orig... | 8 | 22 | 3.124826 |
train_7a1420aac4e76c1a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.013, 0.468, -0.616), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0.531).threePointArc((0.821, 0.411), (0.941, 0.12)).lineTo(0.941, -0.099).threePointArc((0.814, -0.404), (0.51, -0.531)).lineTo(-0.941, -0.531).lineTo(-0.941, 0.113).threePoi... | 12 | 52 | 1.986577 |
train_52ce291461fefd5c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.029, 0.143, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 0.31).threePointArc((0.292, 0.301), (0.304, 0.28)).lineTo(0.304, 0.202).threePointArc((0.299, 0.193), (0.286, 0.189)).lineTo(0.132, 0.189).threePointArc((0.094, 0.176), (0.07... | 17 | 174 | 0.597428 |
train_f28e349f15eab936 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.255, 0.154, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.212, 0.846).threePointArc((-0.184, 0.816), (-0.173, 0.744)).lineTo(-0.173, -0.108).threePointArc((-0.134, -0.346), (-0.043, -0.446)).lineTo(0.29, -0.446).threePointArc((0.316, -0.... | 8 | 119 | 1.077311 |
train_94e6205b157e63e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.337, -0.018, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.085, 1.018).lineTo(1.086, -1.018).lineTo(-1.086, -0.878).lineTo(0.085, 1.018).close().extrude(2.314, both=True).intersect(cq.Workplane(cq.Plane(origin=(-0.337, -0.018, 0), normal=(0, ... | 5 | 25 | 1.525768 |
train_67e35bf366333c68 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.414, -0.359, -0.964), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.336, 0.036).lineTo(0.336, 0.019).lineTo(0.297, 0.019).lineTo(0.297, -0.019).lineTo(0.336, -0.019).lineTo(0.336, -0.036).lineTo(0.28, -0.036).lineTo(0.28, 0.036).lineTo(0.336, 0.... | 8 | 103 | 0.393388 |
train_9878cbe4e54beb54 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(1).extrude(0.985, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.177).extrude(1.413, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(... | 7 | 28 | 3.080467 |
train_94781942bdaadbfc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.065, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.645, 0.873).threePointArc((0.864, 0.788), (0.957, 0.588)).lineTo(0.957, -0.107).threePointArc((0.897, -0.236), (0.755, -0.291)).lineTo(-0.116, -0.291).threePointArc((-0.259, -0.346), ... | 11 | 20 | 2.969312 |
train_e88711a604aa228c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.208, 0, -0.34), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.235, 0.679).lineTo(0.235, 0.235).lineTo(0.305, 0.235).lineTo(0.305, 0).lineTo(0, 0).lineTo(0, 0.679).lineTo(0.235, 0.679).close().extrude(1, both=True)
result = result.cut(cq.Workplan... | 7 | 90 | 0.084435 |
train_6361f6f8c979f0ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.449).lineTo(1, -0.449).lineTo(-1, -0.449).lineTo(-1, 0.449).lineTo(1, 0.449).close().extrude(0.184)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.622, 0, 0.069), normal=(0, 0, ... | 11 | 30 | 0.223967 |
train_bf5dd2705d51bebd | 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(1, 0.775).lineTo(1, -0.719).lineTo(0.943, -0.775).lineTo(-0.946, -0.775).lineTo(-1, -0.72).lineTo(-1, 0.728).lineTo(-0.953, 0.775).lineTo(1, 0.775).close().extrude(0.555)
result = result.cut... | 3 | 21 | 0.941884 |
train_016b1611f9867ef7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.559, 0.161, -0.123), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.151, 0.402).lineTo(0.44, 0.348).lineTo(0.441, 0.032).lineTo(0.175, -0.289).lineTo(-0.205, -0.402).threePointArc((-0.264, -0.271), (-0.336, -0.189)).lineTo(-0.441, 0.08).lineTo(-0... | 8 | 239 | 0.850349 |
train_a696afde999061ad | 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.219, 0.222).lineTo(0.219, -0.222).lineTo(-0.219, -0.222).lineTo(-0.219, 0.222).lineTo(-0.07, 0.222).lineTo(-0.07, -0.099).lineTo(0.07, -0.099).lineTo(0.07, 0.222).lineTo(0.219, 0.222).close().... | 15 | 20 | 0.29886 |
train_7b70612c243b6343 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.162, 0, -0.339), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.114, 0.678).lineTo(0.114, 0.114).lineTo(0.324, 0.114).lineTo(0.324, 0).lineTo(0, 0).lineTo(0, 0.678).lineTo(0.114, 0.678).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 6 | 30 | 0.230686 |
train_afa14021b0695d67 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.028, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.162, 0.371).threePointArc((0.218, 0.345), (0.269, 0.311)).lineTo(0.382, 0.114).threePointArc((0.392, 0.011), (0.383, -0.093)).lineTo(0.259, -0.313).threePointArc((0.215, -0.343), (0.166, ... | 4 | 45 | 0.95323 |
train_e45bcf3c8ce275de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.027, 0.013, -0.984), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.16, 0.014).threePointArc((0.168, 0), (0.16, -0.014)).threePointArc((0.144, -0.014), (0.136, 0)).threePointArc((0.144, 0.014), (0.16, 0.014)).close().sweep(cq.Workplane(cq.Plane(o... | 2 | 17 | 0.021119 |
train_5d382104d2794b26 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.876, 0.855).lineTo(1, 0.731).lineTo(1, -0.771).threePointArc((0.975, -0.83), (0.916, -0.855)).lineTo(-0.8, -0.855).lineTo(-1, -0.655).lineTo(-1, 0.7).lineTo(-0.846, 0.855).lineTo(0.876, 0.... | 5 | 55 | 0.944197 |
train_a20ecb61ab40e068 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.164, 0.581, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.408).threePointArc((0.172, 0.273), (0.164, 0.136)).threePointArc((0.287, 0.027), (0.31, -0.136)).lineTo(0.2, -0.408).threePointArc((-0.31, 0), (0.2, 0.408)).close().sweep(cq.W... | 19 | 145 | 0.614545 |
train_e8129782362284af | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.16, 1).threePointArc((0.281, 0.941), (0.332, 0.824)).lineTo(0.332, -0.194).threePointArc((0.373, -0.291), (0.47, -0.332)).lineTo(0.86, -0.332).threePointArc((0.953, -0.371), (1, -0.463)).lineTo(1, -0.78).threePointArc((0.928, -0.928), (0.78, -1)).li... | 5 | 47 | 1.879042 |
train_fa0e60db528b4e5a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.232, 0.081, 0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.254).lineTo(0.248, 0.152).lineTo(-0.149, 0.152).lineTo(-0.149, 0.051).lineTo(0.248, 0.051).lineTo(0.248, -0.254).lineTo(-0.248, -0.254).lineTo(-0.248, -0.152).lineTo(0.149, -... | 11 | 309 | 0.374797 |
train_9159bec7c937ab82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.368, 0.011, 0.015), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.139, 0.988).threePointArc((0.269, 0.934), (0.323, 0.803)).lineTo(0.323, 0.599).threePointArc((0.269, 0.468), (0.139, 0.414)).lineTo(-0.139, 0.414).threePointArc((-0.269, 0.468), (... | 5 | 51 | 0.519079 |
train_6dc8a0600f3f3f40 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.245).lineTo(1, -0.236).threePointArc((0.983, -0.26), (0.959, -0.269)).lineTo(-0.97, -0.269).threePointArc((-0.986, -0.263), (-1, -0.247)).lineTo(-1, 0.246).threePointArc((-0.986, 0.263)... | 13 | 27 | 0.170103 |
train_0fbea221d972f09d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.007, -0.44), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.678, 0.199).threePointArc((0.727, 0.178), (0.747, 0.13)).lineTo(0.747, -0.082).threePointArc((0.712, -0.164), (0.63, -0.199)).lineTo(-0.025, -0.199).threePointArc((-0.041, -0.192), (-0.... | 13 | 293 | 0.867242 |
train_cc12eb92c4c74b69 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.795), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.589)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.32), normal=(0.532, 0, 0.847), xDir=(0.847, 0, -0.532))).circle(0.883).extrude(0.901))
result = result.cut(cq.Wo... | 4 | 8 | 2.415468 |
train_c8dce7bb0ae8b581 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.469, -0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.501, -0.486).lineTo(0.499, -0.494).lineTo(0.496, -0.502).lineTo(0.492, -0.509).lineTo(0.487, -0.515).lineTo(0.482, -0.521).lineTo(0.475, -0.525).lineTo(0.468, -0.529).lineTo(0.461, -0... | 6 | 212 | 0.896873 |
train_e1197a2785f2354f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.14, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.287, 0.514).threePointArc((0.515, 0.419), (0.61, 0.191)).lineTo(0.61, 0.088).threePointArc((0.515, -0.139), (0.287, -0.234)).lineTo(-0.287, -0.234).threePointArc((-0.515, -0.139), (-0.61, ... | 12 | 35 | 1.604993 |
train_ace97dbe8e0fb249 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, -0.064, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.961, 0.153).lineTo(-0.225, -0.929).threePointArc((-0.961, 0.443), (0.961, 0.153)).close().moveTo(0.144, 0.929).lineTo(0.504, 0.258).threePointArc((-0.504, 0.338), (0.144, 0.929)).close... | 3 | 19 | 0.328406 |
train_e5de83a74e8ec036 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.072, -0.069, 0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.166, 0.158).lineTo(0.166, 0.459).threePointArc((0.125, 0.558), (0.026, 0.599)).lineTo(-0.026, 0.599).threePointArc((-0.125, 0.558), (-0.166, 0.459)).lineTo(-0.166, 0.158).threePoi... | 5 | 54 | 0.541284 |
train_e3b62b899fbaf916 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.007, 0.128, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.653).threePointArc((0.49, 0.49), (0.653, 0)).threePointArc((0.49, -0.49), (0, -0.653)).threePointArc((-0.49, -0.49), (-0.653, 0)).threePointArc((-0.49, 0.49), (0, 0.653)).close(... | 9 | 184 | 0.969545 |
train_0c7c1e1996e503d8 | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.821, 1.566)
result = result.edges().fillet(0.241)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.307).extrude(4, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.574, 0, -0.15)... | 7 | 45 | 3.59518 |
train_099704de506d60b0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.335), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.681, 1).threePointArc((0.797, 0.944), (0.84, 0.829)).lineTo(0.84, -0.732).threePointArc((0.767, -0.914), (0.58, -1)).lineTo(-0.752, -1).threePointArc((-0.817, -0.965), (-0.84, -0.9)).lineT... | 7 | 36 | 0.950884 |
train_6dd01ec203777979 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.159, 0.014, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.662, 0.527).threePointArc((0.788, 0.485), (0.84, 0.387)).lineTo(0.84, 0.011).threePointArc((0.737, -0.182), (0.491, -0.264)).lineTo(-0.117, -0.264).threePointArc((-0.153, -0.275), ... | 5 | 44 | 0.506891 |
train_d4d41d01d7dbe8bb | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.114).lineTo(0.835, 0).lineTo(1, -0.114).lineTo(0.37, -0.114).lineTo(0.37, 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.55, 0, 0), normal=(0, ... | 4 | 48 | 0.223287 |
train_2745cb372b98c18c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.604, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.792, 0.595).lineTo(0.396, 0).lineTo(1.585, 0).lineTo(0.396, 0).lineTo(-0.792, -0.595).lineTo(-1.188, 0).lineTo(-1.585, 0).lineTo(-1.188, 0).lineTo(-0.792, 0.595).close().extrude(3.966, bot... | 3 | 25 | 0.891133 |
train_c6a44d3c6f51c456 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.285, -0.193, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.568).threePointArc((0.402, 0.402), (0.568, 0)).lineTo(0.142, 0).threePointArc((0.101, 0.101), (0, 0.142)).lineTo(0, 0.568).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 64 | 0.307129 |
train_265ecd873c51e4a0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.288, 0.539, -0.031), normal=(0.618, -0.783, 0.07), xDir=(0.785, 0.619, 0))).moveTo(-0.293, 0.028).lineTo(-0.265, 0.045).threePointArc((-0.158, 0.041), (-0.091, 0.047)).lineTo(-0.071, 0.059).threePointArc((-0.057, 0.062), (-0.032, 0.062)).lineTo... | 2 | 31 | 1.062295 |
train_ba1a3755ca1ff9cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.34, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.659, 0.166).lineTo(0.659, -0.166).lineTo(-0.589, -0.166).lineTo(-0.589, -0.096).lineTo(-0.659, -0.096).lineTo(-0.659, 0.12).lineTo(-0.613, 0.166).lineTo(0.659, 0.166).close().extrude(0.... | 14 | 59 | 0.151377 |
train_849a60d7b8ac8956 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.351), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.777, 0.735).lineTo(0.729, 0.245).lineTo(0.702, -0.245).lineTo(0.777, -0.735).threePointArc((-0.777, 0), (0.777, 0.735)).close().workplane(offset=0.108).moveTo(0.797, 0.754).lineTo(0.748, 0... | 20 | 86 | 1.443937 |
train_7b24cf4cf4db5c22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.195, -0.052, 0.032), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.019, 0.068).lineTo(0.019, -0.022).threePointArc((0, -0.041), (-0.019, -0.022)).lineTo(-0.019, 0.068).threePointArc((0, 0.087), (0.019, 0.068)).close().revolve(angleDegrees=360, ax... | 8 | 61 | 0.062211 |
train_6c726f2b850aada9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.096, 0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.532, 0.916).threePointArc((0.774, 0.613), (0.83, 0.243)).lineTo(0.793, 0.113).threePointArc((0.704, -0.118), (0.925, -0.368)).threePointArc((0.842, -1.067), (0.091, -0.775)).lineT... | 5 | 45 | 0.088733 |
train_5b343f7fdb675712 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.14).lineTo(1, 0.094).lineTo(-0.547, 0.094).lineTo(-0.547, -0.094).lineTo(1, -0.094).lineTo(1, -0.14).lineTo(-1, -0.14).lineTo(-1, 0.14).lineTo(1, 0.14).close().extrude(0.211, taper... | 3 | 37 | 0.028669 |
train_55a39345a5073d83 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.724), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.111, 0.939).threePointArc((1.212, 0.897), (1.254, 0.794)).lineTo(1.254, -0.731).lineTo(1.046, -0.939).lineTo(-1.04, -0.939).lineTo(-1.04, -0.725).lineTo(-1.254, -0.725).lineTo(-1.254, 0.93... | 21 | 131 | 2.290219 |
train_afbdd916a001de88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.031, 0.093, 0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.667, 0.495).lineTo(0.667, 0.298).lineTo(0.099, 0.298).lineTo(0.099, -0.495).lineTo(-0.099, -0.495).lineTo(-0.099, 0.298).lineTo(-0.667, 0.298).lineTo(-0.667, 0.495).lineTo(0.667, 0... | 16 | 145 | 0.498196 |
train_dcf4023eb5ca53d6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.058, 0, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.941, 0.544).lineTo(0.941, -0.544).lineTo(-0.941, -0.544).lineTo(-0.941, 0.544).lineTo(-0.64, 0.544).lineTo(-0.64, -0.413).lineTo(0.64, -0.413).lineTo(0.64, 0.544).lineTo(0.941, 0.544).c... | 4 | 41 | 0.346705 |
train_19df36ab0c291c9c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.163, 0.077, 0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.43, 0.772).threePointArc((0.43, 0.772), (0.859, 0)).threePointArc((0.43, -0.772), (-0.43, -0.772)).threePointArc((-0.859, 0), (-0.43, 0.772)).close().moveTo(-0.602, 0.174).threePo... | 10 | 284 | 0.871204 |
train_cd98f97a4d939cb9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.176, 0.497, -0.35), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.116, 0.168).lineTo(0.116, -0.168).threePointArc((0, -0.284), (-0.116, -0.168)).lineTo(-0.116, 0.168).threePointArc((0, 0.284), (0.116, 0.168)).close().extrude(0.012)
result = resul... | 22 | 113 | 0.857152 |
train_194ffa8e70c863f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.156, 0.85, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.646, 1.043).lineTo(0.616, 0.931).lineTo(0.915, 0.782).lineTo(0.786, 0.553).lineTo(0.503, 0.739).lineTo(0.421, 0.657).lineTo(0.607, 0.373).lineTo(0.377, 0.241).lineTo(0.225, 0.544).lineT... | 4 | 138 | 2.957523 |
train_71151fdcbd77de4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.443, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.363, 0.86).lineTo(0.557, 0.666).lineTo(0.557, -0.606).threePointArc((0.483, -0.786), (0.302, -0.86)).lineTo(-0.359, -0.86).threePointArc((-0.499, -0.802), (-0.557, -0.662)).lineTo(-0.5... | 4 | 52 | 0.802523 |
train_3a193d1fdbf79780 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.406, 0, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.187, 1.108, 1.134)
result = result.edges().fillet(0.187)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.406, 0, -0.068), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.194).extrude(2.... | 9 | 116 | 1.347454 |
train_88511863725f6749 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.001), normal=(0.147, 0.005, 0.989), xDir=(0, -1, 0.005))).moveTo(0.297, 0.6).lineTo(0.297, -0.6).threePointArc((-0.297, 0), (0.297, 0.6)).close().extrude(0.921, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.002, ... | 3 | 33 | 0.794903 |
train_dc112c5ba58abf28 | 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.334, 0.134).threePointArc((0.372, 0.119), (0.388, 0.081)).lineTo(0.388, -0.134).lineTo(-0.388, -0.134).lineTo(-0.388, 0.059).threePointArc((-0.366, 0.112), (-0.312, 0.134)).lineTo(0.334, 0... | 9 | 75 | 0.20735 |
train_0c36886510c36b0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.174, 0.23, 0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.059, -0.249).threePointArc((-0.232, -0.313), (-0.313, -0.201)).lineTo(-0.463, -0.167).threePointArc((-0.525, -0.16), (-0.483, -0.14)).lineTo(-0.3, 0.216).lineTo(-0.211, 0.215).thre... | 15 | 75 | 0.219 |
train_42a46f7a22cf19e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(2.804, -1.458, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-2.716, 2.716).threePointArc((2.716, 2.716), (2.716, -2.716)).threePointArc((-2.716, -2.716), (-2.716, 2.716)).close().extrude(0.581, both=True)
result = result.cut(cq.Workplane(cq.... | 13 | 36 | 1.467674 |
train_bf01f6fc3315ee2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.234, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.353).lineTo(1, -0.066).lineTo(0.708, -0.353).lineTo(-0.75, -0.353).lineTo(-1, -0.108).lineTo(-1, 0.007).lineTo(-0.649, 0.353).lineTo(1, 0.353).close().extrude(0.277)
result = result... | 10 | 114 | 0.260981 |
train_eda105c130ea1d7b | 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.636).extrude(0.636)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.636, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.238, 0.498), (-0.778, 0.622), (-1.21, 0.277), (-... | 11 | 31 | 0.119079 |
train_f39a54e2c6f96163 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.769, 0.398).lineTo(0.92, 0.3).lineTo(1, 0.139).lineTo(1, 0).lineTo(0.827, 0).lineTo(0.827, 0.12).lineTo(0.726, 0.3).lineTo(0, 0.224).lineTo(0, 0.398).lineTo(0.769, 0.398).close().revolve(... | 4 | 108 | 0.50089 |
train_41b0a62478881844 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.439, 0.522).threePointArc((-0.224, 0.664), (0.018, 0.391)).lineTo(0.658, -0.111).threePointArc((0.7, -0.269), (0.485, -0.411)).lineTo(0.01, -0.02).threePointArc((-0.046, 0.001), (-0.083, ... | 12 | 186 | 1.734632 |
train_3412c032e69eb162 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.6, 0.692).lineTo(0.6, 0.231).lineTo(1, 0.231).lineTo(1, -0.692).lineTo(-1, -0.692).lineTo(-1, 0.692).lineTo(-0.2, 0.692).lineTo(-0.2, 0.231).lineTo(0.2, 0.231).lineTo(0.2, 0.692).lineTo(0.... | 20 | 14 | 0.766321 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.