SplineMesher – Procedural tool to generate tube mesh along spline.
Compatibility:
• support all platforms and render pipelines.
Highlights:
• easy to use: drag and drop the script to an empty gameobject to generate spline and tube mesh;
• mesh corner correction for very sharp spline corners;
• support custom contour shape;
• different UV tile methods are offered to solve the texture stretching problem;
• adjust radius of each mesh segment by using custom displacement curve;
• grow parameter for planet growing animation;
• automatic LOD (for Bezier Curve);
• support Least-Square Cubic Bezier Curve fitting;
• support spline mesh subdivision;
• edit spline and the tube mesh manually or using your code in no matter edit mode or game mode;
• two types of spline are supported (corner and cubic bezier), and more types will be added in the future;
• tens of parameters (twist, rotate, grow, flip, cap, displacement threshold, etc.) to help you design any shape you like;
• support up to 4 billion vertices.
Bonus Content:
• mathematical functions are in separate class so you can use them outside of SplineMesher, such as: Least-Square fitting, calculate normal and tangent for each vertices of your own 3D/2D splines, and so on;
• a tree generator is included (experimental version);
• a 2D shape editor is included (for drawing custom contour shape or adding it to your own script);
• all source code is included, so you can customize it for yourself.
Original_Link: https://assetstore.unity.com/packages/tools/modeling/splinemesher-pro-177985