Toggle navigation
Login
Register
ITOOSOFT Forum
»
RailClone
»
RailClone Pro (*)
»
Expressions - section length between corners
« previous
next »
Print
Pages: [
1
]
Author
Topic: Expressions - section length between corners (Read 6 times)
nubo
Jr. Member
Posts: 65
Expressions - section length between corners
«
on:
Today
at 11:46:16 am »
Hi,
I was wondering if there's a way to get current line length of the actual spline (between vertices) regardless of evenly and markers divisions?
My precise use case is that I need to find the longest line of a closed spline and then generate evenly segments along that line only. Unfortunately XSectionLength is affected by the evenly so it gives me only the virtual spline section length not the actual spline's line length.
Logged
Michal Karmazín
ITOOSOFT
Hero Member
Posts: 3208
Re: Expressions - section length between corners
«
Reply #1 on:
Today
at 11:50:41 am »
Hi,
Yes, the
XSectionAdjustedLength
attribute returns the length of the current section on the X Spline, subtracting the size of any adjacent Start, End, Corner, Evenly, or Marker segments. I hope this helps.
Best regards,
Logged
Print
Pages: [
1
]
« previous
next »
ITOOSOFT Forum
»
RailClone
»
RailClone Pro (*)
»
Expressions - section length between corners
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length