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

Instruction to run it and a bug to export #3

Open
Toasterme opened this issue Dec 19, 2024 · 1 comment
Open

Instruction to run it and a bug to export #3

Toasterme opened this issue Dec 19, 2024 · 1 comment

Comments

@Toasterme
Copy link

Toasterme commented Dec 19, 2024

I did
pip install -r requirements.txt
python -m streamlit run gridfinity_calculator.py

it will say:
You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://your_external_ip:8501

Or you can just go to https://gridfinity-calculator.streamlit.app/

Bug i now have with the online version or mine, is the .scad is opening with OpenSCAD but with errors :
OpenSCAD_Code_5x6_(10.5mm_Left,_2.5mm_Bottom) (1).scad'.
WARNING: Can't open include file 'gridfinity-rebuilt-baseplate.scad'.
Compiling design (CSG Tree generation)...
WARNING: Ignoring unknown module 'gridfinityBaseplate' in file OpenSCAD_Code_5x6_(10.5mm_Left,_2.5mm_Bottom) (1).scad, line 15

There is no file named gridfinity-rebuilt-baseplate.scad

more baseplate.scad.j2
include <gridfinity-rebuilt-baseplate.scad>;

@Toasterme Toasterme changed the title Instruction to run it Instruction to run it and a bug to export Dec 19, 2024
@redRock14
Copy link
Contributor

This is an issue with the way you have openScad configured. In order to render the scad files generated you must have Gridfinity Rebuilt in OpenScad project installed in the proper libraries folder for your openScad instance in your OS.

Look for https://github.com/kennetek/gridfinity-rebuilt-openscad and install that as a module in your OpenScad instance.

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