Generate node group documentation from Blender files
Project description
databpy
Early stages at the moment, currently used for generating and building docs for Molecular Nodes
https://github.com/user-attachments/assets/5e5411df-a5e8-42e1-bd44-8f87cfbe9584
Installation
Available on PyPI, install with pip:
pip install nodepad
[!CAUTION]
bpy(Blender as a python module) is listed as an optional dependency, so that if you installnodepadinside of Blender you won’t install a redundant version ofbpy. If you are using this outside of Blender, you will need to specifically requestbpywith any of these methods:# install wtih bpy dependency pip install 'nodepad[bpy]' # install both packages pip install nodepad bpy # install with all optional dependencies pip install 'nodepad[all]'
Documenter class
Generates documentation for a bpy.types.GeometryNodeTree. The
.as_markdown() returns a markdown formatted string for a table for
inputs and outputs, as well as title and description.
import nodepad
import bpy
nodepad.utils.append_default_asset_node('Blend Hair Curves')
tree = bpy.data.node_groups['Blend Hair Curves']
tree.description = "This node group blends hair curves together"
doc = nodepad.Documenter(tree)
print(doc.as_markdown())
## Blend Hair Curves
This node group blends hair curves together
### Outputs
|Description|Socket |
|-----------|--------------------:|
| |`Geometry::Geometry` |
: {tbl-colwidths="[90, 10]"}
### Inputs
|Socket |Default|Description |
|-----------------------|:-----:|-----------------------------------------------|
|`Geometry::Geometry` |_None_ |Input Geometry (may include other than curves) |
|`Factor::Float` |1.0 |Factor to blend overall effect |
|`Blend Radius::Float` |0.05 |Radius to select neighbors for blending |
|`Blend Neighbors::Int` |10 |Amount of neighbors used for blending |
|`Preserve Length::Bool`|False |Preserve each curve's length during deformation|
: {tbl-colwidths="[10, 15, 80]"}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nodepad-0.3.0.tar.gz.
File metadata
- Download URL: nodepad-0.3.0.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb3a248d5ea0903f29d3290252058ed3c99ea9606871a9d220237828a7a7d618
|
|
| MD5 |
51f44dcf237b35543e9d69fc8364cbe8
|
|
| BLAKE2b-256 |
ce419e47a3db9e5cd5fbd25d2b65634a72cfe1a59e031b2d09d7abeae0cb0c78
|
Provenance
The following attestation bundles were made for nodepad-0.3.0.tar.gz:
Publisher:
ci-cd.yml on BradyAJohnston/nodepad
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nodepad-0.3.0.tar.gz -
Subject digest:
cb3a248d5ea0903f29d3290252058ed3c99ea9606871a9d220237828a7a7d618 - Sigstore transparency entry: 1155466192
- Sigstore integration time:
-
Permalink:
BradyAJohnston/nodepad@768fe3e1137e491dbfd0a1d5043f749df77f603a -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/BradyAJohnston
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@768fe3e1137e491dbfd0a1d5043f749df77f603a -
Trigger Event:
push
-
Statement type:
File details
Details for the file nodepad-0.3.0-py3-none-any.whl.
File metadata
- Download URL: nodepad-0.3.0-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82338657ea47b996acee5ad80514b235ba27994a40acf18cd497c9acfb715a5b
|
|
| MD5 |
b2b2c40a5f44eb95b2318996818ca345
|
|
| BLAKE2b-256 |
fe63c9545cd7e43643e5e813b42992c255a895b7c7a1003d0170cf4eace270c1
|
Provenance
The following attestation bundles were made for nodepad-0.3.0-py3-none-any.whl:
Publisher:
ci-cd.yml on BradyAJohnston/nodepad
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nodepad-0.3.0-py3-none-any.whl -
Subject digest:
82338657ea47b996acee5ad80514b235ba27994a40acf18cd497c9acfb715a5b - Sigstore transparency entry: 1155466197
- Sigstore integration time:
-
Permalink:
BradyAJohnston/nodepad@768fe3e1137e491dbfd0a1d5043f749df77f603a -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/BradyAJohnston
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@768fe3e1137e491dbfd0a1d5043f749df77f603a -
Trigger Event:
push
-
Statement type: