HoopsCuttingSectionToolbarElement
-
class
wvc.HoopsCuttingSectionToolbarElement() A comprehensive toolbar component for managing cutting section operations.
This component provides a complete interface for cutting section management, including:
- Dropdown menu for creating cutting planes with various orientation presets
- Support for axis-aligned planes (X, Y, Z axes)
- Face-based plane creation using selected geometry
- Custom plane creation with arbitrary orientation
- Section-wide operations (visibility toggle, clear, activate/deactivate)
- Visual feedback for section state and capacity limits
The toolbar automatically updates when cutting sections change and provides intuitive controls for both novice and advanced users.
Constructors
-
wvc.HoopsCuttingSectionToolbarElement.constructor() - HoopsCuttingSectionToolbarElement():
HoopsCuttingSectionToolbarElementConstructs a new HoopsCuttingSectionToolbarElement.
Initializes the component with default property values and binds the invalidateToolbar method for proper event handling context.
Returns:
HoopsCuttingSectionToolbarElement
Properties
-
wvc.HoopsCuttingSectionToolbarElement.sectionIndex - sectionIndex: number
The index of the cutting section to manage with this toolbar. Used to identify which section’s operations this toolbar controls.
-
wvc.HoopsCuttingSectionToolbarElement.service optional
service:ICuttingServiceThe cutting service instance that provides cutting section operations. All toolbar operations are performed through this service interface. When undefined, the toolbar renders nothing.