## Overview
- The **Flex feature** is an advanced 3D modeling tool used to apply freeform deformations to solid bodies
- It enables four types of complex shape modifications — **bending, twisting, tapering, and stretching** — that are difficult or impossible to achieve with standard sketch-based features (extrusions, sweeps, lofts)
- It works on any solid body, whether natively modeled or imported from an external system
---
## Key Concepts
- **Bending** – deflects a model around a designated axis by a specified angle
- **Twisting** – rotates geometry around a central longitudinal axis
- **Tapering** – scales geometry outward or inward from a central point along a defined vector
- **Stretching** – elongates or compresses a localized region over a specified distance
- **Trim Planes** – two boundary planes that isolate the region of the model affected by the deformation
- **Triad** – a local 3D coordinate system that controls the center, orientation, and direction of the deformation
---
## Detailed Notes
### Feature Constraints & Rules
- **Single Operation Rule** – only one deformation type (bend, twist, taper, or stretch) can be applied per feature instance
- **Sequential Application** – to combine multiple effects on a single part, apply the feature multiple times in sequence (e.g., taper first, then stretch)
- **Universal Compatibility** – the feature works on any solid body regardless of origin (native or imported geometry)
### Core Elements
#### Trim Planes
- Two boundary planes (**Plane 1** and **Plane 2**) that define the limits of deformation
- Only the geometry **between** the two planes is affected; regions outside remain rigid and undeformed
- Planes can be positioned by:
- Dragging interactively
- Entering exact distance values
- Snapping to reference vertices on the model
#### The Triad (Local Coordinate System)
- Acts as the **center and pivot** of the flex operation
- Defines the orientation of trim planes and the operational axes
- **Blue Axis (Trim Plane Axis)**:
- Always perpendicular to the trim planes
- Serves as the longitudinal direction for **twisting** and **tapering**
- **Red Axis (Bend Axis)**:
- The explicit pivot vector for **bending** operations
- **Center Point**:
- Defines the physical center of the deformation effect
### Executing Specific Operations
#### Bending
- Controlled by a **Bend Angle** parameter
- Geometry folds around the **Red Axis**
- To change bend direction, rotate the Triad so the Red Axis faces the desired pivot orientation
#### Twisting
- Controlled by a **Twist Angle** parameter
- Rotation is exclusively locked around the **Blue Axis**
#### Tapering
- Controlled by a **Taper Factor** (scalar multiplier)
- **Positive factor** → expands geometry outward along the Blue Axis
- **Negative factor** → shrinks/compresses geometry inward
- Operates along the **Blue Axis**
#### Stretching
- Controlled by a **Stretch Distance** parameter
- Effect is strictly isolated to geometry trapped between the two trim planes
### Triad Manipulation Techniques
- **Free Dragging** – click and pull the center point or individual axes to reposition freely in 3D space
- **Snapping** – use rotation rings to lock to fixed increments (e.g., 90° or 180°)
- **Align to Selection** – force an axis to become perpendicular to a selected face, or parallel to a selected edge/line
- **Move to Selection** – snap the triad center to a specific vertex or reference point
- **Align to Principle** – automatically center the triad at the geometric centroid and align axes with the part's principal global axes
### Geometry Output Types
- **Analytical Geometry** – standard mathematically pure shapes (cylinders, flat planes, cones)
- **Hard Edges Toggle**:
- **Enabled** → software attempts to maintain analytical geometry (e.g., curved faces retain measurable, constant radii)
- **Disabled** → geometry converts to smooth **spline surfaces**; original analytical faces permanently lose standard measurable properties (e.g., fixed diameter)
- Disabling hard edges creates smooth freeform transitions but **destroys geometric purity**
---
## Tables
### Flex Operation Comparison
| Operation | Primary Axis | Controlling Parameter | Effect |
|---|---|---|---|
| **Bending** | Red Axis (Bend Axis) | Bend Angle | Folds geometry around the red axis |
| **Twisting** | Blue Axis (Trim Plane Axis) | Twist Angle | Rotates geometry concentrically around the blue axis |
| **Tapering** | Blue Axis (Trim Plane Axis) | Taper Factor (+/−) | Scales geometry larger or smaller along the blue axis |
| **Stretching** | Defined by Trim Planes | Stretch Distance | Elongates the region between the trim plane boundaries |
### Triad Components
| Component | Function |
|---|---|
| **Center Point** | Defines the physical center of the deformation |
| **Trim Planes** | Bounds the affected region; geometry outside remains rigid |
| **Blue Axis** | Perpendicular to Trim Planes; controls twist and taper direction |
| **Red Axis** | Specific pivot vector for bending operations |
### Hard Edges Toggle Comparison
| Setting | Geometry Type | Surface Behaviour | Measurability |
|---|---|---|---|
| **Enabled** | Analytical | Retains standard shapes and constant radii | Fully measurable (e.g., fixed diameters) |
| **Disabled** | Spline-based | Smooth freeform surfaces | Loses standard measurable properties |
---
## Diagrams
### Flex Feature Workflow
```mermaid
flowchart TD
A[Start Flex Feature] --> B[Select Target Solid Body]
B --> C{Choose Deformation Type}
C -->|Bend| D1[Set Bend Angle]
C -->|Twist| D2[Set Twist Angle]
C -->|Taper| D3[Set Taper Factor]
C -->|Stretch| D4[Set Stretch Distance]
D1 --> E[Position Trim Planes]
D2 --> E
D3 --> E
D4 --> E
E --> F[Align & Position Triad]
F --> G[Configure Hard Edges Toggle]
G --> H[Confirm & Generate Feature]
```
### Axis–Operation Relationship Map
```mermaid
flowchart LR
T[Triad] --> R[Red Axis]
T --> B[Blue Axis]
T --> CP[Center Point]
R --> Bend[Bending Operation]
B --> Twist[Twisting Operation]
B --> Taper[Tapering Operation]
CP --> Pos[Deformation Origin Point]
```
### Triad Positioning Methods
```mermaid
flowchart TD
TP[Triad Positioning] --> FD[Free Dragging]
TP --> SN[Snapping to Increments]
TP --> AS[Align to Selection]
TP --> MS[Move to Selection]
TP --> AP[Align to Principle Axes]
AS --> F1[Perpendicular to Face]
AS --> F2[Parallel to Edge]
MS --> V[Snap to Vertex/Reference Point]
AP --> GC[Auto-Centre at Geometric Centroid]
```
---
## Key Terms
- **Flex Feature** – an advanced deformation tool enabling bending, twisting, tapering, and stretching of solid bodies
- **Triad** – a manipulatable 3D coordinate system used to position and orient the deformation centre and axes
- **Trim Planes** – virtual boundary planes isolating a specific region of the model for localised modification
- **Bend Axis (Red Axis)** – the explicit vector around which geometry is folded during bending
- **Trim Plane Axis (Blue Axis)** – the axis perpendicular to trim planes; governs twist and taper direction
- **Taper Factor** – a scalar multiplier dictating the intensity of expansion (positive) or contraction (negative)
- **Stretch Distance** – the specified length by which a region is elongated or compressed
- **Analytical Geometry** – mathematically pure standard shapes (planes, cylinders, cones) with measurable properties
- **Spline Surfaces** – smooth, interpolated freeform surfaces that lack fixed geometric measurements
- **Hard Edges** – a toggle controlling whether output retains analytical geometry or converts to smooth spline surfaces
---
## Quick Revision
- The **Flex feature** provides four deformation modes: **Bending, Twisting, Tapering, and Stretching**
- Only **one mode** can be active per feature instance; combine effects by applying the feature multiple times sequentially
- **Trim Planes** act as boundary fences — only geometry between them deforms; everything outside stays rigid
- The **Triad** is the steering mechanism controlling the centre, orientation, and direction of the deformation
- **Bending** pivots around the **Red Axis**; **Twisting** and **Tapering** operate around the **Blue Axis**
- **Taper Factor**: positive expands, negative compresses
- **Stretching** is confined strictly to the region between trim planes
- The Triad can be repositioned via free dragging, snapping, align-to-selection, move-to-selection, or align-to-principle
- Disabling **Hard Edges** converts analytical geometry into smooth spline surfaces — creating freeform transitions but permanently losing measurable geometric properties
- The feature is universally compatible with both natively modelled and imported solid bodies