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

V3.2 #117

Merged
merged 37 commits into from
Aug 17, 2024
Merged

V3.2 #117

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
07d0542
feat: updated settings, new format
BrendanParmer Jun 21, 2024
2998e9e
feat: changes to capture attribute node
BrendanParmer Jun 21, 2024
ee2d8fa
feat: changes to menu switch node
BrendanParmer Jun 21, 2024
a62f633
feat: option to include import statements in script mode
BrendanParmer Jun 25, 2024
537e754
feat: options for included socket values, setting dimensions, and not…
BrendanParmer Jun 25, 2024
3d9c29b
style: made variable names clearer
BrendanParmer Jun 25, 2024
0e964e7
feat: node groups now set description and color tag properties
BrendanParmer Jul 17, 2024
e2315ae
feat: moved property setting closer to node tree creation
BrendanParmer Jul 17, 2024
69ce7da
feat: clean up panel creation
BrendanParmer Jul 17, 2024
eae6017
feat: add manifest file
BrendanParmer Jul 20, 2024
f904376
docs: clarify usage of filesystem permissions
BrendanParmer Jul 20, 2024
1671c62
fix: correct data type setting for capture attribute items
BrendanParmer Jul 20, 2024
ae8ea9d
Merge pull request #109 from BrendanParmer/Blender-4.2
BrendanParmer Jul 20, 2024
ebddf01
Merged 'origin/v3.2' into 'OptionsExpansion'
BrendanParmer Jul 20, 2024
c015bbf
fix: correct unavailable defaults option name
BrendanParmer Jul 20, 2024
057303e
feat: file permission explanation now included in manifest file
BrendanParmer Jul 20, 2024
1784a80
feat: addon vs script option rework
BrendanParmer Aug 3, 2024
e560f4f
feat: author and version fields
BrendanParmer Aug 3, 2024
ead5f94
feat: more bl_info fields, option for menu location
BrendanParmer Aug 3, 2024
fbcf139
feat: error checking on menu type
BrendanParmer Aug 3, 2024
e97aad7
fix: throw warning if image data is invalid
BrendanParmer Aug 3, 2024
f966929
Merge pull request #110 from BrendanParmer/OptionsExpansion
BrendanParmer Aug 3, 2024
31e44bc
feat: create manifest, fix typo
BrendanParmer Aug 3, 2024
8fda601
fix: don't try to load invalid images
BrendanParmer Aug 3, 2024
5746db7
Merge pull request #116 from BrendanParmer/ManifestCreation
BrendanParmer Aug 3, 2024
5967bf7
docs: update logo and readme
BrendanParmer Aug 4, 2024
b6775c6
docs: add disclaimer to README
BrendanParmer Aug 10, 2024
502d104
Merge branch 'main' into v3.2
BrendanParmer Aug 10, 2024
94387b7
feat: if no description is specified, use the name
BrendanParmer Aug 10, 2024
1ae5be0
fix: issues with color balance node
BrendanParmer Aug 10, 2024
ddd07a5
fix: warn when encountering invalid node tree in dfs
BrendanParmer Aug 10, 2024
e7b17ba
docs: update README
BrendanParmer Aug 10, 2024
8ddfa08
fix: wrong quotation marks in some license texts
BrendanParmer Aug 10, 2024
7cecbb7
feat: include license with packaged addon
BrendanParmer Aug 11, 2024
926ac54
fix: use author and not addon name in licenses
BrendanParmer Aug 11, 2024
88e5205
refactor: put src in nodetopython, add tools to this repo
BrendanParmer Aug 17, 2024
ca1cd6e
feat: license creation now optional
BrendanParmer Aug 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Node to Python

![Node To Python Logo](./img/ntp.jpg "Node To Python Logo")
![Node To Python Logo](./img/logo.png "Node To Python Logo")

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/BrendanParmer/NodeToPython)](https://github.com/BrendanParmer/NodeToPython/releases) [![GitHub](https://img.shields.io/github/license/BrendanParmer/NodeToPython)](https://github.com/BrendanParmer/NodeToPython/blob/main/LICENSE) ![](https://visitor-badge.laobi.icu/badge?page_id=BrendanParmer.NodeToPython) ![](https://img.shields.io/github/downloads/BrendanParmer/NodeToPython/total.svg)

Expand All @@ -15,7 +15,7 @@ Blender's node-based editors are powerful, yet accessible tools, and I wanted to
* interfacing with other parts of the software or properties of an object

## Supported Versions
NodeToPython v3.1 is supported for Blender 3.0 - 4.1 on Windows, macOS, and Linux.
NodeToPython v3.2 is supported for Blender 3.0 - 4.2 on Windows, macOS, and Linux.

## Installation
1. Download the `NodeToPython.zip` file from the [latest release](https://github.com/BrendanParmer/NodeToPython/releases)
Expand All @@ -26,30 +26,28 @@ NodeToPython v3.1 is supported for Blender 3.0 - 4.1 on Windows, macOS, and Linu
## Usage
Once you've installed the add-on, you'll see a new tab in any Node Editor's sidebar. You can open this with keyboard shortcut `N` when focused in the Node Editor.

In the tab, there's panels to create add-ons for Geometry Nodes and Materials, each with a drop-down menu.
In the tab, there are panels to create add-ons for Geometry Nodes, Materials, and Compositing Nodes, each with a drop-down menu. You can set options in the options tab.

![Add-on Location](./img/location.png "Add-on Location")
![Add-on Location](./img/NodeToPython_Location.png "Add-on Location")

Select the node group you want code for, and you'll be prompted with a **Script** or **Add-on** option.
In the options panel, select either **Script** or **Add-on**.
* **Script** mode creates a function that generates the node tree and copies it to your Blender clipboard.
* Doesn't include `import bpy` line
* To keep NodeToPython cross-platform and independent of third-party libraries, to get it into your system clipboard you need to paste into the Blender text editor and recopy it currently
* **Add-on** mode generates a zip file for you in the save directory specified in the NodeToPython menu. From here, you can install it like a regular add-on. The generated add-on comes complete with operator registration and creating a modifier/material for the node tree to be used in.
* The current default operator install location is in the Object menu
* **Add-on** mode generates a zip file for you in the save directory specified in the NodeToPython menu. From here, you can install it like a regular add-on. The generated add-on comes complete with operator registration and creating a modifier/material/scene for the node tree to be used in.
* When exporting to an add-on in Blender 4.2 or higher, you'll need to select a GPL-compliant liscense for Blender to be able to register the extension.

## Bug Reports and Suggestions

When submitting an issue, please include

* Your version of Blender
* Your version of Blender (3.0 - 4.2)
* Your operating system
* Steps to reproduce the issue or a description of what you were trying to accomplish. Providing a test blend file is especially helpful

Got suggestions? Please create an [issue](https://github.com/BrendanParmer/NodeToPython/issues)! I'm happy to hear what features people want


## Legal Disclaimer
**Important Notice:**

**Important Notice:**

This tool is provided under the MIT license and is intended for lawful use only. It is your responsibility to ensure that any use of this tool complies with all applicable laws, including but not limited to copyright and intellectual property laws. The authors of this tool are not liable for any illegal use of this tool or any legal consequences that may arise from such use.

Expand Down
Binary file added docs/img/NodeToPython_Location.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/location.png
Binary file not shown.
Binary file added docs/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/ntp.jpg
Binary file not shown.
Loading