Commands › Printing a drawing or an object
#image-polar-moment Printing a drawing or an object
Prints a polar moment as an image: the exported connection and, over it, the forces in each fastener.
#image-polar-moment(,
: , : , : ,
: , :
)Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
connectionrequiredThe polar moment's id, as the «Polar moment» tab saved it.
Noptional · default 0The total normal force in kN, positive along its arrow.
Noptional · default 00Free text, for example:
N: 7.5Voptional · default 0The total shear force in kN.
Voptional · default 00Free text, for example:
V: 25Moptional · default 0The moment about the rotation centre in kNm; refused without a lever arm.
Moptional · default 00Free text, for example:
M: 6.6widthoptional · default 100%The width the connection is printed at, all the room it is given by default.
widthoptional · default 100%100%Free text, for example:
width: 60%detail-figureoptional · default autoWhat the drawing of the connection shows.
detail-figureoptional · default autoautoits defaults: the arrows"forces"the arrows of the forces()the figure as exported, no arrowsHover a value: its call and what it prints.
#image-polar-moment("VU-MP-1", N: 7.5, V: 25, M: 6.6, width: 60%)What it prints
Prints the same as "forces".
#image-polar-moment("VU-MP-1", N: 7.5, V: 25, M: 6.6, width: 60%, detail-figure: "forces")What it prints
Prints the same as auto.
#image-polar-moment("VU-MP-1", N: 7.5, V: 25, M: 6.6, width: 60%, detail-figure: ())What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
The essentials
An image, not a figureIt goes in a native
#figure: the caption and the label are the document's own.The arrowsThe resultant F_i in yellow, M's part in green, N/n in blue, V/n in red, at one scale.
Named forcesN, V and M may be variables noted with
#var: the arrows follow their values.Nothing computed hereF_max and the F_i are the polar moment's file's own
#eq.Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The polar moment's id, as the «Polar moment» tab saved it. #image-polar-moment("VU-MP-1", N: 7.5, V: 25, M: 6.6)the connection and its forces"VU-MP-2"another connection | |
| optional | The total normal force in kN, positive along its arrow. N: 7.57.5 kNN: "N"the variable N, noted above in kN | |
| optional | The total shear force in kN. V: 2525 kNV: "V_d"a variable noted above | |
| optional | The moment about the rotation centre in kNm; refused without a lever arm. M: 6.66.6 kNmM: "M_d"a variable noted above | |
| What is printed | ||
| optional | The width the connection is printed at, all the room it is given by default. width: 60%a little over half the columnwidth: 12cma fixed width | |
| optional | What the drawing of the connection shows. detail-figure: "forces"the arrows of the forcesdetail-figure: ()the figure as exported | |
Lines to copy
Minimal call
#image-polar-moment("VU-MP-1")Complete call
#image-polar-moment("VU-MP-1", N: 0, V: 0, M: 0, width: 100%, detail-figure: auto)Examples
#figure(image-polar-moment("VU-MP-1", N: 7.5, V: 25, M: 6.6), kind: image, caption: [Kräfte in den Verbindungsmitteln]) <vu-mp-1>#domain("VU-MP-1-forces")[
#var("N", 4, "kN")
#var("V", 12, "kN")
#var("M", 2.5, "kNm")
#figure(image-polar-moment("VU-MP-1", N: "N", V: "V", M: "M", width: 60%), kind: image, caption: [Anschluss VU-MP-1])
]Defined in lib/calc-engine-connections.typ:170