algorithmic modeling for Rhino
Tags:
Could you post a few of your mesh grids?
We need to know the topology of the original mesh to help, that is, knowing the order of points, the order of topological points... could upload the 3dm?
I think the general problem is to retopologize the mesh. At the moment the vertices are not really sorted and sort points did not do the job. Please feel free to try it out, the file is attached.
As a general question, is there any plugin or use object that helps to retopo a mesh?
Well, check this definition to see if it works with other meshes (must be regular quad meshes).
Another similar but better method. It should work, except with meshes with excessive curvature.
As you say, if the mesh forms a more curved shape like a cylinder, this method wont work properly. Another problem is that the order of the corners might change from mesh to mesh.
What my script does is, assuming the faces are all oriented the same way (if not, use the Mesh Direction component), find the next connected face to the right, add a vertex, continue until no more faces to the right, find next connected face down from the first face of the row, repeat until no more faces left.
This seems to work. If it doesn't for some meshes, use a component from Kangaroo called Mesh Direction before connecting the meshes to the scripting component.
The code is not very clean.
Hi Vicente, this is an amazing script! the only thing is I cant use it for a three sided mesh :( it only works for four sides. Is it possible for you to edit it so it works for three sides please!
Thank you!
I don't really remember what this is about but I will do it for 10,000 euros.
fantastic! All you guys version work! Thank you!
@Daniel Gonzalez: your version worked as well but you had interpolate points on that is why it looked a bit different, but without it works great!
@Vincente Soler: I don't know C but the code works exactly how I want it to. Taking into account the topology of the input meshes automatically is perfect!
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