LocalWEMLoad¶
- MacroModule¶
genre
author
package
definition
see also
keywords
Purpose¶
The module LocalWEMLoad loads a WEM in any supported format from a relative path.
Usage¶
Simply set the filename, which can be relative to a variable, and load the file.
Details¶
The panel offers some examples of variables to use.
The module is based internally on WEMLoad, have a look at that module for available file formats.
Windows¶
Default Panel¶
Output Fields¶
outWEM¶
- name: outWEM, type: WEM(MLBase)¶
Output is a WEM.
For accessing this object via scripting, see the Scripting Reference:
MLWEMWrapper.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
Visible Fields¶
Name¶
- name: name, type: String, default: $(DemoDataPath)/venus.off¶
Sets the WEM file name, using a variable to specify a relative path.
For more information, see
LocalImage.name.
True Name¶
- name: trueName, type: String, persistent: no¶
Shows the true name of the WEM to load. This is the filename in the current file system.
Mirror Faces¶
- name: mirrorFaces, type: Bool, default: FALSE¶
If checked, all faces are mirrored to compensate for formats that have a reverse order of nodes.
Triangulate Faces¶
- name: triangulateFaces, type: Bool, default: FALSE¶
If checked, all non-triangle faces will be triangulated.
Mode¶
- name: triangulationMode, type: Enum, default: Strip¶
Sets the triangulation scheme in case that loaded faces should be triangulated.
Values:
Title |
Name |
|---|---|
Center node |
Center node |
Fan |
Fan |
Strip |
Strip |
Generate Edges¶
- name: generateEdges, type: Bool, default: TRUE¶
If checked, edges will be generated for the output WEM if the loaded WEM does not have any edges.
Close¶
- name: unloadSurface, type: Trigger¶
When pressed, the internal WEM is cleared and the attached modules are notified.
Auto load¶
- name: autoApply, type: Bool, default: TRUE¶
If checked, the module loads on start-up and on changing any parameter.
Load¶
- name: apply, type: Trigger¶
When pressed, the specified WEM is loaded.
Overwrite Label Description¶
- name: overwriteLabelDescription, type: Bool, default: FALSE¶
If checked, the label and the description of the loaded WEM is overwritten.
Label¶
- name: label, type: String¶
Sets a label string for free use.
Description¶
- name: description, type: String¶
Sets a string description for free use.
Status¶
- name: status, type: String, persistent: no¶
Shows the status of the module.