stem stringlengths 22 39 | family stringlengths 3 20 | difficulty stringclasses 3
values | base_plane stringclasses 1
value | split stringclasses 1
value | feature_tags stringlengths 59 150 | feature_count int64 0 6 | ops_used stringlengths 19 452 | gt_code stringlengths 133 25.8k | composite_png imagewidth (px) 268 268 |
|---|---|---|---|---|---|---|---|---|---|
synth_ball_knob_000274_s9999 | ball_knob | medium | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(13.9)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -34.7), rotate=cq.Vector(0, 0, 0))
.cylinder(41.6, 4.0)
)
)
# Export
show_object(result) | |
synth_ball_knob_000380_s9999 | ball_knob | medium | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(34.9)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -57.25), rotate=cq.Vector(0, 0, 0))
.cylinder(44.7, 9.2)
)
)
# Export
show_object(result) | |
synth_ball_knob_000404_s9999 | ball_knob | hard | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(19.9)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -34.1), rotate=cq.Vector(0, 0, 0))
.cylinder(28.4, 5.9)
)
)
# Export
show_object(result) | |
synth_ball_knob_000622_s9999 | ball_knob | hard | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(21.1)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -51.85), rotate=cq.Vector(0, 0, 0))
.cylinder(61.5, 5.8)
)
)
# Export
show_object(result) | |
synth_ball_knob_000701_s9999 | ball_knob | medium | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(30.0)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -55.2), rotate=cq.Vector(0, 0, 0))
.cylinder(50.4, 10.9)
)
)
# Export
show_object(result) | |
synth_ball_knob_000768_s9999 | ball_knob | medium | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(20.8)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -42.75), rotate=cq.Vector(0, 0, 0))
.cylinder(43.9, 5.4)
)
)
# Export
show_object(result) | |
synth_ball_knob_000796_s9999 | ball_knob | hard | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(37.4)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -63.4), rotate=cq.Vector(0, 0, 0))
.cylinder(52.0, 13.4)
)
)
# Export
show_object(result) | |
synth_bearing_retainer_cap_000056_s9999 | bearing_retainer_cap | medium | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true, "rotational": true, "pattern_like": true} | 4 | ["cylinder", "union", "cut", "cut", "cut", "cut", "faces", "chamfer", "workplane", "hole", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(5.8, 58.3)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 20.3), rotate=cq.Vector(0, 0, 0))
.cylinder(35.8, 28.45)
)
.cut(
cq.Workplane("XY")
.transformed(offset=cq.... | |
synth_bearing_retainer_cap_000225_s9999 | bearing_retainer_cap | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": true, "rotational": false, "pattern_like": true} | 4 | ["cylinder", "union", "cut", "cut", "faces", "chamfer", "workplane", "hole", "cut", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(48.6, 36.2)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -24.8), rotate=cq.Vector(0, 0, 0))
.moveTo(81.441, -17.133)
.threePointArc((94.85, 0.0), (81.441, 17.133))
.li... | |
synth_bearing_retainer_cap_000260_s9999 | bearing_retainer_cap | medium | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true, "rotational": false, "pattern_like": true} | 3 | ["cylinder", "union", "cut", "cut", "faces", "chamfer", "workplane", "hole", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(37.4, 17.25)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -19.2), rotate=cq.Vector(0, 0, 0))
.moveTo(42.945, -10.05)
.threePointArc((51.4, 0.0), (42.945, 10.05))
.line... | |
synth_bearing_retainer_cap_000450_s9999 | bearing_retainer_cap | medium | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true, "rotational": true, "pattern_like": true} | 4 | ["cylinder", "union", "cut", "cut", "cut", "cut", "cut", "cut", "cut", "cut", "faces", "chamfer", "workplane", "hole", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(10.8, 52.4)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 33.6), rotate=cq.Vector(0, 0, 0))
.cylinder(57.4, 20.8)
)
.cut(
cq.Workplane("XY")
.transformed(offset=cq.... | |
synth_bearing_retainer_cap_000577_s9999 | bearing_retainer_cap | medium | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true, "rotational": false, "pattern_like": true} | 3 | ["cylinder", "union", "union", "union", "cut", "cut", "faces", "chamfer", "workplane", "hole", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(70.0, 35.4)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -31.4), rotate=cq.Vector(0, 0, 0))
.box(148.7, 24.8, 8.2)
)
.union(
cq.Workplane("XY")
.transformed(offset... | |
synth_bearing_retainer_cap_000869_s9999 | bearing_retainer_cap | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": true, "rotational": false, "pattern_like": true} | 4 | ["cylinder", "union", "union", "union", "cut", "cut", "faces", "chamfer", "workplane", "hole", "cut", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(21.5, 23.65)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -9.0), rotate=cq.Vector(0, 0, 0))
.box(126.0, 22.9, 4.5)
)
.union(
cq.Workplane("XY")
.transformed(offset... | |
synth_bevel_gear_000481_s9999 | bevel_gear | medium | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": false, "rotational": true} | 3 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole", "workplane", "circle", "cutBlind", "workplane", "center", "rect", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(17.653, -2.063), (18.088, -1.324), (18.261, -1.321), (18.777, -1.247), (19.611, -1.009), (20.723, -0.52), (20.73, 0.0), (20.723, 0.52), (19.611, 1.009), (18.777, 1.247), (18.261, 1.321), (18.088, 1.324), (17.653, 2.063), (17.905, 2.883), (18.074, ... | |
synth_bevel_gear_000594_s9999 | bevel_gear | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false, "rotational": true} | 2 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(18.249, -4.498), (19.003, -2.595), (19.307, -2.6), (20.209, -2.472), (21.654, -2.0), (23.529, -0.995), (23.55, 0.0), (23.529, 0.995), (21.654, 2.0), (20.209, 2.472), (19.307, 2.6), (19.003, 2.595), (18.249, 4.498), (18.032, 6.533), (18.304, 6.67),... | |
synth_bevel_gear_000725_s9999 | bevel_gear | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": false, "rotational": true} | 3 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole", "workplane", "center", "rect", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(42.267, -4.298), (42.88, -2.816), (43.26, -2.807), (44.389, -2.646), (46.22, -2.137), (48.668, -1.092), (48.68, 0.0), (48.668, 1.092), (46.22, 2.137), (44.389, 2.646), (43.26, 2.807), (42.88, 2.816), (42.267, 4.298), (42.569, 5.873), (42.939, 5.95... | |
synth_bevel_gear_000830_s9999 | bevel_gear | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false, "rotational": true} | 2 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(36.495, -3.836), (37.128, -2.501), (37.463, -2.494), (38.459, -2.352), (40.073, -1.9), (42.229, -0.973), (42.24, 0.0), (42.229, 0.973), (40.073, 1.9), (38.459, 2.352), (37.463, 2.494), (37.128, 2.501), (36.495, 3.836), (36.836, 5.273), (37.163, 5.... | |
synth_bevel_gear_000847_s9999 | bevel_gear | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false, "rotational": true} | 2 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(29.169, -3.172), (29.764, -2.059), (30.038, -2.053), (30.852, -1.937), (32.171, -1.566), (33.93, -0.804), (33.94, 0.0), (33.93, 0.804), (32.171, 1.566), (30.852, 1.937), (30.038, 2.053), (29.764, 2.059), (29.169, 3.172), (29.511, 4.387), (29.777, ... | |
synth_bevel_gear_000854_s9999 | bevel_gear | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": false, "rotational": true} | 3 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole", "workplane", "center", "rect", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(21.279, -2.398), (21.783, -1.549), (21.988, -1.545), (22.596, -1.458), (23.58, -1.18), (24.893, -0.607), (24.9, 0.0), (24.893, 0.607), (23.58, 1.18), (22.596, 1.458), (21.988, 1.545), (21.783, 1.549), (21.279, 2.398), (21.582, 3.337), (21.781, 3.3... | |
synth_bevel_gear_000934_s9999 | bevel_gear | medium | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": false, "rotational": true} | 3 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole", "workplane", "circle", "cutBlind", "workplane", "center", "rect", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(10.46, -1.657), (10.759, -1.008), (10.884, -1.007), (11.255, -0.954), (11.853, -0.774), (12.644, -0.399), (12.65, 0.0), (12.644, 0.399), (11.853, 0.774), (11.255, 0.954), (10.884, 1.007), (10.759, 1.008), (10.46, 1.657), (10.544, 2.366), (10.663, ... | |
synth_bolt_000995_s9999 | bolt | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["polygon", "extrude", "union"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polygon(6, 27.2)
.extrude(10.5)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0, 0, -25.15), rotate=cq.Vector(0, 0, 0))
.cylinder(50.3, 7.25)
)
)
# Export
show_object(result) | |
synth_cable_routing_panel_000121_s9999 | cable_routing_panel | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": true, "has_chamfer": true, "pattern_like": true} | 5 | ["box", "edges", "chamfer", "edges", "fillet", "workplane", "center", "rarray", "rect", "cutThruAll", "workplane", "center", "rarray", "rect", "cutThruAll", "workplane", "rarray", "hole", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(205.7, 88.2, 2.5)
.edges(">Z")
.chamfer(0.4)
.edges("|Z")
.fillet(0.4)
.faces(">Z").workplane()
.center(0.0, 18.9)
.rarray(69.35, 1, 3, 1)
.rect(48.5, 10.4)
.cutThruAll()
.faces(">Z").workplane()
.center(0.0, -... | |
synth_cable_routing_panel_000369_s9999 | cable_routing_panel | medium | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": true, "pattern_like": true} | 4 | ["box", "edges", "chamfer", "workplane", "center", "rarray", "rect", "cutThruAll", "workplane", "center", "rarray", "rect", "cutThruAll", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(245.6, 176.6, 4.3)
.edges(">Z")
.chamfer(0.3)
.faces(">Z").workplane()
.center(0.0, 35.9)
.rarray(33.25, 1, 6, 1)
.rect(48.1, 14.2)
.cutThruAll()
.faces(">Z").workplane()
.center(0.0, -35.9)
.rarray(33.25, 1, 6, 1)... | |
synth_cable_routing_panel_000938_s9999 | cable_routing_panel | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": true, "has_chamfer": true, "pattern_like": true} | 5 | ["box", "edges", "chamfer", "edges", "fillet", "workplane", "center", "rarray", "rect", "cutThruAll", "workplane", "center", "rarray", "rect", "cutThruAll", "workplane", "rarray", "hole", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(268.9, 65.0, 2.1)
.edges(">Z")
.chamfer(0.5)
.edges("|Z")
.fillet(0.4)
.faces(">Z").workplane()
.center(0.0, 17.7)
.rarray(117.06, 1, 3, 1)
.rect(21.2, 7.7)
.cutThruAll()
.faces(">Z").workplane()
.center(0.0, -... | |
synth_cam_000305_s9999 | cam | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": false} | 2 | ["polyline", "close", "extrude", "union", "workplane", "hole", "workplane", "pushPoints", "rect", "cutThruAll", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(23.111, 0.0), (23.02, 2.267), (22.738, 4.523), (22.298, 6.764), (21.747, 9.008), (21.131, 11.295), (20.472, 13.679), (19.733, 16.195), (18.805, 18.805), (17.531, 21.361), (15.781, 23.618), (13.529, 25.311), (10.88, 26.266), (8.034, 26.484), (5.198... | |
synth_cam_000358_s9999 | cam | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 1 | ["polyline", "close", "extrude", "union", "workplane", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(34.9, 0.0), (34.635, 4.046), (33.844, 8.023), (32.54, 11.863), (30.747, 15.5), (28.494, 18.872), (25.82, 21.92), (22.772, 24.594), (19.4, 26.847), (15.763, 28.64), (11.923, 29.944), (7.946, 30.735), (3.9, 31.0), (-0.146, 30.735), (-4.123, 29.944),... | |
synth_cam_000389_s9999 | cam | medium | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": false} | 2 | ["polyline", "close", "extrude", "union", "workplane", "hole", "workplane", "pushPoints", "rect", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(27.21, 0.0), (27.095, 2.669), (26.737, 5.318), (26.155, 7.934), (25.374, 10.51), (24.421, 13.053), (23.313, 15.578), (22.051, 18.096), (20.602, 20.602), (18.912, 23.044), (16.919, 25.322), (14.588, 27.293), (11.935, 28.813), (9.034, 29.78), (6.001... | |
synth_cam_000894_s9999 | cam | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 1 | ["polyline", "close", "extrude", "union", "workplane", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(25.5, 0.0), (25.337, 2.48), (24.853, 4.918), (24.054, 7.271), (22.954, 9.5), (21.574, 11.566), (19.935, 13.435), (18.066, 15.074), (16.0, 16.454), (13.771, 17.554), (11.418, 18.353), (8.98, 18.837), (6.5, 19.0), (4.02, 18.837), (1.582, 18.353), (-... | |
synth_clevis_000157_s9999 | clevis | easy | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["box", "workplane", "rect", "cutBlind", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(52.3, 43.3, 52.599999999999994)
.faces(">Z").workplane()
.rect(38.1, 44.3)
.cutBlind(-35.4)
.faces(">Z").workplane()
.pushPoints([(-22.6, 0.0), (22.6, 0.0)])
.hole(2.4)
)
# Export
show_object(result) | |
synth_clevis_000822_s9999 | clevis | easy | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["box", "workplane", "rect", "cutBlind", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(54.5, 40.7, 63.4)
.faces(">Z").workplane()
.rect(15.5, 41.7)
.cutBlind(-23.5)
.faces(">Z").workplane()
.pushPoints([(-17.5, 0.0), (17.5, 0.0)])
.hole(9.5)
)
# Export
show_object(result) | |
synth_clevis_000923_s9999 | clevis | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": true} | 2 | ["box", "workplane", "rect", "cutBlind", "faces", "edges", "chamfer", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(67.80000000000001, 38.8, 82.7)
.faces(">Z").workplane()
.rect(33.6, 39.8)
.cutBlind(-47.0)
.faces(">Z")
.edges(">Z")
.chamfer(2.0)
.faces(">Z").workplane()
.pushPoints([(-25.35, 0.0), (25.35, 0.0)])
.hole(4.1)
)
# Exp... | |
synth_connecting_rod_000118_s9999 | connecting_rod | hard | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 1 | ["cylinder", "union", "union", "workplane", "hole", "cut", "union", "union", "faces", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(16.9, 19.6)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(34.8, 0, 0), rotate=cq.Vector(0, 0, 0))
.box(31.4, 12.6, 16.9)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.V... | |
synth_connecting_rod_000189_s9999 | connecting_rod | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 1 | ["cylinder", "union", "union", "workplane", "hole", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(8.8, 11.2)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(29.7, 0, 0), rotate=cq.Vector(0, 0, 0))
.box(38.0, 5.8, 8.8)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vect... | |
synth_connecting_rod_000333_s9999 | connecting_rod | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 1 | ["cylinder", "union", "union", "workplane", "hole", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(11.5, 22.3)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(58.0, 0, 0), rotate=cq.Vector(0, 0, 0))
.box(72.4, 16.6, 11.5)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.V... | |
synth_connecting_rod_000484_s9999 | connecting_rod | hard | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 1 | ["cylinder", "union", "union", "workplane", "hole", "cut", "union", "union", "faces", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.cylinder(23.6, 24.5)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(71.05, 0, 0), rotate=cq.Vector(0, 0, 0))
.box(94.1, 11.2, 23.6)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.... | |
synth_connector_faceplate_000819_s9999 | connector_faceplate | easy | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": false} | 2 | ["box", "workplane", "center", "rect", "cutThruAll", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(231.9, 108.2, 2.2)
.faces(">Z").workplane()
.center(-6.8, 0.0)
.rect(131.8, 43.4)
.cutThruAll()
.faces(">Z").workplane()
.pushPoints([(100.15, 38.3), (100.15, -38.3), (-100.15, 38.3), (-100.15, -38.3)])
.hole(6.0)
)
# Export
... | |
synth_connector_faceplate_000867_s9999 | connector_faceplate | medium | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": true} | 3 | ["box", "edges", "chamfer", "workplane", "center", "rect", "cutThruAll", "workplane", "center", "rect", "cutThruAll", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(139.2, 114.3, 3.4)
.edges(">Z")
.chamfer(0.9)
.faces(">Z").workplane()
.center(-26.7, 0.0)
.rect(30.2, 45.6)
.cutThruAll()
.faces(">Z").workplane()
.center(23.1, 0.0)
.rect(38.2, 62.6)
.cutThruAll()
.faces(">Z"... | |
synth_cruciform_000199_s9999 | cruciform | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["polyline", "close", "extrude", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([[16.15, 16.15], [70.1, 16.15], [70.1, -16.15], [16.15, -16.15], [16.15, -70.1], [-16.15, -70.1], [-16.15, -16.15], [-70.1, -16.15], [-70.1, 16.15], [-16.15, 16.15], [-16.15, 70.1], [16.15, 70.1]])
.close()
.extrude(9.3)
.faces(">Z").wor... | |
synth_cruciform_000248_s9999 | cruciform | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["polyline", "close", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([[13.45, 13.45], [43.0, 13.45], [43.0, -13.45], [13.45, -13.45], [13.45, -43.0], [-13.45, -43.0], [-13.45, -13.45], [-43.0, -13.45], [-43.0, 13.45], [-13.45, 13.45], [-13.45, 43.0], [13.45, 43.0]])
.close()
.extrude(9.0)
)
# Export
show_obj... | |
synth_cruciform_000447_s9999 | cruciform | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["polyline", "close", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([[19.25, 19.25], [67.8, 19.25], [67.8, -19.25], [19.25, -19.25], [19.25, -67.8], [-19.25, -67.8], [-19.25, -19.25], [-67.8, -19.25], [-67.8, 19.25], [-19.25, 19.25], [-19.25, 67.8], [19.25, 67.8]])
.close()
.extrude(3.7)
)
# Export
show_obj... | |
synth_cruciform_000509_s9999 | cruciform | hard | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["polyline", "close", "extrude", "workplane", "pushPoints", "hole", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([[11.25, 11.25], [61.8, 11.25], [61.8, -11.25], [11.25, -11.25], [11.25, -61.8], [-11.25, -61.8], [-11.25, -11.25], [-61.8, -11.25], [-61.8, 11.25], [-11.25, 11.25], [-11.25, 61.8], [11.25, 61.8]])
.close()
.extrude(10.2)
.faces(">Z").wo... | |
synth_cruciform_000610_s9999 | cruciform | hard | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["polyline", "close", "extrude", "workplane", "pushPoints", "hole", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([[11.8, 11.8], [70.4, 11.8], [70.4, -11.8], [11.8, -11.8], [11.8, -70.4], [-11.8, -70.4], [-11.8, -11.8], [-70.4, -11.8], [-70.4, 11.8], [-11.8, 11.8], [-11.8, 70.4], [11.8, 70.4]])
.close()
.extrude(10.6)
.faces(">Z").workplane()
.p... | |
synth_cruciform_000942_s9999 | cruciform | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["polyline", "close", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([[15.75, 15.75], [70.8, 15.75], [70.8, -15.75], [15.75, -15.75], [15.75, -70.8], [-15.75, -70.8], [-15.75, -15.75], [-70.8, -15.75], [-70.8, 15.75], [-15.75, 15.75], [-15.75, 70.8], [15.75, 70.8]])
.close()
.extrude(9.8)
)
# Export
show_obj... | |
synth_dog_bone_000169_s9999 | dog_bone | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-54.45, 14.7)
.lineTo(54.45, 14.7)
.threePointArc((80.75, 0.0), (54.45, -14.7))
.lineTo(-54.45, -14.7)
.threePointArc((-80.75, 0.0), (-54.45, 14.7))
.close()
.extrude(17.3)
.faces(">Z").workplane()
.pushPoints([(-54.45,... | |
synth_dog_bone_000179_s9999 | dog_bone | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-39.75, 9.8)
.lineTo(39.75, 9.8)
.threePointArc((57.95, 0.0), (39.75, -9.8))
.lineTo(-39.75, -9.8)
.threePointArc((-57.95, 0.0), (-39.75, 9.8))
.close()
.extrude(10.0)
.faces(">Z").workplane()
.pushPoints([(-39.75, 0.0)... | |
synth_dog_bone_000366_s9999 | dog_bone | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-49.4, 9.2)
.lineTo(49.4, 9.2)
.threePointArc((70.4, 0.0), (49.4, -9.2))
.lineTo(-49.4, -9.2)
.threePointArc((-70.4, 0.0), (-49.4, 9.2))
.close()
.extrude(5.2)
.faces(">Z").workplane()
.pushPoints([(-49.4, 0.0), (49.4, ... | |
synth_dog_bone_000544_s9999 | dog_bone | hard | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole", "workplane", "slot2D", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-58.05, 16.2)
.lineTo(58.05, 16.2)
.threePointArc((97.55, 0.0), (58.05, -16.2))
.lineTo(-58.05, -16.2)
.threePointArc((-97.55, 0.0), (-58.05, 16.2))
.close()
.extrude(11.7)
.faces(">Z").workplane()
.pushPoints([(-58.05,... | |
synth_dog_bone_000648_s9999 | dog_bone | hard | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole", "workplane", "slot2D", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-48.3, 11.7)
.lineTo(48.3, 11.7)
.threePointArc((69.6, 0.0), (48.3, -11.7))
.lineTo(-48.3, -11.7)
.threePointArc((-69.6, 0.0), (-48.3, 11.7))
.close()
.extrude(6.7)
.faces(">Z").workplane()
.pushPoints([(-48.3, 0.0), (4... | |
synth_dog_bone_000700_s9999 | dog_bone | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-49.9, 9.3)
.lineTo(49.9, 9.3)
.threePointArc((76.6, 0.0), (49.9, -9.3))
.lineTo(-49.9, -9.3)
.threePointArc((-76.6, 0.0), (-49.9, 9.3))
.close()
.extrude(5.3)
)
# Export
show_object(result) | |
synth_dog_bone_000702_s9999 | dog_bone | hard | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole", "workplane", "slot2D", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-60.95, 18.0)
.lineTo(60.95, 18.0)
.threePointArc((90.75, 0.0), (60.95, -18.0))
.lineTo(-60.95, -18.0)
.threePointArc((-90.75, 0.0), (-60.95, 18.0))
.close()
.extrude(4.3)
.faces(">Z").workplane()
.pushPoints([(-60.95, ... | |
synth_dog_bone_000783_s9999 | dog_bone | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-51.75, 11.2)
.lineTo(51.75, 11.2)
.threePointArc((77.05, 0.0), (51.75, -11.2))
.lineTo(-51.75, -11.2)
.threePointArc((-77.05, 0.0), (-51.75, 11.2))
.close()
.extrude(10.7)
.faces(">Z").workplane()
.pushPoints([(-51.75,... | |
synth_dog_bone_000937_s9999 | dog_bone | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-59.85, 9.3)
.lineTo(59.85, 9.3)
.threePointArc((89.35, 0.0), (59.85, -9.3))
.lineTo(-59.85, -9.3)
.threePointArc((-89.35, 0.0), (-59.85, 9.3))
.close()
.extrude(7.7)
.faces(">Z").workplane()
.pushPoints([(-59.85, 0.0),... | |
synth_dog_bone_000945_s9999 | dog_bone | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["moveTo", "lineTo", "threePointArc", "lineTo", "threePointArc", "close", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(-43.05, 12.0)
.lineTo(43.05, 12.0)
.threePointArc((68.35, 0.0), (43.05, -12.0))
.lineTo(-43.05, -12.0)
.threePointArc((-68.35, 0.0), (-43.05, 12.0))
.close()
.extrude(15.7)
)
# Export
show_object(result) | |
synth_dovetail_slide_000443_s9999 | dovetail_slide | easy | XY | test-iid | {"has_hole": false, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 0 | ["polyline", "close", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(-10.0, 0.0), (10.0, 0.0), (1.5, 8.0), (-1.5, 8.0)])
.close()
.extrude(188.1)
)
# Export
show_object(result) | |
synth_dovetail_slide_000609_s9999 | dovetail_slide | medium | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true} | 2 | ["polyline", "close", "extrude", "faces", "chamfer", "workplane", "pushPoints", "cboreHole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(-26.4, 0.0), (26.4, 0.0), (26.4, 11.6), (5.5, 11.6), (16.9, 3.1), (-16.9, 3.1), (-5.5, 11.6), (-26.4, 11.6)])
.close()
.extrude(191.2)
.faces(">Y")
.chamfer(0.8)
.faces("<Y").workplane()
.pushPoints([(0.0, -57.36), (0.0, -1... | |
synth_dovetail_slide_000688_s9999 | dovetail_slide | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": true} | 3 | ["polyline", "close", "extrude", "faces", "chamfer", "workplane", "pushPoints", "cboreHole", "workplane", "center", "rect", "cutBlind"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(-20.5, 0.0), (20.5, 0.0), (8.1, 11.5), (-8.1, 11.5)])
.close()
.extrude(165.4)
.faces(">Y")
.chamfer(0.8)
.faces("<Y").workplane()
.pushPoints([(0.0, -49.62), (0.0, -16.54), (0.0, 16.54), (0.0, 49.62)])
.cboreHole(5.9, ... | |
synth_dovetail_slide_000737_s9999 | dovetail_slide | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": false, "has_chamfer": true} | 3 | ["polyline", "close", "extrude", "faces", "chamfer", "workplane", "pushPoints", "cboreHole", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(-44.75, 0.0), (44.75, 0.0), (44.75, 12.5), (8.95, 12.5), (24.45, 3.4), (-24.45, 3.4), (-8.95, 12.5), (-44.75, 12.5)])
.close()
.extrude(93.1)
.faces(">Y")
.chamfer(0.5)
.faces("<Y").workplane()
.pushPoints([(0.0, -23.275), ... | |
synth_dovetail_slide_000740_s9999 | dovetail_slide | hard | XY | test-iid | {"has_hole": false, "has_slot": true, "has_fillet": false, "has_chamfer": true} | 2 | ["polyline", "close", "extrude", "faces", "chamfer", "workplane", "center", "rect", "cutBlind"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(-8.65, 0.0), (8.65, 0.0), (1.5, 8.0), (-1.5, 8.0)])
.close()
.extrude(86.2)
.faces(">Y")
.chamfer(0.6)
.faces(">Y").workplane()
.center(0.0, 0.0)
.rect(1.6, 68.96)
.cutBlind(-0.6)
)
# Export
show_object(result) | |
synth_dovetail_slide_000849_s9999 | dovetail_slide | medium | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true} | 2 | ["polyline", "close", "extrude", "faces", "chamfer", "workplane", "pushPoints", "cboreHole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(-39.4, 0.0), (39.4, 0.0), (39.4, 14.9), (8.85, 14.9), (22.1, 3.7), (-22.1, 3.7), (-8.85, 14.9), (-39.4, 14.9)])
.close()
.extrude(56.7)
.faces(">Y")
.chamfer(0.6)
.faces("<Y").workplane()
.pushPoints([(0.0, -9.45), (0.0, 9.... | |
synth_enclosure_000194_s9999 | enclosure | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_shell": true, "has_chamfer": false, "enclosure": true} | 2 | ["box", "faces", "shell"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(148.2, 89.5, 21.0)
.faces(">Z")
.shell(-2.1)
)
# Export
show_object(result) | |
synth_enclosure_000323_s9999 | enclosure | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_shell": true, "has_chamfer": false, "enclosure": true} | 2 | ["box", "faces", "shell"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(73.6, 73.9, 14.2)
.faces(">Z")
.shell(-1.6)
)
# Export
show_object(result) | |
synth_enclosure_000396_s9999 | enclosure | medium | XY | test-iid | {"has_hole": false, "has_fillet": true, "has_shell": true, "has_chamfer": false, "enclosure": true} | 3 | ["box", "faces", "shell", "faces", "edges", "fillet"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(122.2, 139.9, 26.6)
.faces(">Z")
.shell(-3.1)
.faces("<Z")
.edges("<Z")
.fillet(1.8)
)
# Export
show_object(result) | |
synth_enclosure_000475_s9999 | enclosure | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_shell": true, "has_chamfer": false, "enclosure": true} | 2 | ["box", "faces", "shell"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(87.4, 117.7, 15.6)
.faces(">Z")
.shell(-1.7)
)
# Export
show_object(result) | |
synth_fan_shroud_000204_s9999 | fan_shroud | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["box", "workplane", "circle", "cutThruAll", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(97.8, 97.8, 11.5)
.faces(">Z").workplane()
.circle(32.0)
.cutThruAll()
.faces(">Z").workplane()
.pushPoints([(40.45, 40.45), (-40.45, 40.45), (40.45, -40.45), (-40.45, -40.45)])
.hole(4.1)
)
# Export
show_object(result) | |
synth_fan_shroud_000496_s9999 | fan_shroud | hard | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["box", "workplane", "circle", "cutThruAll", "workplane", "pushPoints", "hole", "union", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(119.4, 119.4, 7.8)
.faces(">Z").workplane()
.circle(30.5)
.cutThruAll()
.faces(">Z").workplane()
.pushPoints([(45.1, 45.1), (-45.1, 45.1), (45.1, -45.1), (-45.1, -45.1)])
.hole(5.1)
.union(
cq.Workplane("XY")
... | |
synth_fan_shroud_000570_s9999 | fan_shroud | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["box", "workplane", "circle", "cutThruAll", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(152.0, 152.0, 8.4)
.faces(">Z").workplane()
.circle(41.9)
.cutThruAll()
.faces(">Z").workplane()
.pushPoints([(58.95, 58.95), (-58.95, 58.95), (58.95, -58.95), (-58.95, -58.95)])
.hole(3.2)
)
# Export
show_object(result) | |
synth_fan_shroud_000878_s9999 | fan_shroud | hard | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["box", "workplane", "circle", "cutThruAll", "workplane", "pushPoints", "hole", "union", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(194.6, 194.6, 9.6)
.faces(">Z").workplane()
.circle(66.3)
.cutThruAll()
.faces(">Z").workplane()
.pushPoints([(81.8, 81.8), (-81.8, 81.8), (81.8, -81.8), (-81.8, -81.8)])
.hole(5.8)
.union(
cq.Workplane("XY")
... | |
synth_fan_shroud_000936_s9999 | fan_shroud | easy | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["box", "workplane", "circle", "cutThruAll"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(164.2, 164.2, 4.7)
.faces(">Z").workplane()
.circle(64.4)
.cutThruAll()
)
# Export
show_object(result) | |
synth_flat_link_000098_s9999 | flat_link | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["slot2D", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.slot2D(42.4, 56.2, 0)
.extrude(11.1)
)
# Export
show_object(result) | |
synth_flat_link_000335_s9999 | flat_link | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["slot2D", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.slot2D(66.0, 42.4, 0)
.extrude(15.3)
)
# Export
show_object(result) | |
synth_flat_link_000344_s9999 | flat_link | easy | XY | test-iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["slot2D", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.slot2D(46.7, 59.2, 0)
.extrude(7.4)
)
# Export
show_object(result) | |
synth_flat_link_000797_s9999 | flat_link | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["slot2D", "extrude", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.slot2D(85.4, 45.0, 0)
.extrude(8.7)
.faces(">Z").workplane()
.pushPoints([(-42.7, 0.0), (42.7, 0.0)])
.hole(20.2)
)
# Export
show_object(result) | |
synth_gusseted_bracket_000172_s9999 | gusseted_bracket | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": true, "has_chamfer": true} | 4 | ["moveTo", "lineTo", "lineTo", "lineTo", "lineTo", "lineTo", "mirrorY", "extrude", "edges", "chamfer", "edges", "fillet", "workplane", "pushPoints", "hole", "workplane", "pushPoints", "hole", "workplane", "center", "rect", "cutBlind"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(0.0, 0.0)
.lineTo(35.05, 0.0)
.lineTo(35.05, 13.2)
.lineTo(13.2, 16.0)
.lineTo(13.2, 35.05)
.lineTo(0.0, 35.05)
.mirrorY()
.extrude(40.2)
.edges(">Z")
.chamfer(1.7)
.edges("<Z")
.fillet(1.7)
.faces("<Y")... | |
synth_gusseted_bracket_000551_s9999 | gusseted_bracket | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false} | 1 | ["moveTo", "lineTo", "lineTo", "lineTo", "lineTo", "lineTo", "mirrorY", "extrude", "workplane", "pushPoints", "hole", "workplane", "pushPoints", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(0.0, 0.0)
.lineTo(40.95, 0.0)
.lineTo(40.95, 6.4)
.lineTo(6.4, 23.5)
.lineTo(6.4, 40.95)
.lineTo(0.0, 40.95)
.mirrorY()
.extrude(68.0)
.faces("<Y").workplane()
.pushPoints([(20.475, -18.0)])
.hole(5.9)
.face... | |
synth_gusseted_bracket_000696_s9999 | gusseted_bracket | hard | XY | test-iid | {"has_hole": true, "has_slot": true, "has_fillet": true, "has_chamfer": true} | 4 | ["moveTo", "lineTo", "lineTo", "lineTo", "lineTo", "lineTo", "mirrorY", "extrude", "edges", "chamfer", "edges", "fillet", "workplane", "pushPoints", "hole", "workplane", "pushPoints", "hole", "workplane", "center", "rect", "cutBlind"] | import cadquery as cq
result = (
cq.Workplane("XY")
.moveTo(0.0, 0.0)
.lineTo(27.7, 0.0)
.lineTo(27.7, 6.9)
.lineTo(6.9, 12.9)
.lineTo(6.9, 27.7)
.lineTo(0.0, 27.7)
.mirrorY()
.extrude(25.3)
.edges(">Z")
.chamfer(0.7)
.edges("<Z")
.fillet(1.1)
.faces("<Y").workpl... | |
synth_handwheel_000039_s9999 | handwheel | easy | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["circle", "circle", "extrude", "union", "union", "union", "union", "union", "union", "union", "cut", "workplane", "center", "circle", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.circle(91.55)
.circle(65.95)
.extrude(12.3)
.union(
cq.Workplane("XY")
.cylinder(12.3, 19.3)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 0.0), rotate=cq.Vector(0.0, 0.0, 0.0... | |
synth_handwheel_000212_s9999 | handwheel | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": true} | 2 | ["circle", "circle", "extrude", "union", "union", "union", "union", "union", "union", "union", "cut", "edges", "chamfer", "workplane", "center", "circle", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.circle(65.3)
.circle(48.35)
.extrude(17.5)
.union(
cq.Workplane("XY")
.cylinder(17.5, 13.05)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 0.0), rotate=cq.Vector(0.0, 0.0, 0.0... | |
synth_handwheel_000448_s9999 | handwheel | easy | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": false} | 1 | ["circle", "circle", "extrude", "union", "union", "union", "union", "union", "union", "cut", "workplane", "center", "circle", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.circle(97.75)
.circle(74.5)
.extrude(13.3)
.union(
cq.Workplane("XY")
.cylinder(13.3, 24.3)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 0.0), rotate=cq.Vector(0.0, 0.0, 0.0)... | |
synth_handwheel_000757_s9999 | handwheel | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": true} | 2 | ["circle", "circle", "extrude", "union", "union", "union", "union", "union", "union", "union", "cut", "edges", "chamfer", "workplane", "center", "circle", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.circle(116.1)
.circle(90.5)
.extrude(17.6)
.union(
cq.Workplane("XY")
.cylinder(17.6, 25.25)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 0.0), rotate=cq.Vector(0.0, 0.0, 0.0... | |
synth_handwheel_000895_s9999 | handwheel | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": true} | 2 | ["circle", "circle", "extrude", "union", "union", "union", "union", "union", "union", "union", "cut", "edges", "chamfer", "workplane", "center", "circle", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.circle(64.25)
.circle(44.3)
.extrude(13.0)
.union(
cq.Workplane("XY")
.cylinder(13.0, 15.95)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 0.0), rotate=cq.Vector(0.0, 0.0, 0.0... | |
synth_handwheel_000912_s9999 | handwheel | medium | XY | test-iid | {"has_hole": true, "has_fillet": false, "has_chamfer": true} | 2 | ["circle", "circle", "extrude", "union", "union", "union", "union", "union", "union", "cut", "edges", "chamfer", "workplane", "center", "circle", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.circle(92.3)
.circle(67.2)
.extrude(10.0)
.union(
cq.Workplane("XY")
.cylinder(10.0, 23.8)
)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, 0.0), rotate=cq.Vector(0.0, 0.0, 0.0))... | |
synth_heat_sink_000236_s9999 | heat_sink | easy | XY | test-iid | {"has_hole": false, "has_chamfer": false, "has_fillet": false, "pattern_like": true} | 1 | ["box", "workplane", "rarray", "rect", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(99.2, 72.9, 3.2)
.faces(">Z").workplane()
.rarray(1, 9.46, 1, 8)
.rect(97.2, 2.6)
.extrude(38.2)
)
# Export
show_object(result) | |
synth_heat_sink_000599_s9999 | heat_sink | easy | XY | test-iid | {"has_hole": false, "has_chamfer": false, "has_fillet": false, "pattern_like": true} | 1 | ["box", "workplane", "rarray", "rect", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(104.6, 57.4, 3.4)
.faces(">Z").workplane()
.rarray(1, 7.36, 1, 8)
.rect(102.6, 1.8)
.extrude(20.6)
)
# Export
show_object(result) | |
synth_heat_sink_000741_s9999 | heat_sink | easy | XY | test-iid | {"has_hole": false, "has_chamfer": false, "has_fillet": false, "pattern_like": true} | 1 | ["box", "workplane", "rarray", "rect", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.box(58.9, 36.4, 5.9)
.faces(">Z").workplane()
.rarray(1, 5.16, 1, 7)
.rect(56.9, 1.5)
.extrude(22.2)
)
# Export
show_object(result) | |
synth_helical_gear_000114_s9999 | helical_gear | easy | XY | test-iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false, "rotational": true} | 2 | ["polyline", "close", "workplane_offset", "polyline", "close", "loft", "workplane", "hole"] | import cadquery as cq
result = (
cq.Workplane("XY")
.polyline([(12.032, -1.73), (12.358, -1.069), (12.444, -1.07), (12.701, -1.045), (13.123, -0.954), (13.694, -0.759), (14.394, -0.424), (14.4, 0.0), (14.394, 0.424), (13.694, 0.759), (13.123, 0.954), (12.701, 1.045), (12.444, 1.07), (12.358, 1.069), (12.032, 1... |
End of preview. Expand in Data Studio
CAD Synthesis Benchmark — test_bench
Small-scale benchmark for image → CadQuery code generation.
Task: Given rendered views of an industrial part, generate CadQuery code that reproduces it.
Evaluation: Execute code → export STEP → compute IoU vs GT STEP.
Splits
| Split | Families | Description |
|---|---|---|
test-iid |
54 train families, XY plane | In-distribution test |
test-ood-family |
19 held-out families | Family generalization |
test-ood-plane |
54 train families, XZ/YZ | View generalization |
OOD families: bellows, worm_screw, torus_link, impeller, propeller,
chair, table, snap_clip, waffle_plate, wire_grid, mesh_panel,
t_pipe_fitting, pipe_elbow, duct_elbow, dome_cap, capsule,
coil_spring, bucket, nozzle
Sample Fields (bench_manifest.jsonl)
{
"stem": "synth_handwheel_000042_s9999",
"family": "handwheel",
"difficulty": "easy",
"base_plane": "XY",
"split": "test-iid",
"feature_tags": {"has_hole": true, "has_fillet": false, "has_chamfer": false},
"feature_count": 1,
"ops_used": ["circle", "extrude", "union", "cut"],
"gt_code_path": "data/test-iid/synth_handwheel_000042_s9999/code.py",
"gt_step_path": "data/test-iid/synth_handwheel_000042_s9999/gen.step",
"composite_png": "data/test-iid/synth_handwheel_000042_s9999/views/composite.png"
}
Metrics
exec_ok: code executes (0/1)iou: voxel IoU vs GT STEPfeature_f1: F1 of feature_tags (hole/fillet/chamfer/slot)detail_score:0.4 × iou + 0.6 × feature_f1(primary ranking metric)
Generation
- Pipeline:
cad_synth(73 families, parametric, multi-plane) - Seed: 9999 (held out from training seed 1337)
- Rendered: 4-view normalized PNGs + 2×2 composite
- Downloads last month
- -