fix: draft a whole round wall from one pick (#547) (#603)

Draft extends the picked faces to every face on the same surface, so one pick on a cylinder's side (stored as two halves) drafts the whole round wall into a frustum. Un-ignores the #547 regression test and adds a kernel test for a round hole. Fixes #547.

Co-authored-by: jonaswre <jonas.wrede@beyondit.gmbh>
This commit is contained in:
Jonas Wrede authored and GitHub committed 2026-10-13 04:27:12 -04:00
1 parent 4a86ad5a7c
commit 651e8e0853
3 files changed
+17 -1

No files matched your search

-1
View File
@@ -2955,7 +2955,6 @@ fn feature_replies_list_only_the_bodies_they_created() {
/// Drafting a cylinder's side face 5° from the base plane makes a cone frustum (#547): radius 10
/// at the base, 10 − 20 · tan 5° at the top.
#[test]
#[ignore = "fails until #547 is fixed"]
fn draft_on_a_cylinder_side_makes_a_frustum() {
let mut s = Session::default();
run(&mut s, "solid.cylinder", json!({"radius": 10, "height": 20}));