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_4b9246814f07a4b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.048, 0.31, 0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.689, 0).threePointArc((0, -0.689), (-0.689, 0)).threePointArc((0, 0.689), (0.689, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.048, 0.31, 0.215), normal=(0, -1, 0), xDir=(1, 0, ... | 6 | 62 | 0.586081 |
train_b6fb79538f0a5f31 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.382), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.643).lineTo(1, -0.647).lineTo(0.991, -0.647).lineTo(0.991, -0.654).lineTo(-0.99, -0.654).threePointArc((-0.997, -0.652), (-1, -0.646)).lineTo(-1, 0.654).lineTo(0.988, 0.654).lineTo(0.98... | 22 | 130 | 0.808125 |
train_18a182b343eefd0d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.268, -0.418, -0.15), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.531, 0.389).lineTo(0.56, -0.083).threePointArc((0.29, -0.062), (0.113, -0.013)).threePointArc((-0.01, 0), (-0.178, -0.09)).threePointArc((-0.28, -0.041), (-0.369, 0.03)).lineTo(-... | 5 | 50 | 0.679307 |
train_0ac51a846e7a1666 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.05, 0.862).threePointArc((0.218, 0.791), (0.332, 0.616)).lineTo(0.332, 0.106).threePointArc((0.38, 0.031), (0.494, 0)).lineTo(0.814, 0).threePointArc((0.938, -0.035), (1, -0.118)).li... | 7 | 67 | 0.270296 |
train_dceb1ebd9192762d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.344, -0.274, 0.183), normal=(-0.885, 0.427, 0.183), xDir=(-0.434, -0.901, 0))).moveTo(0.137, 0.436).threePointArc((0.356, 0.26), (0.401, -0.018)).threePointArc((0.211, -0.332), (-0.135, -0.455)).threePointArc((-0.142, -0.331), (-0.326, -0.173)).... | 10 | 88 | 0.997188 |
train_1a7e361f12042a88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.201).lineTo(1, 0.142).threePointArc((0.945, 0.099), (0.835, 0.08)).lineTo(0.668, 0.08).threePointArc((0.618, 0.072), (0.597, 0.052)).lineTo(0.597, -0.018).threePointArc((0.643, -0.0... | 12 | 59 | 0.095998 |
train_fc30d1e44994f79e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1, 0.484).workplane(offset=1.999).rect(1.706, 0.488).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.173, 1.124, -0.946), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.141, 0.969).lineT... | 3 | 16 | 1.179365 |
train_c516255feedd28db | import cadquery as cq
import math
result = cq.Workplane('XY').box(1.573, 2, 1.181)
result = result.edges().fillet(0.158)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.307).extrude(3.146, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 14 | 119 | 1.528991 |
train_1ddb28dfe8ad0241 | import cadquery as cq
import math
result = cq.Workplane('XZ').moveTo(1, 0.257).lineTo(0.877, 0).lineTo(1, -0.257).lineTo(0.297, -0.257).lineTo(0.297, 0.257).lineTo(1, 0.257).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = result.cut(cq.Workplane(cq.Plane(origin=(0.548, 0, 0), normal=(... | 10 | 36 | 0.888823 |
train_7e3ec45301601e13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.112, 0.082, 0.203), normal=(-0.719, -0.304, -0.625), xDir=(0.389, -0.921, 0))).moveTo(0.263, -0.052).lineTo(-0.131, 0.156).lineTo(-1.051, 0.208).lineTo(-0.788, 0.468).lineTo(0.131, 0.364).threePointArc((0.92, 0.156), (1.051, -0.468)).lineTo(0.26... | 9 | 78 | 0.477127 |
train_976377e25e5e3e24 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.24, -0.881, -0.009), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.033, 0.174).lineTo(0.122, 0.068).threePointArc((0.118, 0.061), (0.112, 0.054)).lineTo(0.1, 0.042).lineTo(0.082, 0.037).threePointArc((0.079, 0.028), (0.07, 0.025)).lineTo(0.041, 0... | 4 | 82 | 0.300789 |
train_29cd828b4efc2d49 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.672, 0.328).threePointArc((1, 0), (0.672, -0.328)).lineTo(-0.672, -0.328).threePointArc((-1, 0), (-0.672, 0.328)).lineTo(0.672, 0.328).close().extrude(0.476, taper=11.998, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, 0), normal... | 2 | 22 | 0.90437 |
train_9586750704ca05e0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.135, 0.088, 0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.865, 0.293).lineTo(0.865, 0.156).lineTo(0.186, 0.156).lineTo(0.186, -0.293).lineTo(-0.186, -0.293).lineTo(-0.186, 0.156).lineTo(-0.865, 0.156).lineTo(-0.865, 0.293).lineTo(0.865, 0.... | 6 | 56 | 0.180541 |
train_a0f0255287147daa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.056, 0.034, 0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.886, 0.625).lineTo(0.532, -0.781).threePointArc((-0.177, -0.938), (-0.886, -0.781)).lineTo(-0.177, 0.625).threePointArc((0.177, 0.938), (0.886, 0.625)).close().extrude(0.394, taper=... | 13 | 47 | 0.899076 |
train_5b2ddf0a357f1ee2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.332, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.569).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.332, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.132).extrude(0.71, both=True))
result = result.cut(c... | 8 | 39 | 1.649689 |
train_df1b85f23f5f0233 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.425), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.938, -0.14).lineTo(0.983, -0.181).lineTo(0.953, -0.304).lineTo(0.897, -0.308).lineTo(0.842, -0.437).lineTo(0.871, -0.491).lineTo(0.803, -0.597).lineTo(0.748, -0.583).lineTo(0.653, -0.6... | 2 | 79 | 2.00339 |
train_5dda443bebf39a13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.164, -0.466, -0.046), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.517, 0.095).threePointArc((0, -0.422), (-0.517, 0.095)).threePointArc((0, 0.608), (0.517, 0.095)).close().moveTo(-0.192, 0.326).threePointArc((-0.146, 0.281), (-0.192, 0.235)).lin... | 4 | 50 | 1.46811 |
train_28c80e36348a711b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.994, 0.044, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.312, 1.631).threePointArc((0.556, 1.54), (0.716, 1.364)).threePointArc((0.767, 1.132), (0.701, 0.88)).threePointArc((0.528, 0.645), (0.276, 0.462)).threePointArc((-0.019, 0.361), (-0.3... | 2 | 18 | 4.33513 |
train_c025bcd7d0d3258c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.254).lineTo(1, -0.254).lineTo(-0.021, -0.254).lineTo(-0.021, -0.085).lineTo(0.826, -0.085).lineTo(0.826, 0.085).lineTo(-0.021, 0.085).lineTo(-0.021, 0.254).lineTo(1, 0.254).close().... | 4 | 53 | 0.168004 |
train_9b24622eb9846f46 | 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.096, 0.196).lineTo(0.096, -0.039).lineTo(0.192, -0.039).lineTo(0.192, -0.117).lineTo(0.096, -0.117).lineTo(0.096, -0.196).lineTo(-0.096, -0.196).lineTo(-0.096, -0.117).lineTo(0, -0.117).lineTo... | 15 | 113 | 0.451138 |
train_1db851258d4ae171 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.627, 0.173, -0.711), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.164, 0.23).threePointArc((0.193, 0.216), (0.206, 0.184)).lineTo(0.206, 0.027).threePointArc((0.199, 0.008), (0.182, 0)).lineTo(0.127, 0).threePointArc((0.11, -0.008), (0.103, -0.0... | 11 | 221 | 1.065411 |
train_3d8caeea524322b5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.353), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.707).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.707).lineTo(-0.706, 0.707).lineTo(-0.706, 0.29).lineTo(0.706, 0.29).lineTo(0.706, 0.707).lineTo(1, 0.707).close().extrude(0.272, both=True)... | 7 | 73 | 0.464633 |
train_1fb8b1eb7a43ad73 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.043, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.58).lineTo(1, -0.58).lineTo(-1, -0.58).lineTo(-1, 0.531).threePointArc((-0.976, 0.566), (-0.942, 0.58)).lineTo(1, 0.58).close().extrude(0.579)
result = result.union(cq.Workplane(cq.... | 12 | 76 | 1.24931 |
train_9d234eca9fc40d9c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.912, 0.535).lineTo(1, 0.446).lineTo(1, -0.395).lineTo(0.86, -0.395).lineTo(0.86, -0.535).lineTo(-0.827, -0.535).lineTo(-1, -0.361).lineTo(-1, 0.428).threePointArc((-0.969, 0.503), (-0.894,... | 7 | 79 | 0.614149 |
train_dc110564ea3ec03c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.404), 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(1, 0.718).close().extrude(0.242)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), ... | 13 | 74 | 1.077496 |
train_9c2ea6c85aba54af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.07, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.494)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.07, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.572).extrude(1.483, both=True))
result = result.uni... | 10 | 46 | 0.871704 |
train_130a996b83dedb48 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.452).lineTo(0.862, 0).lineTo(1, -0.452).lineTo(0.48, -0.452).lineTo(0.48, 0.452).lineTo(1, 0.452).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))
result = res... | 10 | 68 | 1.208681 |
train_cfc995eb97dfec71 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.893), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.721, 1.585).lineTo(0.721, 0.284).lineTo(1, 0.284).lineTo(1, 0).lineTo(0.138, 0).lineTo(0.138, 1.585).lineTo(0.721, 1.585).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0... | 9 | 150 | 2.652112 |
train_ed5d2b58642c67ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.252, 0.221, 0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.264, 0.655).lineTo(0.545, -0.655).lineTo(-0.545, -0.655).lineTo(-0.264, 0.655).lineTo(0.264, 0.655).close().extrude(0.741, both=True)
result = result.union(cq.Workplane(cq.Plane(ori... | 6 | 62 | 0.999937 |
train_aef5a03d93a7ae81 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.369).lineTo(1, -0.347).threePointArc((0.98, -0.379), (0.948, -0.391)).lineTo(-1, -0.391).lineTo(-1, 0.37).threePointArc((-0.987, 0.385), (-0.972, 0.391)).lineTo(0.97, 0.391).threePointA... | 8 | 29 | 0.323631 |
train_a2ab81f27daa2d58 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.596, -0.242, -0.515), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.085, 0.83).lineTo(0.067, 0.74).lineTo(0.234, 0.681).lineTo(0.144, 0.529).lineTo(0.085, 0.362).lineTo(-0.067, 0.453).lineTo(-0.234, 0.512).lineTo(-0.144, 0.664).lineTo(-0.085, 0.... | 5 | 50 | 0.195732 |
train_f5157a8496ffb336 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.567, 0.117, -0.149), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.269, 0.859).lineTo(0.007, 0.74).lineTo(-0.202, 0.272).lineTo(-0.1, 0.212).threePointArc((-0.066, 0.152), (0.003, 0.15)).lineTo(0.153, 0.198).threePointArc((0.181, 0.136), (0.241... | 6 | 30 | 1.704153 |
train_c41f6875e3372514 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.318, 1.168).lineTo(0.318, 0.827).lineTo(0.313, 0.827).lineTo(0.313, 0.796).lineTo(0.331, 0.796).lineTo(0.331, 0.384).lineTo(0.518, 0.384).lineTo(0.518, 0).lineTo(0, 0).lineTo(0, 1.168).lineTo... | 4 | 179 | 0.509129 |
train_faa67662519c32cf | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(-0.325, 0.667).lineTo(-0.325, -0.278).lineTo(0.727, -0.278).lineTo(0.727, -0.667).lineTo(-0.727, -0.667).lineTo(-0.727, 0.667).lineTo(-0.325, 0.667).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.517, -0.489, -1.3),... | 15 | 98 | 2.26478 |
train_774df575079d7b7f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.007, -0.012, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.096, 0.016).threePointArc((0.075, 0.111), (0.075, -0.048)).lineTo(0.075, -0.095).threePointArc((0.053, -0.111), (0.032, -0.111)).lineTo(0.032, -0.032).threePointArc((0.075, 0), (0.0... | 3 | 17 | 0.030404 |
train_eb0074609622cb7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.481, 0.671).threePointArc((0.846, 0.519), (1, 0.152)).lineTo(1, -0.153).lineTo(0.481, -0.671).lineTo(-1, -0.671).lineTo(-1, 0.462).threePointArc((-0.937, 0.609), (-0.792, 0.671)).lineTo(0.... | 7 | 47 | 1.521209 |
train_35757da7b7807c41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.88, -0.305, -0.478), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.61).threePointArc((0.369, 0.457), (0.522, 0.088)).threePointArc((0.369, -0.281), (0, -0.434)).threePointArc((-0.369, -0.281), (-0.522, 0.088)).threePointArc((-0.369, 0.457), (0... | 4 | 43 | 1.158441 |
train_cc40339ae3df678d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.989, 0.191).lineTo(0.989, 0.118).lineTo(-0.624, 0.118).lineTo(-0.624, -0.118).lineTo(0.989, -0.118).lineTo(0.989, -0.191).lineTo(-0.989, -0.191).lineTo(-0.989, 0.191).lineTo(0.989, 0.191).... | 10 | 18 | 0.241752 |
train_4cbda7ca1d7c8aef | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.924, 0.348).lineTo(0.924, 0).lineTo(-0.924, 0).lineTo(-0.924, 0.348).lineTo(-0.86, 0.348).lineTo(-0.86, 0.064).lineTo(0.86, 0.064).lineTo(0.86, 0.348).lineTo(0.924, 0.348).close().extrude... | 7 | 56 | 0.300268 |
train_301308c42981498c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.839, 0.436).threePointArc((0.947, 0.391), (1, 0.284)).lineTo(1, -0.285).threePointArc((0.947, -0.392), (0.84, -0.436)).lineTo(-0.685, -0.436).threePointArc((-0.9, -0.344), (-1, -0.125)).li... | 4 | 49 | 0.510955 |
train_14b0edd2d981bddd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.004, -0.022, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.685, 0.894).threePointArc((0.956, 0.563), (0.945, 0.214)).lineTo(0.802, -0.179).lineTo(0.704, -0.514).threePointArc((0.203, -0.955), (-0.434, -0.817)).threePointArc((-0.956, -0.139), ... | 17 | 8 | 2.419737 |
train_a958d9f97b0afba2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.183, -0.02, 0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.288, 0.34).threePointArc((0.451, 0.177), (0.288, 0.014)).lineTo(-0.288, 0.014).threePointArc((-0.451, 0.177), (-0.288, 0.34)).lineTo(0.288, 0.34).close().extrude(0.431)
result = res... | 10 | 186 | 0.20502 |
train_32c982128db144dc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.019, 0.379, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 0.621).lineTo(0.483, 0.406).lineTo(0.631, 0).lineTo(0.483, -0.406).lineTo(0.109, -0.621).lineTo(-0.316, -0.547).lineTo(-0.593, -0.216).lineTo(-0.593, 0.216).lineTo(-0.316, 0.... | 5 | 41 | 0.660737 |
train_ac3efcd36325e7d0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.239, 0.54, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.408, 1.239).lineTo(0.609, 0.748).lineTo(0.132, 0.553).lineTo(0.314, 0.107).lineTo(0.791, 0.301).lineTo(0.992, -0.19).lineTo(-0.408, -0.761).lineTo(-0.609, -0.27).lineTo(-0.132, -0.076).... | 8 | 223 | 1.722012 |
train_13182a6184e710b4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.003, 0.954).lineTo(0.499, 0.824).lineTo(0.867, 0.463).lineTo(0.991, 0.01).lineTo(0.849, -0.493).lineTo(0.503, -0.822).lineTo(0.012, -0.954).lineTo(-0.474, -0.838).lineTo(-0.871, -0.456).l... | 4 | 124 | 0.463649 |
train_e44bcdaa82c65d62 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.877, 1).lineTo(0.877, -1).lineTo(0, -1).lineTo(0, -0.5).lineTo(-0.877, -0.5).lineTo(-0.877, 1).lineTo(0.877, 1).close().extrude(0.18, both=True)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.65, -0.74, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0... | 19 | 92 | 1.024299 |
train_4d609af735834ac2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.899, 0.103).threePointArc((0.969, 0.074), (1, 0.002)).lineTo(1, -0.002).threePointArc((0.969, -0.074), (0.898, -0.103)).lineTo(-0.898, -0.103).threePointArc((-0.969, -0.074), (-1, -0.002))... | 15 | 48 | 0.03818 |
train_6c730b011232c1e5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.167), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.111, 0.335).lineTo(0.111, 0.183).lineTo(0.447, 0.183).lineTo(0.447, 0).lineTo(-0.447, 0).lineTo(-0.447, 0.183).lineTo(-0.111, 0.183).lineTo(-0.111, 0.335).lineTo(0.111, 0.335).close().ext... | 9 | 112 | 0.285646 |
train_332d388fe65c45da | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.413), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.398).lineTo(1, 0.309).threePointArc((0.971, 0.285), (0.901, 0.274)).lineTo(-0.189, 0.274).threePointArc((-0.482, 0.231), (-0.605, 0.129)).lineTo(-0.605, -0.151).threePointArc((-0.5, -0.... | 4 | 29 | 0.506562 |
train_320128d2d7253618 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.219, 0, -0.113), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.248, 0.427).lineTo(0.248, 0.248).lineTo(0.394, 0.248).lineTo(0.394, 0).lineTo(0, 0).lineTo(0, 0.427).lineTo(0.248, 0.427).close().extrude(1, both=True)
result = result.cut(cq.Workpla... | 9 | 150 | 0.243129 |
train_3885dc43143f3f64 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.37, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.33, 0.629).lineTo(0.33, -0.528).threePointArc((0.3, -0.599), (0.229, -0.629)).lineTo(-0.233, -0.629).threePointArc((-0.302, -0.601), (-0.33, -0.532)).lineTo(-0.33, 0.556).threePointArc(... | 5 | 46 | 0.34914 |
train_9dd0e0ee7ea60198 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.364)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.649).extrude(1.094, both=True))
result = result.union(cq.Workpl... | 10 | 52 | 0.871483 |
train_00974429f1c38a92 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.173, 0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.232, 0.796).lineTo(-0.232, 0.584).lineTo(-0.116, 0.478).lineTo(0.81, 0.265).threePointArc((0.925, 0.159), (0.925, -0.053)).threePointArc((0.695, -0.69), (0.579, -0.796)).threePointArc... | 5 | 56 | 0.465952 |
train_4a6fc4635cc4e417 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.042, 0, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.511, 0.597).threePointArc((0.652, 0.53), (0.712, 0.373)).lineTo(0.712, -0.055).threePointArc((0.674, -0.156), (0.583, -0.199)).lineTo(0.467, -0.199).threePointArc((0.389, -0.236), (0.... | 6 | 102 | 0.79679 |
train_094757e5fc1d0e6e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.033, -0.669).lineTo(-0.659, -0.34).lineTo(-1, 0.194).lineTo(-0.418, 0.669).lineTo(0.426, 0.609).lineTo(1, 0.154).lineTo(0.759, -0.45).close().moveTo(-0.133, -0.025).lineTo(-0.247, -0.183)... | 17 | 224 | 0.552602 |
train_9ac024c2cd40fc84 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.362, -0.458, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.724).threePointArc((0.512, 0.512), (0.724, 0)).lineTo(0.344, 0).threePointArc((0.243, 0.243), (0, 0.344)).lineTo(0, 0.724).close().extrude(2)
result = result.union(cq.Workplane(cq... | 7 | 41 | 0.905384 |
train_6ec5642e7fc28e30 | 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(-0.352, 0.138).lineTo(-0.352, -0.038).threePointArc((-0.267, -0.062), (-0.065, -0.072)).lineTo(0.891, -0.072).threePointArc((0.962, -0.075), (1, -0.084)).lineTo(1, -0.137).threePointArc((0.96... | 3 | 62 | 0.192401 |
train_13972f88f192b107 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.015, -0.421), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.412, -0.677).lineTo(-0.411, -0.666).lineTo(-0.41, -0.654).lineTo(-0.411, -0.643).lineTo(-0.414, -0.632).lineTo(-0.417, -0.621).lineTo(-0.422, -0.61).lineTo(-0.428, -0.599).lineTo(-0.... | 7 | 171 | 0.545793 |
train_ee7fa4ed2d260bf7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.396, 0.001, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.612, 0.997).threePointArc((-0.427, 0.941), (-0.349, 0.81)).lineTo(-0.349, 0.087).threePointArc((-0.313, 0.026), (-0.228, 0)).lineTo(0.183, 0).threePointArc((0.3, -0.035), (0.349, ... | 11 | 17 | 0.579859 |
train_dfde7f4f66a8401f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.055, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, 0.814).lineTo(0.944, 0.479).lineTo(0.168, 0.479).lineTo(0.168, -0.814).lineTo(-0.168, -0.814).lineTo(-0.168, 0.479).lineTo(-0.944, 0.479).lineTo(-0.944, 0.814).lineTo(0.944, 0.814... | 23 | 186 | 0.924052 |
train_7395b5680074f431 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.506, 0.009, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.618, 0.904).lineTo(-0.426, -0.904).lineTo(-0.618, 0.69).lineTo(0.618, 0.904).close().extrude(0.383)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.506, 0.009, -0.235), norma... | 13 | 177 | 0.77121 |
train_9d7505d3a08b12a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.212, 0.331, -0.704), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.063, 0.668).threePointArc((-0.019, 0.649), (0, 0.605)).lineTo(0, 0.459).threePointArc((0.017, 0.418), (0.059, 0.401)).lineTo(0.179, 0.401).threePointArc((0.241, 0.375), (0.267, 0... | 5 | 118 | 1.466697 |
train_0f52140606dfb487 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.04, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.64, 0.32).threePointArc((0.959, 0.16), (0.959, -0.32)).lineTo(-0.959, -0.32).lineTo(-0.959, 0.16).lineTo(-0.8, 0.32).lineTo(-0.64, 0.32).lineTo(-0.48, 0.16).lineTo(-0.32, 0.32).lineTo(... | 15 | 268 | 0.225429 |
train_8558abf859ddda7f | 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.683, 0.143).workplane(offset=2).rect(0.556, 0.214).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.085).extrude(0.427, both=Tr... | 3 | 13 | 0.193922 |
train_9922eeb69af096af | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.248, -0.105, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.195, 0.295).lineTo(0.245, 0.268).threePointArc((0.25, 0.264), (0.251, 0.257)).lineTo(0.25, 0.21).threePointArc((0.249, 0.206), (0.247, 0.202)).lineTo(-0.106, -0.237).threePointArc((-0... | 17 | 136 | 1.083116 |
train_d8b49a1b9389042d | 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(0.785, 0.598).threePointArc((0.93, 0.537), (1, 0.388)).lineTo(1, -0.401).threePointArc((0.934, -0.541), (0.799, -0.598)).lineTo(-0.843, -0.598).threePointArc((-0.948, -0.554), (-1, -0.45)).l... | 21 | 565 | 0.360152 |
train_41d0dc80240cc947 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.56, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.289, 0).threePointArc((0.293, -0.067), (0.302, -0.145)).threePointArc((0.301, -0.24), (0.269, -0.337)).threePointArc((0.198, -0.41), (0.1, -0.44)).threePointArc((0, -0.423), (-0.086, -0.377... | 6 | 120 | 1.377349 |
train_a7d08251aad2973c | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.7).extrude(1, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.422).extrude(0.594, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.714, 0.358, 0), normal=(0, -1, 0)... | 10 | 50 | 2.263398 |
train_fdfaaf26f9b31c9c | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.077, 0.832).threePointArc((0.163, 0.794), (0.2, 0.704)).lineTo(0.2, 0.526).threePointArc((0.232, 0.449), (0.306, 0.416)).lineTo(0.843, 0.416).threePointArc((0.953, 0.368), (1, 0.253)).lineTo(1, -0.43).threePointArc((0.884, -0.712), (0.614, -0.832)).... | 7 | 56 | 0.687453 |
train_d7f4219446efb2b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.102, -0.089, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.548, -0.635).threePointArc((-0.896, 0.588), (0.305, 0.381)).lineTo(0.887, -0.029).threePointArc((0.895, -0.038), (0.896, -0.051)).lineTo(0.88, -0.153).threePointArc((0.875, -0.16... | 19 | 315 | 0.156558 |
train_cb773c9a68ad7799 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.024, 0.072).lineTo(0.061, 0.045).lineTo(0.076, 0).lineTo(0.061, -0.045).lineTo(0.024, -0.072).lineTo(-0.024, -0.072).lineTo(-0.061, -0.045).lineTo(-0.076, 0).lineTo(-0.061, 0.045).lineTo(-0.024, 0.072).lineTo(0.024, 0.072).close().extrude(1, both=Tr... | 7 | 32 | 0.031621 |
train_0493559bd43b3f87 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.271, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.081, 0.728).threePointArc((-0.024, 0.702), (0, 0.639)).lineTo(0, 0.099).threePointArc((0.027, 0.029), (0.089, 0)).lineTo(0.278, 0).threePointArc((0.313, 0.016), (0.328, 0.055)).lineT... | 16 | 264 | 0.279886 |
train_27eb5eb54cf69a7a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.423, 1).lineTo(0.595, 0.828).lineTo(0.595, -0.799).lineTo(0.394, -1).lineTo(-0.378, -1).threePointArc((-0.531, -0.936), (-0.595, -0.783)).lineTo(-0.595, 0.794).lineTo(-0.389, 0.794).lineTo(... | 10 | 99 | 0.941493 |
train_07812e1f176d2969 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.928, 0.405).lineTo(0.928, 0.341).lineTo(1, 0.341).lineTo(1, -0.343).lineTo(0.929, -0.343).lineTo(0.929, -0.405).lineTo(-0.95, -0.405).lineTo(-0.95, -0.364).lineTo(-1, -0.364).lineTo(-1, 0.... | 16 | 154 | 0.346565 |
train_b6a2a00d76d608e0 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.128).extrude(0.937, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.33).extrude(1, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0... | 5 | 9 | 0.250844 |
train_b918b0646f754e3c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.009, -0.007, 0.521), normal=(0.727, -0.592, -0.349), xDir=(0.631, 0.776, 0))).moveTo(-0.109, 0.225).spline([(-0.109, 0.225), (-0.018, 0.354), (0.058, 0.258), (0.158, 0.187)]).lineTo(0.151, -0.277).lineTo(0.049, -0.312).lineTo(-0.015, -0.318).lin... | 4 | 41 | 0.211669 |
train_e486e17df82a2354 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.227, 0.437, 0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.004, 0.333).lineTo(0.188, 0.264).lineTo(0.171, 0.043).lineTo(-0.02, -0.019).lineTo(-0.188, 0.069).lineTo(-0.149, 0.248).lineTo(-0.004, 0.333).close().extrude(0.474)
result = result... | 8 | 98 | 0.350786 |
train_a9b89b3ca5418609 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.001, 1.774, 0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.241).threePointArc((0.182, 0.182), (0.241, 0)).threePointArc((0.182, -0.182), (0, -0.241)).threePointArc((-0.182, -0.182), (-0.241, 0)).threePointArc((-0.182, 0.182), (0, 0.241))... | 4 | 36 | 0.173563 |
train_17e3add1ad916636 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.441, -0.441), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.765, 0.558).lineTo(0.901, 0.42).lineTo(0.901, -0.558).lineTo(-0.835, -0.558).threePointArc((-0.882, -0.537), (-0.901, -0.49)).lineTo(-0.901, 0.384).threePointArc((-0.85, 0.507), (-0.72... | 11 | 64 | 2.074802 |
train_b86b53616bb21aa3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.428, 2).extrude(0.194)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.055, -0.159).lineTo(0.055, -0.84).lineTo(-0.055, -0.84).c... | 7 | 25 | 0.135827 |
train_a654898ae7ac91df | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.814), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.171, 0.868).lineTo(1, -0.038).lineTo(0.094, -0.868).lineTo(-0.064, -0.513).lineTo(0.193, -0.611).lineTo(0.132, 0).lineTo(-0.026, 0.355).lineTo(0.231, 0.256).lineTo(0.072, 0.611).lineTo(0.1... | 2 | 29 | 2.562581 |
train_ded258daab33f7e4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.008, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.924, 0.237).lineTo(0.944, 0.203).lineTo(0.792, 0.104).lineTo(0.776, -0.005).lineTo(0.397, -0.237).lineTo(0.331, -0.128).lineTo(0.924, 0.237).close().revolve(angleDegrees=360, axisStart=(0... | 5 | 74 | 0.318968 |
train_fb9149e7ec4743e1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.255, 0.463, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.071, 0.48).threePointArc((-0.021, 0.463), (0, 0.424)).lineTo(0, 0.075).threePointArc((0.028, 0.022), (0.095, 0)).lineTo(0.198, 0).threePointArc((0.274, 0.025), (0.306, 0.084)).lin... | 13 | 392 | 0.359941 |
train_6e2a3bfc03cf82a7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.069, -0.135, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.733, 0.464).threePointArc((0.733, 0.794), (0.124, -0.494)).lineTo(-0.247, -0.838).threePointArc((-0.348, -0.863), (-0.421, -0.629)).lineTo(-0.012, -0.25).threePointArc((0.506, -0.005... | 6 | 43 | 0.299843 |
train_dee9eb8ffc7e7683 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.005, -0.07, -0.37), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.174, 0.5).lineTo(-0.174, 0.301).threePointArc((0.174, 0.301), (0.52, 0.1)).lineTo(0.868, -0.301).lineTo(0.52, -0.5).lineTo(-0.174, -0.301).lineTo(-0.52, -0.1).lineTo(-0.868, 0.1).... | 11 | 90 | 0.682291 |
train_5c35c4d026327348 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.757, -0.725, -2.252), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.05, 0.026).lineTo(-0.856, -1.286).threePointArc((-1.251, -0.861), (-1.05, -0.026)).lineTo(0.856, 1.286).threePointArc((1.251, 0.861), (1.05, 0.026)).close().extrude(4.999, both=T... | 13 | 54 | 0.281567 |
train_48aaf3c536889baa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.028, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.016, 1.028).lineTo(0.798, 0.246).lineTo(0.798, -0.39).lineTo(0.16, -1.028).lineTo(-0.332, -1.028).lineTo(-0.798, -0.562).lineTo(-0.798, 0.246).threePointArc((-0.568, 0.802), (-0.016, 1... | 6 | 21 | 1.022314 |
train_02303ebac133ba13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.137).lineTo(1, 0.099).lineTo(0.167, 0.099).lineTo(0.167, -0.137).lineTo(-0.167, -0.137).lineTo(-0.167, 0.099).lineTo(-1, 0.099).lineTo(-1, 0.137).lineTo(1, 0.137).close().extrude(0.206)... | 1 | 10 | 0.031894 |
train_beb6ae05afa44d82 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.915).threePointArc((0.746, 0.687), (0.995, 0)).threePointArc((0.746, -0.687), (0, -0.915)).threePointArc((-0.746, -0.687), (-0.995, 0)).threePointArc((-0.746, 0.687), (0, 0.915)).close()... | 26 | 176 | 0.151161 |
train_b5302c7a8f4b470b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.669, -0.125).lineTo(0.615, -0.294).lineTo(0.748, -0.415).lineTo(0.624, -0.586).lineTo(0.468, -0.497).lineTo(0.326, -0.601).lineTo(0.362, -0.777).lineTo(0.162, -0.843).lineTo(0.088, -0.678)... | 7 | 248 | 1.564433 |
train_e028472e888ca58a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.35, -0.279, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.699).threePointArc((0.494, 0.494), (0.699, 0)).lineTo(0.283, 0).threePointArc((0.2, 0.2), (0, 0.283)).lineTo(0, 0.699).close().extrude(2)
result = result.union(cq.Workplane(cq.Plan... | 5 | 24 | 0.682092 |
train_5586dc9bf68ef2a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.245).lineTo(1, -0.245).lineTo(-1, -0.245).lineTo(-1, 0.245).lineTo(-0.386, 0.245).lineTo(-0.386, -0.132).lineTo(0.386, -0.132).lineTo(0.386, 0.245).lineTo(1, 0.245).close().extrude(0.35... | 11 | 25 | 0.243526 |
train_3dacdedbd17e7de9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.145, -0.015, -0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 0.227).lineTo(0.855, -0.227).lineTo(-0.855, -0.227).lineTo(-0.855, 0.227).lineTo(0.855, 0.227).close().extrude(0.224)
result = result.union(cq.Workplane(cq.Plane(origin=(0.14... | 17 | 73 | 0.333416 |
train_022e324ad3a6042b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.562, 0.428).lineTo(0.919, 0.387).lineTo(1, 0.149).lineTo(1, 0).lineTo(0.717, 0).lineTo(0.717, 0.128).lineTo(0.617, 0.387).lineTo(0, 0.145).lineTo(0, 0.428).lineTo(0.562, 0.428).close().re... | 2 | 20 | 0.675296 |
train_de7adf744309a6eb | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.274, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.182, 0.703).threePointArc((0.286, 0.667), (0.384, 0.617)).threePointArc((0.473, 0.552), (0.551, 0.474)).threePointArc((0.616, 0.386), (0.667, 0.289)).threePointArc((0.703, 0.185), (0.7... | 7 | 130 | 0.629726 |
train_1be26dd589dfe266 | import cadquery as cq
import math
result = cq.Workplane('XY').moveTo(0.909, 0.299).lineTo(0.909, 0.174).lineTo(-0.409, 0.174).lineTo(-0.409, -0.174).lineTo(0.909, -0.174).lineTo(0.909, -0.299).lineTo(-0.909, -0.299).lineTo(-0.909, 0.299).lineTo(0.909, 0.299).close().extrude(0.897, taper=-5.766, both=True)
result = resu... | 10 | 133 | 1.317496 |
train_488c78582b05b7c4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.115, 0.403, 0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.154, 0.582).lineTo(0.275, 0.399).threePointArc((0.289, 0.342), (0.244, 0.299)).lineTo(0.099, 0.226).threePointArc((0.065, 0.192), (0.076, 0.148)).lineTo(0.195, -0.032).threePointArc... | 8 | 142 | 1.207809 |
train_f928fcd8c148f3cd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.314, 1).lineTo(-0.314, -0.351).lineTo(0.981, -0.351).lineTo(0.981, -1).lineTo(-0.981, -1).lineTo(-0.981, 1).lineTo(-0.314, 1).close().extrude(1.5)
result = result.cut(cq.Workplane(cq.Plane... | 10 | 15 | 3.135369 |
train_75c9c92128741293 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.816), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.914)
result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.816), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.5, 0.867), (-1.5, 0.867), (-2, 0), (-1.5, -0.867... | 8 | 74 | 1.295891 |
train_3e8c0c39703bc174 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.003, 0.031, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.114, -0.169).lineTo(0.245, -0.023).lineTo(-0.048, 0.237).lineTo(0.205, 0.169).lineTo(0.313, 0.231).lineTo(0.351, 0.039).lineTo(0.436, 0.017).lineTo(0.667, -0.135).threePointArc((0.751... | 8 | 103 | 0.460657 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.