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_a2bb8266a9ced440 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.103, 0.117, -0.297), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.103, 0.22).lineTo(1.103, -0.202).threePointArc((1.094, -0.223), (1.073, -0.232)).lineTo(-1.084, -0.232).threePointArc((-1.098, -0.226), (-1.103, -0.213)).lineTo(-1.103, 0.213).lin... | 19 | 133 | 0.239891 |
train_1dc5b02ec6f17c32 | 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.695, 0.951).lineTo(0.695, 0.501).lineTo(-0.242, 0.501).lineTo(-0.242, -0.501).lineTo(0.695, -0.501).lineTo(0.695, -0.951).lineTo(-0.695, -0.951).lineTo(-0.695, 0.951).lineTo(0.695, 0.951).clos... | 2 | 21 | 1.605064 |
train_82c2378db2905edf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.268, 0.453, 0.599), normal=(0.14, 0.448, -0.883), xDir=(-0.954, 0.299, 0))).moveTo(-0.295, 0.292).lineTo(0.295, -0.053).threePointArc((-0.234, -0.292), (-0.295, 0.292)).close().extrude(1.25, both=False)
result = result.union(cq.Workplane(cq.Pla... | 19 | 90 | 1.295062 |
train_fdc76b001bdb709d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.359, -0.044, 0.706), normal=(0.462, 0.054, -0.885), xDir=(-0.116, 0.993, 0))).moveTo(0.282, 0.632).threePointArc((0.307, 0.606), (0.317, 0.544)).lineTo(0.317, 0.266).threePointArc((0.307, 0.207), (0.284, 0.182)).lineTo(0.108, 0.182).threePointA... | 7 | 133 | 1.031293 |
train_178edd299755f10a | 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.829, 0.275).workplane(offset=2).rect(0.35, 0.226).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0.002, 0.665, -0.533), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.577).extrude(0.201).... | 8 | 56 | 0.365843 |
train_c67fa69d3b029cda | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.006, -0.013, -0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.008, 0.055).lineTo(0.023, 0.05).lineTo(0.046, 0.03).lineTo(0.055, 0).lineTo(0.046, -0.03).lineTo(0.023, -0.05).lineTo(-0.008, -0.055).lineTo(-0.036, -0.042).lineTo(-0.053, -0.01... | 7 | 46 | 0.008112 |
train_8f5f8daf57554cfb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.545, 0.084, 0.423), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.062, 0.004).threePointArc((0.081, -0.024), (0.068, -0.05)).threePointArc((0.048, -0.052), (0.032, -0.052)).lineTo(-0.033, -0.06).lineTo(-0.071, -0.041).threePointArc((-0.081, 0.005... | 11 | 18 | 0.3504 |
train_9d5e7690d092363e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.473, 0, 0.417), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.401, 0.302).threePointArc((0.487, 0.266), (0.523, 0.18)).lineTo(0.523, -0.121).threePointArc((0.487, -0.208), (0.401, -0.244)).lineTo(0.142, -0.302).lineTo(-0.116, -0.288).lineTo(-0.37... | 12 | 55 | 0.596727 |
train_52679d8723aba8cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.234, 0.41, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.547, 0.195).threePointArc((0.321, -0.537), (-0.295, 0.157)).lineTo(-0.596, 0.46).threePointArc((-0.585, 0.529), (-0.392, 0.537)).lineTo(-0.016, 0.159).lineTo(-0.034, 0.096).threePoi... | 15 | 172 | 0.610853 |
train_cc3ca59f27167ccf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.139, 0.288, -0.888), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.46, 0.231).lineTo(0.751, 0.053).lineTo(0.861, -0.036).lineTo(0.336, -0.231).lineTo(0.226, -0.184).lineTo(-0.055, -0.005).lineTo(-0.031, 0.069).lineTo(-0.051, 0.165).lineTo(-0.036,... | 5 | 51 | 0.974512 |
train_fe79ce5a2e0c18c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.947, 0.609).threePointArc((0.984, 0.594), (1, 0.557)).lineTo(1, -0.579).threePointArc((0.99, -0.6), (0.968, -0.609)).lineTo(-0.95, -0.609).threePointArc((-0.985, -0.595), (-1, -0.56)).line... | 9 | 104 | 1.055962 |
train_0d2aa3f8f7dc12f2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.999, 0.238, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.473, 0.327).lineTo(0.473, -0.327).lineTo(-0.473, -0.327).lineTo(-0.473, 0.327).lineTo(-0.387, 0.327).lineTo(-0.387, -0.051).lineTo(-0.301, -0.051).lineTo(-0.301, 0.327).lineTo(-0.215,... | 18 | 98 | 0.477132 |
train_cb8492aa1be2df9a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.066, 7.788), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.976, 0.948).lineTo(0.976, 0).lineTo(0.489, 0).lineTo(0.489, -0.948).lineTo(-0.489, -0.948).lineTo(-0.489, 0).lineTo(-0.976, 0).lineTo(-0.976, 0.948).lineTo(0.976, 0.948).close().extrud... | 27 | 185 | 1.212137 |
train_ebfa7b00f4f204d9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.184, 0.477, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.553, 0).threePointArc((0, -0.553), (-0.553, 0)).threePointArc((0, 0.553), (0.553, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.184, 0.477, -0.131), normal=(0, -1, 0), xDir=(1,... | 11 | 123 | 1.172621 |
train_b2d377718a4958f4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.437, -0.277, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.053, 0.828).lineTo(0.391, 0.384).lineTo(-0.053, 0.046).lineTo(-0.391, 0.491).lineTo(0.053, 0.828).close().moveTo(-0.057, 0.66).threePointArc((-0.024, 0.646), (-0.011, 0.613)).threePoi... | 17 | 526 | 0.491288 |
train_404eca89384599d1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, -0.158).lineTo(0.979, -0.203).lineTo(0.956, -0.293).lineTo(0.869, -0.282).lineTo(0.808, -0.428).lineTo(0.868, -0.496).lineTo(0.818, -0.574).lineTo(0.739, -0.537).lineTo(0.636, -0.657).lin... | 6 | 139 | 1.554352 |
train_91ea6902e379b8b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0.035, -0.57), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 0.868).lineTo(0.141, 0.579).threePointArc((0.704, 0.289), (0.985, 0)).threePointArc((0.985, -0.579), (0.704, -0.868)).threePointArc((-0.141, -0.868), (-0.985, 0)).threePointAr... | 20 | 40 | 0.619555 |
train_9720bd4d6a29026c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.151, -0.274, 0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.848, 0.637).lineTo(0.029, -0.67).threePointArc((-0.848, -0.12), (0.848, 0.637)).close().moveTo(0.089, 0.67).lineTo(0.331, 0.519).threePointArc((-0.331, -0.001), (0.089, 0.67)).clos... | 4 | 77 | 0.291324 |
train_609e98cf57eae023 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.869, -0.021), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.389, 1.463).threePointArc((0.514, 1.326), (0.541, 1.134)).lineTo(0.593, 0.947).lineTo(0.629, 0.806).lineTo(0.57, 0.638).threePointArc((0.605, 0.485), (0.6, 0.299)).threePointArc(... | 4 | 55 | 2.448322 |
train_a3f6ef76c6ae98cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.527, 0.563, 0.009), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.183, 1.496).threePointArc((0.411, 1.372), (0.629, 1.257)).threePointArc((0.954, 0.976), (0.924, 0.546)).lineTo(0.542, -0.023).lineTo(0.098, -0.432).lineTo(-0.267, 0.093).lineTo(-0.... | 14 | 64 | 2.089089 |
train_947187d0553183c7 | 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.091, 0.156).threePointArc((0.11, 0.148), (0.117, 0.129)).lineTo(0.117, 0.025).threePointArc((0.125, 0.008), (0.142, 0)).lineTo(0.171, 0).threePointArc((0.189, -0.007), (0.196, -0.025)).lineTo(... | 10 | 105 | 0.123925 |
train_97ab1c6ed1fb25c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.047, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.527, 0.941).lineTo(0.527, -0.938).threePointArc((0.523, -0.948), (0.513, -0.952)).lineTo(-0.516, -0.952).threePointArc((-0.524, -0.949), (-0.527, -0.941)).lineTo(-0.527, 0.944).threePo... | 5 | 58 | 0.982884 |
train_dbebdcd3b2ec7c95 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.065).extrude(0.223)
result = result.cut(cq.Workplane(cq.Plane(origin=(1.065, 0, -0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-1.065, 1.065), (-2.13, 0), (-1.065, -1.065... | 6 | 25 | 0.61857 |
train_7ca264342a4b8d8c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, -0.001, -0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.696, -0.369).threePointArc((-0.993, -0.028), (-0.526, 0.048)).lineTo(-0.196, 0.348).threePointArc((-0.062, 0.69), (0.158, 0.372)).lineTo(0.43, 0.197).threePointArc((0.438, 0.082)... | 4 | 68 | 2.887053 |
train_69518b92bc76b6cb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.722), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.144, 1).lineTo(0.419, 0.918).lineTo(0.849, 0.546).lineTo(1.011, 0).lineTo(0.849, -0.546).lineTo(0.419, -0.918).lineTo(-0.144, -1).lineTo(-0.662, -0.763).lineTo(-0.97, -0.284).lineTo(-... | 5 | 30 | 4.49637 |
train_79f0f04cce653da3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.158, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.163).lineTo(1, -0.123).lineTo(0.92, -0.123).lineTo(0.92, -0.202).lineTo(-0.94, -0.202).lineTo(-1, -0.144).lineTo(-1, 0.122).threePointArc((-0.976, 0.179), (-0.919, 0.202)).lineTo(0... | 8 | 55 | 0.670839 |
train_2bae3079c3158210 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0.589).lineTo(1, -0.365).lineTo(0.78, -0.397).lineTo(0.605, -0.04).lineTo(-0.27, -0.167).lineTo(-0.094, -0.526).lineTo(-0.531, -0.589).lineTo(-1, 0.365).lineTo(-0.562, 0.43).line... | 17 | 235 | 0.423363 |
train_379853e39dd2f044 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.09, 2).lineTo(0.09, 0.09).lineTo(2, 0.09).lineTo(2, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.09, 2).close().extrude(0.72, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.5, 0, -... | 8 | 32 | 0.790466 |
train_cac2ce1bb893df93 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.18).lineTo(0.775, 0).lineTo(1, -0.18).lineTo(0.386, -0.18).lineTo(0.386, 0.18).lineTo(1, 0.18).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.275, -0.474, 0), normal=(... | 11 | 57 | 0.508913 |
train_bc177592e8b535d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.421, -0.045, 0.096), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.198, -0.026).lineTo(0.185, -0.077).lineTo(0.293, -0.134).lineTo(0.262, -0.187).lineTo(0.159, -0.122).lineTo(0.122, -0.159).lineTo(0.187, -0.262).lineTo(0.134, -0.293).lineTo(0.07... | 4 | 156 | 0.257185 |
train_3bcb3e46fb8e144a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.634, -0.157, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.02, 0.23).lineTo(0.132, 0.127).lineTo(0.109, -0.055).lineTo(-0.077, -0.063).lineTo(-0.132, 0.094).lineTo(-0.02, 0.23).close().extrude(0.829)
result = result.union(cq.Workplane(cq.Pla... | 13 | 113 | 0.104449 |
train_955f2718c6a10a06 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.944), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.308)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.944), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.434), (-0.377, 0.781), (-0.778, 0.975), (... | 6 | 70 | 1.502054 |
train_75738cf245aa6f86 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.398, 0.196).threePointArc((0.487, 0.159), (0.524, 0.07)).lineTo(0.524, -0.089).threePointArc((0.492, -0.164), (0.417, -0.196)).lineTo(-0.403, -0.196).threePointArc((-0.488, -0.16), (-0.524... | 6 | 54 | 0.850794 |
train_3d008a71f6e8d976 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.66), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.283, 1).lineTo(0.283, 0.333).lineTo(0.848, 0.333).lineTo(0.848, 0).lineTo(0.283, 0).lineTo(0.283, -0.333).lineTo(0.848, -0.333).lineTo(0.848, -0.667).lineTo(0.283, -0.667).lineTo(0.283, -1)... | 18 | 34 | 2.662268 |
train_6a52a88a273cfa3d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.02, 0.018, -0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.202, 0.102).threePointArc((0.253, 0.08), (0.275, 0.028)).lineTo(0.275, -0.102).lineTo(-0.176, -0.102).lineTo(-0.275, -0.002).lineTo(-0.275, 0.102).lineTo(0.202, 0.102).close().extr... | 14 | 47 | 0.165492 |
train_95e8d3425336aabf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.165, 0, 0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.638, 0.504).lineTo(0.638, 0.072).lineTo(-0.319, 0.072).lineTo(-0.319, -0.072).lineTo(0.638, -0.072).lineTo(0.638, -0.504).lineTo(-0.638, -0.504).lineTo(-0.638, -0.36).lineTo(0.319, -0.3... | 8 | 226 | 1.383396 |
train_618644bad4b19e4e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.26, 0.873).threePointArc((0.503, 0.783), (0.972, 0.234)).threePointArc((0.871, -0.452), (0.26, -0.873)).threePointArc((-0.503, -0.783), (-0.972, -0.234)).threePointArc((-0.871, 0.452), (-... | 8 | 1,076 | 0.443003 |
train_fea985e1d0ed3fad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.143, 0, -1.26), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.234).extrude(0.502)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.143, 0, -0.908), normal=(0.155, 0, 0.988), xDir=(0.988, 0, -0.155))).circle(0.589).extrude(1.839))
result = r... | 4 | 6 | 1.055267 |
train_e9df82f16863bc72 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.099, -0.465, -1.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.618, 0.295).threePointArc((1.72, 0.251), (1.763, 0.149)).lineTo(1.763, -0.129).threePointArc((1.714, -0.246), (1.598, -0.295)).lineTo(-1.474, -0.295).lineTo(-1.763, -0.006).lineT... | 9 | 82 | 1.062594 |
train_1e4799c7e79245bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.411, 0.887).threePointArc((0.474, 0.864), (0.5, 0.808)).lineTo(0.5, 0.084).threePointArc((0.528, 0.025), (0.595, 0)).lineTo(0.839, 0).threePointArc((0.952, -0.042), (1, -0.143)).lineTo(1, ... | 1 | 26 | 0.41263 |
train_4c06096e6dcedb6b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.242, 0.215, 0.321), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.093, 0.226).threePointArc((-0.037, 0.185), (0, 0.177)).threePointArc((0.043, 0.191), (0.091, 0.188)).threePointArc((0.13, 0.16), (0.166, 0.126)).threePointArc((0.205, 0.084), (0.... | 6 | 175 | 0.515759 |
train_02093c77787ba45c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.198, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.784, 0.796).lineTo(0.784, -0.266).lineTo(0, -0.266).lineTo(0, -0.796).lineTo(-0.784, -0.796).lineTo(-0.784, 0.266).lineTo(0, 0.266).lineTo(0, 0.796).lineTo(0.784, 0.796).close().extru... | 25 | 68 | 1.035162 |
train_e58bf12270c5406a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.167, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.718).lineTo(1, -0.718).lineTo(-1, -0.718).lineTo(-1, 0.718).lineTo(-0.354, 0.718).lineTo(-0.354, -0.271).lineTo(0.354, -0.271).lineTo(0.354, 0.718).lineTo(1, 0.718).close().extrude... | 5 | 24 | 0.701743 |
train_7d6604ab73ccce73 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.196, 0.501, 0.062), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.025, 1.063).threePointArc((0.316, 1.076), (0.57, 0.921)).threePointArc((0.674, 0.641), (0.596, 0.31)).threePointArc((0.36, 0.016), (0.025, -0.16)).threePointArc((-0.316, -0.173), ... | 5 | 58 | 0.575622 |
train_b71717a98699d238 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.554), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.715).lineTo(1, -0.715).lineTo(-1, -0.715).lineTo(-1, 0.715).lineTo(-0.366, 0.715).lineTo(-0.366, -0.281).lineTo(0.366, -0.281).lineTo(0.366, 0.715).lineTo(1, 0.715).close().extrude(1.10... | 5 | 18 | 1.472198 |
train_f308bbcb62791c33 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.165), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.701, 0.33).lineTo(0.999, 0.166).lineTo(1, 0.114).lineTo(1, 0).lineTo(0.987, 0).lineTo(0.987, 0.098).lineTo(0.878, 0.166).lineTo(0, 0.232).lineTo(0, 0.33).lineTo(0.701, 0.33).close().revol... | 10 | 72 | 0.466327 |
train_1079688b0a0cfcc4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.186, 0.055, 0.627), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.373, 0.372).lineTo(0.373, 0.286).lineTo(-0.075, -0.261).lineTo(-0.373, 0.372).close().extrude(0.493)
result = result.union(cq.Workplane(cq.Plane(origin=(0.06, -0.313, 0.627), norm... | 17 | 136 | 0.248572 |
train_988587bcf8c3ea91 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.512, 0.981).threePointArc((0.574, 0.949), (0.6, 0.874)).lineTo(0.6, 0.652).threePointArc((0.639, 0.538), (0.731, 0.49)).lineTo(0.916, 0.49).threePointArc((0.975, 0.46), (0.999, 0.389)).line... | 6 | 155 | 0.825451 |
train_dc85b68febb53feb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.286, 1).threePointArc((0.411, 0.948), (0.463, 0.823)).lineTo(0.463, -0.914).lineTo(0.378, -1).lineTo(-0.373, -1).threePointArc((-0.436, -0.972), (-0.463, -0.909)).lineTo(-0.463, 0.919).thr... | 7 | 74 | 0.277938 |
train_1c5c3bf56a43ab05 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.003, 0.396, 0.557), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.005, 0.394).lineTo(0.312, 0.184).threePointArc((-0.1, -0.419), (-0.303, -0.207)).lineTo(-0.312, -0.094).threePointArc((-0.311, -0.066), (-0.304, -0.038)).lineTo(-0.151, 0.346).three... | 28 | 141 | 0.110004 |
train_c2a61406d626e8c8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.007, 0.077), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.496, 0.883).lineTo(0.488, 0.255).threePointArc((0.559, 0.206), (0.901, 0.204)).lineTo(0.952, -0.009).lineTo(0.683, -0.375).threePointArc((0.456, -0.47), (0.207, -0.432)).threePointArc(... | 8 | 112 | 0.253136 |
train_da16f458db265560 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.378, 0.165).threePointArc((0.423, 0.146), (0.441, 0.103)).lineTo(0.441, -0.099).threePointArc((0.422, -0.145), (0.375, -0.165)).lineTo(-0.441, -0.165).lineTo(-0.441, 0.111).threePointArc((... | 7 | 26 | 0.328147 |
train_a0d4afb252b3ade8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.538, -0.414, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.64, 0.774).threePointArc((1, 0.414), (0.64, 0.054)).lineTo(-0.64, 0.054).threePointArc((-1, 0.414), (-0.64, 0.774)).lineTo(0.64, 0.774).close().extrude(1.076)
result = result.cut(cq.W... | 26 | 618 | 0.900634 |
train_a71f97fea3974b2b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.122, 0.568, 0.054), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.194, 0.42).lineTo(0.194, -0.087).lineTo(0.072, -0.087).lineTo(0.072, 0.088).lineTo(-0.072, 0.088).lineTo(-0.072, -0.087).lineTo(-0.194, -0.087).lineTo(-0.194, 0.42).lineTo(-0.072, ... | 6 | 161 | 0.938833 |
train_63ba8460259004c2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.052), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.35, 0.367).lineTo(0.35, 0.054).lineTo(1, 0.054).lineTo(1, 0).lineTo(0.225, 0).lineTo(0.225, 0.367).lineTo(0.35, 0.367).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1... | 8 | 58 | 0.308609 |
train_ff43612f6b7b1279 | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.527, 2, 1.509)
result = result.edges().fillet(0.199)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.566).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=... | 11 | 81 | 1.33286 |
train_5c43f556901a05a3 | 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.107, -0.746).threePointArc((-0.068, -0.817), (-0.237, -0.731)).lineTo(-0.975, 0.014).threePointArc((-1, 0.047), (-0.966, 0.073)).lineTo(-0.724, 0.195).threePointArc((-0.679, 0.231), (-0.65... | 5 | 125 | 3.163469 |
train_830b346f9ff9aa16 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.045, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.463, 0.724).threePointArc((1.105, 0.829), (1.199, 0.772)).threePointArc((1.317, 0.128), (1.273, 0.007)).threePointArc((1.186, -0.035), (1.083, 0.002)).threePointArc((0.86, 0.208), (0.76... | 4 | 61 | 0.242362 |
train_674b63005b037c79 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.411, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.589, 0.398).lineTo(0.589, -0.284).threePointArc((0.556, -0.365), (0.475, -0.398)).lineTo(-0.529, -0.398).lineTo(-0.589, -0.337).lineTo(-0.589, 0.398).lineTo(0.589, 0.398).close().extr... | 13 | 77 | 0.06974 |
train_e8c6ee4e49ffc2d8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0.722, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.476, 1.547).threePointArc((0.476, 1.547), (0.953, 0.721)).threePointArc((0.476, -0.104), (-0.476, -0.104)).threePointArc((-0.953, 0.721), (-0.476, 1.547)).close().moveTo(0, 1.503).threePo... | 12 | 374 | 4.623299 |
train_deaf83fa0f44ef30 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -2.816), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.054, 0.2).threePointArc((0.146, 0.146), (0.2, -0.054)).threePointArc((0.054, -0.2), (-0.146, -0.146)).threePointArc((-0.2, 0.054), (-0.054, 0.2)).close().extrude(3.816)
result = result.cu... | 7 | 15 | 0.194457 |
train_c402894b5269503f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.217, 0.26, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.713, 0.134).threePointArc((0.645, 0.028), (0.683, -0.099)).threePointArc((0.776, -0.289), (0.815, -0.514)).threePointArc((0.73, -0.685), (0.545, -0.733)).threePointArc((0.34, -0.678), (... | 13 | 331 | 1.060629 |
train_a26468b628634623 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.816, 0.347).threePointArc((1, 0), (0.816, -0.347)).lineTo(0.272, -0.347).lineTo(-0.272, -0.347).lineTo(-0.816, -0.347).threePointArc((-1, 0), (-0.816, 0.347)).lineTo(-0.272, 0.347).lineTo(... | 3 | 16 | 0.55461 |
train_d4f3e3ebb2433161 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.556, 1).lineTo(0.739, 0.812).lineTo(0.739, -0.625).lineTo(0.368, -1).lineTo(-0.385, -1).threePointArc((-0.635, -0.887), (-0.739, -0.641)).lineTo(-0.739, 0.858).lineTo(-0.606, 1).lineTo(0.5... | 7 | 52 | 1.060015 |
train_7d2d456e6c250ea0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.087, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.5)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.087, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.459).extrude(1.493, both=True))
result = result.union(cq.Wo... | 17 | 30 | 0.349486 |
train_db6e7d541701a6ba | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.139), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.067).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.067).lineTo(-0.646, 1.067).lineTo(-0.646, 0.349).lineTo(0.646, 0.349).lineTo(0.646, 1.067).lineTo(1, 1.067).close().extrude(0.579, both=Tru... | 8 | 59 | 1.207029 |
train_11475d5b5c599c5e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.111, 0.295, -0.025), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.118, 0.701).threePointArc((-0.035, 0.669), (0, 0.594)).lineTo(0, 0.302).threePointArc((0.053, 0.188), (0.178, 0.14)).lineTo(0.528, 0.14).threePointArc((0.592, 0.116), (0.618, 0.05... | 21 | 189 | 0.390653 |
train_a40c9c516e762e24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, -0.104).lineTo(0.981, -0.144).lineTo(0.966, -0.225).lineTo(0.829, -0.205).lineTo(0.798, -0.304).lineTo(0.917, -0.376).lineTo(0.884, -0.449).lineTo(0.757, -0.397).lineTo(0.703, -0.487)... | 8 | 295 | 1.384108 |
train_a8cb076dd28d1d96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.306), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.611).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.611).lineTo(-0.795, 0.611).lineTo(-0.795, 0.204).lineTo(0.795, 0.204).lineTo(0.795, 0.611).lineTo(1, 0.611).close().extrude(0.389, both=Tru... | 21 | 68 | 0.28708 |
train_0d079216e00b1a4f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.094, -0.122, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.323, 0.662).lineTo(0.323, 0.133).lineTo(0.644, 0.133).lineTo(0.644, -0.662).lineTo(-0.323, -0.662).lineTo(-0.323, -0.133).lineTo(-0.644, -0.133).lineTo(-0.644, 0.133).lineTo(-0.323... | 12 | 94 | 0.460296 |
train_3539a59e30e3c440 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(1, 0.261).lineTo(1, -0.261).lineTo(-0.333, -0.261).lineTo(-0.333, -0.157).lineTo(-1, -0.157).lineTo(-1, -0.052).lineTo(-0.333, -0.052).lineTo(-0.333, 0.261).lineTo(1, 0.261).close().extrude(1.062, both=True).intersect(cq.Workplane('XZ').moveTo(1, 0.24... | 7 | 58 | 0.114465 |
train_3d699b74f36def3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.121, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.634, 0.494).lineTo(0.634, -0.449).threePointArc((0.622, -0.48), (0.59, -0.494)).lineTo(-0.565, -0.494).threePointArc((-0.614, -0.473), (-0.634, -0.424)).lineTo(-0.634, 0.437).lineTo(-... | 9 | 156 | 0.708837 |
train_20b671c3cf4bf7f3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.575).lineTo(-0.252, -0.292).lineTo(-0.696, -0.548).lineTo(-1, -0.575).lineTo(-0.97, -0.41).lineTo(-0.526, -0.155).lineTo(1, 0.575).close().extrude(0.445)
final_result = result
| 1 | 8 | 0.160321 |
train_1aee90849d990819 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.2, 0.348, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.163, 0.163).lineTo(0.163, -0.163).lineTo(-0.163, -0.163).lineTo(-0.163, -0.054).lineTo(-0.054, -0.054).lineTo(-0.054, 0.054).lineTo(0.054, 0.054).lineTo(0.054, 0.163).lineTo(0.163, 0... | 10 | 68 | 0.173433 |
train_718b4dcd1536d027 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.327).extrude(0.691)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.328, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.037, 0.152), (-0.142, 0.269), (-0.288, 0.325... | 7 | 123 | 0.152553 |
train_4fa60e0c0fcfaddd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, 0, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.305, 0.84).threePointArc((0.394, 0.823), (0.481, 0.798)).threePointArc((0.563, 0.765), (0.639, 0.724)).threePointArc((0.707, 0.676), (0.769, 0.623)).threePointArc((0.822, 0.565), (0.8... | 8 | 139 | 0.888703 |
train_1ff631e069c15a8d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.72, -0.44, -0.414), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.44).threePointArc((1.017, 1.017), (1.44, 0)).lineTo(1.001, 0).threePointArc((0.708, 0.708), (0, 1.001)).lineTo(0, 1.44).close().extrude(0.828)
result = result.union(cq.Workplane... | 8 | 48 | 0.791214 |
train_a1cc056c8009520f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.023, 0.469, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.254, 1.763).threePointArc((-0.036, 1.797), (0.133, 1.656)).threePointArc((0.185, 1.386), (0.429, 1.262)).threePointArc((0.645, 1.324), (0.828, 1.193)).threePointArc((0.769, 0.991), (0... | 4 | 15 | 1.678057 |
train_3cf17c8fa782703d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.648, 0, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.347, 0.571).lineTo(0.347, -0.571).threePointArc((-0.347, 0), (0.347, 0.571)).close().revolve(angleDegrees=270, axisStart=(0.648, -0.604), axisEnd=(0.648, 0.604))
result = result.cut(cq.Wo... | 6 | 152 | 1.592458 |
train_2a3aaea4924672ee | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.041, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.152, 1).threePointArc((0.443, 0.878), (0.563, 0.588)).lineTo(0.563, -0.674).threePointArc((0.468, -0.903), (0.237, -1)).lineTo(-0.257, -1).threePointArc((-0.473, -0.909), (-0.563, -0.... | 12 | 41 | 0.688713 |
train_ef99f7d25afb359c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.004, -0.364, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 0.636).threePointArc((0.542, 0.538), (0.542, 0.342)).lineTo(-0.056, -0.017).threePointArc((-0.095, -0.055), (-0.108, -0.106)).lineTo(-0.108, -0.538).threePointArc((-0.217, -0... | 35 | 847 | 0.311877 |
train_e4bc1293c883f77d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.021, -0.143, -0.645), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.469, 0.202).lineTo(0.469, 0.101).lineTo(0.57, 0.101).lineTo(0.57, 0).lineTo(0.267, 0).lineTo(0.267, -0.101).lineTo(0.166, -0.101).lineTo(0.166, -0.202).lineTo(0.065, -0.202).line... | 19 | 212 | 0.648508 |
train_02c16d1de0e4536a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.006, 0.001, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.765, -0.106).lineTo(0.987, -0.161).lineTo(0.976, -0.22).lineTo(0.752, -0.178).lineTo(0.72, -0.28).lineTo(0.924, -0.384).lineTo(0.898, -0.44).lineTo(0.69, -0.346).lineTo(0.636, -0.4... | 10 | 209 | 0.859489 |
train_91e65e237d8e8abf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.074, -0.012, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.597, -0.162).threePointArc((0.264, 0.988), (0.597, -0.344)).lineTo(0.424, -0.988).lineTo(0.339, -0.275).threePointArc((0.452, 0.662), (-0.424, 0.482)).threePointArc((-0.494, 0.2... | 6 | 31 | 0.228143 |
train_95940a87a62d0ebc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.588, 0.2).lineTo(0.92, 0.136).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.868, 0).lineTo(0.868, 0.06).lineTo(0.768, 0.136).lineTo(0, 0.068).lineTo(0, 0.2).lineTo(0.588, 0.2).close().revolve(angle... | 3 | 14 | 0.25267 |
train_a055fb10749ae7d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.026, -0.65, -0.063), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.266, 0.692).lineTo(0.266, -0.181).threePointArc((-0.266, 0.256), (0.266, 0.692)).close().revolve(angleDegrees=360, axisStart=(-0.221, 0.73), axisEnd=(0.221, 0.73))
result = result... | 18 | 479 | 0.641468 |
train_3c71eca6a5aea590 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.5, -0.802, 0.377), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.108, 0.762).lineTo(0.258, 0.657).lineTo(0.438, 0.355).lineTo(0.348, 0.04).lineTo(0.106, -0.198).lineTo(-0.232, -0.111).lineTo(-0.438, 0.161).lineTo(-0.395, 0.513).lineTo(-0.108, 0... | 4 | 51 | 1.053323 |
train_7349b2bbb0b92a24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.022, 0.179, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.548, -0.793).threePointArc((-0.767, -0.793), (-0.11, 0.327)).lineTo(0.438, 0.793).threePointArc((0.658, 0.793), (0.767, 0.513)).lineTo(0.11, -0.047).threePointArc((-0.11, -0.047), (-0.5... | 7 | 43 | 0.867678 |
train_28db89b8c5607a8f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.969).extrude(0.496)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.24).extrude(1.487, both=True))
result = result.union(cq.Wor... | 12 | 5 | 1.512802 |
train_f1cc9752f4ccd106 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.268, 0.635, -0.455), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.04, 1.154).threePointArc((0.123, 1.102), (0.188, 1.032)).threePointArc((0.256, 0.982), (0.349, 0.95)).threePointArc((0.457, 0.906), (0.537, 0.826)).threePointArc((0.542, 0.715), (... | 10 | 505 | 0.709867 |
train_3f912c80b2af6c20 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.561, -0.02, -0.023), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.024, 0.343).lineTo(0.06, 0.321).lineTo(0.176, 0.189).lineTo(0.062, 0.11).lineTo(-0.016, 0.085).threePointArc((-0.053, 0.038), (-0.102, 0.031)).threePointArc((-0.13, 0.047), (-0.1... | 5 | 70 | 0.175553 |
train_3dc7bd0fb1298437 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.26).threePointArc((0.382, 0.238), (0.404, 0.187)).lineTo(0.404, -0.192).lineTo(0.336, -0.26).lineTo(-0.326, -0.26).lineTo(-0.404, -0.181).lineTo(-0.404, 0.26).lineTo(0.332, 0.2... | 10 | 149 | 0.350032 |
train_dafc33300f1b90f6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.664, 0.304).lineTo(0.664, 0.197).threePointArc((0.679, 0.179), (0.714, 0.171)).lineTo(0.912, 0.171).threePointArc((0.968, 0.159), (1, 0.13)).lineTo(1, 0.037).threePointArc((0.971, 0.01... | 6 | 42 | 0.189438 |
train_6a10044c73bcc15a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.801), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.728, 0.449).lineTo(0.774, 0.301).lineTo(0.761, 0.28).lineTo(0.728, 0.28).lineTo(0.728, 0.213).lineTo(1, 0.213).lineTo(1, -0.434).lineTo(0.85, -0.449).lineTo(0.812, -0.431).lineTo(0.847, -0... | 2 | 68 | 2.256602 |
train_22c80afd892a96aa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.581, 0, -3.069), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.476).extrude(2.308)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.581, 0, -1.453), normal=(0.131, 0, 0.991), xDir=(0.991, 0, -0.131))).circle(0.564).extrude(2.468))
result = ... | 3 | 3 | 0.239998 |
train_22139843b4a0b73a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.25, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 1).threePointArc((0.973, 0.973), (1, 0.91)).lineTo(1, 0.675).threePointArc((0.948, 0.552), (0.825, 0.5)).lineTo(0.595, 0.5).threePointArc((0.528, 0.472), (0.5, 0.405)).lineTo(0.5, -0.886... | 8 | 63 | 0.552902 |
train_1a5c6367ba0f8b7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.129, -0.004, 0.607), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.61, -0.56).threePointArc((0.516, -0.788), (0.288, -0.883)).lineTo(0.162, -0.928).lineTo(0.037, -0.974).threePointArc((-0.026, -0.982), (-0.088, -0.996)).threePointArc((-0.166, -0.... | 22 | 323 | 1.082951 |
train_2df20472551256ec | 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.863, 0.723).lineTo(0.863, 0.262).lineTo(-0.406, 0.262).lineTo(-0.406, -0.262).lineTo(0.863, -0.262).lineTo(0.863, -0.723).lineTo(-0.863, -0.723).lineTo(-0.863, 0.723).lineTo(0.863, 0.723).clos... | 19 | 292 | 2.430608 |
train_3f156656b8396871 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.281, 0.197).threePointArc((0.353, 0.167), (0.383, 0.095)).lineTo(0.383, -0.197).lineTo(-0.383, -0.197).lineTo(-0.383, 0.197).lineTo(0.281, 0.197).close().extrude(0.284, both=True)
result =... | 5 | 27 | 0.433291 |
train_432c586a078dd217 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.372, 0, -0.294), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.036, 0.144).lineTo(0.036, 0.072).lineTo(0.108, 0.072).lineTo(0.108, -0.072).lineTo(-0.036, -0.072).lineTo(-0.036, -0.144).lineTo(-0.108, -0.144).lineTo(-0.108, 0.144).lineTo(0.036, 0.... | 5 | 42 | 0.243637 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.