Here is a script used to thicken a network of lines which could have a normal direction at each node.
It is similar in function to Cytoskeleton. It is an extension of this tool discussion.
It output mainly quads and sometimes triangles if some lines are not connected. As half sections are quite whatever you want it could be possible to make watertigh model with some smooth exterior and with interiors fins in order to have a better rigidity and a low weight. The script provided contains many examples of use.
As inputs
Necessary
* Points (P)
* Connection between points (LP)
* Point to points connection (PP)
* and a minimum one width (WidtsAtPoint), or a width (radius) for each point.
Optional
* NormalsAtPoint, you could provide one normal per point in order to orient sections
* Number of sections is the number of sections used to generate the mesh (minimum 2)
* Striction a numeric value between -3. and 3 used to modify striction of nodes
* The sections definitions is given through to same size list of double
* Lateral coordinates : first and last lateral coodinate must be 0.0 for watertight mesh
* Height coordinates
Output :
* Many meshes which could be joined
P/LP/PP comes from topology of network, you could use SandBoxTopology plugin or mine component
Nik Willmore
I hope to see many more examples posted. Cross section control is epic. It looks so esoteric though, as I don't understand the trick, what it really does. Are there cells? Many questions.
May 7, 2016
Kim hauer
Hi Laurent, WOW! there is a lot of stuff here to absorb. :) I'm exploring your scripts one by one.
Regarding the first WIP script. I have 2 questions:
1. Is it possible to thicken the Sphere, which contains "Arc-like curves" ?
2. What causes the thickened Box not to connect correctly?
May 8, 2016
Nik Willmore
Mesh Dual isn't in my numerous plug-ins, second from the top left:
May 8, 2016