Nexel Module
Nexel (Nested Engine) Handles logic for Nested Coxels (N# markers).
Types
| Type | Description |
|
|
Functions and values
| Function or value |
Description
|
Full Usage:
generateNestLayout nest hostCxl hostThickness allCxls sqnStrOverride
Parameters:
NestBlock
-
Parsed NestBlock containing attributes and sub-tree nodes.
hostCxl : Cxl
-
Host parent Coxel whose boundary contains the nested layout.
hostThickness : float
-
Host slab thickness.
allCxls : Cxl[]
-
All previously generated Coxels across the floor plan.
sqnStrOverride : string option
-
Optional sequence override string.
Returns: (Cxl[] * (int * int)[][] * float) option
Option containing generated nested Coxel array, boundary vertex arrays, and applied ratio.
|
Generates a nested spatial layout confined within the perimeter boundary of a host parent Coxel.
Example
union case Option.None: Option<'T>
union case Option.Some: Value: 'T -> Option<'T>
val nestedRooms: obj
val bounds: obj
val ratio: obj
|
Full Usage:
getNestIndex marker
Parameters:
string
-
Nest marker string.
Returns: int option
Some integer index if successfully parsed; otherwise None.
|
Extracts the integer index from a nested sub-layout marker (e.g. extracts 1 from "N1").
Example
val nestIdx: obj
|
Full Usage:
isNestMarker marker
Parameters:
string
-
Marker string to inspect.
Returns: bool
True if the marker starts with 'N'; otherwise false.
|
Checks whether a section marker identifier represents a nested sub-layout marker (e.g. "N1", "N2").
Example
val isNest: obj
val isLevel: obj
|
Hywe