Giter Site home page Giter Site logo

node_pie's Introduction

Node Pie

Node Pie is a Blender addon that converts the usual blender add node menu into a pie menu:

Node.Pie.demo_optimised.mp4

As well as that, the size of the buttons will change depending on how frequently you use each node; nodes you use a lot will have larger buttons, and nodes you don't use much will have smaller buttons:



It also works in all Blender Node editors, and even in custom node editors created by python addons:

Installation

You can install Node Pie by downloading this repostory as a zip file, and then installing it like any other addon.

node_pie's People

Contributors

strike-digital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

node_pie's Issues

Reroute dot node causes error messages coming up.

Hi,

  • with just a cube in the scene, when in shader, geometry, compositor node editors without anything in it and dial the node pie you get a message. If a new material or use nodes is clicked node pie works fine.

  • in shader, geometry, compositor node editors maybe some nodes or nodegroups make trouble & some are not.
    I'm not able to figure it out completely what is wrong there. But you also get a message.

At least I found out that the 'Reroute' node (dot) is causing trouble. see images

  • this happens with blender 3.1 up to 3.6.1 & 4.0alpha + node pie 1.2.16

Screenshot 2023-07-13 at 12 49 53 pm
Screenshot 2023-07-13 at 12 50 26 pm
Screenshot 2023-07-13 at 12 50 54 pm

Screenshot 2023-07-13 at 1 22 17 pm
Screenshot 2023-07-13 at 1 22 58 pm

Shortcut change does not stick

I change shortcut under your addon options. It works fine. I close Blender. When I run Blender next time the shortcut has reverted to the default of Ctrl Left Mouse.

An excellent plugin

Hairline a bug Not sure if it's a blender problem.

2023-06-27_18-40

At the same time, there is a suggestion, can it be adapted to the small screen computer?

2023-06-27_18-44

Overflow makes some nodes inaccessible

i just noticed some of the nodes are not visible on the screen, so i cannot access them.
The bottom of the Rotation category for instance:
image
And if have many custom node groups then they dont fit either and push the Vector category completely off the screen.
There are many different kinds of solution to the problem, im just reporting the issue :)

3.5.0 Beta issue

with blender 3.5.0 Beta
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\node_pie\node_pie\npie_prefs.py", line 87, in draw
row.active = kmi.active
AttributeError: 'NoneType' object has no attribute 'active'

Bug feedback

image

After installing the latest version, an error is reported, I don't know what the reason is

There is a little bug with localization

Almost all words are localized for these languages in blender, and there is a little bug in node pie that just some words are translated automatically
image
image
So I think maybe when the inference selection is true, "texture" and “bsdf” dont remove, and use
bpy.app.translations.pgettext(text)
to translate. This is just my rough understanding of blender API
image

Fix Language Inversion Issue in Node Pie Menu for Blender

Issue Description:
In the Node Pie add-on for Blender, there is an issue where menu items are displayed in Russian while tooltips remain in English. This is contrary to the user's language settings in Blender, where the interface language is set to English and tooltips are set to Russian. This inversion disrupts the user experience by providing inconsistent language usage across the interface.

Expected Behavior:
Menu items and tooltips should adhere to the Blender language settings:

  • If the interface language is set to English, the menu items should also be in English.
  • If tooltips are set to Russian, then tooltips should appear in Russian.

Current Behavior:

  • Menu items are displayed in Russian despite the interface language being set to English.
  • Tooltips are displayed in English despite the tooltip language setting being Russian.

Steps to Reproduce:

  1. Set Blender interface language to English.
  2. Set Blender tooltips to Russian.
  3. Open Node Pie menu.
  4. Observe that the menu items are in Russian and tooltips are in English.

Suggested Solution:
Investigate the implementation of language settings within the Node Pie plugin. It might be necessary to adjust how language configurations are applied to menu items and tooltips. Consider utilizing Blender's native language support mechanisms or ensure that the add-on correctly queries and applies language settings.

Screenshots:
Attached screenshots showing the language discrepancy in the Node Pie menu.
issue_lang_inverted

Additional Information:

  • Blender Version: 4.0
  • Node Pie Version: 1.2.29
  • Operating System: Windows 10 Home ed. 22H2

Impact:
Resolving this issue will improve the usability of the Node Pie add-on for non-English speakers and ensure a consistent user experience in multilingual environments.

Conclusion:
Thank you for considering this issue. I am looking forward to your feedback and am willing to assist with testing any fixes or providing further information if required.

Node pie 1.2.8 Shortcut issue

Hi,

In the previous version, I was able to assign a custom shortcut from Blender's Key map preferences. It seems in the latest 1.2.8 I'm not able to assign it anymore.

Changing the existing shortcut in the add-on preferences, or creating a new one, has no effect.

Is there a workaround?

Thanks

error

when there is a socket that not connected to any node, bring up the pie menu gives error message.
2023-07-12 20_55_00-Blender

Not working on macOS - (FileNotFoundError)

Hi,

I'm on macOS 12.5.1 and blender 3.1 to 3.4.
I get the following error message in all versions and see only the center circle from the pie menu & nothing else.
Also I instal add-ons via Target Path -> Preferences.
Screen Shot 2022-08-25 at 3 13 53 am

Screen Shot 2022-08-25 at 3 17 08 am

The thing is there is no such nodes.json file in this folder, on this git page and its download. Nor is it in the blender dir.

Python: Traceback (most recent call last):
File "/Applications/BLENDER/ADDONS etc/addons/node_pie-main/node_pie/npie_ui.py", line 109, in draw
node_count_data = get_all_node_data()["node_trees"].get(tree_type, {})
File "/Applications/BLENDER/ADDONS etc/addons/node_pie-main/node_pie/npie_ui.py", line 13, in get_all_node_data
with open(Path(file).parent / "nodes.json", "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/BLENDER/ADDONS etc/addons/node_pie-main/node_pie/nodes.json'

Thanks in advance

SG

socket intelligence

when using socket drag, would it be possible to automagically filter the nodes that are shown to be only those compatible with the output socket i drag from. for instance, only show nodes here that have at least one input socket that accepts a Mesh type input:
image
basically remove the clutter by having a fluid UI that excludes invalid nodes that could not be used for sure / that are not relevant at all for the connection to be made.
this feature would be not just very useful, but create a sense of awe :)

Errors & not saving with version 1.2.3 & 1.2.4 $ 1.2.5 on macos 13

Hi,

just tried version 1.2.4 and got the following errors and then tried version 1.2.3 with the same result + not saving the shortcut keys changed in preferences for both.

Then I went back to 1.2.2 and having No errors,
But the saving of the shortcut keys also fails.

Blender 3.5
System

Screenshot 2022-11-08 at 4 03 56 pm

Screenshot 2022-11-08 at 4 04 41 pm

Screenshot 2022-11-08 at 3 59 47 pm
Screenshot 2022-11-08 at 4 00 09 pm
Screenshot 2022-11-08 at 4 03 01 pm
Screenshot 2022-11-08 at 4 08 51 pm
Screenshot 2022-11-08 at 4 09 15 pm

It errors after update 1.2.16

Blender3.6.1

(3.0 is the path of addon not the blender version. I use 3.6)

Traceback (most recent call last):
  File "G:\blender\36\3.6\scripts\modules\addon_utils.py", line 333, in enable
    mod = __import__(module_name)
  File "G:\blenderplus\3.0\addons\node_pie\__init__.py", line 28, in <module>
    auto_load.init()
  File "G:\blenderplus\3.0\addons\node_pie\auto_load.py", line 24, in init
    modules = get_all_submodules(Path(__file__).parent)
  File "G:\blenderplus\3.0\addons\node_pie\auto_load.py", line 62, in get_all_submodules
    return list(iter_submodules(directory, directory.name))
  File "G:\blenderplus\3.0\addons\node_pie\auto_load.py", line 67, in iter_submodules
    yield importlib.import_module("." + name, package_name)
  File "G:\blender\36\3.6\python\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "G:\blenderplus\3.0\addons\node_pie\node_pie\npie_operators.py", line 12, in <module>
    from .npie_helpers import BOperator, get_all_def_files
ImportError: cannot import name 'BOperator' from 'node_pie.node_pie.npie_helpers' (G:\blenderplus\3.0\addons\node_pie\node_pie\npie_helpers.py)

Blender 4.1 Support / Only Working With Shader Editor / Category Color

Hello, I can't seem to get the pie menu to pop up in any other editor than the shader editor. Is it working in 4.1 for for anyone else?

I was also hoping it would be possible to add dedicated color/theme entries to the addon since most of the category colors are incorrect for me because I'm using a custom Blender theme. It'd be even better if these were customizable in the addon preferences.

Thanks, this addon is already better/easier on the eyes than the similar Alt Tab addon and the additional non node items like search and node groups are nice.

in Blender 4.2.1 a bug...

截圖 2024-09-05 23 07 44

I used blender 4.2.1 and pressed the shortcut key and there was an error. I don't know what's wrong.

Can't Install!

I can't install
Traceback (most recent call last):
File "/home/fidotran/FidoSoftware/Blender/3.2/scripts/modules/addon_utils.py", line 335, in enable
mod = import(module_name)
ModuleNotFoundError: No module named 'node_pie-1.0'

Socket drag add

it would be great to support using node pie from socket drag:
image

currently the Blender native add search box shows up:
image

im aware that link drag exists, but that is not the same thing
thank you for making useful stuff!

Not working with geometry nodes in blender 3.4 on MacOS 12.6

Hi,

just noticed that the last versions/builds of blender 3.4 on macOS 12.6 is not showing the Pie for Geometry nodes.
Screen Shot 2022-10-24 at 1 12 19 pm
Screen Shot 2022-10-24 at 1 15 49 pm

In blender 3.3.1 on macOS 12.6 it is working...
Screen Shot 2022-10-24 at 1 22 18 pm

Just to let you know, because blender 3.5 alpha comes on the 26 Oct. 2022 and MacOS Ventura today on the 24 Oct.

Thanks in Advance :-)

missing node and wrong color

GeometryNodeTree > Text > Join Strings should be blue, now is green
ShaderNodeTree > shader > Subsurface Scattering is missing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.