Conversion to surface coordinates is broken #567
Labels
topic: core
Issues relating to core geometry, operations, algorithms
type: bug
Something isn't working
Milestone
Currently, there just one type of surface exists: A sweep of a curve (which can be a line or a circle) along a straight path. Conversion of 3-dimensional model coordinates into surface coordinates of these swept surface is broken.
Here's what the code looks like currently:
https://github.com/hannobraun/Fornjot/blob/3d5500e95621ebe5c786a886a11eaaaab04bd618/crates/fj-kernel/src/geometry/surfaces/swept.rs#L40-L51
I think it happens to work, if the curve and the path happen to be orthogonal to each other, but it breaks down when that isn't the case. Here's a unit test that triggers the bug:
I'm currently working on this, as this is blocking my ongoing work on #42.
The text was updated successfully, but these errors were encountered: