Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of Formats, Libraries and plugins #1

Open
unitycoder opened this issue Nov 5, 2020 · 14 comments
Open

List of Formats, Libraries and plugins #1

unitycoder opened this issue Nov 5, 2020 · 14 comments
Labels
help wanted Extra attention is needed

Comments

@unitycoder
Copy link
Member

unitycoder commented Nov 5, 2020

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)

  • c# compatible libraries / frameworks (as sources or dll's)
  • native dll plugins with c# bindings (or possible pinvoke could be used)
  • external simple commandline converter tools (that could be used to convert from cad format(s) into some common formats (fbx, obj..)
  • source from other languages, that could be converted into c#

Common CAD formats that would need runtime importers (see more formats)

  • STEP (i'd consider this high priority, as its one of the most common interchange formats)
  • DWG
  • DXF (would be nice to have 2D layout imports too)
  • STL
  • IFC (would be nice to import meta data also)
  • IGES
@unitycoder unitycoder added the help wanted Extra attention is needed label Nov 5, 2020
@agarcialeon
Copy link

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?

@unitycoder
Copy link
Member Author

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).

@unitycoder
Copy link
Member Author

@Rickmc3280
Copy link

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

@unitycoder
Copy link
Member Author

unity assimp wrapper (40+ mesh formats, JT, IFC, STL..)
https://github.com/eastskykang/UnityMeshImporter

@unitycoder
Copy link
Member Author

@unitycoder
Copy link
Member Author

tested step importing: (their sample file, or regular small step file)

@unitycoder
Copy link
Member Author

STL import (using Rust plugin)
https://github.com/unitycoder/UnityRustStl

@AlejandroGCr
Copy link

GLTF importer (exporter not implemented yet)
https://github.com/Siccity/GLTFUtility

@unitycoder
Copy link
Member Author

FBX glTF importer/exporter plug-in and converter
https://github.com/cyrillef/FBX-glTF

@anksji
Copy link

anksji commented Oct 6, 2023

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?

@unitycoder
Copy link
Member Author

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)

@anksji
Copy link

anksji commented Oct 14, 2023

Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants