workplane_grid
Generates a workplane illuminance grid from an OBJ room model, applying EN 12464-1 spacing and optional footprint clipping.
Instructions
EN 12464-1 working-plane illuminance grid from an OBJ room.
Interior extent via inner-surface detection (bbox of inward-facing vertical wall faces), plane at floor-top + workplane_h, max spacing p=0.2*5^log10(d) with d=the larger dimension of the calculation area (the interior inset by border_offset, per EN 12464-1 -- not the raw interior extent), cell-centre points. Returns points [x,y,z,0,0,1] + a methodology breakdown; writes a .pts (write_pts=None to skip). material_map OR sidecar is required (to identify floor & walls). clip_to_footprint (default True) drops lattice cells outside the floor slab for non-rectangular rooms (ignored when interior_extent is supplied explicitly); footprint_border insets the kept region from the footprint edges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| sidecar | No | ||
| up_axis | No | ||
| obj_path | Yes | ||
| work_dir | No | ||
| write_pts | No | grid.pts | |
| max_spacing | No | ||
| workplane_h | No | ||
| material_map | No | ||
| border_offset | No | ||
| wall_thickness | No | ||
| interior_extent | No | ||
| north_angle_deg | No | ||
| footprint_border | No | ||
| clip_to_footprint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||