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

Allow to use libraries and other files #10

Open
seasick opened this issue Jan 25, 2024 · 2 comments
Open

Allow to use libraries and other files #10

seasick opened this issue Jan 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@seasick
Copy link
Owner

seasick commented Jan 25, 2024

Is your feature request related to a problem? Please describe.
Currently the application has no access to libraries or other files, which could be used by OpenSCAD (e.g. fonts or vector images). This makes the application less useful then it could be.

Describe the solution you'd like
I imagine some kind of file management. If you import from Thingiverse or Printables, all available files will be downloaded and shown in a file list. The user can open files from that list - especially OpenSCAD scripts. But those scripts can access the other files too - e.g. SVG files.

  • Fonts and libraries could be managed in a similar fashion.
  • During import we could check if any known libraries are used, and download them too.
  • It should have a list of known libraries, and where to download them.
    • Users can download libraries through that list
    • Users could upload libraries
    • Users could provide an URL to a library (ZIP?)
@seasick seasick added the enhancement New feature or request label Jan 25, 2024
@seasick seasick self-assigned this Jan 27, 2024
@seasick
Copy link
Owner Author

seasick commented Jan 30, 2024

I've added support to use uploaded files like fonts, svg files or even zip files with libraries in them.
Users can drag'n'drop files, use an URL or chose from a list of predefined libraries and and fonts to download into the users project.

Still TODO:

  • is to allow to rename and move files in the file manager.
  • add imported library to address bar, for easy sharing
  • auto importing libraries
  • And there will be bugs

@seasick
Copy link
Owner Author

seasick commented Feb 1, 2024

https://seasick.github.io/openscad-web-gui/?https://www.printables.com/model/63198-stylish-plant-labels

The model uses the Round-Anything library and the Liberation Sans font. Both of them are auto-imported when the model is loaded.

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

No branches or pull requests

1 participant