WoodcoreMake the numbers vibe

Woodcore 0.119.0

0.119 — Tension checks written out in full; schemas as Typst figures

New — a project laid out by folders

  • A new project is laid out by folders, the same in every language:
    • 000-Typst-Config: config.typ, commands.typ, title.typ, references.bib and the form (Template);
    • 000-Woodcore: what is Woodcore's — the export, the engine, the sources and the archives;
    • 100-Service criteria agreement, 200-Basis of design, 300-Statical report: the three documents;
    • Domains: your domains; Positions: the positions and a Positions.xlsx written again at every change;
    • one folder per kind of domain: Variable-loads/Snow, Variable-loads/Wind, Permanent-loads, Timber-checks/Tension…, Steel-checks/…, Connectors, Connections, Scripts, Plans/Position-plan, Plans/Fire-plan, Statics, Details, Appendix.
  • Every domain has its Typst file. A snow load neige is printed by #include "/Variable-loads/Snow/neige.typ"; complete the file in VS Code, it is yours. An unfolded tension check is written in Timber-checks/Tension/<id>.typ.
  • The «Formulas» tab is «Domains». It also lists the unfolded checks, in groups of their own («Tension» …).
  • As an existing project opens, Woodcore offers to lay it out by folders. Nothing is deleted; the three documents are compared before and after, and everything is undone at the slightest difference.
  • Imported plans are copied into the project. A PDF, an image or a DWG imported in «Position plan» is copied into Plans/Position-plan/Imported Plans (Plans/Fire-plan/Imported Plans for the fire plan); the original is not touched. Replace that file by one of the same name: Woodcore reads it again when the tab is opened and at the export. Importing a file of the same name with another content again asks for your consent; the plans drawn on it then follow it.
  • The export's figures lie in their tab's folder. Plans, fire plans, static models, schemas, connections, connectors and dead loads: their SVGs and plan backgrounds are in <folder>/Exports/Figures, the one copy, read by Typst; 000-Woodcore/data keeps the JSON alone. A file you put there is never deleted.
  • The annexes are in Appendix, under their PDF's name; their excerpts in Appendix/Exports. A PDF replaced by a file of the same name is read again and every excerpt looked for in it again.

New — copy and paste between plans

  • Several objects selected. In «Position plan» and «Fire-protection plan», Ctrl+click adds an object to the selection or takes it out; Ctrl+A selects everything drawn but the building outline. «Move», «Delete», «Copy» and «Duplicate» act on the whole selection.
  • Copy from one plan to another. Ctrl+C asks for a base point to click; open another plan (the ground floor after the basement, say), Ctrl+V: the objects follow the pointer and are put down at the click, their base point there. Ctrl+Z takes them back at once.
  • New numbers. Every element pasted takes the next number of its prefix on the target plan's storey (S201, S202… on the 2nd floor) and keeps the section of the position copied.
  • Between two plans of different scales, the objects are scaled to the target plan. A building outline pasted (chosen by hand, never by Ctrl+A) replaces the plan's. What the target plan cannot hold is left out, and Woodcore says so.
  • A position plan is never pasted on a fire-protection plan, nor the reverse. The «Copy» button is unchanged.

What changes in your reports (folders)

  • Nothing they print. Every line #import "/commands.typ": * becomes #import "/000-Typst-Config/commands.typ": *.

To do (folders)

  • Open each project once in Woodcore and choose «Migrate now». A migrated project no longer opens with a version older than 0.119.

New

  • A tension check is written out in full in the report. When it is first saved, Woodcore writes it into Formules/<id>.typ (for instance Formules/ZT-01.typ), a domain of the «Formulas» tab:
    • the member's line, every input value (force, section, η_w, η_t, the value of SIA 265 Table 8 or 9), every #eq with its clause, the #verify and the utilisation in %;
    • you read and edit every line in VS Code as in Woodcore: a table, a sentence or a line of calculation is added as anywhere else.
  • A value can no longer age unseen. Every value written carries where it comes from: #var("N_t_d", 25, "kN", domain: ("check", "ZT-01")). Where the export says otherwise, the report prints it in red with «stale: 28 kN in the export». At the export, Woodcore refreshes a value you did not touch itself.
  • What you change in VS Code comes back into Woodcore. In the «Formulas» tab, the card «Unfolded check» lists the lines changed outside Woodcore, with «Import» or «Import all»: a force or a section changed goes back into the «Tension» tab; a value of the norm becomes your own (in orange, with «Take back»); a line taken out is «Reinserted»; where the angle changes the form of the calculation, «Regenerate» writes it again and keeps your lines.
  • The detail schemas are Typst figures. schema("D-01") gives the drawing; the figure, its caption and its label are written as any figure is: #figure(schema("D-01"), kind: image, caption: [Post connection]) <fig-d-01>, cited by @fig-d-01. «Copy» in the «Schemas» tab copies that figure.
  • Your layout stays. Where Woodcore changes a line of a «Formulas» domain (the tab, an export, an import), it replaces only the value or the option that changed: a command over two lines and your comments stay as you wrote them.
  • From the command line, woodcore-cli unfold status|import|reinsert|take-back|regenerate|migrate does what the tab does.

What changes in your reports

  • When the project is opened, Woodcore rewrites once, keeping a copy of each file in _Archiv/unfold-migration-<date>/:
    • #show-check-member("ZT-01") of a tension becomes #include "/Formules/ZT-01.typ". The command's options (level:, title:, unit:…) are now set line by line in the file;
    • #val(…, domain: "ZT-01-verify-tension") becomes domain: "ZT-01";
    • #show-schema(…) becomes #figure(schema(…), kind: image, caption: […]) <fig-…>, the caption it printed written out.
  • A tension is printed line by line, each value on its line with its citation on the right. The verdict and η are the same.
  • Compression, bending, shear, buckling, lateral torsional buckling and tension in the fire situation are printed as before.

To do

  • Read the pages of the tension checks and of the schemas after the first export.
  • Where a report prints a value in red «stale», open the domain in the «Formulas» tab: the card says why.

New — commands inside a line

  • A command written in the middle of a line of a domain is read. In a Formules/<id>.typ file edited by hand, #var, #eq, #var-unit and #verify may follow a text or a list item (- $0°$ bis $30°$: #eq(…)) or be followed by a text (#var(…) --- Auflast). Woodcore computes them, and when the «Formulas» tab saves the domain again, each command stays on its line, in its list item. In the middle pane it shows as a pill in its sentence.

What changes in your reports (commands inside a line)

  • Nothing. A domain that could no longer be read («Export failed») exports again, and the report prints what it printed.

To do (commands inside a line)

  • A command inside a […] block of another command (#box[#var(…)]), or directly followed by […] or .x, is still refused: take it out of the block.