Itoo Software Forum

Author Topic: XSectionAdjustedLength  (Read 801 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1419
XSectionAdjustedLength
« 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?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2993
Re: XSectionAdjustedLength
« Reply #1 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
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: XSectionAdjustedLength
« Reply #2 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.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2993
Re: XSectionAdjustedLength
« Reply #3 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
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: XSectionAdjustedLength
« Reply #4 on: June 15, 2022, 04:46:37 PM »
Great, thank you.
This new Attribute is a very nice addition. I`m happy  :D
 

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: XSectionAdjustedLength
« Reply #5 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

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2993
Re: XSectionAdjustedLength
« Reply #6 on: June 16, 2022, 09:06:46 AM »
Great! Thanks for testing, glad to hear it's all working well.

Cheers,
Paul
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: XSectionAdjustedLength
« Reply #7 on: June 16, 2022, 09:13:13 AM »
Just waiting for the next update to check Evenly on Nested.  ;)

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: XSectionAdjustedLength
« Reply #8 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

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2993
Re: XSectionAdjustedLength
« Reply #9 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.
« Last Edit: June 16, 2022, 11:26:02 AM by Paul Roberts »
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: XSectionAdjustedLength
« Reply #10 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!!!!

« Last Edit: June 16, 2022, 11:50:32 AM by Dragan »

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: XSectionAdjustedLength
« Reply #11 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

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2993
Re: XSectionAdjustedLength
« Reply #12 on: June 17, 2022, 12:47:23 PM »
You're very welcome! Thanks for testing it thoroughly.

Paul
Paul Roberts
iToo Software