Woodcore 0.120.0
0.120 — A project laid out by folders, calculations unfolded into domains, copy and paste between plans; a sound base
What's new
- A project laid out by folders. A new project has
000-Typst-Config/,000-Woodcore/, one folder per document (100-,200-,300-) andDomains/, with one folder per kind of domain and one.typper domain. The «Formulas» tab is now «Domains». A project laid out otherwise is migrated as it opens, each file first saved into the archives. - The export's figures are kept once, in their tab's
Exports/Figures/folder. The documents a plan is drawn on are copied intoImported Plans/, and the annexes' PDFs intoAppendix/. An annex's older PDF beside its record is kept, never removed. - A tension check unfolded into a domain. It is written out in full, and every value is checked against the export. Your edits in VS Code are taken back line by line, and a value gone stale shows in red.
- Commands written inside a line of text. A
#var,#eq,#var-unitor#verifyin the middle of a line of a domain is read, computed and left where it stands. - Position plans: select several objects and copy them from one plan to another. Ctrl+click and Ctrl+A select, Ctrl+C copies from a base point, and Ctrl+V pastes onto another plan, where the pasted objects are renumbered on the target plan's storey.
- Moving a source into a folder saves the draft first, in Schemas, Static models, Plans, Fire plans and Polar moment as in every other tab: the question is asked only where it cannot be saved, and a file that cannot be written (held by OneDrive) is named in the status bar; the window no longer stops.
- A «Dependencies» tab (group Reference) shows which object of the project reads which: positions, loads, scripts, domains, checks, connectors, schemas, models, plans and the sections of the three documents. For the object chosen, it shows «Depends on» and «Used by». A double click opens the object in its tab, or a section in the editor.
What changes in your reports
- The export's
data/*.jsonfiles and the commands' examples are written with LF line endings on Windows too: an export redone on another machine no longer changes every file. - A number is printed by one rule: three decimals at most, no trailing zero (3.120 becomes 3.12), a true minus sign, and a power of ten past 99 999 (123456 becomes 1.235 · 10⁵) or below 0.1 where three decimals would not write it whole (0.00234 becomes 2.34 · 10⁻³; 0.05 stays 0.05). The decimal point in the three languages, a no-break space before a unit and none before «°». The angles of a polar moment follow the same rule (they were written to a tenth of a degree).
- The figures' colours are one palette: position plans, fire plans, schemas, static models, connections and connectors are drawn with the same 22 colours (five blacks are one; the blues, greens, reds, oranges and greys one each). The figures change their shade only.
- A value you enter cites the norm and the clause it serves: a steel check's N_Ed cites SIA 263 5.1.2, a value of an unfolded timber check the check's clause. A row of the fire design situation cites the clause of SIA 265 that
#member(fire:)cites. - Snow and wind read from the workbook: the norm's values (C_e, the corrections of Annex D, z_g and α_r) now come from Woodcore's files; a table of the workbook that states another number than SIA 261 stops the import and names the cell.
- Commands merged:
ids(kind)replaces the thirteen*-ids,get(v, field)the eightget-*,show-load-summary(unit:)alsoshow-line-load-summary. Your project's sections are rewritten as it opens, each file saved in the archives first;show-plan-legendandmoisture-class-of, which have no exact equivalent, stop the export and say what to write instead. - A project whose connectors or connections were written before version 0.74 is no longer read: open it first in version 0.119 or earlier.
- The dowels' warnings write the decimal point (0.35), as everywhere else.
- A subscript is printed upright, in the norm's form:
N_Rd,γ_M1,f_m,y,d,f_c,α,dprint the same in every calculation, command, the window and the figures, however they are written (N_(R d),N_"Rd",gamma_(M 1)…). No subscript is set in italics. Your sources are not rewritten. - Every command that prints a figure, a table or a list takes
level:: 1 the figure or the table alone (a plan without its legend, caption, scale bar, lengths and centres; a summary without its «Bezeichnung» column), 2 what a document printed until now, 3 with what the command can cite (a summary gains a «Standard» column). At level 2, your documents' own, nothing changes; a report compiled at level 1 is shorter. An argument written outranks it (legend: trueprints the legend at level 1). Form fields, a document's tables, a picture with its caption, the signatures, a sheet's text, section and title block print what you wrote, with no level. - A fire duration VKF 15-15 requires cites VKF 15-15: the line
t_fiof a fire check whose duration follows the building cites «VKF 15-15 Tabelle 2» instead of SIA 265 4.5.2; a duration you write keeps SIA 265 4.5.2. - A script's result naming no norm cites its script and its line: «script beam.py, l. 12» in the right-hand column; a result giving
norm=cites its norm.
- Snow and wind computed by Woodcore from the workbook's inputs: an
SL-*orWL-*sheet is read only for what you enter on it (altitude, correction, exposure, C_T, roof, slopes or dimensions, height step, sliding; q_p0, b, d, h, terrain category, table, c_d). h_ref, s_k, μ, the loads, c_h, q_p, c_red (Figur 9 and rule 6.3.3, instead of the scroll bars), the global and the local forces are computed as for a load entered in Woodcore. A value the sheet computes otherwise is said by the export, with its cell and both values; the report prints Woodcore's. What changes in the report: c_red and the global wind forces (the roof's minimum is no longer cell L70's; an oblique wind direction takes the larger of the two c_red, rule 6.3.3), the local forces (those of Annexe C's table: the five wrong cells of the sheet «Wind Tabellen Werte» no longer enter), load model 2 of a roof whose snow cannot slide (μ = 0.8 taken before the half, where N37/N38 halved first), the terrain category printed «IV», the correction Δh printed as a number, load model 2 of a duo-pitch roof always printed, q_p citing 6.2 (11). Two new warnings: a c_red Figur 9 does not draw, a site above 2000 m. - The names of the snow and wind values are those of a load entered in Woodcore: a flat roof's
q_k11becomesq_k1,mu_11mu_1,lastmodelldachform,qk_max_bhqk_max_cf1(the global force carries the number of the table's force coefficient c_f). Your sections, scripts and sources are rewritten when the project is opened, each file saved first into the archives (woodcore-cli loads migratedoes the same); a name with no equivalent («Grosse Höhensprünge: Nein», the forces of Tables 50 to 56) stops the export, naming the file and the line. - The export says what a change touches: «Position T001 changed since the last export; depending on it, timber checks: ZT-01, BI-03». Only the cause is named, with what it moves listed under it. It also reports objects of different kinds that read each other in a circle. The graph is written to
data/dependencies.json; the report does not change.
Fixed
- Woodcore opens a project holding a calculation domain again. The window stopped on «Woodcore could not start» (
too many values to unpack).
What to do
- Nothing you must do. A project laid out before this version is migrated as it opens; an older Woodcore then refuses it and says so.
#number-digits.update(…), which the templates wrote, no longer changes anything: you may take it out of your report, or leave it.- After opening a project whose snow or wind come from the workbook, export once: its sections are already rewritten with the new names, and Tinymist finds them only after the export.