Commit graph

70 commits

Author SHA1 Message Date
Arrel
24d9930ce0 Enhance repeat_grid function: add spacing parameters for customizable grid spacing 2025-07-07 10:32:49 -04:00
Arrel
08c3cd5d67 Fix Repeat Grid example: improve parameter naming, add proper spacing calculation
- Rename parameters from width/height to columns/rows for clarity
- Implement proper bounding box calculation for geometry spacing
- Fix grid vertex calculation (use N+1 vertices for N cells)
- Add explanatory comments for grid sizing logic
- Fix method chaining for mesh_to_points
2025-07-07 10:32:49 -04:00
Preetham Pemmasani
96a1b293cc fix a spelling mistake
pase -> paste
2024-10-27 07:20:11 -04:00
Alfredo
6952ec507a replace dictionary used to count node input links with collections.Counter 2023-11-17 13:49:19 -05:00
Alfredo
e380e6f9db precalculate number of links to node input sockets to avoid using the 'links' property 2023-11-17 13:49:19 -05:00
Alfredo
f0d43fb92d disambiguate duplicate variable name 'node' within inner loop for readability 2023-11-17 13:49:19 -05:00
Alfredo
5cf07a1af5 rewrite topological sort, avoiding calls to the expensive 'links' property of the NodeSocket class 2023-11-17 13:49:19 -05:00
Carson Katri
8a1b4c4321 Add check for nested trees 2023-11-17 13:45:46 -05:00
Carson Katri
6c25f12729 Support Blender 3.x alongside 4.x 2023-11-17 13:45:46 -05:00
Carson Katri
56d61980ad Allow passing domain to store 2023-11-17 13:45:46 -05:00
Carson Katri
da99654edb Add repeat zone support 2023-11-15 12:55:31 -05:00
Alfredo
e3befbefc9 Migrate to NodeTree.interface API for Blender 4.0 release 2023-11-11 14:09:37 -05:00
Carson Katri
63a7516905 Refactor simulation API to use simulation_zone decorator 2023-11-11 14:04:40 -05:00
Carson Katri
467ae71ec6 Add curve support 2023-11-11 14:04:20 -05:00
Alfredo
1ffed55184 support more math dunder methods 2023-10-08 10:58:29 -04:00
Adam P
f42e0ba456 Fix some cases of node name collisions
Some compositor and texture nodes share names with the geometry nodes versions. This change sorts them so that the geometry ones are registered last, overriding the incorrect ones. The Math node is handled separately, because here the ShaderNodeMath is the correct one to use, for some reason.
2023-04-21 16:56:05 -04:00
Carson Katri
258a7c51c6 Update for Blender 3.5 release 2023-04-01 16:33:48 -04:00
Carson Katri
5fbc7d1ba0
Merge pull request #4 from carson-katri/named-outputs
Support Named Outputs
2023-02-12 11:45:21 -05:00
Carson Katri
bfe5aae3cd Fix capture 2023-02-12 11:11:03 -05:00
Carson Katri
87793fe8d1 Use isinstance for Named Attribute 2023-02-12 11:08:20 -05:00
Carson Katri
34c1eb50c8 Fix actions 2022-12-09 16:03:40 -05:00
Carson Katri
775f8fa466 Add deploy preview step 2022-12-09 16:02:30 -05:00
Carson Katri
840701d916 Document named outputs syntax 2022-12-09 15:55:32 -05:00
Carson Katri
16a11e91af Handle dict output 2022-12-09 15:51:38 -05:00
Carson Katri
7d539baf6a Bump version to 0.1.2 0.1.2 2022-12-02 19:23:48 -05:00
Carson Katri
3226766ae3 Merge branch 'main' of https://github.com/carson-katri/geometry-script 2022-12-02 19:23:34 -05:00
Carson Katri
8aba8b2e7e Keep docs and typeshed folders so files can be created 2022-12-02 19:23:10 -05:00
Carson Katri
ca32f5ddba
Bump version to 0.1.1 0.1.1 2022-12-02 08:59:04 -05:00
Carson Katri
4d2fe4ba2e Merge branch 'main' of https://github.com/carson-katri/geometry-script 2022-12-02 08:32:36 -05:00
Carson Katri
ccac8b4fab Reorder model renaming 2022-12-02 08:32:29 -05:00
Carson Katri
04a1f60eb3
Update README.md 2022-12-01 09:30:11 -05:00
Carson Katri
86023a2bb5 Add simulation decorator 0.1.0 2022-12-01 09:07:07 -05:00
Carson Katri
bdf703c33a Add built-in node arrange and documentation 2022-12-01 07:37:35 -05:00
Carson Katri
dddf0d93d9 Add Attribute class for named attributes 2022-11-28 21:09:27 -05:00
Carson Katri
a3337dbdbf Improve invert and linking logic 2022-11-28 17:32:21 -05:00
Carson Katri
db323268a2 Use InputGroup default values 2022-11-20 18:57:16 -05:00
Carson Katri
7001a179c0 Add scripted_expression helper function 2022-11-20 18:47:37 -05:00
Carson Katri
1cdd975dbf Document boolean math sugar 2022-11-20 18:25:32 -05:00
Carson Katri
f50fa922be Change capture/transfer behavior 2022-11-20 18:16:25 -05:00
Carson Katri
a360f26fde Add note about functions vs trees to node groups page 2022-11-20 18:09:08 -05:00
Carson Katri
391d74ec61 Document input group prefixes 2022-11-19 15:04:36 -05:00
Carson Katri
66ade0a739 Support prefixes for InputGroups 2022-11-19 15:00:26 -05:00
Carson Katri
852823af30 Fix multiple returns from sub-tree 2022-11-19 08:44:40 -05:00
Carson Katri
7a52377ae9 Improve and document 'capture' 2022-11-18 19:04:34 -05:00
Carson Katri
b1f1edba94 Add sugar for Capture Attribute 2022-11-18 18:27:56 -05:00
Carson Katri
48929cea93 Add documentation to InputGroups and fix input recreation 2022-11-18 18:23:51 -05:00
Carson Katri
aa11b398a0 Add InputGroup to simplify large sets of inputs 2022-11-17 18:13:07 -05:00
Carson Katri
e7bae54662 Update examples to use generated enums 2022-11-17 13:18:08 -05:00
Carson Katri
828fb8b6da Add enum generation 2022-11-17 13:07:50 -05:00
Carson Katri
f2d6280024 Fix intro links 2022-11-15 13:42:06 -05:00