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_a09dcf65c22069ae | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.197, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.652, 0.802).threePointArc((0.748, 0.766), (0.787, 0.678)).lineTo(0.787, -0.442).threePointArc((0.671, -0.695), (0.393, -0.802)).lineTo(-0.348, -0.802).threePointArc((-0.658, -0.683), (... | 23 | 277 | 1.766202 |
train_d2f80c7921ccd224 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.033, -0.255, -0.595), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.242, 0.345).lineTo(-0.242, 0.173).lineTo(0.845, 0.173).lineTo(0.845, -0.115).lineTo(-0.242, -0.115).lineTo(-0.242, -0.345).lineTo(-0.845, -0.345).lineTo(-0.845, 0.345).lineTo(-0.... | 10 | 100 | 0.934271 |
train_ab6a80756bb029c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.097, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.982, 0.253).lineTo(1, 0.214).lineTo(0.89, 0.157).threePointArc((0.859, -0.041), (0.621, -0.135)).lineTo(0.394, -0.253).lineTo(0.304, -0.055).lineTo(0.982, 0.253).close().revolve(angleDegr... | 20 | 192 | 0.364857 |
train_2ea7e909e1b1b943 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.199, -0.075, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.002, -0.76).threePointArc((-0.386, -1.075), (-0.614, -0.683)).lineTo(-1.072, -0.535).lineTo(-0.994, 0.183).lineTo(-0.763, 0.829).threePointArc((-0.496, 0.859), (-0.353, 1.075)).... | 12 | 110 | 1.74418 |
train_6f70c1489283cace | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.104, -1.03, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.257, 0.99).threePointArc((0.257, 0.99), (0.513, 0.545)).threePointArc((0.257, 0.1), (-0.257, 0.1)).threePointArc((-0.513, 0.545), (-0.257, 0.99)).close().extrude(0.209)
result = resul... | 11 | 622 | 0.314358 |
train_2ccb76c71c1079dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.278, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.721).extrude(0.392)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.278, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.335).extrude(1.174, both=True))
result = result.u... | 12 | 30 | 0.674916 |
train_30ec4b98c5e7d43d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.046, 0.621, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.292, 0.319).threePointArc((0.906, -0.112), (-0.906, -0.319)).lineTo(-0.292, 0.319).close().extrude(0.232)
result = result.union(cq.Workplane(cq.Plane(origin=(0.484, 0.847, -0.15)... | 5 | 29 | 0.650972 |
train_ce4e29f1b6769994 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.395, 1).lineTo(0.664, 0.732).lineTo(0.664, -0.854).lineTo(0.518, -1).lineTo(-0.499, -1).lineTo(-0.664, -0.836).lineTo(-0.664, 0.797).threePointArc((-0.604, 0.94), (-0.461, 1)).lineTo(0.395... | 14 | 99 | 1.358352 |
train_be0067d5a03d7b2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.319).lineTo(1, 0.158).threePointArc((0.968, 0.129), (0.894, 0.117)).lineTo(-0.298, 0.117).threePointArc((-0.36, 0.107), (-0.386, 0.083)).lineTo(-0.386, -0.074).threePointArc((-0.353, -0... | 6 | 45 | 0.224422 |
train_1d7477684dd84aab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.914, -0.324, 0.12), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.121, 0.215).lineTo(0.121, -0.006).lineTo(-0.121, -0.006).lineTo(-0.121, 0.038).lineTo(-0.072, 0.038).lineTo(-0.072, 0.083).lineTo(-0.024, 0.083).lineTo(-0.024, 0.127).lineTo(0.024,... | 8 | 51 | 0.285217 |
train_321677b6eaf0353d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 1.193).lineTo(0.11, 0.948).lineTo(0.512, 0.832).threePointArc((0.603, 0.764), (0.688, 0.687)).lineTo(0.934, 0.441).lineTo(1.12, 0.118).lineTo(1.15, -0.045).lineTo(1.121, -0.292).three... | 5 | 50 | 1.131409 |
train_fb1815d456fd27eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.092, 0.002, -0.506), normal=(0.692, 0.147, -0.707), xDir=(-0.208, 0.978, 0))).moveTo(0.486, 0.355).lineTo(0.556, 0.071).lineTo(0.556, -0.355).lineTo(-0.556, -0.355).lineTo(-0.556, 0.071).lineTo(-0.486, 0.355).lineTo(-0.417, 0.071).lineTo(-0.347,... | 14 | 327 | 1.313916 |
train_8f8d86b89a025cda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.136, 0.478, -0.186), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.09, 0.306).threePointArc((0.125, 0.292), (0.139, 0.257)).lineTo(0.174, 0.172).lineTo(0.122, 0.087).lineTo(0.139, 0.002).threePointArc((0.125, -0.033), (0.09, -0.047)).lineTo(-0.095... | 24 | 156 | 0.545115 |
train_21e5370b58d173ed | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.601), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.494, 0.781).threePointArc((0.889, 0.651), (0.791, 0)).lineTo(-0.494, -0.781).threePointArc((-0.889, -0.651), (-0.791, 0)).lineTo(-0.692, 0.26).threePointArc((-0.692, 0.521), (-0.494, 0.651... | 5 | 42 | 2.107336 |
train_d60e3be6c09ccf53 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.195, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.141, 1.01).threePointArc((0.008, 0.971), (0.135, 0.883)).threePointArc((0.233, 0.78), (0.31, 0.687)).threePointArc((0.383, 0.611), (0.463, 0.546)).threePointArc((0.545, 0.474), (0.616, 0... | 32 | 670 | 1.713583 |
train_40790d9478c6151e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.039, -0.704, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.241, 1.309).threePointArc((0.348, 1.227), (0.483, 1.225)).threePointArc((0.671, 1.147), (0.749, 0.958)).lineTo(0.749, 0.301).threePointArc((0.671, 0.113), (0.483, 0.035)).lineTo(-... | 7 | 108 | 1.628146 |
train_ae9cdaf2d8fef579 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.326, 0.055, -0.395), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.697).threePointArc((0.299, 0.597), (0.398, 0.398)).lineTo(0.398, -0.398).threePointArc((0.299, -0.597), (0.1, -0.697)).lineTo(0, -0.697).lineTo(-0.1, -0.697).threePointArc((-... | 8 | 75 | 1.219685 |
train_fc844180cf90dd4b | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.153).lineTo(0.741, 0).lineTo(1, -0.153).lineTo(0.226, -0.153).lineTo(0.226, 0.153).lineTo(1, 0.153).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.387, -0.387, 0), no... | 15 | 226 | 0.295835 |
train_369207ed2155d92f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.582), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, 0.75).threePointArc((0.925, 0.675), (1, 0.496)).lineTo(1, -0.29).threePointArc((0.863, -0.613), (0.54, -0.75)).lineTo(-0.254, -0.75).threePointArc((-0.427, -0.677), (-0.5, -0.504)).li... | 2 | 38 | 2.799412 |
train_8942d894e83c096d | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.599).lineTo(1, 0.12).lineTo(0.6, 0.12).lineTo(0.6, 0.36).lineTo(0.2, 0.36).lineTo(0.2, -0.12).lineTo(0.6, -0.12).lineTo(0.6, -0.36).lineTo(-0.2, -0.36).lineTo(-0.2, -0.599).lineTo(-1, -0.599).lineTo(-1, -0.36).lineTo(-0.6, -0.36).lineTo(-0.6, 0.5... | 4 | 59 | 1.117077 |
train_e0cb690c00cc3037 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.408, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.354, 0.592).threePointArc((0.423, 0.563), (0.452, 0.495)).lineTo(0.452, -0.486).lineTo(0.346, -0.486).lineTo(0.346, -0.592).lineTo(-0.327, -0.592).threePointArc((-0.415, -0.555), (-0.... | 8 | 63 | 0.186214 |
train_88406e43ff8955cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.131, -0.582, -0.025), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.157, 0.879).threePointArc((0.027, 0.835), (0.196, 0.607)).threePointArc((0.25, 0.327), (0.157, 0.162)).threePointArc((-0.027, 0.206), (-0.196, 0.435)).threePointArc((-0.25, 0.7... | 6 | 49 | 0.748732 |
train_d36e2b1ee0c8372e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.493), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.985)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.493), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.498).extrude(2.958, both=True))
result = result.union(cq.Workpl... | 12 | 17 | 2.667762 |
train_95b26599a9f542dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.368, 0.157, 0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.631, 0.256).lineTo(0.631, -0.256).lineTo(-0.631, -0.256).lineTo(-0.631, -0.085).lineTo(0.421, -0.085).lineTo(0.421, 0.085).lineTo(-0.631, 0.085).lineTo(-0.631, 0.256).lineTo(0.631, ... | 9 | 328 | 0.998012 |
train_c6868f0c3678ef4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.623, 0.086, 0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.373, 0.012).threePointArc((0.377, 0.003), (0.371, -0.006)).lineTo(0.219, -0.108).threePointArc((0.198, -0.13), (0.191, -0.16)).lineTo(0.191, -0.369).threePointArc((0.188, -0.378), ... | 10 | 181 | 0.818251 |
train_47e6d5051630c3da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.311, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.391).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.311, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.318).extrude(0.257, both=True))
result = result.cut(... | 6 | 20 | 0.921144 |
train_2450c1db9804c403 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.093, -0.754, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.136, 0.232).lineTo(0.134, 0.088).lineTo(0.342, 0.086).lineTo(0.341, -0.092).lineTo(0.133, -0.09).lineTo(0.132, -0.234).lineTo(-0.136, -0.232).lineTo(-0.134, -0.088).lineTo(-0.342... | 3 | 44 | 0.333524 |
train_f62afab490d1a409 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.019, -0.083, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.509, 0.903).threePointArc((0.914, -0.077), (-0.474, -0.625)).lineTo(-0.773, -0.903).threePointArc((-0.89, -0.885), (-0.914, -0.594)).threePointArc((-0.474, -0.175), (-0.129, -0.59... | 5 | 72 | 0.232296 |
train_659247963daaa63d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.881, 0.664).threePointArc((0.963, 0.618), (0.998, 0.509)).lineTo(0.998, 0.186).threePointArc((0.956, 0.055), (0.858, 0)).lineTo(0.082, 0).threePointArc((0.024, -0.032), (0, -0.109)).lineTo... | 2 | 24 | 0.297219 |
train_7413f5737e5e2628 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.104, -0.001, -0.698), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.082, 0.999).threePointArc((0.165, 0.964), (0.2, 0.881)).lineTo(0.2, -0.061).threePointArc((0.241, -0.159), (0.338, -0.2)).lineTo(0.534, -0.2).threePointArc((0.58, -0.219), (0.599,... | 17 | 159 | 0.763395 |
train_032b4d6e57dce094 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.887, 0.873).threePointArc((0.966, 0.839), (1, 0.76)).lineTo(1, 0.356).threePointArc((0.967, 0.279), (0.89, 0.247)).lineTo(-0.248, 0.247).threePointArc((-0.336, 0.209), (-0.373, 0.121)).lineTo(-0.373, -0.177).threePointArc((-0.353, -0.226), (-0.304, ... | 8 | 116 | 1.613953 |
train_3d156d5e80d9816e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.643), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.953, 0.825).lineTo(0.953, -0.825).lineTo(-0.953, -0.825).lineTo(-0.953, -0.275).lineTo(0.681, -0.275).lineTo(0.681, 0.275).lineTo(-0.953, 0.275).lineTo(-0.953, 0.825).lineTo(0.953, 0.825).... | 9 | 60 | 3.200503 |
train_fd1a27d6eb4306fa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.054, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.406).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.054, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.233).extrude(0.682, both=True))
result = result.cut(... | 11 | 62 | 0.520106 |
train_3ed8cef2b75e4934 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.27, 0.324).lineTo(0.585, 0.008).lineTo(0.585, -0.006).lineTo(0.269, -0.324).lineTo(-0.585, -0.324).lineTo(-0.585, 0.116).lineTo(-0.379, 0.116).lineTo(-0.379, 0.324).lineTo(0.27, 0.324).clo... | 11 | 24 | 1.717837 |
train_2c40c477920de44c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.014, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.645, 0.621).lineTo(0.823, 0.266).lineTo(1, 0.089).lineTo(0.823, -0.089).lineTo(0.823, -0.266).lineTo(1, -0.443).threePointArc((0.645, -0.798), (0.291, -0.798)).lineTo(-0.064, -0.621).l... | 4 | 27 | 0.70759 |
train_19008d262794a52d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.035, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.249).lineTo(1, -0.277).lineTo(-1, -0.277).lineTo(-1, 0.219).lineTo(-0.934, 0.219).lineTo(-0.934, 0.277).lineTo(0.964, 0.277).lineTo(0.964, 0.249).lineTo(1, 0.249).close().extrude(0... | 11 | 72 | 0.342887 |
train_386a5533ce186349 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.525), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 0.27).lineTo(0.211, 0.006).lineTo(0.475, 0.006).lineTo(0.475, -0.006).lineTo(0.211, -0.006).lineTo(0.211, -0.27).lineTo(-0.322, -0.27).lineTo(-0.322, -0.116).lineTo(-0.475, -0.116).li... | 4 | 33 | 0.595173 |
train_35e1545e808410ab | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.056, 0.219).lineTo(0.143, 0.181).threePointArc((0.159, 0.163), (0.177, 0.146)).lineTo(0.221, 0.043).threePointArc((0.219, 0.003), (0.221, -0.037)).lineTo(0.191, -0.113).threePointArc((0.15... | 7 | 116 | 0.306198 |
train_15b4f2b9cf0d8430 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.07, -0.168, 0.011), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.228, 0.219).lineTo(0.183, 0.104).lineTo(0.065, 0.024).threePointArc((0.02, 0.022), (-0.021, -0.006)).lineTo(-0.103, 0.059).threePointArc((-0.229, 0), (-0.322, 0.044)).lineTo(-0.236... | 7 | 55 | 0.241889 |
train_5d9d5c766395c948 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, -1, -0.009), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.338, 0.799).lineTo(2, -0.245).lineTo(1.083, -0.806).lineTo(0.438, 0.237).threePointArc((0.489, 0.357), (0.619, 0.349)).threePointArc((0.749, 0.341), (0.799, 0.462)).threePointArc((0.846... | 4 | 89 | 2.33863 |
train_0266a43f40ee9070 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.209, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.593, 0.791).lineTo(0.631, 0.751).lineTo(0.631, -0.743).threePointArc((0.618, -0.776), (0.585, -0.791)).lineTo(-0.534, -0.791).lineTo(-0.631, -0.692).lineTo(-0.631, 0.791).lineTo(0.593... | 27 | 158 | 0.512723 |
train_2219b5410c42abd4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.969, 0.333).lineTo(0.969, 0.189).lineTo(-0.397, 0.189).lineTo(-0.397, -0.189).lineTo(0.969, -0.189).lineTo(0.969, -0.333).lineTo(-0.969, -0.333).lineTo(-0.969, 0.333).lineTo(0.969, 0.333).close().extrude(1, both=True)
result = result.cut(cq.Workplan... | 10 | 65 | 1.285877 |
train_c91beefbf5fdd054 | 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.197, 0.192).lineTo(0.197, 0.114).lineTo(0.036, 0.114).lineTo(0.036, -0.192).lineTo(-0.036, -0.192).lineTo(-0.036, 0.114).lineTo(-0.197, 0.114).lineTo(-0.197, 0.192).lineTo(0.197, 0.192).close(... | 23 | 36 | 0.09524 |
train_8525c5abb12e580f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.367, -0.143, -0.725), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.078, 0.096).threePointArc((0.086, 0.093), (0.09, 0.085)).lineTo(0.09, 0.038).threePointArc((0.082, 0.021), (0.064, 0.014)).lineTo(-0.056, 0.014).threePointArc((-0.059, 0.013), (-... | 14 | 214 | 0.133228 |
train_3662949c62529684 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.697, -0.6, -0.992), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.19).threePointArc((0.036, 0.178), (0.068, 0.163)).threePointArc((0.099, 0.147), (0.127, 0.127)).threePointArc((0.153, 0.103), (0.168, 0.07)).threePointArc((0.171, 0.034), (0.162... | 9 | 134 | 0.229131 |
train_0609421ecc005f43 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.258), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.698, 0.515).lineTo(0.698, 0).lineTo(-0.698, 0).lineTo(-0.698, 0.515).lineTo(-0.381, 0.515).lineTo(-0.381, 0.318).lineTo(0.381, 0.318).lineTo(0.381, 0.515).lineTo(0.698, 0.515).close().ext... | 6 | 20 | 1.103435 |
train_f94892936aa4c924 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.135, -0.146), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.139, 0.175).lineTo(0.136, 0.154).lineTo(0.209, 0.137).lineTo(0.2, 0.107).lineTo(0.13, 0.135).lineTo(0.12, 0.115).lineTo(0.186, 0.077).lineTo(0.168, 0.052).lineTo(0.109, 0.099).lineTo(... | 13 | 389 | 0.179382 |
train_51e23d4a722f89da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0).threePointArc((0, -1), (-1, 0)).threePointArc((0, 1), (1, 0)).close().extrude(0.212)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.097, -0.424, -0.138), normal=(0, 0, 1), xDir=(... | 10 | 70 | 0.503334 |
train_a0a6f664528513f6 | 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.758, 0.245).workplane(offset=2).rect(0.967, 0.294).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.003, -0.002, 0.893), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.43, -0.122).lineTo... | 4 | 44 | 0.448415 |
train_bde8710a6dc31ca6 | 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.51, 0.095).workplane(offset=2).rect(0.475, 0.098).loft()
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.264).extrude(0.535).cut(cq.... | 6 | 87 | 0.168817 |
train_d4a41ed63d980126 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.36, 0, -0.159), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.64, 0.318).lineTo(0.64, 0).lineTo(-0.64, 0).lineTo(-0.64, 0.318).lineTo(-0.595, 0.318).lineTo(-0.595, 0.045).lineTo(0.595, 0.045).lineTo(0.595, 0.318).lineTo(0.64, 0.318).close().extr... | 4 | 30 | 0.264161 |
train_e96a72957207980d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.036, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.165, 0.713).lineTo(0.458, 0.574).lineTo(0.732, 0).lineTo(0.458, -0.574).lineTo(-0.165, -0.713).lineTo(-0.661, -0.319).lineTo(-0.661, 0.319).lineTo(-0.165, 0.713).close().extrude(2)
resul... | 2 | 10 | 1.936588 |
train_d68d50f9ba24fe64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.674), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.276, 0.674).threePointArc((0.398, 0.622), (0.45, 0.5)).lineTo(0.45, 0.324).threePointArc((0.478, 0.254), (0.548, 0.225)).lineTo(0.8, 0.225).threePointArc((0.869, 0.195), (0.899, 0.126... | 15 | 262 | 1.598077 |
train_eca4124e465798f4 | 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(0.791, 0.823).threePointArc((0.937, 0.747), (0.999, 0.566)).lineTo(0.999, -0.685).threePointArc((0.966, -0.782), (0.887, -0.823)).lineTo(0.598, -0.823).threePointArc((0.412, -0.726), (0.333, ... | 2 | 29 | 0.45007 |
train_0c7ce1ca150c6452 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.062, 0, 0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, 0.375).lineTo(0.937, 0.048).lineTo(0.601, 0.048).lineTo(0.601, -0.375).lineTo(0.276, -0.375).lineTo(0.276, 0.048).lineTo(-0.06, 0.048).lineTo(-0.06, 0.375).lineTo(0.937, 0.375).clo... | 14 | 99 | 0.444943 |
train_464cf1ea52a902bf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.165, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.663, 0.53).lineTo(0.783, 0.409).lineTo(0.783, 0.182).lineTo(0.856, 0.106).lineTo(0.94, 0.106).lineTo(1, 0.055).lineTo(1, -0.043).lineTo(0.929, -0.106).lineTo(0.621, -0.106).lineTo(0.5... | 7 | 181 | 0.594473 |
train_467ed2fe15495d58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.397), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.312).lineTo(1, -0.312).lineTo(-1, -0.312).lineTo(-1, 0.312).lineTo(1, 0.312).close().extrude(0.392)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.382, 0, -0.005), normal=(0, 0,... | 8 | 160 | 0.73243 |
train_612fd488e5083a02 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.623, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.11, 0.372).threePointArc((0.217, 0.329), (0.261, 0.221)).lineTo(0.261, -0.221).threePointArc((0.217, -0.329), (0.11, -0.372)).lineTo(-0.11, -0.372).threePointArc((-0.217, -0.329), (-0.261,... | 6 | 90 | 0.916201 |
train_3c2fe132e3ad7646 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, -0.156, -0.401), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.136).threePointArc((0.124, 0.127), (0.133, 0.105)).lineTo(0.133, -0.105).threePointArc((0.124, -0.127), (0.102, -0.136)).lineTo(-0.102, -0.136).threePointArc((-0.124, -0.1... | 6 | 89 | 0.321021 |
train_cadf0107fc780cf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.668, 0.261).lineTo(0.912, 0.212).lineTo(1, 0.092).lineTo(1, 0).lineTo(0.916, 0).lineTo(0.916, 0.079).lineTo(0.82, 0.212).lineTo(0, 0.184).lineTo(0, 0.261).lineTo(0.668, 0.261).close().revo... | 9 | 56 | 0.119638 |
train_b1497c33997fb8bd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.107, 0.011, -0.765), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.282, 0.988).lineTo(0, 0.988).threePointArc((0.282, 0.141), (0.282, -0.705)).lineTo(0.564, -0.705).threePointArc((0.282, -0.988), (0, -0.988)).threePointArc((-0.564, -0.705), (-0.5... | 6 | 128 | 2.140774 |
train_ce0c72007d912d88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.294, 0.297, 0.31), normal=(0.505, 0.75, 0.427), xDir=(-0.829, 0.559, 0))).moveTo(0.093, 0.261).lineTo(0.229, 0.187).lineTo(0.229, 0.167).threePointArc((0.244, 0.156), (0.188, 0.027)).threePointArc((0.175, 0.003), (0.202, -0.036)).lineTo(0.168, -... | 17 | 297 | 1.397999 |
train_58bacc1815443eda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.144, 0.995).lineTo(0.417, 0.916).lineTo(0.847, 0.544).lineTo(1.007, 0).lineTo(0.847, -0.544).lineTo(0.417, -0.916).lineTo(-0.144, -0.995).lineTo(-0.658, -0.761).lineTo(-0.966, -0.282).li... | 5 | 20 | 3.051919 |
train_0269e85b009d965c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.042, -0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 0.081).lineTo(0.976, 0.004).lineTo(0.929, -0.084).lineTo(-0.113, -0.084).lineTo(-0.976, -0.033).lineTo(-0.795, 0.037).lineTo(-0.045, 0.084).lineTo(0.87, 0.081).close().extrude(0.1... | 10 | 92 | 0.05634 |
train_031f15ba751b2a91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.498, 0.313).lineTo(-0.498, 0.209).lineTo(1, 0.209).lineTo(1, -0.105).lineTo(0.498, -0.105).lineTo(0.498, -0.209).lineTo(0, -0.209).lineTo(0, -0.313).lineTo(-0.498, -0.313).lineTo(-0.498, ... | 6 | 41 | 0.14931 |
train_5158464434f1887e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.028, -0.378, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.641, 0.1).lineTo(-0.136, -0.284).threePointArc((-0.641, 0.284), (0.641, 0.1)).close().extrude(16.902, both=True).intersect(cq.Workplane(cq.Plane(origin=(-0.028, -0.378, 0.001), no... | 4 | 55 | 1.022855 |
train_2f5d23b527427fdf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.077, 0.713, 0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.429, 0.286).lineTo(0.429, -0.286).lineTo(-0.429, -0.286).lineTo(-0.429, 0.286).lineTo(0.429, 0.286).close().sweep(cq.Workplane(cq.Plane(origin=(-0.077, 0.713, 0.123), normal=(0, -1... | 4 | 37 | 0.101695 |
train_cc8a4b2ec69d58b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.509), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.549, 1).threePointArc((0.82, 0.878), (0.931, 0.609)).lineTo(0.931, -0.357).threePointArc((0.75, -0.807), (0.3, -1)).lineTo(-0.654, -1).threePointArc((-0.848, -0.91), (-0.931, -0.715)).line... | 6 | 27 | 2.785849 |
train_4bae8853e4c0f98b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.37, 0.046, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.406, 0.723).lineTo(0.406, 0.018).threePointArc((0, -0.389), (-0.406, 0.018)).lineTo(-0.406, 0.723).threePointArc((0, 1.13), (0.406, 0.723)).close().extrude(1.046)
result = result.cut(cq... | 5 | 32 | 1.950374 |
train_6568f2f06b71b2c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.125, 0.195, 0.549), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.155, 0.757).threePointArc((0.07, 0.726), (0.254, 0.5)).threePointArc((0.289, 0.21), (0.155, 0.027)).threePointArc((-0.07, 0.058), (-0.254, 0.285)).threePointArc((-0.289, 0.574), (... | 5 | 24 | 0.12231 |
train_f1551c7f310e2cc8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.971, 0.474).lineTo(0.971, -0.474).lineTo(-0.854, -0.474).lineTo(-0.854, -0.357).lineTo(-0.971, -0.357).lineTo(-0.971, 0.321).threePointArc((-0.926, 0.428), (-0.82, 0.474)).lineTo(0.971, 0.... | 17 | 110 | 0.09241 |
train_f7f65cf51e2ad8b4 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.858, 1).threePointArc((0.952, 0.952), (1, 0.858)).lineTo(1, 0.312).threePointArc((0.942, 0.192), (0.826, 0.142)).lineTo(-0.631, 0.142).threePointArc((-0.687, 0.118), (-0.711, 0.062)).lineTo(-0.711, -0.099).threePointArc((-0.698, -0.129), (-0.667, -0... | 10 | 242 | 2.71962 |
train_eba539b68fa2c305 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.589, -0.497, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.177).threePointArc((0.832, 0.832), (1.177, 0)).lineTo(0.749, 0).threePointArc((0.529, 0.529), (0, 0.749)).lineTo(0, 1.177).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 22 | 1.440886 |
train_58b2eb8587ec06f7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.312, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.869, 0.51).lineTo(0.869, -0.28).lineTo(0.64, -0.51).lineTo(-0.723, -0.51).lineTo(-0.869, -0.364).lineTo(-0.869, 0.51).lineTo(0.869, 0.51).close().extrude(0.29)
result = result.union(c... | 17 | 156 | 0.370924 |
train_8b34e75868689196 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.753).extrude(0.266, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.44).extrude(1, both=True))
result = result.cut(cq.Workplane('XY').circle(0.267).extrude(0.797, both=True))
resul... | 6 | 29 | 1.166906 |
train_6d1e630bc3be7f9c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.654), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.326, 0.294).lineTo(0.326, 0.176).lineTo(-0.233, 0.176).lineTo(-0.233, 0.059).lineTo(0.326, 0.059).lineTo(0.326, -0.294).lineTo(-0.326, -0.294).lineTo(-0.326, -0.176).lineTo(0.233, -0.176).... | 13 | 123 | 0.475685 |
train_04ba336e243fd41b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.715, 0, 0.56), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.284, 0.435).lineTo(0.284, -0.435).threePointArc((0, -0.718), (-0.284, -0.435)).lineTo(-0.284, 0.435).threePointArc((0, 0.718), (0.284, 0.435)).close().extrude(0.822)
result = result.cut... | 20 | 463 | 1.00014 |
train_c8bd78072c3cbf75 | 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.012, 0.11).lineTo(0.035, 0.105).lineTo(0.075, 0.083).lineTo(0.102, 0.045).lineTo(0.111, 0).lineTo(0.102, -0.045).lineTo(0.075, -0.083).lineTo(0.035, -0.105).lineTo(-0.012, -0.11).lineTo(-0... | 9 | 62 | 0.040914 |
train_6dac471eb76c09e9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.628, 0.232).lineTo(0.913, 0.186).lineTo(1, 0.081).lineTo(1, 0).lineTo(0.862, 0).lineTo(0.862, 0.069).lineTo(0.767, 0.186).lineTo(0, 0.102).lineTo(0, 0.232).lineTo(0.628, 0.232).close().re... | 5 | 28 | 0.249359 |
train_3f683a71877b7b15 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.009, 0.077, -0.901), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.097, 0.106).threePointArc((0.101, 0.104), (0.102, 0.101)).lineTo(0.102, -0.087).threePointArc((0.095, -0.1), (0.079, -0.106)).lineTo(-0.07, -0.106).threePointArc((-0.093, -0.098),... | 15 | 149 | 0.042956 |
train_2a51c8ae7d9576b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.564), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.127).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.127).lineTo(-0.566, 1.127).lineTo(-0.566, 0.431).lineTo(0.566, 0.431).lineTo(0.566, 1.127).lineTo(1, 1.127).close().extrude(0.646, both=Tru... | 10 | 97 | 1.635245 |
train_67f43ae40e071a1c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.346, 0.047, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.537, 0.566).threePointArc((0.619, 0.532), (0.653, 0.45)).lineTo(0.653, -0.486).threePointArc((0.631, -0.542), (0.574, -0.566)).lineTo(-0.531, -0.566).threePointArc((-0.617, -0.53), (... | 17 | 110 | 0.765663 |
train_24a57faf94800fdf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.014, -0.044), normal=(0.099, -0.222, -0.97), xDir=(0, 0.975, -0.223))).moveTo(0, 0.961).lineTo(0, 0.321).lineTo(0.309, 0.321).lineTo(0.309, -0.961).lineTo(-0.309, -0.961).lineTo(-0.309, 0.961).lineTo(0, 0.961).close().extrude(0.436, both=Tru... | 19 | 170 | 0.622187 |
train_3ec14f23cd165045 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.871, -0.001, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.216, 0.613).lineTo(0.521, 0.28).lineTo(0.513, 0.23).lineTo(0.499, 0.182).threePointArc((0.488, 0.154), (0.46, 0.145)).lineTo(0.313, 0.212).threePointArc((0.311, 0.196), (0.311, 0.18)... | 9 | 42 | 1.377586 |
train_7394b81d051172b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0, 0.043), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.202).lineTo(0.825, 0).lineTo(1, -0.202).lineTo(0.245, -0.202).lineTo(0.245, 0.202).lineTo(1, 0.202).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result... | 18 | 151 | 0.57226 |
train_460f8abd47842377 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.219, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.772, 0.228).threePointArc((1, 0), (0.772, -0.228)).lineTo(0.164, -0.228).threePointArc((-0.064, 0), (0.164, 0.228)).lineTo(0.772, 0.228).close().extrude(0.304).union(cq.Workplane(cq.Pl... | 11 | 203 | 0.382609 |
train_8c562340e8236365 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.939), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.011)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.002, 0, -0.939), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.158, 0.542), (-0.584, 0.91), (-1.143, 0.... | 5 | 50 | 2.802165 |
train_55b7ee70ed3fc42c | 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.458, 0.793).lineTo(0.912, 0).lineTo(0.458, -0.793).lineTo(-0.458, -0.793).lineTo(-0.912, 0).lineTo(-0.458, 0.793).lineTo(0.458, 0.793).close().extrude(2)
result = result.cut(cq.Workplane(cq.Pl... | 6 | 58 | 0.507328 |
train_31a21056a619d78b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.081, 1, 0.068), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.456, 0.493).lineTo(0.456, -0.39).lineTo(-0.456, -0.39).lineTo(-0.456, 0.493).lineTo(-0.179, 0.493).lineTo(-0.179, -0.008).lineTo(0.179, -0.008).lineTo(0.179, 0.493).lineTo(0.456, 0.49... | 32 | 261 | 0.727334 |
train_b15a08d9349e2086 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.261, -0.183, 0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 0.817).threePointArc((0.377, 0.785), (0.408, 0.71)).lineTo(0.408, 0.556).threePointArc((0.365, 0.452), (0.261, 0.408)).lineTo(0.159, 0.408).threePointArc((0.047, 0.361), (0, 0... | 16 | 173 | 0.890582 |
train_91c4cc83b6933f6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.033, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.175, 0.887).threePointArc((-0.052, 0.835), (0, 0.712)).lineTo(0, 0.585).threePointArc((0.042, 0.485), (0.141, 0.444)).lineTo(0.312, 0.444).threePointArc((0.405, 0.405), (0.444, 0.312))... | 20 | 161 | 0.721049 |
train_1331366bfa70624a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.079, -0.084, -0.63), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.116, 0.143).lineTo(0.116, -0.143).threePointArc((-0.116, 0), (0.116, 0.143)).close().moveTo(0.038, -0.011).threePointArc((0.065, -0.022), (0.076, -0.049)).threePointArc((0.065, -0... | 8 | 132 | 0.271414 |
train_31809fbf4c8caf42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.254, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.374, 0.647).threePointArc((0.635, 0.551), (0.745, 0.325)).lineTo(0.745, -0.442).threePointArc((0.675, -0.586), (0.508, -0.647)).lineTo(-0.534, -0.647).threePointArc((-0.683, -0.593), (... | 9 | 337 | 0.450103 |
train_53c16d975025d899 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.458, -0.355, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.538, -0.168).lineTo(0.524, -0.236).lineTo(0.503, -0.301).lineTo(0.472, -0.36).lineTo(0.435, -0.414).lineTo(0.391, -0.459).lineTo(0.342, -0.496).lineTo(0.289, -0.523).lineTo(0.234, -0.5... | 12 | 134 | 1.295428 |
train_6727864082f5d689 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.132, 0.001, -0.442), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.867, 0).threePointArc((0, -0.867), (-0.867, 0)).threePointArc((0, 0.867), (0.867, 0)).close().extrude(0.372)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.413, 0.385, -0.498)... | 15 | 243 | 0.359016 |
train_f8f930c769eecbd6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.612).lineTo(1, -0.612).lineTo(-1, -0.612).lineTo(-1, 0.612).lineTo(1, 0.612).close().extrude(0.184)
result = result.union(cq.Workplane(cq.Plane(origin=(0.495, 0, 0.026), normal=(0, 0, 1... | 14 | 172 | 0.389208 |
train_c68ff710c7300f55 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.015, -0.031, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.427, 0.17).lineTo(0.427, 0.057).lineTo(0.427, -0.057).threePointArc((0.255, -0.396), (-0.003, -0.283)).lineTo(-0.157, -0.384).threePointArc((-0.175, -0.389), (-0.193, -0.381)).lin... | 15 | 178 | 0.679494 |
train_dfb28568409e13c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, 0, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.06).lineTo(0.023, 0.055).lineTo(0.042, 0.042).lineTo(0.055, 0.023).lineTo(0.06, 0).lineTo(0.055, -0.023).lineTo(0.042, -0.042).lineTo(0.023, -0.055).lineTo(0, -0.06).lineTo(-0.023, ... | 8 | 54 | 0.018656 |
train_a9c5972942d240c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.086, 0.167, -0.109), normal=(0.803, -0.595, 0.024), xDir=(0.595, 0.804, 0))).moveTo(0.132, 0.352).threePointArc((0.313, 0.352), (0.404, 0.05)).threePointArc((-0.049, -0.352), (-0.321, -0.352)).lineTo(-0.397, -0.268).threePointArc((-0.404, -0.251... | 10 | 182 | 0.976793 |
train_927e40698eedfdec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.062, -0.015, -0.375), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.435, 0.335).lineTo(0.537, 0.232).lineTo(0.537, 0.107).lineTo(0.644, 0).lineTo(0.811, 0).lineTo(0.872, -0.061).lineTo(0.872, -0.113).lineTo(0.817, -0.167).lineTo(0.768, -0.167).li... | 9 | 255 | 0.465743 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.