algorithmic modeling for Rhino
Hi All,
I am trying to create a persistent list (that is what I think it is called but I'm not a programmer by any means) of points which I can then fine-tune individually until I've got the proper location for each. I've setup a demonstration in the attached files to make it more obvious. Here are the steps:
Now I want to be able to do this but keep the results of my adjustments. Is this actually possible?
Thanks,
Ali
Tags:
sry for my laziness :/
here is my proposal :
get hoopsnake !
1. take section points
2. convex hull
3. make kind of kmeans relaxation (lloyds) on curve with desired number of groups (num of groups = desired n-gon sides)
here are effects :
blue = convex hull of all points
red = section of mesh
white = desired polyline
initial 12 random points
after relaxation
I think that you should not care about points that are out of optimized curve... this polyline is good approximation, it takes care about all section points, not only those on convex hull curve.
convex hull area : 4990 sq cm
section curve area : 4473 sq cm
optimized pline area : 4266 sq cm
What do you guys think of this new file? I think this is working okay. I haven't figured out any other way of excluding the damaged drums from the calculation of the column centroid. But the results are okay:
I added a custom vb code I had written before to scale the contact surfaces so that the contact areas are the same between the new geometry and the mesh. You can check that out. I've also made a volume comparison. Overall, I think the volume is okay as well.
I just had a thought that maybe the criteria for whether to use a centre point could be if the centre of a circle inscribed inside the points lies within a certain tolerance from the centre of the convex hull or the curve itself. I'll investigate this as well. In the meantime, tell me what you think.
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
© 2024 Created by Scott Davidson. Powered by