[MERGED] glTF format support?
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
[MERGED] glTF format support?
Recently noted the glTF format...
Arch has Web Export, any plan to support glTF?
https://www.khronos.org/gltf/
Arch has Web Export, any plan to support glTF?
https://www.khronos.org/gltf/
Last edited by Kunda1 on Sun Nov 22, 2020 3:39 pm, edited 2 times in total.
Reason: Updated thread title
Reason: Updated thread title
Re: glTF format support?
Dropped into this article :-
Why we should all support glTF 2.0 as THE standard asset exchange format for game engines https://godotengine.org/article/we-shou ... me-engines
... glTF 2.0: What makes it great?
Don't understand the technicality, seem useful at all?
Why we should all support glTF 2.0 as THE standard asset exchange format for game engines https://godotengine.org/article/we-shou ... me-engines
... glTF 2.0: What makes it great?
Don't understand the technicality, seem useful at all?
Re: glTF format support?
gltf indeed seems very cool, it's under my radar for some time... However, all apps I have seen that import/use gltf also take more common mesh formats such as obj or stl. Since FreeCAD won't export any UV / texturing stuff anyway, there wouldn't be any real advantage to export gltf directly.
Better to wait until there is a nice gltf i/o library out there that we can use
Better to wait until there is a nice gltf i/o library out there that we can use
Re: glTF format support?
Indeed, I only note IfcOpenShell can convert to Collada and then to glTF.yorik wrote: ↑Fri Oct 26, 2018 2:13 pm gltf indeed seems very cool, it's under my radar for some time... However, all apps I have seen that import/use gltf also take more common mesh formats such as obj or stl. Since FreeCAD won't export any UV / texturing stuff anyway, there wouldn't be any real advantage to export gltf directly.
Better to wait until there is a nice gltf i/o library out there that we can use
For usecase, only thinking it may be easier to have a FC model, with ArchTexture Fruti works on probably, shown on a mobile / smartphone easier:)
Would wait to see!
- hardeeprai
- Posts: 177
- Joined: Sun May 23, 2010 2:41 pm
- Location: Ludhiana, Punjab, India
- Contact:
Re: glTF format support?
Meanwhile maybe at try to export to blender and then export to GLTF ?
https://github.com/KhronosGroup/glTF-Blender-Exporter
Feedback welcome
https://github.com/KhronosGroup/glTF-Blender-Exporter
Feedback welcome
Re: glTF format support?
As long as FreeCAD has no native export, one of these methods:
1. Export as STEP -> Import into CAD Assistant from Opencascade -> Export glTF
2. Use the python library cqparts :
1. Export as STEP -> Import into CAD Assistant from Opencascade -> Export glTF
2. Use the python library cqparts :
Code: Select all
>>> import cqparts
>>> cqparts.Assembly.importer('step')('myfile.stp').exporter('gltf')('myfile.gltf')
windkit - an open source hardware small windturbine build with FreeCAD
https://twitter.com/Windkit_cc
https://git.erni-kollektiv.org/erni/windkit
https://twitter.com/Windkit_cc
https://git.erni-kollektiv.org/erni/windkit
Re: glTF format support?
I created a wiki page to document this: gITF
Is there anyway to import gITF in to FC yet, using a workaround?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: glTF format support?
Use OCC 7.5 There is support for reading and writing glTF 2.0 The name implies only writing but here it is mentioned occt also reads glTF
Regards
Re: glTF format support?
Nice. Maybe we can open a FR to add gITF native support in FreeCAD ?jeno wrote: ↑Sat Nov 21, 2020 1:44 pm Use OCC 7.5 There is support for reading and writing glTF 2.0 The name implies only writing but here it is mentioned occt also reads glTF
Thoughts?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs