Hey all,
I've recently been running into issues with my workflow of going from OpenVSP --> CompGeom --> Export Cart3d tri file --> Cart3D...Cart3D has been failing in 'cubes' for any case where I've intersected a wing into a fuselage. At first I thought it was a Cart3D issue, but then on a whim I used an old install of OpenVSP (3.43.1 instead of the 3.45.1 I'm currently on) in the workflow and the issue went away.
I've attached a representative example vsp geometry, as well as the two .tri outputs I get using 3.43.1 and 3.45.1 respectively. From what I can tell, the OpenVSP routine that does geometry intersection ends up flipping the surface triangle orientation of the wing and therefore the surface normal directions are flipped--but only for the wing, the fuselage orientation remains the same. It doesn't look like it's just a Cart3D output issue either...if I try to use CFD Mesh in 3.45.1, it fails due to the geometry not being watertight (with the failure highlighted right at the wing-fuselage intersection), but using it in 3.43.1 works just fine. And the CompGeom output shows a negative volume for the Wing after intersection for 3.45.1
I can go back to using 3.43.1 in the meantime for my workflow, but wanted to highlight this as a potential bug for the team. Thanks!