fix(fold): cross-topmost via order matrix; M/V for folded precreases #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/cross-topmost-precrease"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For #25, #27. Two pre-pocket-slice correctness fixes.
crosson stacked layers now resolves the material point on the topmost covering face via the order matrix (Fold_state.topmost_preimage), not the last preimage in face-array order. Array index carries no z-meaning; the old behavior only worked by accident of the legacy append order plusflip's array reversal, and would return the wrong point the moment a fold inserts a face between layers (pocket slice).fold_emitfell back to the staleU/0 fromsubdivide.fold_with_recordsnow finds the abutting edge and emitsM/Vwith the proper fold angle, winning over the staleU.Tests:
topmost preimage via order,precrease upgrades U to V, and end-to-endprecrease then fold emits V not U. Full suite green.