Retain native PRESSPULL surface data across CAD formats

This commit is contained in:
ramox81 committed 2026-09-04 15:53:15 +03:00
1 parent 43c7992967
commit c9c5b35d29
3 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -354,8 +354,8 @@ pub fn preview_wires(target: &PresspullTarget, distance: f64, color: [f32; 4], i
};
let Some((plane, loops, direction)) = geometry else { return Vec::new(); };
let mut wires = Vec::new();
// Each loop is a lateral sheet. Calling extrude_region here would perform
// Boolean differences for holes even though this overlay only needs wires.
// Each loop is a lateral sheet. This wire-only overlay does not need the
// planar caps or complete solid topology of extrude_region.
for ring in loops {
let ring = brep::extrusion_profile_pieces(&ring);
let Some(body) = brep::extrude_surface(plane, &ring, direction) else { continue; };