Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All edges angles initialized to zero #15

Open
jgao222 opened this issue Aug 6, 2021 · 1 comment
Open

All edges angles initialized to zero #15

jgao222 opened this issue Aug 6, 2021 · 1 comment

Comments

@jgao222
Copy link
Contributor

jgao222 commented Aug 6, 2021

The angle that each edge has is intended to be the angle between the normals of the faces that contain that edge.
Currently they are all initialized to zero, so folding from anything that isn't initially a flat sheet won't work correctly.

@jgao222
Copy link
Contributor Author

jgao222 commented Aug 6, 2021

FOLD library has a method to generate normals from a triangle, and get the angle between things, so that should be a place to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant