LCInterlocking icon indicating copy to clipboard operation
LCInterlocking copied to clipboard

Export problem : some parts are not correctly oriented

Open NicoPy opened this issue 2 years ago • 4 comments

Hi,

Some parts of my simple design are not exported correctly (with the correct orientation).

Here is my design : image

Here is the output of the "Export" command : image

Why are the 2 tubes not exported with the same orientation than the other part ?

NicoPy avatar Mar 03 '23 23:03 NicoPy

Here is my design : Molette.zip

NicoPy avatar Mar 03 '23 23:03 NicoPy

I've found the answer to my question but no solution.

The answer is in the source code : The extension uses the face with the largest area as a reference. In my case, the external face of the tube is the largest one. Changing the inner radius of a tube solves the problem. In the following picture, face A is larger than face B but smaller than face C. image

This does not solve my problem since changing the inner radius of the tubes is not what I want. The only solution is to make tubes thinner just for the export (and revert once done). This trick is manageable with this very simple design but can't be applied with many other designs.

Any idea for a better algorithm (not using largest face as reference) ?

NicoPy avatar Mar 04 '23 13:03 NicoPy

Any idea for a better algorithm (not using largest face as reference) ?

use a user-selected face - maybe auto-suggest one... all other magic automation will not work in some scenarios...

s-light avatar Aug 18 '23 08:08 s-light

Yes, I think you are right.

NicoPy avatar Aug 18 '23 09:08 NicoPy