f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.62k stars 188 forks source link

Consider adding more file formats support #38

Open mwestphal opened 2 years ago

mwestphal commented 2 years ago

Context F3D supports many file formats, but they are many that F3D does not support, lets add supports for these formats!

Help wanted Not an usual help wanted issue, but if you are familiar with any of these formats and want to add supports for it, please say so and we will create a dedicated issue with all needed information.

Formats

Formats to consider sorted by reddit upvotes:

mwestphal commented 2 years ago

https://gitlab.kitware.com/f3d/f3d/-/issues/219

gerroon commented 2 years ago

I am voting for VDB as well, it is super common in VFX pipelines.

mwestphal commented 2 years ago

added the vote and moved it up. We would need someone willing to work with OpenVDB. library.

FYI @Meakk

runxel commented 2 years ago

Also please consider supporting more point cloud formats. .pts is already available, but tbh I've never come across one single pts file. e57, ply, and even simple xyz are much more common.

mwestphal commented 2 years ago

Hi,

.ply is supported already. .xyz has no real standard for point clouds. Ill take a look at e57

mwestphal commented 2 years ago

About e57: http://www.libe57.org/

Looks like there is a lib.

astandarduser commented 2 years ago

Would be amazing to have ztl, maya ascii, 3DXML, and the ability to open 3dPDF files albeit that may be out of the scope of this project

mwestphal commented 2 years ago

Pretty much all proprietary formats, i'd not get my hopes up.

astandarduser commented 2 years ago

I figured ztl was a stretch, and the models will be super heavy too generally. 3DXML is supported by many apps so I assumed it wasn't but I guess not. Some other software imports maya ascii too for example Zbrush

drtrigon commented 2 years ago

+1 for .3mf

I would also very much like to se support for .3mf as all major software packages around 3D print add it recently. It is supposed to have some advantages over .stl, see e.g. https://blog.prusa3d.com/3mf-file-format-and-why-its-great_30986/ .

mwestphal commented 2 years ago

Added your vote and a note for vdb (which has its own issue : #181 )

crafthive commented 1 year ago

USD is pretty essential. It will very soon be the core 3d format imo

mwestphal commented 1 year ago

Added your vote @crafthive ! I hope someone who knows the format could go ahead and implement support,

mrpurest commented 1 year ago

+1 for USD is the upcoming standard.

mrpurest commented 1 year ago

also - I think opensource, multi-application formats should get priority over proprietary/application specific formats

mwestphal commented 1 year ago

Added @H4kunaM4tata vote for .3mf

mwestphal commented 1 year ago

@mrpurest : tbh it is more about finding contributors willing to add support for specific file formats

mwestphal commented 1 year ago

@mrpurest : added your .usd vote

HakunMatat4 commented 1 year ago

Thank you @mwestphal , happy 3D printing.

mwestphal commented 1 year ago

For anyone following this, please note that since plugins are now supported, anyone can develop their own plugin, as @YangShen398 did for abaqus !

https://github.com/YangShen398/F3D-ODB-Reader-Plugin

mwestphal commented 1 year ago

added a few votes for USD as it was mentionned on reddit multiples times

mwestphal commented 1 year ago

more usd votes, we definitely should consider it.

OloOcki commented 1 year ago

First of all - an excellent project!

I'd like to vote for an open formats:

mwestphal commented 1 year ago

Hi @OloOcki !

mwestphal commented 1 year ago

Added a .3mf vote from reddit

OloOcki commented 1 year ago

Hi @OloOcki !

* CityGml is already supported :)

* I've added pcd and las to the list.

Hi @mwestphal excellent! I've missed it! I'll update the list of CityGML-supported viewers, then! Awesome CityGML

Thank you for adding!

mwestphal commented 1 year ago

Thanks !

TBH it's all thanks to VTK, that you may want to add in your list too, as a library.

Meakk commented 1 year ago

USD support coming soon.

image

Is support for MaterialX within USD important?

mwestphal commented 1 year ago

Added two ifc votes

MostFull commented 12 months ago

Please support extension ( blender + maya )

mwestphal commented 12 months ago

I've added your .blend vote @MostFull , what is Maya format specifically?

MostFull commented 12 months ago

.ma

في الجمعة، ٤ أغسطس ٢٠٢٣, ٧:١٦ م Mathieu Westphal @.***> كتب:

I've added your .blend vote @MostFull https://github.com/MostFull , what is Maya format specifically?

— Reply to this email directly, view it on GitHub https://github.com/f3d-app/f3d/issues/38#issuecomment-1665868510, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACS7GPTF5YUXY35NDVUMMQ3XTUN6LANCNFSM5H5Z3ADA . You are receiving this because you were mentioned.Message ID: @.***>

mwestphal commented 12 months ago

Added

MostFull commented 12 months ago

Thank you for your efforts. I would like to point out that some formulas are repeated twice in the first comment. For example, (ma) has two votes, and another (ma) has two votes. Why are there two (ma) ?

mwestphal commented 11 months ago

Good point! Ive combined them!

jtlechem commented 11 months ago

3MF, please

mwestphal commented 11 months ago

Added

snoyer commented 11 months ago

Open Cascade BRep format could be useful for CAD users working with OCC-based procedural generation (eg. cadquery, build123d) to F3D pipelines.

example file here: https://github.com/tpaviot/pythonocc-demos/blob/master/assets/models/Motor-c.brep

mwestphal commented 11 months ago

.brep added

yannickbattail commented 9 months ago

support for .3mf , that would be awesome

mwestphal commented 9 months ago

.3mf format vote added

mwestphal commented 7 months ago

USD format support added!

redtif commented 7 months ago

Please support 3mf Format

mwestphal commented 7 months ago

3mf vote added

mwestphal commented 7 months ago

Dedicated isssue created for 3mf, blend and X support!

Meakk commented 6 months ago

X format support just merged in master (rely on the assimp plugin)

mwestphal commented 6 months ago

VDB support added, please try the last nightly:

https://github.com/f3d-app/f3d/releases/tag/nightly

mwestphal commented 6 months ago

3mf and x support available in the nightly release!

https://github.com/f3d-app/f3d/releases/tag/nightly

ShaddyDC commented 5 months ago

My votes for 3dxml and jt, though I understand that as semi-proprietary formats, they're both long shots. Just a heads-up that the list in the issue contains both .3DXML and .3dxml, which I assume to be the same.

Some background on the formats:

The 3DXML file format is mostly officially documented here. It's basically just a zip file with a bunch of xml files. Unfortunately, it can also sometimes use some proprietary compression and encoding on .3DREP files that contain the actual geometry data. I assume that would require some reverse engineering, which is probably beyond the scope of this project. When that compression is not present, however, you've got some plain ascii xml files, which should be supportable. There is an open source implementation with GLC_lib and GLC_Player, although it's pretty janky in my experience. Some discussion of people trying to implement it is here and here, which provides some background, but I think the official documentation is the most helpful.

I haven't tried working with JT directly, but a colleague of mine has, and while the format has a public and open specification, it is extremely non-trivial to implement and not fun. We have opted to use the proprietary and licenced JT Open Toolkit, which is of course not an option here. It looks like there are some open source projects that try to work with the file format, but I don't know how usable they are, see dxjt_toolkit and oce-jt.

Meakk commented 5 months ago

Added your votes to the list.
Thank you for the links.

Note that it's still possible to open-source a plugin using a proprietary library. It has already been done for the ODB format: https://github.com/YangShen398/F3D-ODB-Reader-Plugin