Geometry
Utility functions for generating sensor grids and parsing Radiance geometry primitives. These are commonly used to prepare inputs for ray tracing workflows.
frads.gen_grid
Generate a grid of points for orthogonal planar surfaces.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
polygon
|
Polygon
|
a polygon object |
required |
height
|
float
|
points' distance from the surface in its normal direction |
required |
spacing
|
float
|
distance between the grid points |
required |
Returns: List of the points as list