Understanding Grain Direction and Part Rotation During Nesting
Grain direction settings control whether parts are allowed to rotate during the nesting process. When properly configured, these settings tell Mozaik which parts can rotate freely for better material optimization and which parts must remain in a fixed position.
Grain Direction Hierarchy
Mozaik uses the following priority order for grain direction settings, from highest to lowest priority:
- Grain by Texture (Texture Group setting)
- Has Grain (Optimizer setting)
- Has Grain (Material Library setting)
Settings at the top of the hierarchy override settings below them.
How Grain by Texture Works
When a part is assigned a texture that belongs to a texture group with the Grain by Texture option enabled, the grain direction setting for that texture will take precedence over the general material grain setting.
How Grain Settings Control Rotation:
- If the grain direction for the texture is set to None, the part will be allowed to rotate freely during the nesting process
- If a grain direction is set to Grain or Cross-Grain, the part will NOT be allowed to rotate during nesting
This ensures that parts are arranged correctly, preventing rotation when grain consistency is important for optimal material usage and structural integrity.
Important: If Grain by Texture is enabled, you must set Grain or Cross-Grain for any texture with grain to prevent parts from rotating when nested.
Doors and Drawers
Doors and drawers can have their nesting orientation changed by checking the Horizontal Grain option in the door library.
Troubleshooting Parts That Rotate Unexpectedly
In cases where a part is rotating unexpectedly during the nesting or optimization process, it is important to verify the texture assigned to that part. Specifically, check to see if the texture belongs to a texture group that has the Grain by Texture option enabled.
If this is the case, ensure that a grain direction is explicitly selected for the texture. If no grain direction is selected, the system will permit the part to rotate freely to achieve better optimization, which might not be desirable depending on the application.
Common Issues
- Parts rotating when they shouldn't: Check if the texture has Grain by Texture enabled and verify the grain direction is set to Grain or Cross-Grain (not None)
- Doors with incorrect grain direction: Check the Horizontal Grain option in the door library