Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: CharlyRT on September 19, 2023, 10:13:31 PM

Title: Surface to Spline Distance not working
Post by: CharlyRT 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.
Title: Re: Surface to Spline Distance not working
Post by: Michal KarmazĂ­n 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,
Title: Re: Surface to Spline Distance not working
Post by: CharlyRT on September 22, 2023, 07:59:13 PM
Thank u so much, that did the job