Spray Rails
The Spray Rails component is part of the Ship Modeling Workflow and is accessible via the Maritime tab (MaritimeThis functionality requires the Maritime add-on to be enabled.) in the Model workspace. It belongs to the modeling workflow for the ship type Hard Chine Boat. This component represents the addition of spray rails to the hard chine hull geometry.
Model Structure
This model is divided into three main scopes:
00_relativeDimensions: Contains all Design Variables that define the geometry of the spray rails relative to the main boat dimensions.01_derivedDimensions: Contains all Parameters derived from the Design Variables of the previous scope, defining the actual dimensions of the spray rails.02_brep: Contains the final BRep of the hull with spray rails applied. This feature uses the boat dimensions and the spray rail parameters as inputs.
All design variables are located in the scope where they are first used. Their names are chosen to clearly describe their functionality, and their bounds are tested to ensure model robustness. The Hard Chine Boat workflow allows users to modify values, object types, and even the overall model structure for maximum flexibility.

Inputs Taken from Hard Chine Boat
The following inputs are automatically taken from the Bare Hull and Hull Parameters components:

Both the Bare Hull and Hull Parameters components are required in order to create the Spray Rails component.
Relative Dimensions
The relative dimensions controlling the Spray Rails component are shown below.

Derived Dimensions
The derived dimensions for the Spray Rails component are defined as follows:
widthAft = |ship|components|sprayRails|00_relativeDimensions|relWidthAft * |ship|components|sprayRails.getBeam()heightAft = |ship|components|sprayRails|00_relativeDimensions|relHeightAft * widthAftxFwd = |ship|components|sprayRails|00_relativeDimensions|relXFwd * |ship|components|sprayRails.getKeelCurve():End:X
BRep
The final hull BRep with spray rails, named sprayRailsBrep, can be found in the 02_brep scope.

This is implemented as a feature with the following inputs:

Additionally, within this scope, a design variable named NumberOfSprayRails (ranging from 1 to 5) controls the number of spray rails. Its effect is illustrated in the animation below.
