Skip to content

Conversation

@SiboVG
Copy link
Member

@SiboVG SiboVG commented Feb 14, 2024

This PR fixes #2444 by supporting Constrained Delaunay Triangulation (CDT) for exporting OBJ objects. Previously, a rudimentary triangulation method was implemented, which worked fine in most cases, but could cause issues for non-conventional fin shapes. The CDT is performed using the Java Topology Suite (JTS) library.

Since CDT is more robust than the simple triangulation, it is selected by default. However, it is more computationally intensive, so you can still choose to use simple triangulation in the OBJ export settings:
image

Result with simple triangulation:
image

Result with CDT:
image

@JoePfeiffer JoePfeiffer merged commit 19cafe9 into openrocket:unstable Feb 16, 2024
@SiboVG SiboVG deleted the issue-2444 branch February 16, 2024 17:43
@SiboVG SiboVG changed the title [#2444] Add Constrained Delaungay Triangulation for OBJ exporting [#2444] Add Constrained Delaunay Triangulation for OBJ exporting Jun 16, 2025
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

Successfully merging this pull request may close these issues.

[Enhancement] Use more advanced triangulation in OBJ export

2 participants