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

Add configurable access/display to workbench features #46

Open
HumbleDeer opened this issue May 12, 2024 · 2 comments
Open

Add configurable access/display to workbench features #46

HumbleDeer opened this issue May 12, 2024 · 2 comments

Comments

@HumbleDeer
Copy link

Is your feature request related to a problem? Please describe.

Having the ability to restrict which features or elements of the workbench are available to users could expand the possible uses of this software package.

Usage scenario:
A creator has a modifiable SCAD file that they'd like to publish with editable variables and export capability. However, they don't want to have the interface cluttered with options to load files from elsewhere, open libraries, choose fonts, and whatnot else not relevant to their model.

Describe the solution you'd like

A possible solution could be adding configurability or a configurable mode. A configurable mode could present itself as "Restricted mode" or "Single mode", or something similar that would let the user hosting the app choose what options users of the editor have access to.

Ideas for this:

  • A configuration option to enable or disable free-roaming of all features
    In which mode one could have the editor perform
    • Automatic recognition of what features are required as per the SCAD file
  • A configuration file in the same folder as a scad file hosted on the current repository, in which the hoster can specify what options to allow

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@HumbleDeer
Copy link
Author

HumbleDeer commented May 12, 2024

Inspiration & notes

What I currently had in mind, was to provide a mode that would boil things down to a set of features as simple as what this project provides: https://vector76.github.io/Web_OpenSCAD_Customizer/

This would of course be framed within the context of the seasick/openscad-web-gui editor and workbench.

@seasick
Copy link
Owner

seasick commented Jun 17, 2024

Hi @HumbleDeer, thanks for creating this issue and your interest in my project :)

What I'd like to avoid is to parse the scad file for tool-specific instructions. That being said, what do you think of having the ability to switch of certain features when creating an import/share link. Parameters in the URL would control which features should be hidden.

A quick mockup of what it could look like:

image

Would something like this fit your needs?

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