Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: PX2937 on September 17, 2024, 07:35:50 am

Title: Sleeper Retining Walls
Post by: PX2937 on September 17, 2024, 07:35:50 am
I'm planning on making a retaining wall railclone, in the same way i saw a brick wall be made in this forum a while ago with arrays by staggering this bricks and using macros if im not mistaken and to have the sleepers interlock on corners. Im not very familiar with arrays/macros and would just like to ask for any pointers on how would be the most efficient way to achieve this? Ideally id like to be able to add a parameter to set the number of vertical sleepers. Ill attach an example image, thanks!
Title: Re: Sleeper Retining Walls
Post by: Michal KarmazĂ­n on September 17, 2024, 04:06:32 pm
Hi,

Feel free to use the bundled Bricks - Running Bond macro (https://docs.itoosoft.com/railclone/style-editor/macros) (Macros > Generators > Bricks and Walls > Bricks - Running Bond), which should achieve the desired result.

Best regards,
Title: Re: Sleeper Retining Walls
Post by: PX2937 on September 21, 2024, 05:18:26 pm
Thanks ill have a look into this, never used these macros before, so ill probably be back!
Title: Re: Sleeper Retining Walls
Post by: PX2937 on September 21, 2024, 06:32:07 pm
So I've made a start by using a brick wall example which I found on this forum a while back, I've managed to make a decent start on this, however I cant figure out why the segments are overlapping/stretching when the spline goes in the other direction, some of my areas on site only extend say 600mm at a 90 degree angle from the main length, ill attach a screenshot and a stripped down scene file, the green line suggests where I'd like the railclone to end, and the red just shows the clipping/extended segments, any help would really be appreciated!
Title: Re: Sleeper Retining Walls
Post by: PX2937 on October 05, 2024, 10:49:15 am
Hey, just a follow up, any ideas on how to could fix this issue im having above? Thanks!
Title: Re: Sleeper Retining Walls
Post by: Paul Roberts on October 09, 2024, 03:39:56 pm
Hi,

Apologies for the delay. The issue was that the sections of spline are shorter than the segments used in the corners. This resulted in them overshooting the ends as the corners can't be adaptively scaled by default.

I've built you a brand new macro that should take care of this kind of situation. Hopefully it works whatever the length of the spline. Below a certain threshold it removes the default segments and instead scales the corner segments to the length of the spline section.

I hope that helps

Paul
Title: Re: Sleeper Retining Walls
Post by: Ricousto on October 10, 2024, 03:10:58 pm
Hello,

Please, would it be possible to have the macro rather than the max file?

Thanks in advance
Title: Re: Sleeper Retining Walls
Post by: PX2937 on October 10, 2024, 09:19:24 pm
Hi Paul, Just checked out the macro, thank you so much! I've spent hours trying to figure this out, life saver!

Conor
Title: Re: Sleeper Retining Walls
Post by: PX2937 on October 10, 2024, 09:22:40 pm
One more question, is there a way i could stagger the segments in arrays? Say the spline slopes down slightly, the segments step down, kind of like a retaining wall. I'm going to experiment with this with the file you provided, fingers crossed!

Ill attach an example of the stepped look
Title: Re: Sleeper Retining Walls
Post by: Paul Roberts on October 11, 2024, 09:51:55 am
Hi,

Glad I could help out. Maybe a clipping spline would do the trick?  Example attached. I've added a parameter to the Macro that allows you to pick a projection axis for the clipping operation.

I hope that helps,

Paul
Title: Re: Sleeper Retining Walls
Post by: Ricousto on October 11, 2024, 10:14:03 am
Thank you
Title: Re: Sleeper Retining Walls
Post by: PX2937 on October 12, 2024, 02:11:03 pm
Hey Paul, thank you for all your help I really appreciate it, new macro works perfectly and saved me a ton of time doing this manually by mesh!