Carver addon bug #79365

Open
opened 2020-07-29 11:35:41 +02:00 by Shakir Gamzaev · 14 comments

Blender version 2.83.3 Carver addon bug:

Here is a result i did to one shape and woith rebool option selectd it gives me the following error: Traceback (most recent call last):

File "C:\Blender\2.83\scripts\addons\object_carver\carver_operator.py", line 337, in modal
  self.Cut()
File "C:\Blender\2.83\scripts\addons\object_carver\carver_operator.py", line 1217, in Cut
  Rebool(context, self)
File "C:\Blender\2.83\scripts\addons\object_carver\carver_utils.py", line 730, in Rebool
  m.object = Brush

TypeError: bpy_struct: item.attr = val: BooleanModifier.object ID type does not support assignment to itself
Warning: Operation finished. Failure during Carving (Check the console for more info)

BlenderBug.png

Steps to reproduce
Rifle_02.blend

  • Open file
  • Select MainBody object
  • Try to do rebool operation
Blender version 2.83.3 Carver addon bug: Here is a result i did to one shape and woith rebool option selectd it gives me the following error: Traceback (most recent call last): ``` File "C:\Blender\2.83\scripts\addons\object_carver\carver_operator.py", line 337, in modal self.Cut() File "C:\Blender\2.83\scripts\addons\object_carver\carver_operator.py", line 1217, in Cut Rebool(context, self) File "C:\Blender\2.83\scripts\addons\object_carver\carver_utils.py", line 730, in Rebool m.object = Brush ``` TypeError: bpy_struct: item.attr = val: BooleanModifier.object ID type does not support assignment to itself Warning: Operation finished. Failure during Carving (Check the console for more info) ![BlenderBug.png](https://archive.blender.org/developer/F8728100/BlenderBug.png) **Steps to reproduce** [Rifle_02.blend](https://archive.blender.org/developer/F8728345/Rifle_02.blend) - Open file - Select MainBody object - Try to do rebool operation
Author

Added subscriber: @shakirgamzaev

Added subscriber: @shakirgamzaev

blender/blender#79368 was marked as duplicate of this issue

blender/blender#79368 was marked as duplicate of this issue
Author

please fix this bug

please fix this bug

Added subscriber: @MarcinTwarowski

Added subscriber: @MarcinTwarowski

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I couldn't reproduce. Please upload a .blend file and write exact steps how to reproduce this error.

I couldn't reproduce. Please upload a .blend file and write exact steps how to reproduce this error.
Author

Rifle.blend Did you receive a file?

[Rifle.blend](https://archive.blender.org/developer/F8728215/Rifle.blend) Did you receive a file?

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

I get unexpected results with this mesh indeed.
After closer inspection, your mesh needs some cleaning. There's what looks like a result of a bad bevel:
obraz.png
So I fixed that:
obraz.png
Rifle_02.blend
But it didn't help. Converting ngons into tris didn't fix the problem either.

I get unexpected results with this mesh indeed. After closer inspection, your mesh needs some cleaning. There's what looks like a result of a bad bevel: ![obraz.png](https://archive.blender.org/developer/F8728303/obraz.png) So I fixed that: ![obraz.png](https://archive.blender.org/developer/F8728312/obraz.png) [Rifle_02.blend](https://archive.blender.org/developer/F8728345/Rifle_02.blend) But it didn't help. Converting ngons into tris didn't fix the problem either.
Author

Is there a reason why this happens?

Is there a reason why this happens?
Author

I dont understand

I dont understand

Added subscribers: @BrendonMurphy, @iss

Added subscribers: @BrendonMurphy, @iss

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

For some reason brush object was not selected after it was created. Perhaps selection was only extended because of shift key is being held down. Not sure exactly I haven't digged much deeper than this.

I could not reproduce this on blank file though so I suspect this bug will be a bit more hidden than setting some operator property. On the other hand, somehow I was able to make successful rebool on provided fixed file, so I don't think file is to blame as well.

CC: @BrendonMurphy

For some reason brush object was not selected after it was created. Perhaps selection was only extended because of shift key is being held down. Not sure exactly I haven't digged much deeper than this. I could not reproduce this on blank file though so I suspect this bug will be a bit more hidden than setting some operator property. On the other hand, somehow I was able to make successful rebool on provided fixed file, so I don't think file is to blame as well. CC: @BrendonMurphy
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#79365
No description provided.