Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Objects Data. Add buttons select and deselect object from the list #5152

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 55 additions & 68 deletions json_examples/Advanced/Genetic_algorithm_simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,84 +704,71 @@
}
},
"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": {
"List": {
"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": {
Expand Down
177 changes: 69 additions & 108 deletions json_examples/Architecture/BIM_truss_joint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand All @@ -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": {
Expand Down Expand Up @@ -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
},
Expand All @@ -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": {
Expand All @@ -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
},
Expand All @@ -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": {
Expand Down
Loading
Loading