Itoo Software Forum

Author Topic: Surface to Spline Distance not working  (Read 1252 times)

CharlyRT

  • Jr. Member
  • **
  • Posts: 83
Surface to Spline Distance not working
« on: September 19, 2023, 10:13:31 PM »
Hi there, im trying to use the "Surface to Spline Distance" Macro but.. for some reason it doesnt work with geometry that i recieved from a client.
I have tested it with simple box and it works like a charm, but as soon as i use his goemetry the macro doest scale to the ground like it should, i have tested it with simple and his geometry and doesnt work.

I attach the file in max 2020, with both examples, hope you could guide me if theres something grong in the style or its just the geometry.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2477
Re: Surface to Spline Distance not working
« Reply #1 on: September 20, 2023, 11:16:57 AM »
Hi,

I'm sorry to hear that you're facing these troubles. It's because the "Surface to Spline distance" macro expects the generator to be named "Linear 1S1" (it checks the position on the spline using Linear_1S1.XSplinePosition). Renaming the generator accordingly fixes it. Please find attached the modified scene (230920_ColumnOnSurface_iToo.max). I hope that helps.

Best regards,

CharlyRT

  • Jr. Member
  • **
  • Posts: 83
Re: Surface to Spline Distance not working
« Reply #2 on: September 22, 2023, 07:59:13 PM »
Thank u so much, that did the job