Commands › Printing a drawing or an object
#image-positions-plan Printing a drawing or an object
Prints a position plan as an image: the architect's plan faded, the STE symbols and numbers over it.
#image-positions-plan(,
: , : , : , : ,
: , : , : ,
:
)Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
planrequiredThe plan's id, as Woodcore 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%highlightoptional · default noneThe parts of the plan put under a halo, by id.
highlightoptional · default nonenoneFree text, for example:
highlight: "S001"frameoptional · default "all"The framing: the whole plan, or the surroundings of the highlighted positions.
frameoptional · default "all""all"the whole plan"highlight"the surroundings of the highlighted positions, at the plan's scaleHover a value: its call and what it prints.
#image-positions-plan("Pavillon", highlight: ("S001", "S002"), width: 60%)What it prints
#image-positions-plan("Pavillon", highlight: ("S001", "S002"), frame: "highlight", width: 60%)What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
zoomoptional · default 1Enlarges a framed detail beyond the plan's scale.
zoomoptional · default 11Free text, for example:
zoom: 2detail-figureoptional · default autoWhat the drawing shows, among the command's words.
detail-figureoptional · default autoautoits defaults: lengths, axes, dimensions, centres"length"the members' lengths"axes"the plan's axes"dimensions"the dimensions"centres"the centre distances()the drawing alone, nothing moreHover a value: its call and what it prints.
#image-positions-plan("Velo-Unterstand", width: 60%)What it prints
Prints the same as "length", "axes", "dimensions", "centres", ().
#image-positions-plan("Velo-Unterstand", width: 60%, detail-figure: "length")What it prints
Prints the same as auto, "axes", "dimensions", "centres", ().
#image-positions-plan("Velo-Unterstand", width: 60%, detail-figure: "axes")What it prints
Prints the same as auto, "length", "dimensions", "centres", ().
#image-positions-plan("Velo-Unterstand", width: 60%, detail-figure: "dimensions")What it prints
Prints the same as auto, "length", "axes", "centres", ().
#image-positions-plan("Velo-Unterstand", width: 60%, detail-figure: "centres")What it prints
Prints the same as auto, "length", "axes", "dimensions", ().
#image-positions-plan("Velo-Unterstand", width: 60%, detail-figure: ())What it prints
Prints the same as auto, "length", "axes", "dimensions", "centres".
Compiled once by Woodcore's engine, on the examples' frozen data.
detail-legendoptional · default autoWhat is set under the drawing.
detail-legendoptional · default autoautoits defaults: legend and scale bar"none"nothing under the drawing"length"the total length per position"objects"the symbols' legend"scale-bar"the scale barHover a value: its call and what it prints.
#image-positions-plan("Velo-Unterstand", width: 60%)What it prints
Prints the same as "objects".
#image-positions-plan("Velo-Unterstand", width: 60%, detail-legend: "none")What it prints
Prints the same as "length", "scale-bar".
#image-positions-plan("Velo-Unterstand", width: 60%, detail-legend: "length")What it prints
Prints the same as "none", "scale-bar".
#image-positions-plan("Velo-Unterstand", width: 60%, detail-legend: "objects")What it prints
Prints the same as auto.
#image-positions-plan("Velo-Unterstand", width: 60%, detail-legend: "scale-bar")What it prints
Prints the same as "none", "length".
Compiled once by Woodcore's engine, on the examples' frozen data.
scaleoptional · default noneOn an export sheet, the n of the 1:n the plan is drawn at.
scaleoptional · default nonenoneFree text, for example:
scale: 100titleoptional · default noneOn an export sheet, the line above the plan.
titleoptional · default nonenoneno titleautothe plan's name, description, storey and scale"…"your textHover a value: its call and what it prints.
#image-positions-plan("Velo-Unterstand", width: 60%)What it prints
#image-positions-plan("Velo-Unterstand", width: 100mm, title: auto)What it prints
#image-positions-plan("Velo-Unterstand", width: 100mm, title: "Velo-Unterstand EG")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.A detail
frame: "highlight" keeps only the surroundings of the highlighted positions.On an export sheet
scale: draws it at 1:n, title: sets the title line above it.Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The plan's id, as Woodcore saved it. #image-positions-plan("Velo-Unterstand")the bicycle shelter's plan"Pavillon"another plan of the project | |
| 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 | The parts of the plan put under a halo, by id. highlight: "S001"one parthighlight: ("S001", "S002")several parts | |
| optional | The framing: the whole plan, or the surroundings of the highlighted positions. frame: "highlight"a detail around highlight:frame: "all"the whole plan | |
| optional | Enlarges a framed detail beyond the plan's scale. zoom: 2the detail twice as largezoom: 1.5one and a half times | |
| optional | What the drawing shows, among the command's words. detail-figure: "dimensions"the dimensions alonedetail-figure: ("axes", "dimensions")several words | |
| optional | What is set under the drawing. detail-legend: "none"nothing under the plandetail-legend: ("objects", "scale-bar")the legend and the scale bar | |
| optional | On an export sheet, the n of the 1:n the plan is drawn at. scale: 100at 1:100, where the plan is calibratedscale: noneat the width width: | |
| Label and description | ||
| optional | On an export sheet, the line above the plan. title: autoits name, description, storey and scaletitle: "Erdgeschoss"your line | |
Lines to copy
Minimal call
#image-positions-plan("Fluchttreppe")Complete call
#image-positions-plan("Fluchttreppe", highlight: none, width: 100%, frame: "all", zoom: 1, detail-figure: auto, detail-legend: auto, scale: none, title: none)Examples
#figure(image-positions-plan("Velo-Unterstand"), kind: image, caption: [Positionsplan Velo-Unterstand]) <pl-velo>
Die Positionen zeigt @pl-velo.#figure(image-positions-plan("Pavillon", highlight: ("S001", "S002"), frame: "highlight", detail-legend: "none"), kind: image, caption: [Stützen des Pavillons])Defined in lib/calc-engine-drawings.typ:789