forked from 1b-agent/opencadstudio-upstream
Retain native PRESSPULL surface data across CAD formats
This commit is contained in:
1 parent
43c7992967
commit
c9c5b35d29
3 files changed
+7
-7
No files matched your search
@@ -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; };
|
||||
|
||||
Reference in new issue
Block a user