Starter door sizes
64-bitWidth and height of each starter door type in millimeters.
width = inches × 25.4
Width and height are an integer count of inches times IN = 25.4, one 64-bit product each. The garage door is 16 × 12 × 25.4 wide and 7 × 12 × 25.4 high, with the whole numbers multiplied first.
/** Starter doors: width × height (mm), op = the IFC4 IfcDoorTypeOperationEnum for hinges at end 'a' / 'b'. */
export const DOOR_TYPES = [
{ key: 'door-single', kind: 'door', width: 36 * IN, height: 80 * IN, leaves: 1, op: ['SINGLE_SWING_LEFT', 'SINGLE_SWING_RIGHT'] },
{ key: 'door-double', kind: 'door', width: 60 * IN, height: 80 * IN, leaves: 2, op: ['DOUBLE_DOOR_SINGLE_SWING', 'DOUBLE_DOOR_SINGLE_SWING'] },
{ key: 'door-sliding', kind: 'door', width: 72 * IN, height: 80 * IN, slide: 2, op: ['SLIDING_TO_LEFT', 'SLIDING_TO_RIGHT'] },
{ key: 'door-pocket', kind: 'door', width: 32 * IN, height: 80 * IN, pocket: true, op: ['SLIDING_TO_LEFT', 'SLIDING_TO_RIGHT'] },
{ key: 'door-garage', kind: 'door', width: 16 * 12 * IN, height: 7 * 12 * IN, garage: true, op: ['ROLLINGUP', 'ROLLINGUP'] },
// the residential set (0.5 part 4 RC.4, bim-residential; names res.ot.*)
{ key: 'door-bifold', kind: 'door', width: 36 * IN, height: 80 * IN, bifold: true, res: true, op: ['FOLDING_TO_LEFT', 'FOLDING_TO_RIGHT'] },
{ key: 'door-french', kind: 'door', width: 60 * IN, height: 80 * IN, leaves: 2, glazed: true, res: true, op: ['DOUBLE_DOOR_SINGLE_SWING', 'DOUBLE_DOOR_SINGLE_SWING'] },
{ key: 'door-barn', kind: 'door', width: 36 * IN, height: 84 * IN, barn: true, res: true, op: ['SLIDING_TO_LEFT', 'SLIDING_TO_RIGHT'] },
{ key: 'door-entry-sidelites', kind: 'door', width: 60 * IN, height: 80 * IN, sidelites: 12 * IN, res: true, op: ['SINGLE_SWING_LEFT', 'SINGLE_SWING_RIGHT'] },
];