Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export problem : some parts are not correctly oriented #61

Open
NicoPy opened this issue Mar 3, 2023 · 4 comments
Open

Export problem : some parts are not correctly oriented #61

NicoPy opened this issue Mar 3, 2023 · 4 comments

Comments

@NicoPy
Copy link

NicoPy commented Mar 3, 2023

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
Copy link
Author

NicoPy commented Mar 3, 2023

Here is my design :
Molette.zip

@NicoPy
Copy link
Author

NicoPy commented Mar 4, 2023

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) ?

@s-light
Copy link

s-light commented Aug 18, 2023

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...

@NicoPy
Copy link
Author

NicoPy commented Aug 18, 2023

Yes, I think you are right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants