Open Collective
Open Collective
Back to conversations

Problem with grain direction

Tijmen

Posted on August 4, 2022

Dear readers,

I continue to have problems with the direction of the grain in the cutlist and the texture in Sketchup. 
Whenever I change the axes the arrow switches, which is good, but my sktechup texture in the drawing also changes, while I would like this to remain the same. See the two images attached. I tried flipping the component in all kinds of directions etc, but somehow I can't manage to get this straight.

Thanks for your help


Martin Mueller

Posted on August 5, 2022

Hi,

I suspect that you have two different materials with the same texture.
  1. The full line arrow shows the front of the part (the face with the most positive value along the blue axis) and what OCL interprets as the length. In the material properties you will find a tab called "Texture" where you can indicate the direction of the texture. A horizontal direction indicates what OCL interprets as the length.
  2. The bottom part shows the back face of a part, but the texture runs along the width.
In the picture below, I had to flip the texture by 90° so that it would match the direction of the circled arrow. Now, the highlight arrow and the texture point into the same direction.

Tijmen

Posted on August 5, 2022

Dear Martin,

Many thanks you for your quick reply. All the materials are the same. If I flip the texture the whole model switches.

The problem seems to be that the grain/arrow always follows the longest side. So the bottom piece on the image, has no issues if I change the size of the component. If I change it back to the shape it's supposed to be, the direction of the arrow changes.  If I change the direction of the arrow, the texture in Sketchup turns.

Would there be a solution for this problem?

Martin Mueller

Posted on August 5, 2022

By default OCL uses an "Automatic orientation of parts" (see Options). This option works most of the time, by using the longest dimension as length, the shortest dimension as thickness and the third as width. But sometimes parts are wider than long, but we still want the grain to run along the length.

Disable this feature and you will have full control of the axis. Edit the axis from inside the tab Axes of the Properties of Part. You can double-click the red box to have the dimensions ordered or arrange them any way you want.

If you still want to use "Automatic orientation ...", you may disable the behavior for a single part by locking the orientation of the axis after having rearranged them.

Tijmen

Posted on August 7, 2022

Dear Martin,

Thanks again for your help and explanation. With the steps you described it's possible to change the direction of the arrow, and thus the direction of the grain on the Cutlist, which is the most important of course. The only problem I keep having is with the texture in Sketchup itself. Sometimes, it does not line up with the direction of the arrow, as displayed in the first two images. I still see no way of fixing this.

Conversation followers