diff --git a/json_examples/Advanced/Genetic_algorithm_simple.json b/json_examples/Advanced/Genetic_algorithm_simple.json index 6a54d096be..7fb5a8e3ad 100644 --- a/json_examples/Advanced/Genetic_algorithm_simple.json +++ b/json_examples/Advanced/Genetic_algorithm_simple.json @@ -704,75 +704,52 @@ } }, "properties": { - "mode": "float_list", - "int_": 9, - "float_list": [ - 0.11999999731779099, - 0.05999999865889549, - 2.5799999237060547, - 0.3100000023841858, - 2.8499999046325684, - 2.059999942779541, - 1.090000033378601, - 1.0299999713897705, - 0.11999999731779099, - 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.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 + "list_items_type": "FLOAT_LIST_MODE", + "float_list_counter": 9, + "float_list_items": [ + {"elem":0.11999999731779099}, + {"elem":0.05999999865889549}, + {"elem":2.5799999237060547}, + {"elem":0.3100000023841858}, + {"elem":2.8499999046325684}, + {"elem":2.059999942779541}, + {"elem":1.090000033378601}, + {"elem":1.0299999713897705}, + {"elem":0.11999999731779099} ], "int_list": [ - 0, - 3, - 21, - 0, - 21, - 3, - 1, - 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 + {"elem":0}, + {"elem":3}, + {"elem":21}, + {"elem":0}, + {"elem":21}, + {"elem":3}, + {"elem":1}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0} ] }, "outputs": { @@ -780,8 +757,18 @@ "bl_idname": "SvStringsSocket", "name": "List" } + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } }, - "bl_idname": "SvListInputNode" + "bl_idname": "SvListInputNodeMK2" }, "Note": { "attributes": { diff --git a/json_examples/Architecture/BIM_truss_joint.json b/json_examples/Architecture/BIM_truss_joint.json index f1ddb6b176..3c1b383ed8 100644 --- a/json_examples/Architecture/BIM_truss_joint.json +++ b/json_examples/Architecture/BIM_truss_joint.json @@ -7593,41 +7593,26 @@ } }, "properties": { - "int_": 17, - "mode": "float_list", - "float_list": [ - 0.029999999329447746, - 0.029999999329447746, - 0.029999999329447746, - 0.03999999910593033, - 0.029999999329447746, - 0.029999999329447746, - 0.03999999910593033, - 0.029999999329447746, - 0.029999999329447746, - 0.03999999910593033, - 0.029999999329447746, - 0.03999999910593033, - 0.029999999329447746, - 0.019999999552965164, - 0.019999999552965164, - 0.019999999552965164, - 0.019999999552965164, - 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.0 + "list_items_type": "FLOAT_LIST_MODE", + "float_list_counter": 17, + "float_list_items": [ + {"elem":0.029999999329447746}, + {"elem":0.029999999329447746}, + {"elem":0.029999999329447746}, + {"elem":0.03999999910593033}, + {"elem":0.029999999329447746}, + {"elem":0.029999999329447746}, + {"elem":0.03999999910593033}, + {"elem":0.029999999329447746}, + {"elem":0.029999999329447746}, + {"elem":0.03999999910593033}, + {"elem":0.029999999329447746}, + {"elem":0.03999999910593033}, + {"elem":0.029999999329447746}, + {"elem":0.019999999552965164}, + {"elem":0.019999999552965164}, + {"elem":0.019999999552965164}, + {"elem":0.019999999552965164} ], "draw_3dpanel": true }, @@ -7637,7 +7622,17 @@ "name": "List" } }, - "bl_idname": "SvListInputNode" + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "bl_idname": "SvListInputNodeMK2" }, "Vector Polar Output": { "attributes": { @@ -8689,41 +8684,14 @@ } }, "properties": { - "int_": 5, - "mode": "float_list", - "float_list": [ - 0.03999999910593033, - 0.019999999552965164, - 0.05000000074505806, - 0.019999999552965164, - 0.019999999552965164, - 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.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 + "list_items_type": "FLOAT_LIST_MODE", + "float_list_counter": 5, + "float_list_items": [ + {"elem":0.03999999910593033}, + {"elem":0.019999999552965164}, + {"elem":0.05000000074505806}, + {"elem":0.019999999552965164}, + {"elem":0.019999999552965164} ], "draw_3dpanel": true }, @@ -8733,7 +8701,17 @@ "name": "List" } }, - "bl_idname": "SvListInputNode" + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "bl_idname": "SvListInputNodeMK2" }, "List Input": { "attributes": { @@ -8748,41 +8726,14 @@ } }, "properties": { - "int_": 5, - "mode": "float_list", - "float_list": [ - 70.0, - 180.0, - 253.8699951171875, - 304.8900146484375, - 6.9900007247924805, - 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.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 + "list_items_type": "FLOAT_LIST_MODE", + "float_list_counter": 5, + "float_list_items": [ + {"elem":70.0}, + {"elem":180.0}, + {"elem":253.8699951171875}, + {"elem":304.8900146484375}, + {"elem":6.9900007247924805} ], "draw_3dpanel": true }, @@ -8792,7 +8743,17 @@ "name": "List" } }, - "bl_idname": "SvListInputNode" + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "bl_idname": "SvListInputNodeMK2" }, "Text In+": { "attributes": { diff --git a/json_examples/Architecture/Fasade_from_surfaces.json b/json_examples/Architecture/Fasade_from_surfaces.json index 3864e4d7d3..82e003ede5 100644 --- a/json_examples/Architecture/Fasade_from_surfaces.json +++ b/json_examples/Architecture/Fasade_from_surfaces.json @@ -2154,6 +2154,10 @@ "bl_idname": "ZipNode" }, "List Input": { + "bl_idname": "SvListInputNodeMK2", + "custom_socket_props": {}, + "height": 100.0, + "hide": false, "attributes": { "location": [ 1420.0, @@ -2166,41 +2170,11 @@ } }, "properties": { - "int_": 2, - "mode": "float_list", - "float_list": [ - 0.20000000298023224, - -0.30000001192092896, - 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.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, - 0.0 + "list_items_type": "FLOAT_LIST_MODE", + "float_list_counter": 2, + "float_list_items": [ + {"elem": 0.20000000298023224}, + {"elem": -0.30000001192092896} ], "draw_3dpanel": true }, @@ -2210,7 +2184,16 @@ "name": "List" } }, - "bl_idname": "SvListInputNode" + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + } }, "A Number.002": { "attributes": { @@ -2261,43 +2244,16 @@ } }, "properties": { - "int_": 6, - "mode": "float_list", - "float_list": [ - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.5, - 0.800000011920929, - 1.5, - 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.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], - "draw_3dpanel": true + "list_items_type": "FLOAT_LIST_MODE", + "float_list_counter": 6, + "float_list_items": [ + {"elem": 0.10000000149011612}, + {"elem": 0.20000000298023224}, + {"elem": 0.30000001192092896}, + {"elem": 0.5}, + {"elem": 0.800000011920929}, + {"elem": 1.5} + ] }, "outputs": { "List": { @@ -2305,7 +2261,17 @@ "name": "List" } }, - "bl_idname": "SvListInputNode" + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "bl_idname": "SvListInputNodeMK2" }, "A Number": { "attributes": { diff --git a/json_examples/Architecture/Tensile_Cover.json b/json_examples/Architecture/Tensile_Cover.json index 7ac2b17815..6d919f6506 100644 --- a/json_examples/Architecture/Tensile_Cover.json +++ b/json_examples/Architecture/Tensile_Cover.json @@ -1,1043 +1,2197 @@ { - "export_version": "0.10", - "framed_nodes": {}, - "groups": {}, - "nodes": { - "3pt Arc": { - "bl_idname": "svBasicArcNode", - "color": [ - 0.0, - 0.5, - 0.5 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 771.2139892578125, - -768.0457763671875 - ], - "params": { - "num_verts": 128 - }, - "use_custom_color": true, - "width": 140.0 - }, - "A Number": { - "bl_idname": "SvNumberNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 774.5885009765625, - -906.98291015625 - ], - "params": { - "float_": 1.0099999904632568 - }, - "width": 140.0 - }, - "Curve Viewer": { - "bl_idname": "SvCurveViewerNodeV28", - "color": [ - 1.0, - 0.30000001192092896, - 0.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2130.222900390625, - -253.8050079345703 - ], - "params": { - "basedata_name": "Tensors", - "depth": 0.10000000149011612, - "object_select": false - }, - "use_custom_color": true, - "width": 140.0 - }, - "Line": { - "bl_idname": "SvLineNodeMK4", - "color": [ - 0.0, - 0.5, - 0.5 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1881.4774169921875, - -264.89697265625 - ], - "params": { - "direction": "OD" - }, - "use_custom_color": true, - "width": 140.0 - }, - "List Input": { - "bl_idname": "SvListInputNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "Pin List", - "location": [ - -207.8728485107422, - -217.38880920410156 - ], - "params": { - "int_": 6, - "int_list": [ - 0, - 1, - 2, - 5, - 6, - 4, - 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 - ] - }, - "width": 140.0 - }, - "List Input.001": { - "bl_idname": "SvListInputNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "Pin split", - "location": [ - -207.8728485107422, - -475.57794189453125 - ], - "params": { - "int_": 6, - "int_list": [ - 0, - 1, - 1, - 0, - 1, - 1, - 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 - ] - }, - "width": 140.0 - }, - "List Input.002": { - "bl_idname": "SvListInputNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 421.470703125, - -856.1739501953125 - ], - "params": { - "int_": 3, - "int_list": [ - 0, - 1, - 3, - 2, - 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 - ] - }, - "width": 140.0 - }, - "List Input.003": { - "bl_idname": "SvListInputNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 979.9804077148438, - -928.244384765625 - ], - "params": { - "int_": 2, - "int_list": [ - 0, - 180, - 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, - 0 - ] - }, - "width": 140.0 - }, - "List Item": { - "bl_idname": "SvListItemNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 609.845703125, - -766.492919921875 - ], - "params": {}, - "width": 140.0 - }, - "List Item.002": { - "bl_idname": "SvListItemNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 16.375446319580078, - -278.7489318847656 - ], - "params": {}, - "width": 140.0 - }, - "List Item.003": { - "bl_idname": "SvListItemNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 393.3372497558594, - 472.56988525390625 - ], - "params": {}, - "width": 140.0 - }, - "List Mask (Out).001": { - "bl_idname": "MaskListNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": true, - "label": "", - "location": [ - 1008.141357421875, - -423.2999572753906 - ], - "params": { - "Level": 2 - }, - "width": 140.0 - }, - "List Mask (Out).002": { - "bl_idname": "MaskListNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": true, - "label": "", - "location": [ - 1017.4197998046875, - -340.83056640625 - ], - "params": { - "Level": 2 - }, - "width": 140.0 - }, - "Math MK2": { - "bl_idname": "SvScalarMathNodeMK4", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 550.5531005859375, - 472.56988525390625 - ], - "params": { - "y_": 0.5800000429153442 - }, - "width": 140.0 - }, - "Math MK2.001": { - "bl_idname": "SvScalarMathNodeMK4", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1506.8905029296875, - -60.17683410644531 - ], - "params": { - "current_op": "SINE" - }, - "width": 140.0 - }, - "Math MK2.002": { - "bl_idname": "SvScalarMathNodeMK4", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1680.4859619140625, - -106.64553833007812 - ], - "params": { - "current_op": "DIV" - }, - "width": 140.0 - }, - "Matrix In": { - "bl_idname": "SvMatrixInNodeMK4", - "custom_socket_props": { - "0": { - "expanded": true - } - }, - "height": 100.0, - "hide": false, - "label": "Elevated Pins Matrix", - "location": [ - -207.8728485107422, - -723.6800537109375 - ], - "params": { - "location_": [ - 0.0, - 0.0, - 10.0 - ] - }, - "width": 140.0 - }, - "Matrix In.001": { - "bl_idname": "SvMatrixInNodeMK4", - "custom_socket_props": {}, - "height": 100.0, - "hide": true, - "label": "", - "location": [ - 229.70703125, - -572.1517944335938 - ], - "params": {}, - "width": 140.0 - }, - "Matrix In.002": { - "bl_idname": "SvMatrixInNodeMK4", - "custom_socket_props": {}, - "height": 100.0, - "hide": true, - "label": "", - "location": [ - 1129.7581787109375, - -894.1826171875 - ], - "params": { - "angle": 90.0 - }, - "width": 140.0 - }, - "Mesh Viewer": { - "bl_idname": "SvMeshViewer", - "color": [ - 1.0, - 0.5889999866485596, - 0.21400000154972076 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1061.188720703125, - 333.53466796875 - ], - "params": { - "base_data_name": "Tensile Cover" - }, - "use_custom_color": true, - "width": 140.0 - }, - "Mesh Viewer.001": { - "bl_idname": "SvMeshViewer", - "color": [ - 1.0, - 0.30000001192092896, - 0.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1585.782958984375, - -607.4110717773438 - ], - "params": { - "base_data_name": "Arches" - }, - "use_custom_color": true, - "width": 140.0 - }, - "Path Length Mk2": { - "bl_idname": "SvPathLengthMk2Node", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 214.44064331054688, - 472.56988525390625 - ], - "params": {}, - "width": 140.0 - }, - "Polygon Grid": { - "bl_idname": "SvPolygonGridNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "Base Polygon Grid", - "location": [ - -211.82144165039062, - 132.7971954345703 - ], - "params": { - "gridType": "TRIANGLE", - "numx": 2, - "numy": 3, - "radius": 8.0 - }, - "width": 170.0 - }, - "Pulga Physics.001": { - "bl_idname": "SvPulgaPhysicsNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 734.7672729492188, - 281.56048583984375 - ], - "params": { - "drag_M": true, - "drag_force": 0.029999999329447746, - "is_animatable": false, - "iterations": 224, - "max_vel": 0.0, - "n_id": "-8252612226580586797", - "pins_M": true, - "spring_k": 0.019999999552965164, - "springs_M": true - }, - "width": 200.0 - }, - "Reroute": { - "bl_idname": "NodeReroute", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 625.296142578125, - -511.2069396972656 - ], - "params": {}, - "width": 16.0 - }, - "Reroute.002": { - "bl_idname": "NodeReroute", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 958.3682861328125, - 315.803955078125 - ], - "params": {}, - "width": 16.0 - }, - "Reroute.003": { - "bl_idname": "NodeReroute", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 233.83367919921875, - 315.803955078125 - ], - "params": {}, - "width": 16.0 - }, - "Solidify.001": { - "bl_idname": "SvSolidifyNodeMk2", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1323.2630615234375, - -566.1970825195312 - ], - "params": {}, - "width": 140.0 - }, - "Subdivide": { - "bl_idname": "SvSubdivideNodeMK2", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 18.563705444335938, - 256.0939025878906 - ], - "params": { - "cuts": 8 - }, - "width": 140.0 - }, - "Transform Select": { - "bl_idname": "SvTransformSelectNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 356.117919921875, - -162.89027404785156 - ], - "params": {}, - "width": 140.0 - }, - "UV Connection": { - "bl_idname": "LineConnectNodeMK2", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1102.8614501953125, - -617.4725952148438 - ], - "params": { - "dir_check": "V_dir", - "slice_check": false - }, - "width": 140.0 - }, - "Vector Math": { - "bl_idname": "SvVectorMathNodeMK3", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1338.8482666015625, - -41.62611389160156 - ], - "params": { - "current_op": "ANGLE_RAD", - "socket_info": "vv s" - }, - "width": 140.0 - }, - "Vector Math.001": { - "bl_idname": "SvVectorMathNodeMK3", - "custom_socket_props": {}, - "height": 100.0, - "hide": true, - "label": "", - "location": [ - 937.04638671875, - -873.6484375 - ], - "params": { - "amount": 1.0099999904632568, - "current_op": "SCALAR", - "socket_info": "vs v" - }, - "width": 140.0 - }, - "Vector Rewire": { - "bl_idname": "SvVectorRewire", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1169.88916015625, - -35.26878356933594 - ], - "params": { - "scalar": -0.1600002497434616, - "selected_mode_from": "Scalar" - }, - "width": 140.0 - }, - "Vector Rewire.001": { - "bl_idname": "SvVectorRewire", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1162.1392822265625, - -176.45098876953125 - ], - "params": { - "selected_mode_from": "Scalar" - }, - "width": 140.0 + "export_version": "1.0", + "main_tree": { + "nodes": { + "3pt Arc": { + "attributes": { + "location": [ + 771.2139892578125, + -768.0457763671875 + ], + "color": [ + 0.0, + 0.5, + 0.5 + ], + "use_custom_color": true + }, + "properties": { + "num_verts": 128 + }, + "inputs": { + "num_verts": { + "bl_idname": "SvStringsSocket", + "name": "num_verts", + "properties": { + "prop_name": "num_verts" + } + }, + "arc_pts": { + "bl_idname": "SvVerticesSocket", + "name": "arc_pts" + } + }, + "outputs": { + "Verts": { + "bl_idname": "SvVerticesSocket", + "name": "Verts" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + } + }, + "bl_idname": "svBasicArcNode" + }, + "A Number": { + "attributes": { + "location": [ + 774.5885009765625, + -906.98291015625 + ] + }, + "properties": { + "float_": 1.0099999904632568 + }, + "inputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "prop_name": "float_" + } + } + }, + "outputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "custom_draw": "mode_custom_draw" + } + } + }, + "bl_idname": "SvNumberNode" + }, + "Curve Viewer": { + "attributes": { + "location": [ + 2130.222900390625, + -253.8050079345703 + ], + "color": [ + 1.0, + 0.30000001192092896, + 0.0 + ], + "use_custom_color": true + }, + "properties": { + "basedata_name": "Tensors", + "depth": 0.10000000149011612, + "object_select": false + }, + "inputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "edges": { + "bl_idname": "SvStringsSocket", + "name": "edges" + }, + "matrix": { + "bl_idname": "SvMatrixSocket", + "name": "matrix" + } + }, + "bl_idname": "SvCurveViewerNodeV28" + }, + "Line": { + "attributes": { + "location": [ + 1881.4774169921875, + -264.89697265625 + ], + "color": [ + 0.0, + 0.5, + 0.5 + ], + "use_custom_color": true + }, + "properties": { + "direction": "OD" + }, + "inputs": { + "Num": { + "bl_idname": "SvStringsSocket", + "name": "Num", + "properties": { + "prop_name": "num" + } + }, + "Steps": { + "bl_idname": "SvStringsSocket", + "name": "Steps", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "step" + } + }, + "Size": { + "bl_idname": "SvStringsSocket", + "name": "Size", + "properties": { + "prop_name": "size" + } + }, + "Origin": { + "bl_idname": "SvVerticesSocket", + "name": "Origin", + "properties": { + "prop_name": "v3_origin" + } + }, + "Direction": { + "bl_idname": "SvVerticesSocket", + "name": "Direction", + "properties": { + "prop_name": "v3_dir" + } + } + }, + "outputs": { + "Verts": { + "bl_idname": "SvVerticesSocket", + "name": "Verts" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + } + }, + "bl_idname": "SvLineNodeMK4" + }, + "List Item": { + "attributes": { + "location": [ + 609.845703125, + -766.492919921875 + ] + }, + "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" + }, + "List Item.002": { + "attributes": { + "location": [ + 16.375446319580078, + -278.7489318847656 + ] + }, + "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" + }, + "List Item.003": { + "attributes": { + "location": [ + 393.3372497558594, + 472.56988525390625 + ] + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + }, + "Index": { + "bl_idname": "SvStringsSocket", + "name": "Index", + "properties": { + "prop_name": "index" + } + } + }, + "outputs": { + "Item": { + "bl_idname": "SvStringsSocket", + "name": "Item" + }, + "Other": { + "bl_idname": "SvStringsSocket", + "name": "Other" + } + }, + "bl_idname": "SvListItemNode" + }, + "List Mask (Out).001": { + "attributes": { + "location": [ + 1008.141357421875, + -423.2999572753906 + ], + "hide": true + }, + "properties": { + "Level": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + } + }, + "outputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + }, + "ind_true": { + "bl_idname": "SvStringsSocket", + "name": "ind_true" + }, + "ind_false": { + "bl_idname": "SvStringsSocket", + "name": "ind_false" + }, + "dataTrue_001": { + "bl_idname": "SvVerticesSocket", + "name": "dataTrue" + }, + "dataFalse_001": { + "bl_idname": "SvVerticesSocket", + "name": "dataFalse" + } + }, + "bl_idname": "MaskListNode" + }, + "List Mask (Out).002": { + "attributes": { + "location": [ + 1017.4197998046875, + -340.83056640625 + ], + "hide": true + }, + "properties": { + "Level": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + } + }, + "outputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + }, + "ind_true": { + "bl_idname": "SvStringsSocket", + "name": "ind_true" + }, + "ind_false": { + "bl_idname": "SvStringsSocket", + "name": "ind_false" + }, + "dataTrue_001": { + "bl_idname": "SvVerticesSocket", + "name": "dataTrue" + }, + "dataFalse_001": { + "bl_idname": "SvVerticesSocket", + "name": "dataFalse" + } + }, + "bl_idname": "MaskListNode" + }, + "Math MK2": { + "attributes": { + "location": [ + 550.5531005859375, + 472.56988525390625 + ] + }, + "properties": { + "y_": 0.5800000429153442 + }, + "inputs": { + "x": { + "bl_idname": "SvStringsSocket", + "name": "x", + "properties": { + "prop_name": "x_" + } + }, + "y": { + "bl_idname": "SvStringsSocket", + "name": "y", + "properties": { + "prop_name": "y_" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvStringsSocket", + "name": "Out" + } + }, + "bl_idname": "SvScalarMathNodeMK4" + }, + "Math MK2.001": { + "attributes": { + "location": [ + 1506.8905029296875, + -60.17683410644531 + ] + }, + "properties": { + "current_op": "SINE" + }, + "inputs": { + "x": { + "bl_idname": "SvStringsSocket", + "name": "x", + "properties": { + "prop_name": "x_" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvStringsSocket", + "name": "Out" + } + }, + "bl_idname": "SvScalarMathNodeMK4" + }, + "Math MK2.002": { + "attributes": { + "location": [ + 1680.4859619140625, + -106.64553833007812 + ] + }, + "properties": { + "current_op": "DIV" + }, + "inputs": { + "x": { + "bl_idname": "SvStringsSocket", + "name": "x", + "properties": { + "prop_name": "x_" + } + }, + "y": { + "bl_idname": "SvStringsSocket", + "name": "y", + "properties": { + "prop_name": "y_" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvStringsSocket", + "name": "Out" + } + }, + "bl_idname": "SvScalarMathNodeMK4" + }, + "Matrix In.001": { + "attributes": { + "location": [ + 229.70703125, + -572.1517944335938 + ], + "hide": true + }, + "inputs": { + "Location": { + "bl_idname": "SvVerticesSocket", + "name": "Location", + "properties": { + "prop_name": "location_" + } + }, + "Scale": { + "bl_idname": "SvVerticesSocket", + "name": "Scale", + "properties": { + "prop_name": "scale" + } + }, + "Quaternion": { + "bl_idname": "SvQuaternionSocket", + "name": "Quaternion", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "quaternion" + } + }, + "Angle X": { + "bl_idname": "SvStringsSocket", + "name": "Angle X", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_x" + } + }, + "Angle Y": { + "bl_idname": "SvStringsSocket", + "name": "Angle Y", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_y" + } + }, + "Angle Z": { + "bl_idname": "SvStringsSocket", + "name": "Angle Z", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_z" + } + }, + "Axis": { + "bl_idname": "SvVerticesSocket", + "name": "Axis", + "properties": { + "prop_name": "axis" + } + }, + "Angle": { + "bl_idname": "SvStringsSocket", + "name": "Angle", + "properties": { + "prop_name": "angle" + } + } + }, + "outputs": { + "Matrices": { + "bl_idname": "SvMatrixSocket", + "name": "Matrices" + } + }, + "bl_idname": "SvMatrixInNodeMK4" + }, + "Matrix In.002": { + "attributes": { + "location": [ + 1129.7581787109375, + -894.1826171875 + ], + "hide": true + }, + "properties": { + "angle": 90.0 + }, + "inputs": { + "Location": { + "bl_idname": "SvVerticesSocket", + "name": "Location", + "properties": { + "prop_name": "location_" + } + }, + "Scale": { + "bl_idname": "SvVerticesSocket", + "name": "Scale", + "properties": { + "prop_name": "scale" + } + }, + "Quaternion": { + "bl_idname": "SvQuaternionSocket", + "name": "Quaternion", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "quaternion" + } + }, + "Angle X": { + "bl_idname": "SvStringsSocket", + "name": "Angle X", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_x" + } + }, + "Angle Y": { + "bl_idname": "SvStringsSocket", + "name": "Angle Y", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_y" + } + }, + "Angle Z": { + "bl_idname": "SvStringsSocket", + "name": "Angle Z", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_z" + } + }, + "Axis": { + "bl_idname": "SvVerticesSocket", + "name": "Axis", + "properties": { + "prop_name": "axis" + } + }, + "Angle": { + "bl_idname": "SvStringsSocket", + "name": "Angle", + "properties": { + "prop_name": "angle" + } + } + }, + "outputs": { + "Matrices": { + "bl_idname": "SvMatrixSocket", + "name": "Matrices" + } + }, + "bl_idname": "SvMatrixInNodeMK4" + }, + "Mesh Viewer": { + "attributes": { + "location": [ + 1061.188720703125, + 333.53466796875 + ], + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true + }, + "properties": { + "base_data_name": "Tensile Cover" + }, + "inputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "edges": { + "bl_idname": "SvStringsSocket", + "name": "edges", + "properties": { + "custom_draw": "draw_edges_props" + } + }, + "faces": { + "bl_idname": "SvStringsSocket", + "name": "faces" + }, + "material_idx": { + "bl_idname": "SvStringsSocket", + "name": "material_idx" + }, + "matrix": { + "bl_idname": "SvMatrixSocket", + "name": "matrix", + "properties": { + "custom_draw": "draw_matrix_props" + } + } + }, + "outputs": { + "Objects": { + "bl_idname": "SvObjectSocket", + "name": "Objects" + } + }, + "bl_idname": "SvMeshViewer" + }, + "Mesh Viewer.001": { + "attributes": { + "location": [ + 1585.782958984375, + -607.4110717773438 + ], + "color": [ + 1.0, + 0.30000001192092896, + 0.0 + ], + "use_custom_color": true + }, + "properties": { + "base_data_name": "Arches" + }, + "inputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "edges": { + "bl_idname": "SvStringsSocket", + "name": "edges", + "properties": { + "custom_draw": "draw_edges_props" + } + }, + "faces": { + "bl_idname": "SvStringsSocket", + "name": "faces" + }, + "material_idx": { + "bl_idname": "SvStringsSocket", + "name": "material_idx" + }, + "matrix": { + "bl_idname": "SvMatrixSocket", + "name": "matrix", + "properties": { + "custom_draw": "draw_matrix_props" + } + } + }, + "outputs": { + "Objects": { + "bl_idname": "SvObjectSocket", + "name": "Objects" + } + }, + "bl_idname": "SvMeshViewer" + }, + "Polygon Grid": { + "attributes": { + "location": [ + -211.82144165039062, + 132.7971954345703 + ], + "width": 170.0, + "label": "Base Polygon Grid" + }, + "properties": { + "gridType": "TRIANGLE", + "numx": 2, + "numy": 3, + "radius": 8.0 + }, + "inputs": { + "Radius": { + "bl_idname": "SvStringsSocket", + "name": "Radius", + "properties": { + "prop_name": "radius" + } + }, + "Scale": { + "bl_idname": "SvStringsSocket", + "name": "Scale", + "properties": { + "prop_name": "scale" + } + }, + "Angle": { + "bl_idname": "SvStringsSocket", + "name": "Angle", + "properties": { + "prop_name": "angle" + } + }, + "NumX": { + "bl_idname": "SvStringsSocket", + "name": "NumX", + "properties": { + "prop_name": "numx" + } + }, + "NumY": { + "bl_idname": "SvStringsSocket", + "name": "NumY", + "properties": { + "prop_name": "numy" + } + } + }, + "outputs": { + "Centers": { + "bl_idname": "SvVerticesSocket", + "name": "Centers" + }, + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + } + }, + "bl_idname": "SvPolygonGridNode" + }, + "Pulga Physics.001": { + "attributes": { + "location": [ + 734.7672729492188, + 281.56048583984375 + ], + "width": 200.0 + }, + "properties": { + "is_animatable": false, + "drag_M": true, + "drag_force": 0.029999999329447746, + "iterations": 224, + "max_vel": 0.0, + "n_id": "-8252612226580586797", + "pins_M": true, + "spring_k": 0.019999999552965164, + "springs_M": true + }, + "inputs": { + "Initial_Pos": { + "bl_idname": "SvVerticesSocket", + "name": "Initial_Pos" + }, + "Iterations": { + "bl_idname": "SvStringsSocket", + "name": "Iterations", + "properties": { + "prop_name": "iterations" + } + }, + "Springs": { + "bl_idname": "SvStringsSocket", + "name": "Springs" + }, + "fixed_len": { + "bl_idname": "SvStringsSocket", + "name": "fixed_len", + "properties": { + "prop_name": "fixed_len" + } + }, + "spring_k": { + "bl_idname": "SvStringsSocket", + "name": "spring_k", + "properties": { + "prop_name": "spring_k" + } + }, + "Pins": { + "bl_idname": "SvStringsSocket", + "name": "Pins" + }, + "Pins Goal Position": { + "bl_idname": "SvVerticesSocket", + "name": "Pins Goal Position" + }, + "rads_in": { + "bl_idname": "SvStringsSocket", + "name": "rads_in", + "properties": { + "prop_name": "rads_in" + } + }, + "self_collision": { + "bl_idname": "SvStringsSocket", + "name": "self_collision", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "self_collision" + } + }, + "self_attract": { + "bl_idname": "SvStringsSocket", + "name": "self_attract", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "self_attract" + } + }, + "attract_decay": { + "bl_idname": "SvStringsSocket", + "name": "attract_decay", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "attract_decay" + } + }, + "grow": { + "bl_idname": "SvStringsSocket", + "name": "grow", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "grow" + } + }, + "min_rad": { + "bl_idname": "SvStringsSocket", + "name": "min_rad", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "min_rad" + } + }, + "max_rad": { + "bl_idname": "SvStringsSocket", + "name": "max_rad", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "max_rad" + } + }, + "Pols": { + "bl_idname": "SvStringsSocket", + "name": "Pols", + "attributes": { + "hide": true + } + }, + "inflate": { + "bl_idname": "SvStringsSocket", + "name": "inflate", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "inflate" + } + }, + "Initial Velocity": { + "bl_idname": "SvVerticesSocket", + "name": "Initial Velocity", + "properties": { + "prop_name": "initial_vel" + } + }, + "max_vel": { + "bl_idname": "SvStringsSocket", + "name": "max_vel", + "properties": { + "prop_name": "max_vel" + } + }, + "drag_force": { + "bl_idname": "SvStringsSocket", + "name": "drag_force", + "properties": { + "prop_name": "drag_force" + } + }, + "Attractors": { + "bl_idname": "SvVerticesSocket", + "name": "Attractors", + "attributes": { + "hide": true + } + }, + "att_force": { + "bl_idname": "SvStringsSocket", + "name": "att_force", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "att_force" + } + }, + "att_clamp": { + "bl_idname": "SvStringsSocket", + "name": "att_clamp", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "att_clamp" + } + }, + "att_decay_power": { + "bl_idname": "SvStringsSocket", + "name": "att_decay_power", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "att_decay_power" + } + }, + "random_seed": { + "bl_idname": "SvStringsSocket", + "name": "random_seed", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "random_seed" + } + }, + "random_force": { + "bl_idname": "SvStringsSocket", + "name": "random_force", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "random_force" + } + }, + "random_variation": { + "bl_idname": "SvStringsSocket", + "name": "random_variation", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "random_variation" + } + }, + "Density": { + "bl_idname": "SvStringsSocket", + "name": "Density", + "properties": { + "prop_name": "density" + } + }, + "Gravity": { + "bl_idname": "SvVerticesSocket", + "name": "Gravity", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "gravity" + } + }, + "Wind": { + "bl_idname": "SvVerticesSocket", + "name": "Wind", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "wind" + } + }, + "Bounding Box": { + "bl_idname": "SvVerticesSocket", + "name": "Bounding Box", + "attributes": { + "hide": true + } + }, + "Obstacles": { + "bl_idname": "SvVerticesSocket", + "name": "Obstacles", + "attributes": { + "hide": true + } + }, + "Obstacles_pols": { + "bl_idname": "SvStringsSocket", + "name": "Obstacles_pols", + "attributes": { + "hide": true + } + }, + "obstacles_bounce": { + "bl_idname": "SvStringsSocket", + "name": "obstacles_bounce", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "obstacles_bounce" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Rads": { + "bl_idname": "SvStringsSocket", + "name": "Rads", + "attributes": { + "hide": true + } + }, + "Velocity": { + "bl_idname": "SvVerticesSocket", + "name": "Velocity" + }, + "Pins Reactions": { + "bl_idname": "SvVerticesSocket", + "name": "Pins Reactions" + } + }, + "bl_idname": "SvPulgaPhysicsNode" + }, + "Solidify.001": { + "attributes": { + "location": [ + 1323.2630615234375, + -566.1970825195312 + ] + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "Thickness": { + "bl_idname": "SvStringsSocket", + "name": "Thickness", + "properties": { + "prop_name": "thickness" + } + }, + "Offset": { + "bl_idname": "SvStringsSocket", + "name": "Offset", + "properties": { + "prop_name": "offset" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "New Pols": { + "bl_idname": "SvStringsSocket", + "name": "New Pols" + }, + "Rim Pols": { + "bl_idname": "SvStringsSocket", + "name": "Rim Pols" + }, + "Pols Group": { + "bl_idname": "SvStringsSocket", + "name": "Pols Group" + }, + "New Verts Mask": { + "bl_idname": "SvStringsSocket", + "name": "New Verts Mask" + } + }, + "bl_idname": "SvSolidifyNodeMk2" + }, + "Subdivide": { + "attributes": { + "location": [ + 18.563705444335938, + 256.0939025878906 + ] + }, + "properties": { + "cuts": 8 + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "EdgeMask": { + "bl_idname": "SvStringsSocket", + "name": "EdgeMask" + }, + "Cuts": { + "bl_idname": "SvStringsSocket", + "name": "Cuts", + "properties": { + "prop_name": "cuts" + } + }, + "Smooth": { + "bl_idname": "SvStringsSocket", + "name": "Smooth", + "properties": { + "prop_name": "smooth" + } + }, + "Fractal": { + "bl_idname": "SvStringsSocket", + "name": "Fractal", + "properties": { + "prop_name": "fractal" + } + }, + "AlongNormal": { + "bl_idname": "SvStringsSocket", + "name": "AlongNormal", + "properties": { + "prop_name": "along_normal" + } + }, + "Seed": { + "bl_idname": "SvStringsSocket", + "name": "Seed", + "properties": { + "prop_name": "seed" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "NewVertices": { + "bl_idname": "SvVerticesSocket", + "name": "NewVertices", + "attributes": { + "hide": true + } + }, + "NewEdges": { + "bl_idname": "SvStringsSocket", + "name": "NewEdges", + "attributes": { + "hide": true + } + }, + "NewFaces": { + "bl_idname": "SvStringsSocket", + "name": "NewFaces", + "attributes": { + "hide": true + } + }, + "OldVertices": { + "bl_idname": "SvVerticesSocket", + "name": "OldVertices", + "attributes": { + "hide": true + } + }, + "OldEdges": { + "bl_idname": "SvStringsSocket", + "name": "OldEdges", + "attributes": { + "hide": true + } + }, + "OldFaces": { + "bl_idname": "SvStringsSocket", + "name": "OldFaces", + "attributes": { + "hide": true + } + } + }, + "bl_idname": "SvSubdivideNodeMK2" + }, + "Transform Select": { + "attributes": { + "location": [ + 356.117919921875, + -162.89027404785156 + ] + }, + "inputs": { + "Mask": { + "bl_idname": "SvStringsSocket", + "name": "Mask" + }, + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "PolyEdge": { + "bl_idname": "SvStringsSocket", + "name": "PolyEdge" + }, + "Matrix T": { + "bl_idname": "SvMatrixSocket", + "name": "Matrix T" + }, + "Matrix F": { + "bl_idname": "SvMatrixSocket", + "name": "Matrix F" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "PolyEdge": { + "bl_idname": "SvStringsSocket", + "name": "PolyEdge" + }, + "PolyEdge O": { + "bl_idname": "SvStringsSocket", + "name": "PolyEdge O" + }, + "Vertices T": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices T" + }, + "PolyEdge T": { + "bl_idname": "SvStringsSocket", + "name": "PolyEdge T" + }, + "Vertices F": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices F" + }, + "PolyEdge F": { + "bl_idname": "SvStringsSocket", + "name": "PolyEdge F" + } + }, + "bl_idname": "SvTransformSelectNode" + }, + "UV Connection": { + "attributes": { + "location": [ + 1102.8614501953125, + -617.4725952148438 + ] + }, + "properties": { + "dir_check": "V_dir", + "slice_check": false + }, + "inputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "vertices 1": { + "bl_idname": "SvVerticesSocket", + "name": "vertices 1" + }, + "vertices 2": { + "bl_idname": "SvVerticesSocket", + "name": "vertices 2" + } + }, + "outputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "LineConnectNodeMK2" + }, + "Vector Math": { + "attributes": { + "location": [ + 1338.8482666015625, + -41.62611389160156 + ] + }, + "properties": { + "current_op": "ANGLE_RAD", + "socket_info": "vv s" + }, + "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" + } + } + }, + "outputs": { + "Out_001": { + "bl_idname": "SvStringsSocket", + "name": "Out" + } + }, + "bl_idname": "SvVectorMathNodeMK3" + }, + "Vector Math.001": { + "attributes": { + "location": [ + 937.04638671875, + -873.6484375 + ], + "hide": true + }, + "properties": { + "amount": 1.0099999904632568, + "current_op": "SCALAR", + "socket_info": "vs v" + }, + "inputs": { + "A": { + "bl_idname": "SvVerticesSocket", + "name": "A", + "properties": { + "prop_name": "v3_input_0" + } + }, + "B": { + "bl_idname": "SvStringsSocket", + "name": "B", + "properties": { + "prop_name": "amount" + } + } + }, + "outputs": { + "Out_001": { + "bl_idname": "SvVerticesSocket", + "name": "Out" + } + }, + "bl_idname": "SvVectorMathNodeMK3" + }, + "Vector Rewire": { + "attributes": { + "location": [ + 1169.88916015625, + -35.26878356933594 + ] + }, + "properties": { + "scalar": -0.1600002497434616, + "selected_mode_from": "Scalar" + }, + "inputs": { + "Vectors": { + "bl_idname": "SvVerticesSocket", + "name": "Vectors" + }, + "Scalar": { + "bl_idname": "SvStringsSocket", + "name": "Scalar", + "properties": { + "prop_name": "scalar" + } + } + }, + "outputs": { + "Vectors": { + "bl_idname": "SvVerticesSocket", + "name": "Vectors" + } + }, + "bl_idname": "SvVectorRewire" + }, + "Vector Rewire.001": { + "attributes": { + "location": [ + 1162.1392822265625, + -176.45098876953125 + ] + }, + "properties": { + "selected_mode_from": "Scalar" + }, + "inputs": { + "Vectors": { + "bl_idname": "SvVerticesSocket", + "name": "Vectors" + }, + "Scalar": { + "bl_idname": "SvStringsSocket", + "name": "Scalar", + "properties": { + "prop_name": "scalar" + } + } + }, + "outputs": { + "Vectors": { + "bl_idname": "SvVerticesSocket", + "name": "Vectors" + } + }, + "bl_idname": "SvVectorRewire" + }, + "Vector Out": { + "attributes": { + "location": [ + 1494.76171875, + -176.2838134765625 + ], + "width": 100.0 + }, + "inputs": { + "Vectors": { + "bl_idname": "SvVerticesSocket", + "name": "Vectors" + } + }, + "outputs": { + "X": { + "bl_idname": "SvStringsSocket", + "name": "X" + }, + "Y": { + "bl_idname": "SvStringsSocket", + "name": "Y" + }, + "Z": { + "bl_idname": "SvStringsSocket", + "name": "Z" + } + }, + "bl_idname": "VectorsOutNode" + }, + "List Input.004": { + "attributes": { + "location": [ + -283.12445068359375, + -250.69046020507812 + ], + "width": 260.0, + "label": "Pin List" + }, + "properties": { + "int_list_items": [ + {}, + { + "elem": 1 + }, + { + "elem": 2 + }, + { + "elem": 5 + }, + { + "elem": 6 + }, + { + "elem": 4 + } + ], + "int_list_counter": 6 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input": { + "attributes": { + "location": [ + -288.51995849609375, + -580.180419921875 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {}, + { + "elem": 1 + }, + {}, + {}, + { + "elem": 1 + }, + { + "elem": 1 + } + ], + "int_list_counter": 6 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "Matrix In": { + "attributes": { + "location": [ + -180.35989379882812, + -923.0443115234375 + ], + "label": "Elevated Pins Matrix" + }, + "properties": { + "location_": [ + 0.0, + 0.0, + 10.0 + ] + }, + "inputs": { + "Location": { + "bl_idname": "SvVerticesSocket", + "name": "Location", + "properties": { + "prop_name": "location_", + "expanded": true + } + }, + "Scale": { + "bl_idname": "SvVerticesSocket", + "name": "Scale", + "properties": { + "prop_name": "scale" + } + }, + "Quaternion": { + "bl_idname": "SvQuaternionSocket", + "name": "Quaternion", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "quaternion" + } + }, + "Angle X": { + "bl_idname": "SvStringsSocket", + "name": "Angle X", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_x" + } + }, + "Angle Y": { + "bl_idname": "SvStringsSocket", + "name": "Angle Y", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_y" + } + }, + "Angle Z": { + "bl_idname": "SvStringsSocket", + "name": "Angle Z", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "angle_z" + } + }, + "Axis": { + "bl_idname": "SvVerticesSocket", + "name": "Axis", + "properties": { + "prop_name": "axis" + } + }, + "Angle": { + "bl_idname": "SvStringsSocket", + "name": "Angle", + "properties": { + "prop_name": "angle" + } + } + }, + "outputs": { + "Matrices": { + "bl_idname": "SvMatrixSocket", + "name": "Matrices" + } + }, + "bl_idname": "SvMatrixInNodeMK4" + }, + "List Input.005": { + "attributes": { + "location": [ + 312.2486572265625, + -857.3452758789062 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {}, + { + "elem": 1 + }, + { + "elem": 3 + } + ], + "int_list_counter": 3 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.006": { + "attributes": { + "location": [ + 822.7200927734375, + -1023.1342163085938 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {}, + { + "elem": 180 + } + ], + "int_list_counter": 2 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "Path Length Mk2": { + "attributes": { + "location": [ + 214.44064331054688, + 515.1373291015625 + ] + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + } + }, + "outputs": { + "SegmentLength": { + "bl_idname": "SvStringsSocket", + "name": "SegmentLength" + }, + "TotalLength": { + "bl_idname": "SvStringsSocket", + "name": "TotalLength" + }, + "CumulativeSum": { + "bl_idname": "SvStringsSocket", + "name": "CumulativeSum" + }, + "CumulativeSum1": { + "bl_idname": "SvStringsSocket", + "name": "CumulativeSum1" + } + }, + "bl_idname": "SvPathLengthMk2Node" + } }, - "Vector Out": { - "bl_idname": "VectorsOutNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1494.76171875, - -176.2838134765625 - ], - "params": {}, - "width": 140.0 - } - }, - "update_lists": [ - [ - "List Item", - 0, - "3pt Arc", - 1 - ], - [ - "Line", - 0, - "Curve Viewer", - 0 - ], - [ - "Line", - 1, - "Curve Viewer", - 1 - ], - [ - "Math MK2.002", - 0, - "Line", - 2 - ], - [ - "List Mask (Out).001", - 3, - "Line", - 3 - ], - [ - "Vector Rewire", - 0, - "Line", - 4 - ], - [ - "Transform Select", - 0, - "List Item", - 0 - ], - [ - "List Input.002", - 0, - "List Item", - 1 - ], - [ - "Polygon Grid", - 1, - "List Item.002", - 0 - ], - [ - "List Input", - 0, - "List Item.002", - 1 - ], - [ - "Path Length Mk2", - 0, - "List Item.003", - 0 - ], - [ - "Transform Select", - 0, - "List Mask (Out).001", - 0 - ], - [ - "Reroute", - "Output", - "List Mask (Out).001", - "mask" - ], - [ - "Pulga Physics.001", - 3, - "List Mask (Out).002", - 0 - ], - [ - "Reroute", - "Output", - "List Mask (Out).002", - "mask" - ], - [ - "List Item.003", - 0, - "Math MK2", - 0 - ], - [ - "Vector Math", - 0, - "Math MK2.001", - 0 - ], - [ - "Vector Out", - 2, - "Math MK2.002", - 0 - ], - [ - "Math MK2.001", - 0, - "Math MK2.002", - 1 - ], - [ - "List Input.003", - 0, - "Matrix In.002", - 7 - ], - [ - "Pulga Physics.001", - 0, - "Mesh Viewer", - 0 - ], - [ - "Reroute.002", - "Output", - "Mesh Viewer", - "faces" - ], - [ - "Solidify.001", - 0, - "Mesh Viewer.001", - 0 - ], - [ - "Solidify.001", - 2, - "Mesh Viewer.001", - 2 - ], - [ - "Matrix In.002", - 0, - "Mesh Viewer.001", - 4 - ], - [ - "Subdivide", - 0, - "Path Length Mk2", - 0 - ], - [ - "Subdivide", - 1, - "Path Length Mk2", - 1 - ], - [ - "Subdivide", - 0, - "Pulga Physics.001", - 0 - ], - [ - "Subdivide", - 1, - "Pulga Physics.001", - 2 - ], - [ - "Math MK2", - 0, - "Pulga Physics.001", - 3 - ], - [ - "List Input", - 0, - "Pulga Physics.001", - 5 - ], - [ - "Transform Select", - 0, - "Pulga Physics.001", - 6 - ], - [ - "List Input.001", - "List", - "Reroute", - "Input" - ], - [ - "Reroute.003", - "Output", - "Reroute.002", - "Input" - ], - [ - "Subdivide", - "Faces", - "Reroute.003", - "Input" - ], - [ - "Polygon Grid", - 1, - "Subdivide", - 0 - ], - [ - "Polygon Grid", - 2, - "Subdivide", - 1 - ], - [ - "Polygon Grid", - 3, - "Subdivide", - 2 - ], - [ - "List Input.001", - 0, - "Transform Select", - 0 - ], - [ - "List Item.002", - 0, - "Transform Select", - 1 - ], - [ - "Polygon Grid", - 3, - "Transform Select", - 2 - ], - [ - "Matrix In", - 0, - "Transform Select", - 3 - ], - [ - "Matrix In.001", - 0, - "Transform Select", - 4 - ], - [ - "3pt Arc", - 0, - "UV Connection", - 0 - ], - [ - "Vector Math.001", - 0, - "UV Connection", - 1 - ], - [ - "Vector Rewire", - 0, - "Vector Math", - 0 - ], - [ - "Vector Rewire.001", - 0, - "Vector Math", - 1 - ], - [ - "3pt Arc", - 0, - "Vector Math.001", - 0 - ], - [ - "A Number", - 0, - "Vector Math.001", - 1 - ], - [ - "List Mask (Out).002", - 3, - "Vector Rewire", - 0 - ], - [ - "List Mask (Out).002", - 3, - "Vector Rewire.001", - 0 - ], - [ - "List Mask (Out).001", - 3, - "Vector Out", - 0 - ], - [ - "UV Connection", - 0, - "Solidify.001", - 0 - ], - [ - "UV Connection", - 1, - "Solidify.001", - 2 + "links": [ + { + "from_node": "List Item", + "from_socket": "Item_001", + "to_node": "3pt Arc", + "to_socket": "arc_pts" + }, + { + "from_node": "Line", + "from_socket": "Verts", + "to_node": "Curve Viewer", + "to_socket": "vertices" + }, + { + "from_node": "Line", + "from_socket": "Edges", + "to_node": "Curve Viewer", + "to_socket": "edges" + }, + { + "from_node": "Math MK2.002", + "from_socket": "Out", + "to_node": "Line", + "to_socket": "Size" + }, + { + "from_node": "List Mask (Out).001", + "from_socket": "dataTrue_001", + "to_node": "Line", + "to_socket": "Origin" + }, + { + "from_node": "Vector Rewire", + "from_socket": "Vectors", + "to_node": "Line", + "to_socket": "Direction" + }, + { + "from_node": "Transform Select", + "from_socket": "Vertices", + "to_node": "List Item", + "to_socket": "Data" + }, + { + "from_node": "List Input.005", + "from_socket": "data_output", + "to_node": "List Item", + "to_socket": "Index" + }, + { + "from_node": "Polygon Grid", + "from_socket": "Vertices", + "to_node": "List Item.002", + "to_socket": "Data" + }, + { + "from_node": "List Input.004", + "from_socket": "data_output", + "to_node": "List Item.002", + "to_socket": "Index" + }, + { + "from_node": "Path Length Mk2", + "from_socket": "SegmentLength", + "to_node": "List Item.003", + "to_socket": "Data" + }, + { + "from_node": "Transform Select", + "from_socket": "Vertices", + "to_node": "List Mask (Out).001", + "to_socket": "data" + }, + { + "from_node": "List Input", + "from_socket": "data_output", + "to_node": "List Mask (Out).001", + "to_socket": "mask" + }, + { + "from_node": "Pulga Physics.001", + "from_socket": "Pins Reactions", + "to_node": "List Mask (Out).002", + "to_socket": "data" + }, + { + "from_node": "List Input", + "from_socket": "data_output", + "to_node": "List Mask (Out).002", + "to_socket": "mask" + }, + { + "from_node": "List Item.003", + "from_socket": "Item", + "to_node": "Math MK2", + "to_socket": "x" + }, + { + "from_node": "Vector Math", + "from_socket": "Out_001", + "to_node": "Math MK2.001", + "to_socket": "x" + }, + { + "from_node": "Vector Out", + "from_socket": "Z", + "to_node": "Math MK2.002", + "to_socket": "x" + }, + { + "from_node": "Math MK2.001", + "from_socket": "Out", + "to_node": "Math MK2.002", + "to_socket": "y" + }, + { + "from_node": "List Input.006", + "from_socket": "data_output", + "to_node": "Matrix In.002", + "to_socket": "Angle" + }, + { + "from_node": "Pulga Physics.001", + "from_socket": "Vertices", + "to_node": "Mesh Viewer", + "to_socket": "vertices" + }, + { + "from_node": "Subdivide", + "from_socket": "Faces", + "to_node": "Mesh Viewer", + "to_socket": "faces" + }, + { + "from_node": "Solidify.001", + "from_socket": "Vertices", + "to_node": "Mesh Viewer.001", + "to_socket": "vertices" + }, + { + "from_node": "Solidify.001", + "from_socket": "Polygons", + "to_node": "Mesh Viewer.001", + "to_socket": "faces" + }, + { + "from_node": "Matrix In.002", + "from_socket": "Matrices", + "to_node": "Mesh Viewer.001", + "to_socket": "matrix" + }, + { + "from_node": "Subdivide", + "from_socket": "Vertices", + "to_node": "Pulga Physics.001", + "to_socket": "Initial_Pos" + }, + { + "from_node": "Subdivide", + "from_socket": "Edges", + "to_node": "Pulga Physics.001", + "to_socket": "Springs" + }, + { + "from_node": "Math MK2", + "from_socket": "Out", + "to_node": "Pulga Physics.001", + "to_socket": "fixed_len" + }, + { + "from_node": "List Input.004", + "from_socket": "data_output", + "to_node": "Pulga Physics.001", + "to_socket": "Pins" + }, + { + "from_node": "Transform Select", + "from_socket": "Vertices", + "to_node": "Pulga Physics.001", + "to_socket": "Pins Goal Position" + }, + { + "from_node": "UV Connection", + "from_socket": "vertices", + "to_node": "Solidify.001", + "to_socket": "Vertices" + }, + { + "from_node": "UV Connection", + "from_socket": "data", + "to_node": "Solidify.001", + "to_socket": "Polygons" + }, + { + "from_node": "Polygon Grid", + "from_socket": "Vertices", + "to_node": "Subdivide", + "to_socket": "Vertices" + }, + { + "from_node": "Polygon Grid", + "from_socket": "Edges", + "to_node": "Subdivide", + "to_socket": "Edges" + }, + { + "from_node": "Polygon Grid", + "from_socket": "Polygons", + "to_node": "Subdivide", + "to_socket": "Faces" + }, + { + "from_node": "List Input", + "from_socket": "data_output", + "to_node": "Transform Select", + "to_socket": "Mask" + }, + { + "from_node": "List Item.002", + "from_socket": "Item_001", + "to_node": "Transform Select", + "to_socket": "Vertices" + }, + { + "from_node": "Polygon Grid", + "from_socket": "Polygons", + "to_node": "Transform Select", + "to_socket": "PolyEdge" + }, + { + "from_node": "Matrix In", + "from_socket": "Matrices", + "to_node": "Transform Select", + "to_socket": "Matrix T" + }, + { + "from_node": "Matrix In.001", + "from_socket": "Matrices", + "to_node": "Transform Select", + "to_socket": "Matrix F" + }, + { + "from_node": "3pt Arc", + "from_socket": "Verts", + "to_node": "UV Connection", + "to_socket": "vertices" + }, + { + "from_node": "Vector Math.001", + "from_socket": "Out_001", + "to_node": "UV Connection", + "to_socket": "vertices 1" + }, + { + "from_node": "Vector Rewire", + "from_socket": "Vectors", + "to_node": "Vector Math", + "to_socket": "A" + }, + { + "from_node": "Vector Rewire.001", + "from_socket": "Vectors", + "to_node": "Vector Math", + "to_socket": "B" + }, + { + "from_node": "3pt Arc", + "from_socket": "Verts", + "to_node": "Vector Math.001", + "to_socket": "A" + }, + { + "from_node": "A Number", + "from_socket": "Float", + "to_node": "Vector Math.001", + "to_socket": "B" + }, + { + "from_node": "List Mask (Out).002", + "from_socket": "dataTrue_001", + "to_node": "Vector Rewire", + "to_socket": "Vectors" + }, + { + "from_node": "List Mask (Out).002", + "from_socket": "dataTrue_001", + "to_node": "Vector Rewire.001", + "to_socket": "Vectors" + }, + { + "from_node": "List Mask (Out).001", + "from_socket": "dataTrue_001", + "to_node": "Vector Out", + "to_socket": "Vectors" + }, + { + "from_node": "Subdivide", + "from_socket": "Vertices", + "to_node": "Path Length Mk2", + "to_socket": "Vertices" + }, + { + "from_node": "Subdivide", + "from_socket": "Edges", + "to_node": "Path Length Mk2", + "to_socket": "Edges" + } ] - ] + } } \ No newline at end of file diff --git a/json_examples/CNC/CNC_CUTHOLES_RESIZE.json b/json_examples/CNC/CNC_CUTHOLES_RESIZE.json index a0469c208b..33b48901f7 100644 --- a/json_examples/CNC/CNC_CUTHOLES_RESIZE.json +++ b/json_examples/CNC/CNC_CUTHOLES_RESIZE.json @@ -1,1852 +1,2180 @@ { - "export_version": "1.0", - "main_tree": { - "nodes": { - "Frame.002": { - "attributes": { - "location": [-40.529541015625, -89.1334228515625], - "height": 686.0, - "width": 211.0, - "color": [0.6079999804496765, 0.6079999804496765, 0.6079999804496765], - "use_custom_color": true - }, - "bl_idname": "NodeFrame" - }, - "Frame.004": { - "attributes": { - "location": [199.54443359375, -30.0751953125], - "height": 741.0, - "width": 212.8695068359375, - "label": "INPUT", - "color": [0.6079999804496765, 0.6079999804496765, 0.6079999804496765], - "use_custom_color": true - }, - "bl_idname": "NodeFrame" - }, - "Frame.001": { - "attributes": { - "location": [-182.71636962890625, -360.34259033203125], - "height": 419.0, - "width": 3492.0, - "label": "resize", - "color": [0.6079999804496765, 0.6079999804496765, 0.6079999804496765], - "use_custom_color": true - }, - "bl_idname": "NodeFrame" - }, - "Frame.003": { - "attributes": { - "location": [-757.480712890625, 348.94573974609375], - "height": 179.0, - "width": 395.999755859375, - "label": "JOIN", - "color": [0.6079999804496765, 0.6079999804496765, 0.6079999804496765], - "use_custom_color": true, - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "bl_idname": "NodeFrame" - }, - "Frame.005": { - "attributes": { - "location": [-30.447509765625, -160.383056640625], - "height": 640.0, - "width": 921.8760986328125, - "label": "Separator", - "color": [0.6079999804496765, 0.6079999804496765, 0.6079999804496765], - "use_custom_color": true - }, - "bl_idname": "NodeFrame" - }, - "Frame": { - "attributes": { - "location": [342.7701416015625, -86.19775390625], - "height": 132.76284790039062, - "width": 78.71234130859375, - "label": " ", - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "bl_idname": "NodeFrame" - }, - "Note": { - "attributes": { - "location": [-596.9955444335938, 296.3813171386719], - "width": 425.6143798828125, - "color": [1.0, 0.8993440270423889, 0.9742509722709656], - "use_custom_color": true - }, - "properties": { - "n_id": "-8088682792411434885", - "text": "Nikitron 2020 | CHANGE HOLES SIZE v.4. go 3D, find sverchok panel, press Scanforprops, select your flat 2D mesh, press Get object, set enlargement" - }, - "inputs": { - "Text In": { - "bl_idname": "SvStringsSocket", - "name": "Text In" - } - }, - "outputs": { - "Text Out": { - "bl_idname": "SvStringsSocket", - "name": "Text Out" - } - }, - "bl_idname": "NoteNode" - }, - "List Join.002": { - "attributes": { - "location": [-858.7364501953125, 14.95672607421875], - "parent": { - "type": "NODE", - "value": "Frame.002" - } - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "data 1": { - "bl_idname": "SvStringsSocket", - "name": "data 1" - }, - "data 2": { - "bl_idname": "SvStringsSocket", - "name": "data 2" - } - }, - "outputs": { - "data": { - "bl_idname": "SvVerticesSocket", - "name": "data" - } - }, - "bl_idname": "ListJoinNode" - }, - "List Join.003": { - "attributes": { - "location": [-869.9449462890625, -199.19415283203125], - "parent": { - "type": "NODE", - "value": "Frame.002" - } - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "data 1": { - "bl_idname": "SvStringsSocket", - "name": "data 1" - }, - "data 2": { - "bl_idname": "SvStringsSocket", - "name": "data 2" - } - }, - "outputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - } - }, - "bl_idname": "ListJoinNode" - }, - "List Join.004": { - "attributes": { - "location": [-869.9449462890625, -411.9028625488281], - "parent": { - "type": "NODE", - "value": "Frame.002" - } - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "data 1": { - "bl_idname": "SvStringsSocket", - "name": "data 1" - }, - "data 2": { - "bl_idname": "SvStringsSocket", - "name": "data 2" - } - }, - "outputs": { - "data": { - "bl_idname": "SvMatrixSocket", - "name": "data" - } - }, - "bl_idname": "ListJoinNode" - }, - "Objects in Lite": { - "attributes": { - "location": [-1159.4932861328125, 31.40472412109375], - "width": 152.8695068359375, - "color": [0.904932975769043, 1.0, 0.883421003818512], - "use_custom_color": true, - "parent": { - "type": "NODE", - "value": "Frame.004" - } - }, - "properties": { - "obj_name": "Plane", - "currently_storing": true - }, - "advanced_properties": { - "geom": "{\"Vertices\": [-0.30000001192092896, -0.8205968141555786, 0.0, 0.30000001192092896, -0.8205968141555786, 0.0, -0.30000001192092896, -0.2205967903137207, 0.0, 0.30000001192092896, -0.2205967903137207, 0.0, 0.009999988600611687, -0.7905968427658081, 0.0, 0.27000001072883606, -0.7905968427658081, 0.0, 0.009999988600611687, -0.7605968117713928, 0.0, 0.27000001072883606, -0.7605968117713928, 0.0, -0.27000001072883606, -0.7905968427658081, 0.0, -0.009999992325901985, -0.7905968427658081, 0.0, -0.27000001072883606, -0.7605968117713928, 0.0, -0.009999992325901985, -0.7605968117713928, 0.0, -0.27000001072883606, -0.2805967926979065, 0.0, -0.009999992325901985, -0.2805967926979065, 0.0, -0.27000001072883606, -0.2505967915058136, 0.0, -0.009999992325901985, -0.2505967915058136, 0.0, 0.009999990463256836, -0.2805967926979065, 0.0, 0.27000001072883606, -0.2805967926979065, 0.0, 0.009999990463256836, -0.2505967915058136, 0.0, 0.27000001072883606, -0.2505967915058136, 0.0, 0.1119685024023056, -0.6434217691421509, 0.0, 0.19640550017356873, -0.3975144624710083, 0.0, 0.08359458297491074, -0.6336790323257446, 0.0, 0.16803158819675446, -0.38777172565460205, 0.0, -0.11355002224445343, -0.6455967426300049, 0.0, -0.11355002224445343, -0.38559675216674805, 0.0, -0.14355002343654633, -0.6455967426300049, 0.0, -0.14355002343654633, -0.38559675216674805, 0.0], \"Edges\": [0, 2, 0, 1, 1, 3, 2, 3, 4, 6, 4, 5, 5, 7, 6, 7, 8, 10, 8, 9, 9, 11, 10, 11, 12, 14, 12, 13, 13, 15, 14, 15, 16, 18, 16, 17, 17, 19, 18, 19, 20, 22, 20, 21, 21, 23, 22, 23, 24, 26, 24, 25, 25, 27, 26, 27], \"Polygons\": [], \"MaterialIdx\": [], \"Matrix\": [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]}" - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Polygons": { - "bl_idname": "SvStringsSocket", - "name": "Polygons" - }, - "MaterialIdx": { - "bl_idname": "SvStringsSocket", - "name": "MaterialIdx" - }, - "Matrix": { - "bl_idname": "SvMatrixSocket", - "name": "Matrix" - } - }, - "bl_idname": "SvObjInLite" - }, - "Objects in Lite.001": { - "attributes": { - "location": [-1159.4932861328125, -273.8104553222656], - "width": 152.8695068359375, - "color": [0.904932975769043, 1.0, 0.883421003818512], - "use_custom_color": true, - "parent": { - "type": "NODE", - "value": "Frame.004" - } - }, - "properties": { - "obj_name": "BezierCircle", - "currently_storing": true - }, - "advanced_properties": { - "geom": "{\"Vertices\": [-0.3317485451698303, -0.13539576530456543, 0.0, -0.3317485451698303, 0.28313302993774414, 0.0, 0.13632792234420776, 0.28313302993774414, 0.0, 0.13632792234420776, -0.13539576530456543, 0.0, 0.07718795537948608, 0.19313311576843262, 0.0, 0.07718795537948608, 0.22313308715820312, 0.0, -0.021665304899215698, 0.22313308715820312, 0.0, -0.021665304899215698, 0.19313311576843262, 0.0, -0.17412114143371582, 0.22313308715820312, 0.0, -0.17412114143371582, 0.19313311576843262, 0.0, -0.07526788115501404, 0.19313311576843262, 0.0, -0.07526788115501404, 0.22313308715820312, 0.0, -0.10259544849395752, -0.006459210067987442, 0.0, -0.12380863726139069, 0.014753971248865128, 0.0, -0.0539088249206543, 0.08465377986431122, 0.0, -0.03269564360380173, 0.06344059854745865, 0.0], \"Edges\": [0, 1, 1, 2, 2, 3, 0, 3, 4, 5, 5, 6, 6, 7, 4, 7, 8, 9, 9, 10, 10, 11, 8, 11, 12, 13, 13, 14, 14, 15, 12, 15], \"Polygons\": [], \"MaterialIdx\": [], \"Matrix\": [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]}" - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Polygons": { - "bl_idname": "SvStringsSocket", - "name": "Polygons" - }, - "MaterialIdx": { - "bl_idname": "SvStringsSocket", - "name": "MaterialIdx" - }, - "Matrix": { - "bl_idname": "SvMatrixSocket", - "name": "Matrix" - } - }, - "bl_idname": "SvObjInLite" - }, - "A Number": { - "attributes": { - "location": [-1158.04296875, -574.8478393554688], - "label": "New size", - "parent": { - "type": "NODE", - "value": "Frame.004" - } - }, - "properties": { - "float_": 0.03399999812245369, - "float_min": 0.0010000000474974513, - "float_max": 0.11999999731779099 - }, - "inputs": { - "Float": { - "bl_idname": "SvStringsSocket", - "name": "Float", - "properties": { - "prop_name": "float_" - } - } - }, - "outputs": { - "Float": { - "bl_idname": "SvStringsSocket", - "name": "Float", - "properties": { - "custom_draw": "mode_custom_draw" - } - } - }, - "bl_idname": "SvNumberNode" - }, - "Mesh Join": { - "attributes": { - "location": [3252.2099609375, -34.215057373046875], - "parent": { - "type": "NODE", - "value": "Frame.003" - } - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "PolyEdge": { - "bl_idname": "SvStringsSocket", - "name": "PolyEdge" - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "PolyEdge": { - "bl_idname": "SvStringsSocket", - "name": "PolyEdge", - "properties": { - "label": "Edges" - } - } - }, - "bl_idname": "SvMeshJoinNode" - }, - "List Join.001": { - "attributes": { - "location": [3056.2744140625, -120.31011962890625], - "hide": true, - "parent": { - "type": "NODE", - "value": "Frame.003" - } - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "data 1": { - "bl_idname": "SvStringsSocket", - "name": "data 1" - }, - "data 2": { - "bl_idname": "SvStringsSocket", - "name": "data 2" - } - }, - "outputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - } - }, - "bl_idname": "ListJoinNode" - }, - "List Join": { - "attributes": { - "location": [3057.95458984375, -52.08905029296875], - "hide": true, - "parent": { - "type": "NODE", - "value": "Frame.003" - } - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "data 1": { - "bl_idname": "SvStringsSocket", - "name": "data 1" - }, - "data 2": { - "bl_idname": "SvStringsSocket", - "name": "data 2" - } - }, - "outputs": { - "data": { - "bl_idname": "SvVerticesSocket", - "name": "data" - } - }, - "bl_idname": "ListJoinNode" - }, - "List Input.002": { - "attributes": { - "location": [2254.3541870117188, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "int_": 4, - "int_list": [-1, -1, 1, 1, 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" - }, - "List Input.003": { - "attributes": { - "location": [2413.2936401367188, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "int_": 4, - "int_list": [-1, 1, 1, -1, 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" - }, - "UV Connection": { - "attributes": { - "location": [2835.6434936523438, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "polygons": "Edges" - }, - "inputs": { - "vertices": { - "bl_idname": "SvVerticesSocket", - "name": "vertices" - }, - "vertices 1": { - "bl_idname": "SvVerticesSocket", - "name": "vertices 1" - } - }, - "outputs": { - "vertices": { - "bl_idname": "SvVerticesSocket", - "name": "vertices" - }, - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - } - }, - "bl_idname": "LineConnectNodeMK2" - }, - "Evaluate Surface": { - "attributes": { - "location": [2605.9579467773438, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "samples_v": 3, - "samples_u": 3, - "eval_mode": "EXPLICIT", - "u_value": 0.0, - "v_value": 0.0 - }, - "inputs": { - "Surface": { - "bl_idname": "SvSurfaceSocket", - "name": "Surface" - }, - "U": { - "bl_idname": "SvStringsSocket", - "name": "U", - "properties": { - "prop_name": "u_value" - } - }, - "V": { - "bl_idname": "SvStringsSocket", - "name": "V", - "properties": { - "prop_name": "v_value" - } - }, - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices", - "attributes": { - "hide": true - } - }, - "SamplesU": { - "bl_idname": "SvStringsSocket", - "name": "SamplesU", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "samples_u" - } - }, - "SamplesV": { - "bl_idname": "SvStringsSocket", - "name": "SamplesV", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "samples_v" - } - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges", - "attributes": { - "hide": true - } - }, - "Faces": { - "bl_idname": "SvStringsSocket", - "name": "Faces", - "attributes": { - "hide": true - } - } - }, - "bl_idname": "SvExEvalSurfaceNode" - }, - "Vector Math.001": { - "attributes": { - "location": [1895.5534057617188, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "current_op": "ADD" - }, - "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" - } - } - }, - "outputs": { - "Out": { - "bl_idname": "SvVerticesSocket", - "name": "Out" - } - }, - "bl_idname": "SvVectorMathNodeMK3" - }, - "List Split": { - "attributes": { - "location": [818.4948120117188, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "inputs": { - "Data": { - "bl_idname": "SvStringsSocket", - "name": "Data" - }, - "Split": { - "bl_idname": "SvStringsSocket", - "name": "Split", - "properties": { - "prop_name": "split" - } - } - }, - "outputs": { - "Split": { - "bl_idname": "SvVerticesSocket", - "name": "Split" - } - }, - "bl_idname": "SvListSplitNode" - }, - "Vector Math.003": { - "attributes": { - "location": [1684.1213989257812, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "current_op": "SCALAR", - "socket_info": "vs v", - "amount": 0.017999999225139618 - }, - "inputs": { - "A": { - "bl_idname": "SvVerticesSocket", - "name": "A", - "properties": { - "prop_name": "v3_input_0" - } - }, - "B": { - "bl_idname": "SvStringsSocket", - "name": "B", - "properties": { - "prop_name": "amount" - } - } - }, - "outputs": { - "Out": { - "bl_idname": "SvVerticesSocket", - "name": "Out" - } - }, - "bl_idname": "SvVectorMathNodeMK3" - }, - "Rotate": { - "attributes": { - "location": [1262.5001831054688, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "angle_": 90.0 - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Centers": { - "bl_idname": "SvVerticesSocket", - "name": "Centers", - "properties": { - "prop_name": "centers_" - } - }, - "Axis": { - "bl_idname": "SvVerticesSocket", - "name": "Axis", - "properties": { - "prop_name": "axis_" - } - }, - "Angle": { - "bl_idname": "SvStringsSocket", - "name": "Angle", - "properties": { - "prop_name": "angle_" - } - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - } - }, - "bl_idname": "SvRotationNodeMk3" - }, - "Vector Math.002": { - "attributes": { - "location": [1464.1213989257812, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "current_op": "NORMALIZE", - "socket_info": "v v" - }, - "inputs": { - "A": { - "bl_idname": "SvVerticesSocket", - "name": "A", - "properties": { - "prop_name": "v3_input_0" - } - } - }, - "outputs": { - "Out": { - "bl_idname": "SvVerticesSocket", - "name": "Out" - } - }, - "bl_idname": "SvVectorMathNodeMK3" - }, - "Vector Math": { - "attributes": { - "location": [1042.5001831054688, 16.81280517578125], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "current_op": "SUB" - }, - "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" - } - } - }, - "outputs": { - "Out": { - "bl_idname": "SvVerticesSocket", - "name": "Out" - } - }, - "bl_idname": "SvVectorMathNodeMK3" - }, - "Separate Loose Parts MK2.001": { - "attributes": { - "location": [356.6583251953125, 19.879119873046875], - "width": 184.56304931640625, - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Poly Egde": { - "bl_idname": "SvStringsSocket", - "name": "Poly Egde" - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Poly Egde": { - "bl_idname": "SvStringsSocket", - "name": "Poly Egde" - }, - "Vert idx": { - "bl_idname": "SvStringsSocket", - "name": "Vert idx" - }, - "Poly Egde idx": { - "bl_idname": "SvStringsSocket", - "name": "Poly Egde idx" - } - }, - "bl_idname": "SvSeparateMeshNodeMK2" - }, - "Merge by Distance": { - "attributes": { - "location": [3472.2098999023438, -12.541229248046875], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "PolyEdge": { - "bl_idname": "SvStringsSocket", - "name": "PolyEdge" - }, - "FaceData": { - "bl_idname": "SvStringsSocket", - "name": "FaceData" - }, - "Mask": { - "bl_idname": "SvStringsSocket", - "name": "Mask" - }, - "Distance": { - "bl_idname": "SvStringsSocket", - "name": "Distance", - "properties": { - "prop_name": "distance" - } - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Polygons": { - "bl_idname": "SvStringsSocket", - "name": "Polygons" - }, - "FaceData": { - "bl_idname": "SvStringsSocket", - "name": "FaceData" - }, - "Doubles": { - "bl_idname": "SvVerticesSocket", - "name": "Doubles" - }, - "Mask": { - "bl_idname": "SvStringsSocket", - "name": "Mask" - } - }, - "bl_idname": "SvMergeByDistanceNode" - }, - "Plane (Surface)": { - "attributes": { - "location": [2086.3400268554688, 23.489990234375], - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "inputs": { - "Point1": { - "bl_idname": "SvVerticesSocket", - "name": "Point1", - "properties": { - "use_prop": true - } - }, - "Point2": { - "bl_idname": "SvVerticesSocket", - "name": "Point2", - "properties": { - "use_prop": true, - "prop": [1.0, 0.0, 0.0] - } - }, - "Point3": { - "bl_idname": "SvVerticesSocket", - "name": "Point3", - "properties": { - "use_prop": true, - "prop": [0.0, 1.0, 0.0] - } - }, - "Normal": { - "bl_idname": "SvVerticesSocket", - "name": "Normal", - "attributes": { - "hide": true - }, - "properties": { - "use_prop": true, - "prop": [0.0, 0.0, 1.0] - } - }, - "UMin": { - "bl_idname": "SvStringsSocket", - "name": "UMin", - "properties": { - "prop_name": "u_min" - } - }, - "UMax": { - "bl_idname": "SvStringsSocket", - "name": "UMax", - "properties": { - "prop_name": "u_max" - } - }, - "VMin": { - "bl_idname": "SvStringsSocket", - "name": "VMin", - "properties": { - "prop_name": "v_min" - } - }, - "VMax": { - "bl_idname": "SvStringsSocket", - "name": "VMax", - "properties": { - "prop_name": "v_max" - } - } - }, - "outputs": { - "Surface": { - "bl_idname": "SvSurfaceSocket", - "name": "Surface" - } - }, - "bl_idname": "SvExPlaneSurfaceNode" - }, - "Viewer BMesh": { - "attributes": { - "location": [3648.9257202148438, -22.78131103515625], - "color": [0.6284880042076111, 0.931007981300354, 1.0], - "use_custom_color": true, - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "basedata_name": "New_layuot", - "object_hide_select": true - }, - "inputs": { - "vertices": { - "bl_idname": "SvVerticesSocket", - "name": "vertices" - }, - "edges": { - "bl_idname": "SvStringsSocket", - "name": "edges" - }, - "faces": { - "bl_idname": "SvStringsSocket", - "name": "faces" - }, - "material_idx": { - "bl_idname": "SvStringsSocket", - "name": "material_idx" - }, - "matrix": { - "bl_idname": "SvMatrixSocket", - "name": "matrix" - } - }, - "outputs": { - "Objects": { - "bl_idname": "SvObjectSocket", - "name": "Objects" - } - }, - "bl_idname": "SvBmeshViewerNodeV28" - }, - "Matrix In": { - "attributes": { - "location": [3469.2421264648438, -310.9570007324219], - "label": "matrix", - "hide": true, - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "properties": { - "location_": [1.0, 0.0, 0.0] - }, - "inputs": { - "Location": { - "bl_idname": "SvVerticesSocket", - "name": "Location", - "properties": { - "prop_name": "location_", - "expanded": true - } - }, - "Scale": { - "bl_idname": "SvVerticesSocket", - "name": "Scale", - "properties": { - "prop_name": "scale" - } - }, - "Quaternion": { - "bl_idname": "SvQuaternionSocket", - "name": "Quaternion", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "quaternion" - } - }, - "Angle X": { - "bl_idname": "SvStringsSocket", - "name": "Angle X", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "angle_x" - } - }, - "Angle Y": { - "bl_idname": "SvStringsSocket", - "name": "Angle Y", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "angle_y" - } - }, - "Angle Z": { - "bl_idname": "SvStringsSocket", - "name": "Angle Z", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "angle_z" - } - }, - "Axis": { - "bl_idname": "SvVerticesSocket", - "name": "Axis", - "properties": { - "prop_name": "axis" - } - }, - "Angle": { - "bl_idname": "SvStringsSocket", - "name": "Angle", - "properties": { - "prop_name": "angle" - } - } - }, - "outputs": { - "Matrices": { - "bl_idname": "SvMatrixSocket", - "name": "Matrices" - } - }, - "bl_idname": "SvMatrixInNodeMK4" - }, - "Linear Approximation": { - "attributes": { - "location": [602.5003051757812, 16.81280517578125], - "width": 162.02984619140625, - "parent": { - "type": "NODE", - "value": "Frame.001" - } - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - } - }, - "outputs": { - "Center": { - "bl_idname": "SvVerticesSocket", - "name": "Center" - }, - "Normal": { - "bl_idname": "SvVerticesSocket", - "name": "Normal", - "attributes": { - "hide": true - } - }, - "Direction": { - "bl_idname": "SvVerticesSocket", - "name": "Direction" - }, - "Projections": { - "bl_idname": "SvVerticesSocket", - "name": "Projections" - }, - "Diffs": { - "bl_idname": "SvVerticesSocket", - "name": "Diffs" - }, - "Distances": { - "bl_idname": "SvStringsSocket", - "name": "Distances" - } - }, - "bl_idname": "SvLinearApproxNode" - }, - "Reroute.002": { - "attributes": { - "location": [212.8760986328125, -55.616451263427734], - "width": 16.0, - "label": "V", - "color": [0.602957010269165, 0.6740000247955322, 0.5642769932746887], - "use_custom_color": true, - "parent": { - "type": "NODE", - "value": "Frame" - } - }, - "inputs": { - "Input": { - "bl_idname": "NodeSocketColor", - "name": "Input" - } - }, - "outputs": { - "Output": { - "bl_idname": "NodeSocketColor", - "name": "Output" - } - }, - "bl_idname": "NodeReroute" - }, - "Reroute.001": { - "attributes": { - "location": [210.16375732421875, -112.37930297851562], - "width": 16.0, - "label": "E", - "color": [0.602957010269165, 0.6740000247955322, 0.5642769932746887], - "use_custom_color": true, - "parent": { - "type": "NODE", - "value": "Frame" - } - }, - "inputs": { - "Input": { - "bl_idname": "NodeSocketColor", - "name": "Input" - } - }, - "outputs": { - "Output": { - "bl_idname": "NodeSocketColor", - "name": "Output" - } - }, - "bl_idname": "NodeReroute" - }, - "List Slice": { - "attributes": { - "location": [-32.3677978515625, 23.18878173828125], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "stop": -2, - "level": 0 - }, - "inputs": { - "Data": { - "bl_idname": "SvStringsSocket", - "name": "Data" - }, - "Start": { - "bl_idname": "SvStringsSocket", - "name": "Start", - "properties": { - "prop_name": "start" - } - }, - "Stop": { - "bl_idname": "SvStringsSocket", - "name": "Stop", - "properties": { - "prop_name": "stop" - } - } - }, - "outputs": { - "Slice": { - "bl_idname": "SvVerticesSocket", - "name": "Slice" - }, - "Other": { - "bl_idname": "SvVerticesSocket", - "name": "Other" - } - }, - "bl_idname": "ListSliceNode" - }, - "List Slice.001": { - "attributes": { - "location": [-32.3677978515625, -152.22137451171875], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "stop": -2, - "level": 0 - }, - "inputs": { - "Data": { - "bl_idname": "SvStringsSocket", - "name": "Data" - }, - "Start": { - "bl_idname": "SvStringsSocket", - "name": "Start", - "properties": { - "prop_name": "start" - } - }, - "Stop": { - "bl_idname": "SvStringsSocket", - "name": "Stop", - "properties": { - "prop_name": "stop" - } - } - }, - "outputs": { - "Slice": { - "bl_idname": "SvStringsSocket", - "name": "Slice" - }, - "Other": { - "bl_idname": "SvStringsSocket", - "name": "Other" - } - }, - "bl_idname": "ListSliceNode" - }, - "List Sort.001": { - "attributes": { - "location": [-211.864501953125, -129.03619384765625], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "newsock": true - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "keys": { - "bl_idname": "SvStringsSocket", - "name": "keys" - } - }, - "outputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - } - }, - "bl_idname": "SvListSortNode" - }, - "List Sort": { - "attributes": { - "location": [-211.864501953125, 9.7769775390625], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "newsock": true - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "keys": { - "bl_idname": "SvStringsSocket", - "name": "keys" - } - }, - "outputs": { - "data": { - "bl_idname": "SvVerticesSocket", - "name": "data" - } - }, - "bl_idname": "SvListSortNode" + "export_version": "1.0", + "main_tree": { + "nodes": { + "Frame.002": { + "attributes": { + "location": [ + -40.529541015625, + -89.1334228515625 + ], + "height": 686.0, + "width": 211.0, + "color": [ + 0.6079999804496765, + 0.6079999804496765, + 0.6079999804496765 + ], + "use_custom_color": true + }, + "bl_idname": "NodeFrame" + }, + "Frame.004": { + "attributes": { + "location": [ + 199.54443359375, + -30.0751953125 + ], + "height": 761.0, + "width": 212.8695068359375, + "label": "INPUT", + "color": [ + 0.6079999804496765, + 0.6079999804496765, + 0.6079999804496765 + ], + "use_custom_color": true + }, + "bl_idname": "NodeFrame" + }, + "Frame.005": { + "attributes": { + "location": [ + -30.447509765625, + -160.383056640625 + ], + "height": 692.0, + "width": 921.8760986328125, + "label": "Separator", + "color": [ + 0.6079999804496765, + 0.6079999804496765, + 0.6079999804496765 + ], + "use_custom_color": true + }, + "bl_idname": "NodeFrame" + }, + "Frame": { + "attributes": { + "location": [ + 342.7701416015625, + -86.19775390625 + ], + "height": 142.76284790039062, + "width": 78.71234130859375, + "label": " ", + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "bl_idname": "NodeFrame" + }, + "Frame.001": { + "attributes": { + "location": [ + -182.71636962890625, + -360.34259033203125 + ], + "height": 454.0, + "width": 4000.0, + "label": "resize", + "color": [ + 0.6079999804496765, + 0.6079999804496765, + 0.6079999804496765 + ], + "use_custom_color": true + }, + "bl_idname": "NodeFrame" + }, + "Frame.003": { + "attributes": { + "location": [ + -341.59033203125, + 338.88824462890625 + ], + "height": 168.0, + "width": 202.0, + "label": "JOIN", + "color": [ + 0.6079999804496765, + 0.6079999804496765, + 0.6079999804496765 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "bl_idname": "NodeFrame" + }, + "Note": { + "attributes": { + "location": [ + -596.9955444335938, + 296.3813171386719 + ], + "width": 425.6143798828125, + "color": [ + 1.0, + 0.8993440270423889, + 0.9742509722709656 + ], + "use_custom_color": true + }, + "properties": { + "n_id": "-8088682792411434885", + "text": "Nikitron 2020 | CHANGE HOLES SIZE v.4. go 3D, find sverchok panel, press Scanforprops, select your flat 2D mesh, press Get object, set enlargement" + }, + "inputs": { + "Text In": { + "bl_idname": "SvStringsSocket", + "name": "Text In" + } + }, + "outputs": { + "Text Out": { + "bl_idname": "SvStringsSocket", + "name": "Text Out" + } + }, + "bl_idname": "NoteNode" + }, + "List Join.002": { + "attributes": { + "location": [ + -858.7364501953125, + 14.95672607421875 + ], + "parent": { + "type": "NODE", + "value": "Frame.002" + } + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvVerticesSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "List Join.003": { + "attributes": { + "location": [ + -869.9449462890625, + -199.19415283203125 + ], + "parent": { + "type": "NODE", + "value": "Frame.002" + } + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "List Join.004": { + "attributes": { + "location": [ + -869.9449462890625, + -411.9028625488281 + ], + "parent": { + "type": "NODE", + "value": "Frame.002" + } + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvMatrixSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "Objects in Lite": { + "attributes": { + "location": [ + -1159.4932861328125, + 31.40472412109375 + ], + "width": 152.8695068359375, + "color": [ + 0.904932975769043, + 1.0, + 0.883421003818512 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.004" + } + }, + "properties": { + "obj_name": "Plane", + "currently_storing": true + }, + "advanced_properties": { + "geom": "{\"Vertices\": [-0.30000001192092896, -0.8205968141555786, 0.0, 0.30000001192092896, -0.8205968141555786, 0.0, -0.30000001192092896, -0.2205967903137207, 0.0, 0.30000001192092896, -0.2205967903137207, 0.0, 0.009999988600611687, -0.7905968427658081, 0.0, 0.27000001072883606, -0.7905968427658081, 0.0, 0.009999988600611687, -0.7605968117713928, 0.0, 0.27000001072883606, -0.7605968117713928, 0.0, -0.27000001072883606, -0.7905968427658081, 0.0, -0.009999992325901985, -0.7905968427658081, 0.0, -0.27000001072883606, -0.7605968117713928, 0.0, -0.009999992325901985, -0.7605968117713928, 0.0, -0.27000001072883606, -0.2805967926979065, 0.0, -0.009999992325901985, -0.2805967926979065, 0.0, -0.27000001072883606, -0.2505967915058136, 0.0, -0.009999992325901985, -0.2505967915058136, 0.0, 0.009999990463256836, -0.2805967926979065, 0.0, 0.27000001072883606, -0.2805967926979065, 0.0, 0.009999990463256836, -0.2505967915058136, 0.0, 0.27000001072883606, -0.2505967915058136, 0.0, 0.1119685024023056, -0.6434217691421509, 0.0, 0.19640550017356873, -0.3975144624710083, 0.0, 0.08359458297491074, -0.6336790323257446, 0.0, 0.16803158819675446, -0.38777172565460205, 0.0, -0.11355002224445343, -0.6455967426300049, 0.0, -0.11355002224445343, -0.38559675216674805, 0.0, -0.14355002343654633, -0.6455967426300049, 0.0, -0.14355002343654633, -0.38559675216674805, 0.0], \"Edges\": [0, 2, 0, 1, 1, 3, 2, 3, 4, 6, 4, 5, 5, 7, 6, 7, 8, 10, 8, 9, 9, 11, 10, 11, 12, 14, 12, 13, 13, 15, 14, 15, 16, 18, 16, 17, 17, 19, 18, 19, 20, 22, 20, 21, 21, 23, 22, 23, 24, 26, 24, 25, 25, 27, 26, 27], \"Polygons\": [], \"MaterialIdx\": [], \"Matrix\": [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]}" + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "MaterialIdx": { + "bl_idname": "SvStringsSocket", + "name": "MaterialIdx" + }, + "Matrix": { + "bl_idname": "SvMatrixSocket", + "name": "Matrix" + } + }, + "bl_idname": "SvObjInLite" + }, + "Objects in Lite.001": { + "attributes": { + "location": [ + -1159.4932861328125, + -273.8104553222656 + ], + "width": 152.8695068359375, + "color": [ + 0.904932975769043, + 1.0, + 0.883421003818512 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.004" + } + }, + "properties": { + "obj_name": "BezierCircle", + "currently_storing": true + }, + "advanced_properties": { + "geom": "{\"Vertices\": [-0.3317485451698303, -0.13539576530456543, 0.0, -0.3317485451698303, 0.28313302993774414, 0.0, 0.13632792234420776, 0.28313302993774414, 0.0, 0.13632792234420776, -0.13539576530456543, 0.0, 0.07718795537948608, 0.19313311576843262, 0.0, 0.07718795537948608, 0.22313308715820312, 0.0, -0.021665304899215698, 0.22313308715820312, 0.0, -0.021665304899215698, 0.19313311576843262, 0.0, -0.17412114143371582, 0.22313308715820312, 0.0, -0.17412114143371582, 0.19313311576843262, 0.0, -0.07526788115501404, 0.19313311576843262, 0.0, -0.07526788115501404, 0.22313308715820312, 0.0, -0.10259544849395752, -0.006459210067987442, 0.0, -0.12380863726139069, 0.014753971248865128, 0.0, -0.0539088249206543, 0.08465377986431122, 0.0, -0.03269564360380173, 0.06344059854745865, 0.0], \"Edges\": [0, 1, 1, 2, 2, 3, 0, 3, 4, 5, 5, 6, 6, 7, 4, 7, 8, 9, 9, 10, 10, 11, 8, 11, 12, 13, 13, 14, 14, 15, 12, 15], \"Polygons\": [], \"MaterialIdx\": [], \"Matrix\": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]}" + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "MaterialIdx": { + "bl_idname": "SvStringsSocket", + "name": "MaterialIdx" + }, + "Matrix": { + "bl_idname": "SvMatrixSocket", + "name": "Matrix" + } + }, + "bl_idname": "SvObjInLite" + }, + "A Number": { + "attributes": { + "location": [ + -1158.04296875, + -574.8478393554688 + ], + "label": "New size", + "parent": { + "type": "NODE", + "value": "Frame.004" + } + }, + "properties": { + "float_": 0.03399999812245369, + "float_min": 0.0010000000474974513, + "float_max": 0.11999999731779099 + }, + "inputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "prop_name": "float_" + } + } + }, + "outputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "custom_draw": "mode_custom_draw" + } + } + }, + "bl_idname": "SvNumberNode" + }, + "List Slice": { + "attributes": { + "location": [ + -32.3677978515625, + 23.18878173828125 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "stop": -2, + "level": 0 + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + }, + "Start": { + "bl_idname": "SvStringsSocket", + "name": "Start", + "properties": { + "prop_name": "start" + } + }, + "Stop": { + "bl_idname": "SvStringsSocket", + "name": "Stop", + "properties": { + "prop_name": "stop" + } + } + }, + "outputs": { + "Slice": { + "bl_idname": "SvVerticesSocket", + "name": "Slice" + }, + "Other": { + "bl_idname": "SvVerticesSocket", + "name": "Other" + } + }, + "bl_idname": "ListSliceNode" + }, + "List Slice.001": { + "attributes": { + "location": [ + -32.3677978515625, + -152.22137451171875 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "stop": -2, + "level": 0 + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + }, + "Start": { + "bl_idname": "SvStringsSocket", + "name": "Start", + "properties": { + "prop_name": "start" + } + }, + "Stop": { + "bl_idname": "SvStringsSocket", + "name": "Stop", + "properties": { + "prop_name": "stop" + } + } + }, + "outputs": { + "Slice": { + "bl_idname": "SvStringsSocket", + "name": "Slice" + }, + "Other": { + "bl_idname": "SvStringsSocket", + "name": "Other" + } + }, + "bl_idname": "ListSliceNode" + }, + "List Sort.001": { + "attributes": { + "location": [ + -211.864501953125, + -129.03619384765625 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "newsock": true + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "keys": { + "bl_idname": "SvStringsSocket", + "name": "keys" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "SvListSortNode" + }, + "List Sort": { + "attributes": { + "location": [ + -211.864501953125, + 9.7769775390625 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "newsock": true + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "keys": { + "bl_idname": "SvStringsSocket", + "name": "keys" + } + }, + "outputs": { + "data": { + "bl_idname": "SvVerticesSocket", + "name": "data" + } + }, + "bl_idname": "SvListSortNode" + }, + "Path Length": { + "attributes": { + "location": [ + -414.6822509765625, + -198.13473510742188 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + } + }, + "outputs": { + "SegmentLength": { + "bl_idname": "SvStringsSocket", + "name": "SegmentLength" + }, + "TotalLength": { + "bl_idname": "SvStringsSocket", + "name": "TotalLength" + }, + "CumulativeSum": { + "bl_idname": "SvStringsSocket", + "name": "CumulativeSum" + }, + "CumulativeSum1": { + "bl_idname": "SvStringsSocket", + "name": "CumulativeSum1" + } + }, + "bl_idname": "SvPathLengthMk2Node" + }, + "List Join.005": { + "attributes": { + "location": [ + -419.3626708984375, + -373.4560852050781 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "JoinLevel": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "List Length": { + "attributes": { + "location": [ + -208.6275634765625, + -292.43963623046875 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "level": 0 + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + } + }, + "outputs": { + "Length": { + "bl_idname": "SvStringsSocket", + "name": "Length" + } + }, + "bl_idname": "ListLengthNode" + }, + "Scalar Math": { + "attributes": { + "location": [ + 72.099853515625, + -451.85235595703125 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "current_op": "/2" + }, + "inputs": { + "x": { + "bl_idname": "SvStringsSocket", + "name": "x", + "properties": { + "prop_name": "x_" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvStringsSocket", + "name": "Out" + } + }, + "bl_idname": "SvScalarMathNodeMK4" + }, + "Scalar Math.001": { + "attributes": { + "location": [ + -209.791015625, + -410.0251159667969 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "current_op": "NEG" + }, + "inputs": { + "x": { + "bl_idname": "SvStringsSocket", + "name": "x", + "properties": { + "prop_name": "x_" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvStringsSocket", + "name": "Out" + } + }, + "bl_idname": "SvScalarMathNodeMK4" + }, + "Matrix Apply to Mesh": { + "attributes": { + "location": [ + -611.4127807617188, + 1.96807861328125 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "do_join": false + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + }, + "Matrices": { + "bl_idname": "SvMatrixSocket", + "name": "Matrices" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + } + }, + "bl_idname": "SvMatrixApplyJoinNode" + }, + "Reroute.002": { + "attributes": { + "location": [ + 212.8760986328125, + -55.616451263427734 + ], + "width": 16.0, + "label": "V", + "color": [ + 0.602957010269165, + 0.6740000247955322, + 0.5642769932746887 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame" + } + }, + "inputs": { + "Input": { + "bl_idname": "NodeSocketColor", + "name": "Input" + } + }, + "outputs": { + "Output": { + "bl_idname": "NodeSocketColor", + "name": "Output" + } + }, + "bl_idname": "NodeReroute" + }, + "Reroute.001": { + "attributes": { + "location": [ + 210.16375732421875, + -112.37930297851562 + ], + "width": 16.0, + "label": "E", + "color": [ + 0.602957010269165, + 0.6740000247955322, + 0.5642769932746887 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame" + } + }, + "inputs": { + "Input": { + "bl_idname": "NodeSocketColor", + "name": "Input" + } + }, + "outputs": { + "Output": { + "bl_idname": "NodeSocketColor", + "name": "Output" + } + }, + "bl_idname": "NodeReroute" + }, + "Vector Math.001": { + "attributes": { + "location": [ + 1895.5534057617188, + 16.81280517578125 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "current_op": "ADD" + }, + "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" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvVerticesSocket", + "name": "Out" + } + }, + "bl_idname": "SvVectorMathNodeMK3" + }, + "List Split": { + "attributes": { + "location": [ + 818.4948120117188, + 16.81280517578125 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + }, + "Split": { + "bl_idname": "SvStringsSocket", + "name": "Split", + "properties": { + "prop_name": "split" + } + } + }, + "outputs": { + "Split": { + "bl_idname": "SvVerticesSocket", + "name": "Split" + } + }, + "bl_idname": "SvListSplitNode" + }, + "Vector Math.003": { + "attributes": { + "location": [ + 1684.1212768554688, + 16.81280517578125 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "current_op": "SCALAR", + "socket_info": "vs v", + "amount": 0.017999999225139618 + }, + "inputs": { + "A": { + "bl_idname": "SvVerticesSocket", + "name": "A", + "properties": { + "prop_name": "v3_input_0" + } + }, + "B": { + "bl_idname": "SvStringsSocket", + "name": "B", + "properties": { + "prop_name": "amount" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvVerticesSocket", + "name": "Out" + } + }, + "bl_idname": "SvVectorMathNodeMK3" + }, + "Rotate": { + "attributes": { + "location": [ + 1262.5001831054688, + 16.81280517578125 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "angle_": 90.0 + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Centers": { + "bl_idname": "SvVerticesSocket", + "name": "Centers", + "properties": { + "prop_name": "centers_" + } + }, + "Axis": { + "bl_idname": "SvVerticesSocket", + "name": "Axis", + "properties": { + "prop_name": "axis_" + } + }, + "Angle": { + "bl_idname": "SvStringsSocket", + "name": "Angle", + "properties": { + "prop_name": "angle_" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + } + }, + "bl_idname": "SvRotationNodeMk3" + }, + "Vector Math.002": { + "attributes": { + "location": [ + 1464.1212768554688, + 16.81280517578125 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "current_op": "NORMALIZE", + "socket_info": "v v" + }, + "inputs": { + "A": { + "bl_idname": "SvVerticesSocket", + "name": "A", + "properties": { + "prop_name": "v3_input_0" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvVerticesSocket", + "name": "Out" + } + }, + "bl_idname": "SvVectorMathNodeMK3" + }, + "Vector Math": { + "attributes": { + "location": [ + 1042.5001831054688, + 16.81280517578125 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "current_op": "SUB" + }, + "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" + } + } + }, + "outputs": { + "Out": { + "bl_idname": "SvVerticesSocket", + "name": "Out" + } + }, + "bl_idname": "SvVectorMathNodeMK3" + }, + "Plane (Surface)": { + "attributes": { + "location": [ + 2086.3400268554688, + 23.489990234375 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "inputs": { + "Point1": { + "bl_idname": "SvVerticesSocket", + "name": "Point1", + "properties": { + "use_prop": true + } + }, + "Point2": { + "bl_idname": "SvVerticesSocket", + "name": "Point2", + "properties": { + "use_prop": true, + "prop": [ + 1.0, + 0.0, + 0.0 + ] + } + }, + "Point3": { + "bl_idname": "SvVerticesSocket", + "name": "Point3", + "properties": { + "use_prop": true, + "prop": [ + 0.0, + 1.0, + 0.0 + ] + } + }, + "Normal": { + "bl_idname": "SvVerticesSocket", + "name": "Normal", + "attributes": { + "hide": true }, - "Path Length": { - "attributes": { - "location": [-414.6822509765625, -198.13473510742188], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - } - }, - "outputs": { - "SegmentLength": { - "bl_idname": "SvStringsSocket", - "name": "SegmentLength" - }, - "TotalLength": { - "bl_idname": "SvStringsSocket", - "name": "TotalLength" - }, - "CumulativeSum": { - "bl_idname": "SvStringsSocket", - "name": "CumulativeSum" - }, - "CumulativeSum1": { - "bl_idname": "SvStringsSocket", - "name": "CumulativeSum1" - } - }, - "bl_idname": "SvPathLengthMk2Node" + "properties": { + "use_prop": true, + "prop": [ + 0.0, + 0.0, + 1.0 + ] + } + }, + "UMin": { + "bl_idname": "SvStringsSocket", + "name": "UMin", + "properties": { + "prop_name": "u_min" + } + }, + "UMax": { + "bl_idname": "SvStringsSocket", + "name": "UMax", + "properties": { + "prop_name": "u_max" + } + }, + "VMin": { + "bl_idname": "SvStringsSocket", + "name": "VMin", + "properties": { + "prop_name": "v_min" + } + }, + "VMax": { + "bl_idname": "SvStringsSocket", + "name": "VMax", + "properties": { + "prop_name": "v_max" + } + } + }, + "outputs": { + "Surface": { + "bl_idname": "SvSurfaceSocket", + "name": "Surface" + } + }, + "bl_idname": "SvExPlaneSurfaceNode" + }, + "Linear Approximation": { + "attributes": { + "location": [ + 602.5003051757812, + 16.81280517578125 + ], + "width": 162.02984619140625, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + } + }, + "outputs": { + "Center": { + "bl_idname": "SvVerticesSocket", + "name": "Center" + }, + "Normal": { + "bl_idname": "SvVerticesSocket", + "name": "Normal", + "attributes": { + "hide": true + } + }, + "Direction": { + "bl_idname": "SvVerticesSocket", + "name": "Direction" + }, + "Projections": { + "bl_idname": "SvVerticesSocket", + "name": "Projections" + }, + "Diffs": { + "bl_idname": "SvVerticesSocket", + "name": "Diffs" + }, + "Distances": { + "bl_idname": "SvStringsSocket", + "name": "Distances" + } + }, + "bl_idname": "SvLinearApproxNode" + }, + "Separate Loose Parts.001": { + "attributes": { + "location": [ + 351.41192626953125, + -46.03961181640625 + ], + "width": 195.1861572265625, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Poly Egde": { + "bl_idname": "SvStringsSocket", + "name": "Poly Egde" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Poly Egde": { + "bl_idname": "SvStringsSocket", + "name": "Poly Egde" + } + }, + "bl_idname": "SvSeparateMeshNode" + }, + "List Join": { + "attributes": { + "location": [ + 3473.844970703125, + -62.14654541015625 + ], + "hide": true, + "parent": { + "type": "NODE", + "value": "Frame.003" + } + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvVerticesSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "UV Connection": { + "attributes": { + "location": [ + 3252.5336303710938, + 6.75531005859375 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "polygons": "Edges" + }, + "inputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "vertices 1": { + "bl_idname": "SvVerticesSocket", + "name": "vertices 1" + } + }, + "outputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "LineConnectNodeMK2" + }, + "Evaluate Surface": { + "attributes": { + "location": [ + 3022.8480834960938, + 6.75531005859375 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "samples_v": 3, + "samples_u": 3, + "eval_mode": "EXPLICIT", + "u_value": 0.0, + "v_value": 0.0 + }, + "inputs": { + "Surface": { + "bl_idname": "SvSurfaceSocket", + "name": "Surface" + }, + "U": { + "bl_idname": "SvStringsSocket", + "name": "U", + "properties": { + "prop_name": "u_value" + } + }, + "V": { + "bl_idname": "SvStringsSocket", + "name": "V", + "properties": { + "prop_name": "v_value" + } + }, + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices", + "attributes": { + "hide": true + } + }, + "SamplesU": { + "bl_idname": "SvStringsSocket", + "name": "SamplesU", + "attributes": { + "hide": true }, - "Separate Loose Parts MK2": { - "attributes": { - "location": [-420.5968017578125, 5.9549560546875], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Poly Egde": { - "bl_idname": "SvStringsSocket", - "name": "Poly Egde" - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Poly Egde": { - "bl_idname": "SvStringsSocket", - "name": "Poly Egde" - }, - "Vert idx": { - "bl_idname": "SvStringsSocket", - "name": "Vert idx" - }, - "Poly Egde idx": { - "bl_idname": "SvStringsSocket", - "name": "Poly Egde idx" - } - }, - "bl_idname": "SvSeparateMeshNodeMK2" + "properties": { + "prop_name": "samples_u" + } + }, + "SamplesV": { + "bl_idname": "SvStringsSocket", + "name": "SamplesV", + "attributes": { + "hide": true }, - "List Join.005": { - "attributes": { - "location": [-419.3626708984375, -373.4560852050781], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "JoinLevel": 2 - }, - "inputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - }, - "data 1": { - "bl_idname": "SvStringsSocket", - "name": "data 1" - } - }, - "outputs": { - "data": { - "bl_idname": "SvStringsSocket", - "name": "data" - } - }, - "bl_idname": "ListJoinNode" + "properties": { + "prop_name": "samples_v" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges", + "attributes": { + "hide": true + } + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces", + "attributes": { + "hide": true + } + } + }, + "bl_idname": "SvExEvalSurfaceNode" + }, + "List Input": { + "attributes": { + "location": [ + 2341.3195190429688, + 29.9752197265625 + ], + "width": 260.0, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "int_list_items": [ + {"elem": -1}, + {"elem": -1}, + {"elem": 1}, + {"elem": 1} + ], + "int_list_counter": 4 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.001": { + "attributes": { + "location": [ + 2651.2257690429688, + 37.8502197265625 + ], + "width": 260.0, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "int_list_items": [ + {"elem": -1}, + {"elem": 1}, + {"elem": 1}, + {"elem": -1} + ], + "int_list_counter": 4 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "Mesh Join.001": { + "attributes": { + "location": [ + 3687.7357788085938, + -57.256256103515625 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices", + "properties": { + "is_mandatory": true, + "default_mode": "NONE" + } + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges", + "properties": { + "nesting_level": 3 + } + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons", + "properties": { + "nesting_level": 3 + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + } + }, + "bl_idname": "SvMeshJoinNodeMk2" + }, + "Merge by Distance": { + "attributes": { + "location": [ + 3889.1000366210938, + -22.598724365234375 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "PolyEdge": { + "bl_idname": "SvStringsSocket", + "name": "PolyEdge" + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "Mask": { + "bl_idname": "SvStringsSocket", + "name": "Mask" + }, + "Distance": { + "bl_idname": "SvStringsSocket", + "name": "Distance", + "properties": { + "prop_name": "distance" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "Doubles": { + "bl_idname": "SvVerticesSocket", + "name": "Doubles" + }, + "Mask": { + "bl_idname": "SvStringsSocket", + "name": "Mask" + } + }, + "bl_idname": "SvMergeByDistanceNode" + }, + "Matrix In": { + "attributes": { + "location": [ + 3886.1322631835938, + -321.0144958496094 + ], + "label": "matrix", + "hide": true, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "location_": [ + 1.0, + 0.0, + 0.0 + ] + }, + "inputs": { + "Location": { + "bl_idname": "SvVerticesSocket", + "name": "Location", + "properties": { + "prop_name": "location_", + "expanded": true + } + }, + "Scale": { + "bl_idname": "SvVerticesSocket", + "name": "Scale", + "properties": { + "prop_name": "scale" + } + }, + "Quaternion": { + "bl_idname": "SvQuaternionSocket", + "name": "Quaternion", + "attributes": { + "hide": true }, - "Matrix Apply to Mesh": { - "attributes": { - "location": [-611.4127807617188, 1.96807861328125], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "do_join": false - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Faces": { - "bl_idname": "SvStringsSocket", - "name": "Faces" - }, - "Matrices": { - "bl_idname": "SvMatrixSocket", - "name": "Matrices" - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Faces": { - "bl_idname": "SvStringsSocket", - "name": "Faces" - } - }, - "bl_idname": "SvMatrixApplyJoinNode" + "properties": { + "prop_name": "quaternion" + } + }, + "Angle X": { + "bl_idname": "SvStringsSocket", + "name": "Angle X", + "attributes": { + "hide": true }, - "List Length": { - "attributes": { - "location": [-208.6275634765625, -292.43963623046875], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "level": 0 - }, - "inputs": { - "Data": { - "bl_idname": "SvStringsSocket", - "name": "Data" - } - }, - "outputs": { - "Length": { - "bl_idname": "SvStringsSocket", - "name": "Length" - } - }, - "bl_idname": "ListLengthNode" + "properties": { + "prop_name": "angle_x" + } + }, + "Angle Y": { + "bl_idname": "SvStringsSocket", + "name": "Angle Y", + "attributes": { + "hide": true }, - "Scalar Math": { - "attributes": { - "location": [72.099853515625, -451.85235595703125], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "current_op": "/2" - }, - "inputs": { - "x": { - "bl_idname": "SvStringsSocket", - "name": "x", - "properties": { - "prop_name": "x_" - } - } - }, - "outputs": { - "Out": { - "bl_idname": "SvStringsSocket", - "name": "Out" - } - }, - "bl_idname": "SvScalarMathNodeMK4" + "properties": { + "prop_name": "angle_y" + } + }, + "Angle Z": { + "bl_idname": "SvStringsSocket", + "name": "Angle Z", + "attributes": { + "hide": true }, - "Scalar Math.001": { - "attributes": { - "location": [-209.791015625, -410.0251159667969], - "parent": { - "type": "NODE", - "value": "Frame.005" - } - }, - "properties": { - "current_op": "NEG" - }, - "inputs": { - "x": { - "bl_idname": "SvStringsSocket", - "name": "x", - "properties": { - "prop_name": "x_" - } - } - }, - "outputs": { - "Out": { - "bl_idname": "SvStringsSocket", - "name": "Out" - } - }, - "bl_idname": "SvScalarMathNodeMK4" + "properties": { + "prop_name": "angle_z" } + }, + "Axis": { + "bl_idname": "SvVerticesSocket", + "name": "Axis", + "properties": { + "prop_name": "axis" + } + }, + "Angle": { + "bl_idname": "SvStringsSocket", + "name": "Angle", + "properties": { + "prop_name": "angle" + } + } + }, + "outputs": { + "Matrices": { + "bl_idname": "SvMatrixSocket", + "name": "Matrices" + } }, - "links": [{ - "from_node": "Objects in Lite", - "from_socket": "Vertices", - "to_node": "List Join.002", - "to_socket": "data" - }, { - "from_node": "Objects in Lite.001", - "from_socket": "Vertices", - "to_node": "List Join.002", - "to_socket": "data 1" - }, { - "from_node": "Objects in Lite", - "from_socket": "Edges", - "to_node": "List Join.003", - "to_socket": "data" - }, { - "from_node": "Objects in Lite.001", - "from_socket": "Edges", - "to_node": "List Join.003", - "to_socket": "data 1" - }, { - "from_node": "Objects in Lite", - "from_socket": "Matrix", - "to_node": "List Join.004", - "to_socket": "data" - }, { - "from_node": "Objects in Lite.001", - "from_socket": "Matrix", - "to_node": "List Join.004", - "to_socket": "data 1" - }, { - "from_node": "List Join", - "from_socket": "data", - "to_node": "Mesh Join", - "to_socket": "Vertices" - }, { - "from_node": "List Join.001", - "from_socket": "data", - "to_node": "Mesh Join", - "to_socket": "PolyEdge" - }, { - "from_node": "UV Connection", - "from_socket": "data", - "to_node": "List Join.001", - "to_socket": "data" - }, { - "from_node": "List Slice.001", - "from_socket": "Other", - "to_node": "List Join.001", - "to_socket": "data 1" - }, { - "from_node": "UV Connection", - "from_socket": "vertices", - "to_node": "List Join", - "to_socket": "data" - }, { - "from_node": "List Slice", - "from_socket": "Other", - "to_node": "List Join", - "to_socket": "data 1" - }, { - "from_node": "Evaluate Surface", - "from_socket": "Vertices", - "to_node": "UV Connection", - "to_socket": "vertices" - }, { - "from_node": "Plane (Surface)", - "from_socket": "Surface", - "to_node": "Evaluate Surface", - "to_socket": "Surface" - }, { - "from_node": "List Input.002", - "from_socket": "List", - "to_node": "Evaluate Surface", - "to_socket": "U" - }, { - "from_node": "List Input.003", - "from_socket": "List", - "to_node": "Evaluate Surface", - "to_socket": "V" - }, { - "from_node": "Vector Math.003", - "from_socket": "Out", - "to_node": "Vector Math.001", - "to_socket": "A" - }, { - "from_node": "List Split", - "from_socket": "Split", - "to_node": "Vector Math.001", - "to_socket": "B" - }, { - "from_node": "Linear Approximation", - "from_socket": "Center", - "to_node": "List Split", - "to_socket": "Data" - }, { - "from_node": "Vector Math.002", - "from_socket": "Out", - "to_node": "Vector Math.003", - "to_socket": "A" - }, { - "from_node": "Scalar Math", - "from_socket": "Out", - "to_node": "Vector Math.003", - "to_socket": "B" - }, { - "from_node": "Vector Math", - "from_socket": "Out", - "to_node": "Rotate", - "to_socket": "Vertices" - }, { - "from_node": "Rotate", - "from_socket": "Vertices", - "to_node": "Vector Math.002", - "to_socket": "A" - }, { - "from_node": "Linear Approximation", - "from_socket": "Projections", - "to_node": "Vector Math", - "to_socket": "A" - }, { - "from_node": "List Split", - "from_socket": "Split", - "to_node": "Vector Math", - "to_socket": "B" - }, { - "from_node": "Reroute.002", - "from_socket": "Output", - "to_node": "Separate Loose Parts MK2.001", - "to_socket": "Vertices" - }, { - "from_node": "Reroute.001", - "from_socket": "Output", - "to_node": "Separate Loose Parts MK2.001", - "to_socket": "Poly Egde" - }, { - "from_node": "Mesh Join", - "from_socket": "Vertices", - "to_node": "Merge by Distance", - "to_socket": "Vertices" - }, { - "from_node": "Mesh Join", - "from_socket": "PolyEdge", - "to_node": "Merge by Distance", - "to_socket": "PolyEdge" - }, { - "from_node": "List Split", - "from_socket": "Split", - "to_node": "Plane (Surface)", - "to_socket": "Point1" - }, { - "from_node": "Linear Approximation", - "from_socket": "Projections", - "to_node": "Plane (Surface)", - "to_socket": "Point2" - }, { - "from_node": "Vector Math.001", - "from_socket": "Out", - "to_node": "Plane (Surface)", - "to_socket": "Point3" - }, { - "from_node": "Merge by Distance", - "from_socket": "Vertices", - "to_node": "Viewer BMesh", - "to_socket": "vertices" - }, { - "from_node": "Merge by Distance", - "from_socket": "Edges", - "to_node": "Viewer BMesh", - "to_socket": "edges" - }, { - "from_node": "Matrix In", - "from_socket": "Matrices", - "to_node": "Viewer BMesh", - "to_socket": "matrix" - }, { - "from_node": "Separate Loose Parts MK2.001", - "from_socket": "Vertices", - "to_node": "Linear Approximation", - "to_socket": "Vertices" - }, { - "from_node": "List Slice", - "from_socket": "Slice", - "to_node": "Reroute.002", - "to_socket": "Input" - }, { - "from_node": "List Slice.001", - "from_socket": "Slice", - "to_node": "Reroute.001", - "to_socket": "Input" - }, { - "from_node": "List Sort", - "from_socket": "data", - "to_node": "List Slice", - "to_socket": "Data" - }, { - "from_node": "Scalar Math.001", - "from_socket": "Out", - "to_node": "List Slice", - "to_socket": "Stop" - }, { - "from_node": "List Sort.001", - "from_socket": "data", - "to_node": "List Slice.001", - "to_socket": "Data" - }, { - "from_node": "Scalar Math.001", - "from_socket": "Out", - "to_node": "List Slice.001", - "to_socket": "Stop" - }, { - "from_node": "Separate Loose Parts MK2", - "from_socket": "Poly Egde", - "to_node": "List Sort.001", - "to_socket": "data" - }, { - "from_node": "List Join.005", - "from_socket": "data", - "to_node": "List Sort.001", - "to_socket": "keys" - }, { - "from_node": "Separate Loose Parts MK2", - "from_socket": "Vertices", - "to_node": "List Sort", - "to_socket": "data" - }, { - "from_node": "List Join.005", - "from_socket": "data", - "to_node": "List Sort", - "to_socket": "keys" - }, { - "from_node": "Separate Loose Parts MK2", - "from_socket": "Vertices", - "to_node": "Path Length", - "to_socket": "Vertices" - }, { - "from_node": "Separate Loose Parts MK2", - "from_socket": "Poly Egde", - "to_node": "Path Length", - "to_socket": "Edges" - }, { - "from_node": "Matrix Apply to Mesh", - "from_socket": "Vertices", - "to_node": "Separate Loose Parts MK2", - "to_socket": "Vertices" - }, { - "from_node": "Matrix Apply to Mesh", - "from_socket": "Edges", - "to_node": "Separate Loose Parts MK2", - "to_socket": "Poly Egde" - }, { - "from_node": "Path Length", - "from_socket": "TotalLength", - "to_node": "List Join.005", - "to_socket": "data" - }, { - "from_node": "List Join.002", - "from_socket": "data", - "to_node": "Matrix Apply to Mesh", - "to_socket": "Vertices" - }, { - "from_node": "List Join.003", - "from_socket": "data", - "to_node": "Matrix Apply to Mesh", - "to_socket": "Edges" - }, { - "from_node": "List Join.004", - "from_socket": "data", - "to_node": "Matrix Apply to Mesh", - "to_socket": "Matrices" - }, { - "from_node": "Matrix Apply to Mesh", - "from_socket": "Vertices", - "to_node": "List Length", - "to_socket": "Data" - }, { - "from_node": "A Number", - "from_socket": "Float", - "to_node": "Scalar Math", - "to_socket": "x" - }, { - "from_node": "List Length", - "from_socket": "Length", - "to_node": "Scalar Math.001", - "to_socket": "x" + "bl_idname": "SvMatrixInNodeMK4" + }, + "List Join.001": { + "attributes": { + "location": [ + 3472.164794921875, + -130.36761474609375 + ], + "hide": true, + "parent": { + "type": "NODE", + "value": "Frame.003" + } + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "Mesh Viewer": { + "attributes": { + "location": [ + 4150.607360839844, + -13.9755859375 + ], + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "base_data_name": "New_layuot", + "show_objects": false + }, + "inputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "edges": { + "bl_idname": "SvStringsSocket", + "name": "edges", + "properties": { + "custom_draw": "draw_edges_props" + } + }, + "faces": { + "bl_idname": "SvStringsSocket", + "name": "faces" + }, + "material_idx": { + "bl_idname": "SvStringsSocket", + "name": "material_idx" + }, + "matrix": { + "bl_idname": "SvMatrixSocket", + "name": "matrix", + "properties": { + "custom_draw": "draw_matrix_props" } - ] - } -} + } + }, + "outputs": { + "Objects": { + "bl_idname": "SvObjectSocket", + "name": "Objects" + } + }, + "bl_idname": "SvMeshViewer" + }, + "Stethoscope MK2.001": { + "attributes": { + "location": [ + 577.4807739257812, + 237.37200927734375 + ], + "color": [ + 0.5, + 0.5, + 1.0 + ], + "use_custom_color": true + }, + "properties": { + "text_color": [ + 0.949999988079071, + 0.949999988079071, + 0.949999988079071 + ], + "location_theta": 1.0080000162124634, + "num_elements": 11, + "selected_mode": "graphical" + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + } + }, + "bl_idname": "SvStethoscopeNodeMK2" + }, + "Separate Loose Parts": { + "attributes": { + "location": [ + -456.63385009765625, + 60.42140197753906 + ], + "width": 174.0921630859375, + "hide": true, + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Poly Egde": { + "bl_idname": "SvStringsSocket", + "name": "Poly Egde" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Poly Egde": { + "bl_idname": "SvStringsSocket", + "name": "Poly Egde" + } + }, + "bl_idname": "SvSeparateMeshNode" + } + }, + "links": [ + { + "from_node": "Objects in Lite", + "from_socket": "Vertices", + "to_node": "List Join.002", + "to_socket": "data" + }, + { + "from_node": "Objects in Lite.001", + "from_socket": "Vertices", + "to_node": "List Join.002", + "to_socket": "data 1" + }, + { + "from_node": "Objects in Lite", + "from_socket": "Edges", + "to_node": "List Join.003", + "to_socket": "data" + }, + { + "from_node": "Objects in Lite.001", + "from_socket": "Edges", + "to_node": "List Join.003", + "to_socket": "data 1" + }, + { + "from_node": "Objects in Lite", + "from_socket": "Matrix", + "to_node": "List Join.004", + "to_socket": "data" + }, + { + "from_node": "Objects in Lite.001", + "from_socket": "Matrix", + "to_node": "List Join.004", + "to_socket": "data 1" + }, + { + "from_node": "List Sort", + "from_socket": "data", + "to_node": "List Slice", + "to_socket": "Data" + }, + { + "from_node": "Scalar Math.001", + "from_socket": "Out", + "to_node": "List Slice", + "to_socket": "Stop" + }, + { + "from_node": "List Sort.001", + "from_socket": "data", + "to_node": "List Slice.001", + "to_socket": "Data" + }, + { + "from_node": "Scalar Math.001", + "from_socket": "Out", + "to_node": "List Slice.001", + "to_socket": "Stop" + }, + { + "from_node": "Separate Loose Parts", + "from_socket": "Poly Egde", + "to_node": "List Sort.001", + "to_socket": "data" + }, + { + "from_node": "List Join.005", + "from_socket": "data", + "to_node": "List Sort.001", + "to_socket": "keys" + }, + { + "from_node": "Separate Loose Parts", + "from_socket": "Vertices", + "to_node": "List Sort", + "to_socket": "data" + }, + { + "from_node": "List Join.005", + "from_socket": "data", + "to_node": "List Sort", + "to_socket": "keys" + }, + { + "from_node": "Separate Loose Parts", + "from_socket": "Vertices", + "to_node": "Path Length", + "to_socket": "Vertices" + }, + { + "from_node": "Separate Loose Parts", + "from_socket": "Poly Egde", + "to_node": "Path Length", + "to_socket": "Edges" + }, + { + "from_node": "Path Length", + "from_socket": "TotalLength", + "to_node": "List Join.005", + "to_socket": "data" + }, + { + "from_node": "Matrix Apply to Mesh", + "from_socket": "Vertices", + "to_node": "List Length", + "to_socket": "Data" + }, + { + "from_node": "A Number", + "from_socket": "Float", + "to_node": "Scalar Math", + "to_socket": "x" + }, + { + "from_node": "List Length", + "from_socket": "Length", + "to_node": "Scalar Math.001", + "to_socket": "x" + }, + { + "from_node": "List Join.002", + "from_socket": "data", + "to_node": "Matrix Apply to Mesh", + "to_socket": "Vertices" + }, + { + "from_node": "List Join.003", + "from_socket": "data", + "to_node": "Matrix Apply to Mesh", + "to_socket": "Edges" + }, + { + "from_node": "List Join.004", + "from_socket": "data", + "to_node": "Matrix Apply to Mesh", + "to_socket": "Matrices" + }, + { + "from_node": "List Slice", + "from_socket": "Slice", + "to_node": "Reroute.002", + "to_socket": "Input" + }, + { + "from_node": "List Slice.001", + "from_socket": "Slice", + "to_node": "Reroute.001", + "to_socket": "Input" + }, + { + "from_node": "Vector Math.003", + "from_socket": "Out", + "to_node": "Vector Math.001", + "to_socket": "A" + }, + { + "from_node": "List Split", + "from_socket": "Split", + "to_node": "Vector Math.001", + "to_socket": "B" + }, + { + "from_node": "Linear Approximation", + "from_socket": "Center", + "to_node": "List Split", + "to_socket": "Data" + }, + { + "from_node": "Vector Math.002", + "from_socket": "Out", + "to_node": "Vector Math.003", + "to_socket": "A" + }, + { + "from_node": "Scalar Math", + "from_socket": "Out", + "to_node": "Vector Math.003", + "to_socket": "B" + }, + { + "from_node": "Vector Math", + "from_socket": "Out", + "to_node": "Rotate", + "to_socket": "Vertices" + }, + { + "from_node": "Rotate", + "from_socket": "Vertices", + "to_node": "Vector Math.002", + "to_socket": "A" + }, + { + "from_node": "Linear Approximation", + "from_socket": "Projections", + "to_node": "Vector Math", + "to_socket": "A" + }, + { + "from_node": "List Split", + "from_socket": "Split", + "to_node": "Vector Math", + "to_socket": "B" + }, + { + "from_node": "List Split", + "from_socket": "Split", + "to_node": "Plane (Surface)", + "to_socket": "Point1" + }, + { + "from_node": "Linear Approximation", + "from_socket": "Projections", + "to_node": "Plane (Surface)", + "to_socket": "Point2" + }, + { + "from_node": "Vector Math.001", + "from_socket": "Out", + "to_node": "Plane (Surface)", + "to_socket": "Point3" + }, + { + "from_node": "Separate Loose Parts.001", + "from_socket": "Vertices", + "to_node": "Linear Approximation", + "to_socket": "Vertices" + }, + { + "from_node": "Reroute.002", + "from_socket": "Output", + "to_node": "Separate Loose Parts.001", + "to_socket": "Vertices" + }, + { + "from_node": "Reroute.001", + "from_socket": "Output", + "to_node": "Separate Loose Parts.001", + "to_socket": "Poly Egde" + }, + { + "from_node": "UV Connection", + "from_socket": "vertices", + "to_node": "List Join", + "to_socket": "data" + }, + { + "from_node": "List Slice", + "from_socket": "Other", + "to_node": "List Join", + "to_socket": "data 1" + }, + { + "from_node": "Evaluate Surface", + "from_socket": "Vertices", + "to_node": "UV Connection", + "to_socket": "vertices" + }, + { + "from_node": "Plane (Surface)", + "from_socket": "Surface", + "to_node": "Evaluate Surface", + "to_socket": "Surface" + }, + { + "from_node": "List Input", + "from_socket": "data_output", + "to_node": "Evaluate Surface", + "to_socket": "U" + }, + { + "from_node": "List Input.001", + "from_socket": "data_output", + "to_node": "Evaluate Surface", + "to_socket": "V" + }, + { + "from_node": "List Join", + "from_socket": "data", + "to_node": "Mesh Join.001", + "to_socket": "Vertices" + }, + { + "from_node": "List Join.001", + "from_socket": "data", + "to_node": "Mesh Join.001", + "to_socket": "Edges" + }, + { + "from_node": "Mesh Join.001", + "from_socket": "Vertices", + "to_node": "Merge by Distance", + "to_socket": "Vertices" + }, + { + "from_node": "Mesh Join.001", + "from_socket": "Edges", + "to_node": "Merge by Distance", + "to_socket": "PolyEdge" + }, + { + "from_node": "UV Connection", + "from_socket": "data", + "to_node": "List Join.001", + "to_socket": "data" + }, + { + "from_node": "List Slice.001", + "from_socket": "Other", + "to_node": "List Join.001", + "to_socket": "data 1" + }, + { + "from_node": "Merge by Distance", + "from_socket": "Vertices", + "to_node": "Mesh Viewer", + "to_socket": "vertices" + }, + { + "from_node": "Merge by Distance", + "from_socket": "Edges", + "to_node": "Mesh Viewer", + "to_socket": "edges" + }, + { + "from_node": "Matrix In", + "from_socket": "Matrices", + "to_node": "Mesh Viewer", + "to_socket": "matrix" + }, + { + "from_node": "Matrix Apply to Mesh", + "from_socket": "Vertices", + "to_node": "Separate Loose Parts", + "to_socket": "Vertices" + }, + { + "from_node": "Matrix Apply to Mesh", + "from_socket": "Edges", + "to_node": "Separate Loose Parts", + "to_socket": "Poly Egde" + } + ] + } +} \ No newline at end of file diff --git a/json_examples/Design/Color_Lights.json b/json_examples/Design/Color_Lights.json index b78ebbf0c8..0d2999bbeb 100644 --- a/json_examples/Design/Color_Lights.json +++ b/json_examples/Design/Color_Lights.json @@ -1,364 +1,812 @@ { - "export_version": "0.079", - "framed_nodes": {}, - "groups": {}, - "nodes": { - "Color In MK1": { - "bl_idname": "SvColorsInNodeMK1", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -263.6081848144531, - -63.2236328125 - ], - "params": { - "b_": 1.0, - "g_": 0.0, - "use_alpha": 1 + "export_version": "1.0", + "main_tree": { + "nodes": { + "Color In MK1": { + "attributes": { + "location": [ + -263.6081848144531, + -63.2236328125 + ], + "width": 110.0 + }, + "properties": { + "b_": 1.0 + }, + "inputs": { + "R": { + "bl_idname": "SvStringsSocket", + "name": "R", + "properties": { + "prop_name": "r_" + } + }, + "G": { + "bl_idname": "SvStringsSocket", + "name": "G", + "properties": { + "prop_name": "g_" + } + }, + "B": { + "bl_idname": "SvStringsSocket", + "name": "B", + "properties": { + "prop_name": "b_" + } + }, + "A": { + "bl_idname": "SvStringsSocket", + "name": "A", + "properties": { + "prop_name": "a_" + } + } + }, + "outputs": { + "Colors": { + "bl_idname": "SvColorSocket", + "name": "Colors" + } + }, + "bl_idname": "SvColorsInNodeMK1" }, - "width": 110.0 - }, - "Light viewer.001": { - "bl_idname": "SvLightViewerNode", - "collection": "", - "color": [ - 1.0, - 0.5889999866485596, - 0.21400000154972076 - ], - "height": 100.0, - "hide": false, - "label": "", - "lamp_type": "SPOT", - "location": [ - 154.19656372070312, - 77.55731964111328 - ], - "params": { - "base_data_name": "Beta", - "light_type": "SPOT", - "size": 0.6399999856948853, - "spot_blend": 0.0, - "spot_size": 1.9800000190734863, - "strength": 1000.0 + "Light viewer.001": { + "attributes": { + "location": [ + 154.19656372070312, + 77.55731964111328 + ], + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true + }, + "properties": { + "base_data_name": "Beta", + "light_type": "SPOT", + "size": 0.6399999856948853, + "spot_blend": 0.0, + "spot_size": 1.9800000190734863, + "strength": 1000.0 + }, + "inputs": { + "Origin": { + "bl_idname": "SvMatrixSocket", + "name": "Origin" + }, + "Size": { + "bl_idname": "SvStringsSocket", + "name": "Size", + "properties": { + "prop_name": "size" + } + }, + "Size X": { + "bl_idname": "SvStringsSocket", + "name": "Size X", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "size_x" + } + }, + "Size Y": { + "bl_idname": "SvStringsSocket", + "name": "Size Y", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "size_y" + } + }, + "Spot Size": { + "bl_idname": "SvStringsSocket", + "name": "Spot Size", + "properties": { + "prop_name": "spot_size" + } + }, + "Spot Blend": { + "bl_idname": "SvStringsSocket", + "name": "Spot Blend", + "properties": { + "prop_name": "spot_blend" + } + }, + "Strength": { + "bl_idname": "SvStringsSocket", + "name": "Strength", + "properties": { + "prop_name": "strength" + } + }, + "Color": { + "bl_idname": "SvColorSocket", + "name": "Color", + "properties": { + "prop_name": "light_color" + } + } + }, + "outputs": { + "Objects": { + "bl_idname": "SvObjectSocket", + "name": "Objects" + } + }, + "bl_idname": "SvLightViewerNode" }, - "use_custom_color": true, - "width": 140.0 - }, - "Line": { - "bl_idname": "SvLineNodeMK4", - "color": [ - 0.0, - 0.5, - 0.5 - ], - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -554.4129028320312, - 287.5152587890625 - ], - "params": { - "num": 4, - "step": 1.2100000381469727 + "Line": { + "attributes": { + "location": [ + -554.4129028320312, + 287.5152587890625 + ], + "color": [ + 0.0, + 0.5, + 0.5 + ], + "use_custom_color": true + }, + "properties": { + "num": 4, + "step": 1.2100000381469727 + }, + "inputs": { + "Num": { + "bl_idname": "SvStringsSocket", + "name": "Num", + "properties": { + "prop_name": "num" + } + }, + "Steps": { + "bl_idname": "SvStringsSocket", + "name": "Steps", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "step" + } + }, + "Size": { + "bl_idname": "SvStringsSocket", + "name": "Size", + "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" }, - "use_custom_color": true, - "width": 140.0 - }, - "List Input": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -478.80035400390625, - -61.24577713012695 - ], - "params": { - "float_list": [ - 0.800000011920929, - 0.20000000298023224, - 0.5, - 1.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, - 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 - ], - "int_": 4, - "mode": "float_list" + "List Split": { + "attributes": { + "location": [ + -45.85816192626953, + -97.12240600585938 + ] + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + }, + "Split": { + "bl_idname": "SvStringsSocket", + "name": "Split", + "properties": { + "prop_name": "split" + } + } + }, + "outputs": { + "Split_001": { + "bl_idname": "SvColorSocket", + "name": "Split" + } + }, + "bl_idname": "SvListSplitNode" }, - "width": 140.0 - }, - "List Input.001": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -469.916259765625, - -466.7041320800781 - ], - "params": { - "float_list": [ - 0.20000000298023224, - 1.0, - 0.800000011920929, - 0.4000000059604645, - 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.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 - ], - "int_": 4, - "mode": "float_list" + "Mesh Viewer": { + "attributes": { + "location": [ + 726.9242553710938, + 65.43453979492188 + ], + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true + }, + "inputs": { + "vertices": { + "bl_idname": "SvVerticesSocket", + "name": "vertices" + }, + "edges": { + "bl_idname": "SvStringsSocket", + "name": "edges", + "properties": { + "custom_draw": "draw_edges_props" + } + }, + "faces": { + "bl_idname": "SvStringsSocket", + "name": "faces" + }, + "material_idx": { + "bl_idname": "SvStringsSocket", + "name": "material_idx" + }, + "matrix": { + "bl_idname": "SvMatrixSocket", + "name": "matrix", + "properties": { + "custom_draw": "draw_matrix_props" + } + } + }, + "outputs": { + "Objects": { + "bl_idname": "SvObjectSocket", + "name": "Objects" + } + }, + "bl_idname": "SvMeshViewer" }, - "width": 140.0 - }, - "List Input.002": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -476.82611083984375, - -251.11892700195312 - ], - "params": { - "float_list": [ - 0.5, - 0.10000000149011612, - 0.8999999761581421, - -0.019999980926513672, - 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.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 - ], - "int_": 4, - "mode": "float_list" + "Move.001": { + "attributes": { + "location": [ + -187.34600830078125, + 119.96371459960938 + ] + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Movement Vectors": { + "bl_idname": "SvVerticesSocket", + "name": "Movement Vectors", + "properties": { + "prop_name": "movement_vectors" + } + }, + "Strength": { + "bl_idname": "SvStringsSocket", + "name": "Strength", + "properties": { + "prop_name": "strength" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + } + }, + "bl_idname": "SvMoveNodeMk3" }, - "width": 140.0 - }, - "List Split": { - "bl_idname": "SvListSplitNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -45.85816192626953, - -97.12240600585938 - ], - "params": {}, - "width": 140.0 - }, - "Mesh Viewer": { - "bl_idname": "SvMeshViewer", - "collection": "", - "color": [ - 1.0, - 0.5889999866485596, - 0.21400000154972076 - ], - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 726.9242553710938, - 65.43453979492188 - ], - "params": { - "base_data_name": "Alpha" + "Plane": { + "attributes": { + "location": [ + 484.06640625, + 26.359161376953125 + ], + "color": [ + 0.0, + 0.5, + 0.5 + ], + "use_custom_color": true + }, + "properties": { + "center": true, + "sizex": 20.0, + "sizey": 20.0 + }, + "inputs": { + "Size X": { + "bl_idname": "SvStringsSocket", + "name": "Size X", + "properties": { + "prop_name": "sizex", + "custom_draw": "draw_prop_socket", + "label": "Size X" + } + }, + "Size Y": { + "bl_idname": "SvStringsSocket", + "name": "Size Y", + "properties": { + "prop_name": "sizey", + "custom_draw": "draw_prop_socket", + "label": "Size Y" + } + }, + "Num X": { + "bl_idname": "SvStringsSocket", + "name": "Num X", + "properties": { + "prop_name": "numx", + "custom_draw": "draw_prop_socket", + "label": "Num X" + } + }, + "Num Y": { + "bl_idname": "SvStringsSocket", + "name": "Num Y", + "properties": { + "prop_name": "numy", + "custom_draw": "draw_prop_socket", + "label": "Num Y" + } + }, + "Step X": { + "bl_idname": "SvStringsSocket", + "name": "Step X", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "stepx", + "custom_draw": "draw_prop_socket", + "label": "Step X" + } + }, + "Step Y": { + "bl_idname": "SvStringsSocket", + "name": "Step Y", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "stepy", + "custom_draw": "draw_prop_socket", + "label": "Step Y" + } + }, + "Matrix": { + "bl_idname": "SvMatrixSocket", + "name": "Matrix" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + } + }, + "bl_idname": "SvPlaneNodeMk3" }, - "use_custom_color": true, - "width": 140.0 - }, - "Move.001": { - "bl_idname": "SvMoveNodeMk3", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -187.34600830078125, - 119.96371459960938 - ], - "params": { - "strength": 1.0 + "Vector In": { + "attributes": { + "location": [ + -522.6798095703125, + 74.76742553710938 + ], + "width": 100.0 + }, + "properties": { + "z_": 1.499999761581421 + }, + "inputs": { + "X": { + "bl_idname": "SvStringsSocket", + "name": "X", + "properties": { + "prop_name": "x_" + } + }, + "Y": { + "bl_idname": "SvStringsSocket", + "name": "Y", + "properties": { + "prop_name": "y_" + } + }, + "Z": { + "bl_idname": "SvStringsSocket", + "name": "Z", + "properties": { + "prop_name": "z_" + } + } + }, + "outputs": { + "Vectors": { + "bl_idname": "SvVerticesSocket", + "name": "Vectors" + } + }, + "bl_idname": "GenVectorsNode" }, - "width": 140.0 - }, - "Plane": { - "bl_idname": "SvPlaneNodeMk3", - "color": [ - 0.0, - 0.5, - 0.5 - ], - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 484.06640625, - 26.359161376953125 - ], - "params": { - "center": 1, - "dimension_mode": "SIZE", - "sizex": 20.0, - "sizey": 20.0 + "List Input.003": { + "attributes": { + "location": [ + -830.1087646484375, + -34.60542297363281 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0} + ], + "int_list_counter": 4, + "list_items_type": "FLOAT_LIST_MODE", + "float_list_items": [ + { + "elem": 0.800000011920929, + "NONE": 0.800000011920929, + "PERCENTAGE": 0.800000011920929, + "FACTOR": 0.800000011920929, + "ANGLE": 0.800000011920929, + "TIME": 0.800000011920929, + "TIME_ABSOLUTE": 0.800000011920929, + "DISTANCE": 0.800000011920929, + "DISTANCE_CAMERA": 0.800000011920929, + "TEMPERATURE": 0.800000011920929, + "POWER": 0.800000011920929 + }, + { + "elem": 0.20000000298023224, + "NONE": 0.20000000298023224, + "PERCENTAGE": 0.20000000298023224, + "FACTOR": 0.20000000298023224, + "ANGLE": 0.20000000298023224, + "TIME": 0.20000000298023224, + "TIME_ABSOLUTE": 0.20000000298023224, + "DISTANCE": 0.20000000298023224, + "DISTANCE_CAMERA": 0.20000000298023224, + "TEMPERATURE": 0.20000000298023224, + "POWER": 0.20000000298023224 + }, + { + "elem": 0.5, + "NONE": 0.5, + "PERCENTAGE": 0.5, + "FACTOR": 0.5, + "ANGLE": 0.5, + "TIME": 0.5, + "TIME_ABSOLUTE": 0.5, + "DISTANCE": 0.5, + "DISTANCE_CAMERA": 0.5, + "TEMPERATURE": 0.5, + "POWER": 0.5 + }, + { + "elem": 1.0, + "NONE": 1.0, + "PERCENTAGE": 1.0, + "FACTOR": 1.0, + "ANGLE": 1.0, + "TIME": 1.0, + "TIME_ABSOLUTE": 1.0, + "DISTANCE": 1.0, + "DISTANCE_CAMERA": 1.0, + "TEMPERATURE": 1.0, + "POWER": 1.0 + } + ], + "float_list_counter": 4 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Floats" + } + } + }, + "bl_idname": "SvListInputNodeMK2" }, - "use_custom_color": true, - "width": 140.0 + "List Input.005": { + "attributes": { + "location": [ + -832.598876953125, + -608.2178955078125 + ], + "width": 260.0 + }, + "properties": { + "list_items_type": "FLOAT_LIST_MODE", + "float_list_items": [ + { + "elem": 0.20000000298023224, + "NONE": 0.20000000298023224, + "PERCENTAGE": 0.20000000298023224, + "FACTOR": 0.20000000298023224, + "ANGLE": 0.20000000298023224, + "TIME": 0.20000000298023224, + "TIME_ABSOLUTE": 0.20000000298023224, + "DISTANCE": 0.20000000298023224, + "DISTANCE_CAMERA": 0.20000000298023224, + "TEMPERATURE": 0.20000000298023224, + "POWER": 0.20000000298023224 + }, + { + "elem": 1.0, + "NONE": 1.0, + "PERCENTAGE": 1.0, + "FACTOR": 1.0, + "ANGLE": 1.0, + "TIME": 1.0, + "TIME_ABSOLUTE": 1.0, + "DISTANCE": 1.0, + "DISTANCE_CAMERA": 1.0, + "TEMPERATURE": 1.0, + "POWER": 1.0 + }, + { + "elem": 0.800000011920929, + "NONE": 0.800000011920929, + "PERCENTAGE": 0.800000011920929, + "FACTOR": 0.800000011920929, + "ANGLE": 0.800000011920929, + "TIME": 0.800000011920929, + "TIME_ABSOLUTE": 0.800000011920929, + "DISTANCE": 0.800000011920929, + "DISTANCE_CAMERA": 0.800000011920929, + "TEMPERATURE": 0.800000011920929, + "POWER": 0.800000011920929 + }, + { + "elem": 0.4000000059604645, + "NONE": 0.4000000059604645, + "PERCENTAGE": 0.4000000059604645, + "FACTOR": 0.4000000059604645, + "ANGLE": 0.4000000059604645, + "TIME": 0.4000000059604645, + "TIME_ABSOLUTE": 0.4000000059604645, + "DISTANCE": 0.4000000059604645, + "DISTANCE_CAMERA": 0.4000000059604645, + "TEMPERATURE": 0.4000000059604645, + "POWER": 0.4000000059604645 + } + ], + "float_list_counter": 4 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Floats" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.004": { + "attributes": { + "location": [ + -832.598876953125, + -326.29412841796875 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {"elem":0}, + {"elem":0}, + {"elem":0}, + {"elem":0} + ], + "int_list_counter": 4, + "list_items_type": "FLOAT_LIST_MODE", + "float_list_items": [ + { + "elem": 0.5, + "NONE": 0.5, + "PERCENTAGE": 0.5, + "FACTOR": 0.5, + "ANGLE": 0.5, + "TIME": 0.5, + "TIME_ABSOLUTE": 0.5, + "DISTANCE": 0.5, + "DISTANCE_CAMERA": 0.5, + "TEMPERATURE": 0.5, + "POWER": 0.5 + }, + { + "elem": 0.10000000149011612, + "NONE": 0.10000000149011612, + "PERCENTAGE": 0.10000000149011612, + "FACTOR": 0.10000000149011612, + "ANGLE": 0.10000000149011612, + "TIME": 0.10000000149011612, + "TIME_ABSOLUTE": 0.10000000149011612, + "DISTANCE": 0.10000000149011612, + "DISTANCE_CAMERA": 0.10000000149011612, + "TEMPERATURE": 0.10000000149011612, + "POWER": 0.10000000149011612 + }, + { + "elem": 0.8999999761581421, + "NONE": 0.8999999761581421, + "PERCENTAGE": 0.8999999761581421, + "FACTOR": 0.8999999761581421, + "ANGLE": 0.8999999761581421, + "TIME": 0.8999999761581421, + "TIME_ABSOLUTE": 0.8999999761581421, + "DISTANCE": 0.8999999761581421, + "DISTANCE_CAMERA": 0.8999999761581421, + "TEMPERATURE": 0.8999999761581421, + "POWER": 0.8999999761581421 + }, + { + "elem": -0.019999999552965164, + "NONE": -0.019999999552965164, + "PERCENTAGE": -0.019999999552965164, + "FACTOR": -0.019999999552965164, + "ANGLE": -0.019999999552965164, + "TIME": -0.019999999552965164, + "TIME_ABSOLUTE": -0.019999999552965164, + "DISTANCE": -0.019999999552965164, + "DISTANCE_CAMERA": -0.019999999552965164, + "TEMPERATURE": -0.019999999552965164, + "POWER": -0.019999999552965164 + } + ], + "float_list_counter": 4 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Floats" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + } }, - "Vector In": { - "bl_idname": "GenVectorsNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -522.6798095703125, - 74.76742553710938 - ], - "params": { - "z_": 1.499999761581421 + "links": [ + { + "from_node": "List Input.003", + "from_socket": "data_output", + "to_node": "Color In MK1", + "to_socket": "R" + }, + { + "from_node": "List Input.004", + "from_socket": "data_output", + "to_node": "Color In MK1", + "to_socket": "G" + }, + { + "from_node": "List Input.005", + "from_socket": "data_output", + "to_node": "Color In MK1", + "to_socket": "B" + }, + { + "from_node": "Move.001", + "from_socket": "Vertices", + "to_node": "Light viewer.001", + "to_socket": "Origin" + }, + { + "from_node": "List Split", + "from_socket": "Split_001", + "to_node": "Light viewer.001", + "to_socket": "Color" + }, + { + "from_node": "Color In MK1", + "from_socket": "Colors", + "to_node": "List Split", + "to_socket": "Data" + }, + { + "from_node": "Plane", + "from_socket": "Vertices", + "to_node": "Mesh Viewer", + "to_socket": "vertices" + }, + { + "from_node": "Plane", + "from_socket": "Polygons", + "to_node": "Mesh Viewer", + "to_socket": "faces" + }, + { + "from_node": "Line", + "from_socket": "Verts", + "to_node": "Move.001", + "to_socket": "Vertices" }, - "width": 100.0 - } - }, - "update_lists": [ - [ - "Plane", - 0, - "Mesh Viewer", - 0 - ], - [ - "Plane", - 2, - "Mesh Viewer", - 2 - ], - [ - "List Input", - 0, - "Color In MK1", - 0 - ], - [ - "List Input.002", - 0, - "Color In MK1", - 1 - ], - [ - "List Input.001", - 0, - "Color In MK1", - 2 - ], - [ - "Color In MK1", - 0, - "List Split", - 0 - ], - [ - "Line", - 0, - "Move.001", - 0 - ], - [ - "Vector In", - 0, - "Move.001", - 1 - ], - [ - "Move.001", - 0, - "Light viewer.001", - 0 - ], - [ - "List Split", - 0, - "Light viewer.001", - 7 + { + "from_node": "Vector In", + "from_socket": "Vectors", + "to_node": "Move.001", + "to_socket": "Movement Vectors" + } ] - ] + } } \ No newline at end of file diff --git a/json_examples/Design/Twisted_square_origami.json b/json_examples/Design/Twisted_square_origami.json index be58f1f822..41dc0d153c 100644 --- a/json_examples/Design/Twisted_square_origami.json +++ b/json_examples/Design/Twisted_square_origami.json @@ -1,731 +1,2394 @@ { - "export_version": "0.079", - "framed_nodes": {}, - "groups": {}, - "nodes": { - "A Number": { - "bl_idname": "SvNumberNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 372.7096862792969, - -603.25537109375 - ], - "params": { - "float_": 0.29999998211860657, - "float_draft_": 0.0, - "float_max": 1.0, - "float_min": 0.0, - "int_": 0, - "int_draft_": 0, - "show_limits": 1 - }, - "width": 140.0 - }, - "Constant List": { - "bl_idname": "SvConstantListNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 88.07112884521484, - -323.3764343261719 - ], - "params": { - "float_value": -3.141590118408203, - "length": 6, - "mode": "FLOAT", - "out_level": 2 - }, - "width": 140.0 - }, - "Constant List.001": { - "bl_idname": "SvConstantListNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 98.20113372802734, - -509.06744384765625 - ], - "params": { - "float_value": 3.141590118408203, - "length": 6, - "mode": "FLOAT", - "out_level": 2 - }, - "width": 140.0 - }, - "List Input": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -736.68603515625, - 602.6008911132812 - ], - "params": { - "mode": "vector", - "v_int": 8, - "vector_list": [ - -1.0, - -1.0, - 0.0, - 1.0, - -1.0, - 0.0, - -1.0, - 1.0, - 0.0, - 1.0, - 1.0, - 0.0, - -1.0, - 0.0, - 0.0, - 0.0, - -1.0, - 0.0, - 1.0, - 0.0, - 0.0, - 0.0, - 1.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "width": 246.10604858398438 - }, - "List Input.001": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -730.9505615234375, - 295.66015625 - ], - "params": { - "mode": "vector", - "v_int": 8, - "vector_list": [ - 0.0, - 0.5, - 0.0, - 0.0, - -0.5, - 0.0, - -0.5, - 0.0, - 0.0, - 0.5, - 0.0, - 0.0, - -1.0, - -0.5, - 0.0, - 1.0, - 0.5, - 0.0, - 0.5, - -1.0, - 0.0, - -0.5, - 1.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "width": 246.10604858398438 - }, - "List Input.002": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -761.152099609375, - -41.42314147949219 - ], - "params": { - "int_": 24, - "int_list": [ - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 3, - 7, - 4, - 5, - 6, - 9, - 9, - 8, - 8, - 4, - 6, - 5, - 7, - 11, - 8, - 10, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - "width": 140.0 - }, - "List Input.003": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -605.6149291992188, - -127.58222961425781 - ], - "params": { - "int_": 24, - "int_list": [ - 12, - 14, - 13, - 15, - 4, - 5, - 6, - 7, - 8, - 10, - 9, - 11, - 11, - 10, - 10, - 11, - 12, - 13, - 14, - 15, - 14, - 13, - 15, - 12, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - "width": 140.0 - }, - "List Input.004": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -864.8081665039062, - -667.9407958984375 - ], - "params": { - "int_": 9, - "int_list": [ - 11, - 5, - 0, - 4, - 9, - 11, - 8, - 15, - 12, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - "width": 140.0 - }, - "List Input.005": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -710.5880737304688, - -753.2420654296875 - ], - "params": { - "int_": 9, - "int_list": [ - 6, - 14, - 5, - 10, - 11, - 14, - 13, - 10, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - "width": 140.0 - }, - "List Input.006": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -562.9304809570312, - -809.0159912109375 - ], - "params": { - "int_": 9, - "int_list": [ - 13, - 11, - 9, - 15, - 8, - 1, - 3, - 8, - 10, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - "width": 140.0 - }, - "List Input.007": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -411.9916076660156, - -895.9576416015625 - ], - "params": { - "int_": 9, - "int_list": [ - 8, - 9, - 12, - 2, - 10, - 6, - 7, - 7, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - }, - "width": 140.0 - }, - "List Input.008": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -88.00865173339844, - -279.174560546875 - ], - "params": { - "int_": 12, - "int_list": [ - 9, - 14, - 21, - 8, - 13, - 20, - 11, - 12, - 23, - 22, - 15, - 10, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "mode": "int_list" - }, - "width": 140.0 - }, - "List Join": { - "bl_idname": "ListJoinNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -370.39654541015625, - 325.951171875 - ], - "params": { - "JoinLevel": 2 - }, - "width": 140.0 - }, - "List Join.001": { - "bl_idname": "ListJoinNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 292.4765319824219, - -322.4739685058594 - ], - "params": { - "JoinLevel": 2 - }, - "width": 140.0 - }, - "List Zip": { - "bl_idname": "ZipNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -348.8019104003906, - 60.930885314941406 - ], - "params": {}, - "width": 140.0 - }, - "List Zip.001": { - "bl_idname": "ZipNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -309.25653076171875, - -162.9715118408203 - ], - "params": {}, - "width": 140.0 - }, - "Rigid Origami": { - "bl_idname": "SvRigidOrigamiNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 763.9081420898438, - 215.3949737548828 - ], - "params": { - "division_count": 20, - "fixed_face_index": 5 - }, - "width": 140.0 - }, - "Viewer Draw Mk3": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 1.0, - 0.5889999866485596, - 0.21400000154972076 - ], - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1082.3763427734375, - 55.88702392578125 - ], - "params": {}, - "use_custom_color": true, - "width": 140.0 + "export_version": "1.0", + "main_tree": { + "nodes": { + "List Join": { + "attributes": { + "location": [ + -370.39654541015625, + 325.951171875 + ] + }, + "properties": { + "JoinLevel": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data_001": { + "bl_idname": "SvVerticesSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "List Zip": { + "attributes": { + "location": [ + -348.8019104003906, + 60.930885314941406 + ] + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ZipNode" + }, + "List Zip.001": { + "attributes": { + "location": [ + -309.25653076171875, + -162.9715118408203 + ] + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + }, + "data 3": { + "bl_idname": "SvStringsSocket", + "name": "data 3" + }, + "data 4": { + "bl_idname": "SvStringsSocket", + "name": "data 4" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ZipNode" + }, + "Rigid Origami": { + "attributes": { + "location": [ + 763.9081420898438, + 215.3949737548828 + ] + }, + "properties": { + "fixed_face_index": 5 + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + }, + "Fold edge indices": { + "bl_idname": "SvStringsSocket", + "name": "Fold edge indices" + }, + "Fold edge angles": { + "bl_idname": "SvStringsSocket", + "name": "Fold edge angles" + }, + "Folding ratio": { + "bl_idname": "SvStringsSocket", + "name": "Folding ratio", + "properties": { + "prop_name": "folding_ratio" + } + }, + "Division count": { + "bl_idname": "SvStringsSocket", + "name": "Division count", + "properties": { + "prop_name": "division_count" + } + }, + "Fixed face index": { + "bl_idname": "SvStringsSocket", + "name": "Fixed face index", + "properties": { + "prop_name": "fixed_face_index" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + } + }, + "bl_idname": "SvRigidOrigamiNode" + }, + "Viewer Draw Mk3": { + "attributes": { + "location": [ + 1082.3763427734375, + 55.88702392578125 + ], + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true + }, + "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": [ + 1072.5218505859375, + -243.89556884765625 + ], + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true + }, + "properties": { + "activate": false, + "display_edge_index": true, + "display_vert_index": false + }, + "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" + }, + "List Input.009": { + "attributes": { + "location": [ + -1229.5911865234375, + 644.59423828125 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {"elem":0} + ], + "list_items_type": "VECTOR_LIST_MODE", + "vector_list_items": [ + { + "elem": [ + -1.0, + -1.0, + 0.0 + ], + "NONE": [ + -1.0, + -1.0, + 0.0 + ], + "COLOR": [ + -1.0, + -1.0, + 0.0 + ], + "TRANSLATION": [ + -1.0, + -1.0, + 0.0 + ], + "DIRECTION": [ + -1.0, + -1.0, + 0.0 + ], + "VELOCITY": [ + -1.0, + -1.0, + 0.0 + ], + "ACCELERATION": [ + -1.0, + -1.0, + 0.0 + ], + "EULER": [ + -1.0, + -1.0, + 0.0 + ], + "AXISANGLE": [ + -1.0, + -1.0, + 0.0 + ], + "XYZ": [ + -1.0, + -1.0, + 0.0 + ], + "XYZ_LENGTH": [ + -1.0, + -1.0, + 0.0 + ], + "COLOR_GAMMA": [ + -1.0, + -1.0, + 0.0 + ], + "COORDINATES": [ + -1.0, + -1.0, + 0.0 + ], + "LAYER": [ + -1.0, + -1.0, + 0.0 + ], + "LAYER_MEMBER": [ + -1.0, + -1.0, + 0.0 + ] + }, + { + "elem": [ + 1.0, + -1.0, + 0.0 + ], + "NONE": [ + 1.0, + -1.0, + 0.0 + ], + "COLOR": [ + 1.0, + -1.0, + 0.0 + ], + "TRANSLATION": [ + 1.0, + -1.0, + 0.0 + ], + "DIRECTION": [ + 1.0, + -1.0, + 0.0 + ], + "VELOCITY": [ + 1.0, + -1.0, + 0.0 + ], + "ACCELERATION": [ + 1.0, + -1.0, + 0.0 + ], + "EULER": [ + 1.0, + -1.0, + 0.0 + ], + "AXISANGLE": [ + 1.0, + -1.0, + 0.0 + ], + "XYZ": [ + 1.0, + -1.0, + 0.0 + ], + "XYZ_LENGTH": [ + 1.0, + -1.0, + 0.0 + ], + "COLOR_GAMMA": [ + 1.0, + -1.0, + 0.0 + ], + "COORDINATES": [ + 1.0, + -1.0, + 0.0 + ], + "LAYER": [ + 1.0, + -1.0, + 0.0 + ], + "LAYER_MEMBER": [ + 1.0, + -1.0, + 0.0 + ] + }, + { + "elem": [ + -1.0, + 1.0, + 0.0 + ], + "NONE": [ + -1.0, + 1.0, + 0.0 + ], + "COLOR": [ + -1.0, + 1.0, + 0.0 + ], + "TRANSLATION": [ + -1.0, + 1.0, + 0.0 + ], + "DIRECTION": [ + -1.0, + 1.0, + 0.0 + ], + "VELOCITY": [ + -1.0, + 1.0, + 0.0 + ], + "ACCELERATION": [ + -1.0, + 1.0, + 0.0 + ], + "EULER": [ + -1.0, + 1.0, + 0.0 + ], + "AXISANGLE": [ + -1.0, + 1.0, + 0.0 + ], + "XYZ": [ + -1.0, + 1.0, + 0.0 + ], + "XYZ_LENGTH": [ + -1.0, + 1.0, + 0.0 + ], + "COLOR_GAMMA": [ + -1.0, + 1.0, + 0.0 + ], + "COORDINATES": [ + -1.0, + 1.0, + 0.0 + ], + "LAYER": [ + -1.0, + 1.0, + 0.0 + ], + "LAYER_MEMBER": [ + -1.0, + 1.0, + 0.0 + ] + }, + { + "elem": [ + 1.0, + 1.0, + 0.0 + ], + "NONE": [ + 1.0, + 1.0, + 0.0 + ], + "COLOR": [ + 1.0, + 1.0, + 0.0 + ], + "TRANSLATION": [ + 1.0, + 1.0, + 0.0 + ], + "DIRECTION": [ + 1.0, + 1.0, + 0.0 + ], + "VELOCITY": [ + 1.0, + 1.0, + 0.0 + ], + "ACCELERATION": [ + 1.0, + 1.0, + 0.0 + ], + "EULER": [ + 1.0, + 1.0, + 0.0 + ], + "AXISANGLE": [ + 1.0, + 1.0, + 0.0 + ], + "XYZ": [ + 1.0, + 1.0, + 0.0 + ], + "XYZ_LENGTH": [ + 1.0, + 1.0, + 0.0 + ], + "COLOR_GAMMA": [ + 1.0, + 1.0, + 0.0 + ], + "COORDINATES": [ + 1.0, + 1.0, + 0.0 + ], + "LAYER": [ + 1.0, + 1.0, + 0.0 + ], + "LAYER_MEMBER": [ + 1.0, + 1.0, + 0.0 + ] + }, + { + "elem": [ + -1.0, + 0.0, + 0.0 + ], + "NONE": [ + -1.0, + 0.0, + 0.0 + ], + "COLOR": [ + -1.0, + 0.0, + 0.0 + ], + "TRANSLATION": [ + -1.0, + 0.0, + 0.0 + ], + "DIRECTION": [ + -1.0, + 0.0, + 0.0 + ], + "VELOCITY": [ + -1.0, + 0.0, + 0.0 + ], + "ACCELERATION": [ + -1.0, + 0.0, + 0.0 + ], + "EULER": [ + -1.0, + 0.0, + 0.0 + ], + "AXISANGLE": [ + -1.0, + 0.0, + 0.0 + ], + "XYZ": [ + -1.0, + 0.0, + 0.0 + ], + "XYZ_LENGTH": [ + -1.0, + 0.0, + 0.0 + ], + "COLOR_GAMMA": [ + -1.0, + 0.0, + 0.0 + ], + "COORDINATES": [ + -1.0, + 0.0, + 0.0 + ], + "LAYER": [ + -1.0, + 0.0, + 0.0 + ], + "LAYER_MEMBER": [ + -1.0, + 0.0, + 0.0 + ] + }, + { + "elem": [ + 0.0, + -1.0, + 0.0 + ], + "NONE": [ + 0.0, + -1.0, + 0.0 + ], + "COLOR": [ + 0.0, + -1.0, + 0.0 + ], + "TRANSLATION": [ + 0.0, + -1.0, + 0.0 + ], + "DIRECTION": [ + 0.0, + -1.0, + 0.0 + ], + "VELOCITY": [ + 0.0, + -1.0, + 0.0 + ], + "ACCELERATION": [ + 0.0, + -1.0, + 0.0 + ], + "EULER": [ + 0.0, + -1.0, + 0.0 + ], + "AXISANGLE": [ + 0.0, + -1.0, + 0.0 + ], + "XYZ": [ + 0.0, + -1.0, + 0.0 + ], + "XYZ_LENGTH": [ + 0.0, + -1.0, + 0.0 + ], + "COLOR_GAMMA": [ + 0.0, + -1.0, + 0.0 + ], + "COORDINATES": [ + 0.0, + -1.0, + 0.0 + ], + "LAYER": [ + 0.0, + -1.0, + 0.0 + ], + "LAYER_MEMBER": [ + 0.0, + -1.0, + 0.0 + ] + }, + { + "elem": [ + 1.0, + 0.0, + 0.0 + ], + "NONE": [ + 1.0, + 0.0, + 0.0 + ], + "COLOR": [ + 1.0, + 0.0, + 0.0 + ], + "TRANSLATION": [ + 1.0, + 0.0, + 0.0 + ], + "DIRECTION": [ + 1.0, + 0.0, + 0.0 + ], + "VELOCITY": [ + 1.0, + 0.0, + 0.0 + ], + "ACCELERATION": [ + 1.0, + 0.0, + 0.0 + ], + "EULER": [ + 1.0, + 0.0, + 0.0 + ], + "AXISANGLE": [ + 1.0, + 0.0, + 0.0 + ], + "XYZ": [ + 1.0, + 0.0, + 0.0 + ], + "XYZ_LENGTH": [ + 1.0, + 0.0, + 0.0 + ], + "COLOR_GAMMA": [ + 1.0, + 0.0, + 0.0 + ], + "COORDINATES": [ + 1.0, + 0.0, + 0.0 + ], + "LAYER": [ + 1.0, + 0.0, + 0.0 + ], + "LAYER_MEMBER": [ + 1.0, + 0.0, + 0.0 + ] + }, + { + "elem": [ + 0.0, + 1.0, + 0.0 + ], + "NONE": [ + 0.0, + 1.0, + 0.0 + ], + "COLOR": [ + 0.0, + 1.0, + 0.0 + ], + "TRANSLATION": [ + 0.0, + 1.0, + 0.0 + ], + "DIRECTION": [ + 0.0, + 1.0, + 0.0 + ], + "VELOCITY": [ + 0.0, + 1.0, + 0.0 + ], + "ACCELERATION": [ + 0.0, + 1.0, + 0.0 + ], + "EULER": [ + 0.0, + 1.0, + 0.0 + ], + "AXISANGLE": [ + 0.0, + 1.0, + 0.0 + ], + "XYZ": [ + 0.0, + 1.0, + 0.0 + ], + "XYZ_LENGTH": [ + 0.0, + 1.0, + 0.0 + ], + "COLOR_GAMMA": [ + 0.0, + 1.0, + 0.0 + ], + "COORDINATES": [ + 0.0, + 1.0, + 0.0 + ], + "LAYER": [ + 0.0, + 1.0, + 0.0 + ], + "LAYER_MEMBER": [ + 0.0, + 1.0, + 0.0 + ] + } + ], + "vector_list_counter": 8 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output_001": { + "bl_idname": "SvVerticesSocket", + "name": "data_output", + "properties": { + "label": "Vectors" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.010": { + "attributes": { + "location": [ + -1223.0869140625, + 274.2689208984375 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {"elem":0} + ], + "list_items_type": "VECTOR_LIST_MODE", + "vector_list_items": [ + { + "elem": [ + 0.0, + 0.5, + 0.0 + ], + "NONE": [ + 0.0, + 0.5, + 0.0 + ], + "COLOR": [ + 0.0, + 0.5, + 0.0 + ], + "TRANSLATION": [ + 0.0, + 0.5, + 0.0 + ], + "DIRECTION": [ + 0.0, + 0.5, + 0.0 + ], + "VELOCITY": [ + 0.0, + 0.5, + 0.0 + ], + "ACCELERATION": [ + 0.0, + 0.5, + 0.0 + ], + "EULER": [ + 0.0, + 0.5, + 0.0 + ], + "AXISANGLE": [ + 0.0, + 0.5, + 0.0 + ], + "XYZ": [ + 0.0, + 0.5, + 0.0 + ], + "XYZ_LENGTH": [ + 0.0, + 0.5, + 0.0 + ], + "COLOR_GAMMA": [ + 0.0, + 0.5, + 0.0 + ], + "COORDINATES": [ + 0.0, + 0.5, + 0.0 + ], + "LAYER": [ + 0.0, + 0.5, + 0.0 + ], + "LAYER_MEMBER": [ + 0.0, + 0.5, + 0.0 + ] + }, + { + "elem": [ + 0.0, + -0.5, + 0.0 + ], + "NONE": [ + 0.0, + -0.5, + 0.0 + ], + "COLOR": [ + 0.0, + -0.5, + 0.0 + ], + "TRANSLATION": [ + 0.0, + -0.5, + 0.0 + ], + "DIRECTION": [ + 0.0, + -0.5, + 0.0 + ], + "VELOCITY": [ + 0.0, + -0.5, + 0.0 + ], + "ACCELERATION": [ + 0.0, + -0.5, + 0.0 + ], + "EULER": [ + 0.0, + -0.5, + 0.0 + ], + "AXISANGLE": [ + 0.0, + -0.5, + 0.0 + ], + "XYZ": [ + 0.0, + -0.5, + 0.0 + ], + "XYZ_LENGTH": [ + 0.0, + -0.5, + 0.0 + ], + "COLOR_GAMMA": [ + 0.0, + -0.5, + 0.0 + ], + "COORDINATES": [ + 0.0, + -0.5, + 0.0 + ], + "LAYER": [ + 0.0, + -0.5, + 0.0 + ], + "LAYER_MEMBER": [ + 0.0, + -0.5, + 0.0 + ] + }, + { + "elem": [ + -0.5, + 0.0, + 0.0 + ], + "NONE": [ + -0.5, + 0.0, + 0.0 + ], + "COLOR": [ + -0.5, + 0.0, + 0.0 + ], + "TRANSLATION": [ + -0.5, + 0.0, + 0.0 + ], + "DIRECTION": [ + -0.5, + 0.0, + 0.0 + ], + "VELOCITY": [ + -0.5, + 0.0, + 0.0 + ], + "ACCELERATION": [ + -0.5, + 0.0, + 0.0 + ], + "EULER": [ + -0.5, + 0.0, + 0.0 + ], + "AXISANGLE": [ + -0.5, + 0.0, + 0.0 + ], + "XYZ": [ + -0.5, + 0.0, + 0.0 + ], + "XYZ_LENGTH": [ + -0.5, + 0.0, + 0.0 + ], + "COLOR_GAMMA": [ + -0.5, + 0.0, + 0.0 + ], + "COORDINATES": [ + -0.5, + 0.0, + 0.0 + ], + "LAYER": [ + -0.5, + 0.0, + 0.0 + ], + "LAYER_MEMBER": [ + -0.5, + 0.0, + 0.0 + ] + }, + { + "elem": [ + 0.5, + 0.0, + 0.0 + ], + "NONE": [ + 0.5, + 0.0, + 0.0 + ], + "COLOR": [ + 0.5, + 0.0, + 0.0 + ], + "TRANSLATION": [ + 0.5, + 0.0, + 0.0 + ], + "DIRECTION": [ + 0.5, + 0.0, + 0.0 + ], + "VELOCITY": [ + 0.5, + 0.0, + 0.0 + ], + "ACCELERATION": [ + 0.5, + 0.0, + 0.0 + ], + "EULER": [ + 0.5, + 0.0, + 0.0 + ], + "AXISANGLE": [ + 0.5, + 0.0, + 0.0 + ], + "XYZ": [ + 0.5, + 0.0, + 0.0 + ], + "XYZ_LENGTH": [ + 0.5, + 0.0, + 0.0 + ], + "COLOR_GAMMA": [ + 0.5, + 0.0, + 0.0 + ], + "COORDINATES": [ + 0.5, + 0.0, + 0.0 + ], + "LAYER": [ + 0.5, + 0.0, + 0.0 + ], + "LAYER_MEMBER": [ + 0.5, + 0.0, + 0.0 + ] + }, + { + "elem": [ + -1.0, + -0.5, + 0.0 + ], + "NONE": [ + -1.0, + -0.5, + 0.0 + ], + "COLOR": [ + -1.0, + -0.5, + 0.0 + ], + "TRANSLATION": [ + -1.0, + -0.5, + 0.0 + ], + "DIRECTION": [ + -1.0, + -0.5, + 0.0 + ], + "VELOCITY": [ + -1.0, + -0.5, + 0.0 + ], + "ACCELERATION": [ + -1.0, + -0.5, + 0.0 + ], + "EULER": [ + -1.0, + -0.5, + 0.0 + ], + "AXISANGLE": [ + -1.0, + -0.5, + 0.0 + ], + "XYZ": [ + -1.0, + -0.5, + 0.0 + ], + "XYZ_LENGTH": [ + -1.0, + -0.5, + 0.0 + ], + "COLOR_GAMMA": [ + -1.0, + -0.5, + 0.0 + ], + "COORDINATES": [ + -1.0, + -0.5, + 0.0 + ], + "LAYER": [ + -1.0, + -0.5, + 0.0 + ], + "LAYER_MEMBER": [ + -1.0, + -0.5, + 0.0 + ] + }, + { + "elem": [ + 1.0, + 0.5, + 0.0 + ], + "NONE": [ + 1.0, + 0.5, + 0.0 + ], + "COLOR": [ + 1.0, + 0.5, + 0.0 + ], + "TRANSLATION": [ + 1.0, + 0.5, + 0.0 + ], + "DIRECTION": [ + 1.0, + 0.5, + 0.0 + ], + "VELOCITY": [ + 1.0, + 0.5, + 0.0 + ], + "ACCELERATION": [ + 1.0, + 0.5, + 0.0 + ], + "EULER": [ + 1.0, + 0.5, + 0.0 + ], + "AXISANGLE": [ + 1.0, + 0.5, + 0.0 + ], + "XYZ": [ + 1.0, + 0.5, + 0.0 + ], + "XYZ_LENGTH": [ + 1.0, + 0.5, + 0.0 + ], + "COLOR_GAMMA": [ + 1.0, + 0.5, + 0.0 + ], + "COORDINATES": [ + 1.0, + 0.5, + 0.0 + ], + "LAYER": [ + 1.0, + 0.5, + 0.0 + ], + "LAYER_MEMBER": [ + 1.0, + 0.5, + 0.0 + ] + }, + { + "elem": [ + 0.5, + -1.0, + 0.0 + ], + "NONE": [ + 0.5, + -1.0, + 0.0 + ], + "COLOR": [ + 0.5, + -1.0, + 0.0 + ], + "TRANSLATION": [ + 0.5, + -1.0, + 0.0 + ], + "DIRECTION": [ + 0.5, + -1.0, + 0.0 + ], + "VELOCITY": [ + 0.5, + -1.0, + 0.0 + ], + "ACCELERATION": [ + 0.5, + -1.0, + 0.0 + ], + "EULER": [ + 0.5, + -1.0, + 0.0 + ], + "AXISANGLE": [ + 0.5, + -1.0, + 0.0 + ], + "XYZ": [ + 0.5, + -1.0, + 0.0 + ], + "XYZ_LENGTH": [ + 0.5, + -1.0, + 0.0 + ], + "COLOR_GAMMA": [ + 0.5, + -1.0, + 0.0 + ], + "COORDINATES": [ + 0.5, + -1.0, + 0.0 + ], + "LAYER": [ + 0.5, + -1.0, + 0.0 + ], + "LAYER_MEMBER": [ + 0.5, + -1.0, + 0.0 + ] + }, + { + "elem": [ + -0.5, + 1.0, + 0.0 + ], + "NONE": [ + -0.5, + 1.0, + 0.0 + ], + "COLOR": [ + -0.5, + 1.0, + 0.0 + ], + "TRANSLATION": [ + -0.5, + 1.0, + 0.0 + ], + "DIRECTION": [ + -0.5, + 1.0, + 0.0 + ], + "VELOCITY": [ + -0.5, + 1.0, + 0.0 + ], + "ACCELERATION": [ + -0.5, + 1.0, + 0.0 + ], + "EULER": [ + -0.5, + 1.0, + 0.0 + ], + "AXISANGLE": [ + -0.5, + 1.0, + 0.0 + ], + "XYZ": [ + -0.5, + 1.0, + 0.0 + ], + "XYZ_LENGTH": [ + -0.5, + 1.0, + 0.0 + ], + "COLOR_GAMMA": [ + -0.5, + 1.0, + 0.0 + ], + "COORDINATES": [ + -0.5, + 1.0, + 0.0 + ], + "LAYER": [ + -0.5, + 1.0, + 0.0 + ], + "LAYER_MEMBER": [ + -0.5, + 1.0, + 0.0 + ] + } + ], + "vector_list_counter": 8 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output_001": { + "bl_idname": "SvVerticesSocket", + "name": "data_output", + "properties": { + "label": "Vectors" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input": { + "attributes": { + "location": [ + -943.212158203125, + 168.6864471435547 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + {"elem":0}, + { + "elem": 1 + }, + { + "elem": 3 + }, + { + "elem": 2 + }, + { + "elem": 2 + }, + {"elem":0}, + { + "elem": 1 + }, + { + "elem": 3 + }, + { + "elem": 7 + }, + { + "elem": 4 + }, + { + "elem": 5 + }, + { + "elem": 6 + }, + { + "elem": 9 + }, + { + "elem": 9 + }, + { + "elem": 8 + }, + { + "elem": 8 + }, + { + "elem": 4 + }, + { + "elem": 6 + }, + { + "elem": 5 + }, + { + "elem": 7 + }, + { + "elem": 11 + }, + { + "elem": 8 + }, + { + "elem": 10 + }, + { + "elem": 9 + } + ], + "int_list_counter": 24 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.001": { + "attributes": { + "location": [ + -763.8804931640625, + 83.0538101196289 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 12 + }, + { + "elem": 14 + }, + { + "elem": 13 + }, + { + "elem": 15 + }, + { + "elem": 4 + }, + { + "elem": 5 + }, + { + "elem": 6 + }, + { + "elem": 7 + }, + { + "elem": 8 + }, + { + "elem": 10 + }, + { + "elem": 9 + }, + { + "elem": 11 + }, + { + "elem": 11 + }, + { + "elem": 10 + }, + { + "elem": 10 + }, + { + "elem": 11 + }, + { + "elem": 12 + }, + { + "elem": 13 + }, + { + "elem": 14 + }, + { + "elem": 15 + }, + { + "elem": 14 + }, + { + "elem": 13 + }, + { + "elem": 15 + }, + { + "elem": 12 + } + ], + "int_list_counter": 24 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.002": { + "attributes": { + "location": [ + -1226.182373046875, + -563.7138061523438 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 11 + }, + { + "elem": 5 + }, + {"elem":0}, + { + "elem": 4 + }, + { + "elem": 9 + }, + { + "elem": 11 + }, + { + "elem": 8 + }, + { + "elem": 15 + }, + { + "elem": 12 + } + ], + "int_list_counter": 9 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.003": { + "attributes": { + "location": [ + -1048.818359375, + -659.065673828125 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 6 + }, + { + "elem": 14 + }, + { + "elem": 5 + }, + { + "elem": 10 + }, + { + "elem": 11 + }, + { + "elem": 14 + }, + { + "elem": 13 + }, + { + "elem": 10 + }, + { + "elem": 9 + } + ], + "int_list_counter": 9 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.004": { + "attributes": { + "location": [ + -860.7755737304688, + -747.7550048828125 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 13 + }, + { + "elem": 11 + }, + { + "elem": 9 + }, + { + "elem": 15 + }, + { + "elem": 8 + }, + { + "elem": 1 + }, + { + "elem": 3 + }, + { + "elem": 8 + }, + { + "elem": 10 + } + ], + "int_list_counter": 9 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "Constant List": { + "attributes": { + "location": [ + 297.1473693847656, + -153.5906219482422 + ] + }, + "properties": { + "float_value": -3.141590118408203, + "length": 6, + "mode": "FLOAT" + }, + "inputs": { + "IntValue": { + "bl_idname": "SvStringsSocket", + "name": "IntValue", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "int_value" + } + }, + "FloatValue": { + "bl_idname": "SvStringsSocket", + "name": "FloatValue", + "properties": { + "prop_name": "float_value" + } + }, + "Length": { + "bl_idname": "SvStringsSocket", + "name": "Length", + "properties": { + "prop_name": "length" + } + } + }, + "outputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + } + }, + "bl_idname": "SvConstantListNode" + }, + "Constant List.001": { + "attributes": { + "location": [ + 307.2773742675781, + -339.2816162109375 + ] + }, + "properties": { + "float_value": 3.141590118408203, + "length": 6, + "mode": "FLOAT" + }, + "inputs": { + "IntValue": { + "bl_idname": "SvStringsSocket", + "name": "IntValue", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "int_value" + } + }, + "FloatValue": { + "bl_idname": "SvStringsSocket", + "name": "FloatValue", + "properties": { + "prop_name": "float_value" + } + }, + "Length": { + "bl_idname": "SvStringsSocket", + "name": "Length", + "properties": { + "prop_name": "length" + } + } + }, + "outputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + } + }, + "bl_idname": "SvConstantListNode" + }, + "List Join.001": { + "attributes": { + "location": [ + 501.55279541015625, + -152.6881561279297 + ] + }, + "properties": { + "JoinLevel": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "A Number": { + "attributes": { + "location": [ + 507.4477233886719, + -372.99786376953125 + ] + }, + "properties": { + "float_": 0.29999998211860657, + "float_max": 1.0, + "float_min": 0.0, + "show_limits": true + }, + "inputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "prop_name": "float_" + } + } + }, + "outputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "custom_draw": "mode_custom_draw" + } + } + }, + "bl_idname": "SvNumberNode" + }, + "List Input.006": { + "attributes": { + "location": [ + -10.646148681640625, + -195.42271423339844 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 9 + }, + { + "elem": 14 + }, + { + "elem": 21 + }, + { + "elem": 8 + }, + { + "elem": 13 + }, + { + "elem": 20 + }, + { + "elem": 11 + }, + { + "elem": 12 + }, + { + "elem": 23 + }, + { + "elem": 22 + }, + { + "elem": 15 + }, + { + "elem": 10 + } + ], + "int_list_counter": 12 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.005": { + "attributes": { + "location": [ + -702.4995727539062, + -839.9660034179688 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 8 + }, + { + "elem": 9 + }, + { + "elem": 12 + }, + { + "elem": 2 + }, + { + "elem": 10 + }, + { + "elem": 6 + }, + { + "elem": 7 + }, + { + "elem": 7 + }, + { + "elem": 4 + } + ], + "int_list_counter": 9 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + } }, - "Viewer Index+": { - "bl_idname": "SvIDXViewer28", - "color": [ - 1.0, - 0.5889999866485596, - 0.21400000154972076 - ], - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1072.5218505859375, - -243.89556884765625 - ], - "params": { - "activate": 0, - "display_edge_index": 1, - "display_vert_index": 0 - }, - "use_custom_color": true, - "width": 140.0 - } - }, - "update_lists": [ - [ - "List Input", - 0, - "List Join", - 0 - ], - [ - "List Input.001", - 0, - "List Join", - 1 - ], - [ - "List Input.002", - 0, - "List Zip", - 0 - ], - [ - "List Input.003", - 0, - "List Zip", - 1 - ], - [ - "List Input.004", - 0, - "List Zip.001", - 0 - ], - [ - "List Input.005", - 0, - "List Zip.001", - 1 - ], - [ - "List Input.006", - 0, - "List Zip.001", - 2 - ], - [ - "List Input.007", - 0, - "List Zip.001", - 3 - ], - [ - "Constant List", - 0, - "List Join.001", - 0 - ], - [ - "Constant List.001", - 0, - "List Join.001", - 1 - ], - [ - "List Join", - 0, - "Rigid Origami", - 0 - ], - [ - "List Zip", - 0, - "Rigid Origami", - 1 - ], - [ - "List Zip.001", - 0, - "Rigid Origami", - 2 - ], - [ - "List Input.008", - 0, - "Rigid Origami", - 3 - ], - [ - "List Join.001", - 0, - "Rigid Origami", - 4 - ], - [ - "A Number", - 0, - "Rigid Origami", - 5 - ], - [ - "Rigid Origami", - 0, - "Viewer Index+", - 0 - ], - [ - "List Zip", - 0, - "Viewer Index+", - 1 - ], - [ - "Rigid Origami", - 0, - "Viewer Draw Mk3", - 0 - ], - [ - "List Zip", - 0, - "Viewer Draw Mk3", - 1 - ], - [ - "List Zip.001", - 0, - "Viewer Draw Mk3", - 2 + "links": [ + { + "from_node": "List Input.009", + "from_socket": "data_output_001", + "to_node": "List Join", + "to_socket": "data" + }, + { + "from_node": "List Input.010", + "from_socket": "data_output_001", + "to_node": "List Join", + "to_socket": "data 1" + }, + { + "from_node": "List Input", + "from_socket": "data_output", + "to_node": "List Zip", + "to_socket": "data" + }, + { + "from_node": "List Input.001", + "from_socket": "data_output", + "to_node": "List Zip", + "to_socket": "data 1" + }, + { + "from_node": "List Input.002", + "from_socket": "data_output", + "to_node": "List Zip.001", + "to_socket": "data" + }, + { + "from_node": "List Input.003", + "from_socket": "data_output", + "to_node": "List Zip.001", + "to_socket": "data 1" + }, + { + "from_node": "List Input.004", + "from_socket": "data_output", + "to_node": "List Zip.001", + "to_socket": "data 2" + }, + { + "from_node": "List Input.005", + "from_socket": "data_output", + "to_node": "List Zip.001", + "to_socket": "data 3" + }, + { + "from_node": "List Join", + "from_socket": "data_001", + "to_node": "Rigid Origami", + "to_socket": "Vertices" + }, + { + "from_node": "List Zip", + "from_socket": "data", + "to_node": "Rigid Origami", + "to_socket": "Edges" + }, + { + "from_node": "List Zip.001", + "from_socket": "data", + "to_node": "Rigid Origami", + "to_socket": "Faces" + }, + { + "from_node": "List Input.006", + "from_socket": "data_output", + "to_node": "Rigid Origami", + "to_socket": "Fold edge indices" + }, + { + "from_node": "List Join.001", + "from_socket": "data", + "to_node": "Rigid Origami", + "to_socket": "Fold edge angles" + }, + { + "from_node": "A Number", + "from_socket": "Float", + "to_node": "Rigid Origami", + "to_socket": "Folding ratio" + }, + { + "from_node": "Rigid Origami", + "from_socket": "Vertices", + "to_node": "Viewer Draw Mk3", + "to_socket": "Vertices" + }, + { + "from_node": "List Zip", + "from_socket": "data", + "to_node": "Viewer Draw Mk3", + "to_socket": "Edges" + }, + { + "from_node": "List Zip.001", + "from_socket": "data", + "to_node": "Viewer Draw Mk3", + "to_socket": "Polygons" + }, + { + "from_node": "Rigid Origami", + "from_socket": "Vertices", + "to_node": "Viewer Index+", + "to_socket": "verts" + }, + { + "from_node": "List Zip", + "from_socket": "data", + "to_node": "Viewer Index+", + "to_socket": "edges" + }, + { + "from_node": "Constant List", + "from_socket": "Data", + "to_node": "List Join.001", + "to_socket": "data" + }, + { + "from_node": "Constant List.001", + "from_socket": "Data", + "to_node": "List Join.001", + "to_socket": "data 1" + } ] - ] -} + } +} \ No newline at end of file diff --git a/json_examples/Design/Water_bomb_origami_tessellation_namako.json b/json_examples/Design/Water_bomb_origami_tessellation_namako.json index 77368df640..0bf04ee00a 100644 --- a/json_examples/Design/Water_bomb_origami_tessellation_namako.json +++ b/json_examples/Design/Water_bomb_origami_tessellation_namako.json @@ -56,7 +56,7 @@ "width": 140.0 }, "List Input": { - "bl_idname": "SvListInputNode", + "bl_idname": "SvListInputNodeMK2", "height": 100.0, "hide": false, "label": "", @@ -65,8 +65,8 @@ 119.14979553222656 ], "params": { - "int_": 36, - "int_list": [ + "int_list_counter": 36, + "int_list_items": [ 3, 4, 20, @@ -138,7 +138,7 @@ "width": 140.0 }, "List Input.001": { - "bl_idname": "SvListInputNode", + "bl_idname": "SvListInputNodeMK2", "height": 100.0, "hide": false, "label": "", @@ -147,8 +147,9 @@ 35.43647003173828 ], "params": { - "int_": 34, - "int_list": [ + "list_items_type": "INT_LIST_MODE", + "int_list_counter": 34, + "int_list_items": [ 58, 59, 18, diff --git a/json_examples/Design/Water_bomb_origami_tessellation_square.json b/json_examples/Design/Water_bomb_origami_tessellation_square.json index c4a76480e5..fefb8c9ba6 100644 --- a/json_examples/Design/Water_bomb_origami_tessellation_square.json +++ b/json_examples/Design/Water_bomb_origami_tessellation_square.json @@ -1,1785 +1,2138 @@ { - "export_version": "0.079", - "framed_nodes": {}, - "groups": {}, - "nodes": { - "A Number": { - "bl_idname": "SvNumberNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -323.1785888671875, - 111.35858154296875 - ], - "params": { - "float_": -3.141592025756836, - "float_draft_": 0.0, - "int_": 0, - "int_draft_": 0 - }, - "width": 140.0 - }, - "A Number.001": { - "bl_idname": "SvNumberNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 215.10272216796875, - -132.81634521484375 - ], - "params": { - "float_": 0.8100000023841858, - "float_draft_": 0.0, - "float_max": 1.0, - "float_min": 0.0, - "int_": 0, - "int_draft_": 0, - "show_limits": 1 + "export_version": "1.0", + "main_tree": { + "nodes": { + "A Number": { + "attributes": { + "location": [ + -323.1785888671875, + 111.35858154296875 + ] + }, + "properties": { + "float_": -3.141592025756836 + }, + "inputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "prop_name": "float_" + } + } + }, + "outputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "custom_draw": "mode_custom_draw" + } + } + }, + "bl_idname": "SvNumberNode" }, - "width": 140.0 - }, - "Constant List": { - "bl_idname": "SvConstantListNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -322.612548828125, - 284.6073913574219 - ], - "params": { - "float_value": -1.570796012878418, - "int_value": -2, - "length": 112, - "mode": "FLOAT" + "A Number.001": { + "attributes": { + "location": [ + 215.10272216796875, + -132.81634521484375 + ] + }, + "properties": { + "float_": 0.8100000023841858, + "float_max": 1.0, + "float_min": 0.0, + "show_limits": true + }, + "inputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "prop_name": "float_" + } + } + }, + "outputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "custom_draw": "mode_custom_draw" + } + } + }, + "bl_idname": "SvNumberNode" }, - "width": 140.0 - }, - "Constant List.001": { - "bl_idname": "SvConstantListNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 29.062881469726562, - -11.503791809082031 - ], - "params": { - "float_value": 3.141592025756836, - "int_value": -2, - "length": 40, - "mode": "FLOAT" + "Constant List": { + "attributes": { + "location": [ + -322.612548828125, + 284.6073913574219 + ] + }, + "properties": { + "float_value": -1.570796012878418, + "int_value": -2, + "length": 112, + "mode": "FLOAT" + }, + "inputs": { + "IntValue": { + "bl_idname": "SvStringsSocket", + "name": "IntValue", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "int_value" + } + }, + "FloatValue": { + "bl_idname": "SvStringsSocket", + "name": "FloatValue", + "properties": { + "prop_name": "float_value" + } + }, + "Length": { + "bl_idname": "SvStringsSocket", + "name": "Length", + "properties": { + "prop_name": "length" + } + } + }, + "outputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + } + }, + "bl_idname": "SvConstantListNode" }, - "width": 140.0 - }, - "List Input": { - "bl_idname": "SvListInputNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -322.04022216796875, - 23.972515106201172 - ], - "params": { - "int_": 16, - "int_list": [ - 32, - 35, - 37, - 47, - 52, - 57, - 62, - 67, - 71, - 80, - 84, - 88, - 93, - 97, - 101, - 110, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] + "Constant List.001": { + "attributes": { + "location": [ + 29.062881469726562, + -11.503791809082031 + ] + }, + "properties": { + "float_value": 3.141592025756836, + "int_value": -2, + "length": 40, + "mode": "FLOAT" + }, + "inputs": { + "IntValue": { + "bl_idname": "SvStringsSocket", + "name": "IntValue", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "int_value" + } + }, + "FloatValue": { + "bl_idname": "SvStringsSocket", + "name": "FloatValue", + "properties": { + "prop_name": "float_value" + } + }, + "Length": { + "bl_idname": "SvStringsSocket", + "name": "Length", + "properties": { + "prop_name": "length" + } + } + }, + "outputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + } + }, + "bl_idname": "SvConstantListNode" }, - "width": 140.0 - }, - "List Item Insert": { - "bl_idname": "SvListItemInsertNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -135.3211669921875, - 222.85995483398438 - ], - "params": {}, - "width": 140.0 - }, - "List Join": { - "bl_idname": "ListJoinNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 221.20285034179688, - 128.6488037109375 - ], - "params": { - "JoinLevel": 2 + "List Item Insert": { + "attributes": { + "location": [ + -135.3211669921875, + 222.85995483398438 + ] + }, + "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": { + "bl_idname": "SvStringsSocket", + "name": "Data" + } + }, + "bl_idname": "SvListItemInsertNode" }, - "width": 140.0 - }, - "List Slice": { - "bl_idname": "ListSliceNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 43.5186767578125, - 174.2268524169922 - ], - "params": { - "level": 1, - "start": 28, - "stop": 112 + "List Join": { + "attributes": { + "location": [ + 221.20285034179688, + 128.6488037109375 + ] + }, + "properties": { + "JoinLevel": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" }, - "width": 140.0 - }, - "Number Range": { - "bl_idname": "SvGenNumberRange", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 219.86819458007812, - 346.6288757324219 - ], - "params": { - "number_mode": "int", - "start_int": 28, - "stop_int": 152 + "List Slice": { + "attributes": { + "location": [ + 43.5186767578125, + 174.2268524169922 + ] + }, + "properties": { + "level": 1, + "start": 28, + "stop": 112 + }, + "inputs": { + "Data": { + "bl_idname": "SvStringsSocket", + "name": "Data" + }, + "Start": { + "bl_idname": "SvStringsSocket", + "name": "Start", + "properties": { + "prop_name": "start" + } + }, + "Stop": { + "bl_idname": "SvStringsSocket", + "name": "Stop", + "properties": { + "prop_name": "stop" + } + } + }, + "outputs": { + "Slice": { + "bl_idname": "SvStringsSocket", + "name": "Slice" + }, + "Other": { + "bl_idname": "SvStringsSocket", + "name": "Other" + } + }, + "bl_idname": "ListSliceNode" }, - "width": 140.0 - }, - "Rigid Origami": { - "bl_idname": "SvRigidOrigamiNode", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 528.9243774414062, - 565.48046875 - ], - "params": { - "fixed_face_index": 28 + "Number Range": { + "attributes": { + "location": [ + 219.86819458007812, + 346.6288757324219 + ] + }, + "properties": { + "number_mode": "int", + "current_mode": "RANGE", + "start_int": 28, + "stop_int": 152 + }, + "inputs": { + "Start": { + "bl_idname": "SvStringsSocket", + "name": "Start", + "properties": { + "prop_name": "start_int" + } + }, + "Step": { + "bl_idname": "SvStringsSocket", + "name": "Step", + "properties": { + "prop_name": "stop_int", + "label": "stop" + } + }, + "Stop": { + "bl_idname": "SvStringsSocket", + "name": "Stop", + "properties": { + "prop_name": "step_int", + "label": "step" + } + } + }, + "outputs": { + "Range": { + "bl_idname": "SvStringsSocket", + "name": "Range" + } + }, + "bl_idname": "SvGenNumberRange" }, - "width": 140.0 - }, - "Text In+": { - "bl_idname": "SvTextInNodeMK2", - "color": [ - 0.5, - 0.699999988079071, - 1.0 - ], - "current_text": "Expanded", - "height": 100.0, - "hide": false, - "label": "", - "location": [ - -225.87728881835938, - 559.1129760742188 - ], - "params": { - "is_animatable": 0, - "text": "Expanded", - "textmode": "JSON" + "Rigid Origami": { + "attributes": { + "location": [ + 528.9243774414062, + 565.48046875 + ] + }, + "properties": { + "fixed_face_index": 28 + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + }, + "Fold edge indices": { + "bl_idname": "SvStringsSocket", + "name": "Fold edge indices" + }, + "Fold edge angles": { + "bl_idname": "SvStringsSocket", + "name": "Fold edge angles" + }, + "Folding ratio": { + "bl_idname": "SvStringsSocket", + "name": "Folding ratio", + "properties": { + "prop_name": "folding_ratio" + } + }, + "Division count": { + "bl_idname": "SvStringsSocket", + "name": "Division count", + "properties": { + "prop_name": "division_count" + } + }, + "Fixed face index": { + "bl_idname": "SvStringsSocket", + "name": "Fixed face index", + "properties": { + "prop_name": "fixed_face_index" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + } + }, + "bl_idname": "SvRigidOrigamiNode" }, - "text_lines": { - "stored_as_json": { - "Objects in:Edges": [ - "s", - [ - [ - [ - 0, - 9 - ], - [ - 1, - 15 - ], - [ - 3, - 21 - ], - [ - 2, - 27 - ], - [ - 2, - 4 - ], - [ - 4, - 5 - ], - [ - 5, - 6 - ], - [ - 6, - 7 - ], - [ - 7, - 8 - ], - [ - 8, - 9 - ], - [ - 0, - 10 - ], - [ - 10, - 11 - ], - [ - 11, - 12 - ], - [ - 12, - 13 - ], - [ - 13, - 14 - ], - [ - 14, - 15 - ], - [ - 1, - 16 - ], - [ - 16, - 17 - ], - [ - 17, - 18 - ], - [ - 18, - 19 - ], - [ - 19, - 20 - ], - [ - 20, - 21 - ], - [ - 3, - 22 - ], - [ - 22, - 23 - ], - [ - 23, - 24 - ], - [ - 24, - 25 - ], - [ - 25, - 26 - ], - [ - 26, - 27 - ], - [ - 27, - 33 - ], - [ - 10, - 28 - ], - [ - 28, - 29 - ], - [ - 29, - 30 - ], - [ - 30, - 31 - ], - [ - 31, - 32 - ], - [ - 32, - 33 - ], - [ - 26, - 39 - ], - [ - 11, - 34 - ], - [ - 34, - 35 - ], - [ - 35, - 36 - ], - [ - 36, - 37 - ], - [ - 37, - 38 - ], - [ - 38, - 39 - ], - [ - 25, - 45 - ], - [ - 12, - 40 - ], - [ - 40, - 41 - ], - [ - 41, - 42 - ], - [ - 42, - 43 - ], - [ - 43, - 44 - ], - [ - 44, - 45 - ], - [ - 24, - 51 - ], - [ - 13, - 46 - ], - [ - 46, - 47 - ], - [ - 47, - 48 - ], - [ - 48, - 49 - ], - [ - 49, - 50 - ], - [ - 50, - 51 - ], - [ - 23, - 57 - ], - [ - 14, - 52 - ], - [ - 52, - 53 - ], - [ - 53, - 54 - ], - [ - 54, - 55 - ], - [ - 55, - 56 - ], - [ - 56, - 57 - ], - [ - 22, - 63 - ], - [ - 15, - 58 - ], - [ - 58, - 59 - ], - [ - 59, - 60 - ], - [ - 60, - 61 - ], - [ - 61, - 62 - ], - [ - 62, - 63 - ], - [ - 9, - 28 - ], - [ - 8, - 29 - ], - [ - 7, - 30 - ], - [ - 6, - 31 - ], - [ - 5, - 32 - ], - [ - 4, - 33 - ], - [ - 28, - 34 - ], - [ - 29, - 35 - ], - [ - 30, - 36 - ], - [ - 31, - 37 - ], - [ - 32, - 38 - ], - [ - 33, - 39 - ], - [ - 34, - 40 - ], - [ - 35, - 41 - ], - [ - 36, - 42 - ], - [ - 37, - 43 - ], - [ - 38, - 44 - ], - [ - 39, - 45 - ], - [ - 40, - 46 - ], - [ - 41, - 47 - ], - [ - 42, - 48 - ], - [ - 43, - 49 - ], - [ - 44, - 50 - ], - [ - 45, - 51 - ], - [ - 46, - 52 - ], - [ - 47, - 53 - ], - [ - 48, - 54 - ], - [ - 49, - 55 - ], - [ - 50, - 56 - ], - [ - 51, - 57 - ], - [ - 52, - 58 - ], - [ - 53, - 59 - ], - [ - 54, - 60 - ], - [ - 55, - 61 - ], - [ - 56, - 62 - ], - [ - 57, - 63 - ], - [ - 16, - 58 - ], - [ - 17, - 59 - ], - [ - 18, - 60 - ], - [ - 19, - 61 - ], - [ - 20, - 62 - ], - [ - 21, - 63 - ], - [ - 2, - 33 - ], - [ - 33, - 38 - ], - [ - 5, - 33 - ], - [ - 26, - 33 - ], - [ - 25, - 51 - ], - [ - 25, - 39 - ], - [ - 20, - 63 - ], - [ - 23, - 63 - ], - [ - 3, - 63 - ], - [ - 56, - 63 - ], - [ - 50, - 55 - ], - [ - 45, - 50 - ], - [ - 43, - 50 - ], - [ - 50, - 57 - ], - [ - 30, - 37 - ], - [ - 37, - 44 - ], - [ - 32, - 37 - ], - [ - 37, - 42 - ], - [ - 19, - 60 - ], - [ - 19, - 62 - ], - [ - 7, - 29 - ], - [ - 7, - 31 - ], - [ - 47, - 54 - ], - [ - 54, - 61 - ], - [ - 49, - 54 - ], - [ - 54, - 59 - ], - [ - 34, - 41 - ], - [ - 41, - 48 - ], - [ - 36, - 41 - ], - [ - 41, - 46 - ], - [ - 0, - 28 - ], - [ - 28, - 35 - ], - [ - 8, - 28 - ], - [ - 11, - 28 - ], - [ - 14, - 58 - ], - [ - 17, - 58 - ], - [ - 53, - 58 - ], - [ - 1, - 58 - ], - [ - 13, - 52 - ], - [ - 13, - 40 - ] - ] - ] + "Text In+": { + "attributes": { + "location": [ + -225.87728881835938, + 559.1129760742188 ], - "Objects in:Polygons": [ - "s", - [ - [ - [ - 63, - 21, - 3 - ], - [ - 4, - 33, - 2 - ], - [ - 33, - 26, - 27 - ], - [ - 39, - 45, - 25 - ], - [ - 45, - 51, - 25 - ], - [ - 51, - 57, - 23, - 24 - ], - [ - 57, - 63, - 23 - ], - [ - 0, - 10, - 28 - ], - [ - 9, - 28, - 8 - ], - [ - 8, - 29, - 7 - ], - [ - 7, - 31, - 6 - ], - [ - 6, - 31, - 32, - 5 - ], - [ - 5, - 32, - 33 - ], - [ - 10, - 11, - 28 - ], - [ - 28, - 34, - 35 - ], - [ - 29, - 35, - 36, - 30 - ], - [ - 30, - 36, - 37 - ], - [ - 31, - 37, - 32 - ], - [ - 32, - 38, - 33 - ], - [ - 11, - 12, - 40, - 34 - ], - [ - 34, - 40, - 41 - ], - [ - 35, - 41, - 36 - ], - [ - 36, - 42, - 37 - ], - [ - 37, - 43, - 44 - ], - [ - 38, - 44, - 45, - 39 - ], - [ - 12, - 13, - 40 - ], - [ - 40, - 46, - 41 - ], - [ - 41, - 47, - 48 - ], - [ - 42, - 48, - 49, - 43 - ], - [ - 43, - 49, - 50 - ], - [ - 44, - 50, - 45 - ], - [ - 13, - 52, - 46 - ], - [ - 46, - 52, - 53, - 47 - ], - [ - 47, - 53, - 54 - ], - [ - 48, - 54, - 49 - ], - [ - 49, - 55, - 50 - ], - [ - 50, - 56, - 57 - ], - [ - 14, - 58, - 52 - ], - [ - 52, - 58, - 53 - ], - [ - 53, - 59, - 54 - ], - [ - 54, - 60, - 61 - ], - [ - 55, - 61, - 62, - 56 - ], - [ - 56, - 62, - 63 - ], - [ - 15, - 1, - 58 - ], - [ - 58, - 17, - 59 - ], - [ - 59, - 17, - 18, - 60 - ], - [ - 60, - 18, - 19 - ], - [ - 61, - 19, - 62 - ], - [ - 62, - 20, - 63 - ], - [ - 2, - 33, - 27 - ], - [ - 33, - 38, - 39 - ], - [ - 33, - 4, - 5 - ], - [ - 26, - 33, - 39 - ], - [ - 25, - 51, - 24 - ], - [ - 25, - 26, - 39 - ], - [ - 63, - 20, - 21 - ], - [ - 23, - 63, - 22 - ], - [ - 3, - 22, - 63 - ], - [ - 63, - 57, - 56 - ], - [ - 50, - 55, - 56 - ], - [ - 45, - 50, - 51 - ], - [ - 50, - 44, - 43 - ], - [ - 57, - 51, - 50 - ], - [ - 37, - 31, - 30 - ], - [ - 44, - 38, - 37 - ], - [ - 32, - 37, - 38 - ], - [ - 37, - 42, - 43 - ], - [ - 19, - 61, - 60 - ], - [ - 62, - 19, - 20 - ], - [ - 7, - 29, - 30 - ], - [ - 31, - 7, - 30 - ], - [ - 54, - 48, - 47 - ], - [ - 61, - 55, - 54 - ], - [ - 49, - 54, - 55 - ], - [ - 54, - 59, - 60 - ], - [ - 41, - 35, - 34 - ], - [ - 48, - 42, - 41 - ], - [ - 36, - 41, - 42 - ], - [ - 41, - 46, - 47 - ], - [ - 28, - 9, - 0 - ], - [ - 35, - 29, - 28 - ], - [ - 8, - 28, - 29 - ], - [ - 28, - 11, - 34 - ], - [ - 58, - 14, - 15 - ], - [ - 17, - 58, - 16 - ], - [ - 53, - 58, - 59 - ], - [ - 58, - 1, - 16 - ], - [ - 52, - 13, - 14 - ], - [ - 40, - 13, - 46 - ] - ] - ] + "color": [ + 0.5, + 0.699999988079071, + 1.0 ], - "Objects in:Vertices": [ - "v", - [ - [ - [ - -1.0, - -1.0, - 0.0 - ], - [ - 1.0, - -1.0, - 0.0 - ], - [ - -1.0, - 1.0, - 0.0 - ], - [ - 1.0, - 1.0, - 0.0 - ], - [ - -1.0, - 0.7142857313156128, - 0.0 - ], - [ - -1.0, - 0.4285714328289032, - 0.0 - ], - [ - -1.0, - 0.1428571343421936, - 0.0 - ], - [ - -1.0, - -0.1428571343421936, - 0.0 - ], - [ - -1.0, - -0.4285714328289032, - 0.0 - ], - [ - -1.0, - -0.7142857313156128, - 0.0 - ], - [ - -0.7142857313156128, - -1.0, - 0.0 - ], - [ - -0.4285714328289032, - -1.0, - 0.0 - ], - [ - -0.1428571343421936, - -1.0, - 0.0 - ], - [ - 0.1428571343421936, - -1.0, - 0.0 - ], - [ - 0.4285714328289032, - -1.0, - 0.0 - ], - [ - 0.7142857313156128, - -1.0, - 0.0 - ], - [ - 1.0, - -0.7142857313156128, - 0.0 - ], - [ - 1.0, - -0.4285714328289032, - 0.0 - ], - [ - 1.0, - -0.1428571343421936, - 0.0 - ], - [ - 1.0, - 0.1428571343421936, - 0.0 - ], - [ - 1.0, - 0.4285714328289032, - 0.0 - ], - [ - 1.0, - 0.7142857313156128, - 0.0 - ], - [ - 0.7142857313156128, - 1.0, - 0.0 - ], - [ - 0.4285714328289032, - 1.0, - 0.0 - ], - [ - 0.1428571343421936, - 1.0, - 0.0 - ], - [ - -0.1428571343421936, - 1.0, - 0.0 - ], - [ - -0.4285714328289032, - 1.0, - 0.0 - ], - [ - -0.7142857313156128, - 1.0, - 0.0 - ], - [ - -0.7142857313156128, - -0.7142857313156128, - 0.0 - ], - [ - -0.7142857313156128, - -0.4285714328289032, - 0.0 - ], - [ - -0.7142857313156128, - -0.1428571343421936, - 0.0 - ], - [ - -0.7142857313156128, - 0.1428571343421936, - 0.0 - ], - [ - -0.7142857313156128, - 0.4285714328289032, - 0.0 - ], - [ - -0.7142857313156128, - 0.7142857313156128, - 0.0 - ], - [ - -0.4285714328289032, - -0.7142857313156128, - 0.0 - ], - [ - -0.4285714328289032, - -0.4285714328289032, - 0.0 - ], - [ - -0.4285714328289032, - -0.1428571343421936, - 0.0 - ], - [ - -0.4285714328289032, - 0.1428571343421936, - 0.0 - ], - [ - -0.4285714328289032, - 0.4285714328289032, - 0.0 - ], - [ - -0.4285714328289032, - 0.7142857313156128, - 0.0 - ], - [ - -0.1428571343421936, - -0.7142857313156128, - 0.0 - ], - [ - -0.1428571343421936, - -0.4285714328289032, - 0.0 - ], - [ - -0.1428571343421936, - -0.1428571343421936, - 0.0 - ], - [ - -0.1428571343421936, - 0.1428571343421936, - 0.0 - ], - [ - -0.1428571343421936, - 0.4285714328289032, - 0.0 - ], - [ - -0.1428571343421936, - 0.7142857313156128, - 0.0 - ], - [ - 0.1428571343421936, - -0.7142857313156128, - 0.0 - ], - [ - 0.1428571343421936, - -0.4285714328289032, - 0.0 - ], - [ - 0.1428571343421936, - -0.1428571343421936, - 0.0 - ], - [ - 0.1428571343421936, - 0.1428571343421936, - 0.0 - ], - [ - 0.1428571343421936, - 0.4285714328289032, - 0.0 - ], - [ - 0.1428571343421936, - 0.7142857313156128, - 0.0 - ], - [ - 0.4285714328289032, - -0.7142857313156128, - 0.0 - ], - [ - 0.4285714328289032, - -0.4285714328289032, - 0.0 - ], - [ - 0.4285714328289032, - -0.1428571343421936, - 0.0 - ], - [ - 0.4285714328289032, - 0.1428571343421936, - 0.0 - ], - [ - 0.4285714328289032, - 0.4285714328289032, - 0.0 - ], - [ - 0.4285714328289032, - 0.7142857313156128, - 0.0 - ], - [ - 0.7142857313156128, - -0.7142857313156128, - 0.0 - ], - [ - 0.7142857313156128, - -0.4285714328289032, - 0.0 - ], - [ - 0.7142857313156128, - -0.1428571343421936, - 0.0 - ], - [ - 0.7142857313156128, - 0.1428571343421936, - 0.0 - ], - [ - 0.7142857313156128, - 0.4285714328289032, - 0.0 - ], - [ - 0.7142857313156128, - 0.7142857313156128, - 0.0 + "use_custom_color": true + }, + "properties": { + "is_animatable": false, + "text": "Expanded", + "textmode": "JSON", + "n_id": "-8646911176724603204", + "current_text": "Expanded" + }, + "advanced_properties": { + "current_text": "Expanded", + "textmode": "JSON", + "text_lines": { + "stored_as_json": { + "Objects in:Edges": [ + "s", + [ + [ + [ + 0, + 9 + ], + [ + 1, + 15 + ], + [ + 3, + 21 + ], + [ + 2, + 27 + ], + [ + 2, + 4 + ], + [ + 4, + 5 + ], + [ + 5, + 6 + ], + [ + 6, + 7 + ], + [ + 7, + 8 + ], + [ + 8, + 9 + ], + [ + 0, + 10 + ], + [ + 10, + 11 + ], + [ + 11, + 12 + ], + [ + 12, + 13 + ], + [ + 13, + 14 + ], + [ + 14, + 15 + ], + [ + 1, + 16 + ], + [ + 16, + 17 + ], + [ + 17, + 18 + ], + [ + 18, + 19 + ], + [ + 19, + 20 + ], + [ + 20, + 21 + ], + [ + 3, + 22 + ], + [ + 22, + 23 + ], + [ + 23, + 24 + ], + [ + 24, + 25 + ], + [ + 25, + 26 + ], + [ + 26, + 27 + ], + [ + 27, + 33 + ], + [ + 10, + 28 + ], + [ + 28, + 29 + ], + [ + 29, + 30 + ], + [ + 30, + 31 + ], + [ + 31, + 32 + ], + [ + 32, + 33 + ], + [ + 26, + 39 + ], + [ + 11, + 34 + ], + [ + 34, + 35 + ], + [ + 35, + 36 + ], + [ + 36, + 37 + ], + [ + 37, + 38 + ], + [ + 38, + 39 + ], + [ + 25, + 45 + ], + [ + 12, + 40 + ], + [ + 40, + 41 + ], + [ + 41, + 42 + ], + [ + 42, + 43 + ], + [ + 43, + 44 + ], + [ + 44, + 45 + ], + [ + 24, + 51 + ], + [ + 13, + 46 + ], + [ + 46, + 47 + ], + [ + 47, + 48 + ], + [ + 48, + 49 + ], + [ + 49, + 50 + ], + [ + 50, + 51 + ], + [ + 23, + 57 + ], + [ + 14, + 52 + ], + [ + 52, + 53 + ], + [ + 53, + 54 + ], + [ + 54, + 55 + ], + [ + 55, + 56 + ], + [ + 56, + 57 + ], + [ + 22, + 63 + ], + [ + 15, + 58 + ], + [ + 58, + 59 + ], + [ + 59, + 60 + ], + [ + 60, + 61 + ], + [ + 61, + 62 + ], + [ + 62, + 63 + ], + [ + 9, + 28 + ], + [ + 8, + 29 + ], + [ + 7, + 30 + ], + [ + 6, + 31 + ], + [ + 5, + 32 + ], + [ + 4, + 33 + ], + [ + 28, + 34 + ], + [ + 29, + 35 + ], + [ + 30, + 36 + ], + [ + 31, + 37 + ], + [ + 32, + 38 + ], + [ + 33, + 39 + ], + [ + 34, + 40 + ], + [ + 35, + 41 + ], + [ + 36, + 42 + ], + [ + 37, + 43 + ], + [ + 38, + 44 + ], + [ + 39, + 45 + ], + [ + 40, + 46 + ], + [ + 41, + 47 + ], + [ + 42, + 48 + ], + [ + 43, + 49 + ], + [ + 44, + 50 + ], + [ + 45, + 51 + ], + [ + 46, + 52 + ], + [ + 47, + 53 + ], + [ + 48, + 54 + ], + [ + 49, + 55 + ], + [ + 50, + 56 + ], + [ + 51, + 57 + ], + [ + 52, + 58 + ], + [ + 53, + 59 + ], + [ + 54, + 60 + ], + [ + 55, + 61 + ], + [ + 56, + 62 + ], + [ + 57, + 63 + ], + [ + 16, + 58 + ], + [ + 17, + 59 + ], + [ + 18, + 60 + ], + [ + 19, + 61 + ], + [ + 20, + 62 + ], + [ + 21, + 63 + ], + [ + 2, + 33 + ], + [ + 33, + 38 + ], + [ + 5, + 33 + ], + [ + 26, + 33 + ], + [ + 25, + 51 + ], + [ + 25, + 39 + ], + [ + 20, + 63 + ], + [ + 23, + 63 + ], + [ + 3, + 63 + ], + [ + 56, + 63 + ], + [ + 50, + 55 + ], + [ + 45, + 50 + ], + [ + 43, + 50 + ], + [ + 50, + 57 + ], + [ + 30, + 37 + ], + [ + 37, + 44 + ], + [ + 32, + 37 + ], + [ + 37, + 42 + ], + [ + 19, + 60 + ], + [ + 19, + 62 + ], + [ + 7, + 29 + ], + [ + 7, + 31 + ], + [ + 47, + 54 + ], + [ + 54, + 61 + ], + [ + 49, + 54 + ], + [ + 54, + 59 + ], + [ + 34, + 41 + ], + [ + 41, + 48 + ], + [ + 36, + 41 + ], + [ + 41, + 46 + ], + [ + 0, + 28 + ], + [ + 28, + 35 + ], + [ + 8, + 28 + ], + [ + 11, + 28 + ], + [ + 14, + 58 + ], + [ + 17, + 58 + ], + [ + 53, + 58 + ], + [ + 1, + 58 + ], + [ + 13, + 52 + ], + [ + 13, + 40 + ] + ] ] + ], + "Objects in:Polygons": [ + "s", + [ + [ + [ + 63, + 21, + 3 + ], + [ + 4, + 33, + 2 + ], + [ + 33, + 26, + 27 + ], + [ + 39, + 45, + 25 + ], + [ + 45, + 51, + 25 + ], + [ + 51, + 57, + 23, + 24 + ], + [ + 57, + 63, + 23 + ], + [ + 0, + 10, + 28 + ], + [ + 9, + 28, + 8 + ], + [ + 8, + 29, + 7 + ], + [ + 7, + 31, + 6 + ], + [ + 6, + 31, + 32, + 5 + ], + [ + 5, + 32, + 33 + ], + [ + 10, + 11, + 28 + ], + [ + 28, + 34, + 35 + ], + [ + 29, + 35, + 36, + 30 + ], + [ + 30, + 36, + 37 + ], + [ + 31, + 37, + 32 + ], + [ + 32, + 38, + 33 + ], + [ + 11, + 12, + 40, + 34 + ], + [ + 34, + 40, + 41 + ], + [ + 35, + 41, + 36 + ], + [ + 36, + 42, + 37 + ], + [ + 37, + 43, + 44 + ], + [ + 38, + 44, + 45, + 39 + ], + [ + 12, + 13, + 40 + ], + [ + 40, + 46, + 41 + ], + [ + 41, + 47, + 48 + ], + [ + 42, + 48, + 49, + 43 + ], + [ + 43, + 49, + 50 + ], + [ + 44, + 50, + 45 + ], + [ + 13, + 52, + 46 + ], + [ + 46, + 52, + 53, + 47 + ], + [ + 47, + 53, + 54 + ], + [ + 48, + 54, + 49 + ], + [ + 49, + 55, + 50 + ], + [ + 50, + 56, + 57 + ], + [ + 14, + 58, + 52 + ], + [ + 52, + 58, + 53 + ], + [ + 53, + 59, + 54 + ], + [ + 54, + 60, + 61 + ], + [ + 55, + 61, + 62, + 56 + ], + [ + 56, + 62, + 63 + ], + [ + 15, + 1, + 58 + ], + [ + 58, + 17, + 59 + ], + [ + 59, + 17, + 18, + 60 + ], + [ + 60, + 18, + 19 + ], + [ + 61, + 19, + 62 + ], + [ + 62, + 20, + 63 + ], + [ + 2, + 33, + 27 + ], + [ + 33, + 38, + 39 + ], + [ + 33, + 4, + 5 + ], + [ + 26, + 33, + 39 + ], + [ + 25, + 51, + 24 + ], + [ + 25, + 26, + 39 + ], + [ + 63, + 20, + 21 + ], + [ + 23, + 63, + 22 + ], + [ + 3, + 22, + 63 + ], + [ + 63, + 57, + 56 + ], + [ + 50, + 55, + 56 + ], + [ + 45, + 50, + 51 + ], + [ + 50, + 44, + 43 + ], + [ + 57, + 51, + 50 + ], + [ + 37, + 31, + 30 + ], + [ + 44, + 38, + 37 + ], + [ + 32, + 37, + 38 + ], + [ + 37, + 42, + 43 + ], + [ + 19, + 61, + 60 + ], + [ + 62, + 19, + 20 + ], + [ + 7, + 29, + 30 + ], + [ + 31, + 7, + 30 + ], + [ + 54, + 48, + 47 + ], + [ + 61, + 55, + 54 + ], + [ + 49, + 54, + 55 + ], + [ + 54, + 59, + 60 + ], + [ + 41, + 35, + 34 + ], + [ + 48, + 42, + 41 + ], + [ + 36, + 41, + 42 + ], + [ + 41, + 46, + 47 + ], + [ + 28, + 9, + 0 + ], + [ + 35, + 29, + 28 + ], + [ + 8, + 28, + 29 + ], + [ + 28, + 11, + 34 + ], + [ + 58, + 14, + 15 + ], + [ + 17, + 58, + 16 + ], + [ + 53, + 58, + 59 + ], + [ + 58, + 1, + 16 + ], + [ + 52, + 13, + 14 + ], + [ + 40, + 13, + 46 + ] + ] + ] + ], + "Objects in:Vertices": [ + "v", + [ + [ + [ + -1.0, + -1.0, + 0.0 + ], + [ + 1.0, + -1.0, + 0.0 + ], + [ + -1.0, + 1.0, + 0.0 + ], + [ + 1.0, + 1.0, + 0.0 + ], + [ + -1.0, + 0.7142857313156128, + 0.0 + ], + [ + -1.0, + 0.4285714328289032, + 0.0 + ], + [ + -1.0, + 0.1428571343421936, + 0.0 + ], + [ + -1.0, + -0.1428571343421936, + 0.0 + ], + [ + -1.0, + -0.4285714328289032, + 0.0 + ], + [ + -1.0, + -0.7142857313156128, + 0.0 + ], + [ + -0.7142857313156128, + -1.0, + 0.0 + ], + [ + -0.4285714328289032, + -1.0, + 0.0 + ], + [ + -0.1428571343421936, + -1.0, + 0.0 + ], + [ + 0.1428571343421936, + -1.0, + 0.0 + ], + [ + 0.4285714328289032, + -1.0, + 0.0 + ], + [ + 0.7142857313156128, + -1.0, + 0.0 + ], + [ + 1.0, + -0.7142857313156128, + 0.0 + ], + [ + 1.0, + -0.4285714328289032, + 0.0 + ], + [ + 1.0, + -0.1428571343421936, + 0.0 + ], + [ + 1.0, + 0.1428571343421936, + 0.0 + ], + [ + 1.0, + 0.4285714328289032, + 0.0 + ], + [ + 1.0, + 0.7142857313156128, + 0.0 + ], + [ + 0.7142857313156128, + 1.0, + 0.0 + ], + [ + 0.4285714328289032, + 1.0, + 0.0 + ], + [ + 0.1428571343421936, + 1.0, + 0.0 + ], + [ + -0.1428571343421936, + 1.0, + 0.0 + ], + [ + -0.4285714328289032, + 1.0, + 0.0 + ], + [ + -0.7142857313156128, + 1.0, + 0.0 + ], + [ + -0.7142857313156128, + -0.7142857313156128, + 0.0 + ], + [ + -0.7142857313156128, + -0.4285714328289032, + 0.0 + ], + [ + -0.7142857313156128, + -0.1428571343421936, + 0.0 + ], + [ + -0.7142857313156128, + 0.1428571343421936, + 0.0 + ], + [ + -0.7142857313156128, + 0.4285714328289032, + 0.0 + ], + [ + -0.7142857313156128, + 0.7142857313156128, + 0.0 + ], + [ + -0.4285714328289032, + -0.7142857313156128, + 0.0 + ], + [ + -0.4285714328289032, + -0.4285714328289032, + 0.0 + ], + [ + -0.4285714328289032, + -0.1428571343421936, + 0.0 + ], + [ + -0.4285714328289032, + 0.1428571343421936, + 0.0 + ], + [ + -0.4285714328289032, + 0.4285714328289032, + 0.0 + ], + [ + -0.4285714328289032, + 0.7142857313156128, + 0.0 + ], + [ + -0.1428571343421936, + -0.7142857313156128, + 0.0 + ], + [ + -0.1428571343421936, + -0.4285714328289032, + 0.0 + ], + [ + -0.1428571343421936, + -0.1428571343421936, + 0.0 + ], + [ + -0.1428571343421936, + 0.1428571343421936, + 0.0 + ], + [ + -0.1428571343421936, + 0.4285714328289032, + 0.0 + ], + [ + -0.1428571343421936, + 0.7142857313156128, + 0.0 + ], + [ + 0.1428571343421936, + -0.7142857313156128, + 0.0 + ], + [ + 0.1428571343421936, + -0.4285714328289032, + 0.0 + ], + [ + 0.1428571343421936, + -0.1428571343421936, + 0.0 + ], + [ + 0.1428571343421936, + 0.1428571343421936, + 0.0 + ], + [ + 0.1428571343421936, + 0.4285714328289032, + 0.0 + ], + [ + 0.1428571343421936, + 0.7142857313156128, + 0.0 + ], + [ + 0.4285714328289032, + -0.7142857313156128, + 0.0 + ], + [ + 0.4285714328289032, + -0.4285714328289032, + 0.0 + ], + [ + 0.4285714328289032, + -0.1428571343421936, + 0.0 + ], + [ + 0.4285714328289032, + 0.1428571343421936, + 0.0 + ], + [ + 0.4285714328289032, + 0.4285714328289032, + 0.0 + ], + [ + 0.4285714328289032, + 0.7142857313156128, + 0.0 + ], + [ + 0.7142857313156128, + -0.7142857313156128, + 0.0 + ], + [ + 0.7142857313156128, + -0.4285714328289032, + 0.0 + ], + [ + 0.7142857313156128, + -0.1428571343421936, + 0.0 + ], + [ + 0.7142857313156128, + 0.1428571343421936, + 0.0 + ], + [ + 0.7142857313156128, + 0.4285714328289032, + 0.0 + ], + [ + 0.7142857313156128, + 0.7142857313156128, + 0.0 + ] + ] + ] + ], + "socket_order": [ + "Objects in:Vertices", + "Objects in:Edges", + "Objects in:Polygons" ] - ] + } + } + }, + "outputs": { + "Objects in:Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Objects in:Vertices" + }, + "Objects in:Edges": { + "bl_idname": "SvStringsSocket", + "name": "Objects in:Edges" + }, + "Objects in:Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Objects in:Polygons" + } + }, + "bl_idname": "SvTextInNodeMK2" + }, + "Viewer Draw Mk3": { + "attributes": { + "location": [ + 763.89208984375, + 518.99609375 ], - "socket_order": [ - "Objects in:Vertices", - "Objects in:Edges", - "Objects in:Polygons" - ] - } + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true + }, + "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" }, - "textmode": "JSON", - "use_custom_color": true, - "width": 140.0 - }, - "Viewer Draw Mk3": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 1.0, - 0.5889999866485596, - 0.21400000154972076 - ], - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 763.89208984375, - 518.99609375 - ], - "params": {}, - "use_custom_color": true, - "width": 140.0 + "Viewer Index+": { + "attributes": { + "location": [ + 762.04052734375, + 779.61279296875 + ], + "color": [ + 1.0, + 0.5889999866485596, + 0.21400000154972076 + ], + "use_custom_color": true + }, + "properties": { + "activate": false, + "display_edge_index": true, + "display_vert_index": false + }, + "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" + }, + "List Input.001": { + "attributes": { + "location": [ + -435.38348388671875, + 3.1162071228027344 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 32 + }, + { + "elem": 35 + }, + { + "elem": 37 + }, + { + "elem": 47 + }, + { + "elem": 52 + }, + { + "elem": 57 + }, + { + "elem": 62 + }, + { + "elem": 67 + }, + { + "elem": 71 + }, + { + "elem": 80 + }, + { + "elem": 84 + }, + { + "elem": 88 + }, + { + "elem": 93 + }, + { + "elem": 97 + }, + { + "elem": 101 + }, + { + "elem": 110 + } + ], + "int_list_counter": 16 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + } }, - "Viewer Index+": { - "bl_idname": "SvIDXViewer28", - "color": [ - 1.0, - 0.5889999866485596, - 0.21400000154972076 - ], - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 762.04052734375, - 779.61279296875 - ], - "params": { - "activate": 0, - "display_edge_index": 1, - "display_face_index": 0, - "display_vert_index": 0 + "links": [ + { + "from_node": "Constant List", + "from_socket": "Data", + "to_node": "List Item Insert", + "to_socket": "Data" + }, + { + "from_node": "A Number", + "from_socket": "Float", + "to_node": "List Item Insert", + "to_socket": "Item" + }, + { + "from_node": "List Input.001", + "from_socket": "data_output", + "to_node": "List Item Insert", + "to_socket": "Index" + }, + { + "from_node": "List Slice", + "from_socket": "Slice", + "to_node": "List Join", + "to_socket": "data" + }, + { + "from_node": "Constant List.001", + "from_socket": "Data", + "to_node": "List Join", + "to_socket": "data 1" + }, + { + "from_node": "List Item Insert", + "from_socket": "Data", + "to_node": "List Slice", + "to_socket": "Data" + }, + { + "from_node": "Text In+", + "from_socket": "Objects in:Vertices", + "to_node": "Rigid Origami", + "to_socket": "Vertices" + }, + { + "from_node": "Text In+", + "from_socket": "Objects in:Edges", + "to_node": "Rigid Origami", + "to_socket": "Edges" + }, + { + "from_node": "Text In+", + "from_socket": "Objects in:Polygons", + "to_node": "Rigid Origami", + "to_socket": "Faces" + }, + { + "from_node": "Number Range", + "from_socket": "Range", + "to_node": "Rigid Origami", + "to_socket": "Fold edge indices" + }, + { + "from_node": "List Join", + "from_socket": "data", + "to_node": "Rigid Origami", + "to_socket": "Fold edge angles" + }, + { + "from_node": "A Number.001", + "from_socket": "Float", + "to_node": "Rigid Origami", + "to_socket": "Folding ratio" + }, + { + "from_node": "Rigid Origami", + "from_socket": "Vertices", + "to_node": "Viewer Draw Mk3", + "to_socket": "Vertices" + }, + { + "from_node": "Text In+", + "from_socket": "Objects in:Edges", + "to_node": "Viewer Draw Mk3", + "to_socket": "Edges" + }, + { + "from_node": "Text In+", + "from_socket": "Objects in:Polygons", + "to_node": "Viewer Draw Mk3", + "to_socket": "Polygons" + }, + { + "from_node": "Rigid Origami", + "from_socket": "Vertices", + "to_node": "Viewer Index+", + "to_socket": "verts" + }, + { + "from_node": "Text In+", + "from_socket": "Objects in:Edges", + "to_node": "Viewer Index+", + "to_socket": "edges" }, - "use_custom_color": true, - "width": 140.0 - } - }, - "update_lists": [ - [ - "Constant List", - 0, - "List Item Insert", - 0 - ], - [ - "A Number", - 0, - "List Item Insert", - 1 - ], - [ - "List Input", - 0, - "List Item Insert", - 2 - ], - [ - "List Item Insert", - 0, - "List Slice", - 0 - ], - [ - "List Slice", - 0, - "List Join", - 0 - ], - [ - "Constant List.001", - 0, - "List Join", - 1 - ], - [ - "Text In+", - 0, - "Rigid Origami", - 0 - ], - [ - "Text In+", - 1, - "Rigid Origami", - 1 - ], - [ - "Text In+", - 2, - "Rigid Origami", - 2 - ], - [ - "Number Range", - 0, - "Rigid Origami", - 3 - ], - [ - "List Join", - 0, - "Rigid Origami", - 4 - ], - [ - "A Number.001", - 0, - "Rigid Origami", - 5 - ], - [ - "Rigid Origami", - 0, - "Viewer Index+", - 0 - ], - [ - "Text In+", - 1, - "Viewer Index+", - 1 - ], - [ - "Text In+", - 2, - "Viewer Index+", - 2 - ], - [ - "Rigid Origami", - 0, - "Viewer Draw Mk3", - 0 - ], - [ - "Text In+", - 1, - "Viewer Draw Mk3", - 1 - ], - [ - "Text In+", - 2, - "Viewer Draw Mk3", - 2 + { + "from_node": "Text In+", + "from_socket": "Objects in:Polygons", + "to_node": "Viewer Index+", + "to_socket": "faces" + } ] - ] -} + } +} \ No newline at end of file diff --git a/json_examples/Design/rigid_origami.json b/json_examples/Design/rigid_origami.json index e280361545..1c3d36c53e 100644 --- a/json_examples/Design/rigid_origami.json +++ b/json_examples/Design/rigid_origami.json @@ -1,608 +1,885 @@ { - "export_version": "1.0", - "main_tree": { - "nodes": { - "Reroute.001": { - "attributes": { - "location": [-538.4420166015625, 82.25132751464844], - "width": 16.0, - "color": [0.602957010269165, 0.6740000247955322, 0.5642769932746887], - "use_custom_color": true - }, - "inputs": { - "Input": { - "bl_idname": "NodeSocketColor", - "name": "Input" - } - }, - "outputs": { - "Output": { - "bl_idname": "NodeSocketColor", - "name": "Output" - } - }, - "bl_idname": "NodeReroute" + "export_version": "1.0", + "main_tree": { + "nodes": { + "Reroute.001": { + "attributes": { + "location": [ + -538.4420166015625, + 82.25132751464844 + ], + "width": 16.0, + "color": [ + 0.602957010269165, + 0.6740000247955322, + 0.5642769932746887 + ], + "use_custom_color": true + }, + "inputs": { + "Input": { + "bl_idname": "NodeSocketColor", + "name": "Input" + } + }, + "outputs": { + "Output": { + "bl_idname": "NodeSocketColor", + "name": "Output" + } + }, + "bl_idname": "NodeReroute" + }, + "Triangulate Mesh": { + "attributes": { + "location": [ + -952.4639282226562, + 325.711669921875 + ] + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "Mask": { + "bl_idname": "SvStringsSocket", + "name": "Mask" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "NewEdges": { + "bl_idname": "SvStringsSocket", + "name": "NewEdges" + }, + "NewPolys": { + "bl_idname": "SvStringsSocket", + "name": "NewPolys" + } + }, + "bl_idname": "SvTriangulateNode" + }, + "Reroute.002": { + "attributes": { + "location": [ + -534.6099853515625, + 120.99180603027344 + ], + "width": 16.0, + "color": [ + 0.602957010269165, + 0.6740000247955322, + 0.5642769932746887 + ], + "use_custom_color": true + }, + "inputs": { + "Input": { + "bl_idname": "NodeSocketColor", + "name": "Input" + } + }, + "outputs": { + "Output": { + "bl_idname": "NodeSocketColor", + "name": "Output" + } + }, + "bl_idname": "NodeReroute" + }, + "Reroute": { + "attributes": { + "location": [ + -543.36083984375, + 59.52308654785156 + ], + "width": 16.0, + "color": [ + 0.602957010269165, + 0.6740000247955322, + 0.5642769932746887 + ], + "use_custom_color": true + }, + "inputs": { + "Input": { + "bl_idname": "NodeSocketColor", + "name": "Input" + } + }, + "outputs": { + "Output": { + "bl_idname": "NodeSocketColor", + "name": "Output" + } + }, + "bl_idname": "NodeReroute" + }, + "Rigid Origami": { + "attributes": { + "location": [ + -316.4691162109375, + -122.36465454101562 + ] + }, + "properties": { + "folding_ratio": 0.6549999713897705, + "fixed_face_index": 1, + "division_count": 10 + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + }, + "Fold edge indices": { + "bl_idname": "SvStringsSocket", + "name": "Fold edge indices" + }, + "Fold edge angles": { + "bl_idname": "SvStringsSocket", + "name": "Fold edge angles" + }, + "Folding ratio": { + "bl_idname": "SvStringsSocket", + "name": "Folding ratio", + "properties": { + "prop_name": "folding_ratio" + } + }, + "Division count": { + "bl_idname": "SvStringsSocket", + "name": "Division count", + "properties": { + "prop_name": "division_count" + } + }, + "Fixed face index": { + "bl_idname": "SvStringsSocket", + "name": "Fixed face index", + "properties": { + "prop_name": "fixed_face_index" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + } + }, + "bl_idname": "SvRigidOrigamiNode" + }, + "Viewer Index+": { + "attributes": { + "location": [ + -393.842529296875, + 427.1811828613281 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true + }, + "properties": { + "display_edge_index": true, + "display_vert_index": false, + "display_face_index": 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" + }, + "Viewer Draw.001": { + "attributes": { + "location": [ + -196.57275390625, + 412.1433410644531 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true + }, + "properties": { + "selected_draw_mode": "facet", + "display_verts": false, + "display_faces": false, + "use_dashed": true, + "vector_color": [ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1.0 + ] + }, + "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 Draw": { + "attributes": { + "location": [ + -120.1903076171875, + -37.57672119140625 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true + }, + "properties": { + "selected_draw_mode": "facet", + "display_verts": false, + "vector_color": [ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1.0 + ] + }, + "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" + }, + "Plane": { + "attributes": { + "location": [ + -1149.501220703125, + 327.17791748046875 + ], + "color": [ + 0.9200000166893005, + 0.9200000166893005, + 0.9200000166893005 + ], + "use_custom_color": true + }, + "properties": { + "numx": 3, + "numy": 3 + }, + "inputs": { + "Size X": { + "bl_idname": "SvStringsSocket", + "name": "Size X", + "properties": { + "prop_name": "sizex" + } + }, + "Size Y": { + "bl_idname": "SvStringsSocket", + "name": "Size Y", + "properties": { + "prop_name": "sizey" + } + }, + "Num X": { + "bl_idname": "SvStringsSocket", + "name": "Num X", + "properties": { + "prop_name": "numx" + } + }, + "Num Y": { + "bl_idname": "SvStringsSocket", + "name": "Num Y", + "properties": { + "prop_name": "numy" + } + }, + "Step X": { + "bl_idname": "SvStringsSocket", + "name": "Step X", + "attributes": { + "hide": true }, - "List Input.001": { - "attributes": { - "location": [-517.1712646484375, -308.4692077636719] - }, - "properties": { - "int_": 8, - "int_list": [4, 5, 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, 0], - "mode": "float_list", - "float_list": [-3.0, -3.0, 3.0, 3.0, -3.0, -3.0, 3.0, 3.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, 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" + "properties": { + "prop_name": "stepx" + } + }, + "Step Y": { + "bl_idname": "SvStringsSocket", + "name": "Step Y", + "attributes": { + "hide": true }, - "Triangulate Mesh": { - "attributes": { - "location": [-952.4639282226562, 325.711669921875] - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Polygons": { - "bl_idname": "SvStringsSocket", - "name": "Polygons" - }, - "FaceData": { - "bl_idname": "SvStringsSocket", - "name": "FaceData" - }, - "Mask": { - "bl_idname": "SvStringsSocket", - "name": "Mask" - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Polygons": { - "bl_idname": "SvStringsSocket", - "name": "Polygons" - }, - "FaceData": { - "bl_idname": "SvStringsSocket", - "name": "FaceData" - }, - "NewEdges": { - "bl_idname": "SvStringsSocket", - "name": "NewEdges" - }, - "NewPolys": { - "bl_idname": "SvStringsSocket", - "name": "NewPolys" - } - }, - "bl_idname": "SvTriangulateNode" + "properties": { + "prop_name": "stepy" + } + }, + "Matrix": { + "bl_idname": "SvMatrixSocket", + "name": "Matrix" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + } + }, + "bl_idname": "SvPlaneNodeMk3" + }, + "List Input.002": { + "attributes": { + "location": [ + -901.8837890625, + -43.64441680908203 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 2 + }, + { + "elem": 7 + }, + { + "elem": 15 }, - "Reroute.002": { - "attributes": { - "location": [-534.6099853515625, 120.99180603027344], - "width": 16.0, - "color": [0.602957010269165, 0.6740000247955322, 0.5642769932746887], - "use_custom_color": true - }, - "inputs": { - "Input": { - "bl_idname": "NodeSocketColor", - "name": "Input" - } - }, - "outputs": { - "Output": { - "bl_idname": "NodeSocketColor", - "name": "Output" - } - }, - "bl_idname": "NodeReroute" + { + "elem": 12 }, - "Reroute": { - "attributes": { - "location": [-543.36083984375, 59.52308654785156], - "width": 16.0, - "color": [0.602957010269165, 0.6740000247955322, 0.5642769932746887], - "use_custom_color": true - }, - "inputs": { - "Input": { - "bl_idname": "NodeSocketColor", - "name": "Input" - } - }, - "outputs": { - "Output": { - "bl_idname": "NodeSocketColor", - "name": "Output" - } - }, - "bl_idname": "NodeReroute" + { + "elem": 1 }, - "List Input": { - "attributes": { - "location": [-518.8736572265625, -14.230987548828125], - "width": 137.60598754882812 - }, - "properties": { - "int_": 8, - "int_list": [2, 7, 15, 12, 1, 6, 13, 14, 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" + { + "elem": 6 }, - "Rigid Origami": { - "attributes": { - "location": [-316.4691162109375, -122.36465454101562] - }, - "properties": { - "folding_ratio": 0.6549999713897705, - "fixed_face_index": 1, - "division_count": 10 - }, - "inputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Faces": { - "bl_idname": "SvStringsSocket", - "name": "Faces" - }, - "Fold edge indices": { - "bl_idname": "SvStringsSocket", - "name": "Fold edge indices" - }, - "Fold edge angles": { - "bl_idname": "SvStringsSocket", - "name": "Fold edge angles" - }, - "Folding ratio": { - "bl_idname": "SvStringsSocket", - "name": "Folding ratio", - "properties": { - "prop_name": "folding_ratio" - } - }, - "Division count": { - "bl_idname": "SvStringsSocket", - "name": "Division count", - "properties": { - "prop_name": "division_count" - } - }, - "Fixed face index": { - "bl_idname": "SvStringsSocket", - "name": "Fixed face index", - "properties": { - "prop_name": "fixed_face_index" - } - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - } - }, - "bl_idname": "SvRigidOrigamiNode" + { + "elem": 13 }, - "Viewer Index+": { - "attributes": { - "location": [-393.842529296875, 427.1811828613281], - "color": [0.6284880042076111, 0.931007981300354, 1.0], - "use_custom_color": true - }, - "properties": { - "display_edge_index": true, - "display_vert_index": false, - "display_face_index": 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" + { + "elem": 14 + } + ], + "int_list_counter": 8 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Integers" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.003": { + "attributes": { + "location": [ + -901.8837890625, + -418.2381591796875 + ], + "width": 260.0 + }, + "properties": { + "int_list_items": [ + { + "elem": 2 }, - "Viewer Draw.001": { - "attributes": { - "location": [-196.57275390625, 412.1433410644531], - "color": [0.6284880042076111, 0.931007981300354, 1.0], - "use_custom_color": true - }, - "properties": { - "selected_draw_mode": "facet", - "display_verts": false, - "display_faces": false, - "use_dashed": true, - "vector_color": [0.800000011920929, 0.800000011920929, 0.800000011920929, 1.0] - }, - "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" + { + "elem": 7 }, - "Viewer Draw": { - "attributes": { - "location": [-120.1903076171875, -37.57672119140625], - "color": [0.6284880042076111, 0.931007981300354, 1.0], - "use_custom_color": true - }, - "properties": { - "selected_draw_mode": "facet", - "display_verts": false, - "vector_color": [0.800000011920929, 0.800000011920929, 0.800000011920929, 1.0] - }, - "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" + { + "elem": 15 }, - "A Number": { - "attributes": { - "location": [-726.56787109375, -265.5266418457031], - "label": "Folding ratio" - }, - "properties": { - "float_": 0.6549999713897705 - }, - "inputs": { - "Float": { - "bl_idname": "SvStringsSocket", - "name": "Float", - "properties": { - "prop_name": "float_" - } - } - }, - "outputs": { - "Float": { - "bl_idname": "SvStringsSocket", - "name": "Float", - "properties": { - "custom_draw": "mode_custom_draw" - } - } - }, - "bl_idname": "SvNumberNode" + { + "elem": 12 }, - "Plane": { - "attributes": { - "location": [-1149.501220703125, 327.17791748046875], - "color": [0.9200000166893005, 0.9200000166893005, 0.9200000166893005], - "use_custom_color": true - }, - "properties": { - "numx": 3, - "numy": 3 - }, - "inputs": { - "Size X": { - "bl_idname": "SvStringsSocket", - "name": "Size X", - "properties": { - "prop_name": "sizex" - } - }, - "Size Y": { - "bl_idname": "SvStringsSocket", - "name": "Size Y", - "properties": { - "prop_name": "sizey" - } - }, - "Num X": { - "bl_idname": "SvStringsSocket", - "name": "Num X", - "properties": { - "prop_name": "numx" - } - }, - "Num Y": { - "bl_idname": "SvStringsSocket", - "name": "Num Y", - "properties": { - "prop_name": "numy" - } - }, - "Step X": { - "bl_idname": "SvStringsSocket", - "name": "Step X", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "stepx" - } - }, - "Step Y": { - "bl_idname": "SvStringsSocket", - "name": "Step Y", - "attributes": { - "hide": true - }, - "properties": { - "prop_name": "stepy" - } - }, - "Matrix": { - "bl_idname": "SvMatrixSocket", - "name": "Matrix" - } - }, - "outputs": { - "Vertices": { - "bl_idname": "SvVerticesSocket", - "name": "Vertices" - }, - "Edges": { - "bl_idname": "SvStringsSocket", - "name": "Edges" - }, - "Polygons": { - "bl_idname": "SvStringsSocket", - "name": "Polygons" - } - }, - "bl_idname": "SvPlaneNodeMk3" + { + "elem": 1 + }, + { + "elem": 6 + }, + { + "elem": 13 + }, + { + "elem": 14 + } + ], + "int_list_counter": 8, + "list_items_type": "FLOAT_LIST_MODE", + "float_list_items": [ + { + "elem": -3.0, + "NONE": -3.0, + "PERCENTAGE": -3.0, + "FACTOR": -3.0, + "ANGLE": -3.0, + "TIME": -3.0, + "TIME_ABSOLUTE": -3.0, + "DISTANCE": -3.0, + "DISTANCE_CAMERA": -3.0, + "TEMPERATURE": -3.0, + "POWER": -3.0 + }, + { + "elem": -3.0, + "NONE": -3.0, + "PERCENTAGE": -3.0, + "FACTOR": -3.0, + "ANGLE": -3.0, + "TIME": -3.0, + "TIME_ABSOLUTE": -3.0, + "DISTANCE": -3.0, + "DISTANCE_CAMERA": -3.0, + "TEMPERATURE": -3.0, + "POWER": -3.0 + }, + { + "elem": 3.0, + "NONE": 3.0, + "PERCENTAGE": 3.0, + "FACTOR": 3.0, + "ANGLE": 3.0, + "TIME": 3.0, + "TIME_ABSOLUTE": 3.0, + "DISTANCE": 3.0, + "DISTANCE_CAMERA": 3.0, + "TEMPERATURE": 3.0, + "POWER": 3.0 + }, + { + "elem": 3.0, + "NONE": 3.0, + "PERCENTAGE": 3.0, + "FACTOR": 3.0, + "ANGLE": 3.0, + "TIME": 3.0, + "TIME_ABSOLUTE": 3.0, + "DISTANCE": 3.0, + "DISTANCE_CAMERA": 3.0, + "TEMPERATURE": 3.0, + "POWER": 3.0 + }, + { + "elem": -3.0, + "NONE": -3.0, + "PERCENTAGE": -3.0, + "FACTOR": -3.0, + "ANGLE": -3.0, + "TIME": -3.0, + "TIME_ABSOLUTE": -3.0, + "DISTANCE": -3.0, + "DISTANCE_CAMERA": -3.0, + "TEMPERATURE": -3.0, + "POWER": -3.0 + }, + { + "elem": -3.0, + "NONE": -3.0, + "PERCENTAGE": -3.0, + "FACTOR": -3.0, + "ANGLE": -3.0, + "TIME": -3.0, + "TIME_ABSOLUTE": -3.0, + "DISTANCE": -3.0, + "DISTANCE_CAMERA": -3.0, + "TEMPERATURE": -3.0, + "POWER": -3.0 + }, + { + "elem": 3.0, + "NONE": 3.0, + "PERCENTAGE": 3.0, + "FACTOR": 3.0, + "ANGLE": 3.0, + "TIME": 3.0, + "TIME_ABSOLUTE": 3.0, + "DISTANCE": 3.0, + "DISTANCE_CAMERA": 3.0, + "TEMPERATURE": 3.0, + "POWER": 3.0 + }, + { + "elem": 3.0, + "NONE": 3.0, + "PERCENTAGE": 3.0, + "FACTOR": 3.0, + "ANGLE": 3.0, + "TIME": 3.0, + "TIME_ABSOLUTE": 3.0, + "DISTANCE": 3.0, + "DISTANCE_CAMERA": 3.0, + "TEMPERATURE": 3.0, + "POWER": 3.0 + } + ], + "float_list_counter": 8 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Floats" } + } }, - "links": [{ - "from_node": "Triangulate Mesh", - "from_socket": "Edges", - "to_node": "Reroute.001", - "to_socket": "Input" - }, { - "from_node": "Plane", - "from_socket": "Vertices", - "to_node": "Triangulate Mesh", - "to_socket": "Vertices" - }, { - "from_node": "Plane", - "from_socket": "Edges", - "to_node": "Triangulate Mesh", - "to_socket": "Edges" - }, { - "from_node": "Plane", - "from_socket": "Polygons", - "to_node": "Triangulate Mesh", - "to_socket": "Polygons" - }, { - "from_node": "Triangulate Mesh", - "from_socket": "Vertices", - "to_node": "Reroute.002", - "to_socket": "Input" - }, { - "from_node": "Triangulate Mesh", - "from_socket": "Polygons", - "to_node": "Reroute", - "to_socket": "Input" - }, { - "from_node": "Reroute.002", - "from_socket": "Output", - "to_node": "Rigid Origami", - "to_socket": "Vertices" - }, { - "from_node": "Reroute.001", - "from_socket": "Output", - "to_node": "Rigid Origami", - "to_socket": "Edges" - }, { - "from_node": "Reroute", - "from_socket": "Output", - "to_node": "Rigid Origami", - "to_socket": "Faces" - }, { - "from_node": "List Input", - "from_socket": "List", - "to_node": "Rigid Origami", - "to_socket": "Fold edge indices" - }, { - "from_node": "List Input.001", - "from_socket": "List", - "to_node": "Rigid Origami", - "to_socket": "Fold edge angles" - }, { - "from_node": "A Number", - "from_socket": "Float", - "to_node": "Rigid Origami", - "to_socket": "Folding ratio" - }, { - "from_node": "Reroute.002", - "from_socket": "Output", - "to_node": "Viewer Index+", - "to_socket": "verts" - }, { - "from_node": "Reroute.001", - "from_socket": "Output", - "to_node": "Viewer Index+", - "to_socket": "edges" - }, { - "from_node": "Reroute", - "from_socket": "Output", - "to_node": "Viewer Index+", - "to_socket": "faces" - }, { - "from_node": "Reroute.002", - "from_socket": "Output", - "to_node": "Viewer Draw.001", - "to_socket": "Vertices" - }, { - "from_node": "Reroute.001", - "from_socket": "Output", - "to_node": "Viewer Draw.001", - "to_socket": "Edges" - }, { - "from_node": "Rigid Origami", - "from_socket": "Vertices", - "to_node": "Viewer Draw", - "to_socket": "Vertices" - }, { - "from_node": "Reroute.001", - "from_socket": "Output", - "to_node": "Viewer Draw", - "to_socket": "Edges" - }, { - "from_node": "Reroute", - "from_socket": "Output", - "to_node": "Viewer Draw", - "to_socket": "Polygons" + "bl_idname": "SvListInputNodeMK2" + }, + "A Number": { + "attributes": { + "location": [ + -535.5767822265625, + -347.1020202636719 + ], + "label": "Folding ratio" + }, + "properties": { + "float_": 0.6549999713897705 + }, + "inputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "prop_name": "float_" } - ] - } -} + } + }, + "outputs": { + "Float": { + "bl_idname": "SvStringsSocket", + "name": "Float", + "properties": { + "custom_draw": "mode_custom_draw" + } + } + }, + "bl_idname": "SvNumberNode" + } + }, + "links": [ + { + "from_node": "Triangulate Mesh", + "from_socket": "Edges", + "to_node": "Reroute.001", + "to_socket": "Input" + }, + { + "from_node": "Plane", + "from_socket": "Vertices", + "to_node": "Triangulate Mesh", + "to_socket": "Vertices" + }, + { + "from_node": "Plane", + "from_socket": "Edges", + "to_node": "Triangulate Mesh", + "to_socket": "Edges" + }, + { + "from_node": "Plane", + "from_socket": "Polygons", + "to_node": "Triangulate Mesh", + "to_socket": "Polygons" + }, + { + "from_node": "Triangulate Mesh", + "from_socket": "Vertices", + "to_node": "Reroute.002", + "to_socket": "Input" + }, + { + "from_node": "Triangulate Mesh", + "from_socket": "Polygons", + "to_node": "Reroute", + "to_socket": "Input" + }, + { + "from_node": "Reroute.002", + "from_socket": "Output", + "to_node": "Rigid Origami", + "to_socket": "Vertices" + }, + { + "from_node": "Reroute.001", + "from_socket": "Output", + "to_node": "Rigid Origami", + "to_socket": "Edges" + }, + { + "from_node": "Reroute", + "from_socket": "Output", + "to_node": "Rigid Origami", + "to_socket": "Faces" + }, + { + "from_node": "List Input.002", + "from_socket": "data_output", + "to_node": "Rigid Origami", + "to_socket": "Fold edge indices" + }, + { + "from_node": "List Input.003", + "from_socket": "data_output", + "to_node": "Rigid Origami", + "to_socket": "Fold edge angles" + }, + { + "from_node": "A Number", + "from_socket": "Float", + "to_node": "Rigid Origami", + "to_socket": "Folding ratio" + }, + { + "from_node": "Reroute.002", + "from_socket": "Output", + "to_node": "Viewer Index+", + "to_socket": "verts" + }, + { + "from_node": "Reroute.001", + "from_socket": "Output", + "to_node": "Viewer Index+", + "to_socket": "edges" + }, + { + "from_node": "Reroute", + "from_socket": "Output", + "to_node": "Viewer Index+", + "to_socket": "faces" + }, + { + "from_node": "Reroute.002", + "from_socket": "Output", + "to_node": "Viewer Draw.001", + "to_socket": "Vertices" + }, + { + "from_node": "Reroute.001", + "from_socket": "Output", + "to_node": "Viewer Draw.001", + "to_socket": "Edges" + }, + { + "from_node": "Rigid Origami", + "from_socket": "Vertices", + "to_node": "Viewer Draw", + "to_socket": "Vertices" + }, + { + "from_node": "Reroute.001", + "from_socket": "Output", + "to_node": "Viewer Draw", + "to_socket": "Edges" + }, + { + "from_node": "Reroute", + "from_socket": "Output", + "to_node": "Viewer Draw", + "to_socket": "Polygons" + } + ] + } +} \ No newline at end of file diff --git a/json_examples/Shapes/SverchokLogo.json b/json_examples/Shapes/SverchokLogo.json index 8338a05abe..0a01bad1b0 100644 --- a/json_examples/Shapes/SverchokLogo.json +++ b/json_examples/Shapes/SverchokLogo.json @@ -1,1208 +1,2346 @@ { - "export_version": "0.10", - "framed_nodes": { - "Area": "Frame.005", - "Bezier Spline (Curve)": "Frame.003", - "Bezier Spline (Curve).001": "Frame.002", - "Circle (Curve)": "Frame.001", - "Color in": "Frame.012", - "Contour 2D": "Frame.006", - "Edges to Faces 2D": "Frame.006", - "Edges to Faces 2D.001": "Frame.005", - "Evaluate Curve": "Frame.003", - "Evaluate Curve.001": "Frame.002", - "Evaluate Curve.002": "Frame.001", - "Frame.001": "Frame.017", - "Frame.002": "Frame.017", - "Frame.003": "Frame.017", - "Intersect Edges": "Frame.006", - "List Input": "Frame.012", - "List Input.001": "Frame.012", - "List Input.002": "Frame.012", - "List Join": "Frame.006", - "List Join.001": "Frame.006", - "List Mask (Out)": "Frame.006", - "List Mask (Out).001": "Frame.005", - "List Mask (Out).002": "Frame.005", - "Logic Functions": "Frame.005", - "Merge by Distance": "Frame.012", - "Merge Mesh 2D": "Frame.005", - "Mesh Join.001": "Frame.006", - "Select Mesh Elements by Location": "Frame.006", - "Viewer Draw": "Frame.006", - "Viewer Draw.001": "Frame.001", - "Viewer Draw.002": "Frame.002", - "Viewer Draw.003": "Frame.003", - "Viewer Draw.004": "Frame.012", - "Viewer Draw.005": "Frame.005" - }, - "groups": {}, - "nodes": { - "Area": { - "bl_idname": "SvAreaNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2683.8118286132812, - -1594.3728942871094 - ], - "params": {}, - "width": 140.0 - }, - "Bezier Spline (Curve)": { - "bl_idname": "SvBezierSplineNode", - "custom_socket_props": { - "0": { - "expanded": true, - "prop": [ - -1.0, - 0.0, - 0.0 - ] + "export_version": "1.0", + "main_tree": { + "nodes": { + "Frame.017": { + "attributes": { + "location": [ + -154.67269897460938, + 134.64405822753906 + ], + "height": 1236.0, + "width": 672.0, + "label": "inputs" }, - "1": { - "expanded": true, - "prop": [ - -0.23999999463558197, - 0.0, - 0.0 - ] + "bl_idname": "NodeFrame" + }, + "Frame.001": { + "attributes": { + "location": [ + -367.63446044921875, + -26.795333862304688 + ], + "height": 306.0, + "width": 407.00006103515625, + "label": "circle", + "parent": { + "type": "NODE", + "value": "Frame.017" + } }, - "2": { - "expanded": true, - "prop": [ - 0.14999999105930328, - 0.5, - 0.0 - ] + "bl_idname": "NodeFrame" + }, + "Frame.002": { + "attributes": { + "location": [ + -388.6966247558594, + 48.075111389160156 + ], + "height": 425.0, + "width": 600.0, + "label": "bottom curve", + "parent": { + "type": "NODE", + "value": "Frame.017" + } }, - "3": { - "expanded": true, - "prop": [ - 0.8659999966621399, - 0.5, - 0.0 - ] - } - }, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 353.11029052734375, - -940.975715637207 - ], - "params": {}, - "width": 140.0 - }, - "Bezier Spline (Curve).001": { - "bl_idname": "SvBezierSplineNode", - "custom_socket_props": { - "0": { - "expanded": true, - "prop": [ - -1.0, - 0.0, - 0.0 + "bl_idname": "NodeFrame" + }, + "Frame.003": { + "attributes": { + "location": [ + -376.99542236328125, + 94.86913299560547 + ], + "height": 430.0, + "width": 599.9999389648438, + "label": "upper curve", + "parent": { + "type": "NODE", + "value": "Frame.017" + } + }, + "bl_idname": "NodeFrame" + }, + "Frame.006": { + "attributes": { + "location": [ + -312.2635803222656, + 47.90728759765625 + ], + "height": 534.0, + "width": 1517.0001220703125, + "label": "logo" + }, + "bl_idname": "NodeFrame" + }, + "Frame.012": { + "attributes": { + "location": [ + -921.41748046875, + 1045.65234375 + ], + "height": 874.0, + "width": 673.0, + "label": "TRI color" + }, + "bl_idname": "NodeFrame" + }, + "Frame.005": { + "attributes": { + "location": [ + 341.0478515625, + 98.010009765625 + ], + "height": 388.0, + "width": 1222.0, + "label": "black circle" + }, + "bl_idname": "NodeFrame" + }, + "Bezier Spline (Curve)": { + "attributes": { + "location": [ + 353.11029052734375, + -940.975715637207 + ], + "parent": { + "type": "NODE", + "value": "Frame.003" + } + }, + "inputs": { + "Start": { + "bl_idname": "SvVerticesSocket", + "name": "Start", + "properties": { + "use_prop": true, + "prop": [ + -1.0, + 0.0, + 0.0 + ], + "expanded": true + } + }, + "Control1": { + "bl_idname": "SvVerticesSocket", + "name": "Control1", + "properties": { + "use_prop": true, + "prop": [ + -0.23999999463558197, + 0.0, + 0.0 + ], + "expanded": true + } + }, + "Control2": { + "bl_idname": "SvVerticesSocket", + "name": "Control2", + "properties": { + "use_prop": true, + "prop": [ + 0.14999999105930328, + 0.5, + 0.0 + ], + "expanded": true + } + }, + "End": { + "bl_idname": "SvVerticesSocket", + "name": "End", + "properties": { + "use_prop": true, + "prop": [ + 0.8659999966621399, + 0.5, + 0.0 + ], + "expanded": true + } + }, + "ControlPoints": { + "bl_idname": "SvVerticesSocket", + "name": "ControlPoints", + "attributes": { + "hide": true + } + } + }, + "outputs": { + "Curve": { + "bl_idname": "SvCurveSocket", + "name": "Curve" + }, + "ControlPoints": { + "bl_idname": "SvVerticesSocket", + "name": "ControlPoints" + } + }, + "bl_idname": "SvBezierSplineNode" + }, + "Bezier Spline (Curve).001": { + "attributes": { + "location": [ + 341.4090881347656, + -1363.8501815795898 + ], + "parent": { + "type": "NODE", + "value": "Frame.002" + } + }, + "inputs": { + "Start": { + "bl_idname": "SvVerticesSocket", + "name": "Start", + "properties": { + "use_prop": true, + "prop": [ + -1.0, + 0.0, + 0.0 + ], + "expanded": true + } + }, + "Control1": { + "bl_idname": "SvVerticesSocket", + "name": "Control1", + "properties": { + "use_prop": true, + "prop": [ + -0.23999999463558197, + 0.0, + 0.0 + ], + "expanded": true + } + }, + "Control2": { + "bl_idname": "SvVerticesSocket", + "name": "Control2", + "properties": { + "use_prop": true, + "prop": [ + 0.14999999105930328, + -0.5, + 0.0 + ], + "expanded": true + } + }, + "End": { + "bl_idname": "SvVerticesSocket", + "name": "End", + "properties": { + "use_prop": true, + "prop": [ + 0.8659999966621399, + -0.5, + 0.0 + ], + "expanded": true + } + }, + "ControlPoints": { + "bl_idname": "SvVerticesSocket", + "name": "ControlPoints", + "attributes": { + "hide": true + } + } + }, + "outputs": { + "Curve": { + "bl_idname": "SvCurveSocket", + "name": "Curve" + }, + "ControlPoints": { + "bl_idname": "SvVerticesSocket", + "name": "ControlPoints" + } + }, + "bl_idname": "SvBezierSplineNode" + }, + "Contour 2D": { + "attributes": { + "location": [ + 1703.0390319824219, + -1151.8834838867188 + ], + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "properties": { + "rad_": 0.03999999910593033, + "rm_doubles": 0.0010999999940395355, + "vert_": 4 + }, + "inputs": { + "Distance": { + "bl_idname": "SvStringsSocket", + "name": "Distance", + "properties": { + "prop_name": "rad_" + } + }, + "N\u00ba Vertices": { + "bl_idname": "SvStringsSocket", + "name": "N\u00ba Vertices", + "properties": { + "prop_name": "vert_" + } + }, + "Verts_in": { + "bl_idname": "SvVerticesSocket", + "name": "Verts_in" + }, + "Edges_in": { + "bl_idname": "SvStringsSocket", + "name": "Edges_in" + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + } + }, + "bl_idname": "SvContourNode" + }, + "Edges to Faces 2D": { + "attributes": { + "location": [ + 2240.6177673339844, + -1158.0241088867188 + ], + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "inputs": { + "Verts": { + "bl_idname": "SvVerticesSocket", + "name": "Verts" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + } + }, + "outputs": { + "Verts": { + "bl_idname": "SvVerticesSocket", + "name": "Verts" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + } + }, + "bl_idname": "SvEdgesToFaces2D" + }, + "Evaluate Curve": { + "attributes": { + "location": [ + 556.8338623046875, + -936.012092590332 + ], + "parent": { + "type": "NODE", + "value": "Frame.003" + } + }, + "properties": { + "sample_size": 30 + }, + "inputs": { + "Curve": { + "bl_idname": "SvCurveSocket", + "name": "Curve" + }, + "T": { + "bl_idname": "SvStringsSocket", + "name": "T", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "t_value" + } + }, + "Samples": { + "bl_idname": "SvStringsSocket", + "name": "Samples", + "properties": { + "prop_name": "sample_size" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Tangents": { + "bl_idname": "SvVerticesSocket", + "name": "Tangents" + } + }, + "bl_idname": "SvExEvalCurveNode" + }, + "Evaluate Curve.001": { + "attributes": { + "location": [ + 541.4090881347656, + -1363.8501815795898 + ], + "parent": { + "type": "NODE", + "value": "Frame.002" + } + }, + "properties": { + "sample_size": 30 + }, + "inputs": { + "Curve": { + "bl_idname": "SvCurveSocket", + "name": "Curve" + }, + "T": { + "bl_idname": "SvStringsSocket", + "name": "T", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "t_value" + } + }, + "Samples": { + "bl_idname": "SvStringsSocket", + "name": "Samples", + "properties": { + "prop_name": "sample_size" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Tangents": { + "bl_idname": "SvVerticesSocket", + "name": "Tangents" + } + }, + "bl_idname": "SvExEvalCurveNode" + }, + "Evaluate Curve.002": { + "attributes": { + "location": [ + 539.0554809570312, + -1795.9529266357422 + ], + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "sample_size": 100 + }, + "inputs": { + "Curve": { + "bl_idname": "SvCurveSocket", + "name": "Curve" + }, + "T": { + "bl_idname": "SvStringsSocket", + "name": "T", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "t_value" + } + }, + "Samples": { + "bl_idname": "SvStringsSocket", + "name": "Samples", + "properties": { + "prop_name": "sample_size" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Tangents": { + "bl_idname": "SvVerticesSocket", + "name": "Tangents" + } + }, + "bl_idname": "SvExEvalCurveNode" + }, + "List Join": { + "attributes": { + "location": [ + 1102.1221618652344, + -1153.6796264648438 + ], + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + }, + "data 3": { + "bl_idname": "SvStringsSocket", + "name": "data 3" + } + }, + "outputs": { + "data_001": { + "bl_idname": "SvVerticesSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "List Join.001": { + "attributes": { + "location": [ + 1101.1423034667969, + -1395.0346069335938 + ], + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "data 1": { + "bl_idname": "SvStringsSocket", + "name": "data 1" + }, + "data 2": { + "bl_idname": "SvStringsSocket", + "name": "data 2" + }, + "data 3": { + "bl_idname": "SvStringsSocket", + "name": "data 3" + } + }, + "outputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + } + }, + "bl_idname": "ListJoinNode" + }, + "List Mask (Out)": { + "attributes": { + "location": [ + 2063.6055603027344, + -1158.5353393554688 + ], + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "properties": { + "Level": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + } + }, + "outputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + }, + "ind_true": { + "bl_idname": "SvStringsSocket", + "name": "ind_true" + }, + "ind_false": { + "bl_idname": "SvStringsSocket", + "name": "ind_false" + }, + "dataTrue": { + "bl_idname": "SvStringsSocket", + "name": "dataTrue" + }, + "dataFalse": { + "bl_idname": "SvStringsSocket", + "name": "dataFalse" + } + }, + "bl_idname": "MaskListNode" + }, + "Note": { + "attributes": { + "location": [ + 1057.25830078125, + -913.431884765625 + ], + "width": 400.0, + "color": [ + 1.0, + 0.8993440270423889, + 0.9742509722709656 + ], + "use_custom_color": true + }, + "properties": { + "n_id": "-7572912227783136283", + "show_text": false, + "text": "Nikitron | 2020 | Sverchok logo" + }, + "inputs": { + "Text In": { + "bl_idname": "SvStringsSocket", + "name": "Text In" + } + }, + "outputs": { + "Text Out": { + "bl_idname": "SvStringsSocket", + "name": "Text Out" + } + }, + "bl_idname": "NoteNode" + }, + "Select Mesh Elements by Location": { + "attributes": { + "location": [ + 1888.0923767089844, + -1157.7511596679688 + ], + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "properties": { + "mode": "BySphere", + "radius": 0.9800000190734863 + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices", + "properties": { + "is_mandatory": true + } + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges", + "properties": { + "nesting_level": 3 + } + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons", + "properties": { + "nesting_level": 3 + } + }, + "Direction": { + "bl_idname": "SvVerticesSocket", + "name": "Direction", + "attributes": { + "hide": true + }, + "properties": { + "use_prop": true, + "prop": [ + 0.0, + 0.0, + 1.0 + ] + } + }, + "Center": { + "bl_idname": "SvVerticesSocket", + "name": "Center", + "properties": { + "use_prop": true + } + }, + "Percent": { + "bl_idname": "SvStringsSocket", + "name": "Percent", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "percent" + } + }, + "Radius": { + "bl_idname": "SvStringsSocket", + "name": "Radius", + "properties": { + "prop_name": "radius" + } + } + }, + "outputs": { + "VerticesMask": { + "bl_idname": "SvStringsSocket", + "name": "VerticesMask" + }, + "EdgesMask": { + "bl_idname": "SvStringsSocket", + "name": "EdgesMask" + }, + "FacesMask": { + "bl_idname": "SvStringsSocket", + "name": "FacesMask" + } + }, + "bl_idname": "SvMeshSelectNodeMk2" + }, + "Viewer Draw": { + "attributes": { + "location": [ + 2417.7124938964844, + -1156.5744018554688 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "properties": { + "activate": false, + "display_verts": false, + "vector_color": [ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1.0 ] }, - "1": { - "expanded": true, - "prop": [ - -0.23999999463558197, - 0.0, - 0.0 + "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 Draw.001": { + "attributes": { + "location": [ + 745.5510864257812, + -1798.1175994873047 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.001" + } + }, + "properties": { + "activate": false, + "display_verts": false, + "edge_color": [ + 0.8956438899040222, + 0.32270321249961853, + 1.0, + 1.0 + ], + "vector_color": [ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1.0 ] }, - "2": { - "expanded": true, - "prop": [ - 0.14999999105930328, - -0.5, - 0.0 + "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 Draw.002": { + "attributes": { + "location": [ + 741.4090881347656, + -1363.8501815795898 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.002" + } + }, + "properties": { + "activate": false, + "display_verts": false, + "vector_color": [ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1.0 ] }, - "3": { - "expanded": true, - "prop": [ - 0.8659999966621399, - -0.5, - 0.0 + "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 Draw.003": { + "attributes": { + "location": [ + 753.1102905273438, + -940.975715637207 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.003" + } + }, + "properties": { + "activate": false, + "display_verts": false, + "vector_color": [ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1.0 ] - } - }, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 341.4090881347656, - -1363.8501815795898 - ], - "params": {}, - "width": 140.0 - }, - "Circle (Curve)": { - "bl_idname": "SvExCircleNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 345.551025390625, - -1798.1175994873047 - ], - "params": {}, - "width": 140.0 - }, - "Color in": { - "bl_idname": "SvColorsInNodeMK1", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2856.1989135742188, - -907.2793579101562 - ], - "params": { - "b_": 0.75, - "g_": 0.75, - "r_": 0.75 - }, - "width": 110.0 - }, - "Contour 2D": { - "bl_idname": "SvContourNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1703.0390319824219, - -1151.8834838867188 - ], - "params": { - "rad_": 0.03999999910593033, - "rm_doubles": 0.0010999999940395355, - "vert_": 4 - }, - "width": 140.0 - }, - "Edges to Faces 2D": { - "bl_idname": "SvEdgesToFaces2D", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2240.6177673339844, - -1158.0241088867188 - ], - "params": {}, - "width": 140.0 - }, - "Edges to Faces 2D.001": { - "bl_idname": "SvEdgesToFaces2D", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2686.4861450195312, - -1413.0393981933594 - ], - "params": {}, - "width": 140.0 - }, - "Evaluate Curve": { - "bl_idname": "SvExEvalCurveNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 556.8338623046875, - -936.012092590332 - ], - "params": { - "sample_size": 30 - }, - "width": 140.0 - }, - "Evaluate Curve.001": { - "bl_idname": "SvExEvalCurveNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 541.4090881347656, - -1363.8501815795898 - ], - "params": { - "sample_size": 30 - }, - "width": 140.0 - }, - "Evaluate Curve.002": { - "bl_idname": "SvExEvalCurveNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 539.0554809570312, - -1795.9529266357422 - ], - "params": { - "sample_size": 100 - }, - "width": 140.0 - }, - "Frame.001": { - "bl_idname": "NodeFrame", - "custom_socket_props": {}, - "height": 314.647216796875, - "hide": false, - "label": "circle", - "location": [ - -367.63446044921875, - -26.795333862304688 - ], - "params": {}, - "width": 600.0000610351562 - }, - "Frame.002": { - "bl_idname": "NodeFrame", - "custom_socket_props": {}, - "height": 409.749755859375, - "hide": false, - "label": "bottom curve", - "location": [ - -388.6966247558594, - 48.075111389160156 - ], - "params": {}, - "width": 600.0 - }, - "Frame.003": { - "bl_idname": "NodeFrame", - "custom_socket_props": {}, - "height": 414.587890625, - "hide": false, - "label": "upper curve", - "location": [ - -376.99542236328125, - 94.86913299560547 - ], - "params": {}, - "width": 600.0 - }, - "Frame.005": { - "bl_idname": "NodeFrame", - "custom_socket_props": {}, - "height": 498.871826171875, - "hide": false, - "label": "black circle", - "location": [ - 341.04791259765625, - 98.01004028320312 - ], - "params": {}, - "width": 924.5224609375 - }, - "Frame.006": { - "bl_idname": "NodeFrame", - "custom_socket_props": {}, - "height": 521.116455078125, - "hide": false, - "label": "logo", - "location": [ - -312.2635803222656, - 47.90728759765625 - ], - "params": {}, - "width": 1516.5701904296875 - }, - "Frame.012": { - "bl_idname": "NodeFrame", - "custom_socket_props": {}, - "height": 702.49365234375, - "hide": false, - "label": "TRI color", - "location": [ - -929.4793090820312, - 763.5648803710938 - ], - "params": {}, - "width": 557.658203125 - }, - "Frame.017": { - "bl_idname": "NodeFrame", - "custom_socket_props": {}, - "height": 1234.5880126953125, - "hide": false, - "label": "inputs", - "location": [ - -154.67269897460938, - 134.64405822753906 - ], - "params": {}, - "width": 671.701171875 - }, - "Intersect Edges": { - "bl_idname": "SvIntersectEdgesNodeMK2", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1526.1084899902344, - -1154.4083862304688 - ], - "params": { - "mode": "2D", - "rm_doubles": 0.0010000000474974513, - "rm_switch": true - }, - "width": 140.0 - }, - "List Input": { - "bl_idname": "SvListInputNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2668.1740112304688, - -947.3660278320312 - ], - "params": { - "float_list": [ - 0.10000000149011612, - 1.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, - 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.0, - 0.0 - ], - "int_": 3, - "mode": "float_list" - }, - "width": 140.0 - }, - "List Input.001": { - "bl_idname": "SvListInputNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2668.1740112304688, - -1129.7905883789062 - ], - "params": { - "float_list": [ - 0.5, - 0.5, - 1.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, - 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.0 - ], - "int_": 3, - "mode": "float_list" - }, - "width": 140.0 - }, - "List Input.002": { - "bl_idname": "SvListInputNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2840.9804077148438, - -1127.6443481445312 - ], - "params": { - "float_list": [ - 1.0, - 0.0, - 0.20000000298023224, - 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.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 - ], - "int_": 3, - "mode": "float_list" - }, - "width": 140.0 - }, - "List Join": { - "bl_idname": "ListJoinNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1102.1221618652344, - -1153.6796264648438 - ], - "params": {}, - "width": 140.0 - }, - "List Join.001": { - "bl_idname": "ListJoinNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1101.1423034667969, - -1395.0346069335938 - ], - "params": {}, - "width": 140.0 - }, - "List Mask (Out)": { - "bl_idname": "MaskListNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2063.6055603027344, - -1158.5353393554688 - ], - "params": { - "Level": 2 - }, - "width": 140.0 - }, - "List Mask (Out).001": { - "bl_idname": "MaskListNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2879.5098266601562, - -1413.7173767089844 - ], - "params": { - "Level": 2 - }, - "width": 140.0 - }, - "List Mask (Out).002": { - "bl_idname": "MaskListNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 3225.3550415039062, - -1414.6155700683594 - ], - "params": { - "Level": 2 - }, - "width": 140.0 - }, - "Logic Functions": { - "bl_idname": "SvLogicNode", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2685.9033813476562, - -1723.2314147949219 - ], - "params": { - "items_": "LESS", - "prop_types": [ - true, - true - ] - }, - "width": 140.0 - }, - "Merge by Distance": { - "bl_idname": "SvMergeByDistanceNode", - "custom_socket_props": { - "0": { - "default_mode": "NONE", - "is_mandatory": true - }, - "1": { - "nesting_level": 3 - }, - "4": { - "nesting_level": 1, - "pre_processing": "ONE_ITEM" - } - }, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2664.1447143554688, - -656.5064086914062 - ], - "params": { - "distance": 0.029999999329447746 - }, - "width": 140.0 - }, - "Merge Mesh 2D": { - "bl_idname": "SvMergeMesh2D", - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 3054.3787231445312, - -1410.1281433105469 - ], - "params": {}, - "width": 140.0 - }, - "Mesh Join.001": { - "bl_idname": "SvMeshJoinNodeMk2", - "custom_socket_props": { - "0": { - "default_mode": "NONE", - "is_mandatory": true - }, - "1": { - "nesting_level": 3 - }, - "2": { - "nesting_level": 3 - } - }, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1324.4762878417969, - -1195.3109741210938 - ], - "params": {}, - "width": 140.0 - }, - "Note": { - "bl_idname": "NoteNode", - "color": [ - 1.0, - 0.8993440270423889, - 0.9742509722709656 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1057.25830078125, - -913.431884765625 - ], - "params": { - "n_id": "-7572912227783136283", - "show_text": false, - "text": "Nikitron | 2020 | Sverchok logo" - }, - "use_custom_color": true, - "width": 400.0 - }, - "Select Mesh Elements by Location": { - "bl_idname": "SvMeshSelectNodeMk2", - "custom_socket_props": { - "3": { - "prop": [ - 0.0, - 0.0, + }, + "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" + }, + "Circle (Curve).001": { + "attributes": { + "location": [ + 332.5771789550781, + -1801.507553100586 + ], + "parent": { + "type": "NODE", + "value": "Frame.017" + } + }, + "inputs": { + "Center": { + "bl_idname": "SvMatrixSocket", + "name": "Center" + }, + "Radius": { + "bl_idname": "SvStringsSocket", + "name": "Radius", + "properties": { + "prop_name": "radius" + } + }, + "TMin": { + "bl_idname": "SvStringsSocket", + "name": "TMin", + "properties": { + "prop_name": "t_min" + } + }, + "TMax": { + "bl_idname": "SvStringsSocket", + "name": "TMax", + "properties": { + "prop_name": "t_max" + } + }, + "NPoints": { + "bl_idname": "SvStringsSocket", + "name": "NPoints", + "attributes": { + "hide": true + }, + "properties": { + "prop_name": "n_points" + } + } + }, + "outputs": { + "Curve": { + "bl_idname": "SvCurveSocket", + "name": "Curve" + } + }, + "bl_idname": "SvCircleCurveMk2Node" + }, + "Mesh Join.001": { + "attributes": { + "location": [ + 1324.4762878417969, + -1195.3109741210938 + ], + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices", + "properties": { + "is_mandatory": true, + "default_mode": "NONE" + } + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges", + "properties": { + "nesting_level": 3 + } + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons", + "properties": { + "nesting_level": 3 + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + } + }, + "bl_idname": "SvMeshJoinNodeMk2" + }, + "Intersect Edges.001": { + "attributes": { + "location": [ + 1493.1027526855469, + -1177.1417846679688 + ], + "width": 183.072265625, + "parent": { + "type": "NODE", + "value": "Frame.006" + } + }, + "properties": { + "mode": "2D", + "rm_switch": true + }, + "inputs": { + "Verts_in": { + "bl_idname": "SvVerticesSocket", + "name": "Verts_in" + }, + "Edges_in": { + "bl_idname": "SvStringsSocket", + "name": "Edges_in" + } + }, + "outputs": { + "Verts_out": { + "bl_idname": "SvVerticesSocket", + "name": "Verts_out" + }, + "Edges_out": { + "bl_idname": "SvStringsSocket", + "name": "Edges_out" + } + }, + "bl_idname": "SvIntersectEdgesNodeMK3" + }, + "Color in": { + "attributes": { + "location": [ + 2864.2607421875, + -625.19189453125 + ], + "width": 110.0, + "parent": { + "type": "NODE", + "value": "Frame.012" + } + }, + "properties": { + "b_": 0.75, + "g_": 0.75, + "r_": 0.75 + }, + "inputs": { + "R": { + "bl_idname": "SvStringsSocket", + "name": "R", + "properties": { + "prop_name": "r_" + } + }, + "G": { + "bl_idname": "SvStringsSocket", + "name": "G", + "properties": { + "prop_name": "g_" + } + }, + "B": { + "bl_idname": "SvStringsSocket", + "name": "B", + "properties": { + "prop_name": "b_" + } + }, + "A": { + "bl_idname": "SvStringsSocket", + "name": "A", + "properties": { + "prop_name": "a_" + } + } + }, + "outputs": { + "Colors": { + "bl_idname": "SvColorSocket", + "name": "Colors" + } + }, + "bl_idname": "SvColorsInNodeMK1" + }, + "Merge by Distance": { + "attributes": { + "location": [ + 2672.20654296875, + -374.4189453125 + ], + "parent": { + "type": "NODE", + "value": "Frame.012" + } + }, + "properties": { + "distance": 0.029999999329447746 + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices", + "properties": { + "default_mode": "NONE", + "is_mandatory": true + } + }, + "PolyEdge": { + "bl_idname": "SvStringsSocket", + "name": "PolyEdge", + "properties": { + "nesting_level": 3 + } + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "Mask": { + "bl_idname": "SvStringsSocket", + "name": "Mask" + }, + "Distance": { + "bl_idname": "SvStringsSocket", + "name": "Distance", + "properties": { + "prop_name": "distance", + "nesting_level": 1, + "pre_processing": "ONE_ITEM" + } + } + }, + "outputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + }, + "FaceData": { + "bl_idname": "SvStringsSocket", + "name": "FaceData" + }, + "Doubles": { + "bl_idname": "SvVerticesSocket", + "name": "Doubles" + }, + "Mask": { + "bl_idname": "SvStringsSocket", + "name": "Mask" + } + }, + "bl_idname": "SvMergeByDistanceNode" + }, + "Viewer Draw.004": { + "attributes": { + "location": [ + 3029.86474609375, + -408.00634765625 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.012" + } + }, + "properties": { + "color_per_polygon": true, + "display_edges": false, + "display_verts": false, + "point_size": 7 + }, + "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" + }, + "List Input.003": { + "attributes": { + "location": [ + 2558.144287109375, + -663.6199951171875 + ], + "width": 260.0, + "parent": { + "type": "NODE", + "value": "Frame.012" + } + }, + "properties": { + "int_list_items": [ + {} + ], + "list_items_type": "FLOAT_LIST_MODE", + "float_list_items": [ + { + "elem": 0.10000000149011612, + "NONE": 0.10000000149011612, + "PERCENTAGE": 0.10000000149011612, + "FACTOR": 0.10000000149011612, + "ANGLE": 0.10000000149011612, + "TIME": 0.10000000149011612, + "TIME_ABSOLUTE": 0.10000000149011612, + "DISTANCE": 0.10000000149011612, + "DISTANCE_CAMERA": 0.10000000149011612, + "TEMPERATURE": 0.10000000149011612, + "POWER": 0.10000000149011612 + }, + { + "elem": 1.0, + "NONE": 1.0, + "PERCENTAGE": 1.0, + "FACTOR": 1.0, + "ANGLE": 1.0, + "TIME": 1.0, + "TIME_ABSOLUTE": 1.0, + "DISTANCE": 1.0, + "DISTANCE_CAMERA": 1.0, + "TEMPERATURE": 1.0, + "POWER": 1.0 + }, + {} + ], + "float_list_counter": 3 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Floats" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.004": { + "attributes": { + "location": [ + 2556.992919921875, + -932.28125 + ], + "width": 260.0, + "parent": { + "type": "NODE", + "value": "Frame.012" + } + }, + "properties": { + "int_list_items": [ + {} + ], + "list_items_type": "FLOAT_LIST_MODE", + "float_list_items": [ + { + "elem": 0.5, + "NONE": 0.5, + "PERCENTAGE": 0.5, + "FACTOR": 0.5, + "ANGLE": 0.5, + "TIME": 0.5, + "TIME_ABSOLUTE": 0.5, + "DISTANCE": 0.5, + "DISTANCE_CAMERA": 0.5, + "TEMPERATURE": 0.5, + "POWER": 0.5 + }, + { + "elem": 0.5, + "NONE": 0.5, + "PERCENTAGE": 0.5, + "FACTOR": 0.5, + "ANGLE": 0.5, + "TIME": 0.5, + "TIME_ABSOLUTE": 0.5, + "DISTANCE": 0.5, + "DISTANCE_CAMERA": 0.5, + "TEMPERATURE": 0.5, + "POWER": 0.5 + }, + { + "elem": 1.0, + "NONE": 1.0, + "PERCENTAGE": 1.0, + "FACTOR": 1.0, + "ANGLE": 1.0, + "TIME": 1.0, + "TIME_ABSOLUTE": 1.0, + "DISTANCE": 1.0, + "DISTANCE_CAMERA": 1.0, + "TEMPERATURE": 1.0, + "POWER": 1.0 + } + ], + "float_list_counter": 3 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Floats" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "List Input.005": { + "attributes": { + "location": [ + 2849.519287109375, + -923.0565185546875 + ], + "width": 260.0, + "parent": { + "type": "NODE", + "value": "Frame.012" + } + }, + "properties": { + "int_list_items": [ + {} + ], + "list_items_type": "FLOAT_LIST_MODE", + "float_list_items": [ + { + "elem": 1.0, + "NONE": 1.0, + "PERCENTAGE": 1.0, + "FACTOR": 1.0, + "ANGLE": 1.0, + "TIME": 1.0, + "TIME_ABSOLUTE": 1.0, + "DISTANCE": 1.0, + "DISTANCE_CAMERA": 1.0, + "TEMPERATURE": 1.0, + "POWER": 1.0 + }, + {}, + { + "elem": 0.20000000298023224, + "NONE": 0.20000000298023224, + "PERCENTAGE": 0.20000000298023224, + "FACTOR": 0.20000000298023224, + "ANGLE": 0.20000000298023224, + "TIME": 0.20000000298023224, + "TIME_ABSOLUTE": 0.20000000298023224, + "DISTANCE": 0.20000000298023224, + "DISTANCE_CAMERA": 0.20000000298023224, + "TEMPERATURE": 0.20000000298023224, + "POWER": 0.20000000298023224 + } + ], + "float_list_counter": 3 + }, + "inputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask", + "properties": { + "label": "Mask", + "custom_draw": "draw_mask_in_socket" + } + } + }, + "outputs": { + "data_output": { + "bl_idname": "SvStringsSocket", + "name": "data_output", + "properties": { + "label": "Floats" + } + } + }, + "bl_idname": "SvListInputNodeMK2" + }, + "Edges to Faces 2D.001": { + "attributes": { + "location": [ + 2686.486083984375, + -1413.0394287109375 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "inputs": { + "Verts": { + "bl_idname": "SvVerticesSocket", + "name": "Verts" + }, + "Edges": { + "bl_idname": "SvStringsSocket", + "name": "Edges" + } + }, + "outputs": { + "Verts": { + "bl_idname": "SvVerticesSocket", + "name": "Verts" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + } + }, + "bl_idname": "SvEdgesToFaces2D" + }, + "List Mask (Out).001": { + "attributes": { + "location": [ + 3176.979248046875, + -1406.9793701171875 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "Level": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + } + }, + "outputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + }, + "ind_true": { + "bl_idname": "SvStringsSocket", + "name": "ind_true" + }, + "ind_false": { + "bl_idname": "SvStringsSocket", + "name": "ind_false" + }, + "dataTrue": { + "bl_idname": "SvStringsSocket", + "name": "dataTrue" + }, + "dataFalse": { + "bl_idname": "SvStringsSocket", + "name": "dataFalse" + } + }, + "bl_idname": "MaskListNode" + }, + "List Mask (Out).002": { + "attributes": { + "location": [ + 3522.824462890625, + -1407.8775634765625 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "Level": 2 + }, + "inputs": { + "data": { + "bl_idname": "SvStringsSocket", + "name": "data" + }, + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + } + }, + "outputs": { + "mask": { + "bl_idname": "SvStringsSocket", + "name": "mask" + }, + "ind_true": { + "bl_idname": "SvStringsSocket", + "name": "ind_true" + }, + "ind_false": { + "bl_idname": "SvStringsSocket", + "name": "ind_false" + }, + "dataTrue": { + "bl_idname": "SvStringsSocket", + "name": "dataTrue" + }, + "dataFalse": { + "bl_idname": "SvStringsSocket", + "name": "dataFalse" + } + }, + "bl_idname": "MaskListNode" + }, + "Merge Mesh 2D": { + "attributes": { + "location": [ + 3351.84814453125, + -1403.39013671875 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "inputs": { + "Verts A": { + "bl_idname": "SvVerticesSocket", + "name": "Verts A" + }, + "Faces A": { + "bl_idname": "SvStringsSocket", + "name": "Faces A" + }, + "Verts B": { + "bl_idname": "SvVerticesSocket", + "name": "Verts B" + }, + "Faces B": { + "bl_idname": "SvStringsSocket", + "name": "Faces B" + } + }, + "outputs": { + "Verts": { + "bl_idname": "SvVerticesSocket", + "name": "Verts" + }, + "Faces": { + "bl_idname": "SvStringsSocket", + "name": "Faces" + }, + "Mask A": { + "bl_idname": "SvStringsSocket", + "name": "Mask A" + }, + "Mask B": { + "bl_idname": "SvStringsSocket", + "name": "Mask B" + } + }, + "bl_idname": "SvMergeMesh2D" + }, + "Viewer Draw.005": { + "attributes": { + "location": [ + 3705.8037109375, + -1409.7965087890625 + ], + "color": [ + 0.6284880042076111, + 0.931007981300354, + 1.0 + ], + "use_custom_color": true, + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "display_edges": false, + "display_verts": false, + "polygon_color": [ + 0.012966225855052471, + 0.03907668590545654, + 0.05552525445818901, 1.0 ] - } - }, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 1888.0923767089844, - -1157.7511596679688 - ], - "params": { - "mode": "BySphere", - "radius": 0.9800000190734863 - }, - "width": 140.0 - }, - "Viewer Draw": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 0.6284880042076111, - 0.931007981300354, - 1.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 2417.7124938964844, - -1156.5744018554688 - ], - "params": { - "activate": false, - "display_verts": false, - "vector_color": [ - 0.800000011920929, - 0.800000011920929, - 0.800000011920929, - 1.0 - ] - }, - "use_custom_color": true, - "width": 140.0 - }, - "Viewer Draw.001": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 0.6284880042076111, - 0.931007981300354, - 1.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 745.5510864257812, - -1798.1175994873047 - ], - "params": { - "activate": false, - "display_verts": false, - "edge_color": [ - 0.8956438899040222, - 0.32270321249961853, - 1.0, - 1.0 - ], - "vector_color": [ - 0.800000011920929, - 0.800000011920929, - 0.800000011920929, - 1.0 - ] - }, - "use_custom_color": true, - "width": 140.0 - }, - "Viewer Draw.002": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 0.6284880042076111, - 0.931007981300354, - 1.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 741.4090881347656, - -1363.8501815795898 - ], - "params": { - "activate": false, - "display_verts": false, - "vector_color": [ - 0.800000011920929, - 0.800000011920929, - 0.800000011920929, - 1.0 - ] - }, - "use_custom_color": true, - "width": 140.0 - }, - "Viewer Draw.003": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 0.6284880042076111, - 0.931007981300354, - 1.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 753.1102905273438, - -940.975715637207 - ], - "params": { - "activate": false, - "display_verts": false, - "vector_color": [ - 0.800000011920929, - 0.800000011920929, - 0.800000011920929, - 1.0 - ] - }, - "use_custom_color": true, - "width": 140.0 - }, - "Viewer Draw.004": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 0.6284880042076111, - 0.931007981300354, - 1.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 3021.8029174804688, - -690.0938110351562 - ], - "params": { - "color_per_polygon": true, - "display_edges": false, - "display_verts": false, - "point_size": 7 - }, - "use_custom_color": true, - "width": 140.0 + }, + "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" + }, + "Area": { + "attributes": { + "location": [ + 2683.811767578125, + -1594.3729248046875 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "inputs": { + "Vertices": { + "bl_idname": "SvVerticesSocket", + "name": "Vertices" + }, + "Polygons": { + "bl_idname": "SvStringsSocket", + "name": "Polygons" + } + }, + "outputs": { + "Area": { + "bl_idname": "SvStringsSocket", + "name": "Area" + } + }, + "bl_idname": "SvAreaNode" + }, + "Logic Functions.001": { + "attributes": { + "location": [ + 2921.87451171875, + -1580.9852294921875 + ], + "parent": { + "type": "NODE", + "value": "Frame.005" + } + }, + "properties": { + "function_name": "LESS" + }, + "inputs": { + "A": { + "bl_idname": "SvStringsSocket", + "name": "A", + "properties": { + "use_prop": true, + "show_property_type": true, + "default_property_type": "int" + } + }, + "B": { + "bl_idname": "SvStringsSocket", + "name": "B", + "properties": { + "use_prop": true, + "show_property_type": true, + "default_int_property": 1, + "default_float_property": 1.0 + } + } + }, + "outputs": { + "Result": { + "bl_idname": "SvStringsSocket", + "name": "Result" + } + }, + "bl_idname": "SvLogicNodeMK2" + } }, - "Viewer Draw.005": { - "bl_idname": "SvViewerDrawMk4", - "color": [ - 0.6284880042076111, - 0.931007981300354, - 1.0 - ], - "custom_socket_props": {}, - "height": 100.0, - "hide": false, - "label": "", - "location": [ - 3408.3342895507812, - -1416.5345153808594 - ], - "params": { - "display_edges": false, - "display_verts": false, - "polygon_color": [ - 0.012966225855052471, - 0.03907668590545654, - 0.05552525445818901, - 1.0 - ] - }, - "use_custom_color": true, - "width": 140.0 - } - }, - "update_lists": [ - [ - "Edges to Faces 2D.001", - 0, - "Area", - 0 - ], - [ - "Edges to Faces 2D.001", - 1, - "Area", - 1 - ], - [ - "List Input", - 0, - "Color in", - 0 - ], - [ - "List Input.001", - 0, - "Color in", - 1 - ], - [ - "List Input.002", - 0, - "Color in", - 2 - ], - [ - "Contour 2D", - 0, - "Edges to Faces 2D.001", - 0 - ], - [ - "Contour 2D", - 1, - "Edges to Faces 2D.001", - 1 - ], - [ - "Bezier Spline (Curve)", - 0, - "Evaluate Curve", - 0 - ], - [ - "Bezier Spline (Curve).001", - 0, - "Evaluate Curve.001", - 0 - ], - [ - "Circle (Curve)", - 0, - "Evaluate Curve.002", - 0 - ], - [ - "Edges to Faces 2D.001", - 1, - "List Mask (Out).001", - 0 - ], - [ - "Logic Functions", - 0, - "List Mask (Out).001", - 1 - ], - [ - "Merge Mesh 2D", - 1, - "List Mask (Out).002", - 0 - ], - [ - "Merge Mesh 2D", - 3, - "List Mask (Out).002", - 1 - ], - [ - "Area", - 0, - "Logic Functions", - 0 - ], - [ - "Edges to Faces 2D", - 0, - "Merge by Distance", - 0 - ], - [ - "Edges to Faces 2D", - 1, - "Merge by Distance", - 1 - ], - [ - "Edges to Faces 2D.001", - 0, - "Merge Mesh 2D", - 0 - ], - [ - "List Mask (Out).001", - 4, - "Merge Mesh 2D", - 1 - ], - [ - "Edges to Faces 2D.001", - 0, - "Merge Mesh 2D", - 2 - ], - [ - "List Mask (Out).001", - 3, - "Merge Mesh 2D", - 3 - ], - [ - "Evaluate Curve.002", - 0, - "Viewer Draw.001", - 0 - ], - [ - "Evaluate Curve.002", - 1, - "Viewer Draw.001", - 1 - ], - [ - "Evaluate Curve.001", - 0, - "Viewer Draw.002", - 0 - ], - [ - "Evaluate Curve.001", - 1, - "Viewer Draw.002", - 1 - ], - [ - "Evaluate Curve", - 0, - "Viewer Draw.003", - 0 - ], - [ - "Evaluate Curve", - 1, - "Viewer Draw.003", - 1 - ], - [ - "Merge by Distance", - 0, - "Viewer Draw.004", - 0 - ], - [ - "Merge by Distance", - 2, - "Viewer Draw.004", - 2 - ], - [ - "Color in", - 0, - "Viewer Draw.004", - 6 - ], - [ - "Merge Mesh 2D", - 0, - "Viewer Draw.005", - 0 - ], - [ - "List Mask (Out).002", - 4, - "Viewer Draw.005", - 2 - ], - [ - "Intersect Edges", - 0, - "Contour 2D", - 2 - ], - [ - "Intersect Edges", - 1, - "Contour 2D", - 3 - ], - [ - "Contour 2D", - 0, - "Edges to Faces 2D", - 0 - ], - [ - "List Mask (Out)", - 3, - "Edges to Faces 2D", - 1 - ], - [ - "Mesh Join.001", - 0, - "Intersect Edges", - 0 - ], - [ - "Mesh Join.001", - 1, - "Intersect Edges", - 1 - ], - [ - "Evaluate Curve", - 0, - "List Join", - 0 - ], - [ - "Evaluate Curve.001", - 0, - "List Join", - 1 - ], - [ - "Evaluate Curve.002", - 0, - "List Join", - 2 - ], - [ - "Evaluate Curve", - 1, - "List Join.001", - 0 - ], - [ - "Evaluate Curve.001", - 1, - "List Join.001", - 1 - ], - [ - "Evaluate Curve.002", - 1, - "List Join.001", - 2 - ], - [ - "Contour 2D", - 1, - "List Mask (Out)", - 0 - ], - [ - "Select Mesh Elements by Location", - 1, - "List Mask (Out)", - 1 - ], - [ - "Contour 2D", - 0, - "Select Mesh Elements by Location", - 0 - ], - [ - "Contour 2D", - 1, - "Select Mesh Elements by Location", - 1 - ], - [ - "Edges to Faces 2D", - 0, - "Viewer Draw", - 0 - ], - [ - "Edges to Faces 2D", - 1, - "Viewer Draw", - 2 - ], - [ - "List Join", - 0, - "Mesh Join.001", - 0 - ], - [ - "List Join.001", - 0, - "Mesh Join.001", - 1 + "links": [ + { + "from_node": "Intersect Edges.001", + "from_socket": "Verts_out", + "to_node": "Contour 2D", + "to_socket": "Verts_in" + }, + { + "from_node": "Intersect Edges.001", + "from_socket": "Edges_out", + "to_node": "Contour 2D", + "to_socket": "Edges_in" + }, + { + "from_node": "Contour 2D", + "from_socket": "Vertices", + "to_node": "Edges to Faces 2D", + "to_socket": "Verts" + }, + { + "from_node": "List Mask (Out)", + "from_socket": "dataTrue", + "to_node": "Edges to Faces 2D", + "to_socket": "Edges" + }, + { + "from_node": "Bezier Spline (Curve)", + "from_socket": "Curve", + "to_node": "Evaluate Curve", + "to_socket": "Curve" + }, + { + "from_node": "Bezier Spline (Curve).001", + "from_socket": "Curve", + "to_node": "Evaluate Curve.001", + "to_socket": "Curve" + }, + { + "from_node": "Circle (Curve).001", + "from_socket": "Curve", + "to_node": "Evaluate Curve.002", + "to_socket": "Curve" + }, + { + "from_node": "Evaluate Curve", + "from_socket": "Vertices", + "to_node": "List Join", + "to_socket": "data" + }, + { + "from_node": "Evaluate Curve.001", + "from_socket": "Vertices", + "to_node": "List Join", + "to_socket": "data 1" + }, + { + "from_node": "Evaluate Curve.002", + "from_socket": "Vertices", + "to_node": "List Join", + "to_socket": "data 2" + }, + { + "from_node": "Evaluate Curve", + "from_socket": "Edges", + "to_node": "List Join.001", + "to_socket": "data" + }, + { + "from_node": "Evaluate Curve.001", + "from_socket": "Edges", + "to_node": "List Join.001", + "to_socket": "data 1" + }, + { + "from_node": "Evaluate Curve.002", + "from_socket": "Edges", + "to_node": "List Join.001", + "to_socket": "data 2" + }, + { + "from_node": "Contour 2D", + "from_socket": "Edges", + "to_node": "List Mask (Out)", + "to_socket": "data" + }, + { + "from_node": "Select Mesh Elements by Location", + "from_socket": "EdgesMask", + "to_node": "List Mask (Out)", + "to_socket": "mask" + }, + { + "from_node": "Contour 2D", + "from_socket": "Vertices", + "to_node": "Select Mesh Elements by Location", + "to_socket": "Vertices" + }, + { + "from_node": "Contour 2D", + "from_socket": "Edges", + "to_node": "Select Mesh Elements by Location", + "to_socket": "Edges" + }, + { + "from_node": "Edges to Faces 2D", + "from_socket": "Verts", + "to_node": "Viewer Draw", + "to_socket": "Vertices" + }, + { + "from_node": "Edges to Faces 2D", + "from_socket": "Faces", + "to_node": "Viewer Draw", + "to_socket": "Polygons" + }, + { + "from_node": "Evaluate Curve.002", + "from_socket": "Vertices", + "to_node": "Viewer Draw.001", + "to_socket": "Vertices" + }, + { + "from_node": "Evaluate Curve.002", + "from_socket": "Edges", + "to_node": "Viewer Draw.001", + "to_socket": "Edges" + }, + { + "from_node": "Evaluate Curve.001", + "from_socket": "Vertices", + "to_node": "Viewer Draw.002", + "to_socket": "Vertices" + }, + { + "from_node": "Evaluate Curve.001", + "from_socket": "Edges", + "to_node": "Viewer Draw.002", + "to_socket": "Edges" + }, + { + "from_node": "Evaluate Curve", + "from_socket": "Vertices", + "to_node": "Viewer Draw.003", + "to_socket": "Vertices" + }, + { + "from_node": "Evaluate Curve", + "from_socket": "Edges", + "to_node": "Viewer Draw.003", + "to_socket": "Edges" + }, + { + "from_node": "List Join", + "from_socket": "data_001", + "to_node": "Mesh Join.001", + "to_socket": "Vertices" + }, + { + "from_node": "List Join.001", + "from_socket": "data", + "to_node": "Mesh Join.001", + "to_socket": "Edges" + }, + { + "from_node": "Mesh Join.001", + "from_socket": "Vertices", + "to_node": "Intersect Edges.001", + "to_socket": "Verts_in" + }, + { + "from_node": "Mesh Join.001", + "from_socket": "Edges", + "to_node": "Intersect Edges.001", + "to_socket": "Edges_in" + }, + { + "from_node": "List Input.003", + "from_socket": "data_output", + "to_node": "Color in", + "to_socket": "R" + }, + { + "from_node": "List Input.004", + "from_socket": "data_output", + "to_node": "Color in", + "to_socket": "G" + }, + { + "from_node": "List Input.005", + "from_socket": "data_output", + "to_node": "Color in", + "to_socket": "B" + }, + { + "from_node": "Edges to Faces 2D", + "from_socket": "Verts", + "to_node": "Merge by Distance", + "to_socket": "Vertices" + }, + { + "from_node": "Edges to Faces 2D", + "from_socket": "Faces", + "to_node": "Merge by Distance", + "to_socket": "PolyEdge" + }, + { + "from_node": "Merge by Distance", + "from_socket": "Vertices", + "to_node": "Viewer Draw.004", + "to_socket": "Vertices" + }, + { + "from_node": "Merge by Distance", + "from_socket": "Polygons", + "to_node": "Viewer Draw.004", + "to_socket": "Polygons" + }, + { + "from_node": "Color in", + "from_socket": "Colors", + "to_node": "Viewer Draw.004", + "to_socket": "Polygon Color" + }, + { + "from_node": "Contour 2D", + "from_socket": "Vertices", + "to_node": "Edges to Faces 2D.001", + "to_socket": "Verts" + }, + { + "from_node": "Contour 2D", + "from_socket": "Edges", + "to_node": "Edges to Faces 2D.001", + "to_socket": "Edges" + }, + { + "from_node": "Edges to Faces 2D.001", + "from_socket": "Faces", + "to_node": "List Mask (Out).001", + "to_socket": "data" + }, + { + "from_node": "Logic Functions.001", + "from_socket": "Result", + "to_node": "List Mask (Out).001", + "to_socket": "mask" + }, + { + "from_node": "Merge Mesh 2D", + "from_socket": "Faces", + "to_node": "List Mask (Out).002", + "to_socket": "data" + }, + { + "from_node": "Merge Mesh 2D", + "from_socket": "Mask B", + "to_node": "List Mask (Out).002", + "to_socket": "mask" + }, + { + "from_node": "Edges to Faces 2D.001", + "from_socket": "Verts", + "to_node": "Merge Mesh 2D", + "to_socket": "Verts A" + }, + { + "from_node": "List Mask (Out).001", + "from_socket": "dataFalse", + "to_node": "Merge Mesh 2D", + "to_socket": "Faces A" + }, + { + "from_node": "Edges to Faces 2D.001", + "from_socket": "Verts", + "to_node": "Merge Mesh 2D", + "to_socket": "Verts B" + }, + { + "from_node": "List Mask (Out).001", + "from_socket": "dataTrue", + "to_node": "Merge Mesh 2D", + "to_socket": "Faces B" + }, + { + "from_node": "Merge Mesh 2D", + "from_socket": "Verts", + "to_node": "Viewer Draw.005", + "to_socket": "Vertices" + }, + { + "from_node": "List Mask (Out).002", + "from_socket": "dataFalse", + "to_node": "Viewer Draw.005", + "to_socket": "Polygons" + }, + { + "from_node": "Edges to Faces 2D.001", + "from_socket": "Verts", + "to_node": "Area", + "to_socket": "Vertices" + }, + { + "from_node": "Edges to Faces 2D.001", + "from_socket": "Faces", + "to_node": "Area", + "to_socket": "Polygons" + }, + { + "from_node": "Area", + "from_socket": "Area", + "to_node": "Logic Functions.001", + "to_socket": "A" + } ] - ] -} + } +} \ No newline at end of file diff --git a/nodes/scene/get_objects_data.py b/nodes/scene/get_objects_data.py index d9850d6d4b..aa0fa8f36d 100644 --- a/nodes/scene/get_objects_data.py +++ b/nodes/scene/get_objects_data.py @@ -415,6 +415,59 @@ def get_objects_from_scene(self, ops): self.process_node(None) + def set_objects_selected_scene(self, ops): + """ + Collect selected objects + """ + #self.object_names.clear() + if len(self.object_names)>0: + for obj in self.object_names: + if obj.name in bpy.data.objects: + bobj = bpy.data.objects[obj.name] + if bpy.context.scene in bobj.users_scene: + bobj.select_set(True) + else: + print(f'Object {obj.name} is not on the current scene. You can switch from [{bpy.context.scene.name}] to [{";".join([s.name for s in bobj.users_scene ])}]') + else: + print(f'{obj.name} not in the scene') + else: + print(f"No object in list of 'Get objects Data' '{self.name}'") + + def deselect_objects_from_scene(self, ops): + """ + Collect selected objects + """ + #self.object_names.clear() + if len(self.object_names)>0: + for obj in self.object_names: + if obj.name in bpy.data.objects: + bobj = bpy.data.objects[obj.name] + if bpy.context.scene in bobj.users_scene: + bobj.select_set(False) + else: + print(f'Object {obj.name} is not on the current scene. You can switch from [{bpy.context.scene.name}] to [{";".join([s.name for s in bobj.users_scene ])}]') + else: + print(f'{obj.name} not in the scene') + else: + print(f"No object in list of 'Get objects Data' '{self.name}'") + + # names = [obj.name for obj in bpy.data.objects if (obj.select_get() and len(obj.users_scene) > 0 and len(obj.users_collection) > 0)] + + # if self.sort: + # names.sort() + + # for name in names: + # item = self.object_names.add() + # item.name = name + # item.icon = 'OUTLINER_OB_' + bpy.data.objects[name].type + + # if not self.object_names: + # ops.report({'WARNING'}, "Warning, no selected objects in the scene") + # return + + self.process_node(None) + + def select_objs(self, ops): """select all objects referenced by node""" for item in self.object_names: @@ -450,6 +503,7 @@ def sv_draw_buttons(self, context, layout): self.wrapper_tracked_ui_draw_op(row, callback, text=op_text).fn_name = 'get_objects_from_scene' col = layout.column(align=True) + row = col.row(align=True) row.prop(self, "apply_matrix", text="Apply matrix", toggle=True) row.prop(self, "mesh_join", text="merge", toggle=True) @@ -463,6 +517,11 @@ def sv_draw_buttons(self, context, layout): if not by_input: self.draw_obj_names(layout) + if len(self.object_names)>0: + row = layout.row() + self.wrapper_tracked_ui_draw_op(row, 'node.ob3_callback_mk2', text="Select objects").fn_name = 'set_objects_selected_scene' + self.wrapper_tracked_ui_draw_op(row, 'node.ob3_callback_mk2', text="Deselect objects").fn_name = 'deselect_objects_from_scene' + def sv_draw_buttons_ext(self, context, layout): r = layout.column(align=True) row = r.row(align=True) diff --git a/tests/json_import_tests.py b/tests/json_import_tests.py index d5de1db9fb..890436485a 100644 --- a/tests/json_import_tests.py +++ b/tests/json_import_tests.py @@ -65,7 +65,29 @@ def test_mesh_expr_import(self): "BIM_ArchiCAD24_import.json", "BIM_FreeCAD_import.json", "BIM_truss_joint.json", - "SverchokLogo.json" # Blender 2.90 has a crash in delaunay_2d_cdt on this file :/ + "SverchokLogo.json", # Blender 2.90 has a crash in delaunay_2d_cdt on this file :/ + + "Tie_revange_2020.json", + "rigid_origami.json", + "Water_bomb_origami_tessellation_namako.json", + "GeoDOME_preset.json", + "Coliseum.zip", + "ProfileBuilding.zip", + "Fasade_from_surfaces.json", + "Biological.zip", + "CNC_Waffle.zip", + "CNC_SVG_A4.json", + "Strip_spools_tension.json", + "Genetic_algorithm_simple.json", + "Candy.zip", + "Pineapple.zip.zip", + "List_multymasking.zip", + "Fasade_Complicated.zip", + "CNC_PANNO.zip", + "CNC_PUZZLES.zip", + "CNC_GCODE.zip", + "PointsONmeshINlines.json", + "Technical_ring_with_holes.zip", ] # @batch_only