Refactor base class scaling operations.
Refactor flange drawing function slightly.
Refactor and improve segmented bend drawing.