Advanced Sweep

4 votes
Author Name: 
Vojtech Cada

A WIP curve-controlled scripted sweep modifier. Both the Interpolation and Profile animation rollout UI items are not to be used yet and mostly work as placeholders for future options. But first I would like to solve the garbage collect issues that can result in system exception and max crash in the long run. Now it's more of a proof of concept than anything else.

Additional Info: 

Warning: This is not a final version, there are still issues that can result in crashing max. Don't use it in production, or at least collapse it to a mesh or pointcache. If you have any idea or suggestion how to avoid the issues, I'd be really glad if could you let me know.

Other limitations: Owing to the fact that there's no native support for spline modifiers, it will only work on single object. Multiple subSplines in that object are supported.

Installation: Copy the .ms file to your scripts\startup folder or run as a script if you only want to try it out. The modifier will be available in the modifier stack.

Credits: There's so much in this script that woldn't see the light of day if it weren't for Denis Trofimov - especially the parts that handle replacing curveControl curves, when constructs for monitoring tangent type change and the list goes on and on. I really wanted to say Thanks.

Version Requirement: 
3ds Max 2016
advancedSweep_BETA.ms20.36 KB


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
luxxeon's picture

Very interesting!

This is like having the Loft tool available in a modifier, as it should have been from the beginning. Well done.

stel3d's picture

very nice script

hi Swordslayer, is a bug in the script wean you copy the spline with the modifier on it is crash. continue the good work

Swordslayer's picture

Closed curve

Closed curve is not a problem, though not implemented here. However, I'm currently on vacation so you'll have to wait :)

Recent rants and code snippets:

Schellicon's picture

closing ends

splineOps.close editable_spline_or_line_node_or_modifier

this should close your spline :)

vusta's picture

closed curve...

I'm trying to get my hands dirty with maxscript...fooling around with trying to make the 2 ends join up for a closed dice...have you had success ?

since i can't do it with maxscript...i'm thinking in plain works fine going 1 way....just missing 1 last 'segment' at the why can't i do it in reverse direction...but take just the 1st join that to the orig direction...? That's in mxs...well....i'm still in kinders...

pichunter's picture

simple Loft?

Super! Very suitable for the creation of decorative scrollwork! THANKS!
Can you make simple Loft? simply select curve section and build mesh like U-loft in NURBS.
It would be great.

brainsgonedead's picture


Hi, how long before BETA becomes final please? It sounds interesting and I shall follow your progress. The sweep mod is dated in my eyes and it is about time it got updated. Good Luck, Toby

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.