Add support for object.name attribute + Color Group in 3MF Materials Extension + Bambu Studio/3MF Production Extension component path#58
Conversation
|
Can this version import color data to blender? |
|
@CptJackieSparrow @Ghostkeeper I added support importing 3MF Color Groups, added some tests, and cleaned the code to pass the code style tests. Sorry, there were a lot of individual commits until I figured out how to run the code style test locally. |
|
Attached redblue.zip if a sample project with base material and color group is needed for testing. |
|
Thanks for this. Exporting the object names is must-have. 🙏 Verified that it works perfectly. 👍 |
This is the Python version of the latest Blender release, as of this writing.
Otherwise it tries to install Python 3.1, which is not available on the latest Ubuntu version.
This is mandated by pycodestyle now.
As mandated by pycodestyle nowadays.
Apparently this has changed with more recent Blender versions.
Add note on manual installation location of addon for development.
No "3MF extensions" ... works -> 3MF +format+ extensions being .3mf also a file extension better to be clear
It's clearly a malformatted 3mf, but it also shouldn't crash the loading
This makes the message a bit more readable
… used when 3MF is imported with https://github.com/mika-f/blender-drag-and-drop
|
@Ghostkeeper Circling back to see if the I've been using the import/export color feature the past 6 months and it seems stable with no issues. I squashed my extra commits that I previously made before figuring out how to run the linter locally. |
|
Added Bambu Studio file import support by following referenced Similar to #70 but this version should be more robust because Bambu Studio specifies a <resources>
<object id="2" p:UUID="00000001-61cb-4c03-9d28-80fed5dfa1dc" type="model">
<components>
<component p:path="/3D/Objects/object_1.model" objectid="1" p:UUID="00010000-b206-40ff-9872-83e8017abed1" transform="1 0 0 0 1 0 0 0 1 0 0 0"/>
</components>
...Bambu Studio exports object names in the |
|
Installable release zip for this branch is at |
|
What should a Bambu model look like when imported? How do I see which parts of the model are using which colors? It's not in the materials tab like I'd expect it to be... |
|
Python: Traceback (most recent call last): I'm getting this error EDIT: It was a caching issue, a restart and cache clean fixed it! |
Bambu Studio doesn't treat Blender colors as materials 1:1 because materials represent a physical type of plastic and not just the color defined in the 3MF. Blender materials are for rendering and are not equal to Bambu Studio materials. |


Uh oh!
There was an error while loading. Please reload this page.