Grasshopper takes few minutes to perform the creation of a surface with pierced holes as well as the final extrusion, even though they are performed separately, one step at a time. Is there a way to optimize the script so that it works faster?
Wow! Computation happens at a lightning speed in your script! Thanks a lot! The script opened in a snap! I hope someday Grasshopper becomes as fast in nurbs processing.
One thing I realized now that I have to manually adjust the x and y divisions of the hexagonal grid by trial and error in order to avoid distortion of the aspect ration of the image. Any method that to calculate the aspect ratio of the image and give the resultant numbers automatically in the x and y divisions of the hexa grid?
Yeah. That’s what I was also wondering. How did you calculate the C factor here? By measuring the height to width ratio separately of a hexagon? I’ll surely try out this method and reply back.
I was going through this script again as I wanted to work on image based tesselation. One thing I cannot understand is the reparametrizing of the base surface while finding out the uvpoint.
If we don’t do reparameterization, the final developed screen has zero resemblance with the image. What exactly do we get when we reparametrize the surface calculation domain to ‘0 to 1’?
Surface parameters are most often not 0 to 1 but 0 to some arbitrary number. In your image component you have to specify the uv range. Therefore it’s easier to work with a known range (reparametrized, 0 to 1)