Page MenuHome

Archipack: Nested boolean does mess normals of PARENT of hole object
Open, NormalPublic

Description

System Information
Win 10

Blender Version
Broken: 2.77a - 2.77 last build bot
Worked: (optional)

Short description of error
Nested boolean does mess normals of PARENT of hole object !

Exact steps for others to reproduce the error

Setup achipack from https://github.com/s-leger/archipack/tree/boolean_mess

In T panel under Create, Use draw a wall click, drag and release to create a wall, then use draw doors/windows to slap object on the wall.

Select the wall, and in T + tools panel click on autoboolean.
Look at window frame.

Details

Type
Bug

Event Timeline

Bastien Montagne (mont29) renamed this task from Nested boolean does mess normals of PARENT of hole object to Archipack: Nested boolean does mess normals of PARENT of hole object.Jun 16 2017, 4:27 PM
Bastien Montagne (mont29) edited projects, added Addons; removed BF Blender.

Since this is report in modifier, think its reasonable report narrows the problem down to test file that doesn't depend on 3rd party add-ons.

Campbell Barton (campbellbarton) triaged this task as Incomplete priority.Jun 16 2017, 5:55 PM

Well, narrowed down a bit.

Mesh was created via bmesh, setting vertex, faces, material index, and uvs.
Setup boolean structure and parenting as you may find in file.

  • AutoBoolean does barely nothing, only update to same values allready set hide_select, hide_render, lock all transforms and cycles visibility related params.
  • Parent-child relationship, boolean modifiers and modifier.objects untouched.

Seem this is enougth to trigger (mess) update of normals in parent objects of holes.

Workaround :

  • call bm.update_normals() at mesh creation time.

using auto_smooth only hide the bug, but uncheck does show black objects.

Bastien Montagne (mont29) raised the priority of this task from Incomplete to Normal.Jun 28 2017, 10:35 AM