Comments (10)
mhh interessting - I think the problem might be that I assume this is always called via invoke first, while it appears that if its called via the api it directely calls execute... just a first guess tho.
gotta read into this topic again.
from edgeflow.
mhh interessting - I think the problem might be that I assume this is always called via invoke first, while it appears that if its called via the api it directely calls execute... just a first guess tho.
gotta read into this topic again.
Hi, thanks for your quick response! :)
I believe I have a solution, thanks to a very helpful person in the Blender Discord #help-coding channel. If you open the op_set_edge_flow.py
file, and scroll down to line 109, you have self.tension
, self.iterations
, and self.bias
specified there. Simply commenting out or removing these 3 lines allows me to use the command like this:
bpy.ops.mesh.set_edge_flow("INVOKE_DEFAULT", tension=180, iterations=32)
If you could remove those 3 lines, and release an update to the edge flow addon, I would be able to use your addon with my addon. :)
from edgeflow.
well - these lines are intentionally added. It makes sure that the opertor always starts with the default values. As I found it not usefull that blender remembers what values where used the last time the operator is run - well at least in this case, often this behaviour is desired. Maybe there is a side effect free alternative..
from edgeflow.
I changed some stuff to allow for a bpy.ops call you can give it a try.
from edgeflow.
Hi, thanks for the update! I have downloaded the files, and installed the addon.
I'm trying to run this command:
bpy.ops.mesh.set_edge_flow(tension=scene.neltulzSubDEdge.tension, iterations=scene.neltulzSubDEdge.numIterations, min_angle=scene.neltulzSubDEdge.minAngle)
The parameters are being set by my custom property group. It doesn't appear to be working.
It doesn't appear to be accepting my variables. I printed my variables to console to confirm they are being set properly, so, I'm not really 100% sure why it's not working.
If you would like to experiment on your end, you can simply use a "loop cut" to insert (for example) 8 edge loops, then while those edge loops are still selected, run the bpy.ops.mesh.set_edge_flow.....
command with some parameters.
from edgeflow.
hey, it was a bit late when i pushed the last version, so I missed something obvious. So please retry the newest version..
from edgeflow.
Awesome! Everything seems to be working great! If you could push this as a release, I would be able to instruct others to download the latest version of EdgeFlow before using my Addon from the Release section of this github repo! :)
Thank you for updating the addon with these bug fixes. My only request for the future would be to keep the same property names, and addon operator name so that future versions of EdgeFlow do not break my addon. I will be sure to credit you with my addon as well! :)
from edgeflow.
The last release with tag 04 (https://github.com/BenjaminSauder/EdgeFlow/releases) should already be up to date.
from edgeflow.
Oh, okay. I misread the Github page. Thanks! You may close this issue now!
from edgeflow.
done :)
from edgeflow.
Related Issues (20)
- Running operators when no objects are selected HOT 4
- Unexpected result HOT 1
- set linear bug on blender 2.82a HOT 3
- Blender 2.9 HOT 6
- functions not showing up in Edge menu HOT 1
- Blender 3.0 issues(NEVERMIND) HOT 1
- Set flow and set linear don't work with repeat last (Shift+R) HOT 2
- Sometime it stops working. HOT 3
- edge flow don t work for a simple plane HOT 1
- New feature: Blend from start and/or end point HOT 6
- please rename the menu to something else HOT 2
- Mix "wobbles" HOT 2
- Respect Hard Edge Mode. HOT 2
- Right-click context keyboard shortcut HOT 1
- Any plans to add Edgeflow to the new Extension Platform? HOT 2
- [enhancement] Preferences to disable right click additions
- Add EdgeFlow to the new Blender Extensions Platform
- Feature Request: Get rid of Iteration Max limit HOT 1
- Feature Req: Linear Interpolate Vertex Positions Between 0-1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgeflow.