Skip to content

Instantly share code, notes, and snippets.

@satabol
Created September 12, 2022 14:00
Show Gist options
  • Save satabol/bd067f54b526807d31bd95aacc03de66 to your computer and use it in GitHub Desktop.
Save satabol/bd067f54b526807d31bd95aacc03de66 to your computer and use it in GitHub Desktop.
ListItemInsert
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Frame": {
"attributes": {
"location": [
34.74871826171875,
21.03350830078125
],
"height": 234.0,
"width": 200.0,
"color": [
0.053023744374513626,
0.6080002188682556,
0.0
],
"use_custom_color": true
},
"bl_idname": "NodeFrame"
},
"Line": {
"attributes": {
"location": [
-766.7587890625,
288.01116943359375
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"num": 11,
"center": true,
"length_mode": "Num"
},
"inputs": {
"Num": {
"bl_idname": "SvStringsSocket",
"name": "Num",
"properties": {
"prop_name": "num"
}
},
"Steps": {
"bl_idname": "SvStringsSocket",
"name": "Steps",
"properties": {
"prop_name": "step"
}
},
"Size": {
"bl_idname": "SvStringsSocket",
"name": "Size",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "size"
}
},
"Origin": {
"bl_idname": "SvVerticesSocket",
"name": "Origin",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "v3_origin"
}
},
"Direction": {
"bl_idname": "SvVerticesSocket",
"name": "Direction",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "v3_dir"
}
}
},
"outputs": {
"Verts": {
"bl_idname": "SvVerticesSocket",
"name": "Verts"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
}
},
"bl_idname": "SvLineNodeMK4"
},
"List Input": {
"attributes": {
"location": [
-771.4738159179688,
62.70899963378906
]
},
"properties": {
"int_": 3,
"int_list": [
2,
5,
8,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"outputs": {
"List": {
"bl_idname": "SvStringsSocket",
"name": "List"
}
},
"bl_idname": "SvListInputNode"
},
"Stethoscope MK2": {
"attributes": {
"location": [
-762.1148681640625,
451.23052978515625
],
"hide": true,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Stethoscope MK2.001": {
"attributes": {
"location": [
-665.6808471679688,
506.4227294921875
],
"hide": true,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"List Item": {
"attributes": {
"location": [
-375.42724609375,
375.0734558105469
]
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"properties": {
"prop_name": "index"
}
}
},
"outputs": {
"Item_001": {
"bl_idname": "SvVerticesSocket",
"name": "Item"
},
"Other_001": {
"bl_idname": "SvVerticesSocket",
"name": "Other"
}
},
"bl_idname": "SvListItemNode"
},
"Stethoscope MK2.002": {
"attributes": {
"location": [
-370.86761474609375,
574.6332397460938
],
"hide": true,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Stethoscope MK2.003": {
"attributes": {
"location": [
-330.91632080078125,
523.6033325195312
],
"hide": true,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Vector Math": {
"attributes": {
"location": [
-62.60589599609375,
427.84588623046875
]
},
"properties": {
"current_op": "ADD",
"v3_input_1": [
0.0,
1.5,
0.0
]
},
"inputs": {
"A": {
"bl_idname": "SvVerticesSocket",
"name": "A",
"properties": {
"prop_name": "v3_input_0"
}
},
"B": {
"bl_idname": "SvVerticesSocket",
"name": "B",
"properties": {
"prop_name": "v3_input_1",
"expanded": true
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvVerticesSocket",
"name": "Out"
}
},
"bl_idname": "SvVectorMathNodeMK3"
},
"Viewer Draw": {
"attributes": {
"location": [
396.01690673828125,
127.48040771484375
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"display_verts": false
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"custom_draw": "draw_property_socket"
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"custom_draw": "draw_property_socket"
}
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
},
"Vector Color": {
"bl_idname": "SvColorSocket",
"name": "Vector Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "vector_color"
}
},
"Edge Color": {
"bl_idname": "SvColorSocket",
"name": "Edge Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "edge_color"
}
},
"Polygon Color": {
"bl_idname": "SvColorSocket",
"name": "Polygon Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "polygon_color"
}
},
"attrs": {
"bl_idname": "SvStringsSocket",
"name": "attrs",
"attributes": {
"hide": true
},
"properties": {
"quick_link_to_node": "SvVDAttrsNodeMk2"
}
}
},
"bl_idname": "SvViewerDrawMk4"
},
"Viewer Index+": {
"attributes": {
"location": [
397.19561767578125,
385.0643615722656
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"draw_bg": true
},
"inputs": {
"verts": {
"bl_idname": "SvVerticesSocket",
"name": "verts"
},
"edges": {
"bl_idname": "SvStringsSocket",
"name": "edges"
},
"faces": {
"bl_idname": "SvStringsSocket",
"name": "faces"
},
"matrix": {
"bl_idname": "SvMatrixSocket",
"name": "matrix"
},
"text": {
"bl_idname": "SvStringsSocket",
"name": "text"
}
},
"bl_idname": "SvIDXViewer28"
},
"Stethoscope MK2.004": {
"attributes": {
"location": [
120.9471435546875,
548.4287109375
],
"hide": true,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Stethoscope MK2.005": {
"attributes": {
"location": [
392.34088134765625,
497.3987121582031
],
"hide": true,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"List Item Insert": {
"attributes": {
"location": [
171.42431640625,
292.38092041015625
],
"parent": {
"type": "NODE",
"value": "Frame"
}
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
},
"Item": {
"bl_idname": "SvStringsSocket",
"name": "Item"
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"properties": {
"prop_name": "index"
}
}
},
"outputs": {
"Data_001": {
"bl_idname": "SvVerticesSocket",
"name": "Data"
}
},
"bl_idname": "SvListItemInsertNode"
}
},
"links": [
{
"from_node": "Line",
"from_socket": "Verts",
"to_node": "Stethoscope MK2",
"to_socket": "Data"
},
{
"from_node": "Line",
"from_socket": "Edges",
"to_node": "Stethoscope MK2.001",
"to_socket": "Data"
},
{
"from_node": "Line",
"from_socket": "Verts",
"to_node": "List Item",
"to_socket": "Data"
},
{
"from_node": "List Input",
"from_socket": "List",
"to_node": "List Item",
"to_socket": "Index"
},
{
"from_node": "List Item",
"from_socket": "Item_001",
"to_node": "Stethoscope MK2.002",
"to_socket": "Data"
},
{
"from_node": "List Item",
"from_socket": "Other_001",
"to_node": "Stethoscope MK2.003",
"to_socket": "Data"
},
{
"from_node": "List Item",
"from_socket": "Item_001",
"to_node": "Vector Math",
"to_socket": "A"
},
{
"from_node": "List Item Insert",
"from_socket": "Data_001",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "Line",
"from_socket": "Edges",
"to_node": "Viewer Draw",
"to_socket": "Edges"
},
{
"from_node": "List Item Insert",
"from_socket": "Data_001",
"to_node": "Viewer Index+",
"to_socket": "verts"
},
{
"from_node": "Vector Math",
"from_socket": "Out",
"to_node": "Stethoscope MK2.004",
"to_socket": "Data"
},
{
"from_node": "List Item Insert",
"from_socket": "Data_001",
"to_node": "Stethoscope MK2.005",
"to_socket": "Data"
},
{
"from_node": "Vector Math",
"from_socket": "Out",
"to_node": "List Item Insert",
"to_socket": "Data"
},
{
"from_node": "List Item",
"from_socket": "Other_001",
"to_node": "List Item Insert",
"to_socket": "Item"
},
{
"from_node": "List Input",
"from_socket": "List",
"to_node": "List Item Insert",
"to_socket": "Index"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment