Itoo Software Forum

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

Sknueppel

  • Newbie
  • *
  • Posts: 7
Re: Parameterising Windows with RailClone
« Reply #75 on: March 22, 2021, 03:55:36 PM »
Hey there,
I got a question regarding the creation of a window handle.

I got several attempts in trying to get a handle onto the windowframe.
The first one, was to try it with conditional nodes. Like it was written in this forum.
If the position is greater than 49% and smaller than 51 percent please set it. but it didnt work out


So my question was to automatise the position in the middle of the spline.
But it didnt realy work, Then I tried it like in the tutorial for the window return if(Splinelength == 0,1, if splinelength ==1,2,3)); but didnt work either (I m pretty sure if just done something wrong.
I realy like this tool, but it shows me my limits pretty fast ^^

It would be gereat to get a Syntax that is asking the length of the spline and puts something in the middle (if this is possible)

Thanks in advance

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Parameterising Windows with RailClone
« Reply #76 on: March 22, 2021, 04:27:09 PM »
Thank You for attaching max file. it helps to help You.

There is an automatic syntax for You:
Quote
return Array_2S1.YSplineLength/2;

Attached modified file as well. Hope this helps
Rokas

Sknueppel

  • Newbie
  • *
  • Posts: 7
Re: Parameterising Windows with RailClone
« Reply #77 on: March 22, 2021, 04:54:05 PM »
Thank you very much for the super quick reply,
 I ll have a look at it tomorrow.

Greetings

GM1860

  • Newbie
  • *
  • Posts: 2
Re: Parameterising Windows with RailClone
« Reply #78 on: July 05, 2021, 08:08:09 PM »
Hello.

I want to generate a similar window to the one in the tutorial but instead of using a rectangle I want to use just one line and epecify the height of the windows numericaly.
I have it almost done but not having a Y spline is giving me problems using the expression to distribute the 3 "XEvenly" pieces.
How can I do to distribute this pieces based on Y Size parameter insted of Y Spline?

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Parameterising Windows with RailClone
« Reply #79 on: July 05, 2021, 09:49:37 PM »
It should act the same as with Y spline.
Can you share the scene file so we can take a look?

GM1860

  • Newbie
  • *
  • Posts: 2
Re: Parameterising Windows with RailClone
« Reply #80 on: July 06, 2021, 10:16:42 AM »
Ok, yes, now is working. I just forgot to check "Extend to Side" in X Evenly parameters.

Thanks!

Graph

  • Newbie
  • *
  • Posts: 6
Re: Parameterising Windows with RailClone
« Reply #81 on: February 08, 2022, 04:10:45 PM »
Hi, master railcloning del fuego teams. I'm doing this tutorial but I want to use it to do some concrete pannel instead and using de X and Y spline marker (with a vertex control) to control in wich position each joint will be on the X axis and on the Y axis independentrly. I have almost done it, but i got some little problem. The x marker work great, but when I plug my node in the Y marker it does'nt work. And the worse part is that my node controling the Y axis (With the arithmetic expression) does not work always the same way. Sometimes it put my evenly segment (on evenly and at the end) and some other time it put only my end segment int the evenly place and at the end. And on top of that I have segment jonction that I really don't know where or how to put it in all of that puzzle. I really deaply wish someones can help me on that one because I'm gonna need that exact same kind of railclone for 4 or 5 another stuff i need to do. I'have attached some JPG in case, I hope it will be understandable. thanks in advance.

And by the way, The arithmetic expression in the video doesn't work for me. I had to download the files and in the downloaded files, the expression was the ones that i use and seems to work for me. And i don't know why  ;D

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Parameterising Windows with RailClone
« Reply #82 on: February 08, 2022, 04:20:14 PM »
Hi!

From your screenshot it looks as though the Arithmetic node for the Y marker is missing return at the beginning. That may help. If not, feel free to send us your Max file and we'll take a close look.

Cheers,
Paul
Paul Roberts
iToo Software

Graph

  • Newbie
  • *
  • Posts: 6
Re: Parameterising Windows with RailClone
« Reply #83 on: February 08, 2022, 04:25:21 PM »
Hi Paul, Here is my file. And sorry, my mistake, I didn't take the good screenshot. The expression is the same in my scene except that for the Y marker. I change the Y for the X. And this is the result I have. Thanks for the quick response. really appreciate
« Last Edit: February 08, 2022, 04:32:06 PM by Graph »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Parameterising Windows with RailClone
« Reply #84 on: February 09, 2022, 10:13:05 AM »
Thanks for the file. Please check out the attached. It uses a different approach involving a macro called Segment Y Role. Actually this is the way I would recommend from now on, the original window tutorial is a little out of date now and due to be re-recorded.

Although not a window, this coffered ceiling tutorial is more up to date and includes info on how to use the Segment Y Role macro. https://www.itoosoft.com/tutorials/creating-a-procedural-coffered-ceiling-with-3ds-max-and-railclone

I hope that helps,
Paul
Paul Roberts
iToo Software

Graph

  • Newbie
  • *
  • Posts: 6
Re: Parameterising Windows with RailClone
« Reply #85 on: February 09, 2022, 03:43:29 PM »
Thank you very much. i'm starting to digging into that right now.

ASD+Viz

  • Newbie
  • *
  • Posts: 11
Re: Parameterising Windows with RailClone
« Reply #86 on: August 30, 2022, 01:08:51 PM »
Hi! Am new to using Railclone. Finally after three weeks of scratching my head I did get the Parametric Window Tutorial. I am still to use it in a project yet but it was worth the time. Just wanted to understand how I can Add a Sub X evenly and a Sub Y evenly inside my existing Window without disturbing the outer frame.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Parameterising Windows with RailClone
« Reply #87 on: August 31, 2022, 09:03:57 AM »
Hi!

Glad to hear you're making strides learning RailClone. Is that image your current window, or what you'd like to be able to achieve?

Many thanks,

Paul
Paul Roberts
iToo Software

ASD+Viz

  • Newbie
  • *
  • Posts: 11
Re: Parameterising Windows with RailClone
« Reply #88 on: August 31, 2022, 03:45:06 PM »
Hi Paul, This is what I want to achieve. I wish I was able to do this in Railclone. :) I am an Architect and this is the client reference but I do not know how to convert your sample window into this.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Parameterising Windows with RailClone
« Reply #89 on: September 01, 2022, 12:56:44 PM »
Hi, please take a look at the attached sample file that uses several more modern techniques than the original tutorial, including

- Uses two generators, one for the frame, and one for the glazing
- Uses markers on the X and Y Spline to add the main frame divisions
- Uses nested generators to add the glazing inside the frame. To get the size we use the recently added XSectionAdjustedLength attribute
- Uses the segmentYRole macro to target where the evenly columns intersect with the sides and one another.

I hope it helps. It's quite an advanced style, so please let me know if you have any questions.

Best,
Paul
Paul Roberts
iToo Software