-
Notifications
You must be signed in to change notification settings - Fork 233
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
Unifying float creation #164
Comments
maybe a menu heading |
We should take look at the menu and try organize is a bit more in general. |
man.. if nodes had multiline text input...( i suppose not too hard to add really ) this would be excellent ground for a formula3 node |
xfrange from node series def xfrange(self, start, stop, step):
while start < stop:
yield start
start += step xfrange from node range, modified version. note that it ensures that start and stop is exactly first and last. divisions must equal or larger than 2. def xfrange(self, start, stop, divisions):
step = (stop - start) / (divisions - 1 )
count = start
yield start
for i in range( divisions - 2 ):
count += step
yield count
yield stop And last could be like this. def last_range(start,step,count)
for i in range(count):
yield start
start += step |
Line and Plane accepts lists for step, which is cool but makes it harder make them parametric in clean way with other options. |
i need to make that primitives node.. soon! |
Now it just needs to be tested and verify the inputs so it is terminating. |
range is ok |
So modes:
Anyway will commit like this. The naming can be adjusted. |
One Sverchok strategy is configurable multimode nodes grouped logically.
We have Range and Series that makes float series, I think they should be group into one node.
They use:
I propose a third mode.
And that we unify them like the new Int Range node.
What should the call the three modes be called, one hand we have the old nodes and their names.
Series and Range which are logical but don't really match up.
The text was updated successfully, but these errors were encountered: