Last change
on this file since 729 was
74,
checked in by mmc, 19 years ago
|
Added structure examples to the zoo.
Fixed the molecule viewer to pop up a little smaller.
Fixed the controls panel to pop down to a small size
when it is empty.
|
File size:
1.1 KB
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <run> |
---|
3 | <tool> |
---|
4 | <title>structure</title> |
---|
5 | <about>Example of a Rappture <structure> object. |
---|
6 | |
---|
7 | A structure is a collection of geometrical objects describing a physical structure. A structure can have embedded parameters (such as the size of certain parts of the structure) along with fields that represent numerical quantities defined within the structure. |
---|
8 | |
---|
9 | This example uses a loader element to load various structure definitions from example files. You can see the real action here by selecting various examples from the loader. The simulate button doesn't do very much. It just copies the input parameters in the structure (if there are any) to the output log. |
---|
10 | </about> |
---|
11 | <command> |
---|
12 | tclsh @tool/structure.tcl @driver |
---|
13 | </command> |
---|
14 | </tool> |
---|
15 | <input> |
---|
16 | <loader> |
---|
17 | <about> |
---|
18 | <label>Example</label> |
---|
19 | <description>Use this to load examples.</description> |
---|
20 | </about> |
---|
21 | <example>*.xml</example> |
---|
22 | <default>simple.xml</default> |
---|
23 | </loader> |
---|
24 | |
---|
25 | <structure> |
---|
26 | <!-- examples get loaded in here by loader --> |
---|
27 | </structure> |
---|
28 | </input> |
---|
29 | </run> |
---|
Note: See
TracBrowser
for help on using the repository browser.