-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Functions can be hard to pull out and visually are a block #71
Comments
A selection of text characters/symbols would be cool, but I was thinking more about allowing the user to create their own icon which would be expressive of what the function does. GraphSCAD had a bunch for its various custom functions, some of which worked well, while others were a bit inscrutable. The challenging thing here of course is allowing the user reasonable creativity while guiding them into a result which will look well with the balance of the interface. Probably it will be necessary to allow a textual label in addition to the graphical representation, which seems redundant, but folks accept labeling of files and so forth. |
Something like this could do it. I still need to figure out where to store the custom icons, ideally they would be embedded in the |
Ah, hadn't considered the file | embedding / missing resource aspect. Square makes sense, and having an available list to pick from would be a great thing, even if folks only used them as placeholders. One potential source would be: |
Extending this later to key into a function library that people could contribute to, package the icon, function definition and description. People could then contribute functionality that is dropable. Consider supporting bundles that allow people to parcel together sets of functions to form libraries that could be installed in one piece. |
Yes, funny enough the same thought crossed my mind yesterday when I realized that the editor can consume text based libraries but right now has no way to make or consume libraries made directly in the editor. Of couse you can still export them as SCAD and consume them this way but the icons will not survive an export to SCAD (unless I do something ridiculous like embedding them base64-encoded into the exported file which will make it utterly unreadable). I'll put that on the list. Thanks! |
Create room at the top for the icon? Increase the overall width? |
Would it be possible to add an option for adding an icon/pictogram to user-defined functions?
The text was updated successfully, but these errors were encountered: