visual3d:documentation:pipeline:metric_commands:metric_explicit
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:metric_commands:metric_explicit [2024/07/17 15:42] – removed sgranger | visual3d:documentation:pipeline:metric_commands:metric_explicit [2025/10/03 13:41] (current) – wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Metric Explicit ====== | ||
| + | |||
| + | ====Overview==== | ||
| + | |||
| + | The **Metric Explicit** command creates a metric signal explicitly. This allows for the creation of a new signal without input or reference data, unlike other metric commands. Previous versions of Visual3D labeled this command Explicit_Metric. | ||
| + | |||
| + | ====Pipeline Command==== | ||
| + | |||
| + | The pipeline code for this command is as follows, it can be found in the **Pipeline Workshop** under **Metric**. | ||
| + | |||
| + | < | ||
| + | Metric_Explicit | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | ====Command Parameters==== | ||
| + | |||
| + | The following table shows the command parameters seen above and their descriptions: | ||
| + | |||
| + | |**RESULT_METRIC_NAME**|**The name of the result signal**| | ||
| + | |**RESULT_METRIC_FOLDER**|**The name of the result signal folder**| | ||
| + | |**METRIC_VALUE**|**Value of signal components**| | ||
| + | |||
| + | ====Dialog==== | ||
| + | |||
| + | The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | The dialog box allows you to assign values to the command parameters outlined above. | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | This example will create a metric signal with 3 component values of 1, 2, 3. The resulting signal will be named **NEW_SIGNAL** and be located in the **OFFSET** folder. | ||
| + | |||
| + | < | ||
| + | Metric_Explicit | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | | ||
| + | |||
| + | ==== Result ==== | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Expressions ==== | ||
| + | |||
| + | In early implementations of this command the values in Metric_Value were a list of components you wanted the metric explicitly set to (see example above), and expressions were not allowed. | ||
| + | |||
| + | In version 6 Metric_Value can be an expression, but this may lead to some confusion. | ||
| + | |||
| + | For example, | ||
| + | |||
| + | < | ||
| + | Metric_Explicit | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Metric_Explicit | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | The processing results for the second command are: | ||
| + | |||
| + | Metric Name : METRIC:: | ||
| + | Metric Expression : | ||
| + | Metric Value : 1.000000 ; | ||
| + | |||
| + | The second command be re-written as follows using the [[Visual3D: | ||
| + | |||
| + | < | ||
| + | Metric_Explicit\\ | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ;\\ | ||
| + | </ | ||
| + | |||
| + | The processing results for the third command are: | ||
| + | |||
| + | Metric Name : METRIC:: | ||
| + | Metric Expression : | ||
| + | Metric Value : 2.000000 ; | ||
| + | |||
visual3d/documentation/pipeline/metric_commands/metric_explicit.1721230949.txt.gz · Last modified: by sgranger
