UniCollapse

10 votes
Version: 
2.6
Date Updated: 
02/28/2016
Author Name: 
Nikolay Litvinov

v2.6: Collapse on Edit_Poly modifier using Scale Transform Type-In

And all this works by single button

Additional Info: 

Install: drop to viewport
Установка: кинуть во въюпорт
v2.6: Collapse on Edit_Poly modifier using Scale Transform Type-In
V2.5: Fixed bug with collapse knots of line shapes
V2.4: Added collapse segments or spline of shape
V2.3: Optimized code
V2.2: Added "Collapse To" of Modifiers Stack if subobjects Level = 0
V2.1: Added Collapse Stack of Modifiers if subobjects Level = 0

AttachmentSize
unicollapse.ms1.52 KB
unicollapse_v2.0.ms3.22 KB
unicollapse_v2.1.ms3.21 KB
unicollapse_v2.2.ms3.26 KB
unicollapse_v2.3.1.ms3.01 KB
unicollapse_v2.4.ms4.06 KB
unicollapse_v2.5.ms4.02 KB
unicollapse_v2.6.ms4.1 KB

Comments

Comment viewing options

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

Thanks

Thanks, I didn't even notice you reply this and fix the script. I gotta try out it.

Nik's picture

Thanx

I fixed it

nnq2603's picture

May I ask something...

This tool is great, but it doesn't work with line object. I mean when I Ctrl+RMB and create a line from scratch, even convert that line to editable line it still doesn't work. It only works when I add a "edit spline" modifier above the line in modify list and collapse modifier, afterward I got a editable spline, and it works thereafter.

But can the script being adjusted to work with line/spline ect...?

When I first time use this script and forgot about it name (just install+set hotkey once and forget it was a 3rd party script). After I Windows reinstall I've trouble to find out it again but when I find it out here, I tried with Line object and it doesn't work at all. So I started to doubt myself if this was "that" script which I used before... but turns out it was, just it doesn't work with native 3d max line object, only editable splline/edit spline.

Luos_83's picture

Thanks!

Awesome script, works like a charm!

Nik's picture

Ok, Thanx, I use this code

:)

EgorS's picture

To work with Edit Spline

To work with Edit Spline modifier you can use this code for script:
fn ESCollapse = (
if classof $ == SplineShape do (if subobjectLevel == 1 then (
macros.run "Editable Spline Object" "ESpline_Fuse_Vertex"
macros.run "Editable Spline Object" "ESpline_Weld"))
)
if finditem #(SplineShape, line) (classof $.baseObject) !=0 do (
if showEndResult == true then(
showEndResult = false
ESCollapse()
showEndResult = true
)
else( ESCollapse() )
)

Comment viewing options

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