Jump to content

Array along spline with graded distance


Terri Brown
 Share

Recommended Posts

Hi everyone,

 

So after more than 10 years on Max I get stuck with something that seems so basic :confused: I have a spline that I want to array slats of wood along, starting with wide gaps, getting denser and then opening up again. Arraying along the spline is no problem (using the Spacing Tool); it's the gradation in distance that is stumping me. See the spline(red) and slat (blue) attached, along with as close a reference as I can find of graded distancing (Tijabaou Cultural Centre), and the concept sketch of what I'm trying to do in more detail.

 

Back Facade.jpg

 

Please help...deadline calling!

 

Thanks,

Terri

array.JPG

Tjibaou Cultural Centre_S.jpg

Link to comment
Share on other sites

Thank you Ismael,

 

I have tried both (am getting some bugs with the first script). Does it matter which viewport you create the spline in?? The second script seems really complicated. Do you know anything for scripting/techie dummies?

 

I'll be honest, I'm struggling. I still don't see an option to progressively increase/decrease the spacing inbtwn instances, and also it's tough to be able to follow the curvature of the spline as the attached section demonstrates:

wooden roof section.jpg

 

I may very well not be understanding the scripts correctly - am I missing something??

 

Unless if someone knows if there's a way to draw it in ACAD and I extrude that in Max?

 

Please help!

 

Thanks

Link to comment
Share on other sites

Sounds like a job for railclone. But if it is not within your budget, and if it is not really important that the placement is 100% accurate, you could create an image with the spacing you want as stripes, then extrude your shape/spline a bit to get geometry, unwrap it, apply the texture, cut lines, select the lines and create shape from selection or whatever it is called and use those for sweeping. You could also check out the free plugins on the Itoo website, Glue and Clone, perhaps they can be of use to you, allthough i have not tried them myself. The glue plugin looks promising, as you could once again extrude your shape to create geometry, then in theory create a spline with segments/verteces at the desired intervals/increments (based on a regular array with proper increments) and then conform/glue it to your geometry, then extrude it to get a shape with edges at the apropriate places, detach them and use them for sweeping. Not sure if it is going to work, as i have not tried the free plugins myself. Might be worth a shot. Good luck!

Link to comment
Share on other sites

Sorry Terri, I never used them either but I just tried them and could not get them to work in Max 2010.

Her is another promising option, the Snapshot Tool. It is used for animation and it has a "Track View" which you could use to fine tune placement

http://docs.autodesk.com/MAXDES/13/ENU/Autodesk%203ds%20Max%20Design%202011%20Help/index.html?url=./files/WSf742dab041063133-696430f0112a1ce75ed-7ff3.htm,topicNumber=d0e50788

 

I am going to try this last option to see if I could help otherwise I hope otherwise that some of our experts here chime in.

 

Best Luck.

Link to comment
Share on other sites

With animation and snapshot I don't know how to grade the spacing. I found this nifty Maxscript which places an object on each vertex of a spline. This could be used to grade on the straight parts of the geometry. The name is objectplacer_v10.zip blakestone which I found here: http://forums.autodesk.com/t5/3ds-Max-3ds-Max-Design-General/Scattering-Objects-along-a-Spline/td-p/4266343

If someone could add an align to normal of spline WE should be golden!

Link to comment
Share on other sites

Wished Max had a Mograph tool, so many times I needed something similar...

 

Anyway, the closest thing I can get is a Pflow and a map to position the slats.

F8TvIUw.jpg

 

Not perfect yet, I might messing up with the settings. I think I've got it working once, meaning even space at the base and a better gradually spacing as it grows.

Edited by dsp_418
Link to comment
Share on other sites

Just do one section, array it and remove by hand if you must, then instance that around. Don't try to build the whole thing at once. Or place them all vertically, remove what you need, then use path deform to put those slats on your spline. But again, just do one section. Once you get your master section done, then create the rest of the structure.

 

But yeah, RailClone is going to save you some time here. An easy way to do this with the free version is to divide your spline into a few mat ID segments. Then create the various rail clone arrays (you can probably do it all within on rail clone system), and each mat ID on the spline is the segments where the boards get farther apart. In the array, set it's limit to the mat ID and you should get a close result.

Link to comment
Share on other sites

Wow guys, thanks for all the tips. I haven't used PFlow for donkey's years, but I have been wanting to learn Rail Clone for a while now (as I am an avid Forest Pro fan)...I just never had the time nor a project that called for it.

 

Now may be the time!

 

Will let you know if I have success...and will hopefully post some renders soon enough.

 

Thanks again for all your help!

Link to comment
Share on other sites

You can download the Free version and check it out. You are limited to the number of segments and you can't do 2 direction arrays, but for the most part the free version gives you a really good idea of what it is about.

 

The tutorials on the iToo website are pretty thorough, and all in all, it's pretty easy to understand rail clone. Personally I'd say between Rail Clone and Forest Pro, they have paid for themselves multiple times over in the increases in my workflow.

Link to comment
Share on other sites

MultiScatter would be a good option too. You can array via a gradient ramp which is nice. You can then tweak the ramp and watch your boxes move in realtime. I havent used Forest Pro but I have a feeling they do the same thing. I'd be lost without multiscatter nowadays.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...