WoodcoreMake the numbers vibe

Woodcore 0.114.0

0.114 — A reworked position plan, drawing sheets, and positions entered in Woodcore, layout and content templates

New

  • The «Position plan» tab is reworked. The left pane holds, from top to bottom: the imported Documents (PDF, PNG/JPG, SVG, DXF, DWG), the Plans (labelled «P01 – name – storey»), the Elements and axes, the Documents export (sheets) and the Typst command.
  • No more page-picker popup. An imported document opens in the centre as a continuous view of all its pages that you scroll through: zoom buttons and Ctrl + wheel, 1…n pages per row. You tick the pages that become plans, draw the crop and the calibration there, and each plan's crop is shown on its page. A plan then shows only its crop; «Show the whole page» shows the rest.
  • Pages turned ±90°, in the document view and from a plan: the drawing turns with the page.
  • Layers. The layers of PDFs (optional content) and of CAD files are switched on and off with an immediate preview. The report hides them too: their content is removed from the extracted page.
  • CAD. A DXF file is read directly. A DWG file is converted by the free ODA File Converter if it is installed; otherwise Woodcore says where to download it.
  • A plan is saved automatically when you leave it: no more question.
  • The storey is chosen from a list per language — DE 2.UG, 1.UG, EG, 1.OG…5.OG, DG; FR 2e SS, 1er SS, Rez, 1er…5e, Combles; EN B2, B1, GF, 1F…5F, Attic — or typed as free text of any length. The numbering character of position ids (U, 0, 1…) is a separate field, proposed from the storey and editable.
  • Section plans. A plan marked as a section carries storey lines (two clicks; Shift keeps them horizontal), labelled with the storey at both ends, and a highlight box per storey. A floor plan chooses its section plan with «Section…».
  • Documents export (sheets). A4, A3 or A2 sheets in the project's Plans/ folder (<id>.typ and <id>.pdf), with a BFH title block modelled on STE Compact 02, a movable legend, plan views that you move and resize with the mouse or set to a scale (1:50, 1:100…), a schematic section with the current storey highlighted, and free texts (title, «Remark»). The .typ is the source of truth: edit it in VS Code and Woodcore follows. New Typst commands: sheet, sheet-text, sheet-viewport, sheet-legend, sheet-section and sheet-titleblock.
  • «Typst command». Every option of #show-plan becomes a control, with a live compiled preview, and a button copies the command. It replaces the copy buttons at the bottom right.
  • Drawing with a tool whose letter has no position creates a blank position (id and type only) instead of refusing.
  • Positions are entered in Woodcore. Positionen.xlsx is no longer read: the Positions tab is the only source, saved as Woodcore-Datei/positions.json. An existing workbook is imported once at the first opening and then moved to _Archiv/ — never deleted. «Import from Excel…» stays in the Positions tab. Every field but id and type is optional, and a missing value never stops the export: a section that cannot be read becomes a warning.
  • The opening symbol is now STE's: a yellow rectangle with a black wedge of two triangles in its top-right corner.
  • New dependency: ezdxf 1.4.4 (MIT), to read DXF files.
  • Layout templates and content templates, finally told apart. A layout template sets the look — fonts, sizes, margins, headings, title page — with no data in it; a content template is the sections, objects and texts of a document. Three layouts are built in: Neutral (the default), Compact (2 cm margins, 10 pt text) and BFH. In a project the layout lives in the Template/ folder; config.typ now keeps only the language and your own adjustments, which win over the layout's; title.typ belongs to the layout, and you can edit it by hand. A project is made from one layout and three content templates (convention, basis of design, report), chosen in «New project» or with woodcore-cli new --form … --content-cu … --content-bp … --content-rs …. Templates are grouped as «Built-in», «Shared» (the office's folder) and «My templates»; the Templates page of the Settings lets you choose between Layout template and Content template.
  • The BFH layout sets all the text in Lucida Sans: the body, the tables, the captions, the outline, the headings, the header and the footer. Only the formulas keep Typst's math font. Where Lucida Sans is not installed, Segoe UI and then Arial stand in.
  • The report has content templates of its own, like the convention and the basis of design. A content template for the standard report (eight sections in three languages) is supplied.
  • «Switch content template…», in the «Document structure» tab of each of the three documents, compares the document and a template section by section in a four-column tree. For each section: keep yours, take the template's, remove yours, or leave the template's out. Nothing is ever erased: what is replaced or removed is archived in Sections/archives/.

What changes in your reports

  • Every titled table is numbered, as a picture is: «Table 1: …» («Tabelle 1: …» in a German report), above the table, centred on it, upright, set as your config.typ sets figure captions. A list of tables, #outline(target: figure.where(kind: table)), finds them all. The two Figur 45 plots under a fastener's k_β are a numbered figure, captioned underneath. Untitled tables (key-value lists) are not numbered.
  • Openings are printed with STE's symbol on position plans.
  • Position records move to schema 1.4 and the plans export to 1.3.
  • Hidden layers are now hidden in the report, for plans drawn on an imported document. Old plans keep their background.
  • #member says what it cannot calculate when a position has no section, strength class or moisture class; the values can then be given in the call: grade:, moisture-class:, b:, h:.
  • Your projects' engine becomes older: Woodcore offers to update it when a project opens.
  • A BFH project prints its body text and tables in Lucida Sans as soon as the BFH layout is applied; the pages reflow.
  • An existing project keeps its config.typ as it is until you choose a layout in File → Project properties. Nothing in its PDFs changes before that.

What to do

  • Open each project once in Woodcore: the positions of Positionen.xlsx migrate to Woodcore-Datei/positions.json and the workbook goes to _Archiv/.
  • Re-import the architect's PDF as a document if you want layers and rotation; old plans keep their background.
  • Install the ODA File Converter if you work with DWG files.
  • Accept the engine update when Woodcore offers it.
  • To move an existing project to the Template/ folder, choose its layout in File → Project properties: the old config.typ and title.typ are archived in _Archiv/, never erased. What you had edited by hand in the old config.typ does not pass into the new one: write it again in the place the new config.typ marks («your adjustments»), where it wins over the layout and survives a layout switch.