I need to deal with a problem of component size adjustable by user. In this project user will be creating pipeline model out of models exported from Blender (using exporting add-on). The library consists of various L, X, T,… shaped components (these are not to be scaled) which connects pipes with various diameter (these I need to adjust). I cannot scale the whole pipe because that would damage the look of flanges at both ends of the pipe.
In my opinion, the most elegant way would be somehow scale just the middle part of a mesh, but I don’t know if that’s possible.
The other way I was thinking about is to split pipe in library into 3pcs (flange in, middle part, flange out). Then I would scale middle part into desired length and I would connect all parts by method Mesh.MergeMeshes(arrayOfMeshes,…).
But is there any better way how to achieve desired behaviour?
Thanks in advance!