ConstantRulingSpacing#
- class optika.rulings.ConstantRulingSpacing(constant, normal)[source]#
Bases:
AbstractRulingSpacingThe simplest type of ruling spacing, a constant distance between each ruling.
Attributes
The array shape of this object.
the coordinate transformation between the global coordinate system and this object's local coordinate system
The constant describing the ruling spacing.
The unit vector normal to the planes of the rulings.
Methods
__init__(constant, normal)to_string([prefix])Public-facing version of the
__repr__method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.Inheritance Diagram

- Parameters:
constant (Quantity | AbstractScalar)
normal (AbstractCartesian3dVectorArray)
- to_string(prefix=None)#
Public-facing version of the
__repr__method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.
- constant: Quantity | AbstractScalar#
The constant describing the ruling spacing.
- normal: AbstractCartesian3dVectorArray#
The unit vector normal to the planes of the rulings.