Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: CB4719 on March 19, 2019, 07:40:14 PM

Title: Making a door and frame - can't figure out how to get a specific spline length
Post by: CB4719 on March 19, 2019, 07:40:14 PM
Hello,

I have attached a simplified version of a railclone door and frame I am creating using a single spline with 4 segments. The frame is constructed using a 2d array and the door itself uses a linear array as I rotate the door open around the axis of the spline it is generated on. I have not been able to figure out how to generate (get) procedurally the width of door (along the x-axis indicated in the image file). I am able to retrieve the height of the door (indicated in image along the y-axis) since this is simply the length of the spline it is generated on.

Thanks

Brian
Title: Re: Making a door and frame - can't figure out how to get a specific spline length
Post by: Rokas on March 22, 2019, 10:19:39 AM
Hi

Unfortunately using Clipping Splines sometimes reduce RailClone style flexibility.
In such case it would be better to use X Spline And Y Spline Separately. Or even not use Y spline but use Numeric node.

This way You will get more control:
(https://i.imgur.com/HlIZ5y5.gif)
Title: Re: Making a door and frame - can't figure out how to get a specific spline length
Post by: CB4719 on March 25, 2019, 04:27:35 PM
Thank you Rokas for your quick response!

I also have implemented a window casing and door casing railclone object which utilize a linear array and was hoping to only have to one spline to be able to attach all railclone object creations to instead of having a separate spline for each the door and the door casing.

When I have time maybe I will post a simplified version of my casing railclone object to get suggestions on whether what I am doing there could be simplified and share the same X spline/Yspline separately or numeric node as you have suggested for the door object below.

Thanks again.

Brian