Yes, morphing Surfaces and Breps will be slower, however, if we add the option to preserve structure (so for NURBS objects it does not add new control points), it gets faster: MeshMap_Thick3.gh (612.7 KB)
@DanielPiker , Hi again!
I was testing the above script (version 3) and notice that, if I input curves, the thickness doesn’t work anymore.
Would be nice if thickness could work for both breps and curves by the same component, to have a complete tool.
Could you please do a quick update, for the sake of consistency?
The ‘thickness’ value is effectively a vertical to mesh normal scaling factor. So an input point 1 unit above the XY plane ends up at 1 * thickness units away from the mesh.
It does not extrude objects - if you want to turn curves into extrusions in the mesh normal direction, you’ll need to do a vertical extrusion before connecting to the Geom input.
I was thinking, that, in the case of curves, the thickness can extrude the mapped curves based on the normals of the mesh…
The reason being that mapping the curves and extruding them might be faster to compute than extruding and mapping the geometry. Specially when there’s a lot of geometry, like this:
Flow Along Mesh could also benefit from a Rigid option, for example, in case of this hexagonal mesh, the hexagons remain planar and have the same edge lenghth but the gaps in between them change… obviously some will intersect but this is to be solved by design.
In case somebody reads this in the future and needs to do something similar.
I got something usable with a bit of manual tweaking of the target surface in FlowAlongSurface. Here’s the method I used:
-I drew a curve in 3d, with some straight segments, that follows the basic shape of the object I wish to flatten. I could then mesure the Curve’s length and the straight segments before and after the transform to verify that the scale and the proportions is preserved.
-With the dimensions gathered, I could then adjust the proportions of the target surface by percentage. If a vertical straight segment was 10 mm before and 9 mm after, I would scale up the target surface vertical dimension by 10%.