PSC Code Manual

fab/handrail-return.lsp [src]

Functions for handrail return fab drawings

Functions

Function signature Description
(calc-aa-or-ah-return s1 s2 aa-p) Common function for calculating returns with a rotation
(calc-aa-return s1 s2) Calculates an AA return for fab
(calc-ah-return s1 s2) Calculates an AH return for fab
(calc-ea-return s1 s2) Calculates an EA return for fab
(calc-eh-return s1 s2) Calculates an EH return for fab
(calc-ha-return s1 s2) Calculates an HA return for fab
(calc-handrail-return-fab s1 s2) Returns a list of strings representing the return between stairs S1 and S2, or nil
(calc-handrail-return-fabs stairs) Returns the handrail returns for this group of STAIRS grouped by finish
(calc-hh-return s1 s2) Calculates an HH return for fab
(calc-return-fab-common far-pts rotation-def) Returns the lines and rotation portion of the return table entry
(combine-handrail-return-fabs returns) Combines RETURNS with equal finishes into a map
(handrail-return-write-table finish returns) Function used by make-rail-fab-common to write the main table
(make-handrail-return-fab finish returns) Uses make-rail-fab-common to create a handrail return spreadsheet
(make-handrail-return-fabs stairs) Creates all the handrail return fab drawings for this group of STAIRS
(pad-return-lines lines) Ensures that each return is 8 cells

(calc-aa-or-ah-return s1 s2 aa-p)

Common function for calculating returns with a rotation

Used by calc-AA-return and calc-AH-return

(calc-aa-return s1 s2)

Calculates an AA return for fab

(calc-ah-return s1 s2)

Calculates an AH return for fab

(calc-ea-return s1 s2)

Calculates an EA return for fab

(calc-eh-return s1 s2)

Calculates an EH return for fab

(calc-ha-return s1 s2)

Calculates an HA return for fab

(calc-handrail-return-fab s1 s2)

Returns a list of strings representing the return between stairs S1 and S2, or nil

Returns nil when rail-return-type returns nil

VARS:
(S1 LIST (DATA-LIST-P S1))
(S2 LIST (DATA-LIST-P S2))

(calc-handrail-return-fabs stairs)

Returns the handrail returns for this group of STAIRS grouped by finish

VARS:
(STAIRS LIST (VL-EVERY 'DATA-LIST-P STAIRS))

(calc-hh-return s1 s2)

Calculates an HH return for fab

(calc-return-fab-common far-pts rotation-def)

Returns the lines and rotation portion of the return table entry

(combine-handrail-return-fabs returns)

Combines RETURNS with equal finishes into a map

VARS:
(RETURNS LIST)

(handrail-return-write-table finish returns)

Function used by make-rail-fab-common to write the main table

VARS:
(FINISH STR)
(RETURNS LIST (VL-EVERY 'DATA-LIST-P RETURNS))

(make-handrail-return-fab finish returns)

Uses make-rail-fab-common to create a handrail return spreadsheet

VARS:
(FINISH STR)
(RETURNS LIST (VL-EVERY 'DATA-LIST-P RETURNS))

(make-handrail-return-fabs stairs)

Creates all the handrail return fab drawings for this group of STAIRS

VARS:
(STAIRS LIST (VL-EVERY 'DATA-LIST-P STAIRS))

(pad-return-lines lines)

Ensures that each return is 8 cells

VARS:
(LINES LIST)