Skip to content

Instantly share code, notes, and snippets.

@zeffii
Last active September 18, 2016 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/2eaea534ff714855b683613c286680a4 to your computer and use it in GitHub Desktop.
Save zeffii/2eaea534ff714855b683613c286680a4 to your computer and use it in GitHub Desktop.

these

  • Generators', 'BasicSplineNode', 'shortname:', '2pt Spline', 'bl_label:', 'BasicSpline'
  • Generators', 'svBasicArcNode', 'shortname:', '3pt Arc', 'bl_label:', 'Basic 3point Arc')
  • Extended Generators', 'SvBoxRoundedNode', 'shortname:', 'Rounded Box', 'bl_label:', 'RoundBox')
  • Extended Generators', 'HilbertImageNode', 'shortname:', 'Hilbert image', 'bl_label:', 'HilbertImage')
  • Extended Generators', 'SvProfileNode', 'shortname:', 'ProfileParametric', 'bl_label:', 'ProfileNode')
  • Extended Generators', 'SvScriptNode', 'shortname:', 'Scripted Node', 'bl_label:', 'Script Generator')
  • Extended Generators', 'SvScriptNodeMK3', 'shortname:', 'Script 3 Node', 'bl_label:', 'Script Generator')
  • Analyzers', 'SvVolumeNode', 'shortname:', 'Volume', 'bl_label:', 'Volume Node')
  • Analyzers', 'DistancePPNode', 'shortname:', 'Distance', 'bl_label:', 'Distances')
  • Analyzers', 'CentersPolsNodeMK2', 'shortname:', 'Centers Polygons 2', 'bl_label:', 'Centers polygons')
  • Analyzers', 'CentersPolsNodeMK3', 'shortname:', 'Centers Polygons 3', 'bl_label:', 'Centers polygons')
  • Analyzers', 'GetNormalsNode', 'shortname:', 'Calculate normals', 'bl_label:', 'Calc Normals')
  • Analyzers', 'VectorNormalNode', 'shortname:', 'Vertex Normal', 'bl_label:', 'Vector Normal')
  • Analyzers', 'SvKDTreeNode', 'shortname:', 'KDT Closest Verts', 'bl_label:', 'Kdtree search')
  • Analyzers', 'SvKDTreeEdgesNode', 'shortname:', 'KDT Closest Edges', 'bl_label:', 'Kdtree Edges')
  • Transforms', 'VectorMoveNode', 'shortname:', 'Move', 'bl_label:', 'Vectors Move')
  • Transforms', 'MatrixApplyNode', 'shortname:', 'Matrix Apply', 'bl_label:', 'Apply matrix for vectors')
  • Modifier Change', 'PolygonBoomNode', 'shortname:', 'Polygon Boom', 'bl_label:', 'PolygonBoom')
  • Modifier Change', 'Pols2EdgsNode', 'shortname:', 'Polygons to Edges', 'bl_label:', 'Polygons 2 Edges')
  • Modifier Change', 'SvRemoveDoublesNode', 'shortname:', 'Remove Doubles', 'bl_label:', 'Remove Doubles BETA')
  • Modifier Change', 'SvSeparateMeshNode', 'shortname:', 'Separate Loose Parts', 'bl_label:', 'Separate Loose')
  • Modifier Change', 'SvExtrudeSeparateNode', 'shortname:', 'Extrude Separate Faces', 'bl_label:', 'Extrude Separate')
  • Modifier Change', 'SvRandomizeVerticesNode', 'shortname:', 'Randomize input vertices', 'bl_label:', 'Randomize Vertices')
  • Modifier Change', 'SvIterateNode', 'shortname:', 'Iterate matrix transformation', 'bl_label:', 'Iterate')
  • Modifier Make', 'LineConnectNodeMK2', 'shortname:', 'UV Connection', 'bl_label:', 'UV Connect')
  • Modifier Make', 'SvAdaptiveEdgeNode', 'shortname:', 'Ad aptive Edges', 'bl_label:', 'Adaptive Edges')
  • Modifier Make', 'Voronoi2DNode', 'shortname:', 'Voronoi 2D', 'bl_label:', 'Voronoi')
  • Modifier Make', 'SvPipeNode', 'shortname:', 'Pipe', 'bl_label:', 'Pipe tube Node')
  • Modifier Make', 'SvDuplicateAlongEdgeNode', 'shortname:', 'Duplicate objects along edge', 'bl_label:', 'Duplicate along edge')
  • Modifier Make', 'SvLatheNode', 'shortname:', 'Lathe', 'bl_label:', 'Sv Lathe Node')
  • List Masks', 'MaskListNode', 'shortname:', 'List Mask (out)', 'bl_label:', 'MaskList')
  • List Masks', 'SvMaskJoinNode', 'shortname:', 'List Mask Join (in)', 'bl_label:', 'Mask Join')
  • List main', 'ListSumNodeMK2', 'shortname:', 'List Sum', 'bl_label:', 'List summa MK2')
  • List main', 'ListFuncNode', 'shortname:', 'List Math', 'bl_label:', 'List function ')
  • List struct', 'ShiftNodeMK2', 'shortname:', 'List Shift', 'bl_label:', 'List Shift mk2')
  • List struct', 'ListRepeaterNode', 'shortname:', 'List Repeater', 'bl_label:', 'List repeater')
  • List struct', 'ListFLNode', 'shortname:', 'List First&Last', 'bl_label:', 'List First Last')
  • List struct', 'ListItem2Node', 'shortname:', 'List Item', 'bl_label:', 'List item')
  • List struct', 'ListSortNodeMK2', 'shortname:', 'List Sort', 'bl_label:', 'List Sort MK2')
  • List struct', 'ListFlipNode', 'shortname:', 'List Flip', 'bl_label:', 'List Flip Node')
  • Number', 'GenListRangeIntNode', 'shortname:', 'Range Int', 'bl_label:', 'List Range Int')
  • Number', 'SvGenFloatRange', 'shortname:', 'Range Float', 'bl_label:', 'Float Series')
  • Number', 'IntegerNode', 'shortname:', 'Int', 'bl_label:', 'Integer')
  • Number', 'Float2IntNode', 'shortname:', 'Float 2 Int', 'bl_label:', 'Float2int')
  • Number', 'Formula2Node', 'shortname:', 'Formula', 'bl_label:', 'Formula2')
  • Number', 'ScalarMathNode', 'shortname:', 'Math', 'bl_label:', 'function')
  • Number', 'SvEasingNode', 'shortname:', 'Easing 0..1', 'bl_label:', 'Easing')
  • Number', 'SvGenFibonacci', 'shortname:', 'Fibonacci sequence', 'bl_label:', 'Fibonacci series')
  • Number', 'SvGenExponential', 'shortname:', 'Exponential sequence', 'bl_label:', 'Exponential series')
  • Vector', 'GenVectorsNode', 'shortname:', 'Vector in', 'bl_label:', 'Vectors in')
  • Vector', 'VectorsOutNode', 'shortname:', 'Vector out', 'bl_label:', 'Vectors out')
  • Vector', 'VectorPolarInNode', 'shortname:', 'Vector polar input', 'bl_label:', 'Vectors polar in')
  • Vector', 'VectorPolarOutNode', 'shortname:', 'Vector polar output', 'bl_label:', 'Vectors polar out')
  • Vector', 'VertsDelDoublesNode', 'shortname:', 'Vector X Doubles', 'bl_label:', 'Delete Double vertices')
  • Vector', 'EvaluateLineNode', 'shortname:', 'Vector Evaluate', 'bl_label:', 'EvaluateLine')
  • Vector', 'SvInterpolationNodeMK2', 'shortname:', 'Vector Interpolation mk2', 'bl_label:', 'Vector Interpolation')
  • Vector', 'SvInterpolationNodeMK3', 'shortname:', 'Vector Interpolation mk3', 'bl_label:', 'Vector Interpolation 3')
  • Vector', 'svAxisInputNode', 'shortname:', 'Vector X | Y | Z', 'bl_label:', 'Z axis')
  • Matrix', 'SvMatrixValueIn', 'shortname:', 'Matrix Input', 'bl_label:', 'Matrix value input')
  • Matrix', 'SvMatrixEulerNode', 'shortname:', 'Matrix Euler', 'bl_label:', 'Euler Matrix')
  • Matrix', 'MatrixShearNode', 'shortname:', 'Matrix Shear', 'bl_label:', 'Shear Matrix')
  • Logic', 'SvLogicNode', 'shortname:', 'Logic', 'bl_label:', 'function')
  • Logic', 'SvNeuroElman1LNode', 'shortname:', 'Neuro', 'bl_label:', '*Neuro Elman 1 Layer')
  • Viz', 'ViewerNode2', 'shortname:', 'Viewer Draw', 'bl_label:', 'Viewer Draw2')
  • Viz', 'SvBmeshViewerNodeMK2', 'shortname:', 'Viewer BMeshMK2', 'bl_label:', 'Bmesh Viewer Draw 2')
  • Viz', 'IndexViewerNode', 'shortname:', 'Viewer Index', 'bl_label:', 'Index Viewer Draw')
  • Viz', 'Sv3DviewPropsNode', 'shortname:', '3dview Props', 'bl_label:', 'Sv 3Dview Props Node')
  • Text', 'SvTextInNode', 'shortname:', 'Text in', 'bl_label:', 'Text Input')
  • Text', 'SvTextOutNode', 'shortname:', 'Text out', 'bl_label:', 'Text Output')
  • Text', 'SvStethoscopeNode', 'shortname:', 'Stethoscope', 'bl_label:', 'Sv Stethoscope Node')
  • Scene', 'ObjectsNode', 'shortname:', 'Objects in', 'bl_label:', 'Objects_in')
  • Scene', 'SvObjRemoteNode', 'shortname:', 'Object Remote (Control)', 'bl_label:', 'Sv Obj Remote')
  • Scene', 'SvFrameInfoNode', 'shortname:', 'Frame info', 'bl_label:', 'Frame Info')
  • Scene', 'SvEmptyOutNode', 'shortname:', 'Empty out', 'bl_label:', 'Set Empty')
  • Scene', 'SvDupliInstancesMK3', 'shortname:', 'Dupli instancer', 'bl_label:', 'Dupli Instances MK3')
  • Scene', 'SvInstancerNode', 'shortname:', 'Mesh instancer', 'bl_label:', 'Sv Instancer Node')
  • Scene', 'SvGetPropNode', 'shortname:', 'Get property', 'bl_label:', 'Get')
  • Scene', 'SvSetPropNode', 'shortname:', 'Set property', 'bl_label:', 'Set')
  • Scene', 'SvRayCastSceneNode', 'shortname:', 'Scene Raycast', 'bl_label:', 'scene_raycast')
  • Scene', 'SvVertexColorNode', 'shortname:', 'Vertex color', 'bl_label:', 'Vertex colors')
  • Scene', 'SvVertexColorNodeMK2', 'shortname:', 'Vertex color new', 'bl_label:', 'Vertex colors')
  • Layout', 'WifiInNode', 'shortname:', 'Wifi in', 'bl_label:', 'Wifi input')
  • Layout', 'WifiOutNode', 'shortname:', 'Wifi out', 'bl_label:', 'Wifi output')
  • Layout', 'NodeReroute', 'shortname:', 'Reroute Point', 'bl_label:', 'Reroute')
  • Layout', 'ConverterNode', 'shortname:', 'SocketConvert', 'bl_label:', 'Converter')
  • Network', 'UdpClientNode', 'shortname:', 'UDP Client', 'bl_label:', 'UdpClient')
  • Beta Nodes', 'SvOffsetNode', 'shortname:', 'Offset', 'bl_label:', 'Offset Node')
  • Beta Nodes', 'SvRecalcNormalsNode', 'shortname:', 'Recalc normals', 'bl_label:', 'Recalc Normals')
  • Beta Nodes', 'SvEdgeAnglesNode', 'shortname:', 'Angles at the edges', 'bl_label:', 'Angles at Edges')
  • Beta Nodes', 'SvFormulaShapeNode', 'shortname:', 'Formula shape', 'bl_label:', 'Formula Shape')
  • Beta Nodes', 'SvScriptNodeMK2', 'shortname:', 'Script 2', 'bl_label:', 'Script Node 2')
  • Beta Nodes', 'SvMeshFilterNode', 'shortname:', 'Mesh filter', 'bl_label:', 'Mesh Filter')
  • Beta Nodes', 'SvTriangulateNode', 'shortname:', 'Triangulate mesh', 'bl_label:', 'Triangulate')
  • Beta Nodes', 'SvHeavyTriangulateNode', 'shortname:', 'Triangulate mesh (heavy)', 'bl_label:', 'Heavy Triangulate')
  • Beta Nodes', 'SvBricksNode', 'shortname:', 'Bricks grid', 'bl_label:', 'Bricks')
  • Alpha Nodes', 'SvCurveViewerNode', 'shortname:', 'Curve Viewer', 'bl_label:', 'SvCurve Viewer Draw')
  • Alpha Nodes', 'SvCurveViewerNodeAlt', 'shortname:', 'Curve Viewer 2D', 'bl_label:', 'Curve Draw 2D')
  • Alpha Nodes', 'SvPolylineViewerNode', 'shortname:', 'Polyline Viewer', 'bl_label:', 'SvPolyline Viewer Draw')
  • Alpha Nodes', 'SvTypeViewerNode', 'shortname:', 'Typography Viewer', 'bl_label:', 'Type Draw')
  • Alpha Nodes', 'SvImageComponentsNode', 'shortname:', 'Image Decompose', 'bl_label:', 'Image Components')
  • Alpha Nodes', 'SkinViewerNode', 'shortname:', 'Skin Mesher', 'bl_label:', 'Skin Viewer Draw')
  • Alpha Nodes', 'SvCSGBooleanNode', 'shortname:', 'CSG Boolean', 'bl_label:', 'CSG BooleanNode')
  • Alpha Nodes', 'SvNumpyArrayNode', 'shortname:', 'Numpy Array', 'bl_label:', 'numpy_props')
  • Alpha Nodes', 'SvNodeRemoteNode', 'shortname:', 'Node Remote (Control)', 'bl_label:', 'Sv Node Remote')
  • Alpha Nodes', 'SvBMVertsNode', 'shortname:', 'BMesh Props', 'bl_label:', 'BMesh props')
  • Alpha Nodes', 'SvBMinputNode', 'shortname:', 'BMesh In', 'bl_label:', 'BMesh List Wrap')
  • Alpha Nodes', 'SvBMoutputNode', 'shortname:', 'BMesh Out', 'bl_label:', 'Bmesh Out')
import bpy
import sverchok
cats = sverchok.menu.make_node_cats()
skiplist = ['SvGenerativeArtNode', 'SvVertexGroupNode']
print('----')
tplist = []
nodes = bpy.data.node_groups['NodeTree'].nodes
for k, v in cats.items():
print('##', k)
for i in v:
if i[0] in skiplist:
continue
n = nodes.new(i[0])
n.bl_label
if not i[1] == n.bl_label:
tplist.append(('## {}'.format(k), i[0], 'shortname:', i[1], 'bl_label:', n.bl_label))
for l in tplist:
print(l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment