Description
Check a guard gap against a supplied inclusive limit.
Architectural openings and clearances depend on measured boundaries, projection axes and a caller-supplied comparison criterion. A positive geometric margin is distinct from demonstrating code compliance, safe access or a complete door-swing envelope. Plan lengths and projected dimensions must not be mistaken for full spatial measurements.
Check a guard gap against a supplied inclusive limit.
When to use this tool
Use Balcony Guard Gap Explicit Clearance when checking the stated opening, projection or clearance geometry.
How to use the tool and how it works
- Enter measuredGap, callerLimit. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read margin, withinLimit. Inspect withinLimit before interpreting the associated values.
Check a guard gap against a supplied inclusive limit. Require measuredGap/callerLimit >= 0; margin = limit-gap, withinLimit uses <=.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| measuredGap | Measured Gap | Required. Finite number; minimum 0. |
| callerLimit | Supplied maximum permitted gap; equality passes. No building-code limit is selected. | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| margin | Margin | Required. Finite number. |
| withinLimit | Within Limit | Required. Boolean. |
{
"input": {
"measuredGap": 95,
"callerLimit": 100
},
"output": {
"margin": 5,
"withinLimit": true
}
} Limitations and assumptions
- The limit is supplied; passing does not establish guard safety, applicable code compliance or adequate construction.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use complete measured plans and a qualified architectural/engineering assessment with the applicable requirements for real construction or safety decisions.
References
Similar or alternative tools
- Roof Pitch Clearance Point
Return roof height and point clearance above an obstruction.
- Soffit Slope Clearance At Point
Return linear soffit height and local floor clearance.