Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Dragan on June 15, 2022, 03:22:02 pm

Title: XSectionAdjustedLength
Post by: Dragan on June 15, 2022, 03:22:02 pm
Hm, it is not working for nesting   ???

The spline is 700cm long.
What value should Expression return?
Title: Re: XSectionAdjustedLength
Post by: Paul Roberts on June 15, 2022, 03:34:58 pm
Hi Dragan,

It would appear that the print command is returning the incorrect value but in actual use, it works as expected. I've amended your file so that there are two versions, one using xsectionlength and the other using xsectionadjustedlength. As you can see they are working as expected despite what the print command returns.  I'll pass on the Print problem

Cheers,
Paul
Title: Re: XSectionAdjustedLength
Post by: Dragan on June 15, 2022, 04:31:53 pm
Yes, they are working as expected.
I was playing with an Evenly distribution on nested L1S and there was an issue but I guess this is an "extra vertices in the internal path" problem.
Title: Re: XSectionAdjustedLength
Post by: Paul Roberts on June 15, 2022, 04:34:03 pm
Quite possibly - that issue with internal splines and evenly segments has been fixed by Carlos - it'll be released in the next update.
Cheers!
Paul
Title: Re: XSectionAdjustedLength
Post by: Dragan on June 15, 2022, 04:46:37 pm
Great, thank you.
This new Attribute is a very nice addition. I`m happy  :D
 
Title: Re: XSectionAdjustedLength
Post by: Dragan on June 15, 2022, 11:48:17 pm
Just tested more thoroughly and so far working perfectly with Sequence, Randomize, and Selector on Evenly/Corners/Markers, respecting X alignment, pivots, limits...
Huge!!!!
THANK YOU!

Best Regards
Title: Re: XSectionAdjustedLength
Post by: Paul Roberts on June 16, 2022, 09:06:46 am
Great! Thanks for testing, glad to hear it's all working well.

Cheers,
Paul
Title: Re: XSectionAdjustedLength
Post by: Dragan on June 16, 2022, 09:13:13 am
Just waiting for the next update to check Evenly on Nested.  ;)
Title: Re: XSectionAdjustedLength
Post by: Dragan on June 16, 2022, 11:18:40 am
one more note...

update description in the editor to add "automatically subtracting the size of any Start, End, Evenly, Marker, or Corner segments".
Now it is just Start and End segment
Title: Re: XSectionAdjustedLength
Post by: Paul Roberts on June 16, 2022, 11:23:21 am
Agreed, I'll pass it on. Although technically it's accurate because the spline is divided internally using those inputs. Each section only knows about its own start and end. This is kind of explained in the description "Length of the current section on X Spline, substracting size of Start and End segments. A section is the path between two Start, End, Corner, Evenly or Marker segments" But since start and end already having a meaning in the RailClone world it's a bit confusing.
Title: Re: XSectionAdjustedLength
Post by: Dragan on June 16, 2022, 11:48:58 am
 :D
But since this is Adjusted section size and it subtracts Evenly/Corner/Markers too( and it does a GREAT job!)  it will be good to note this in the Description. 

Once more, I`m so grateful for this attribute!!!!

Title: Re: XSectionAdjustedLength
Post by: Dragan on June 17, 2022, 10:35:21 am
I think this Attribute deserves the new release number as RC6 and not just an update release!  ;)
Can`t thank you enough guys!

Regards
Dragan
Title: Re: XSectionAdjustedLength
Post by: Paul Roberts on June 17, 2022, 12:47:23 pm
You're very welcome! Thanks for testing it thoroughly.

Paul