mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 09:32:37 +00:00
Update ifc geometry on sverchok update
This commit is contained in:
@@ -28,7 +28,7 @@ import ifcopenshell
|
|||||||
import blenderbim
|
import blenderbim
|
||||||
import blenderbim.tool as tool
|
import blenderbim.tool as tool
|
||||||
from blenderbim.bim.module.model.prop import BIMStairProperties
|
from blenderbim.bim.module.model.prop import BIMStairProperties
|
||||||
|
from blenderbim.bim.ifc import IfcStore
|
||||||
|
|
||||||
from mathutils import Vector
|
from mathutils import Vector
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
@@ -70,6 +70,7 @@ def update_sverchok_modifier(context):
|
|||||||
bm.to_mesh(obj.data)
|
bm.to_mesh(obj.data)
|
||||||
bm.free()
|
bm.free()
|
||||||
obj.data.update()
|
obj.data.update()
|
||||||
|
IfcStore.edited_objs.add(obj)
|
||||||
|
|
||||||
|
|
||||||
# UI operators
|
# UI operators
|
||||||
|
|||||||
Reference in New Issue
Block a user