Shaded with hidden edges: optionally select edges through faces (#11841)

* Allow optional hidden-edge picking in Shaded with hidden edges

Keep visible-only picking as the default. Cover the preference, hover cache,
section and body visibility, and Fillet inputs in the existing UI tests.
Use platform-absolute fixture paths in the Windows CI argument-parser test.

* Respect section caps and visible-edge ties in hidden-edge picking

* Keep section caps as occluders behind nearer kept faces
This commit is contained in:
cronos
2026-11-04 18:13:40 +00:00
committed by GitHub
parent 6b6bd26648
commit de9a2bc846
7 changed files with 317 additions and 12 deletions
+7 -2
View File
@@ -740,8 +740,13 @@ mod tests {
assert!(options(&["--route", "boolean=solidcore"], "x").is_err());
assert!(options(&["--kernel", "smlib"], "x").is_err());
assert!(options(&["--kernel", "solidcore", "--known-failing", "/k"], "x").is_err());
let o = options(&["--known-failing", "/k", "--out", "/r"], "x").unwrap();
assert_eq!((o.known_failing, o.out), (Some(PathBuf::from("/k")), PathBuf::from("/r")));
let dir = std::env::current_dir().unwrap();
let known = dir.join("known.txt");
let out = dir.join("result");
let o = options(&["--known-failing", known.to_str().unwrap(), "--out", out.to_str().unwrap()], "x").unwrap();
assert_eq!((o.known_failing, o.out), (Some(known), out));
let o = options(&["--known-failing", "known.txt", "--out", "result"], "x").unwrap();
assert_eq!((o.known_failing, o.out), (Some(root().join("known.txt")), PathBuf::from("result")));
}
fn gate_on(text: &str, cases: &[(&str, &str)]) -> Result<String, String> {