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_d96015a290520855 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.48, -0.209, -0.359), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.267, 0.269).threePointArc((0.382, 0), (0.267, -0.269)).lineTo(-0.267, -0.269).threePointArc((-0.382, 0), (-0.267, 0.269)).lineTo(0.267, 0.269).close().extrude(0.764)
result = resu... | 12 | 115 | 0.71295 |
train_e03a28ade93b575c | 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(1, 0.5).lineTo(1, -0.295).threePointArc((0.939, -0.44), (0.795, -0.5)).lineTo(-1, -0.5).lineTo(-1, 0.39).threePointArc((-0.967, 0.468), (-0.891, 0.5)).lineTo(1, 0.5).close().extrude(0.31)
re... | 6 | 87 | 0.473064 |
train_b1a033a623f801a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.056, 0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.276, 0.175).threePointArc((0.232, 0.008), (0.438, -0.068)).threePointArc((0.642, -0.712), (-0.376, -0.384)).threePointArc((-0.35, -0.211), (-0.638, -0.127)).threePointArc((-0.642, 0.712)... | 11 | 132 | 0.591975 |
train_d715cdaaa5b9a004 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.628, 0.735).lineTo(1, 0.363).lineTo(1, -0.735).lineTo(-0.77, -0.735).threePointArc((-0.932, -0.669), (-1, -0.507)).lineTo(-1, 0.572).lineTo(-0.836, 0.735).lineTo(0.628, 0.735).close().extru... | 4 | 30 | 0.486583 |
train_d8beda455ffe4b96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.169, -0.019, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.382).lineTo(0.182, 0.296).threePointArc((0.193, 0.288), (0.206, 0.286)).lineTo(0.33, 0.286).threePointArc((0.335, 0.285), (0.34, 0.282)).lineTo(0.379, 0.242).threePointArc... | 11 | 204 | 0.354961 |
train_2e858db47bc5222f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.346, 0.999, -0.267), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.367, 0.812).threePointArc((0.488, 0.762), (0.537, 0.641)).lineTo(0.537, -0.469).threePointArc((0.488, -0.589), (0.367, -0.639)).lineTo(-0.367, -0.639).threePointArc((-0.488, -0.58... | 11 | 350 | 2.006326 |
train_861e2768346d9abb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.056, 0, 0.224), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.944, -0.509).lineTo(0.52, -0.66).lineTo(0.482, -0.554).lineTo(0.551, -0.41).lineTo(0.513, -0.303).lineTo(0.226, -0.166).lineTo(0.188, -0.06).lineTo(0.325, 0.228).lineTo(0.288, 0.334).... | 17 | 356 | 1.425284 |
train_fa181f2efb3c4506 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.164, -0.252, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.632, 0.627).lineTo(0.632, 0.376).lineTo(-0.421, 0.376).lineTo(-0.421, 0.125).lineTo(0.632, 0.125).lineTo(0.632, -0.627).lineTo(-0.632, -0.627).lineTo(-0.632, -0.376).lineTo(0.421... | 8 | 167 | 1.225289 |
train_e42ea610261760a3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.383, -0.196, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.767).threePointArc((0.542, 0.542), (0.767, 0)).lineTo(0.397, 0).threePointArc((0.28, 0.28), (0, 0.397)).lineTo(0, 0.767).close().extrude(1.619)
result = result.union(cq.Workpl... | 6 | 87 | 1.024691 |
train_d33de8da91b5b77b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.136, 0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.077, 0.724).lineTo(0.362, 0.439).lineTo(0.362, 0.172).lineTo(0.534, 0).lineTo(0.837, 0).lineTo(1.085, -0.248).lineTo(1.085, -0.519).lineTo(0.88, -0.724).lineTo(-0.695, -0.724).lineTo(-1... | 5 | 80 | 1.123814 |
train_e14a870ccb47f37b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.812, 0, -1.818), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.346).extrude(2.11)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.812, 0, -0.341), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(0.625).extrude(1.701))
result = r... | 3 | 5 | 1.773169 |
train_8866c8f84777f81e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.306, 0.098).lineTo(1.306, 0).lineTo(0, 0).lineTo(0, 0.098).lineTo(1.306, 0.098).close().extrude(0.616, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.307, 0, 0), normal=... | 8 | 28 | 0.196616 |
train_a82b4c0e7af8805b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.379, 0.985).threePointArc((0.486, 0.932), (0.583, 0.862)).lineTo(0.983, 0.149).threePointArc((1, 0.003), (0.986, -0.143)).lineTo(0.63, -0.816).threePointArc((0.514, -0.905), (0.384, -0.972... | 8 | 58 | 0.625258 |
train_b84b8dcc8269d06b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.879, -0.093).lineTo(0.991, -0.128).lineTo(0.976, -0.215).lineTo(0.86, -0.204).lineTo(0.834, -0.293).lineTo(0.935, -0.353).lineTo(0.9, -0.435).lineTo(0.791, -0.397).lineTo(0.745, -0.477).li... | 11 | 159 | 0.521243 |
train_ba8a90324bec59da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, -0.003, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.804, 0.866).lineTo(0.989, -0.17).threePointArc((0.988, -0.246), (0.957, -0.32)).lineTo(0.605, -0.866).threePointArc((0.405, -0.99), (0.007, -0.743)).lineTo(0.176, -0.427).threePoi... | 6 | 46 | 0.312625 |
train_d9dca3c1e97f0909 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.088, -0.477), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.615).threePointArc((0.964, 0.585), (1, 0.514)).lineTo(1, 0.271).threePointArc((0.976, 0.225), (0.919, 0.205)).lineTo(0.592, 0.205).threePointArc((0.527, 0.182), (0.5, 0.129)).l... | 6 | 41 | 0.785911 |
train_fdba9df79b5f34ec | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.433, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.563, 1.061).threePointArc((-0.166, 1.086), (0.329, 0.728)).threePointArc((0.63, 0.199), (0.563, -0.194)).threePointArc((0.166, -0.219), (-0.329, 0.139)).threePointArc((-0.63, 0.669),... | 6 | 346 | 2.004089 |
train_93343c1dc28b155b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.647, 0.202).lineTo(0.933, 0.457).threePointArc((0.961, 0.407), (0.981, 0.352)).threePointArc((1, 0.269), (0.981, 0.184)).lineTo(0.933, 0.001).threePointArc((0.883, -0.077), (0.828, -0.149)... | 2 | 56 | 0.195885 |
train_c433614fb1161d9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.013, 0, -0.267), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.352, 0).lineTo(0.352, 0.535).lineTo(0.348, 0.535).lineTo(0.348, 0.418).lineTo(1, 0.418).lineTo(1, 0).lineTo(0.352, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 9 | 51 | 0.952505 |
train_9919c16326bbd2e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.015, 0.247, -0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.648, 0.752).threePointArc((0.74, 0.658), (0.779, 0.435)).lineTo(0.779, -0.161).threePointArc((0.706, -0.576), (0.533, -0.752)).lineTo(-0.672, -0.752).threePointArc((-0.747, -0.675)... | 19 | 216 | 1.208607 |
train_af56cf4ababfe790 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.011, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.008, 0.047).lineTo(0.036, 0.031).lineTo(0.047, 0).lineTo(0.036, -0.031).lineTo(0.008, -0.047).lineTo(-0.023, -0.041).lineTo(-0.044, -0.016).lineTo(-0.044, 0.016).lineTo(-0.023, 0.041).line... | 8 | 29 | 0.010956 |
train_c65c3521a5d962a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.632, -0.551, 0.325), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.226, 0.767).threePointArc((-0.049, 0.774), (0.135, 0.725)).threePointArc((0.299, 0.627), (0.417, 0.495)).threePointArc((0.472, 0.349), (0.455, 0.212)).threePointArc((0.368, 0.105... | 2 | 36 | 0.981508 |
train_25b9a527e95d072b | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.796, 0.766).lineTo(1, 0.001).lineTo(1, -0.766).lineTo(-1, -0.766).lineTo(-1, 0.001).lineTo(-0.892, 0.766).lineTo(-0.796, 0.766).lineTo(-0.597, 0.001).lineTo(-0.498, 0.766).lineTo(-0.398, 0.766).lineTo(-0.199, 0.001).lineTo(-0.1, 0.766).lineTo(0, 0.7... | 9 | 88 | 1.383299 |
train_2d1b148b0313547c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.012, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.267, 0.7).threePointArc((0.581, 0.57), (0.712, 0.256)).lineTo(0.712, -0.256).threePointArc((0.581, -0.57), (0.267, -0.7)).lineTo(-0.267, -0.7).threePointArc((-0.581, -0.57), (-0.712, -0.25... | 14 | 153 | 1.473678 |
train_76ed0331494069f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.058, 0.603, 0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.392).threePointArc((0.278, 0.278), (0.392, 0)).threePointArc((0.278, -0.278), (0, -0.392)).threePointArc((-0.278, -0.278), (-0.392, 0)).threePointArc((-0.278, 0.278), (0, 0.392))... | 9 | 190 | 0.13785 |
train_2f1a9126d47d0e07 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.695, 2).extrude(0.553)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.102, -0.186, -0.164), normal=(0, -1, 0), xDir=(0, 0, 1))).spline([(-0.052, -0.002), (0.064, -0.051), (0.128, -0.035... | 11 | 45 | 0.656789 |
train_da198ab448812fb2 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.173, 0.321).threePointArc((0.207, 0.301), (0.221, 0.251)).lineTo(0.221, 0.031).threePointArc((0.227, 0.009), (0.242, 0)).lineTo(0.291, 0).threePointArc((0.32, -0.018), (0.332, -0.06)).lineTo(0.332, -0.128).threePointArc((0.326, -0.151), (0.31, -0.16... | 3 | 54 | 0.271112 |
train_94c6761da9101e92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.788), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.907).lineTo(1, -0.714).threePointArc((0.934, -0.849), (0.798, -0.907)).lineTo(-0.509, -0.907).threePointArc((-0.849, -0.769), (-1, -0.427)).lineTo(-1, 0.53).lineTo(-0.611, 0.907).lineTo... | 6 | 98 | 5.018184 |
train_b7375406d00329e6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.509, -0.108, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.018).threePointArc((0.72, 0.72), (1.018, 0)).lineTo(0.333, 0).threePointArc((0.237, 0.237), (0, 0.333)).lineTo(0, 1.018).close().extrude(2)
result = result.union(cq.Workplane(cq.P... | 3 | 12 | 2.116739 |
train_63371ee990621de5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.658, 0.699, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.698, 0.66).threePointArc((0, -0.038), (-0.698, 0.66)).threePointArc((0, 1.358), (0.698, 0.66)).close().workplane(offset=0.284).moveTo(0.617, 0.66).threePointArc((0, 0.043), (-0.617, 0.... | 18 | 20 | 2.611964 |
train_eea5af5abf2fdc2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.071, -0.891, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.935, 0.782).lineTo(0.97, 0.419).lineTo(0.543, 0.332).lineTo(0.17, 0.142).lineTo(-0.398, 0.248).threePointArc((-0.775, 0.296), (-1, 0.544)).lineTo(-0.528, 1.086).lineTo(-0.592, 1.518).... | 4 | 81 | 0.297103 |
train_45578a2a56cf163f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.281, 0.025), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.296, 0.129).lineTo(0.296, 0).lineTo(-0.296, 0).lineTo(-0.296, 0.129).lineTo(-0.193, 0.129).lineTo(-0.193, 0.104).lineTo(0.193, 0.104).lineTo(0.193, 0.129).lineTo(0.296, 0.129).close()... | 4 | 43 | 0.157605 |
train_a3b8950004ce5984 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.005, -0.01, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.303, 0.812).lineTo(0.37, 0.705).lineTo(0.5, 0.722).lineTo(1.254, -0.056).lineTo(0.589, -0.708).lineTo(0.627, -0.822).threePointArc((0.529, -0.912), (0.376, -0.831)).lineTo(-0.171, -0.99... | 10 | 143 | 0.900126 |
train_786020a99b48185f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.051, -0.034, -0.031), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.232, 0.388).lineTo(0.281, 0.27).lineTo(0.442, 0.28).lineTo(0.452, 0.119).lineTo(0.49, 0.162).lineTo(0.614, 0.129).lineTo(0.624, -0.033).lineTo(0.662, 0.01).lineTo(0.785, -0.022).... | 6 | 45 | 1.107151 |
train_792266c080893604 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.818, -0.125).lineTo(0.986, -0.174).lineTo(0.974, -0.229).lineTo(0.803, -0.198).lineTo(0.764, -0.316).lineTo(0.915, -0.405).lineTo(0.89, -0.456).lineTo(0.733, -0.384).lineTo(0.667, -0.49).l... | 3 | 111 | 0.972838 |
train_8453dfd46f7428f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.362, 0.522, 0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.172, 0.504).lineTo(0.262, 0.154).threePointArc((0.298, 0.126), (0.311, 0.081)).threePointArc((0.321, 0.034), (0.367, 0.016)).lineTo(0.449, -0.001).threePointArc((0.468, -0.009), (0... | 12 | 169 | 0.592188 |
train_d1fb7af6bb373098 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.033, 0.18, 0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.353, -0.065).lineTo(0.33, -0.127).lineTo(0.292, -0.184).lineTo(0.242, -0.232).lineTo(0.181, -0.271).lineTo(0.112, -0.298).lineTo(0.038, -0.311).lineTo(-0.038, -0.311).lineTo(-0.112,... | 10 | 159 | 0.874511 |
train_ceeba69cc853477f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.774, 0.314).lineTo(0.92, 0.225).lineTo(1, 0.11).lineTo(1, 0).lineTo(0.78, 0).lineTo(0.78, 0.094).lineTo(0.681, 0.225).lineTo(0, 0.096).lineTo(0, 0.314).lineTo(0.774, 0.314).close().revolv... | 8 | 39 | 0.491296 |
train_aaeae35e050125e2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.05, 0, -0.742), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.589, 1).threePointArc((0.726, 0.933), (0.78, 0.804)).lineTo(0.78, -0.504).threePointArc((0.636, -0.847), (0.289, -1)).lineTo(-0.465, -1).threePointArc((-0.687, -0.898), (-0.78, -0.679)... | 9 | 61 | 3.665971 |
train_ad241fbb965bfc64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.288, 0, -0.684), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.578, 1).lineTo(1.154, 0).lineTo(-0.578, -1).lineTo(-0.578, 1).close().extrude(1.368)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.288, 0, -0.684), normal=(0, 0, 1), xDir=(1, ... | 4 | 49 | 1.692272 |
train_d25e3d463fe6b9e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0.165, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.459, 0.817).lineTo(0.459, 0.272).lineTo(0.917, 0.272).lineTo(0.917, -0.272).lineTo(0, -0.272).lineTo(0, -0.817).lineTo(-0.459, -0.817).lineTo(-0.459, 0.272).lineTo(-0.917, 0.272).l... | 23 | 108 | 4.122848 |
train_735f2631b27af8e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.335, 0.249, 0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.065, 0.113).threePointArc((0.113, 0.065), (0.065, -0.113)).threePointArc((-0.113, -0.065), (-0.065, 0.113)).close().sweep(cq.Workplane(cq.Plane(origin=(0.335, 0.249, 0.264), normal... | 3 | 30 | 0.09397 |
train_95640c3d87948da9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.069, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.049, 0.518).threePointArc((0.191, 0.491), (0.315, 0.404)).threePointArc((0.396, 0.326), (0.453, 0.306)).threePointArc((0.517, 0.33), (0.595, 0.348)).threePointArc((0.666, 0.324), (0.71... | 3 | 80 | 0.368008 |
train_65f4dcdfb3c84562 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.982, 0.228).threePointArc((0.263, 0.851), (0.982, -0.228)).threePointArc((-0.263, -0.851), (-0.982, 0.228)).close().extrude(0.18, taper=-4.661, both=True)
result = result.cut(cq.Workp... | 29 | 155 | 0.676781 |
train_138f2c781ff33985 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.44), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.71).lineTo(1, -0.46).lineTo(0.748, -0.46).lineTo(0.748, -0.71).lineTo(-0.83, -0.71).lineTo(-1, -0.542).lineTo(-1, 0.71).lineTo(1, 0.71).close().extrude(0.879)
result = result.cut(cq.Work... | 5 | 24 | 1.716083 |
train_a4d05a0ff5542e41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.286, -0.111, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.143, 0).threePointArc((0.101, 0.101), (0, 0.143)).lineTo(0, 0.571).close().extrude(2)
result = result.union(cq.Workplane(cq... | 10 | 61 | 0.341977 |
train_2ed8fb878c81f79a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.995), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.23, 0.397).threePointArc((0.23, 0.397), (0.459, 0)).threePointArc((0.23, -0.397), (-0.23, -0.397)).threePointArc((-0.459, 0), (-0.23, 0.397)).close().workplane(offset=0.518).moveTo(-0.176... | 10 | 11 | 0.59759 |
train_55d198aa64e358aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.067, 0.021, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.106, 0.573).lineTo(0.227, 0.548).lineTo(0.178, -0.109).lineTo(0.482, -0.132).lineTo(0.459, -0.439).lineTo(-0.482, -0.368).lineTo(-0.459, -0.061).lineTo(-0.155, -0.084).lineTo(-0.106, ... | 3 | 50 | 1.014151 |
train_df04d124ea84c263 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.012, 0, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.815, -0.145).lineTo(0.977, -0.215).lineTo(0.935, -0.359).lineTo(0.764, -0.316).lineTo(0.697, -0.446).lineTo(0.821, -0.572).lineTo(0.726, -0.688).lineTo(0.584, -0.584).lineTo(0.473, -0... | 5 | 95 | 1.948214 |
train_7a31677278462991 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.599), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.966, 1.197).lineTo(0.966, 0.16).lineTo(1, 0.16).lineTo(1, 0).lineTo(0.117, 0).lineTo(0.117, 1.197).lineTo(0.966, 1.197).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd... | 9 | 65 | 2.566367 |
train_524658e19a168130 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.191, 0.021, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.06, 0.848).threePointArc((0.207, 0.81), (0.269, 0.717)).lineTo(0.269, 0.302).threePointArc((0.331, 0.209), (0.478, 0.17)).lineTo(0.726, 0.17).threePointArc((0.784, 0.155), (0.808,... | 9 | 108 | 0.532629 |
train_c85414df7d3cae18 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.493, -0.247, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.984).threePointArc((0.697, 0.697), (0.984, 0)).lineTo(0.47, 0).threePointArc((0.333, 0.333), (0, 0.47)).lineTo(0, 0.984).close().extrude(2.007)
result = result.union(cq.Workpl... | 11 | 100 | 1.375465 |
train_9e355dd5658be1a2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.128, -0.227, -0.705), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.711, 0.503).lineTo(0.126, 0.215).threePointArc((0.077, 0.058), (0.261, 0.015)).lineTo(0.846, 0.304).threePointArc((0.014, -0.772), (-0.846, 0.269)).lineTo(-0.342, -0.015).threePoi... | 11 | 169 | 1.050552 |
train_3c4c5f14c8e1da6a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.161, 0.161).lineTo(0.32, 0.003).lineTo(0.32, -0.026).lineTo(0.184, -0.161).lineTo(-0.161, -0.161).lineTo(-0.32, -0.003).lineTo(-0.32, 0.048).lineTo(-0.205, 0.161).lineTo(0.161, 0.161).clos... | 9 | 44 | 0.221937 |
train_f210f454d1f3da35 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.038, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.101, 0.438).threePointArc((0.293, 0.357), (0.441, 0.228)).threePointArc((0.521, 0.069), (0.523, -0.094)).threePointArc((0.444, -0.237), (0.298, -0.339)).threePointArc((0.107, -0.383), (-0... | 24 | 58 | 1.387333 |
train_dc574e087af53e9d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.497), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.921).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.921).lineTo(-0.405, 0.921).lineTo(-0.405, 0.59).lineTo(0.405, 0.59).lineTo(0.405, 0.921).lineTo(1, 0.921).close().extrude(0.332, both=True)... | 10 | 81 | 0.895771 |
train_5f3b2428a5c1337d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.259, 0.107, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.741, 0.371).lineTo(0.741, 0).lineTo(0.371, 0).lineTo(0.371, -0.371).lineTo(-0.741, -0.371).lineTo(-0.741, 0.371).lineTo(0.741, 0.371).close().extrude(0.082, taper=9.398)
result = r... | 21 | 291 | 0.165939 |
train_ff0fecc9da2b40db | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.106, -0.069, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.549, 0.318).threePointArc((0.791, 0.281), (0.893, 0.195)).lineTo(0.893, 0.015).threePointArc((0.793, -0.07), (0.554, -0.106)).lineTo(-0.174, -0.106).threePointArc((-0.261, -0.119), (-... | 15 | 236 | 0.584463 |
train_552afec44de91227 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.002, -0.095, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.263, 0.346).threePointArc((0.35, 0.309), (0.326, 0.167)).lineTo(0.162, 0.012).lineTo(0.312, -0.205).threePointArc((0.343, -0.295), (0.289, -0.346)).lineTo(0.107, -0.04).lineTo(0.052, ... | 24 | 123 | 0.316118 |
train_4f67e125b307d2b3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.466), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.738, 0.601).threePointArc((-0.641, 0.577), (-0.6, 0.519)).lineTo(-0.6, 0.28).threePointArc((-0.521, 0.168), (-0.334, 0.12)).lineTo(0.784, 0.12).threePointArc((0.936, 0.082), (1, -0.01)).l... | 7 | 32 | 0.767724 |
train_7fdce6ddcaf88b88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.409), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.494, 0.313).lineTo(0.494, -0.074).threePointArc((0.424, -0.243), (0.255, -0.313)).lineTo(-0.494, -0.313).lineTo(-0.494, 0.313).lineTo(0.494, 0.313).close().extrude(0.586, both=True)
result... | 10 | 62 | 0.619782 |
train_ef129f7e76e377c1 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.24).lineTo(0.926, 0).lineTo(1, -0.24).lineTo(0.359, -0.24).lineTo(0.359, 0.24).lineTo(1, 0.24).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, 0, ... | 8 | 125 | 0.216353 |
train_acc008baa71f1b19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.053, 0, -0.389), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.044, 0.951).lineTo(0.015, 0.848).lineTo(-0.098, 0.509).lineTo(0.193, 0.54).lineTo(0.253, 0.437).lineTo(0.139, 0.098).lineTo(0.431, 0.129).lineTo(0.49, 0.026).lineTo(0.377, -0.314).li... | 6 | 100 | 3.499694 |
train_bd72e18aca9a6033 | 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.409).extrude(2)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.4), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.249).extrude(2))
result = result.cut(cq.Workplane(cq.Plane(origin=(0... | 3 | 4 | 0.370959 |
train_38b10d4ca923bc54 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.572, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.765, 0.428).lineTo(0.819, 0.374).lineTo(0.819, -0.325).lineTo(0.717, -0.428).lineTo(-0.778, -0.428).lineTo(-0.819, -0.388).lineTo(-0.819, 0.332).threePointArc((-0.791, 0.4), (-0.723, ... | 10 | 48 | 0.577918 |
train_c010c914f2383ae1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.978, -0.191).lineTo(0.914, -0.373).lineTo(0.809, -0.538).lineTo(0.669, -0.681).lineTo(0.5, -0.793).lineTo(0.309, -0.871).lineTo(0.105, -0.911).lineTo(-0.105, -0.911).lineTo(-0.309, -0.871)... | 4 | 207 | 1.262639 |
train_ec5c9ab825ddb6f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.156, 0.132).lineTo(0.156, 0.037).lineTo(-0.061, 0.037).lineTo(-0.061, -0.037).lineTo(0.156, -0.037).lineTo(0.156, -0.132).lineTo(-0.156, -0.132).lineTo(-0.156, 0.132).lineTo(0.156, 0.132).c... | 8 | 58 | 0.114086 |
train_201db372b0317446 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.37, 0, -0.942), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.334, 0.05).threePointArc((0.363, 0), (0.334, -0.05)).threePointArc((0.276, -0.05), (0.247, 0)).threePointArc((0.276, 0.05), (0.334, 0.05)).close().sweep(cq.Workplane(cq.Plane(origin=(0... | 3 | 64 | 0.113826 |
train_d7dc0087e4b13107 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.597, 0.973).lineTo(-0.597, -0.626).lineTo(1, -0.626).lineTo(1, -0.973).lineTo(-1, -0.973).lineTo(-1, 0.973).lineTo(-0.597, 0.973).close().extrude(0.733)
result = result.edges().fillet(0.0... | 17 | 225 | 1.199989 |
train_af2d5a2bdfa192de | import cadquery as cq
import math
result = cq.Workplane('XY').circle(1).extrude(0.566, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.22).extrude(0.363, both=True))
result = result.cut(cq.Workplane('XY').circle(0.803).extrude(1.698, both=True))
resul... | 9 | 28 | 1.117885 |
train_7d185bc403d56f44 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.016, 6.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.082, 0.141).threePointArc((0.186, 0.05), (0.141, -0.082)).threePointArc((0.05, -0.186), (-0.082, -0.141)).threePointArc((-0.186, -0.05), (-0.141, 0.082)).threePointArc((-0.05, 0.186), ... | 14 | 28 | 0.119424 |
train_87fc18ad2ff417ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.081, -0.011, 0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.155, 0.103).threePointArc((0.164, 0.088), (0.294, 0.055)).threePointArc((0.517, -0.225), (-0.108, -0.315)).threePointArc((-0.372, -0.256), (-0.477, -0.148)).threePointArc((-0.517,... | 12 | 108 | 0.648882 |
train_e3915c046882210a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.27, 0.125, 0.516), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.071, 0.318).threePointArc((0.079, 0.147), (0.112, 0.097)).threePointArc((0.286, 0.093), (0.348, -0.013)).threePointArc((0.199, -0.09), (0.107, -0.117)).threePointArc((0.13, -0.242)... | 4 | 66 | 0.799453 |
train_8d32e22351208811 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.014, 0, -0.617), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.365, 0.922).lineTo(0.365, 0.113).lineTo(1, 0.113).lineTo(1, 0).lineTo(0.335, 0).lineTo(0.335, 0.922).lineTo(0.365, 0.922).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE... | 7 | 82 | 0.484447 |
train_001a5f0e0dc29ba2 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.539, 2, 1.367)
result = result.edges().fillet(0.059)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.175).extrude(3.077, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 10 | 161 | 3.621683 |
train_15c8e894afb414b8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.098, 0.299, 0.172), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.119, -0.142).lineTo(0.08, -0.1).lineTo(0.065, -0.063).lineTo(0.047, 0.02).threePointArc((0.056, 0.051), (0.069, 0.08)).threePointArc((0.089, 0.115), (0.113, 0.147)).lineTo(0.154, ... | 14 | 145 | 0.618553 |
train_5318604c51a45923 | 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.856, 0.664).lineTo(0.856, 0.208).lineTo(-0.405, 0.208).lineTo(-0.405, -0.208).lineTo(0.856, -0.208).lineTo(0.856, -0.664).lineTo(-0.856, -0.664).lineTo(-0.856, 0.664).lineTo(0.856, 0.664).clos... | 6 | 94 | 1.763186 |
train_f05e5a990dca7d4a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.025, 0, -0.564), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.006).extrude(0.722)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.031, 0, -0.564), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.504), (-0.502, 0.872), (-1.00... | 13 | 91 | 1.977765 |
train_b339601f31fc24a4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.416)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.705).extrude(1.249, both=True))
result = result.union(cq.Workpl... | 13 | 40 | 1.064912 |
train_8b4b1ad766b00218 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.231, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.448).extrude(0.843)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.231, 0, -0.41), normal=(0.434, 0, 0.901), xDir=(0.901, 0, -0.434))).circle(0.333).extrude(1.404))
result = resul... | 6 | 37 | 0.444268 |
train_fbc0b0ebafc19e08 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.324, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.657, -0.741).lineTo(-1, 0.097).lineTo(-0.112, 0.741).lineTo(1, 0.216).lineTo(0.759, -0.671).close().moveTo(0.245, 0.121).lineTo(0.128, 0.084).lineTo(-0.006, 0.08).lineTo(-0.129, 0.11).lin... | 8 | 139 | 1.172547 |
train_f6c263746a728956 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.24, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.091, 0.417).threePointArc((0.264, 0.371), (0.591, 0.289)).threePointArc((0.549, 0.129), (0.759, 0.005)).lineTo(0.483, -0.322).threePointArc((0.209, -0.377), (-0.077, -0.417)).threePointArc(... | 17 | 141 | 0.391092 |
train_c9a1a56b1a5939c1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.539).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.539).lineTo(-0.778, 0.539).lineTo(-0.778, 0.217).lineTo(0.778, 0.217).lineTo(0.778, 0.539).lineTo(1, 0.539).close().extrude(0.199, both=Tru... | 6 | 56 | 0.199262 |
train_1619c08d093ce1a1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.479).threePointArc((0.965, 0.453), (1, 0.388)).lineTo(1, -0.42).threePointArc((0.975, -0.462), (0.933, -0.479)).lineTo(-0.935, -0.479).lineTo(-1, -0.423).lineTo(-1, 0.411).threePoin... | 6 | 37 | 0.3511 |
train_89061c1cb48d1a64 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0, 0.884).threePointArc((0.667, 0.59), (1, 0)).threePointArc((0.667, -0.59), (0, -0.884)).threePointArc((-0.667, -0.59), (-1, 0)).threePointArc((-0.667, 0.59), (0, 0.884)).close().extrude(0.375, both=True)
result = result.cut(cq.Workplane(cq.Plane(ori... | 9 | 557 | 1.66163 |
train_9868532ad6835cf4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.137, 0.318, -0.063), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.086, 0.361).threePointArc((0.191, 0.317), (0.234, 0.213)).lineTo(0.234, -0.135).threePointArc((0.191, -0.24), (0.086, -0.283)).lineTo(-0.086, -0.283).threePointArc((-0.191, -0.24... | 2 | 20 | 0.629794 |
train_b1c21362429fe9e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.051, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.539, 0.444).threePointArc((0.983, 0), (0.539, -0.444)).lineTo(-0.539, -0.444).threePointArc((-0.983, 0), (-0.539, 0.444)).lineTo(0.539, 0.444).close().extrude(0.157, taper=-6.063, both=Tru... | 4 | 14 | 0.571527 |
train_b416eaec386d0641 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.025, 0.146, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.078, 0.698).threePointArc((0.078, 0.233), (0.543, -0.078)).threePointArc((0.698, -0.233), (0.854, -0.388)).threePointArc((0.854, -0.543), (0.698, -0.543)).threePointArc((0.078, -... | 17 | 101 | 1.685157 |
train_e59ad569d46303dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.013, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.3, -0.165).lineTo(0.127, -0.076).lineTo(0.051, -0.037).threePointArc((0.042, -0.03), (0.037, -0.021)).lineTo(-0.001, 0.099).threePointArc((-0.022, 0.165), (0.064, 0.12)).lineTo(0.172, 0.0... | 3 | 43 | 0.12431 |
train_8504e5e39e7ab19d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.209, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.208, 0.954).lineTo(1.208, 0.471).lineTo(-0.725, 0.471).lineTo(-0.725, -0.471).lineTo(1.208, -0.471).lineTo(1.208, -0.954).lineTo(-1.208, -0.954).lineTo(-1.208, 0.954).lineTo(1.208, 0.9... | 12 | 56 | 0.632632 |
train_c56cb5b6084854dd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.228, -0.64, 0.406), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.022, 0.614).lineTo(0.143, 0.391).threePointArc((0.18, 0.377), (0.213, 0.398)).threePointArc((0.246, 0.401), (0.276, 0.385)).threePointArc((0.311, 0.379), (0.331, 0.351)).threePoint... | 4 | 161 | 1.108982 |
train_824b3ac469113279 | 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, 0.129).lineTo(0, 0.098).threePointArc((0.049, 0.08), (0.166, 0.073)).lineTo(0.916, 0.073).threePointArc((0.975, 0.07), (1, 0.061)).lineTo(1, 0.017).threePointArc((0.966, 0.005), (0.885, 0... | 8 | 72 | 0.18866 |
train_21af62768eae4dd6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.367, 0, 0.324), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.279, 0.483).threePointArc((0.279, 0.483), (0.557, 0)).threePointArc((0.279, -0.483), (-0.279, -0.483)).threePointArc((-0.557, 0), (-0.279, 0.483)).close().revolve(angleDegrees=90, axi... | 4 | 34 | 1.244858 |
train_53e16c5425386940 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.11, 0.04, -0.128), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.223, 0.354).lineTo(0.223, -0.099).lineTo(-0.223, -0.099).lineTo(-0.223, -0.008).lineTo(-0.134, -0.008).lineTo(-0.134, 0.082).lineTo(-0.045, 0.082).lineTo(-0.045, 0.173).lineTo(0.045,... | 9 | 250 | 0.16223 |
train_f7d6ad7ecce8d768 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.219, 0, -0.524), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.264, 0.241).lineTo(0.264, -0.241).threePointArc((-0.017, 0), (0.264, 0.241)).close().extrude(1.524).union(cq.Workplane(cq.Plane(origin=(0.219, 0, -0.524), normal=(0, 0, 1), xDir=(1, 0,... | 8 | 416 | 0.614873 |
train_a2145b56784c07c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.052, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.879, 0.407).threePointArc((0.965, 0.371), (1, 0.287)).lineTo(1, -0.129).threePointArc((0.918, -0.325), (0.722, -0.407)).lineTo(-0.832, -0.407).threePointArc((-0.949, -0.357), (-1, -0.... | 10 | 47 | 0.390782 |
train_5845109b41b554c5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-2.597, 0.422, -50.431), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(2.537, 0).threePointArc((2.206, -0.33), (1.876, 0)).threePointArc((2.206, 0.33), (2.537, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-2.597, 0.422, -50.431), normal=(0, 0, 1),... | 5 | 14 | 0.429717 |
train_e9176f7db8e5e02d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.167, -0.233, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.196).lineTo(0.099, 0.018).threePointArc((0.149, 0.018), (0.149, -0.053)).lineTo(-0.099, -0.196).threePointArc((-0.149, -0.196), (-0.149, -0.16)).lineTo(0.003, -0.052).threePoi... | 8 | 73 | 0.132361 |
train_81c254b08e3a44c7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.582, -0.331, -0.427), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.12, 0.669).lineTo(0.328, 0.376).lineTo(0.54, -0.052).lineTo(0.276, -0.468).lineTo(-0.219, -0.567).lineTo(-0.54, -0.187).lineTo(-0.486, 0.275).lineTo(-0.12, 0.669).close().extrud... | 21 | 531 | 1.517999 |
train_31ebe92580a9b40d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.045, 0.21, 0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.703, 0.406).threePointArc((0.69, -0.383), (-0.013, -0.789)).threePointArc((-0.703, -0.406), (-0.69, 0.383)).threePointArc((0.013, 0.789), (0.703, 0.406)).close().sweep(cq.Workplane(c... | 2 | 8 | 0.606115 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.