プロジェクト
概要
STL import/export for Unity, supporting both ASCII and Binary.
ゲーム・エミュレーターできること
- Export and import Binary & ASCII STL files in editor or at runtime.
- Custom AssetPostProcessor automatically creates usable prefabs from any STL imported to Unity.
- Option to convert from left to right handed coordinates (on by default, as per STL spec).
- Automatic merging of multiple selected meshes, including relative transformations.
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルpb_Stl
An STL importer/exporter for Unity.
pb_Stl is the exporter used in ProBuilder to save STL model files.

Install
- In the
Packagesdirectory of your Unity project,git clone https://github.com/karl-/pb_Stl.git co.parabox.stl
or
- Open
Packages/manifest.json - Add
"co.parabox.stl":"https://github.com/karl-/pb_Stl.git"to the"dependencies"list
Quick Start
- Select a
GameObjectin the Scene View with aMeshFilterand validMesh. - In the file menu,
Edit > Export > STL (Ascii). - View your shiny new STL file.
Features
- Export and import Binary & ASCII STL files in editor or at runtime.
- Custom AssetPostProcessor automatically creates usable prefabs from any STL imported to Unity.
- Option to convert from left to right handed coordinates (on by default, as per STL spec).
- Automatic merging of multiple selected meshes, including relative transformations.
- Import models with vertex counts larger than Unity max by automatically splitting into multiple meshes.
Planned Improvements
- Export window with additional options:
- Swap model axis on import/export.
- Export as multiple objects or merge (currently always merges).
- Generate normals on import (with smoothing or no).
Troubleshooting
Model is sideways / horizontal / rotated
Unity's coordinate system is left handed, with Y axis as the vertical. Other 3d modeling programs may have different coordinate systems or axis assignments. pb_Stl exports right handed coordinates by default, but can be modified to retain left handed coordinates. Support for swapping axes is planned.
Contributing
If you would like to submit improvements please include NUnit tests for your changes (and make sure they don't break any existing tests).
License
It's MIT.
関連プロジェクトを探す
読み込み中…