Difference between revisions of "BlenderBIM Add-on/IFC Patch Recipes"

From Wiki.OSArch
Line 6: Line 6:
  
 
[[File:MergeProject screenshot.png]]
 
[[File:MergeProject screenshot.png]]
 +
 +
 +
== OffsetObjectPlacements ==
 +
 +
The arguments for OffsetObjectPlacements are a list of numbers. If you specify 3 numbers [X,Y,Z], the coordinates will be offset by X, Y, Z. If you specify 4 numbers [X,Y,Z,Az], it will be offset by X, Y, Z and rotated along the Z axis by Az. If you specify 6 numbers [X,Y,Z,Ax,Ay,Az] it will translate along all three axes and also rotate along all three axes. [https://community.osarch.org/discussion/comment/12408/#Comment_12408 -source]
  
 
== RecycleNonRootedElements ==
 
== RecycleNonRootedElements ==

Revision as of 17:36, 30 August 2022

Code for IFC Patch Recipes in located here.

For Windows use /, for all other platforms use \ in the path

MergeProject

MergeProject screenshot.png


OffsetObjectPlacements

The arguments for OffsetObjectPlacements are a list of numbers. If you specify 3 numbers [X,Y,Z], the coordinates will be offset by X, Y, Z. If you specify 4 numbers [X,Y,Z,Az], it will be offset by X, Y, Z and rotated along the Z axis by Az. If you specify 6 numbers [X,Y,Z,Ax,Ay,Az] it will translate along all three axes and also rotate along all three axes. -source

RecycleNonRootedElements

Consolidates redundant non-rooted entities, like the following example, down to one entity.

#45=IFCOWNERHISTORY(#9,#8,.READWRITE.,.MODIFIED.,1629040293,#9,#8,1629040293); #52=IFCOWNERHISTORY(#9,#8,.READWRITE.,.MODIFIED.,1629040293,#9,#8,1629040293);

RecycleNonRootedElements.png