Commands › Printing a drawing or an object
#image-fire-plan Printing a drawing or an object
Prints a fire-protection plan as an image: the concept over the architect's plan, in the VKF's colours.
#image-fire-plan(,
: , : , : ,
:
)Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
planrequiredThe plan's id, as the fire-protection tab saved it.
widthoptional · default 100%The width the plan is printed at, all the room it is given by default.
widthoptional · default 100%100%Free text, for example:
width: 60%detail-legendoptional · default autoWhat is set under the fire-protection plan.
detail-legendoptional · default autoautoits defaults: legend and scale bar"none"nothing under the drawing"objects"the symbols' legend"scale-bar"the scale barHover a value: its call and what it prints.
#image-fire-plan("Treppenhaus", width: 60%)What it prints
#image-fire-plan("Treppenhaus", width: 60%, detail-legend: "none")What it prints
#image-fire-plan("Treppenhaus", width: 60%, detail-legend: "objects")What it prints
#image-fire-plan("Treppenhaus", width: 60%, detail-legend: "scale-bar")What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
scaleoptional · default noneOn an export sheet, the n of the 1:n the fire-protection plan is drawn at.
scaleoptional · default nonenoneFree text, for example:
scale: 100titleoptional · default noneOn an export sheet, the line above the fire-protection plan.
titleoptional · default nonenoneno titleautothe plan's name, storey and scale"…"your textHover a value: its call and what it prints.
#image-fire-plan("Treppenhaus", width: 60%)What it prints
#image-fire-plan("Treppenhaus", width: 100mm, title: auto)What it prints
#image-fire-plan("Treppenhaus", width: 100mm, title: "Treppenhaus, Fluchtweg")What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
The essentials
An image, not a figureIt goes in a native
#figure: the caption and the label are the document's own.Cited by its label
<label> after the figure, @label in the text: numbered by Typst.The VKF's coloursFire resistances, escape routes and doors, as the VKF's sheet of symbols.
Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The plan's id, as the fire-protection tab saved it. #image-fire-plan("Treppenhaus")the stairwell"Pavillon-EG"the pavilion's ground floor | |
| What is printed | ||
| optional | The width the plan is printed at, all the room it is given by default. width: 60%a little over half the columnwidth: 12cma fixed width | |
| optional | What is set under the fire-protection plan. detail-legend: "objects"the legend alonedetail-legend: "none"the plan alone | |
| optional | On an export sheet, the n of the 1:n the fire-protection plan is drawn at. scale: 100at 1:100scale: 200at 1:200 | |
| Label and description | ||
| optional | On an export sheet, the line above the fire-protection plan. title: autoits name, storey and scaletitle: "Treppenhaus, Fluchtweg"your line | |
Lines to copy
Minimal call
#image-fire-plan("Pavillon-EG")Complete call
#image-fire-plan("Pavillon-EG", width: 100%, detail-legend: auto, scale: none, title: none)Examples
#figure(image-fire-plan("Treppenhaus"), kind: image, caption: [Brandschutzplan Treppenhaus]) <bs-treppe>#figure(image-fire-plan("Pavillon-EG", width: 70%, detail-legend: "objects"), kind: image, caption: [Brandschutz Pavillon])Defined in lib/calc-engine-drawings.typ:828