stem stringlengths 23 29 | family stringclasses 4
values | difficulty stringclasses 3
values | base_plane stringclasses 3
values | split stringclasses 1
value | feature_tags stringclasses 7
values | feature_count int64 0 3 | ops_used stringlengths 19 171 | gt_code stringlengths 148 10.8k | composite_png imagewidth (px) 268 268 | qa_pairs stringlengths 171 261 | iso_tags stringclasses 10
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
synth_bolt_000131_s4419 | bolt | easy | XY | test_iid | {"has_hole": false, "has_fillet": false, "has_chamfer": false} | 0 | ["circle", "extrude", "workplane", "polygon", "extrude"] | import cadquery as cq
result = (
cq.Workplane("XY")
.circle(3.0)
.extrude(16.0)
.faces(">Z").workplane()
.polygon(6, 11.55)
.extrude(4.0)
)
# Export
show_object(result) | [{"question": "What is the length-to-diameter ratio?", "answer": 2.6667, "type": "ratio"}, {"question": "What is the shank diameter in mm?", "answer": 6.0, "type": "ratio"}] | {"iso_261": true, "iso_4014": true, "nominal_diameter_mm": 6.0, "length_mm": 16.0} | |
synth_bolt_001835_s4419 | bolt | medium | YZ | test_iid | {"has_hole": false, "has_fillet": false, "has_chamfer": true} | 1 | ["circle", "extrude", "workplane", "polygon", "extrude", "edges", "chamfer"] | import cadquery as cq
result = (
cq.Workplane("YZ")
.circle(10.0)
.extrude(100.0)
.faces(">X").workplane()
.polygon(6, 34.64)
.extrude(12.5)
.edges(">Z")
.chamfer(1.5)
)
# Export
show_object(result) | [{"question": "What is the length-to-diameter ratio?", "answer": 5.0, "type": "ratio"}, {"question": "What is the shank diameter in mm?", "answer": 20.0, "type": "ratio"}] | {"iso_261": true, "iso_4014": true, "nominal_diameter_mm": 20.0, "length_mm": 100.0} | |
synth_bolt_000936_s4419 | bolt | hard | XZ | test_iid | {"has_hole": false, "has_fillet": false, "has_chamfer": true} | 1 | ["circle", "extrude", "workplane", "polygon", "extrude", "edges", "chamfer", "cut"] | import cadquery as cq
result = (
cq.Workplane("XZ")
.circle(2.0)
.extrude(25.0)
.faces(">Y").workplane()
.polygon(6, 8.08)
.extrude(2.8)
.edges(">Z")
.chamfer(0.4)
.cut(
cq.Workplane("XZ")
.transformed(offset=cq.Vector(0.0, 0.0, 0.0), rotate=cq.Vector(90.0, 0.0, ... | [{"question": "What is the length-to-diameter ratio?", "answer": 6.25, "type": "ratio"}, {"question": "What is the shank diameter in mm?", "answer": 4.0, "type": "ratio"}, {"question": "What is the thread pitch in mm?", "answer": 0.7, "type": "ratio"}] | {"iso_261": true, "iso_4014": true, "nominal_diameter_mm": 4.0, "length_mm": 25.0, "thread_pitch_mm": 0.7} | |
synth_bevel_gear_000515_s4419 | 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([(9.096, -1.441), (9.356, -0.877), (9.465, -0.876), (9.787, -0.829), (10.307, -0.673), (10.995, -0.347), (11.0, 0.0), (10.995, 0.347), (10.307, 0.673), (9.787, 0.829), (9.465, 0.876), (9.356, 0.877), (9.096, 1.441), (9.169, 2.057), (9.272, 2.092), (... | [{"question": "How many teeth does this bevel gear have?", "answer": 20.0, "type": "integer"}, {"question": "What is the module in mm?", "answer": 1.0, "type": "ratio"}, {"question": "What is the pitch cone angle in degrees?", "answer": 45.0, "type": "ratio"}] | {"iso_23509": true, "iso_54": true, "module": 1.0, "n_teeth": 20, "pitch_cone_angle_deg": 45.0} | |
synth_bevel_gear_000475_s4194 | bevel_gear | medium | YZ | 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("YZ")
.polyline([(11.624, -2.865), (12.104, -1.653), (12.297, -1.656), (12.872, -1.575), (13.792, -1.274), (14.987, -0.634), (15.0, 0.0), (14.987, 0.634), (13.792, 1.274), (12.872, 1.575), (12.297, 1.656), (12.104, 1.653), (11.624, 2.865), (11.485, 4.161), (11.658,... | [{"question": "How many teeth does this bevel gear have?", "answer": 13.0, "type": "integer"}, {"question": "What is the module in mm?", "answer": 2.0, "type": "ratio"}, {"question": "What is the pitch cone angle in degrees?", "answer": 45.0, "type": "ratio"}] | {"iso_23509": true, "iso_54": true, "module": 2.0, "n_teeth": 13, "pitch_cone_angle_deg": 45.0} | |
synth_bevel_gear_002901_s4419 | 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([(24.652, -3.245), (25.29, -2.037), (25.551, -2.033), (26.325, -1.921), (27.576, -1.557), (29.239, -0.805), (29.25, 0.0), (29.239, 0.805), (27.576, 1.557), (26.325, 1.921), (25.551, 2.033), (25.29, 2.037), (24.652, 3.245), (24.955, 4.578), (25.206, ... | [{"question": "How many teeth does this bevel gear have?", "answer": 24.0, "type": "integer"}, {"question": "What is the module in mm?", "answer": 2.25, "type": "ratio"}, {"question": "What is the pitch cone angle in degrees?", "answer": 45.0, "type": "ratio"}] | {"iso_23509": true, "iso_54": true, "module": 2.25, "n_teeth": 24, "pitch_cone_angle_deg": 45.0} | |
synth_clevis_pin_001840_s4419 | clevis_pin | easy | YZ | test_iid | {"has_hole": false, "has_slot": false, "has_fillet": false, "has_chamfer": true, "rotational": true} | 2 | ["cylinder", "edges", "chamfer"] | import cadquery as cq
result = (
cq.Workplane("YZ")
.cylinder(90.0, 2.0)
.edges("|Z")
.chamfer(0.4)
)
# Export
show_object(result) | [{"question": "What is the pin length to diameter ratio?", "answer": 22.5, "type": "ratio"}, {"question": "Does this pin have a cross hole? (1=yes, 0=no)", "answer": 0.0, "type": "integer"}] | {"iso_2340": true, "diameter_mm": 4.0} | |
synth_clevis_pin_002950_s4419 | clevis_pin | medium | YZ | test_iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true, "rotational": true} | 3 | ["cylinder", "edges", "chamfer", "cut"] | import cadquery as cq
result = (
cq.Workplane("YZ")
.cylinder(280.0, 11.0)
.edges("|Z")
.chamfer(1.0)
.cut(
cq.Workplane("YZ")
.transformed(offset=cq.Vector(0, 0, -112.0), rotate=cq.Vector(90, 0, 0))
.cylinder(33.0, 2.5)
)
)
# Export
show_object(result) | [{"question": "What is the pin length to diameter ratio?", "answer": 12.7273, "type": "ratio"}, {"question": "Does this pin have a cross hole? (1=yes, 0=no)", "answer": 1.0, "type": "integer"}] | {"iso_2340": true, "diameter_mm": 22.0} | |
synth_clevis_pin_000652_s4419 | clevis_pin | hard | XZ | test_iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": true, "rotational": true} | 3 | ["cylinder", "edges", "chamfer", "cut", "cut"] | import cadquery as cq
result = (
cq.Workplane("XZ")
.cylinder(18.0, 3.0)
.edges("|Z")
.chamfer(0.6)
.cut(
cq.Workplane("XZ")
.transformed(offset=cq.Vector(0, 0, -4.0), rotate=cq.Vector(90, 0, 0))
.cylinder(9.0, 0.8)
)
.cut(
cq.Workplane("XZ")
... | [{"question": "What is the pin length to diameter ratio?", "answer": 3.0, "type": "ratio"}, {"question": "Does this pin have a cross hole? (1=yes, 0=no)", "answer": 1.0, "type": "integer"}] | {"iso_2340": true, "diameter_mm": 6.0} | |
synth_ball_knob_001706_s4419 | ball_knob | easy | YZ | test_iid | {"has_hole": false, "has_slot": false, "has_fillet": false, "has_chamfer": false, "rotational": true} | 1 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("YZ")
.sphere(12.5)
.union(
cq.Workplane("YZ")
.transformed(offset=cq.Vector(0.0, 0.0, -37.5), rotate=cq.Vector(0, 0, 0))
.cylinder(50.0, 4.5)
)
)
# Export
show_object(result) | [{"question": "What is the ball to stem radius ratio?", "answer": 2.7778, "type": "ratio"}, {"question": "What is the stem height to ball radius ratio?", "answer": 4.0, "type": "ratio"}] | {} | |
synth_ball_knob_000253_s4419 | ball_knob | medium | XZ | test_iid | {"has_hole": false, "has_slot": false, "has_fillet": false, "has_chamfer": false, "rotational": true} | 1 | ["sphere", "union"] | import cadquery as cq
result = (
cq.Workplane("XZ")
.sphere(16.0)
.union(
cq.Workplane("XZ")
.transformed(offset=cq.Vector(0.0, 0.0, -46.0), rotate=cq.Vector(0, 0, 0))
.cylinder(60.0, 6.0)
)
)
# Export
show_object(result) | [{"question": "What is the ball to stem radius ratio?", "answer": 2.6667, "type": "ratio"}, {"question": "What is the stem height to ball radius ratio?", "answer": 3.75, "type": "ratio"}] | {} | |
synth_ball_knob_000241_s4419 | ball_knob | hard | XY | test_iid | {"has_hole": true, "has_slot": false, "has_fillet": false, "has_chamfer": false, "rotational": true} | 2 | ["sphere", "union", "cut"] | import cadquery as cq
result = (
cq.Workplane("XY")
.sphere(12.5)
.union(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0.0, 0.0, -37.5), rotate=cq.Vector(0, 0, 0))
.cylinder(50.0, 4.5)
)
.cut(
cq.Workplane("XY")
.transformed(offset=cq.Vector(0... | [{"question": "What is the ball to stem radius ratio?", "answer": 2.7778, "type": "ratio"}, {"question": "What is the stem height to ball radius ratio?", "answer": 4.0, "type": "ratio"}] | {} |
README.md exists but content is empty.
- Downloads last month
- 93