seasick / openscad-web-gui

Web GUI for OpenSCAD, using OpenSCAD WASM

Home Page:https://seasick.github.io/openscad-web-gui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add configurable access/display to workbench features

HumbleDeer opened this issue · comments

commented

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.

commented

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.

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?