Linear scaling along curve

Next
 From:  MA
10858.1 
Hi Hivemind,

Trying to figure out how to scale a series of objects from big to smaller towards the end along a curve. Sort of like a scaling command for an array?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  MA
10858.2 In reply to 10858.1 
Replying myself :D Found the ScaleArray command and it worked - sort of. However, I would like the distance between the scaled objects to down at the same rate so as not to leave gaps towards the end. Is that possible?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
10858.3 
You can also use the V.clone by Max Smirnov
Just Draw any staight segments of line anywhere you want
Each was replace by an object chosen and scaled by the scale of the segment!


PS in fact you take any different curves as target vectors! (arc circle, Polylines, etc... ;)

EDITED: 20 Sep 2022 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
10858.4 
For the decrease / Increase of something you have several solutions
_fxgraph2D _fxgraph3D, Elephant nodes, no so evident or simple tricky things! :)
Nodes like this recent post! ;) https://moi3d.com/forum/index.php?webtag=MOI&msg=10850.1

Here a simple Trim

EDITED: 20 Sep 2022 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10858.5 In reply to 10858.2 
Hi MA,

re:
> However, I would like the distance between the scaled objects to down at the same rate so as
> not to leave gaps towards the end. Is that possible?

If you want to maintain a constant distance between the objects there is a Distribute plug-in that can reposition objects to do that here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8503.13

The way you would use it would be to initially array your objects in a straight direction along a line, then apply ScaleArray, then apply Distribute, then apply Transform > Deform > Flow with '"Rigid" option turned on to map from the straight line onto the curve.

If constant distance between objects is not what you want then maybe you could show an example of what result you want and then it should probably work to modify the ScriptArray plugin to do the particular progression you want (again using Flow to map onto the curve):
http://moi3d.com/forum/index.php?webtag=MOI&msg=5595.18

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
10858.6 
When you have your segments
Use the Flow function ! ;) (i was not enough speedy ! :)



Then use the VClone Above

Like this you have exactly that you want! But not just linear any thing! :)
Any object along a curve with scale changing! ;)

Max Smirnov archive : https://moi3d.com/wiki/MaxScriptArchive

EDITED: 20 Sep 2022 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  MA
10858.7 In reply to 10858.5 
I think the constant distance is exactly what I wanted. I will try it out! Trying to make a segmented curvy tentacle shape that tapers off towards the end, and I think this plug-in will do nicely. I'll check the ScriptArray plugin if need be. Thanks for the very fast support - as usual!

/Magnus
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All