3MFConsortium / 3mf-samples

The 3MF Samples repository contains implementation guidance, 3MF sample files and conformance tests for the 3MF Specification.
http://www.3mf.io
BSD 2-Clause "Simplified" License
46 stars 23 forks source link

Tool to view contents of 3MF? (Show materials) #28

Open evilC opened 9 months ago

evilC commented 9 months ago

Is there a tool (I would need one for windows), which lets you view the contents of a 3MF? There are plenty of 3MF viewers online but I cannot be 100% sure that they show ALL the metadata in the file - ie they seem to mostly be geared towards viewing the geometry. The reason that I ask is that I suspect that Fusion360 is not outputting the Material when it outputs a 3MF file. Ideally, any 3MF that Fusion exports should store, for each body, the name of the material that is assigned to that body. Seeing as 3MF is a binary file format though, I cannot easily delve into the 3MFs that I am exporting to find out.

Furthermore, in this repo, it is unclear what each of the examples actually is. For example, I assume that examples/material folder contains examples of 3MF files with material data? If it were clear exactly what each example is an example of, then I could, for example, download an example which has multiple materials in it, and load it into an online viewer and see if it shows the materials correctly. If it does, I could then load in one of my files to have more confidence as to whether or not it is actually outputting materials.

alexanderoster commented 9 months ago

Hi Clive,

Thank you so much for looking into using 3MF. As a 3MF file relies on the OPC package standard, you can just unzip it. We might look into exposing Materials in Fusion 360, are you ok with us contacting you to find out more about your use cases?

Best regards and thank you,

Alex

evilC commented 9 months ago

Hi Alex Oh, what a dummy, I should have realized it's just a zip. Yeah, I see now - just a thumbnail and vertex data. Please do feel free to contact me, my email address is on my GH profile. Regards Clive