-
Notifications
You must be signed in to change notification settings - Fork 0
TOC
Miscellaneous:
- objects.scad (docs) Functions for creating and accessing object-like lists.
1. objects.scad
Functions for creating and accessing object-like lists.
-
Object Functions
-
Object()
Func – Create a generic Object -
obj_is_obj()
Func – Test to see if a given value could be an Object -
obj_is_valid()
Func – Deeply test an Object to ensure its data types are consistent -
obj_debug_obj()
Func – Given an Object, return a single string that describes the Object -
obj_has()
Func – Test to see if an Object has a particular attribute -
obj_has_value()
Func – Test to see if an Object has any data in it -
obj_get_names()
Func – Get a list of all the attribute names in the Object -
obj_get_values()
Func – Get a list of all the values in the Object -
obj_get_values_by_attrs()
Func – Get a list of values from the Object in arbitrary order -
obj_get_defaults()
Func – Get a list of all the attribute defaults in the Object -
obj_accessor()
Func – Generic read/write attribute accessor -
obj_accessor_get()
Func – Generic read-only attribute accessor -
obj_accessor_set()
Func – Generic write-only attribute accessor -
obj_accessor_unset()
Func – Generic attribute deleter -
obj_select()
Func – Select Objects from a list based on their position in that list -
obj_select_by_attr_defined()
Func – Select Objects from a list if they have a particular attribute defined -
obj_select_by_attr_value()
Func – Select Objects from a list based on the value of a specified attribute -
obj_sort_by_attribute()
Func – Sort a list of Objects based on a specified attribute -
obj_select_values_from_obj_list()
Func – Get a list of values for one attribute out of a list of Objects -
obj_regroup_list_by_attr()
Func – Group a list of Objects based on a specified attribute -
obj_select_by_attrs_values()
Func – Select Objects from a list based on one or more sets of attribute-value pairs -
obj_list_debug_obj()
Func – Runobj_debug_obj()
against a list of Objects -
ATTRIBUTE_DATA_TYPES
Const – Known data types -
obj_data_type_is_valid()
Func – Test to see if the attribute of a given Object data type is valid -
data_type_is_valid()
Func – Test to see if a given data type is valid -
obj_type_check_value()
Func – Test if a specified Object attribute matches its data type -
test_value_type()
Func – Test if a data value matches its data type