Comments (10)
Hi! Thanks for reporting the bug here.
From what I can see, this means that context.scene.objects
or context.selected_objects
contained a None
object, which is not expected according to Blender's API. I'm also unable to reproduce this myself.
I could make it ignore those invalid objects, but the issue might indicate that something deeper is going wrong. If that's the case the export is likely going to be incomplete.
One way in which I could perhaps better reproduce the problem is if you'd save the .blend file from when you export the object. Right before or right after you get this error message, doesn't matter. This should reproduce the entire Blender scene and hopefully allows me to get that same error message then. Once I have that I can dig into the code to see what's going wrong, where exactly this None
object comes from.
from blender3mfformat.
from blender3mfformat.
Attachments to e-mail replies don't get published here, I'm afraid. Could you visit your original issue report on the Github website and post it here? #35
from blender3mfformat.
Apologies - time zone issues. I attach the three files as requested.
from blender3mfformat.
Further information. If I export a shape generated within Blender, it works fine. If I import an stl file, and then export in 3mf format, it is also fine. However, if I import a 3mf file, then re-export it, the problem occurs. This is an observation based on three simple files (attached), not an extensive test.
best wishes,
VJM
testBlender2.zip
from blender3mfformat.
from blender3mfformat.
Sorry, I'm a bit behind on my notifications. It seems like the last upload contains all the information I could want for, so thanks :) I'll probably find some time to work on the plug-in next weekend, and I'll try debugging this too then.
from blender3mfformat.
from blender3mfformat.
I was able to find the culprit and fix this bug. Thanks for the help!
I'm not planning to release a new version until this add-on is either accepted or denied by Blender in their add-on repository. It's taking a long time to get it through though. If you need it fixed for yourself, you can take this file and use it to replace the export_3mf.py
file with the same name in the folder you installed this add-on with.
from blender3mfformat.
from blender3mfformat.
Related Issues (20)
- SUPPOPRT STRUCTURES HOT 1
- Error while Export HOT 1
- Error import/export the 3mf file HOT 1
- Import and Export object dimensions and translations scaled by changes to Unit Scale.
- AttributeError: 'NoneType' object has no attribute 'name' when object has blank Material
- Does the importing of the 3MF files keep the color and texture information in 3MF files? HOT 2
- Does not work with Blender 3.5 HOT 5
- 3MF Consortium Support HOT 1
- Texture not included in export HOT 1
- 3.6 3MF Blender Compatibility Workaround HOT 4
- Install fix HOT 2
- Changing license from AGPL to GPL for inclusion in default Blender package HOT 8
- exported file empty HOT 3
- Blender 4 support? HOT 1
- python traceback trying to import file HOT 2
- Almost nothing can open the exported 3mf file HOT 1
- Enormous memory usage HOT 1
- Imported object scale isnt correct
- Crashes if object doesn't have a material
- Possible to include color data from Bambu Slicer / Printasbles 3mf? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender3mfformat.