-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import fails - Blender 3.4 removed use_customdata_edge_bevel mesh property #72
Comments
Done, see latest release. |
Same issue for me |
@TobyLobster Hi, could you please fix also the bevel options as mentioned above? Thank you very much. |
Fixed in latest release |
Hi, I tested it on version 3.4.1 Stable (build from 13.1.2023) and it's still not working. Python: Traceback (most recent call last): I also tried to use blender 3.5 and import dosn't have Bevel edges. |
Perhaps you could try installing this version as a test: |
I also tried to comment out mode_set before but then I started having this error log ( and i dont know anything about blender python API so i could continue experimenting :D ) Python: Traceback (most recent call last): |
Ok, I suggest the original version is the correct version. Perhaps there is an issue importing a specific model? If you can open other models ok then send me one that doesn't work and I can look at it. When you import do you have a 3d viewport visible? (It may have problems if you don't). |
Yes 3D viewsport is my default view. In Blender 3.5 I don't get error with enum EDIT mode not found in but there are still bevel edges missing. |
Really weird hmmm. At least it works for me in Blender 3.5 but still, I can't get bevel edges working. If you zoom in your picture above, do you see bevel edges working? |
You're right, I don't see the bevelled edges in an up close render. I don't know why they are not appearing though, since the Bevel modifier is present (see screenshot), and sharp edges are present (you can select them in EDIT mode). So why are they not rendering? |
They are not getting the custom weight data, I'm investigating... |
Should be fixed in latest release https://github.com/TobyLobster/ImportLDraw/releases/tag/v1.1.15 |
Just tested, works in Blender 3.5. Thank you! |
Hi, It works fine in Blender 3.5.0 |
hi, I tried to use this addon, but it doesn't import any Lego pieces, just empties. why is this happening?https://i.imgur.com/EuchAY4.png |
Hi,
can you please update plugin to work with Blender 3.4 and newer? Blender recently removed use_customdata_edge_bevel
Here is more information about Python breaking changes in 3.4:
https://wiki.blender.org/wiki/Reference/Release_Notes/3.4/Python_API
Python: Traceback (most recent call last):
File "C:\Users\shugo\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_scene_importldraw\importldraw.py", line 391, in execute
loadldraw.loadFromFile(self, self.filepath)
File "C:\Users\shugo\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_scene_importldraw\loadldraw\loadldraw.py", line 4300, in loadFromFile
rootOb = createBlenderObjectsFromNode(node, node.matrix, name)
File "C:\Users\shugo\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_scene_importldraw\loadldraw\loadldraw.py", line 3579, in createBlenderObjectsFromNode
ob.data.use_customdata_edge_bevel = True
AttributeError: 'Mesh' object has no attribute 'use_customdata_edge_bevel'
bpy.ops.import_scene.importldraw(filepath="D:\io\Wietse Bricks\WBCorvetteMOC - Copy.ldr", ldrawPath="D:\Blender Versions\ldraw3\", bevelEdges=True)
The text was updated successfully, but these errors were encountered: