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

fix #5045. Append "Angle Units" to properties of node "Revolution Surface" and fix documents. #5046

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

satabol
Copy link
Collaborator

@satabol satabol commented Nov 4, 2023

fix #5045. Append "Angle Units" to the node "Revolution Surface":

image

File for tests:

fix_5045_Append_Angle_Units_to_node_Revolution_Surface.test.blend.zip

@satabol
Copy link
Collaborator Author

satabol commented Nov 6, 2023

Need timeout to explore how to set ranges of angles without pain.

from sverchok.data_structure import updateNode, zip_long_repeat, ensure_nesting_level
from sverchok.utils.curve import SvCurve
from sverchok.utils.surface.algorithms import SvRevolutionSurface


class SvRevolutionSurfaceNode(SverchCustomTreeNode, bpy.types.Node):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SvAngleHelper should be first in the row. Python takes rightmost class first than it takes next left class and overrides methods and so on.

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

Successfully merging this pull request may close these issues.

Append "Angle Units" to node "Revolution Surface"
2 participants