Open unitycoder opened 3 years ago
I can't help much with libraries. I only remember that PIXYZ was one of the importers that Unity integrated for CAD. Check in the UnityCommunity repository, inside Importers/Exporters section.
Anyway, which is the purpose of this repository?
this would be for an open source runtime multiple cad format importers (and later some export formats could be added also).
Pixyz is definitely best solution at the moment (but of course its paid only).
stp
iges, stp, stl, wrl, 3dxml
ifc
fbx export
fbx import
fbx import/export
fbx, maya export
Currently working to convert IFC++ (http://www.ifcquery.com/) ( Github: https://github.com/ifcquery/ifcplusplus) Over to C# May take a while. Spent 6 hours last night on it. Apparently one of the ways that he made it efficient was using pointers, so having to connect it back to regular variables is meh. Will try to do pointers as well if @unitycoder can help with that once done. Ill have to label which ones to make as pointers. It def helps to speed it up.
Also reattaching these:
stp
import https://github.com/anycad/StpViewer import/export https://github.com/ixmilia/step export https://github.com/drGsus/simple-step-exporter
iges, stp, stl, wrl, 3dxml
import https://github.com/i2e-haw-hamburg/cad-in-unity (quite old repo though) ifc
https://github.com/xBimTeam/XbimEssentials
fbx export
https://github.com/KellanHiggins/UnityFBXExporter https://github.com/unity3d-jp/FbxExporter https://github.com/Ymiku/UnityFBXExporter
fbx import
https://github.com/mpreble/UnityFBXImporter https://github.com/izrik/FbxSharp fbx import/export
https://github.com/hamish-milne/FbxWriter https://github.com/Unity-Technologies/com.unity.formats.fbx https://github.com/Hoetan/FBXImporterExporterForUnity_20181015
fbx, maya export
https://github.com/newyellow/Unity-Runtime-Animation-Recorder
unity assimp wrapper (40+ mesh formats, JT, IFC, STL..) https://github.com/eastskykang/UnityMeshImporter
ifc dotnet https://github.com/xBimTeam/XbimEssentials
tested step importing: (their sample file, or regular small step file)
STL import (using Rust plugin) https://github.com/unitycoder/UnityRustStl
GLTF importer (exporter not implemented yet) https://github.com/Siccity/GLTFUtility
FBX glTF importer/exporter plug-in and converter https://github.com/cyrillef/FBX-glTF
I'm exploring runtime import and export options for WebGL builds in unity. I've reviewed options like Trilib and various glTF libraries, but they don't meet my requirements. I'm also looking into using Assimp in Unity WebGL. Could you suggest a straightforward and efficient solution? @unitycoder I have one more question does Pixyz supports run time import/export?
Pixyz supports run time import/export?
from what i've read, it doesn't work in webgl and that gltf would be the recommended for that.. (but not sure whats current status)
recently tested this https://github.com/eastskykang/UnityMeshImporter for runtime fbx, but the mesh was broken in some parts..
then tried this https://github.com/atteneder/glTFast *this is apparently best glft importer, and it does read quite fast. but the gltf mesh had more parts than the original fbx file and fails on large +3gb files)
Thank you so much
Post links here for (open source) libraries and plugins that could be used in Unity (runtime) CAD Import and Export
Preferred solutions (in this order)
Common CAD formats that would need runtime importers (see more formats)