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

From Wiki.OSArch
m (changed the path slash, however did not have permissons to upload an new image)
Line 1: Line 1:
 
Code for IFC Patch Recipes in located [https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.7.0/src/ifcpatch/ifcpatch/recipes here].
 
Code for IFC Patch Recipes in located [https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.7.0/src/ifcpatch/ifcpatch/recipes here].
  
For Windows use <code>/</code>, for all other platforms use <code>\</code> in the path
+
For Windows use <code>\\</code>, for Mac and GNU/Linux use <code>/</code> in the path
  
 
== MergeProject ==
 
== MergeProject ==

Revision as of 03:09, 18 October 2022

Code for IFC Patch Recipes in located here.

For Windows use \\, for Mac and GNU/Linux 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