WoodcoreMake the numbers vibe

Commands › Printing a drawing or an object

#image-section Printing a drawing or an object

Prints a schematic section as an image: the section drawn in Woodcore, the sheet's storey highlighted.

#image-section(,
  : , : , : ,
  : 
)

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

The essentials

For an export sheetWoodcore sets it with a #place of the sheet; it prints on its own too.
The storey in redstorey: covers it in translucent red with a dashed outline.
To scalescale: draws it at 1:n where the section is calibrated, else width:.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The section, by its id; none draws a frame in its place.
#image-section("Fluchttreppe", width: 50mm)the escape stair's section
#image-section(none, width: 50mm)an empty frame, until the section exists
What is printed
optional
The storey to highlight, as its bubble names it.
storey: "EG"the ground floor
storey: "1.OG"the first floor
optional
The n of the 1:n, where the section is calibrated.
scale: 200at 1:200
scale: noneat the width width:
optional
The section's width, where it has no scale.
width: 50mma length
width: 50millimetres
Label and description
optional
The line above the section.
title: [Schnitt A-A]your title
title: noneno title

Lines to copy

Minimal call

#image-section("Fluchttreppe", width: 60mm)

Complete call

#image-section("Fluchttreppe", storey: none, width: 80mm, title: auto)

Examples

Example 1
#show: sheet.with(format: "A6", landscape: true)
#place(top + left, dx: 12mm, dy: 14mm, image-section("Fluchttreppe", width: 50mm)) <sheet-section>
The page image-section produces, level 2
Example 2
#show: sheet.with(format: "A6", landscape: true)
#place(top + left, dx: 12mm, dy: 14mm, image-section(none, title: [Schnitt A-A])) <sheet-section>
The page image-section produces, level 2

Defined in lib/sheet.typ:137