Giter Club home page Giter Club logo

blender-addons's People

Contributors

baldingwizard 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  avatar  avatar

blender-addons's Issues

Maths Expression operator precedence

Spotted a problem with the mathematical precedence of * and / and + and -. For now can work around it by adding brackets to explicitly specify the correct precedence.

How do I use the blender python script?

I have a blender fluid simulation explosion. I've opened the python script unity_6way.py in the "Scripting" tab. When I press the run script button, no errors appear.

image

Now if I look for this tab, that you see in the Unity VFX 6Way lighting talk
image

I dont see where the 6-Way lighting dropdown is?

Im looking for an explanation on how to use this amazing resource! Please note I dont have much experience with blender.

Maths Expression : Texture Dimensions breaks linking of texture nodes

At Blender version 2.83 the various texture nodes have a 'Dimension' input for 1D, 2D, 3D, 4D. This results in a new 'W' input which is sometimes hidden and sometimes used. The presence of the additional input means that the Scale input from an expression is being applied to the wrong input and the other arguments are being shifted one socket out of place. Need to amend the linking of nodes to handle the additional input socket.

Sequencing of input variables

Input variables are positioned based on the sequence they are encountered in the equation - would be good to be able to automatically resequence them - eg alphabetically all short ones followed by alphabetically all ‘longer’ ones.

Smoke2EXR : Remove restriction on sourcing from baked Point Cache

Currently, the add-on only caters for smoke stored in Point Cache files. It's come to light that it's possible to extract smoke information directly from the smoke domain modifier and this is preferable for many reasons - in particular since it doesn't require parsing the saved Point Cache files, and so it will no longer be restricted to that format. Also, it should be more efficient and will also make it work with later Blender versions (which now use Mantaflow and no longer store data as Point Cache by default).

Update wiki

Need to update the documentation pages for Particles to Path and Blend Vertex Colors and remove unnecessary detail from the 'readme' since the Wiki now covers this.

Error while running in Blender 3.2

Python: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\MathsExpressionBlender28\dynamic_maths_expression_node.py", line 230, in invoke
return wm.invoke_props_dialog(self, width=viewWidth)
TypeError: WindowManager.invoke_props_dialog(): error with keyword argument "width" - Function.width expected an int type, not float

Compatibility with Blender 2.82

Problems with compatibility with Blender 2.82 (appears to work fine with 2.81)

  1. Hexagon preset fails due to IndexError: bpy_prop_collection[index]: index 3 out of range, size 3
  2. 'min(x,y,z)' failing to link the 'z' input to the internal nodes

I suspect this could be related to the enhanced Maths node with additional features and auto-show/hide of input nodes based on expression.

Not adding button on 3.1

Hi thanks for making this! I was having trouble getting the button to show up in the F3/Spacebar menu on Blender 3.1

Can this work in Blender 3.1.x ... it's giving an error


Can this work in Blender 3.1.x Geometry nodes window? ... it's giving an error in other windows as well.


Python: Traceback (most recent call last):
  File "/home/rt/.config/blender/3.1/scripts/addons/MathsExpressionBlender28/dynamic_maths_expression_node.py", line 231, in invoke
    return wm.invoke_props_dialog(self, width=viewWidth)
TypeError: WindowManager.invoke_props_dialog(): error with keyword argument "width" -  Function.width expected an int type, not float

location: <unknown location>:-1

image

2.03 beta "Full" not allowing all full features?

version 2.03-beta_2022-11-24 (downloaded from Blendermarket)
Blender version 3.2.2 stable, 3.3.3 LTS, 3.6.3 stable, 4.0 stable, 4.1 (alpha) - not checked with other versions, that's just what I have lying around.

The version being distributed here seems to be a little wibbly. It includes the prompt screen saying its the free version, and does not offer to create a new expression from a script (although if I write a script and input TEXT:(name of script) it works as expected).

image

The Edit window (as seen in the documentation) also isn't appearing
Examples from documentation to indicate what I mean:
image
image

Maths Expression exception

Maths Expressio add-on throws an exception and loses the internal nodes when a blank expression is added. Also, would be good to provide option to keep orphaned input/output variables instead of losing the links when an expression is made temporarily invalid while editing.

Update node expression for 3.1?

It's available on blendermarket now,but I don't have us paypal account(it's not convenient in my country).
Do you plan to release it later?

Error when trying to utilize the addon

It says in the code this when trying to utilize it

AttributeError: 'IndentationError' object has no attribute 'msg'
Error: Python script failed, check the message in the system console

i don't know what that means

Not working as expected in 4.0 stable

Dynamic Maths Expressions (Paid version) hasn't survived the change to 4.0 unscathed.
If I try to create an instance of the Test script, it creates an empty geometry group with no inputs or outputs, and the status bar shows the following error:

Build of node tree failed : 'GeometryNodeTree' object has no attribute 'outputs'

while the console shows

Error: Python: Traceback (most recent call last):
  File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\MathsExpressionBlender28\dynamic_maths_expression_node.py", line 2740, in execute
    bpy.ops.text.jump({"area":newarea}, line=1)
  File "D:\Blender\stable\blender-4.0.0-windows-x64\4.0\scripts\modules\bpy\ops.py", line 106, in __call__
    C_exec, C_undo = _BPyOpsSubModOp._parse_args(args)
  File "D:\Blender\stable\blender-4.0.0-windows-x64\4.0\scripts\modules\bpy\ops.py", line 60, in _parse_args
    raise ValueError("1-2 args execution context is supported")
ValueError: 1-2 args execution context is supported

Left expressionText un-decoded!
validating expression represented by ',(inputs(variable(val1),,(variable(val2),,(variable(val3),,(variable(vec1),,(variable(vec2),variable(vec3)))))),,(=(variable(Add),+(variable(val1),variable(val2))),,(=(variable(Subtract),-(variable(val1),variable(val2))),,(=(variable(Multiply),*(variable(val1),variable(val2))),,(=(variable(Divide),/(variable(val1),variable(val2))),,(=(variable(Power),**(variable(val1),variable(val2))),,(=(variable(Log),log(variable(val1),variable(val2))),,(=(variable(Sine),sin(variable(val1))),,(=(variable(Cosine),cos(variable(val1))),,(=(variable(Trangent),tan(variable(val1))),,(=(variable(Arcsine),asin(variable(val1))),,(=(variable(Arccosine),acos(variable(val1))),,(=(variable(Arctangent),atan(variable(val1))),,(=(variable(Arctangent2),-(value(1.5707963),+(atan(/(variable(val2),variable(val1))),*(<(variable(val1),value(0.0)),value(3.14159265))))),,(=(variable(Modulo),mod(variable(val1),variable(val2))),,(=(variable(Absolute),abs(variable(val1))),,(=(variable(Max),max(variable(val1),variable(val2))),,(=(variable(MultiMax),max(variable(val1),,(variable(val2),variable(val3)))),,(=(variable(Min),min(variable(val1),variable(val2))),,(=(variable(MultiMin),min(variable(val1),,(variable(val2),variable(val3)))),,(=(variable(Greater),>(variable(val1),variable(val2))),,(=(variable(GreaterEqual),-(value(1),<(variable(val1),variable(val2)))),,(=(variable(Less),<(variable(val1),variable(val2))),,(=(variable(LessEqual),-(value(1),>(variable(val1),variable(val2)))),,(=(variable(Equal),-(value(1.0),>(abs(-(variable(val1),variable(val2))),value(0)))),,(=(variable(NotEqual),<(variable(val1),>(,variable(val2)))),,(=(variable(NotEqual2),<(variable(val2),>(,variable(val2)))),,(=(variable(VectorAdd),vadd(variable(vec1),variable(vec2))),,(=(variable(VectorSubtract),vsub(variable(vec1),variable(vec2))),,(=(variable(VectorMultiply),vmult(variable(vec1),variable(vec2))),,(=(variable(VectorDivide),vdiv(variable(vec1),variable(vec2))),=(variable(Colorramp),colorramp(variable(val1),,(value(0),,(combine(value(0),,(value(0),value(0))),,(value(0.25),,(combine(value(1),,(value(0),value(0))),,(value(0.5),,(combine(value(0),,(value(1),value(0))),,(value(0.75),,(combine(value(0),,(value(0),value(1))),,(value(1.0),combine(value(0),value(0.0))))))))))))))))))))))))))))))))))))))))))))'
Traceback (most recent call last):
  File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\MathsExpressionBlender28\dynamic_maths_expression_node.py", line 2122, in execute_main
    self.__nodeinterface_setup__()
  File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\MathsExpressionBlender28\dynamic_maths_expression_node.py", line 461, in __nodeinterface_setup__
    if len(self.node_tree.outputs) < 1:
AttributeError: 'GeometryNodeTree' object has no attribute 'outputs'

various errors occur with other use cases as well.

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.