Editing BlenderBIM Add-on/BlenderBIM Add-on exporting 2D documentation
From Wiki.OSArch
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 31: | Line 31: | ||
The symbols and hatches referenced by the CSS file are standard SVG files stored in <code>PROJECT_DATA_DIRECTORY⁄templates⁄</code> | The symbols and hatches referenced by the CSS file are standard SVG files stored in <code>PROJECT_DATA_DIRECTORY⁄templates⁄</code> | ||
− | The predefined material classes are assigned automatically to all objects, based on the name of their Blender material. As an example, when no material is defined, the section hatch in SVG is the default black. By assigning a material named named | + | The predefined material classes are assigned automatically to all objects, based on the name of their Blender material. As an example, when no material is defined, the section hatch in SVG is the default black. By assigning a material named named "brick" (case sensitive!) to an object, its resulting hatch in SVG changes in two parallel diagonal lines. |
− | + | [[File:BlenderBIM_SVGHatch_01.jpg|frame|center|Left: object without material, Right: object with Blender material named "brick".]] | |
− | [[File: | ||
==Adding annotation== | ==Adding annotation== | ||
Line 40: | Line 39: | ||
Currently recognized objects with their respective necessary names are: | Currently recognized objects with their respective necessary names are: | ||
− | |||
− | |||
*Curve - IfcAnnotation/Dimension.Number - as a dimension | *Curve - IfcAnnotation/Dimension.Number - as a dimension | ||
*Curve - IfcAnnotation/Equal.Number - as a dimension with the letters EQ instead of its value | *Curve - IfcAnnotation/Equal.Number - as a dimension with the letters EQ instead of its value | ||
Line 50: | Line 47: | ||
*Mesh - IfcAnnotation/Hidden.Number - as a dashed curve | *Mesh - IfcAnnotation/Hidden.Number - as a dashed curve | ||
*Text - IfcAnnotation/Text.Number - as a text field | *Text - IfcAnnotation/Text.Number - as a text field | ||
− | |||
The plug-in provides commands to create the correctly named dummy object in the Sidebar ("N" panel) > BlenderBIM > Annotation. | The plug-in provides commands to create the correctly named dummy object in the Sidebar ("N" panel) > BlenderBIM > Annotation. | ||
[[File:BlenderBIM_Annotation_01.JPG|frame|center|Dummy annotation objects]] | [[File:BlenderBIM_Annotation_01.JPG|frame|center|Dummy annotation objects]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Intelligent Tagging of Objects== | ==Intelligent Tagging of Objects== | ||
Go [[BlenderBIM Add-on Adding labels linked to properties and quantities|here]] for adding labels, like wall/window tags, that are intelligently linked to the object's data. | Go [[BlenderBIM Add-on Adding labels linked to properties and quantities|here]] for adding labels, like wall/window tags, that are intelligently linked to the object's data. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Drawing Styles and Filters== | ==Drawing Styles and Filters== | ||
Line 91: | Line 62: | ||
** For example add property you'd like to be exported to SVG class. Examples | ** For example add property you'd like to be exported to SVG class. Examples | ||
*** <code>Pset_WallCommon.Status</code> | *** <code>Pset_WallCommon.Status</code> | ||
− | |||
− | |||
− | |||
− | |||
* Include and Exclude | * Include and Exclude | ||
** In the Include and Exclude property you can indicate what to include/exclude from the drawing. A few examples. | ** In the Include and Exclude property you can indicate what to include/exclude from the drawing. A few examples. | ||
− | + | *** <code>.IfcElement[r"Pset_.*Common"."Status"="DEMOLISH"]</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Paths to... | * Paths to... | ||
** Stylesheet: | ** Stylesheet: | ||
− | *** defaults to: | + | *** <code>defaults to: drawings\assets\default.css</code> |
** Markers: | ** Markers: | ||
− | *** defaults to: | + | *** <code>defaults to: drawings\assets\markers.svg</code> |
** Symbols: | ** Symbols: | ||
− | *** defaults to: | + | *** <code>defaults to: drawings\assets\symbols.svg</code> |
** Patterns: | ** Patterns: | ||
− | *** | + | *** <code>defaults to: drawings\assets\patterns.svg</code> |
− | |||
− | |||
− | |||
* Dimension Rounding | * Dimension Rounding | ||
** MetricPrecision: | ** MetricPrecision: | ||
+ | *** Example: <code>1/2</code> rounds to the nearest 1/2" | ||
** ImperialPrecision: | ** ImperialPrecision: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Exporting a view== | ==Exporting a view== | ||
Line 138: | Line 87: | ||
[[File:BlenderBIM ViewExportOptions 01.JPG|frame|center|View export options]] | [[File:BlenderBIM ViewExportOptions 01.JPG|frame|center|View export options]] | ||
− | |||
− | + | = Settings in Blender Preferences - Add-ons= | |
− | + | * SVG Command: | |
− | + | ** Windows Example: <code> [[[['C:\\Program Files\\Inkscape\\bin\\inkscape.exe', path]]]] </code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= See also= | = See also= | ||
* [[Getting_started_with_2D_CAD_drafting]] | * [[Getting_started_with_2D_CAD_drafting]] | ||
− | |||
− | |||
− | |||
=External Resources= | =External Resources= |