Resources Numerical accuracy

Calculations

Every calculation under our calculation policies: what it works out, its formula and the precision it runs at. Open one to see its code as it is in the released app.

  • 6,917 calculations in 1,248 source files
  • 143 exact
  • 6,286 in 64-bit
  • 335 with a 32-bit step
  • Last reviewed

Calculations

  • Text direction

    The x-axis direction written for a block of text.

    x axis = (cos θ, sin θ, 0)

    DWG object values written and read dwg/objects-write.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • Block scale

    Writes the three scale factors of a block reference in the format's compact form.

    DWG object values written and read dwg/objects-write.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • Single-line text

    Writes a text's insertion point, height, rotation, width factor and oblique angle.

    DWG object values written and read dwg/objects-write.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • Extension record values

    Writes the numbers kept in an extension record.

    DWG object values written and read dwg/objects-write.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • Block content matrix of a multileader

    The 4 × 4 matrix written for a multileader's block content when the model gives none.

    M = translate(l) · rotate_z(θ) · scale(s)

    DWG object values written and read dwg/mleader-write.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • Line read

    Reads a line's two end points.

    DWG object values written and read dwg/objects-read.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • Polyline vertices read

    Reads the vertices of a lightweight polyline.

    DWG object values written and read dwg/objects-read.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • North direction of older geolocation data

    Turns the north angle of a version 1 geolocation object into a direction vector.

    north = (sin a, cos a)

    DWG object values written and read dwg/objects-read.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    • DetailCraft
    • PartCraft
    64-bit
  • Fit point parameters and knots

    The parameter of each fit point along the spline, and the knot vector built from them.

    u₀ = 0; uᵢ = uᵢ₋₁ + |Qᵢ − Qᵢ₋₁|; knots = [0,0,0,0, u₁ … uₙ₋₂, L,L,L,L]

    Spline through fit points dwg/spline-fit.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    64-bit
  • Cubic basis functions at a parameter

    The four B-spline basis values that weigh the control points at one fit point.

    Cox–de Boor recurrence, degree 3

    Spline through fit points dwg/spline-fit.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    64-bit
  • Start condition

    The rows that pin the first control point and set the spline's start tangent or a natural start.

    P₀ = Q₀; P₁ − P₀ = T₀ × u₄ ÷ 3 or P₀ ÷ u₄ − P₁ (1 ÷ u₄ + 1 ÷ u₅) + P₂ ÷ u₅ = 0

    Spline through fit points dwg/spline-fit.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    64-bit
  • End condition

    The rows that pin the last control point and set the spline's end tangent or a natural end.

    Pₘ₋₁ = Qₙ₋₁; Pₘ₋₁ − Pₘ₋₂ = T₁ × (L − uₘ₋₁) ÷ 3 or the zero second derivative row

    Spline through fit points dwg/spline-fit.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    64-bit
  • Solve for the control points

    Solves the banded system for the x, y and z of every control point.

    A · P = B

    Spline through fit points dwg/spline-fit.js
    • CadCraft
    • BimCraft
    • ModelCraft
    • TakeoffCraft
    • CivilCraft
    64-bit
  • Standard gravity

    The acceleration that turns a member's or plate's mass into its own weight.

    g = 9.80665 m/s²

    Member axes and section properties frame/frame-model.js
    • CadCraft
    • BimCraft
    • DetailCraft
    Exact
  • Member length and local axes

    The length of a member and the three unit vectors its forces and section are measured in.

    L = |P_j − P_i|; x = (P_j − P_i) ÷ L; z = unit(Z − (Z·x) x); y = z × x; then y and z turned by the roll

    Member axes and section properties frame/frame-model.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Zero-length member test

    Removes a member whose two ends are at the same place.

    |P_j − P_i| < 1e-6 mm

    Member axes and section properties frame/frame-model.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Area and second moments of a polygon section

    Area, centroid, second moments about the centroid, principal moments and their angle for a section outline with holes.

    A = ½ Σ cᵢ; Iyy = (1 ÷ 12) Σ (v₀² + v₀v₁ + v₁²) cᵢ − A c_v²; cᵢ = u₀v₁ − u₁v₀; I₁,₂ = (Iyy + Izz) ÷ 2 ± √(((Iyy − Izz) ÷ 2)² + Iyz²)

    Member axes and section properties frame/frame-model.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Torsion constant

    The Saint-Venant torsion constant J of a catalog section or of an outline.

    I with fillets: J = ⅔ B T³ + ⅓ (D − 2T) t³ + 2 α D₁⁴ − 0.420 T⁴; open: Σ b t³ ÷ 3; tube: 4 Am² t ÷ p; round tube: π (D⁴ − (D − 2t)⁴) ÷ 32

    Member axes and section properties frame/frame-model.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Section properties for the analysis

    Chooses the area, the two second moments, J and the roll a drawn section is analyzed with.

    A = the profile's exact area if given, else the polygon's; Iy, Iz = Iyy, Izz, or I₁, I₂ with roll = the principal angle

    Member axes and section properties frame/frame-model.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • A load split onto the member's axes

    Turns one point or distributed load in a global or local direction into pieces along the member's own three axes.

    piece = load × (direction · local axis); a, b clamped to [0, L]

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Inverse of the released block

    Inverts the small stiffness block of a member's released end actions.

    Gauss–Jordan with partial pivoting

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Member stiffness with released ends

    Removes pinned or sliding end actions from a member's 12 × 12 stiffness.

    k_c = k_kk − k_kr · k_rr⁻¹ · k_rk

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Fixed-end loads with released ends

    Moves the load a released end cannot carry onto the member's other end actions.

    p_c = p_k − k_kr · k_rr⁻¹ · p_r

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Member stiffness in global axes

    Turns a member's stiffness from its own axes to the model's.

    k_g = Tᵀ · k · T, by 3 × 3 blocks

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Directions nothing stiffens

    Finds translations and rotation directions at a node that no member resists, so they can be held instead of stopping the run.

    translation: diagonal + spring ≤ 1e-14 × largest diagonal; rotation: eigenvalue ≤ 1e-10 × largest rotational diagonal

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Eigenvalues of a symmetric 3 × 3 matrix

    The principal stiffnesses and directions of the rotation block at a node.

    cyclic Jacobi rotations; t = sign(θ) ÷ (|θ| + √(θ² + 1))

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Loads of a case or combination

    Adds up node forces and member loads of every case in a set, each times its factor, including the members' own weight.

    own weight w = −factor × f × ρ × 1e-9 × A × g (N/mm along −Z)

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Member end forces and reactions

    The six forces at each end of every member and the forces at the supports, from the solved displacements.

    f = k_c · u_local − p_c; reaction = Σ Tᵀ f − loads applied at the node

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • One step of iterative refinement

    Solves the leftover out-of-balance once more and adds the correction to the displacements.

    r = loads − member forces; x₂ = x + K⁻¹ r, kept if max |r₂| < max |r|

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Sum of the reactions

    The total force and moment of all support reactions, for the equilibrium check printed in the report.

    ΣF = Σ R; ΣM = Σ (M + r × R) about the global origin

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Sum of the applied loads

    The total force and moment of every load of a set about the global origin.

    ΣF = Σ F; ΣM = Σ (M + r × F); distributed loads by 4-point Gauss

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Linear combination of results

    Adds computed load sets, each times a factor, into one result.

    u = Σ fᵢ uᵢ, the same for end forces, reactions, loads and totals

    Frame analysis: loads, releases, end forces and reactions frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Internal forces at a cut

    N, Vy, Vz, T, My and Mz at a distance x from the member's start.

    S = −(F_i + ∫₀ˣ q); M = −(M_i + r × F_i + Σ r × q)

    Forces and deflection along a member frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Deflection along the member

    The member's displacement between its ends, from its curvature.

    v″ = M_z ÷ (E I_z); w″ = −M_y ÷ (E I_y); u′ = N ÷ (E A); trapezoids, twice

    Forces and deflection along a member frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Station values and deflection off the chord

    The values kept at each station, and how far the member bows from the straight line between its ends.

    rel = √(v_rel² + w_rel²); v_rel = v − v_end × x ÷ L

    Forces and deflection along a member frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Largest and smallest values along a member

    The maximum and minimum of each internal force, where they occur, and the largest deflection with its span ratio.

    max and min over the stations; ratio = L ÷ deflection

    Forces and deflection along a member frame/frame-solve.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Root fillet constants

    The area of one root fillet over r², and how far its centroid is from the corner over r.

    area ÷ r² = 1 − π ÷ 4; centroid ÷ r = 0.2234

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Section properties for the checks

    Plastic and elastic moduli, radii of gyration, the warping constant and the slenderness ratios of an I-shape.

    Zx = bf tf (d − tf) + tw hc² ÷ 4 + 4 A_f (hc ÷ 2 − 0.2234 r); Cw = Iy ho² ÷ 4; rts = √(√(Iy Cw) ÷ Sx)

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Slender-element limits

    Decides whether a flange or web is too slender for the checks that are built.

    bf ÷ 2tf > 0.56 √(E ÷ Fy); h ÷ tw > 1.49 √(E ÷ Fy); bending: 1.0 √(E ÷ Fy), 3.76 √(E ÷ Fy)

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Tension strength

    The design strength in tension: yielding of the gross section, and rupture when a net area is given.

    φPn = min(0.90 Fy Ag, 0.75 Fu Ae)

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Compression strength

    The design strength in compression for flexural buckling about both axes and torsional buckling.

    Fe = π² E ÷ (KL ÷ r)²; Fcr = 0.658^(Fy ÷ Fe) Fy or 0.877 Fe; φPn = 0.9 Fcr Ag

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Moment gradient factor Cb

    The factor that raises the lateral-torsional buckling strength when the moment is not uniform.

    Cb = 12.5 Mmax ÷ (2.5 Mmax + 3 M_A + 4 M_B + 3 M_C)

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Major-axis bending strength

    The design bending strength with lateral-torsional buckling and flange local buckling.

    Lp = 1.76 ry √(E ÷ Fy); Lr by (F2-6); Mn by (F2-1) to (F2-4); φMn = 0.9 Mn

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Minor-axis bending strength

    The design bending strength about the weak axis.

    Mp = min(Fy Zy, 1.6 Fy Sy); noncompact flange: straight line to 0.7 Fy Sy; φMn = 0.9 Mn

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Web shear coefficient

    The reduction of shear strength for a slender web or flange.

    Cv = 1; 1.10 √(kv E ÷ Fy) ÷ (h ÷ t); 1.51 kv E ÷ ((h ÷ t)² Fy)

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Shear strength along the web

    The design shear strength in the direction of the web.

    φVn = φ 0.6 Fy d tw Cv; φ = 1.0 when h ÷ tw ≤ 2.24 √(E ÷ Fy), else 0.9

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Shear strength along the flanges

    The design shear strength in the direction of the flanges.

    φVn = 0.9 × 0.6 Fy (2 bf tf) Cv, kv = 1.2

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Bending and axial force together

    The utilization of a member under axial force and bending about both axes.

    Pr ÷ Pc ≥ 0.2: Pr ÷ Pc + 8⁄9 (Mrx ÷ Mcx + Mry ÷ Mcy); else Pr ÷ 2Pc + (Mrx ÷ Mcx + Mry ÷ Mcy)

    Steel member strength to AISC 360-16 frame/frame-design-aisc.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Section properties for the checks

    Plastic and elastic moduli, shear areas, the warping constant and radii of gyration of an I or H section.

    Wpl,y = b tf (h − tf) + tw hc² ÷ 4 + 4 A_f (hc ÷ 2 − 0.2234 r); Avz = A − 2 b tf + (tw + 2r) tf; Iw = Iz (h − tf)² ÷ 4

    Steel member resistance to EN 1993-1-1 frame/frame-design-en.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit
  • Cross-section class

    The class of the flange and web in compression and in bending.

    ε = √(235 ÷ fy); flange c ÷ t ≤ 9ε, 10ε, 14ε; web ≤ 72ε, 83ε, 124ε (bending) or 33ε, 38ε, 42ε (compression)

    Steel member resistance to EN 1993-1-1 frame/frame-design-en.js
    • CadCraft
    • BimCraft
    • DetailCraft
    64-bit

A calculation is added only after its source was read. Each statement can be checked in the code shown on its policy's page; the app repositories are public. When a release changes a calculation, its page says so until it has been read again.