Skip to content

Reply To: Imported STL Files

#9223
sasan
Participant

Thank you for your previous help! I have written the following code to read each face separately from STL files:

STLreader<T> inletfaceReader(“inlet.stl”, converter.getConversionFactorLength(), 0.001); // Inlet STL reader
STLreader<T> outletfaceReader(“outlet.stl”, converter.getConversionFactorLength(), 0.001); // Outlet STL reader
STLreader<T> wallsfaceReader(“walls.stl”, converter.getConversionFactorLength(), 0.001); // Walls STL reader

IndicatorLayer3D<T> extendedDomain(wallsfaceReader, converter.getConversionFactorLength());

I would like to pass all the faces (inlet, outlet, and walls) to IndicatorLayer3D instead of just the wallsfaceReader. Could someone please guide me on how to achieve this?

Thank you again for your assistance!