Itoo Software Forum

Author Topic: Distance to end, than change Default  (Read 2242 times)

HM7207

  • Newbie
  • *
  • Posts: 17
Distance to end, than change Default
« on: July 12, 2023, 03:39:22 pm »
hi, once again, Can't figure out how to made thing like that, As long as it involve script I am lost.

I try to set a serie of windows, that end with a different part  1 fix part + 1 window sill.

Please a little help,

thanks


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3062
Re: Distance to end, than change Default
« Reply #1 on: July 12, 2023, 04:37:08 pm »
Hi,

Thanks for the question. There isn't a built in way to place an object a certain distance from the end, but we can do it by finding out the size of the spline, and then deducting the size of various segments to find out what size the default segments should be scaled to. I've attached a sample file for you to deconstruct. If you have any questions about it, please let me know.

All the best,
Paul
Paul Roberts
iToo Software

HM7207

  • Newbie
  • *
  • Posts: 17
Re: Distance to end, than change Default
« Reply #2 on: July 13, 2023, 09:32:52 am »
ho! Thanks you,

I'll try to analyse what is going on is that script.

But allready, it works perfectly for what I need

Thanks again

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3062
Re: Distance to end, than change Default
« Reply #3 on: July 13, 2023, 09:34:24 am »
Great! Glad we could help out.

Paul
Paul Roberts
iToo Software