Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skip Input Mesh if spline has too much bend
#1
Just bought the tool and love it, started using it to create pipes for environments and had some different variations to randomize between. However found an issue that would be neat to be able to solve, if the split has too much bend I would like to ignore some mesh variations from the input meshes.

Is there any way to do this? Otherwise a Max tangent size or something like that would be awesome as setting for the properties section for each mesh in the Input Mesh script.

[Image: FLGvGVd.png]
Reply
#2
Hi
Thanks for your purchase. Glad to read that you love using Curvy Splines.
Unfortunately, the feature you described is not implemented in Curvy Splines. One can implement it, but it is not a trivial task. Are you a programmer?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#3
(09-26-2023, 08:21 PM)_Aka_ Wrote: Hi
Thanks for your purchase. Glad to read that you love using Curvy Splines.
Unfortunately, the feature you described is not implemented in Curvy Splines. One can implement it, but it is not a trivial task. Are you a programmer?

I am. I'm guessing one can get the tangent for the position the mesh is to be placed at and if so pick another. However since this would be something that would need to be extended in the editor scripts as well etc I agree that it's not a trivial task. I will look into it on my end but put it on the list for feature requests Smile
Reply
#4
Sorry for the late answer.
Request added to the requests list.
If you want to implement it, make sure to check the BuildVolumeSpots.AddGroupItems methods. I guess this might be the best place to take into consideration any condition to check before selecting which object to place. I might be wrong.
The method above has a parameter of type CGPath. The tangent information can be taken from the parameter of CGPath.Directions.
I hope this helped.
Have a nice day.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can Deform Mesh shrink as well as stretch? davelloyd 1 3 12-09-2024, 11:16 AM
Last Post: _Aka_
  Method of scattering objects along spline joebain 1 3 11-26-2024, 03:20 PM
Last Post: _Aka_
  Is it possible to make the face at the end of mesh? Chanon 3 6 11-14-2024, 04:38 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 5 13 10-29-2024, 10:19 AM
Last Post: _Aka_

Forum Jump: