Project line on to a layer
-
hello @makter3
there are a few options, but no perfect automated solution.
-
if your splines is parametric (editable, i.e. you can drag the control points to modify the spline), you can move them to the muscle surface and observe how the spine changes. Even if all control points are on the muscle surface, the spline could potentially intersect the muscle. Moving individual controls can locally change the tangent and help.
-
you can do the above, but using a slightly offset surface from the original muscle. To create an offset surface you can use a) the Mesh Tools -> Reconstruct Hull tool, or b) the Mesh Tools -> Mesh Doctor -> Reconstruct tool. In both cases, you can specify an offset. The first, i.e. "Reconstruct Hull" can merge multiple solids - for ViP models I would suggest to use a Tolerance of >= 1, since smaller values create extremely fine voxels (slower/requires more memory).
-
using the offset surface, you could also define a valid vs forbidden region, which could be used in the IMSAFE tool to create random variations of the base spline, which don't intersect the Muscle tissue. This is probably the most difficult option, especially if you are not familiar with the IMSAFE tool.
-