karl- / pb_Stl

STL import/export for Unity, supporting both ASCII and Binary.
MIT License
179 stars 43 forks source link

I have a question about Mesh. #26

Open JHsGame opened 2 years ago

JHsGame commented 2 years ago

Hello, it's a good day. I would appreciate it if you could understand that I use a translator because I can't speak English.

Mesh[] mesh = Importer.Import(path);

I created STL file that I want to import through the phrase, with several meshes.

But here, the meshes were divided into several pieces, so is there a standard for dividing the pieces?

I'm wondering if there's a way to bring the whole piece or divide it into the pieces you want. #

JHsGame commented 2 years ago

@karl- Is there anyone? I would appreciate it if you could reply to this question after reading this.

karl- commented 2 years ago

The mesh is split into multiple pieces because we are not setting the index format to use 32 bit int, and thus is bound to a triangle count of ushort.MaxValue per-mesh.