Mercurial > repos > iuc > icqsol_compose_shapes
changeset 0:1574fdcc16df draft default tip
Uploaded
author | iuc |
---|---|
date | Tue, 23 Aug 2016 14:59:12 -0400 |
parents | |
children | |
files | icqsol_compose_shapes.py icqsol_compose_shapes.xml icqsol_macros.xml icqsol_utils.py test-data/head.vtkascii test-data/notch1.vtkascii test-data/notch2.vtkascii test-data/philips_bolt.vtkascii test-data/shaft.vtkascii |
diffstat | 9 files changed, 1139 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icqsol_compose_shapes.py Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,43 @@ +#!/usr/bin/env python +import argparse +import shutil + +import icqsol_utils + +# Parse Command Line. +parser = argparse.ArgumentParser() +parser.add_argument('--expression', dest='expression', help='Composition expression') +parser.add_argument('--shape_dataset', dest='shape_datasets', action='append', nargs=4, help='Shape datasets selected from history') +parser.add_argument('--output', dest='output', help='Output dataset') +parser.add_argument('--output_vtk_type', dest='output_vtk_type', help='Output file format and type') + +args = parser.parse_args() + +tmp_dir = icqsol_utils.get_temp_dir() +shape_tuples = [] +shape_mgr = icqsol_utils.get_shape_manager() + +# Load the shapes. +for (expression_var, dataset_path, galaxy_ext, vtk_dataset_type) in args.shape_datasets: + # Define the file format and type. + format, file_type = icqsol_utils.get_format_and_type(galaxy_ext) + if format == icqsol_utils.VTK: + shape_mgr.setReader(file_format=format, vtk_dataset_type=vtk_dataset_type) + else: + shape_mgr.setReader(file_format=format) + icqsol_path = icqsol_utils.get_input_file_path(tmp_dir, dataset_path, format) + shape_tuple = (expression_var, shape_mgr.loadAsShape(icqsol_path)) + shape_tuples.append(shape_tuple) + +# Define the output file format and type. +output_format, output_file_type = icqsol_utils.get_format_and_type(args.output_vtk_type) +tmp_output_path = icqsol_utils.get_temporary_file_path(tmp_dir, output_format) + +shape_mgr.setWriter(file_format=output_format, vtk_dataset_type=icqsol_utils.POLYDATA) + +# Compose the shapes. +composite_shape = shape_mgr.composeShapes(shape_tuples, args.expression) + +# Save the output. +shape_mgr.saveShape(shape=composite_shape, file_name=tmp_output_path, file_type=output_file_type) +shutil.move(tmp_output_path, args.output)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icqsol_compose_shapes.xml Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,74 @@ +<?xml version='1.0' encoding='UTF-8'?> +<tool id="icqsol_compose_shapes" name="Compose shapes" version="@WRAPPER_VERSION@.0"> + <description></description> + <macros> + <import>icqsol_macros.xml</import> + </macros> + <expand macro="requirements" /> + <command> + <![CDATA[ + python $__tool_directory__/icqsol_compose_shapes.py + --expression "$expression" + #for $i in $input_shapes: + --shape_dataset "${i.expression_var}" "${i.input_shape}" "${i.input_shape.ext}" "${i.input_shape.metadata.dataset_type}" + #end for + --output "$output" + --output_vtk_type $output_vtk_type + ]]> + </command> + <inputs> + <param name="expression" type="text" value="" label="Composition expression" help="Example: A + B - C * D"/> + <repeat name="input_shapes" title="Expression variable and shape" min="2"> + <param name="expression_var" type="text" value="" label="Expression variable" help="The selected shape will be associated with this variable in the expression."/> + <param name="input_shape" type="data" format="plyascii,plybinary,vtkascii,vtkbinary" label="Shape"> + <validator type="dataset_ok_validator" /> + </param> + </repeat> + <expand macro="output_vtk_type_params" /> + </inputs> + <outputs> + <data name="output" format="vtkascii"> + <actions> + <action type="format"> + <option type="from_param" name="output_vtk_type" /> + </action> + </actions> + </data> + </outputs> + <tests> + <test> + <param name="expression" value="head + shaft - notch1 - notch2" /> + <repeat name="input_shapes"> + <param name="expression_var" value="head" /> + <param name="input_shape" value="head.vtkascii" ftype="vtkascii" /> + </repeat> + <repeat name="input_shapes"> + <param name="expression_var" value="shaft" /> + <param name="input_shape" value="shaft.vtkascii" ftype="vtkascii" /> + </repeat> + <repeat name="input_shapes"> + <param name="expression_var" value="notch1" /> + <param name="input_shape" value="notch1.vtkascii" ftype="vtkascii" /> + </repeat> + <repeat name="input_shapes"> + <param name="expression_var" value="notch2" /> + <param name="input_shape" value="notch2.vtkascii" ftype="vtkascii" /> + </repeat> + <output name="output" file="philips_bolt.vtkascii" ftype="vtkascii" /> + <param name="output_vtk_type" value="vtkascii" /> + </test> + </tests> + <help> +**What it does** + +Creates a shape composed of any number of selected shapes where the composition is based on a mathematical +expression consisting of **+**, **-** and ***** operations. The **+** results in a union of shapes, the +**-** operator removes a shape and the ***** operator results in an intersection of shapes. + +For example, if the **Composition expression** is **A + B - C - D**, selecting 4 shapes from your history +and associating each shape with a variable from the expression will result in a shape composed of the shapes +associated with A and B, but eliminating the shapes associated with C and D. + + </help> + <expand macro="citations" /> +</tool>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icqsol_macros.xml Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,116 @@ +<?xml version='1.0' encoding='UTF-8'?> +<macros> + <token name="@WRAPPER_VERSION@">1.0</token> + <xml name="requirements"> + <requirements> + <requirement type="package" version="0.3.26">icqsol</requirement> + </requirements> + </xml> + <xml name="stdio"> + <stdio> + <exit_code range="1:"/> + <exit_code range=":-1"/> + <regex match="Error:"/> + <regex match="Exception:"/> + </stdio> + </xml> + <!-- TODO: place this in colormaps_conf.xml --> + <xml name="color_map_param"> + <param name="color_map" type="select" label="Color map"> + <option value="hot" selected="True">Hot</option> + <option value="cold">Cold</option> + <option value="blackbody">Blackbody</option> + <option value="gnu">Gnu</option> + </param> + </xml> + <xml name="output_vtk_type_params"> + <param name="output_vtk_type" type="select" label="Output file type"> + <option value="vtkascii" selected="True">Vtk-ascii</option> + <option value="vtkbinary">Vtk-binary</option> + </param> + </xml> + <token name="@origin_cmd_args@"> + --origin_x $create_process_cond.shape_cond.origin_x + --origin_y $create_process_cond.shape_cond.origin_y + --origin_z $create_process_cond.shape_cond.origin_z + </token> + <xml name="origin_params"> + <param name="origin_x" type="float" value="0.0" label="X coordinate of origin" help="Floating point number"/> + <param name="origin_y" type="float" value="0.0" label="Y coordinate of origin" help="Floating point number"/> + <param name="origin_z" type="float" value="0.0" label="Z coordinate of origin" help="Floating point number"/> + </xml> + <token name="@lengths_cmd_args@"> + --length_x $create_process_cond.shape_cond.length_x + --length_y $create_process_cond.shape_cond.length_y + --length_z $create_process_cond.shape_cond.length_z + </token> + <xml name="lengths_params"> + <!-- At least one of these lengths must be greater than zero, but we have no validator for this. --> + <param name="length_x" type="float" value="1.0" label="Length in the X direction" help="Floating point number"> + <validator type="in_range" min="0" exclude_min="false" /> + </param> + <param name="length_y" type="float" value="0.0" label="Length in the Y direction" help="Floating point number"> + <validator type="in_range" min="0" exclude_min="false" /> + </param> + <param name="length_z" type="float" value="0.0" label="Length in the Z direction" help="Floating point number"> + <validator type="in_range" min="0" exclude_min="false" /> + </param> + </xml> + <xml name="lengths_exclude_min_params"> + <param name="length_x" type="float" value="1.0" label="Length in the X direction" help="Floating point number"> + <validator type="in_range" min="0" exclude_min="true" /> + </param> + <param name="length_y" type="float" value="1.0" label="Length in the Y direction" help="Floating point number"> + <validator type="in_range" min="0" exclude_min="true" /> + </param> + <param name="length_z" type="float" value="1.0" label="Length in the Z direction" help="Floating point number"> + <validator type="in_range" min="0" exclude_min="true" /> + </param> + </xml> + <token name="@radius_cmd_args@"> + --radius $create_process_cond.shape_cond.radius + </token> + <xml name="radius_params"> + <param name="radius" type="float" value="1.0" label="Radius" help="Floating point number"> + <validator type="in_range" min="0" exclude_min="True" /> + </param> + </xml> + <token name="@n_theta_cmd_args@"> + --n_theta $create_process_cond.shape_cond.n_theta + </token> + <xml name="n_theta_params"> + <param name="n_theta" type="integer" value="16" label="Number of slices" help="Controls the tessellation along the longitude direction"> + <validator type="in_range" min="0" exclude_min="False" /> + </param> + </xml> + <token name="@n_phi_cmd_args@"> + --n_phi $create_process_cond.shape_cond.n_phi + </token> + <xml name="n_phi_params"> + <param name="n_phi" type="integer" value="8" label="Number of stacks" help="Controls the tessellation along the latitude direction"> + <validator type="in_range" min="0" exclude_min="False" /> + </param> + </xml> + <xml name="citations"> + <citations> + <citation type="bibtex"> + @unpublished{None, + author = {None}, + title = {None}, + year = {None}, + eprint = {None}, + url = {https://github.com/gregvonkuster/galaxy-csg} + }</citation> + <citation type="bibtex"> + @misc(Schroeder-Martin-Lorensen2006, + author = "Will Schroeder and + Ken Martin and + Bill Lorensen", + year = "2006", + title = "The Visualization Toolkit (4th ed.)", + publisher = "Kitware", + url = "https://en.wikipedia.org/wiki/Special:BookSources/978-1-930934-19-1") + </citation> + </citations> + </xml> +</macros>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icqsol_utils.py Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,86 @@ +import os +import sys +import tempfile + +from icqsol.shapes.icqShapeManager import ShapeManager +from icqsol.bem.icqLaplaceSolver import LaplaceSolver + +PLY = 'ply' +POLYDATA = 'POLYDATA' +VTK = 'vtk' + + +def asbool(val): + return str(val).lower() in ['yes', 'true'] + + +def get_format_and_type(galaxy_ext): + # Define the output file format and type. + format = None + datatype = None + if galaxy_ext in ['vtkascii', 'vtkbinary']: + format = VTK + elif galaxy_ext in ['plyascii', 'plybinary']: + format = PLY + if galaxy_ext in ['vtkascii', 'plyascii']: + datatype = 'ascii' + elif galaxy_ext in ['vtkbinary', 'plybinary']: + datatype = 'binary' + return format, datatype + + +def get_input_file_path(tmp_dir, input_file, format): + """ + iCqSol uses file extensions (e.g., .ply, .vtk) when reading and + writing files, so the Galaxy dataset naming convention of + setting all file extensions as .dat must be handled. + """ + file_path = get_temporary_file_path(tmp_dir, format) + # Remove the file so we can create a symlink. + os.remove(file_path) + os.symlink(input_file, file_path) + return file_path + + +def get_laplace_solver(shape_data, max_edge_length=float('inf')): + return LaplaceSolver(shape_data, max_edge_length=max_edge_length) + + +def get_shape_manager(format=None, dataset_type=None): + # Instantiate a ShapeManager. + return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) + + +def get_temp_dir(prefix='tmp-vtk-', dir=None): + """ + Return a temporary directory. + """ + return tempfile.mkdtemp(prefix=prefix, dir=dir) + + +def get_tempfilename(dir=None, suffix=None): + """ + Return a temporary file name. + """ + if suffix is None: + s = None + elif suffix.startswith('.'): + s = suffix + else: + s = '.%s' % suffix + fd, name = tempfile.mkstemp(suffix=s, dir=dir) + os.close(fd) + return name + + +def get_temporary_file_path(tmp_dir, file_extension): + """ + Return the path to a temporary file with a valid VTK format + file extension. + """ + return get_tempfilename(tmp_dir, file_extension) + + +def stop_err(msg): + sys.stderr.write("%s\n" % msg) + sys.exit()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/head.vtkascii Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,65 @@ +# vtk DataFile Version 4.0 +vtk output +ASCII +DATASET POLYDATA +POINTS 34 float +-0.06 0 0 -0.06 0 -0.25 -0.06 -0.0956709 -0.23097 +0.08 0 0 -0.06 -0.176777 -0.176777 -0.06 -0.23097 -0.0956709 +-0.06 -0.25 0 -0.06 -0.23097 0.0956709 -0.06 -0.176777 0.176777 +-0.06 -0.0956709 0.23097 -0.06 0 0.25 -0.06 0.0956709 0.23097 +-0.06 0.176777 0.176777 -0.06 0.23097 0.0956709 -0.06 0.25 0 +-0.06 0.23097 -0.0956709 -0.06 0.176777 -0.176777 -0.06 0.0956709 -0.23097 +-0.06 0 -0.25 -0.06 -0.0956709 -0.23097 -0.06 -0.176777 -0.176777 +-0.06 -0.23097 -0.0956709 -0.06 -0.25 0 -0.06 -0.23097 0.0956709 +-0.06 -0.176777 0.176777 -0.06 -0.0956709 0.23097 -0.06 0 0.25 +-0.06 0.0956709 0.23097 -0.06 0.176777 0.176777 -0.06 0.23097 0.0956709 +-0.06 0.25 0 -0.06 0.23097 -0.0956709 -0.06 0.176777 -0.176777 +-0.06 0.0956709 -0.23097 +POLYGONS 32 128 +3 0 1 2 +3 18 3 19 +3 0 2 4 +3 19 3 20 +3 0 4 5 +3 20 3 21 +3 0 5 6 +3 21 3 22 +3 0 6 7 +3 22 3 23 +3 0 7 8 +3 23 3 24 +3 0 8 9 +3 24 3 25 +3 0 9 10 +3 25 3 26 +3 0 10 11 +3 26 3 27 +3 0 11 12 +3 27 3 28 +3 0 12 13 +3 28 3 29 +3 0 13 14 +3 29 3 30 +3 0 14 15 +3 30 3 31 +3 0 15 16 +3 31 3 32 +3 0 16 17 +3 32 3 33 +3 0 17 1 +3 33 3 18 + +POINT_DATA 34 +NORMALS Normals float +-1 0 0 -1 0 0 -1 0 0 +1 2.30575e-08 6.43464e-09 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +0.872506 0 -0.488603 0.872506 -0.18698 -0.451411 0.872506 -0.345495 -0.345495 +0.872506 -0.451411 -0.18698 0.872506 -0.488603 0 0.872506 -0.451411 0.18698 +0.872506 -0.345495 0.345495 0.872506 -0.18698 0.451411 0.872506 0 0.488603 +0.872506 0.18698 0.451411 0.872506 0.345495 0.345495 0.872506 0.451411 0.18698 +0.872506 0.488603 0 0.872506 0.451411 -0.18698 0.872506 0.345495 -0.345495 +0.872506 0.18698 -0.451411
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/notch1.vtkascii Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,33 @@ +# vtk DataFile Version 4.0 +vtk output +ASCII +DATASET POLYDATA +POINTS 24 float +-0.06 -0.015 -0.15 -0.06 -0.015 0.15 -0.06 0.015 0.15 +-0.06 0.015 -0.15 -0.03 -0.015 -0.15 -0.03 0.015 -0.15 +-0.03 0.015 0.15 -0.03 -0.015 0.15 -0.06 -0.015 -0.15 +-0.06 -0.015 -0.15 -0.06 -0.015 0.15 -0.06 -0.015 0.15 +-0.06 0.015 0.15 -0.06 0.015 0.15 -0.06 0.015 -0.15 +-0.06 0.015 -0.15 -0.03 -0.015 -0.15 -0.03 -0.015 -0.15 +-0.03 0.015 -0.15 -0.03 0.015 -0.15 -0.03 0.015 0.15 +-0.03 0.015 0.15 -0.03 -0.015 0.15 -0.03 -0.015 0.15 + +POLYGONS 6 30 +4 0 1 2 3 +4 4 5 6 7 +4 8 16 22 10 +4 14 12 20 18 +4 9 15 19 17 +4 11 23 21 13 + +POINT_DATA 24 +NORMALS Normals float +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 1 0 0 1 0 0 +1 0 0 1 0 0 0 -1 0 +0 0 -1 0 -1 0 0 0 1 +0 1 0 0 0 1 0 1 0 +0 0 -1 0 -1 0 0 0 -1 +0 1 0 0 0 -1 0 1 0 +0 0 1 0 -1 0 0 0 1 +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/notch2.vtkascii Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,33 @@ +# vtk DataFile Version 4.0 +vtk output +ASCII +DATASET POLYDATA +POINTS 24 float +-0.06 -0.15 0.015 -0.06 0.15 0.015 -0.06 0.15 -0.015 +-0.06 -0.15 -0.015 -0.03 -0.15 0.015 -0.03 -0.15 -0.015 +-0.03 0.15 -0.015 -0.03 0.15 0.015 -0.06 -0.15 0.015 +-0.06 -0.15 0.015 -0.06 0.15 0.015 -0.06 0.15 0.015 +-0.06 0.15 -0.015 -0.06 0.15 -0.015 -0.06 -0.15 -0.015 +-0.06 -0.15 -0.015 -0.03 -0.15 0.015 -0.03 -0.15 0.015 +-0.03 -0.15 -0.015 -0.03 -0.15 -0.015 -0.03 0.15 -0.015 +-0.03 0.15 -0.015 -0.03 0.15 0.015 -0.03 0.15 0.015 + +POLYGONS 6 30 +4 0 1 2 3 +4 4 5 6 7 +4 8 16 22 10 +4 14 12 20 18 +4 9 15 19 17 +4 11 23 21 13 + +POINT_DATA 24 +NORMALS Normals float +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 1 0 0 1 0 0 +1 0 0 1 0 0 0 0 1 +0 -1 0 0 0 1 0 1 0 +0 0 -1 0 1 0 0 0 -1 +0 -1 0 0 0 1 0 -1 0 +0 0 -1 0 -1 0 0 0 -1 +0 1 0 0 0 1 0 1 0 +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/philips_bolt.vtkascii Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,586 @@ +# vtk DataFile Version 4.0 +vtk output +ASCII +DATASET POLYDATA +POINTS 432 float +-0.06 -0.0362132 0.015 -0.06 -0.247016 0.015 -0.06 -0.23097 0.0956709 +-0.06 -0.015 0.015 -0.06 -0.176777 0.176777 -0.06 -0.015 0.0362132 +-0.06 -0.0956709 0.23097 -0.06 -0.015 0.247016 -0.06 0.015 0.0362132 +-0.06 0.015 0.247016 -0.06 0.0956709 0.23097 -0.06 0.015 0.015 +-0.06 0.176777 0.176777 -0.06 0.0362132 0.015 -0.06 0.23097 0.0956709 +-0.06 0.247016 0.015 -0.06 0 0.15 -0.06 -0.015 0.15 +-0.06 0 0.25 -0.06 0.015 0.15 -0.06 -0.015 -0.0362132 +-0.06 -0.015 -0.247016 -0.06 -0.0956709 -0.23097 -0.06 -0.015 -0.015 +-0.06 -0.176777 -0.176777 -0.06 -0.0362132 -0.015 -0.06 -0.23097 -0.0956709 +-0.06 -0.247016 -0.015 -0.06 0.0362132 -0.015 -0.06 0.247016 -0.015 +-0.06 0.23097 -0.0956709 -0.06 0.015 -0.015 -0.06 0.176777 -0.176777 +-0.06 0.015 -0.0362132 -0.06 0.0956709 -0.23097 -0.06 0.015 -0.247016 +-0.06 -0.015 -0.15 -0.06 0 -0.15 -0.06 0 -0.25 +-0.06 0.015 -0.15 -0.06 -0.15 0 -0.06 -0.15 -0.015 +-0.06 -0.25 0 -0.06 -0.15 0.015 -0.06 0.15 0 +-0.06 0.15 0.015 -0.06 0.25 0 -0.06 0.15 -0.015 +-0.03 -0.1 0 -0.03 -0.0970163 0.015 -0.03 -0.015 0.015 +-0.03 -0.015 -0.015 -0.03 -0.0970163 -0.015 -0.03 0 -0.1 +-0.03 -0.015 -0.0970163 -0.03 -0.015 0.0970163 -0.03 0 0.1 +-0.03 0.015 0.0970163 -0.03 0.015 -0.0970163 -0.03 0.015 -0.102984 +-0.03 0.015 -0.15 -0.03 -0.015 -0.15 -0.03 0.015 0.102984 +-0.03 -0.015 0.107935 -0.03 0.015 0.127981 -0.03 -0.015 0.15 +-0.03 0.015 0.15 -0.03 -0.102984 0.015 -0.03 -0.127981 0.015 +-0.03 -0.107935 -0.015 -0.03 -0.15 -0.015 -0.03 -0.15 0.015 +-0.03 0.015 0.015 -0.03 0.0970163 0.015 -0.03 0.1 0 +-0.03 0.0970163 -0.015 -0.03 0.015 -0.015 -0.03 0.102984 -0.015 +-0.03 0.107935 0.015 -0.03 0.127981 -0.015 -0.03 0.15 0.015 +-0.03 0.15 -0.015 -0.03 -0.015 -0.193445 -0.03 -0.07517 -0.181476 +-0.03 0 -0.196429 -0.03 -0.138896 -0.138896 -0.06 -0.015 0.0970163 +-0.06 -0.015 0.107935 -0.06 -0.015 -0.0970163 -0.06 0.015 0.0970163 +-0.06 0.015 0.127981 -0.06 0.015 0.102984 -0.06 0.015 -0.102984 +-0.06 0.015 -0.0970163 -0.03 -0.015 0.193445 -0.03 0 0.196429 +-0.03 0.011732 0.194095 -0.033103 0.015 0.198986 -0.03 0.015 0.193445 +-0.03 0.015 -0.193445 -0.03 0.145542 -0.12895 -0.03 0.138896 -0.138896 +-0.06 0.20132 -0.140045 -0.03 0.181476 -0.07517 -0.03 0.174831 -0.0851161 +-0.06 0.206427 -0.132403 -0.03 0.07517 -0.181476 -0.06 0.0433279 0.241382 +-0.03 0.07517 0.181476 -0.03 0.0851161 0.174831 -0.06 0.132403 0.206427 +-0.03 0.138896 0.138896 -0.03 0.145542 0.12895 -0.06 0.20132 0.140045 +-0.03 0.181476 0.07517 -0.03 0.18381 0.0634381 -0.06 0.239588 0.0523431 +-0.03 0.193445 0.015 -0.03 0.196429 0 -0.033103 0.198986 -0.015 +-0.06 0.241382 -0.0433279 -0.03 0.193445 -0.015 -0.03 0.194095 -0.011732 +-0.03 -0.181476 -0.07517 -0.03 -0.18381 -0.0634381 -0.06 -0.239588 -0.0523431 +-0.03 -0.193445 -0.015 -0.03 -0.196429 0 -0.033103 -0.198986 0.015 +-0.06 -0.241382 0.0433279 -0.03 -0.193445 0.015 -0.03 -0.181476 0.07517 +-0.03 -0.194095 0.011732 -0.03 -0.174831 0.0851161 -0.06 -0.206427 0.132403 +-0.03 -0.138896 0.138896 -0.03 -0.12895 0.145542 -0.06 -0.140045 0.20132 +-0.03 -0.07517 0.181476 -0.03 -0.0634381 0.18381 -0.06 -0.0523431 0.239588 +0.024 0 -0.1 1 0 -0.1 1 -0.0382683 -0.092388 +0.024 -0.0382683 -0.092388 0 0 -0.142857 0 -0.0546691 -0.131983 +0.024 -0.0382684 -0.092388 0 -0.101015 -0.101015 0.0139436 -0.083409 -0.083409 +0 -0.117282 -0.0766714 -0.0188606 -0.163099 -0.0675578 -0.0188603 0.12483 -0.12483 +0 0.0790133 -0.115717 0 0.0546691 -0.131983 0.0139436 0.0451406 -0.108979 +1 0 0 1 -0.0707107 -0.0707107 1 -0.092388 -0.0382683 +1 -0.1 0 1 -0.092388 0.0382683 1 -0.0707107 0.0707107 +1 -0.0382683 0.092388 1 0 0.1 1 0.0382683 0.092388 +1 0.0707107 0.0707107 1 0.092388 0.0382683 1 0.1 0 +1 0.092388 -0.0382683 1 0.0707107 -0.0707107 1 0.0382683 -0.092388 +0.0325255 -0.0707107 -0.0707107 0.0240001 -0.0707107 -0.0707107 0 -0.131983 -0.0546691 +0.0139435 -0.108979 -0.0451406 0 -0.137695 -0.0259534 -0.0188606 -0.176537 0 +0.0482786 -0.092388 -0.0382683 0.0325257 -0.092388 -0.0382683 0.024 -0.092388 -0.0382683 +0.024 -0.092388 -0.0382683 0 -0.142857 0 0.0139435 -0.117958 0 +0 -0.137145 0.0287157 -0.0188605 -0.163099 0.0675576 0.068861 -0.1 0 +0.0482787 -0.1 0 0.0325254 -0.1 0 0.024 -0.1 0 +0 -0.131983 0.0546691 0.0139436 -0.108979 0.0451406 0 -0.115717 0.0790133 +-0.0188603 -0.12483 0.12483 0.0911391 -0.092388 0.0382683 0.0688611 -0.092388 0.0382683 +0.0482784 -0.092388 0.0382683 0.0325254 -0.092388 0.0382683 0.024 -0.092388 0.0382683 +0.024 -0.092388 0.0382684 0 -0.101015 0.101015 0.0139436 -0.083409 0.083409 +0 -0.0766714 0.117282 -0.0188606 -0.0675578 0.163099 0.111722 -0.0707107 0.0707107 +0.0911393 -0.0707107 0.0707107 0.0688607 -0.0707107 0.0707107 0.0482785 -0.0707107 0.0707107 +0.0325255 -0.0707107 0.0707107 0.0240001 -0.0707107 0.0707107 0 -0.0546691 0.131983 +0.0139435 -0.0451406 0.108979 0 -0.0259534 0.137695 -0.0188606 0 0.176537 +0.127475 -0.0382683 0.092388 0.111722 -0.0382683 0.092388 0.0911389 -0.0382683 0.092388 +0.0688609 -0.0382683 0.092388 0.0482786 -0.0382683 0.092388 0.0325257 -0.0382683 0.092388 +0.024 -0.0382683 0.092388 0.024 -0.0382683 0.092388 0 0 0.142857 +0.0139435 0 0.117958 0 0.0287157 0.137145 -0.0188605 0.0675576 0.163099 +0.136 0 0.1 0.127475 0 0.1 0.111721 0 0.1 +0.091139 0 0.1 0.068861 0 0.1 0.0482787 0 0.1 +0.0325254 0 0.1 0.024 0 0.1 0 0.0546691 0.131983 +0.0139436 0.0451406 0.108979 0 0.0790133 0.115717 -0.0188603 0.12483 0.12483 +0.136 0.0382683 0.092388 0.127474 0.0382683 0.092388 0.111721 0.0382683 0.092388 +0.0911391 0.0382683 0.092388 0.0688611 0.0382683 0.092388 0.0482784 0.0382683 0.092388 +0.0325254 0.0382683 0.092388 0.024 0.0382683 0.092388 0.024 0.0382684 0.092388 +0 0.101015 0.101015 0.0139436 0.083409 0.083409 0 0.117282 0.0766714 +-0.0188606 0.163099 0.0675578 0.127474 0.0707107 0.0707107 0.131737 0.0544897 0.0815492 +0.111722 0.0707107 0.0707107 0.0911393 0.0707107 0.0707107 0.0688607 0.0707107 0.0707107 +0.0482785 0.0707107 0.0707107 0.0325255 0.0707107 0.0707107 0.0240001 0.0707107 0.0707107 +0 0.131983 0.0546691 0.0139435 0.108979 0.0451406 0 0.137695 0.0259534 +-0.0188606 0.176537 0 0.111721 0.092388 0.0382683 0.119598 0.0815493 0.0544896 +0.0911389 0.092388 0.0382683 0.0688609 0.092388 0.0382683 0.0482786 0.092388 0.0382683 +0.0325257 0.092388 0.0382683 0.024 0.092388 0.0382683 0.024 0.092388 0.0382683 +0 0.142857 0 0.0139435 0.117958 0 0 0.137145 -0.0287157 +-0.0188605 0.163099 -0.0675576 0.091139 0.1 0 0.10143 0.096194 0.0191341 +0.068861 0.1 0 0.0482787 0.1 0 0.0325254 0.1 0 +0.024 0.1 0 0 0.131983 -0.0546691 0.0139436 0.108979 -0.0451406 +0 0.115717 -0.0790133 0.0688609 0.092388 -0.0382683 0.08 0.096194 -0.0191341 +0.0482784 0.092388 -0.0382683 0.0325254 0.092388 -0.0382683 0.024 0.092388 -0.0382683 +0.024 0.092388 -0.0382684 0 0.101015 -0.101015 0.0139436 0.083409 -0.083409 +0.000804114 0.0770599 -0.115328 0.0482785 0.0707107 -0.0707107 0.0585696 0.0815493 -0.0544896 +0.0325255 0.0707107 -0.0707107 0.0240001 0.0707107 -0.0707107 0.0325254 0.0382683 -0.092388 +0.040402 0.0544896 -0.0815493 0.024 0.0382683 -0.092388 0.024 0.0382683 -0.092388 +0.0193861 0.0207107 -0.10412 0.0282627 0.0191342 -0.096194 -0.06 -0.247016 0.015 +-0.06 -0.247016 0.015 -0.06 -0.23097 0.0956709 -0.06 -0.015 0.015 +-0.06 -0.015 0.015 -0.06 -0.176777 0.176777 -0.06 -0.0956709 0.23097 +-0.06 -0.015 0.247016 -0.06 -0.015 0.247016 -0.06 0.015 0.247016 +-0.06 0.015 0.247016 -0.06 0.0956709 0.23097 -0.06 0.015 0.015 +-0.06 0.015 0.015 -0.06 0.176777 0.176777 -0.06 0.23097 0.0956709 +-0.06 0.247016 0.015 -0.06 0.247016 0.015 -0.06 -0.015 0.15 +-0.06 -0.015 0.15 -0.06 0 0.25 -0.06 0.015 0.15 +-0.06 0.015 0.15 -0.06 -0.015 -0.247016 -0.06 -0.015 -0.247016 +-0.06 -0.0956709 -0.23097 -0.06 -0.015 -0.015 -0.06 -0.015 -0.015 +-0.06 -0.176777 -0.176777 -0.06 -0.23097 -0.0956709 -0.06 -0.247016 -0.015 +-0.06 -0.247016 -0.015 -0.06 0.247016 -0.015 -0.06 0.247016 -0.015 +-0.06 0.23097 -0.0956709 -0.06 0.015 -0.015 -0.06 0.015 -0.015 +-0.06 0.176777 -0.176777 -0.06 0.0956709 -0.23097 -0.06 0.015 -0.247016 +-0.06 0.015 -0.247016 -0.06 -0.015 -0.15 -0.06 -0.015 -0.15 +-0.06 0 -0.25 -0.06 0.015 -0.15 -0.06 0.015 -0.15 +-0.06 -0.15 -0.015 -0.06 -0.15 -0.015 -0.06 -0.25 0 +-0.06 -0.15 0.015 -0.06 -0.15 0.015 -0.06 0.15 0.015 +-0.06 0.15 0.015 -0.06 0.25 0 -0.06 0.15 -0.015 +-0.06 0.15 -0.015 -0.03 -0.015 0.015 -0.03 -0.015 0.015 +-0.03 -0.015 -0.015 -0.03 -0.015 -0.015 -0.03 -0.0970163 -0.015 +-0.03 -0.015 -0.0970163 -0.03 -0.015 -0.0970163 -0.03 -0.015 0.0970163 +-0.03 -0.015 0.0970163 -0.03 0.015 0.0970163 -0.03 0.015 -0.0970163 +-0.03 0.015 -0.102984 -0.03 0.015 -0.102984 -0.03 0.015 -0.15 +-0.03 0.015 -0.15 -0.03 -0.015 -0.15 -0.03 -0.015 -0.15 +-0.03 0.015 0.102984 -0.03 0.015 0.102984 -0.03 -0.015 0.107935 +-0.03 0.015 0.127981 -0.03 -0.015 0.15 -0.03 -0.015 0.15 +-0.03 0.015 0.15 -0.03 0.015 0.15 -0.03 -0.102984 0.015 +-0.03 -0.15 -0.015 -0.03 -0.15 -0.015 -0.03 -0.15 0.015 +-0.03 -0.15 0.015 -0.03 0.015 0.015 -0.03 0.015 0.015 +-0.03 0.0970163 0.015 -0.03 0.015 -0.015 -0.03 0.015 -0.015 +-0.03 0.102984 -0.015 -0.03 0.15 0.015 -0.03 0.15 0.015 +-0.03 0.15 -0.015 -0.03 0.15 -0.015 -0.03 0 -0.196429 +0.024 0 -0.1 0.024 0 -0.1 0.024 0 -0.1 +1 0 -0.1 1 -0.0382683 -0.092388 0.0139436 0.0451406 -0.108979 +1 -0.0707107 -0.0707107 1 -0.092388 -0.0382683 1 -0.1 0 +1 -0.092388 0.0382683 1 -0.0707107 0.0707107 1 -0.0382683 0.092388 +1 0 0.1 1 0.0382683 0.092388 1 0.0707107 0.0707107 +1 0.092388 0.0382683 1 0.1 0 1 0.092388 -0.0382683 +1 0.0707107 -0.0707107 1 0.0382683 -0.092388 0.0240001 -0.0707107 -0.0707107 +0.024 -0.1 0 0.0240001 -0.0707107 0.0707107 0.024 0 0.1 +0.127474 0.0707107 0.0707107 0.0240001 0.0707107 0.0707107 0.111721 0.092388 0.0382683 +0.091139 0.1 0 0.024 0.1 0 0.0688609 0.092388 -0.0382683 +0.0482785 0.0707107 -0.0707107 0.0240001 0.0707107 -0.0707107 0.0325254 0.0382683 -0.092388 + +POLYGONS 287 1370 +3 0 1 2 +4 3 0 2 4 +4 5 3 4 6 +3 5 6 7 +3 8 9 10 +4 11 8 10 12 +4 13 11 12 14 +3 13 14 15 +4 16 17 309 18 +4 19 16 18 311 +3 20 21 22 +4 23 20 22 24 +4 25 23 24 26 +3 25 26 27 +3 28 29 30 +4 31 28 30 32 +4 33 31 32 34 +3 33 34 35 +4 36 37 38 325 +4 37 39 341 38 +4 40 41 332 42 +4 43 40 42 302 +4 44 45 318 46 +4 47 44 46 334 +5 48 49 50 51 52 +6 53 54 55 56 57 58 +3 53 58 59 +4 363 369 60 61 +3 56 62 57 +4 365 63 64 375 +4 63 65 66 64 +3 48 67 49 +4 68 383 362 69 +4 68 69 70 71 +5 72 73 74 75 76 +3 74 77 75 +4 390 78 79 393 +4 78 80 81 79 +4 326 82 83 327 +4 326 345 84 82 +4 305 358 386 351 +4 327 83 85 330 +4 314 353 394 388 +4 306 86 366 359 +4 86 87 377 366 +4 87 320 379 377 +4 88 364 373 343 +4 88 328 360 364 +4 384 361 329 348 +4 389 367 89 315 +4 378 381 323 90 +4 376 378 90 91 +4 367 376 91 89 +4 371 370 92 346 +4 368 391 337 93 +4 370 368 93 92 +4 392 396 356 338 +4 374 372 347 344 +4 94 95 322 310 +5 312 322 95 96 97 +3 97 96 98 +4 324 382 380 321 +4 342 99 84 345 +4 100 101 339 102 +4 336 103 104 105 +4 104 100 102 105 +4 357 397 395 354 +4 339 101 106 340 +4 342 340 106 99 +3 312 97 107 +5 97 98 108 313 107 +4 313 108 109 110 +4 109 111 316 110 +4 316 111 112 113 +4 112 114 317 113 +4 317 114 115 116 +4 115 117 319 116 +4 117 118 355 319 +3 335 119 120 +5 119 121 103 336 120 +5 335 355 118 122 119 +3 119 122 121 +4 330 85 123 331 +4 387 385 349 352 +4 331 123 124 125 +4 124 126 333 125 +4 126 127 350 333 +3 303 128 129 +5 128 130 131 304 129 +5 303 350 127 132 128 +3 128 132 130 +4 304 131 133 134 +4 133 135 307 134 +4 307 135 136 137 +4 136 138 308 137 +4 308 138 139 140 +4 139 94 310 140 +4 141 142 143 144 +4 398 145 146 83 +4 145 399 147 146 +4 83 146 148 85 +4 146 147 149 148 +5 85 148 150 151 123 +3 148 149 150 +3 123 151 124 +3 100 152 101 +5 101 152 153 154 106 +3 155 154 153 +4 106 154 145 398 +4 154 155 399 145 +3 156 403 402 +3 156 157 403 +3 156 158 157 +3 156 159 158 +3 156 160 159 +3 156 161 160 +3 156 162 161 +3 156 163 162 +3 156 164 163 +3 156 165 164 +3 156 166 165 +3 156 167 166 +3 156 168 167 +3 156 169 168 +3 156 170 169 +3 156 402 170 +4 144 143 405 171 +3 144 171 172 +3 147 419 149 +3 150 173 151 +5 149 419 174 173 150 +6 124 151 173 175 176 127 +3 173 174 175 +3 127 176 132 +4 171 405 406 177 +4 172 171 177 178 +3 172 178 179 +3 419 180 174 +3 175 181 176 +5 174 180 182 181 175 +6 132 176 181 183 184 131 +3 181 182 183 +3 131 184 133 +4 177 406 407 185 +4 178 177 185 186 +4 179 178 186 187 +3 179 187 188 +3 180 420 182 +3 183 189 184 +5 182 420 190 189 183 +6 133 184 189 191 192 135 +3 189 190 191 +3 135 192 136 +4 185 407 408 193 +4 186 185 193 194 +4 187 186 194 195 +4 188 187 195 196 +3 188 196 197 +3 420 198 190 +3 191 199 192 +5 190 198 200 199 191 +6 136 192 199 201 202 138 +3 199 200 201 +3 138 202 139 +4 193 408 409 203 +4 194 193 203 204 +4 195 194 204 205 +4 196 195 205 206 +4 197 196 206 207 +3 197 207 208 +3 198 421 200 +3 201 209 202 +5 200 421 210 209 201 +6 139 202 209 211 212 95 +3 209 210 211 +3 95 212 96 +4 203 409 410 213 +4 204 203 213 214 +4 205 204 214 215 +4 206 205 215 216 +4 207 206 216 217 +4 208 207 217 218 +3 208 218 219 +3 421 220 210 +3 211 221 212 +5 210 220 222 221 211 +6 96 212 221 223 224 108 +3 221 222 223 +3 108 224 109 +4 213 410 411 225 +4 214 213 225 226 +4 215 214 226 227 +4 216 215 227 228 +4 217 216 228 229 +4 218 217 229 230 +4 219 218 230 231 +3 219 231 232 +3 220 422 222 +3 223 233 224 +5 222 422 234 233 223 +6 109 224 233 235 236 111 +3 233 234 235 +3 111 236 112 +4 225 411 412 237 +3 226 225 237 +4 227 226 237 238 +4 228 227 238 239 +4 229 228 239 240 +4 230 229 240 241 +4 231 230 241 242 +4 232 231 242 243 +3 232 243 244 +3 422 245 234 +3 235 246 236 +5 234 245 247 246 235 +6 112 236 246 248 249 114 +3 246 247 248 +3 114 249 115 +4 237 412 413 250 +3 238 237 251 +4 239 238 251 423 +4 240 239 423 252 +4 241 240 252 253 +4 242 241 253 254 +4 243 242 254 255 +4 244 243 255 256 +3 244 256 257 +3 245 424 247 +3 248 258 249 +5 247 424 259 258 248 +6 115 249 258 260 261 118 +3 258 259 260 +3 118 261 122 +4 250 413 414 262 +3 252 423 263 +4 253 252 263 425 +4 254 253 425 264 +4 255 254 264 265 +4 256 255 265 266 +4 257 256 266 267 +3 257 267 268 +3 424 269 259 +3 260 270 261 +5 259 269 271 270 260 +6 122 261 270 272 273 103 +3 270 271 272 +3 103 273 104 +4 262 414 415 274 +3 264 425 275 +4 265 264 275 426 +4 266 265 426 276 +4 267 266 276 277 +4 268 267 277 278 +3 268 278 279 +3 269 427 271 +3 272 280 273 +5 271 427 281 280 272 +6 104 273 280 282 152 100 +3 280 281 282 +4 274 415 416 283 +3 276 426 284 +4 277 276 284 428 +4 278 277 428 285 +4 279 278 285 286 +3 279 286 287 +3 427 288 281 +3 282 289 152 +5 281 288 290 289 282 +3 152 289 153 +4 289 290 291 153 +4 283 416 417 292 +3 285 428 293 +4 286 285 293 429 +4 287 286 429 294 +3 287 294 295 +3 288 430 290 +4 290 430 404 291 +4 292 417 418 296 +3 294 429 297 +4 295 294 297 431 +3 295 431 298 +3 430 299 404 +3 404 299 300 +4 296 418 142 141 +3 298 431 301 +3 298 301 400 +3 299 401 300 + +POINT_DATA 432 +NORMALS Normals float +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 -1 0 0 -1 0 0 +-1 0 0 0.868414 -0.0967328 -0.486312 0.872506 -0.186979 -0.451411 +0.872506 0 -0.488603 0.872506 -0.345494 -0.345494 0 1 0 +0 1 0 0 1 0 0 -1 0 +0 -1 0 0 -1 0 0 -1 0 +0 -1 0 0.868414 -0.0967328 0.486312 0.872506 -7.48569e-08 0.488603 +0.868414 0.0967328 0.486312 0.868414 0.0967329 0.486312 0.868414 0.096733 0.486312 +0.868414 0.0967328 -0.486312 0.868414 0.412276 -0.275472 0.872506 0.345494 -0.345494 +0.868414 0.412276 -0.275472 0.872506 0.451411 -0.186979 0.868414 0.412276 -0.275472 +0.868414 0.412276 -0.275472 0.872506 0.186979 -0.451411 0.868414 0.0967329 0.486312 +0.872506 0.186979 0.451411 0.868414 0.275472 0.412276 0.868414 0.275472 0.412276 +0.872506 0.345494 0.345494 0.868414 0.412276 0.275472 0.868414 0.412276 0.275472 +0.872506 0.451411 0.186979 0.868414 0.486312 0.0967329 0.868414 0.486312 0.0967329 +0.868414 0.486312 0.0967328 0.872506 0.488603 7.48569e-08 0.868414 0.486312 -0.0967329 +0.868414 0.486312 -0.0967329 0.868414 0.486312 -0.096733 0.868414 0.486312 -0.0967328 +0.872506 -0.451411 -0.186979 0.868414 -0.486312 -0.0967329 0.868414 -0.486312 -0.0967329 +0.868414 -0.486312 -0.0967328 0.872506 -0.488603 -7.48569e-08 0.868414 -0.486312 0.0967329 +0.868414 -0.486312 0.0967329 0.868414 -0.486312 0.096733 0.872506 -0.451411 0.186979 +0.868414 -0.486312 0.0967328 0.868414 -0.412276 0.275472 0.868414 -0.412276 0.275472 +0.872506 -0.345494 0.345494 0.868414 -0.275472 0.412276 0.868414 -0.275472 0.412276 +0.872506 -0.186979 0.451411 0.868414 -0.0967329 0.486312 0.868414 -0.0967329 0.486312 +0 0 -1 0 0 -1 0 -0.382683 -0.92388 +0 -0.442967 -0.896538 0.872506 5.61426e-09 -0.488603 0.872506 -0.186979 -0.451411 +0.872049 -0.216796 -0.438783 0.872506 -0.345494 -0.345494 0.872506 -0.345494 -0.345494 +0.868414 -0.412276 -0.275472 0.872506 -0.451411 -0.186979 0.872342 0.359171 -0.331687 +0.868414 0.275472 -0.412276 0.872506 0.186979 -0.451411 0.872506 0.186979 -0.451411 +1 0 0 1 0 0 1 0 0 +1 0 0 1 0 0 1 0 0 +1 0 0 1 0 0 1 0 0 +1 0 0 1 0 0 1 0 0 +1 0 0 1 0 0 1 0 0 +0 -0.707107 -0.707107 0 -0.752339 -0.658776 0.872506 -0.451411 -0.186979 +0.872506 -0.451411 -0.186979 0.868414 -0.486312 -0.0967329 0.872506 -0.488603 -1.27257e-07 +0 -0.92388 -0.382683 0 -0.92388 -0.382683 0 -0.947174 -0.320722 +0.872049 -0.463565 -0.156967 0.872506 -0.488603 -2.61999e-08 0.872506 -0.488603 2.80713e-08 +0.868414 -0.486312 0.0967329 0.872506 -0.451411 0.186979 0 -1 0 +0 -1 0 0 -1 0 0 -0.997809 0.0661586 +0.872506 -0.451411 0.186979 0.872506 -0.451411 0.186979 0.868414 -0.412276 0.275472 +0.872506 -0.345494 0.345494 0 -0.92388 0.382683 0 -0.92388 0.382683 +0 -0.92388 0.382683 0 -0.92388 0.382683 0 -0.896538 0.442967 +0.872049 -0.438783 0.216796 0.872506 -0.345494 0.345494 0.872506 -0.345494 0.345494 +0.868415 -0.275472 0.412276 0.872506 -0.186979 0.451411 0 -0.707107 0.707107 +0 -0.707107 0.707107 0 -0.707107 0.707107 0 -0.707107 0.707107 +0 -0.707107 0.707107 0 -0.658776 0.752339 0.872506 -0.186979 0.451411 +0.872506 -0.186979 0.451411 0.868414 -0.0967329 0.486312 0.872506 -1.27257e-07 0.488603 +0 -0.382683 0.92388 0 -0.382683 0.92388 0 -0.382683 0.92388 +0 -0.382683 0.92388 0 -0.382683 0.92388 0 -0.382683 0.92388 +0 -0.320722 0.947174 0.872049 -0.156967 0.463565 0.872506 -2.61999e-08 0.488603 +0.872506 2.80713e-08 0.488603 0.868414 0.0967329 0.486312 0.872506 0.186979 0.451411 +0 0 1 0 0 1 0 0 1 +0 0 1 0 0 1 0 0 1 +0 0 1 0 0.0661586 0.997809 0.872506 0.186979 0.451411 +0.872506 0.186979 0.451411 0.868414 0.275472 0.412276 0.872506 0.345494 0.345494 +0 0.345655 0.938362 1.01376e-08 0.382683 0.92388 1.01376e-08 0.382683 0.92388 +0 0.382683 0.92388 0 0.382683 0.92388 0 0.382683 0.92388 +0 0.382683 0.92388 0 0.442967 0.896538 0.872049 0.216796 0.438783 +0.872506 0.345494 0.345494 0.872506 0.345494 0.345494 0.868415 0.412276 0.275472 +0.872506 0.451411 0.186979 0 0.707107 0.707107 1.98857e-08 0.55557 0.83147 +7.88486e-09 0.707107 0.707107 7.88486e-09 0.707107 0.707107 0 0.707107 0.707107 +0 0.707107 0.707107 0 0.707107 0.707107 0 0.752339 0.658776 +0.872506 0.451411 0.186979 0.872506 0.451411 0.186979 0.868414 0.486312 0.0967329 +0.872506 0.488603 1.27257e-07 0 0.92388 0.382683 1.54667e-08 0.83147 0.55557 +2.21291e-08 0.92388 0.382683 2.21291e-08 0.92388 0.382683 0 0.92388 0.382683 +0 0.92388 0.382683 0 0.947174 0.320722 0.872049 0.463565 0.156967 +0.872506 0.488603 2.61999e-08 0.872506 0.488603 -2.80713e-08 0.868414 0.486312 -0.0967329 +0.872506 0.451411 -0.186979 0 1 0 4.34078e-08 0.980785 0.195089 +2.85606e-08 1 -4.55793e-08 2.85606e-08 1 0 0 1 0 +0 0.997809 -0.0661586 0.872506 0.451411 -0.186979 0.872506 0.451411 -0.186979 +0.868414 0.412276 -0.275472 0 0.92388 -0.382683 5.60236e-08 0.980785 -0.19509 +9.0283e-09 0.92388 -0.382683 9.0283e-09 0.92388 -0.382683 0 0.896538 -0.442967 +0.872049 0.438783 -0.216796 0.872506 0.345494 -0.345494 0.872506 0.345494 -0.345494 +0.868414 0.275472 -0.412276 0 0.707107 -0.707107 1.77096e-08 0.83147 -0.55557 +1.36809e-08 0.707107 -0.707107 1.82012e-08 0.658776 -0.752339 0 0.382683 -0.92388 +2.6836e-08 0.55557 -0.83147 1.18799e-07 0.320722 -0.947174 0.872049 0.156967 -0.463565 +0.868414 0.0967329 -0.486312 1.75158e-07 0.195089 -0.980785 -1 0 0 +0.868414 -0.486312 0.0967328 0.872506 -0.451411 0.186979 0 0 -1 +0 1 0 0.872506 -0.345494 0.345494 0.872506 -0.186979 0.451411 +-1 0 0 0.868414 -0.0967328 0.486312 -1 0 0 +0.868414 0.0967328 0.486312 0.872506 0.186979 0.451411 0 0 -1 +0 -1 0 0.872506 0.345494 0.345494 0.872506 0.451411 0.186979 +-1 0 0 0.868414 0.486312 0.0967328 0 1 0 +0 0 -1 0.872506 1.87142e-08 0.488603 0 -1 0 +0 0 -1 -1 0 0 0.868414 -0.0967328 -0.486312 +0.872506 -0.186979 -0.451411 0 1 0 0 0 1 +0.872506 -0.345494 -0.345494 0.872506 -0.451411 -0.186979 -1 0 0 +0.868414 -0.486312 -0.0967328 -1 0 0 0.868414 0.486312 -0.0967328 +0.872506 0.451411 -0.186979 0 -1 0 0 0 1 +0.872506 0.345494 -0.345494 0.872506 0.186979 -0.451411 -1 0 0 +0.868414 0.0967328 -0.486312 0 1 0 0 0 1 +0.872506 0 -0.488603 0 -1 0 0 0 1 +0 0 1 0 1 0 0.872506 -0.488603 1.87142e-08 +0 0 -1 0 1 0 0 0 -1 +0 -1 0 0.872506 0.488603 -1.87142e-08 0 0 1 +0 -1 0 0 0 -1 0 1 0 +0 1 0 0 0 1 -1 0 0 +-1 0 0 0 1 0 -1 0 0 +0 1 0 0 -1 0 0 -1 0 +-1 0 0 0 -1 0 0 -1 0 +0 0 1 0 1 0 0 0 1 +-1 0 0 0 -1 0 0 1 0 +0 -1 0 0 1 0 0 0 -1 +0 -1 0 0 0 -1 -1 0 0 +0 0 1 0 1 0 0 0 -1 +0 1 0 0 0 -1 0 -1 0 +-1 0 0 0 -1 0 0 0 1 +-1 0 0 0 0 -1 0 -1 0 +0 0 1 0 -1 0 0.872506 0 -0.488603 +0.872506 1.12285e-08 -0.488603 3.50317e-07 0.195089 -0.980785 0.868414 0.0967328 -0.486312 +1 0 0 1 0 0 0.872049 0.216796 -0.438783 +0 -0.707107 -0.707107 0 -0.92388 -0.382683 0 -1 0 +0 -0.92388 0.382683 0 -0.707107 0.707107 0 -0.382683 0.92388 +0 0 1 0 0.382683 0.92388 0 0.707107 0.707107 +0 0.92388 0.382683 0 1 0 0 0.92388 -0.382683 +0 0.707107 -0.707107 0 0.382683 -0.92388 0.872049 -0.368209 -0.322417 +0.872048 -0.488347 0.0323792 0.872049 -0.322417 0.368209 0.872048 0.0323792 0.488347 +1.34872e-08 0.658776 0.752339 0.872049 0.368209 0.322417 1.04901e-08 0.896538 0.442967 +2.94408e-08 0.997809 0.0661585 0.872048 0.488347 -0.0323792 3.79973e-08 0.947174 -0.320722 +1.20114e-08 0.752339 -0.658776 0.872049 0.322417 -0.368209 1.82012e-08 0.442967 -0.896538 +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/shaft.vtkascii Tue Aug 23 14:59:12 2016 -0400 @@ -0,0 +1,103 @@ +# vtk DataFile Version 4.0 +vtk output +ASCII +DATASET POLYDATA +POINTS 66 float +0 0 0 0 0 -0.1 0 -0.0382683 -0.092388 +1 0 -0.1 1 -0.0382683 -0.092388 1 0 0 +0 -0.0707107 -0.0707107 1 -0.0707107 -0.0707107 0 -0.092388 -0.0382683 +1 -0.092388 -0.0382683 0 -0.1 0 1 -0.1 0 +0 -0.092388 0.0382683 1 -0.092388 0.0382683 0 -0.0707107 0.0707107 +1 -0.0707107 0.0707107 0 -0.0382683 0.092388 1 -0.0382683 0.092388 +0 0 0.1 1 0 0.1 0 0.0382683 0.092388 +1 0.0382683 0.092388 0 0.0707107 0.0707107 1 0.0707107 0.0707107 +0 0.092388 0.0382683 1 0.092388 0.0382683 0 0.1 0 +1 0.1 0 0 0.092388 -0.0382683 1 0.092388 -0.0382683 +0 0.0707107 -0.0707107 1 0.0707107 -0.0707107 0 0.0382683 -0.092388 +1 0.0382683 -0.092388 0 0 -0.1 0 -0.0382683 -0.092388 +1 0 -0.1 1 -0.0382683 -0.092388 0 -0.0707107 -0.0707107 +1 -0.0707107 -0.0707107 0 -0.092388 -0.0382683 1 -0.092388 -0.0382683 +0 -0.1 0 1 -0.1 0 0 -0.092388 0.0382683 +1 -0.092388 0.0382683 0 -0.0707107 0.0707107 1 -0.0707107 0.0707107 +0 -0.0382683 0.092388 1 -0.0382683 0.092388 0 0 0.1 +1 0 0.1 0 0.0382683 0.092388 1 0.0382683 0.092388 +0 0.0707107 0.0707107 1 0.0707107 0.0707107 0 0.092388 0.0382683 +1 0.092388 0.0382683 0 0.1 0 1 0.1 0 +0 0.092388 -0.0382683 1 0.092388 -0.0382683 0 0.0707107 -0.0707107 +1 0.0707107 -0.0707107 0 0.0382683 -0.092388 1 0.0382683 -0.092388 + +POLYGONS 48 208 +3 0 1 2 +4 35 34 3 4 +3 5 37 36 +3 0 2 6 +4 38 35 4 7 +3 5 39 37 +3 0 6 8 +4 40 38 7 9 +3 5 41 39 +3 0 8 10 +4 42 40 9 11 +3 5 43 41 +3 0 10 12 +4 44 42 11 13 +3 5 45 43 +3 0 12 14 +4 46 44 13 15 +3 5 47 45 +3 0 14 16 +4 48 46 15 17 +3 5 49 47 +3 0 16 18 +4 50 48 17 19 +3 5 51 49 +3 0 18 20 +4 52 50 19 21 +3 5 53 51 +3 0 20 22 +4 54 52 21 23 +3 5 55 53 +3 0 22 24 +4 56 54 23 25 +3 5 57 55 +3 0 24 26 +4 58 56 25 27 +3 5 59 57 +3 0 26 28 +4 60 58 27 29 +3 5 61 59 +3 0 28 30 +4 62 60 29 31 +3 5 63 61 +3 0 30 32 +4 64 62 31 33 +3 5 65 63 +3 0 32 1 +4 34 64 33 3 +3 5 36 65 + +POINT_DATA 66 +NORMALS Normals float +-1 0 0 -1 0 0 -1 0 0 +0 0 -1 0 -0.382683 -0.92388 1 0 0 +-1 0 0 0 -0.707107 -0.707107 -1 0 0 +0 -0.92388 -0.382683 -1 0 0 0 -1 0 +-1 0 0 0 -0.92388 0.382683 -1 0 0 +0 -0.707107 0.707107 -1 0 0 0 -0.382683 0.92388 +-1 0 0 0 0 1 -1 0 0 +0 0.382683 0.92388 -1 0 0 0 0.707107 0.707107 +-1 0 0 0 0.92388 0.382683 -1 0 0 +0 1 0 -1 0 0 0 0.92388 -0.382683 +-1 0 0 0 0.707107 -0.707107 -1 0 0 +0 0.382683 -0.92388 0 0 -1 0 -0.382683 -0.92388 +1 0 0 1 0 0 0 -0.707107 -0.707107 +1 0 0 0 -0.92388 -0.382683 1 0 0 +0 -1 0 1 0 0 0 -0.92388 0.382683 +1 0 0 0 -0.707107 0.707107 1 0 0 +0 -0.382683 0.92388 1 0 0 0 0 1 +1 0 0 0 0.382683 0.92388 1 0 0 +0 0.707107 0.707107 1 0 0 0 0.92388 0.382683 +1 0 0 0 1 0 1 0 0 +0 0.92388 -0.382683 1 0 0 0 0.707107 -0.707107 +1 0 0 0 0.382683 -0.92388 1 0 0 +