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

Feature autoloader #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

muvox
Copy link

@muvox muvox commented Dec 19, 2022

We had a brief discussion via reddit about the autoloader. This is the first revision I've come up with.

With --config example it'll generate a config file to configs folder using the generate_configuration.py. Without config it'll use the default run_config.json.

I have not tested overrides or save path params cuz I haven't the time to fiddle with everything. Please give it a go and see if this is something everyone could use.

@muvox
Copy link
Author

muvox commented Dec 22, 2022

From what I've been testing, both solid and cadquery generates models nicely. Only pitfall i've come across is that if you're using WSL like me and generate the scad file with imports (i.e. hotswap sockets) they will point to a linux-like path like /mnt/c/whatever/hotswap.stl. This can easily be fixed by finding and replacing all the imports to windows form. Generated step files on the otherhand will have the imports correctly. I'm assuming that the script that generates the step file also reads the data of the imported files and the generated result doesn't have imports.

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

Successfully merging this pull request may close these issues.

1 participant