algorithmic modeling for Rhino
Hello!
I'm trying to populate a interpolating curve on a surface. It has some basic parameters like thickness and height but also how many curves that shall be populated and how many waves shall be done.
The algorithm begins with a surface which is divided into points. These points are made for creating the interpolating curve in a later step. By translating the points into a new coordinate system (made up by a surface surrounding the first surface) the points can be rotated when placed in the coordinate system made by the surface we want to populate the points (and finally the curves) on.
Before placing the points on the target surface, the target is evaluated so the thickness of the wave will be the same throughout the population. A ratio is made between each step of the wave to compensate for the size difference and each point is then moved to create a parallel curve which is used to create the thickness.
Now the points are translated to the target surface and a curve on surface is drawn trough the points and these curves are used to make a loft. The target surface is also offset to create a duplicate of the loft. The borders of the loft is lofted with the offseted loft trying to make it a solid. Why rail isn't used is because is does not make the profile twist in the axial direction.
Now to the problems
First of all, the thickness it totally out of shape. It do keep some waves in the same thickness or at least on a some places. How could I do to this better?
Second, the lofting between the lofts does work that well and I have no clue why...
Third and maybe most important; I want the curves to be distributed perpendicular to the surface centerline. But at the same time I want target surfaces which are sharing the same contour to be distributed together so the high and lows of the wave meet. You can see the perp lines in the picture below.
I'm glad for any help I can get as this is getting on my nerves... I'm not even sure this is the right approach to the problem.
Thank you!
//Oliver
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by