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

Volume node output format #4380

Closed
cromlyngames opened this issue Nov 22, 2021 · 1 comment · Fixed by #4597
Closed

Volume node output format #4380

cromlyngames opened this issue Nov 22, 2021 · 1 comment · Fixed by #4597
Labels

Comments

@cromlyngames
Copy link

cromlyngames commented Nov 22, 2021

Problem statement

Analyzer: Volume node outputs number result in [x] format. This is not compatible with the number node or the area node, both of which output in [[x]]

Steps to reproduce

  1. create circle and cylinder of same diamter
  2. find area of circle, and volume of cylinder
  3. divide (scalar maths) of volume by area fails

Expected result

A number result, the same as the cylinder height

Actual result

"IndexError('Tuple index out of range')

Sverchok version

1.0.0 from sverchok-master.zip from github

@Durman
Copy link
Collaborator

Durman commented Nov 23, 2021

I guess new version of the node should be created for keeping backward compatibility with existing node trees.

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

Successfully merging a pull request may close this issue.

2 participants