mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 11:20:21 +00:00
bonsai other ifcopenshell packages #5178
This commit is contained in:
@@ -58,10 +58,10 @@ class Patcher:
|
||||
|
||||
def patch(self):
|
||||
import bpy
|
||||
import blenderbim.tool as tool
|
||||
import bonsai.tool as tool
|
||||
import ifcopenshell
|
||||
import ifcopenshell.util.element
|
||||
from blenderbim.bim.ifc import IfcStore
|
||||
from bonsai.bim.ifc import IfcStore
|
||||
from mathutils import Vector, Matrix
|
||||
|
||||
if len(bpy.data.objects) > 0:
|
||||
|
||||
@@ -70,7 +70,7 @@ class Patcher:
|
||||
def patch(self):
|
||||
import bpy
|
||||
import bmesh
|
||||
import blenderbim.tool as tool
|
||||
import bonsai.tool as tool
|
||||
from math import degrees
|
||||
|
||||
bpy.context.scene.BIMProjectProperties.should_use_native_meshes = True
|
||||
|
||||
@@ -34,7 +34,7 @@ class Patcher:
|
||||
If filesize is an issue, another approach would be to use IFCZIP
|
||||
instead to compress the model. Optimising the model only typically
|
||||
affects filesize and has minimal impact on load times. Large filesizes
|
||||
can usually be solved through other means. Consult the BlenderBIM Add-on
|
||||
can usually be solved through other means. Consult the bonsai Add-on
|
||||
documentation on dealing with large models for more details.
|
||||
|
||||
Warning: this optimise recipe is very, very slow. Please consider using
|
||||
|
||||
@@ -34,7 +34,7 @@ class Patcher:
|
||||
If filesize is an issue, another approach would be to use IFCZIP
|
||||
instead to compress the model. Optimising the model only typically
|
||||
affects filesize and has minimal impact on load times. Large filesizes
|
||||
can usually be solved through other means. Consult the BlenderBIM Add-on
|
||||
can usually be solved through other means. Consult Bonsai
|
||||
documentation on dealing with large models for more details.
|
||||
|
||||
This patch may be run multiple times with diminishing returns.
|
||||
|
||||
Reference in New Issue
Block a user