Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: JC2060 on May 22, 2018, 10:07:19 AM

Title: Pyramid / Cascading
Post by: JC2060 on May 22, 2018, 10:07:19 AM
Hi,

I am trying to build a pyramid made of chocolate bars.
Right now I build a small part of it by hand and it very specific way but in the end I just need a pyramid-look, not the specific (and quite complicated way) I built it now.
There must be a math behind it, but I am bad at math.  ;)
Basically the chocolate bars behind the front one have to move - in my case 2,9cm left/right and 2,2 up/down.
Then there are also the corners, which I right now solved in a more interesting fashion by putting four chocolate bars infront of the ones that move just up and down. Makes for a more appealing visual but also complicates the matter.
How would I achieve that?
See also my current setup.
Thanks in advance for any help!
Manuel
Title: Re: Pyramid / Cascading
Post by: Rokas on May 22, 2018, 03:39:23 PM
Can You please attach Your manual configuration scene for us?
Plus can You please provide a sketch of full pyramid configuration?
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 22, 2018, 03:52:58 PM
right now nothing is done in railclone but by hand. Please see the screens I attached to my last post to my current configuration. It should just go on like this and get broader.
if you need anything else, tell me and I will try.
thanks
Title: Re: Pyramid / Cascading
Post by: Rokas on May 22, 2018, 04:05:06 PM
I dont quite understand Your chocolate bar configuration:
(https://i.imgur.com/iNZQZMh.jpg)
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 22, 2018, 04:51:57 PM
Ooh sorry. Right now the geometry is overlapping. Which is fine cause I'm just showing it from the front.
Whatever works.
Title: Re: Pyramid / Cascading
Post by: Rokas on May 23, 2018, 08:23:07 AM
I attach my first attempt to pyramid.
I don't quite get what configuration are You after, So maybe You can comment on the one I attached.
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 23, 2018, 11:28:10 AM
Hi,
thanks for the effort.
I am on 3ds max 2015.
Are you able to downgrade the file for me, please?
Title: Re: Pyramid / Cascading
Post by: Rokas on May 23, 2018, 12:06:10 PM
Sure.

Title: Re: Pyramid / Cascading
Post by: JC2060 on May 23, 2018, 12:35:12 PM
thank you.
the splines are missing though.
can I do something about it?
"no size or spline on x"
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 23, 2018, 12:44:19 PM
using version 3.1.6b btw
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 25, 2018, 04:18:12 PM
Rokas, could you help me please? I dont know what to do with your file..
Title: Re: Pyramid / Cascading
Post by: Rokas on May 25, 2018, 04:25:14 PM
Yes it was without x spline. Does it open for You?
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 25, 2018, 04:33:32 PM
it opens, but there is geometry done by RC, only the icon to be seen.
Title: Re: Pyramid / Cascading
Post by: Rokas on May 25, 2018, 04:51:26 PM
Oh sorry I see what yoy mean. Strange. I will redo this for You. Apologies.
Title: Re: Pyramid / Cascading
Post by: Rokas on May 28, 2018, 07:29:02 AM
Hi. I attach a chocolate pyramid for You. Hope that helps.
(https://i.imgur.com/BfsDhdb.jpg)
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 28, 2018, 12:54:12 PM
thank you!
can you save it as 2015 version please?
Title: Re: Pyramid / Cascading
Post by: Rokas on May 28, 2018, 01:13:41 PM
sure. sorry about that.
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 28, 2018, 01:59:51 PM
thank you very much.
how do I define the height of the pyramid?
As I understand, the expression defines the offset and the x spline (rectangle) defines how broad the pyramid will be at its base. if I want the height to be lower, where can I change it?
Title: Re: Pyramid / Cascading
Post by: Rokas on May 28, 2018, 02:05:59 PM
There is "Y size" parameter for that.
Try:
Offset -2.0 cm
Y size: 150.0cm
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 28, 2018, 02:24:12 PM
size is red and doesnt react. is it locked to something?
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 28, 2018, 02:52:26 PM
ok, got it.
it was under parameters in the modify panel.
but this is strange. it is not stacking the bars on top of each other but slicing them to achieve the pyramid look?
What I would need is to offset the bars in a certain way down the spline..
Title: Re: Pyramid / Cascading
Post by: Rokas on May 28, 2018, 03:00:45 PM
Please make a sketch or even better- max file with Your desired configuration (even if made manually without RC)
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 28, 2018, 03:44:58 PM
ok, sorry for the miscommunication.
here is my sample.
I made two.
The chocolate bar is 6x4 rectangles, but if I stack the pyramid of course everything overlaps. I dont care about the overlapping too much. But maybe one could use one rectangle to build the pyramid.
The other pyramid is a little bit more complicated.
Whatever works is fine with me...
thanks for the help again!
Title: Re: Pyramid / Cascading
Post by: Rokas on May 29, 2018, 09:13:50 AM
After quite some attempts I only managed to put up pyramid like this.
Not really faster than You would do it manually.
(https://i.imgur.com/y3p2uFv.jpg)
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 29, 2018, 09:42:40 AM
wow, thanks.
probably doing it manually will take some time, depending on the pyramid size.
how do I get the top part to be 6x4, if I may ask?
Title: Re: Pyramid / Cascading
Post by: Rokas on May 29, 2018, 02:57:32 PM
Hi again. Paul got involved in this case and we got a solution for You.
Macro where You can change top level X and Y segments and how many layers down You want to have. Also an overlap option to fill some holes.
Title: Re: Pyramid / Cascading
Post by: JC2060 on May 30, 2018, 06:34:55 PM
wow, this is perfect! thank you so very much! just what I imagined :D
I would have to dig deep into the docs, but I dont even know how you made that macro haha.
thank you again! I am very grateful!