-
Notifications
You must be signed in to change notification settings - Fork 233
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 node menu refactoring and some new features #4703
Conversation
…ry panel, show poll message for nodes with missing dependencies
So python-yaml is now a required dependency for sverchok? Can we work without it? |
No need for dependencies. I made primitive parser for the file. |
…eir documentation and icons
# Conflicts: # dependencies.py
…t use bl_icon if no need in icon)
@vicdoval @Moult @mostaphaRoudsari @wassimj After the PR the API of adding new categories to Sverchok's Add Node menu will be changed. Also it can lead to some problems in imports. It will be possible to add new categories in this way: import sverchok.ui.nodeview_space_menu as sm
sm.add_node_menu.append_from_config(config)
def register():
sm.add_node_menu.register() The format of config structure -
Menu item can be one of next elements:
Options have such format - Categories can have next options:
Operators options:
Custom menus options:
The example of format can be found in the |
Two questions:
|
|
|
I guess add-on settings should obtain properties which should be set once after add-on installation. It seemed to me that at least I will have a look at spaces and content of the tooltips. @wassimj |
I kindly need help making topologic compatible with sverchok 1.2. The current init file is at (https://github.com/wassimj/TopologicSverchok/blob/main/__init__.py). Would someone from the sverchok team be willing to suggest how to edit it with examples so it does not break the way it imports 3rd party libraries? Thank you. |
@wassimj I will have a look. |
Addressed problem description
New features:
Fixes #4700
Closes #3410
Preflight checklist