Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Generator Nodes. #27

Open
zeffii opened this issue Jan 4, 2016 · 4 comments
Open

Basic Generator Nodes. #27

zeffii opened this issue Jan 4, 2016 · 4 comments

Comments

@zeffii
Copy link
Contributor

zeffii commented Jan 4, 2016

I've thought about this for a while and want to suggest some strategies and see how you guys look at it.

I propose a set of Basic Geometry generators

Node Name XYZ Toggle Origin Toggle Modes
Basic Line yes yes, why not?
Basic Circle yes center, corners 4
Basic Plane yes center, corners 4
Basic Cube no center
Basic Sphere no center IcoSphere / UVSphere
@ly29
Copy link
Contributor

ly29 commented Jan 5, 2016

Seems sensible as basics.

@nortikin
Copy link
Member

Norm.
All vectorized? I see that as vectorized and + separated flag as mode in cube and sphere. types of sphere can be much different. bmesh generator for cube? sections again? Or can i finish my scripted node of ordered cube? My script is slooow. how to solve?

@zeffii
Copy link
Contributor Author

zeffii commented Jan 17, 2016

Sometimes we don't need complicated generators. It will definitely help people trying to make their own generator nodes to have a few simpler examples which help them understand the more complicated generators too.

The idea is to make vectorization easier to declare as a feature of the input sockets, so we only write code which concentrates on what to do when all sockets have data - and rarely need to write the vectorization explicitely in the node.

@nortikin , yeah I really do want simple generator nodes that use bmesh.ops to generate their base meshes. But I think it makes sense for certain generators to be easily hot-swappable with more advanced versions ( basic-node -> get connections / parameters / location -> delete node -> add advanced version -> set location / parameters / reconnect )

@zeffii
Copy link
Contributor Author

zeffii commented Jan 17, 2016

regarding speed there are options:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants