• Stars
    star
    152
  • Rank 244,685 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created about 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A scripting API for Blender's Geometry Nodes

Geometry Script wordmark

A scripting API for Blender's Geometry Nodes:

from geometry_script import *

@tree("Repeat Grid")
def repeat_grid(geometry: Geometry, width: Int, height: Int):
    g = grid(
        size_x=width, size_y=height,
        vertices_x=width, vertices_y=height
    ).mesh.mesh_to_points()
    return g.instance_on_points(instance=geometry)

Generated node tree

Installation

  1. Download the source code
  2. Open Blender > Preferences > Add-ons
  3. Choose Install... and select the downloaded ZIP file

Or you can get it from the Blender Market.

What is Geometry Script?

Geometry Script is a robust yet easy to use Python API for creating Geometry Nodes with code.

At a certain point, Geometry Node trees become unmanagably large. Creating node trees in Python enables quicker editing and reorganization of large, complex trees.

Geometry Script has all of the performance and capabilities of Geometry Nodes, but in a more managable format. The scripts are converted directly to Geometry Node trees making them easy to tweak for others unfamiliar with scripting.

Documentation

Read the documentation for more information on installation, syntax, and tutorials.

More Repositories

1

dream-textures

Stable Diffusion built-in to Blender
Python
6,889
star
2

reddit-swiftui

A cross-platform Reddit client built in SwiftUI
Swift
1,220
star
3

awesome-result-builders

A list of cool DSLs made with Swift 5.4’s @resultBuilder
977
star
4

swift-request

Declarative HTTP networking, designed for SwiftUI
Swift
717
star
5

CardKit

iOS 11 cards in Swift
Swift
50
star
6

AttributedStringBuilder

A DSL for creating NSAttributedStrings
Swift
23
star
7

router

Type-safe routing in SwiftUI
Swift
22
star
8

FrameworkInspector

View the internals of a Swift framework
Swift
19
star
9

drag-and-drop

Simple drag and drop for SwiftUI
Swift
16
star
10

griddle

A word game created with Tokamak
Swift
16
star
11

swift-css

A simple CSS DSL using @functionBuilder
Swift
14
star
12

state-machine

Dead simple state machines in Swift
Swift
12
star
13

status-color-meter

Digital Color Meter for the menu bar
Swift
9
star
14

swiftwebui-router

A simple Router for SwiftWebUI
Swift
9
star
15

dock-term

A terminal for your dock.
Swift
8
star
16

pebble-googleassistant

Run the Google Assistant on Pebble
JavaScript
7
star
17

rebble-ios

An alternative Pebble app for iPhone
Swift
6
star
18

swiftwebui-scripts

Tools for working with SwiftWebUI & SwiftWASM
JavaScript
6
star
19

any-codable

Encode/Decode Array<Codable> with ease.
Swift
5
star
20

rebble-icons

Icons for RebbleOS
4
star
21

require

Never write a long guard statement again
Swift
4
star
22

TokamakDocs

Swift
3
star
23

collection

A SwiftUI UICollectionView implementation
Swift
3
star
24

playground-books

Swift
1
star
25

Knob

Knob control implemented as UIControl subclass in Swift
Swift
1
star
26

TerminalTerraria

A Terraria clone for the terminal. All credit goes to Re-Logic for the original game.
1
star
27

pebble-dictation

JavaScript
1
star
28

codable-db

Swift
1
star
29

ctkrocks.github.io

My github.io site
CSS
1
star