Unwrapping and UV editing
All the commands that are related to editing and generating the texture coordinates (or UVs) of a given mesh, surface or subD. Botcha offers you a fully fledged UV editor that allow you to quickly edit the texture coordinates of the objects you create.
The panel will allow you to edit, pin, unwrap and layout the texture coordinates for the objects. All the commands listed here are accessible via the UV editor panel.
Unwraps the selected object i.e. will generate a 2D version of the object or a parametrization. This 2D version will then be stored within the object as a texture mapping channel (the default one). The generation will use the ARAP algorithm trying to minimize the stretch of the surface or mesh selected.
When you unwrap an object you should take care that it is properly cut so that the generated texture coordinates will not overlap.
- Steps: number of iteration of the algorithm to perform, the higher the more the mesh will be relaxed. After a certain threshold the iteration will not affect the output 2D parametrization as convergence has been reached.
- UVSize: Size of the 2D canvas connected to the texture. If you are measuring materials this should match the size of your measurement. The texture coordinates will be scaled to match the size that you give.
Layout the texture coordinate islands of the selected objects in UV space. This command will layout in the best way possible the given objects within the UV space. This mean that it will try to nest them so that they do not overlap each other and they are properly spread with a certain amount of padding. With the parameters you can control how much the island will be spaced out.
- ImageSize: Target image size for the layout operation. This will influence how far away the island will be placed. The size is expected in pixels.
- Padding: Distance between two adjacent islands during the layout in pixel.
If the space for the layout is not enough the UV charts will expand out of the UV space until they all fit.
Scale the canvas and the UVs to the given size. This will influence the live unwrapping operations and all the re-unwraps as the new canvas size will be used to infer the dimension of the texture coordinates. We use this important concept of canvas size to ground into reality the application of texture coordinates. If you have a texture that represents a flat area of 500x500 mm and you digitize that, then the matching canvas size should be the same as the actual size.
If you use consistently this then the application of the material will match 1:1 your model.
Adds to the model the 2D UV mesh of the selected objects. This can be particularly useful if you want to have a flattened version of your mesh/surface. The same metric of the UV editor will be used so to match the model proportions.
Used in combination with the grasshopper component this can allow you to map objects from the flattened version to the 3D version of your surfaces.
Transfers the UVs coordinates from a source mesh or surface to one or more destination meshes or surfaces. This command is useful when you have many overlapping pieces of the same 3D object and you want the texture to be continuous on their surface. It is possible to choose the prefered transfer method.
- Distance based: Starting from every point of the destination mesh, it copies and applies the UVs found on the closest point of the source mesh. If it does not find any point within a maximum distance chosen from the user, it leaves the UVs unchanged.
- Ray casting: The strategy is similar to the previous, but a ray along the normal direction of the destination mesh is used to find the corresponding point on the source mesh and copy its UVs. The maximum distance criterium holds even in this case.
- Topology based: If the source and the destination meshes have the same topology, this mode allows you to simply copy the UVs from a vertex on the source to the matching one on the destination. This is useful if you have a mesh and its unwrapped one and once you change the first UVs coordinates you want the other one to change consistently. If the meshes do not share the topology, but have an equal number of vertices, the UVs are transfered anyway, but the result might be not exactly as expected. If the meshes do not share the number of vertices either, then the transfering is impossible and the user will be informed about it.
UVs transfered by ray casting. A mesh UVs transfered on its unwrapped one, which has the same topology.
Chosen a square and one or more meshes or surfaces, it makes the UVs canvas view fit the view inside the square. This is possible changing the UVs of the selected meshes so that they fit the exact position on the canvas. The result is a "portrait" of the planar view.
If the curve selected as frame is not a square, the smallest square containing its bounding box will be taken as frame.