Mercurial > repos > iuc > icqsol_refine_shape
view icqsol_refine_shape.xml @ 0:d543f7bbe8da draft default tip
Uploaded
author | iuc |
---|---|
date | Tue, 23 Aug 2016 15:01:27 -0400 |
parents | |
children |
line wrap: on
line source
<?xml version='1.0' encoding='UTF-8'?> <tool id="icqsol_refine_shape" name="Refine shape" version="@WRAPPER_VERSION@.0"> <description></description> <macros> <import>icqsol_macros.xml</import> </macros> <expand macro="requirements" /> <command> <![CDATA[ python $__tool_directory__/icqsol_refine_shape.py --input "$input" --input_file_format_and_type $input.ext --input_dataset_type $input.metadata.dataset_type --max_edge_length $max_edge_length --output "$output" --output_vtk_type $output_vtk_type ]]> </command> <inputs> <param name="input" type="data" format="plyascii,plybinary,vtkascii,vtkbinary" label="Shape"> <validator type="dataset_ok_validator" /> </param> <param name="max_edge_length" type="float" value="0.1" label="Maximum edge length" help="Refine shape by restricting edges to this length."> <validator type="in_range" min="0" exclude_min="true" /> </param> <expand macro="output_vtk_type_params" /> </inputs> <outputs> <data name="output" format="vtkascii" label="${tool.name} ${on_string} Max edge length: ${max_edge_length}"> <actions> <action type="format"> <option type="from_param" name="output_vtk_type" /> </action> </actions> </data> </outputs> <tests> <test> <param name="input" value="box_with_surface_field.vtkascii" ftype="vtkascii" /> <param name="input_file_format_and_type" value="vtkascii" /> <param name="input_dataset_type" value="POLYDATA" /> <param name="max_edge_length" value="0.1" /> <output name="output" file="box_refined.vtkascii" ftype="vtkascii" /> <param name="output_vtk_type" value="vtkascii" /> </test> </tests> <help> **What it does** Refines a shape by limiting all edges to a specified length, resulting in a more detailed shape. * **Shape** - Shape to be refined. * **Maximum edge length** - The shape's edges are smoothed by adding points to its edges that are longer than the defined maximum length. </help> <expand macro="citations" /> </tool>