Itoo Software Forum

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

hehJgunen

  • Newbie
  • *
  • Posts: 2
Re: Parameterising Windows with RailClone
« Reply #60 on: March 22, 2019, 07:02:54 PM »
HI, is it any chance to make open windows?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1760
Re: Parameterising Windows with RailClone
« Reply #61 on: March 22, 2019, 07:14:22 PM »
With RailClone 3, it'd be a lot of work. In a future version of RailClone we are adding a few new features that should make that sort of thing easier.

Thanks!

Paul
Paul Roberts
iToo Software

hehJgunen

  • Newbie
  • *
  • Posts: 2
Re: Parameterising Windows with RailClone
« Reply #62 on: March 23, 2019, 03:41:09 PM »
Great to hear it, can't wair for next release then :)

SeanyMac

  • Newbie
  • *
  • Posts: 16
Re: Parameterising Windows with RailClone
« Reply #63 on: November 21, 2019, 10:11:29 PM »
If I check "extend x/y to area" the projection option is greyed out. As understand it, I need to have four separate RailClone objects in order to have parametric windows on all sides of a building. Is there a smarter way to setup the windows to go all the way around the a building? thanks!

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1760
Re: Parameterising Windows with RailClone
« Reply #64 on: November 22, 2019, 10:45:03 AM »
Hi!

Actually in recent versions of RailClone it is not necessary to create a different RC object for each side of the building. RailClone can rotate each window to match the spline. If a window faces in rather that out. reverse the spline to fix it.

The settings to enable this mode are as follows:



Hope that helps,

Paul
Paul Roberts
iToo Software

SeanyMac

  • Newbie
  • *
  • Posts: 16
Re: Parameterising Windows with RailClone
« Reply #65 on: November 22, 2019, 04:09:56 PM »
thanks....brilliant!
« Last Edit: November 22, 2019, 04:15:06 PM by SeanyMac »

Young chul yoon

  • Newbie
  • *
  • Posts: 2
Re: Parameterising Windows with RailClone
« Reply #66 on: December 27, 2019, 03:06:32 PM »
Hi,

before I write a more thorough answer to address your questions I wonder if you can upload your file so far so I can take a closer look at what's going on. If you'd prefer not to post it publicly please feel free to send it to support@itoosoft.com.

I'll write a more detailed response soon and double check the script too.

Thanks!

Paul

Target

  • Newbie
  • *
  • Posts: 3
Re: Parameterising Windows with RailClone
« Reply #67 on: June 29, 2020, 04:29:26 AM »
I hope that helps, please let me know if you have any further questions.

RB2300

  • Newbie
  • *
  • Posts: 8
    • DEVconstruction
Re: Parameterising Windows with RailClone
« Reply #68 on: October 25, 2020, 07:15:29 AM »
Hello please, I am trying follow tutorial and I have problem that first pieces is not same as in tutorial ... they are in angle... please can someone help me and tell me where is issue? Best regards Pablo

RB2300

  • Newbie
  • *
  • Posts: 8
    • DEVconstruction
Re: Parameterising Windows with RailClone
« Reply #69 on: October 26, 2020, 04:22:40 AM »
I have tried continue and see what happends after while... i see there is another problem at 9:22 min ... I put there your expression

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

and it shows me

Parse error. Expected ')' or ',' in argument list at line 1:
if(YSplinePosition = 0,3,
                      ^

it seems that you used old version and through period you updated your software and it doesnt work any more this tutorial because you changed it so much... But is ok i will try use your example file and use that script that works at least.


Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2594
    • iToo
Re: Parameterising Windows with RailClone
« Reply #70 on: October 26, 2020, 08:03:05 AM »
Since the tutorial we updated RailClone a lot.

Expression editor functions has been expanded. And that required some changes how they are written.

Test expression "-1*(Input/4)" in v2 should be written in v3 and v4 like this:
return -1*(Input/4);
Basically all expressions should have "return" in start of "expression" and You should end them with ";"

Also in latest RC You need to use double equal "==" to make comparison.
example:
return if(XSplineMatID==12 | XSplineMatID==112 | XSplineMatID==45 ,1,2);


More examples can be found here.
Rokas
iToo Software