Skip to content

Commit

Permalink
reorder_vectors_for_polyline
Browse files Browse the repository at this point in the history
replace object light
  • Loading branch information
nortikin authored Oct 26, 2023
1 parent 14b4025 commit 3e0c6ad
Showing 1 changed file with 46 additions and 74 deletions.
120 changes: 46 additions & 74 deletions json_examples/Introduction/reorder_vectors_for_polyline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,78 +2,6 @@
"export_version": "1.0",
"main_tree": {
"nodes": {
"Get Objects Data": {
"attributes": {
"location": [
-440.0,
200.0
],
"width": 150.0,
"color": [
0.35577794909477234,
0.5,
0.3646477460861206
],
"use_custom_color": true
},
"properties": {
"object_names": [
{
"name": "Circle",
"icon": "OUTLINER_OB_MESH"
}
]
},
"inputs": {
"Objects": {
"bl_idname": "SvObjectSocket",
"name": "Objects"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"Vertex Normals": {
"bl_idname": "SvVerticesSocket",
"name": "Vertex Normals"
},
"Material Idx": {
"bl_idname": "SvStringsSocket",
"name": "Material Idx"
},
"Polygon Areas": {
"bl_idname": "SvStringsSocket",
"name": "Polygon Areas"
},
"Polygon Centers": {
"bl_idname": "SvVerticesSocket",
"name": "Polygon Centers"
},
"Polygon Normals": {
"bl_idname": "SvVerticesSocket",
"name": "Polygon Normals"
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
},
"Object": {
"bl_idname": "SvObjectSocket",
"name": "Object"
}
},
"bl_idname": "SvGetObjectsData"
},
"Polyline": {
"attributes": {
"location": [
Expand Down Expand Up @@ -153,6 +81,50 @@
}
},
"bl_idname": "SvCurveViewerDrawNode"
},
"Objects in Lite": {
"attributes": {
"location": [
-440.0,
200.0
],
"color": [
0.35577794909477234,
0.5,
0.3646477460861206
],
"use_custom_color": true
},
"properties": {
"obj_name": "Circle",
"currently_storing": true
},
"advanced_properties": {
"geom": "{\"Vertices\": [0.0, 1.0, 0.0, -0.19509032368659973, 0.9807852506637573, 0.0, -0.3826834559440613, 0.9238795042037964, 0.0, -0.5555702447891235, 0.8314695954322815, 0.0, -0.7071067690849304, 0.7071067690849304, 0.0, -0.8314695954322815, 0.5555702447891235, 0.0, -0.9238795042037964, 0.3826834559440613, 0.0, -0.9807852506637573, 0.19509032368659973, 0.0, -1.0, 0.0, 0.0, -0.9807852506637573, -0.19509032368659973, 0.0, -0.9238795042037964, -0.3826834559440613, 0.0, -0.8314695954322815, -0.5555702447891235, 0.0, -0.7071067690849304, -0.7071067690849304, 0.0, -0.5555702447891235, -0.8314695954322815, 0.0, 0.5555702447891235, -0.8314695954322815, 0.0, 0.7071067690849304, -0.7071067690849304, 0.0, 0.8314695954322815, -0.5555702447891235, 0.0, 0.9238795042037964, -0.3826834559440613, 0.0, 0.9807852506637573, -0.19509032368659973, 0.0, 1.0, 0.0, 0.0, 0.9807852506637573, 0.19509032368659973, 0.0, 0.9238795042037964, 0.3826834559440613, 0.0, 0.8314695954322815, 0.5555702447891235, 0.0, 0.7071067690849304, 0.7071067690849304, 0.0, 0.5555702447891235, 0.8314695954322815, 0.0, 0.3826834559440613, 0.9238795042037964, 0.0, 0.19509032368659973, 0.9807852506637573, 0.0], \"Edges\": [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 0, 26], \"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"
}
},
"links": [
Expand All @@ -163,13 +135,13 @@
"to_socket": "Vertices"
},
{
"from_node": "Get Objects Data",
"from_node": "Objects in Lite",
"from_socket": "Vertices",
"to_node": "Vector Sort",
"to_socket": "Vertices"
},
{
"from_node": "Get Objects Data",
"from_node": "Objects in Lite",
"from_socket": "Edges",
"to_node": "Vector Sort",
"to_socket": "PolyEdge"
Expand Down

0 comments on commit 3e0c6ad

Please sign in to comment.