Using the well-known "Pipe_2" plugin (for generating pipes along curves) as a base, I created a version better suited to my specific needs and requirements.
The plugin is still a bit rough around the edges, and I am continuing to refine it, but it is already fully functional.
If anyone is interested, let me know, and I’ll upload the files here.
Feedback and suggestions are welcome.
=======================
Demonstration of the plugin in action – at the link:
https://youtu.be/QTe_J5uWSv8?si=fkl18p7HA9IW9v4P
=======================
Description:
Creates a pipe along one or more curves and allows you to edit the path without exiting the command.
## Launch
Select curves → launch Pipe3 (or launch first, then select curves). The files `Pipe3_NN.js` and `Pipe3_NN.htm` are located in the MoI `commands` folder.
## Panel
- **Circle / Square / N-Side** — cross-section type. Circle: Diameter (toggles to Radius by clicking the label). Square: H. N-Side: Sides, Circum (size to face / to corner, same as the native Polygon command).
- **Thickness** — wall thickness; 0 or empty — solid pipe.
- **Update** — build/rebuild the pipe using current parameters and the curve.
- **Done** — accept. **Cancel** — remove the pipe and restore the original curve.
## Edit Curve — path editing
- `Move points` ☑ — points are visible on the curve.
- click and drag a point → moves it (along with all other selected points);
- click — select one; Ctrl+click — add/remove; click in empty space — deselect all;
- **Shift+drag**: curve end — moves strictly along its segment; corner — moves within the plane of its adjacent segments.
- The pipe rebuilds after every drag operation (`Hide pipe` ☑ — hides the pipe while editing).
- Fillets near a moved point rebuild automatically (maintaining the same radius).
## Segment — welded elbow
Open the tab → points become visible. Click on a corner (or the midpoint of a fillet) → **Segments** (number of straight sections, 1–10), **Radius** → **Apply**.
Applying with different values modifies that specific corner. If the radius is larger than the original fillet, the elbow segments extend into the adjacent straight sections. ## Preview, Undo, and Commit
- Everything done within **Edit Curve** / **Segment** is a preview. **Update** commits the changes. Exiting the tool without using **Update** (e.g., by deselecting **Move points** or leaving the **Segment** tab) reverts the curve to its initial state.
- **Undo** (button / Ctrl+Z): inside the tool, it reverses one action at a time; outside the tool, it reverts through committed **Update** steps back to the original curve.