Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: manel_reig on July 24, 2021, 04:16:20 PM

Title: any fix on this?
Post by: manel_reig on July 24, 2021, 04:16:20 PM
Hello,

I was cleaning and trying to improove old railclone styles, and realised that with railclone 4 this problem is still there... https://forum.itoosoft.com/railclone-pro-(*)/closedopen-splines-in-2d-arrays/msg25979/#msg25979 (https://forum.itoosoft.com/railclone-pro-(*)/closedopen-splines-in-2d-arrays/msg25979/#msg25979)

is there a way to create buildings with a closed spline using the expresion  "x corner" composed three segments (bottom, middle and top) [ return if(YSplinePosition == 0, 1, if(YSplinePosition == 1, 3, 2)); ] in a selector node....maybe there is a better expresion?

I am trying to achieve styles to build whole buildings, and working with a composed "x corner" makes thing easier and more logical for buildings.

thank you

Title: Re: any fix on this?
Post by: Paul Roberts on July 26, 2021, 09:26:34 AM
Hi,

There's now a macro in Logic > Array Attributes > Segment Y Role that can be used to target the top and bottom of the X Corner column.

(https://i.imgur.com/BWg0cMK.png)

It's pretty straightforward to use, but if you want more information then we recently released this tutorial which demonstrates the macro in use. https://www.youtube.com/watch?v=UX6q_W43Jq8&t=800s

I hope that helps,
Paul
Title: Re: any fix on this?
Post by: manel_reig on July 26, 2021, 01:21:13 PM
thank you Paul, will give it atry and see if it works better and can handle closed splines...
Title: Re: any fix on this?
Post by: manel_reig on July 27, 2021, 02:58:14 PM
Sadly, it does not work with closed splines...I get the same error as two years ago:

(https://i.postimg.cc/TwpJCwLY/Sin-t-tulo-1.jpg)

What I am trying to do, is some railclone objects that are whole buildings, so I can nest them and make my own "parametric library" but with buildings fitiing my needs:

(https://i.postimg.cc/50vCkF3g/Sin-t-tulo-2.jpg)

(https://i.postimg.cc/pVf0m9HK/Sin-t-tulo-3.jpg)

The big problem is that I need to be able to work with "x corners" with threee segments, top, default and bottom, and when I do I always have one corner that is not working. In this case it is not a big problem, but if I had a special corner segment, like a window or something, working with open splines will give me a lot of problems, like overlaping faces and geometry in the end/start corner:

(https://i.postimg.cc/HLSfrr1p/Sin-t-tulo-4.jpg)

any solution sometime soon?
Title: Re: any fix on this?
Post by: Paul Roberts on July 27, 2021, 05:54:45 PM
Hi,

I'll take a deeper look at this and talk to our development team. In the meantime, one solution is to use an L1S generator each for the top and bottom floor, with an A2S to fill in the middle section. I often prefer this technique as it offers me more flexibility. I've attached a simplified sample file, please let me know if you have any questions.

Paul
Title: Re: any fix on this?
Post by: manel_reig on July 27, 2021, 07:24:47 PM
Thank you for the file, sadly I have still Max 2018, could you please upload a version of the file for 2018 max?

thank you very very much Paul!
Title: Re: any fix on this?
Post by: Paul Roberts on July 28, 2021, 11:09:55 AM
Hi, I've updated the file to 2016 format. Hope it helps.
Paul