Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Feature request: Intersection Polyline #85

Closed
yetigit opened this issue Mar 8, 2022 · 1 comment
Closed

Feature request: Intersection Polyline #85

yetigit opened this issue Mar 8, 2022 · 1 comment

Comments

@yetigit
Copy link
Contributor

yetigit commented Mar 8, 2022

Hi, thank you for your efforts on doing a fast and robust csg lib

what would be a killer feature is being able to retrieve the intersection data, precisely as naturally ordered polyline(s).
which boils down to just having the intersection points in the right order ; with a topological predicate since there can be several intersection loops.

here a sphere vs a cube
maya_zk2js5vmOH

cube vs cube
maya_qHK3Isv83y

@elalish
Copy link
Owner

elalish commented Mar 8, 2022

Check out my GetMeshRelation() function. It returns this data (in a different format, suitable for multiple uses like texture mapping), even after a whole series of Boolean operations. It should be pretty simple to convert it to the polyline format you desire; feel free to add a PR!

@yetigit yetigit closed this as completed Mar 9, 2022
Repository owner locked and limited conversation to collaborators May 13, 2022
@elalish elalish converted this issue into discussion #116 May 13, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants