Itoo Software Forum

Author Topic: any fix on this?  (Read 496 times)

manel_reig

  • Newbie
  • *
  • Posts: 25
any fix on this?
« 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

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


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2087
Re: any fix on this?
« Reply #1 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.



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
Paul Roberts
iToo Software

manel_reig

  • Newbie
  • *
  • Posts: 25
Re: any fix on this?
« Reply #2 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...

manel_reig

  • Newbie
  • *
  • Posts: 25
Re: any fix on this?
« Reply #3 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:



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:





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:



any solution sometime soon?
« Last Edit: July 27, 2021, 03:04:35 PM by manel_reig »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2087
Re: any fix on this?
« Reply #4 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
« Last Edit: July 28, 2021, 11:39:45 AM by Paul Roberts »
Paul Roberts
iToo Software

manel_reig

  • Newbie
  • *
  • Posts: 25
Re: any fix on this?
« Reply #5 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!

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2087
Re: any fix on this?
« Reply #6 on: July 28, 2021, 11:09:55 AM »
Hi, I've updated the file to 2016 format. Hope it helps.
Paul
Paul Roberts
iToo Software