Itoo Software Forum

Author Topic: Parameterising Windows with RailClone  (Read 111715 times)

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Parameterising Windows with RailClone
« Reply #45 on: March 09, 2017, 02:51:50 PM »
Hi Denis,
No problem, I forgot that I'd already written a post about this question myself.

All the best,

Paul
Paul Roberts
iToo Software

psxcode

  • Newbie
  • *
  • Posts: 6
Re: Parameterising Windows with RailClone
« Reply #46 on: May 12, 2017, 10:49:46 PM »
Hi Paul, I'm interested if it is possible to establish Arch-shaped window via railclone
but it has to be with double or even triple frames within a window like on the picture below.
Yes, to establish square or full circle element is pretty mere but what about  that
I would be grateful if you could help me a little bit
Thanks.
« Last Edit: May 12, 2017, 10:52:32 PM by psxcode »

KB2072

  • Newbie
  • *
  • Posts: 19
Re: Parameterising Windows with RailClone
« Reply #47 on: November 05, 2017, 01:50:56 PM »
Working through the tutorial, I have hit a problem that I am sure is simple, but cannot seem to troubleshoot. When typing the expression in the video, I get an error. A screen capture is included that shows the video on the right and the actual Railclone expression window on the left.

I have worked spaces, no spaces around the equal mark, but cannot get past this error. A little insight would be appreciated.

Max 2018 Update 20.0-20.1.0.1452
Railclone 3.0.9
« Last Edit: November 06, 2017, 04:55:49 AM by KB2072 »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Parameterising Windows with RailClone
« Reply #48 on: November 06, 2017, 01:17:12 PM »
Hi,

As mentioned in this "Parse error" tightly related post on our forum: "There's a new Expressions syntax in RailClone 3. Expressions now require you to add a return property before the expression and a semi-colon (;)at the end of the line. Please feel free to check the "Converting RailClone 2 styles for RailClone 3" document, where you can find RC2 & RC3 differences."

In this case, the expression should have following format:

return if(YSplinePosition == 0, 3, if(YSplinePosition == 1, 1, 2));

Let me add, that when working with "older styles", the conversion of expressions RC2 > RC3 should be performed automatically. As the provided scene has been already saved in the latest version to "launch" again the conversion, it needs to be saved in any RC2 version (like the 2.7.5) and opened again in RC3 (like the 3.0.9).

Best regadrs,

KB2072

  • Newbie
  • *
  • Posts: 19
Re: Parameterising Windows with RailClone
« Reply #49 on: November 06, 2017, 02:57:23 PM »
Thank you.

KB2072

  • Newbie
  • *
  • Posts: 19
Re: Parameterising Windows with RailClone
« Reply #50 on: November 07, 2017, 03:55:10 AM »
Thanks again for the direction. I have the concept working, however, my y evenly scales when it is spaced with the controls. I have researched and not been able to find the switch to keep Y evenly from scaling. Please direct my research and further reading.

I have experimented with several switches, but I am guessing and have not grasp the principal or controls for controlling the width of the Y evenly aspects. The idea is to have a "troweled joint" with a change in texture on the Y evenly, or a "sawn" joint with a matching Y evenly material. However, the joint width is widening along the Y evenly with the spacing / repeat of the Y evenly design.

Thank you again. Robert

Moderator, please move this if you would rather have it outside the discussion of the tutorial. - Thanks.
« Last Edit: November 07, 2017, 11:22:37 AM by KB2072 »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Parameterising Windows with RailClone
« Reply #51 on: November 09, 2017, 01:03:42 PM »
Hi,

I've taken a look at your file and it would appear that the Y scale parameter was wired to the wrong segments. I've swapped them around a bit and it appears to be working correctly now. Please take a look and let me know if that's what you are after.

I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul
Paul Roberts
iToo Software

KB2072

  • Newbie
  • *
  • Posts: 19
Re: Parameterising Windows with RailClone
« Reply #52 on: November 09, 2017, 02:44:34 PM »
Perfect. Now to go back and study further. I'm working the tutorials Next steps and I'm having issues but I'll hopefully get a grip on it. Thanks for your patience in working with us Newbies.

by the way, it worked nicely with Megascans (see attached test render)
« Last Edit: November 11, 2017, 03:49:14 PM by KB2072 »

KB2072

  • Newbie
  • *
  • Posts: 19
Re: Parameterising Windows with RailClone
« Reply #53 on: November 30, 2017, 05:17:23 PM »
Paul,

I am having continuing problems with splines that are not rectilinear in nature for the Railclone pavement style that you helped me with. Attached is a current example. The Y evenly (I think) is not filling in in all areas.  I can send the file but hoped that perhaps there was an easy  (quick) fix. This example uses your style, no modifications by me.  Thanks.

rob_aspray

  • Newbie
  • *
  • Posts: 9
Re: Parameterising Windows with RailClone
« Reply #54 on: December 10, 2017, 12:05:48 PM »
Hi Paul,

I'm trying to create a style that's like the ground floor glazing in the tutorial file.

The project I'm working on has the same glazing but the top panel is just one unit. It would also be good to have the option of two doors.

I've tried to dissect your model but it seems to be beyond my limited capabilities.

I'd post the model but it wont go below 8mb.

Your help would be much appreciated.

Many thanks

Rob

rob_aspray

  • Newbie
  • *
  • Posts: 9
Re: Parameterising Windows with RailClone
« Reply #55 on: December 10, 2017, 12:12:00 PM »
....managed to reduce the file size.

Paulo R. Beck

  • Newbie
  • *
  • Posts: 17
Re: Parameterising Windows with RailClone
« Reply #56 on: March 23, 2018, 04:08:10 PM »
Hello guys

My Top Evently Object does not appear.

Can someone give me a hint?  :'(

yann.terrer@gmail.com

  • Newbie
  • *
  • Posts: 3
Re: Parameterising Windows with RailClone
« Reply #57 on: June 14, 2018, 04:49:24 PM »
very usefull tutorrial TKS!!!

I got a problem with the expression that doesn't work as shown in attached file, can you help me please?

many thanks

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Parameterising Windows with RailClone
« Reply #58 on: June 14, 2018, 04:53:06 PM »
add return in first line start.
and ; at last line end.
Rokas

yann.terrer@gmail.com

  • Newbie
  • *
  • Posts: 3
Re: Parameterising Windows with RailClone
« Reply #59 on: June 15, 2018, 11:37:03 AM »
Hi,

here is what i'm trying to do: a Round window with radial glazings. it would be greate to set parameters for the number of glazing and round  inner frames and to clip them with the different round frames.
is there any means to do that?

tks