Define modification to be done on a inline. More...
#include <mbs_saver.h>
Public Attributes | |
int | on_base |
True (1) if the shape is on the basebody. More... | |
char * | body_name |
Name of the body with the shape, disregarded if on_base is true. More... | |
char * | shape_name |
Name of the shape in the shape list. More... | |
char * | shape_url |
Path to the shape file. More... | |
double * | position |
Position (x, y, z) of the inline, Set to NULL to not update it. More... | |
double * | scale |
Scale (x, y, z) of the inline, Set to NULL to not update it. More... | |
double * | rotation |
Rotation (around x, y, z) of the inline, Set to NULL to not update it. More... | |
double | transparency |
Transparency (1 is invisible, 0 is fully visible) of the inline, Set to negative value to not update it. More... | |
int | prj_relative_url |
True (1) if the shape url (shape_url ) start for project folder (without initial path separator). More... | |
int | visible |
Flag to show the shape (1) or hide it (0). Set to -1 to not update it. More... | |
struct UpdateInline * | next |
Pointer to next inline to be updated. More... | |
Define modification to be done on a inline.
char* body_name |
Name of the body with the shape, disregarded if on_base
is true.
struct UpdateInline* next |
Pointer to next inline to be updated.
int on_base |
True (1) if the shape is on the basebody.
double* position |
Position (x, y, z) of the inline, Set to NULL to not update it.
int prj_relative_url |
True (1) if the shape url (shape_url
) start for project folder (without initial path separator).
False if the path is not.
double* rotation |
Rotation (around x, y, z) of the inline, Set to NULL to not update it.
double* scale |
Scale (x, y, z) of the inline, Set to NULL to not update it.
char* shape_name |
Name of the shape in the shape list.
In case of multiple occurrence, the first is considered.
char* shape_url |
Path to the shape file.
Can be absolute (or relative from executable) or relative (without initial path separator) from project directory (requires prj_relative_url
to be true). Set to NULL to not update it.
double transparency |
Transparency (1 is invisible, 0 is fully visible) of the inline, Set to negative value to not update it.
int visible |
Flag to show the shape (1) or hide it (0). Set to -1 to not update it.