Itoo Software Forum

Author Topic: Wrong size for first/last segment on XSectionAdjustedLenght  (Read 1821 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1472
Wrong size for first/last segment on XSectionAdjustedLenght
« on: March 31, 2025, 11:00:35 PM »
Guys, can you please check this for me?
I'm getting the wrong size for the first and last segments on subsplines. 
Changing the Corners Bevel Type will affect only adjacent Segments.
Even though, if corners are not included in the equation (removed middle subspline section), the first and the last Segment are still not equal to the rest of the "evenly" segments.

 

 




 
« Last Edit: April 01, 2025, 06:35:43 AM by Dragan »

Dragan

  • Hero Member
  • *****
  • Posts: 1472
Re: Wrong size for first/last segment on XSectionAdjustedLenght
« Reply #1 on: April 01, 2025, 06:55:26 AM »
Never mind.
I just remembered that the generator is evaluated at the start and divided evenly on the spline level, not divided by calculated divisions, including everything evenly+corners+paddings...
So, back to my Evenly Macro  ;)
However, I still think something is wrong with the calculation for the first and last segments.
« Last Edit: April 01, 2025, 08:16:02 AM by Dragan »

Dragan

  • Hero Member
  • *****
  • Posts: 1472
Re: Wrong size for first/last segment on XSectionAdjustedLenght
« Reply #2 on: April 01, 2025, 11:29:27 AM »
But, no need to say how easy it is to achieve the results with just a few Spline Operators (breaks, divide and paddings).

Huge update! Bravo!