grid_floor

photonforge.grid_floor(value)

Snap the value to the current grid rounding towards \(-\infty\).

Parameters:

value – A single value, 2D coordinate or sequence.

Returns:

Value snapped to the grid.

See also

config.grid