UPDATE. Our original MAXScript has been updated by SiNi Software, simplifying the code. It's available to download from SiNi.
With this simple MAXScript by Vojtech Cada you can create catenary curved splines, perfect for cables, ropes etc.
Catenary comes free with the StackerWorld training project.
See the below video for an overview of what it does.
We've used CATENARY extensively in environment 3D modelling to add cables.
Save the MAXScript into the Autodesk 3ds Max/Scripts/Startup folder.
CATENARY is located on the side Create/Splines Rollout.
- Click on the dropdown and select 3Disciple Training.
- Click on CATENARY to run.
Click anywhere in a viewport to begin drawing catenary splines. Under the Parameters tab adust the Sag height. Under Sag Variability adust the randomness between points. NOTE Single-click to create lines. Do not click and drag as it will crash.
IMPORTANT - You need to create manual CATENARY splines first before changing to By Object. Click in the viewport and create a few sagging splines. Then in the Corner Placements rollout, switch to By Objects. Click the 3 dots button and select the objects you wish to generate catenary splines from. The script automatically swaps from Manual to By Object. Tip. You can move these objects and CATENARY will follow.
This script has been modified from the original MAXScript written by Vojtech Cada.