WoodcoreMake the numbers vibe

Commands › Printing a drawing or an object

#image-static-model Printing a drawing or an object

Prints a static model as an image: the system drawn in Woodcore, its supports, loads and dimensions.

#image-static-model(,
  : , : , : 
)

Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.

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.
Without loadsdetail-figure: "dimensions" keeps the system and its dimensions, without the loads.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The model's id, as Woodcore saved it.
#image-static-model("Bankli-Fall1")the bench, first case
"Bankli-Fall2"another case of the same system
What is printed
optional
The parts of the system put under a halo, by id.
highlight: "S001"one part
highlight: ("S001", "S002")several parts
optional
The width the system is printed at, all the room it is given by default.
width: 60%a little over half the column
width: 12cma fixed width
optional
What the drawing of the system shows.
detail-figure: "dimensions"the system and its dimensions, no loads
detail-figure: ()the system alone

Lines to copy

Minimal call

#image-static-model("Bankli-Fall1")

Complete call

#image-static-model("Bankli-Fall1", highlight: none, width: 100%, detail-figure: auto)

Examples

Example 1
#figure(image-static-model("Bankli-Fall1"), kind: image, caption: [Statisches System]) <sys-1>
The page image-static-model produces, level 2
Example 2
#figure(image-static-model("Bankli-Fall1", detail-figure: "dimensions", width: 60%), kind: image, caption: [System ohne Lasten])
The page image-static-model produces, level 2

Defined in lib/calc-engine-drawings.typ:859