Itoo Software Forum

Author Topic: evenly distance  (Read 395 times)

FStorm

  • Jr. Member
  • **
  • Posts: 56
evenly distance
« on: January 16, 2021, 03:59:56 AM »
How do i keep the distance of each interval constant, including the start and the end
« Last Edit: January 16, 2021, 09:42:52 AM by FStorm »

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: Distance of interval
« Reply #1 on: January 16, 2021, 07:24:23 AM »
Hi
RC is calculating evenly distance based on spline so you need to do some tricks+calculations to make it even.
You can set X alignment to the center and set the start/end limits to half X size of the segment.
Or, You can check my Gumroad page for the macro that can help you  ;): https://gumroad.com/dragan_prodanic
or share a scene file so we can take a look if you have some specific issue.

Best Regards.
Stay safe!
Dragan
« Last Edit: January 16, 2021, 07:36:27 AM by Dragan »

FStorm

  • Jr. Member
  • **
  • Posts: 56
Re: Distance of interval
« Reply #2 on: January 16, 2021, 08:14:06 AM »
Hi
RC is calculating evenly distance based on spline so you need to do some tricks+calculations to make it even.
You can set X alignment to the center and set the start/end limits to half X size of the segment.
Or, You can check my Gumroad page for the macro that can help you  ;): https://gumroad.com/dragan_prodanic
or share a scene file so we can take a look if you have some specific issue.

Best Regards.
Stay safe!
Dragan
Thanks, hopefully the next version of RC will improve this and make it easier to do

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: Distance of interval
« Reply #3 on: January 16, 2021, 09:00:09 AM »
I doubt. I think the next release will introduce some new features as lights and hopefully some improvements in arithmetic calculations.
As for this evenly "issue", I think there is a lot of work in changing the program algorithm to accomplish this, and since it is already doable with some calculation this will probably remain on the User side.
« Last Edit: January 16, 2021, 11:40:57 PM by Dragan »

FStorm

  • Jr. Member
  • **
  • Posts: 56
Re: Distance of interval
« Reply #4 on: January 16, 2021, 09:42:20 AM »
I doubt. I think the next release will introduce some new features as light and hopefully some improvements in arithmetic calculations.
As for this evenly "issue", I think there is a lot of work in changing the program algorithm to accomplish this, and since it is allready doable with some calculation this will probably remain on the User side.
Some regret

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: evenly distance
« Reply #5 on: January 16, 2021, 10:37:18 AM »
Yeah, we can't get it all  :(
Here is a discount code for you so you can check macro and please do not hesitate to give me some C&C: 4xd9u03
« Last Edit: January 18, 2021, 09:43:49 AM by Dragan »

FStorm

  • Jr. Member
  • **
  • Posts: 56
Re: evenly distance
« Reply #6 on: January 16, 2021, 10:55:10 AM »
Yeah, we can get it all  :(
Here is a discount code for you so you can check macro and please do not hesitate to give me some C&C: 4xd9u03
Thank you very much :-*

FStorm

  • Jr. Member
  • **
  • Posts: 56
Re: evenly distance
« Reply #7 on: January 17, 2021, 03:24:25 AM »
How do I ignore the start and end so that evenly spaced calculations also include the start and end

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: evenly distance
« Reply #8 on: January 17, 2021, 07:46:07 AM »
I`m not sure what you referring to.
The macro should work fine if you leave Start/End inputs empty.
Can you illustrate or send me a scene file (please downgrade it to max2018).

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: evenly distance
« Reply #9 on: January 17, 2021, 08:08:12 AM »
If you want to do the calculation on your own then you shuld consider a different approach  :D
You could use left padding and default distribution instead evenly.
« Last Edit: January 17, 2021, 08:48:51 AM by Dragan »

FStorm

  • Jr. Member
  • **
  • Posts: 56
Re: evenly distance
« Reply #10 on: January 17, 2021, 09:09:52 AM »
If you want to do the calculation on your own then you shul consider a different approach  :D
You could use left padding and default distribution instead evenly.
Yes, that's what I mean, divide evenly on a straight line by counting and each interval is equal distance, no start and end terminals, thank you for your solution, is there an easier way to do this, can your macro tools do it?

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: evenly distance
« Reply #11 on: January 17, 2021, 09:26:56 AM »
I think the Macro needs the default input. I will check and see if I can rearrange it to use Null as defaults.

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: evenly distance
« Reply #12 on: January 17, 2021, 09:55:14 AM »
I just checked, the Macro needs the default input, but it is an easy fix to adapt it to your needs.
1. Connect the NULL segment to Default input.
2. Select the Macro and LMB Macro>Edit
3. Reconnect Default input segment From SubEvenly Macro`s Default to the next Transform operator to override Subevenly distribution as shown on the image.

Downside you will lose SubEvenly option  :(
Hope this will work for you.


« Last Edit: January 17, 2021, 03:02:04 PM by Dragan »

FStorm

  • Jr. Member
  • **
  • Posts: 56
Re: evenly distance
« Reply #13 on: January 17, 2021, 11:54:37 AM »
Thanks

Dragan

  • Hero Member
  • *****
  • Posts: 755
Re: evenly distance
« Reply #14 on: January 17, 2021, 12:03:50 PM »
Glad to help  ;)