Коммит 9090e1a1 создал по автору Victor Doval's avatar Victor Doval Зафиксировано автором Dealga McArdle
Просмотр файлов

Updated docstrings that appear in the browser (#2159)

владелец c8d5b6a6
......@@ -24,7 +24,7 @@ from sverchok.data_structure import (updateNode, match_long_repeat as mlr)
class SvKDTreeNodeMK2(bpy.types.Node, SverchCustomTreeNode):
''' KDT Closest Verts MK2 '''
'''Find nearest verts'''
bl_idname = 'SvKDTreeNodeMK2'
bl_label = 'KDT Closest Verts MK2'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -26,7 +26,7 @@ from sverchok.data_structure import updateNode
# documentation/blender_python_api_2_70_release/mathutils.kdtree.html
class SvKDTreeEdgesNodeMK2(bpy.types.Node, SverchCustomTreeNode):
'''Create Edges by distance'''
bl_idname = 'SvKDTreeEdgesNodeMK2'
bl_label = 'KDT Closest Edges MK2'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -46,6 +46,7 @@ def invsquare(x):
return x*x
class SvProportionalEditNode(bpy.types.Node, SverchCustomTreeNode):
''' Curved mask coeffs.'''
bl_idname = 'SvProportionalEditNode'
bl_label = 'Proportional Edit Falloff'
bl_icon = 'PROP_ON'
......
......@@ -37,7 +37,7 @@ def generate_bezier(verts=None, num_verts=20):
class BasicSplineNode(bpy.types.Node, SverchCustomTreeNode):
''' Line '''
''' Bezier Curve '''
bl_idname = 'BasicSplineNode'
bl_label = '2pt Spline'
bl_icon = 'CURVE_BEZCURVE'
......
......@@ -199,6 +199,7 @@ class SvJsonFromMesh(bpy.types.Operator):
bpy.data.texts[text].write(values)
class SvMeshEvalNode(bpy.types.Node, SverchCustomTreeNode):
'''Parametric mesh JSON'''
bl_idname = 'SvMeshEvalNode'
bl_label = 'Mesh Expression'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -29,7 +29,7 @@ from sverchok.utils.sv_itertools import (recurse_fx, recurse_fxy)
class SvLogicNode(bpy.types.Node, SverchCustomTreeNode):
''' LogicNode '''
'''And, Or, If, <, >..'''
bl_idname = 'SvLogicNode'
bl_label = 'Logic functions'
bl_icon = 'LOGIC'
......
......@@ -81,6 +81,7 @@ def bisect(cut_me_vertices, cut_me_edges, pp, pno, outer, inner, fill):
class SvBisectNode(bpy.types.Node, SverchCustomTreeNode):
''' Matrix Cuts geometry'''
bl_idname = 'SvBisectNode'
bl_label = 'Bisect'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -162,6 +162,7 @@ def section(cut_me_vertices, cut_me_edges, mx, pp, pno, FILL=False, TRI=True):
class CrossSectionNode(bpy.types.Node, SverchCustomTreeNode):
'''Plane Intersection'''
bl_idname = 'CrossSectionNode'
bl_label = 'Cross Section'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -45,7 +45,7 @@ def get_lathed_geometry(node, verts, edges, cent, axis, dvec, angle, steps):
class SvLatheNode(bpy.types.Node, SverchCustomTreeNode):
'''Spin, Screw, Revol.'''
bl_idname = 'SvLatheNode'
bl_label = 'Lathe'
bl_icon = 'MOD_SCREW'
......
......@@ -60,7 +60,7 @@ def solidify(vertices, faces, t):
class SvSolidifyNode(bpy.types.Node, SverchCustomTreeNode):
'''Soldifies geometry'''
'''Extrude along normal'''
bl_idname = 'SvSolidifyNode'
bl_label = 'Solidify'
bl_icon = 'MOD_SOLIDIFY'
......
......@@ -25,7 +25,7 @@ from sverchok.utils.voronoi import Site, computeVoronoiDiagram, computeDelaunayT
class Voronoi2DNode(bpy.types.Node, SverchCustomTreeNode):
''' Voronoi 2d line '''
''' vr Voronoi 2d line '''
bl_idname = 'Voronoi2DNode'
bl_label = 'Voronoi 2D'
bl_icon = 'OUTLINER_OB_EMPTY'
......@@ -109,7 +109,7 @@ class Voronoi2DNode(bpy.types.Node, SverchCustomTreeNode):
# computeDelaunayTriangulation
class DelaunayTriangulation2DNode(bpy.types.Node, SverchCustomTreeNode):
''' DelaunayTriangulation '''
'''dea Verts. Triangulation '''
bl_idname = 'DelaunayTriangulation2DNode'
bl_label = 'Delaunay 2D'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -45,7 +45,7 @@ def wireframe(vertices, faces, t, self):
class SvWireframeNode(bpy.types.Node, SverchCustomTreeNode):
'''Wireframe'''
'''wf Wireframe Modif.'''
bl_idname = 'SvWireframeNode'
bl_label = 'Wireframe'
bl_icon = 'MOD_WIREFRAME'
......
......@@ -105,6 +105,7 @@ def simple_grid_xy(x, y, args):
class SvEasingNode(bpy.types.Node, SverchCustomTreeNode):
'''Curved interpolation'''
bl_idname = 'SvEasingNode'
bl_label = 'Easing 0..1'
......
......@@ -37,7 +37,7 @@ from sverchok.data_structure import (
class Formula2Node(bpy.types.Node, SverchCustomTreeNode):
''' Formula2 '''
''' Custom formula '''
bl_idname = 'Formula2Node'
bl_label = 'Formula'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -43,7 +43,7 @@ def uset(self, value, origin):
class SvNumberNode(bpy.types.Node, SverchCustomTreeNode):
''' Float '''
''' Integer / Float '''
bl_idname = 'SvNumberNode'
bl_label = 'A Number'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -109,7 +109,7 @@ def property_change(node, context, origin):
class SvScalarMathNodeMK2(bpy.types.Node, SverchCustomTreeNode):
''' SvScalarMathNodeMK2 '''
'''Scalar: Add, Sine... '''
bl_idname = 'SvScalarMathNodeMK2'
bl_label = 'Math MK2'
sv_icon = 'SV_FUNCTION'
......
......@@ -24,6 +24,7 @@ from sverchok.data_structure import (updateNode)
class SvObjectToMeshNodeMK2(bpy.types.Node, SverchCustomTreeNode):
'''Get Object Data'''
bl_idname = 'SvObjectToMeshNodeMK2'
bl_label = 'Object ID Out MK2'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -37,6 +37,7 @@ def wipe_object(ob):
class SvDupliInstancesMK4(bpy.types.Node, SverchCustomTreeNode):
'''Copy by Dupli Faces'''
bl_idname = 'SvDupliInstancesMK4'
bl_label = 'Dupli instancer mk4'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -85,7 +85,7 @@ class SvInstancerOp(bpy.types.Operator):
class SvInstancerNode(bpy.types.Node, SverchCustomTreeNode):
'''Copy by mesh data'''
bl_idname = 'SvInstancerNode'
bl_label = 'Mesh instancer'
bl_icon = 'OUTLINER_OB_EMPTY'
......
......@@ -64,7 +64,7 @@ class SvExecNodeModCallback(bpy.types.Operator):
class SvExecNodeMod(bpy.types.Node, SverchCustomTreeNode):
''' Exec Node Mod'''
'''Execute small script'''
bl_idname = 'SvExecNodeMod'
bl_label = 'Exec Node Mod'
bl_icon = 'CONSOLE'
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать