Skip to content

Instantly share code, notes, and snippets.

@nortikin
Created January 16, 2024 17:32
Show Gist options
  • Save nortikin/d9e2715f05b7dd7b56c5f42109c9810a to your computer and use it in GitHub Desktop.
Save nortikin/d9e2715f05b7dd7b56c5f42109c9810a to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0-alpha (6047e89) | Blender.3.4.1 | CUSTOM PROPS | 2024.01.16 | 20:32 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Stethoscope MK2": {
"attributes": {
"location": [
1711.638916015625,
-383.089111328125
],
"color": [
0.5331429243087769,
0.9872658848762512,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0080000162124634,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Stethoscope MK2.001": {
"attributes": {
"location": [
1719.5916748046875,
-581.482421875
],
"color": [
0.5331429243087769,
0.9872658848762512,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0080000162124634,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Stethoscope MK2.002": {
"attributes": {
"location": [
1718.60888671875,
-791.264404296875
],
"color": [
0.5331429243087769,
0.9872658848762512,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0080000162124634,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Get Objects Data": {
"attributes": {
"location": [
883.331298828125,
-411.24505615234375
],
"width": 170.0,
"color": [
0.35577794909477234,
0.5,
0.3646477460861206
],
"use_custom_color": true
},
"properties": {
"object_names": [
{
"name": "Circle",
"icon": "OUTLINER_OB_MESH"
}
]
},
"inputs": {
"Objects": {
"bl_idname": "SvObjectSocket",
"name": "Objects"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"Vertex Normals": {
"bl_idname": "SvVerticesSocket",
"name": "Vertex Normals"
},
"Material Idx": {
"bl_idname": "SvStringsSocket",
"name": "Material Idx"
},
"Polygon Areas": {
"bl_idname": "SvStringsSocket",
"name": "Polygon Areas"
},
"Polygon Centers": {
"bl_idname": "SvVerticesSocket",
"name": "Polygon Centers"
},
"Polygon Normals": {
"bl_idname": "SvVerticesSocket",
"name": "Polygon Normals"
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
},
"Object": {
"bl_idname": "SvObjectSocket",
"name": "Object"
}
},
"bl_idname": "SvGetObjectsDataMK2"
},
"Exec Node Mod": {
"attributes": {
"location": [
1373.148193359375,
-412.940185546875
],
"width": 225.49658203125
},
"properties": {
"dynamic_strings": [
{
"line": "for i in V1:"
},
{
"line": " append(i[V2[0][0]])"
}
]
},
"inputs": {
"V1": {
"bl_idname": "SvStringsSocket",
"name": "V1"
},
"V2": {
"bl_idname": "SvStringsSocket",
"name": "V2"
},
"V3": {
"bl_idname": "SvStringsSocket",
"name": "V3"
}
},
"outputs": {
"out": {
"bl_idname": "SvStringsSocket",
"name": "out"
}
},
"bl_idname": "SvExecNodeMod"
},
"Note": {
"attributes": {
"location": [
1129.1986083984375,
-481.9146728515625
],
"width": 204.82958984375,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"n_id": "-8178825258831077047",
"text": "custom_sverchok"
},
"inputs": {
"Text In": {
"bl_idname": "SvStringsSocket",
"name": "Text In"
}
},
"outputs": {
"Text Out": {
"bl_idname": "SvStringsSocket",
"name": "Text Out"
}
},
"bl_idname": "NoteNode"
},
"Get Property MK2": {
"attributes": {
"location": [
1163.6181640625,
-672.0791625976562
],
"width": 421.16064453125
},
"properties": {
"prop_name": "D.objects['Circle']['custom_sverchok']"
},
"outputs": {
"Data_001": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvGetPropNodeMK2"
},
"Object ID Set MK2": {
"attributes": {
"location": [
1407.16552734375,
-795.5951538085938
],
"width": 181.8758544921875
},
"properties": {
"formula": "get('custom_sverchok')"
},
"inputs": {
"Objects": {
"bl_idname": "SvObjectSocket",
"name": "Objects"
},
"values": {
"bl_idname": "SvStringsSocket",
"name": "values"
}
},
"outputs": {
"outvalues": {
"bl_idname": "SvStringsSocket",
"name": "outvalues"
},
"Objects": {
"bl_idname": "SvObjectSocket",
"name": "Objects"
}
},
"bl_idname": "SvSetDataObjectNodeMK2"
}
},
"links": [
{
"from_node": "Exec Node Mod",
"from_socket": "out",
"to_node": "Stethoscope MK2",
"to_socket": "Data"
},
{
"from_node": "Get Property MK2",
"from_socket": "Data_001",
"to_node": "Stethoscope MK2.001",
"to_socket": "Data"
},
{
"from_node": "Object ID Set MK2",
"from_socket": "outvalues",
"to_node": "Stethoscope MK2.002",
"to_socket": "Data"
},
{
"from_node": "Get Objects Data",
"from_socket": "Object",
"to_node": "Exec Node Mod",
"to_socket": "V1"
},
{
"from_node": "Note",
"from_socket": "Text Out",
"to_node": "Exec Node Mod",
"to_socket": "V2"
},
{
"from_node": "Get Objects Data",
"from_socket": "Object",
"to_node": "Object ID Set MK2",
"to_socket": "Objects"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment