I wish I could help but I am having the same problem. I used to be able to bake the mapping with the mesh but it doesn’t work in Nov 2024. I’ll come back if I find a solution
Hi @Jussi_Aaltonen
I’m trying to apply box mapping to a whole series of BREPs.
The Rhino 9 WIP box mapping is not working unfortunately and Human still has the baking issue.
Are you please able to post a modified version of your script at
that would apply box mapping to a BREP, using a box input to base the mapping on, by any chance ? Thankyou a million !
Yes - I’ve got the same issues Jakub - I seem to be able to box map the surface parallel to the WCS accurately, but the mapping of the sides is stretched out randomly no matter what I do.
The baking I was referring to Jussi was baking out a mesh after Human has applied UV mapping in a script. Human previews a UV box map fine from within Grasshopper, but when baked out this is stretched to one tile per face, which is unusable.
Hi Jussi
Here’s the script trying to apply box mapping of either an image texture or checker pattern to any reference geometry (try a simple box).
It uses either the reference box method, or can calculate the UVW rotation from the WCS.
None seem to work once the object is not orthogonal to the WCS.
/c