Icon representing a recipe

Recipe: Crush To Point 2

created by 01010011111

Profile


Name
Crush To Point 2
ID
101682
Shared with
Public
Parent
Crush To Point
Children
None
Created on
December 12, 2015 at 14:19 PM UTC
Updated on
December 12, 2015 at 14:19 PM UTC
Description

As requested, crushes backbone to a single point. Disable Cut Bands before running.

Best for


Code


-- Before running script, in Behavior tab, uncheck "Enable Cut Bands" -- As requested, this script will attempt to crush the backbone to a single point: -- Insert cut points between all segments -- Band all segments to a single point -- Set CI to 0 and wiggle for i = 1, structure.GetCount()-1 do end band.DeleteAll() band.AddBetweenSegments(1,structure.GetCount()) for i = 2, structure.GetCount()-1 do band.AddToBandEndpoint(i,1) end for b = 1, band.GetCount() do band.SetGoalLength(b,0) band.SetStrength(b,10) end behavior.SetClashImportance(0) structure.WiggleAll(250)

Comments