Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Get Spliens from PIPES

  • Get Spliens from PIPES

    Posted by Marco Nutella on January 13, 2020 at 4:53 pm

    Hi there,
    I’d like to know if it is possible to get splines from a complex pipes mesh wich is actually a veins and arteries system from an anatomy model.

    What I’d like to get is the central spline from each vein.

    I attach image to explain myself better, THANKS!!!

    Marc

    Marco Nutella replied 6 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Steve Bentley

    January 14, 2020 at 2:00 am

    I assume that’s just geometry and not parametrics to the veins etc? If that’s the case then I’m afraid its all hard work. You can use the snapping tool to draw splines that stick to vertexes along the vein’s path and then offset them (of super accuracy is needed for a centrally located spline in the middle of the vein).
    If the vertex data is organized ( such that as you go down through the list of vertexes and you get clusters of each “ring” of vertexes that make up the vein tube). You could write some code to step through those clusters and find the average of the positions of all the points in each ring cluster and then place a new vertex at the middle average and then join all the new vertexes up.

    There’s an outside chance that if you scale each vein they may scale to a smaller diameter only. That would let you match to vertexes located centrally to the vein tube, but this is a very outside chance.

  • Marco Nutella

    January 14, 2020 at 10:37 am

    Thank you very much Steve!
    I’ll try to do your first option!!

    Marc

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy