Itoo Software Forum

Author Topic: Making a door and frame - can't figure out how to get a specific spline length  (Read 464 times)

CB4719

  • Newbie
  • *
  • Posts: 2
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

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3134
    • iToo
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:
Rokas
iToo Software

CB4719

  • Newbie
  • *
  • Posts: 2
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