Skip to content

Commit

Permalink
enable Gordon surface via compile definition for fuselages
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbrech committed Dec 11, 2024
1 parent b717ae4 commit 889bb41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fuselage/CCPACSFuselage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ void CCPACSFuselage::BuildCleanLoft(PNamedShape& cache) const
Standard_Boolean smooth = (cont == ::C0? false : true);

CTiglMakeLoft lofter;
#ifdef TIGL_GORDON_SURFACE
lofter.setAlgorithm(CTiglMakeLoft::Algorithm::GORDON_SURFACE);
#endif
// add profiles
for (int i=1; i <= m_segments.GetSegmentCount(); i++) {
lofter.addProfiles(m_segments.GetSegment(i).GetStartWire());
Expand Down

0 comments on commit 889bb41

Please sign in to comment.