Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Disclaimer
Information of a technical nature, and particulars of the product and its use, is given by AVEVA
Solutions Ltd and its subsidiaries without warranty. AVEVA Solutions Ltd and its subsidiaries disclaim
any and all warranties and conditions, expressed or implied, to the fullest extent permitted by law.
Neither the author nor AVEVA Solutions Ltd, or any of its subsidiaries, shall be liable to any person or
entity for any actions, claims, loss or damage arising from the use or possession of any information,
particulars, or errors in this publication, or any incorrect use of the product, whatsoever.
Copyright
Copyright and all other intellectual property rights in this manual and the associated software, and every
part of it (including source code, object code, any data contained in it, the manual and any other
documentation supplied with it) belongs to AVEVA Solutions Ltd or its subsidiaries.
All other rights are reserved to AVEVA Solutions Ltd and its subsidiaries. The information contained in
this document is commercially sensitive, and shall not be copied, reproduced, stored in a retrieval
system, or transmitted without the prior written permission of AVEVA Solutions Ltd. Where such
permission is granted, it expressly requires that this Disclaimer and Copyright notice is prominently
displayed at the beginning of every copy that is made.
The manual and associated documentation may not be adapted, reproduced, or copied, in any material
or electronic form, without the prior written permission of AVEVA Solutions Ltd. The user may also not
reverse engineer, decompile, copy, or adapt the associated software. Neither the whole, nor part of the
product described in this publication may be incorporated into any third-party software, product,
machine, or system without the prior written permission of AVEVA Solutions Ltd, save as permitted by
law. Any such unauthorised action is strictly prohibited, and may give rise to civil liabilities and criminal
prosecution.
The AVEVA products described in this guide are to be installed and operated strictly in accordance with
the terms and conditions of the respective license agreements, and in accordance with the relevant
User Documentation. Unauthorised or unlicensed use of the product is strictly prohibited.
First published September 2007
AVEVA Solutions Ltd, and its subsidiaries
AVEVA Solutions Ltd, High Cross, Madingley Road, Cambridge, CB3 0HB, United Kingdom
Trademarks
AVEVA and Tribon are registered trademarks of AVEVA Solutions Ltd or its subsidiaries. Unauthorised
use of the AVEVA or Tribon trademarks is strictly forbidden.
AVEVA product names are trademarks or registered trademarks of AVEVA Solutions Ltd or its
subsidiaries, registered in the UK, Europe and other countries (worldwide).
The copyright, trade mark rights, or other intellectual property rights in any other product, its name or
logo belongs to its respective owner.
Contents
Page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:1
1.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7:1
Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8:1
Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9:1
System Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9:1
Licensing Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9:1
Parameter Setting Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9:1
File Access Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9:2
Data Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9:2
Data Processing Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9:2
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10:1
ii
1.3
Introduction
STL format provides an approximation of a curved surface model, with accuracy and level of
detail controlled through a tolerance setting. ImPlant - STL maps this format onto AVEVA 3D
primitives. Hence a 100% accurate translation of the source model into PDMS or Outfitting
geometry cannot be guaranteed.
1.1
General
AVEVA ImPlant - STL is a standalone program for translating stereolithography (STL) files,
that have been generated from non-AVEVA Mechanical CAD systems, into macro files that
can be input to AVEVA PDMS or AVEVA Marine Outfitting.
ImPlant - STL is available for the Windows XP platform.
To operate, AVEVA software must be able to access the correct Flexman 4.1 license file,
which should be installed on either the Server, on your workstation, or on a networked
workstation.
Note: Although the disk may contain several AVEVA products, you will only be able to use
the items that are licensed to you.
1.2
1.3
1:1
1.3
1.4
1.4.1
1.5
STL Input
Macro Output
Reports
explains Reports.
Error Messages
Limitations
1:2
1.3
2.1
Basic Installation
AVEVA ImPlant - STL is supplied on DVD or CD. The disk contains the installer, and an
installable version of Microsoft's .NET 2.0. Also on the disk is a folder containing the
Installation instructions and user documentation, and it is recommended that you carefully
read all of the Installation instructions before installing the software.
To install ImPlant - STL first insert the disk in your Workstation's DVD drive, click for
Contents, then select a product, and then follow the Installer instructions.
If the disk does not start, click Start > Run, and then browse for the Start.htm file.
During the installation sequence, follow the on-screen instructions as they appear. You will
be given a choice between two levels of installation:
Standard installation
Installs all available product components in the default location.
Advanced installation
Presents you with a list of all available product components from which you can select those
to be installed, and allows you to choose the Installation folder.
It is recommended that you use the default settings for folder paths etc. unless you have
good reasons for doing otherwise.
Note that the default installation disk is the largest disk, and this is not always appropriate.
This can be checked an changed by clicking the Advanced button on the installer.
The process needs at least 4Mb of free disk space for a full installation of all options.
When the process is complete, select Start > All Programs > AVEVA > AVEVA ImpLANTSTL xxx to reach the program and this documentation.
Note: If the installer detects an existing ImPlant - STL installation, it will display a set of
options for modifying/repairing/removing these existing files in place of the standard
installation options.
2.2
2.3
2:1
1.3
Installation and Configuration Guide. News and update information is also available for
Flexman on the AVEVA support web-site.
2.4
2.5
Electronic Manuals
Electronic versions of the ImPlant - STL Manuals are available on the CD-ROM/DVD as
.pdf files. In order to display these Manuals you must have the Adobe Acrobat Reader
software installed on your PC. This software is also included on the CD-ROM/DVD.
Installing this software will enable you to view and print the ImPlant - STL Manuals.
2:2
1.3
3.1
General
The following test procedure should be carried out after installing AVEVA ImPlant - STL to
make sure that the installation is complete and correct. The test material is stored in the
subdirectory test. This comprises a single .stl file called slide_gate1.stl.
3.2
STEP 2
On the User Interface enter or select, using the browser, the name of the test
STL file - typically:
C:\AVEVA\ImPLANT-STLxxx\test\slide_gate1.stl
STEP 3
STEP 4
On the User Interface, click on the Create button to start the translation
process. If the installation has been successful the following message will
appear in the box at the bottom of the form:
AVEVA ImPLANT-STL REPORT
-----------------------Date of run: Mon Jun 02 23:17:08 2008
Input StereoLithography Binary file: C:\AVEVA\ImPLANTSTLxxx\Test\slide_gate1.stl
Output PDMS macro : C:\AVEVA\ImPLANTSTLxxx\Test\slide_gate1.mac
Solid polyhedra are created
3:1
1.3
Primitives Processed
-------------------Number of faces read is 5380
Number of primitives recognised is 40
Number of Solid Shells is 15
Number of Boxes is 2
Number of Extrusions is 14
Number of Cylinders is 9
This will create a DESIGN macro file called slide_gate1.mac in the test directory (if this
directory is writable - if it is not you can choose another output location).
STEP 5
3:2
1.3
4.1
Translation Process
Within the STL format all objects are represented by triangles, the triangle being the shape
with the minimum number of sides that can be used to represent a three-dimensional object.
Unfortunately, reducing a shape to triangles increases the quantity of electronic data
necessary to define the shape. For example, a square drawn in a CAD system is defined by
its four corners or vertices. The same square in STL format is represented by two triangles,
each triangle having three vertices, totalling six vertices, representing a 50% increase in
data needed to define the square.
Figure 4:1.
Taking this analogy a step further, a cube within a CAD system is defined by its eight
vertices. The surface of the same cube in STL format is represented by 12 triangles, two for
each of the six faces of the cube, each triangle having three vertices, totalling 36 vertices.
This represents a 450% increase in data needed to define the cube.
Shapes within a CAD system more complex than a cube result in even greater data
increase factors. It can therefore be seen that STL files can be very large in terms of data
volume or file size. This has two main effects:
Large STL files may take several hours to map into DESIGN.
Highly detailed models in PDMS/Outfitting may drag down the performance of the
computer and will be slow to manipulate.
It is very important that the detail in the source CAD file used to generate the STL file and
the amount of detail required in the PDMS/Outfitting Model should be considered very
carefully.
4:1
1.3
It is impossible to give any definite instructions as to what should be done as there are too
many possible combinations of source CAD systems and PDMS/Outfitting DESIGN model
uses to define parameters for. The most suitable combination of parameters and settings is
best determined by trial and error, however, the following guidelines may be useful:
4.2
The ability of ImPlant - STL to recognise and map triangular facet groups to PDMS
primitives.
It is a good working practice to minimise the amount of data that needs to be translated; this
can be done by applying the following guidelines:
4.3
Remove all non-essential aspects of the source model, eg in the case of a gearbox,
export the gearbox casing but not the gearbox internals.
Use an appropriate tolerance setting when exporting to the STL file. It is impossible to
stipulate an exact tolerance setting since this depends very much upon your
requirements for the DESIGN model. The looser the tolerance factor setting the less
accurate will be the resultant model and vice versa. The recommended approach is to
start with a loose tolerance setting, inspect the resultant model, and re-import all or
part of the model at a tighter tolerance setting, as necessary.
4:2
1.3
recommended that source models are healed in their originating Mechanical CAD System
prior to the data being exported in STL format. Where the Mechanical CAD System does not
have this facility, another application such as CADfix may be used to provide the healing
function and to carry out the export to STL format.
The STL format is an approximation of a curved surface model, the accuracy and level of
detail of which may be controlled through tolerance setting. A balance must be struck
between too great and too low tolerance settings. This can be done by reviewing and where
necessary improving the model created.
4.4
Too great a tolerance setting may result in errors in the STL file.
Too low a tolerance setting may result in the STL translation operation failing, eg where
holes are located close to the edge of a solid.
4.5
verify that the level of detail in the model is sufficient for your purposes
If the model is generated through ImPlant - STL with a loose tolerance setting, the model
needs to be checked visually to locate errors due to failings in the STL export process.
Identified problem areas can then be re-exported at a higher tolerance setting. If this does
not correct the errors or there is geometry missing from the model, then there may be faults
with the source model. In this case check that the source model has been healed prior to
export.
4:3
1.3
If the model is visually acceptable but is slow to manipulate it should be checked to see if
there are any areas where geometry can be remodelled more efficiently using fewer
primitives. Viewing the model in wireline mode will effectively display areas that are densely
packed with POHE primitives, ie areas where it has not been possible for ImPlant - STL to
generate a more efficient representation based on primitives.
4.6
Figure 4:2.
Figure 4:3.
4:4
1.3
Figure 4:4.
Figure 4:5.
Figures 4-6 to 4-8 are examples of a Model generated from a CATIA source file.
4:5
1.3
Figure 4:6.
Figure 4:7.
4:6
1.3
Figure 4:8.
4:7
1.3
4:8
1.3
5.1
Modes of Operation
ImPlant - STL has two modes of operation:
interactive mode
batch mode
In the interactive mode you input your requirements to the ImPlant - STL program via the
user interface.
In the batch mode you input your requirements to the ImPlant - STL program via a batch
(.bat) file.
The normal mode of operation is the interactive mode.
5.2
Figure 5:1.
The default ImPlant - STL dialog box is shown in Figure 5-1 and comprises the following
sections/fields and buttons:
5:1
1.3
Default locations
checkbox
If checked, the locations of the macro file and the Report File will
automatically be set to being at the same location as the input STL
File. Note the when this option is checked, the user is no longer
allowed to select or modify Locations for either the Macro or
Report files manually.
Default filenames
checkbox
If checked, the filenames of the Macro file and the Report file will
automatically become the same as the input STL file but with .mac
and .log extensions, respectively. Note the when this option is
checked, the user is no longer allowed to select or modify
Filenames for either the Macro or Report files manually.
this field is used to specify the full path and filename of the
STL file to be translated.
STL Mode
this field is used to specify the format of the STL file, ASCII
or Binary. ASCII is the default value of this field.
Destination Section
PDMS Macro File
Report File
The Input File, PDMS Macro File and Report File sections also contain browser buttons
(
). This is to enable you to browse and select file locations and names. This
may be a simpler way to specify a particular location and filename where the full path and
filename is a complex string.
this field is used to set how the ImPlant - STL program deals
with holes. The options are:
On
the default value for this field. Where the program finds holes
in objects in the STL file, corresponding negative primitives
(holes) are generated in the MAC file.
Off
5:2
1.3
<Diameter>
Scale factor
Note: Within the ImPlant - STL program there is no concept of units. During the
translation process the ImPlant - STL program maintains the physical
relationships of objects in the STL file, resultant primitives in the MAC file are
therefore of the same relative size. If the units used in the originating program,
from which the STL file was generated, are known, the Scale factor field can be
used to scale up or down the resultant MAC file objects to suit the DESIGN
project units.
Create button
Exit button
Output Summary
This is the area to the right of the setup window and is used
for displaying messages and status reports when translating
a file
More >>
5:3
1.3
5.2.1
Figure 5:2.
When More >> is selected, additional fields become available to the user in the PDMS
Model section:
Min. sides per cylinder
Compressed Geometry
On
the default value for this field. With this option selected the
program combines coplanar faces with shared edges into
bigger faces. It also maps geometric solids into PDMS
primitives. This option produces the smallest resultant MAC
file.
5:4
1.3
Off
Wrapper
On
Off
the default value for this field. With this option selected the
program does not perform the wrapping operation.
Solid polyhedron
On
Off
With this option selected the program does not create solid
polyhedra but maps these parts to POHE/POGO.
Edge visibility
This field is used to set the mode by which the program can
set edges to be visible or invisible. The options are:
On
The default value for this field. With this option selected the
program sets all edges to be visible.
Off
Angle >
With this option selected you can set an angle by which the
program computes if an edge will become visible or
invisible. The default value is set to 60 degrees. If the angle
is greater than the angle between the normals of the two
faces that share an edge then the edge becomes invisible
otherwise it will become visible.
On
5:5
1.3
5.3
Off
<< Less
Interactive Mode
The following procedure represents the minimum interaction that is required in order to
generate a macro file from an STL file.
STEP 1
STEP 2
Enter or select, using the browser, the name of the STL file to be translated.
STEP 3
STEP 4
STEP 5
Repeat STEPS 2 to 4 for each STL file that is to be translated. Click the Exit
button to terminate the ImPlant - STL program.
The above procedure will create one or more macro files suitable for input to DESIGN. Each
of the macro files will by default have the same root name as the associated originating STL
file, with the extension of .mac.
In addition, there will be also be a report file (log) created for each translation file operation.
Each of the report files will by default have the same root name as the associated originating
STL file, with the extension of .log.
All file names are validated by the ImPlant - STL program prior to the translation operation
starting. You can rename the macro files and report files using Windows Explorer.
5.4
Batch Mode
ImPlant - STL may be run from a command window, or from a batch file - allowing multiple
STL files to be translated into macro files in the background.
In order to run ImPlant - STL from a batch file it is first necessary to create a batch (.bat) file
containing the instructions to initiate the ImPlant - STL program and also the options to
apply to the program. The options available are described in more detail in ImPlant - STL
User Interface.
The format of the batch file is shown below:
ImPLANT-STL.exe <stl_filename> [-b] [-o <output_filename>] -r <report_filename>]
[-w] [-t] [-h holes_diameter>] [-c <cylinder_sides>] [-s <scale_factor>] [-spoff]
[-i <invisibility_angle>] [-volm] [-?]
where:
<stl_filename>
5:6
1.3
The options to be applied are included in the batch file in the form of command line
switches, where:
-b
indicates that the input STL file is a binary file. If this switch
is not used the program uses the default value, in this case
ASCII.
-o <output_filename>
-r <report_filename>
-w
-t
-h <holes_diameter>
-c <cylinder_sides>
-s <scale_factor>
-spoff
-i <invisibility_angle>
-volm
-dpdms113
-d <directory_path>
-?
Help
5:7
1.3
Several STL input files may be processed at once if you create a batch file with a series of
ImPlant - STL commands, or use the -d option.
5.5
Start up DESIGN and make sure that the database is at the appropriate
ZONE level.
STEP 2
Large MAC files should be read into DESIGN by entering DESIGN in 'dev tty' mode and
entering the command 'trace off' before the read command.
Reading in the macro may take some time, especially with large files.
5:8
1.3
STL Input
6.1
6:1
1.3
Figure 6:1.
The method of production of the STL files is an important factor in minimising the volume of
data that needs to be transferred. Applying the following factors will help to reduce the
volume of data:
6.2
All curved parts are approximated as planar faces (triangles) in the process of being
exported to the STL file. All STL translator programs offer an approximation/tolerance
factor to achieve this. It is very important to control the number of triangles produced,
keeping these to the minimum to produce an acceptable model in DESIGN.
All parts of the model that are not essential should be excluded from the transfer, in
particular any internal parts that will not be used in PDMS.
Many features, such as chamfers, are not needed in PDMS and these also should be
excluded from the transfer.
6:2
1.3
Macro Output
7.1
General
The data output from ImPlant - STL is presented in the form of a macro file that can be read
into DESIGN in order to create the corresponding primitives and associated hierarchy.
7.2
Data Structure
When an STL file is translated into a MAC file and this is read into PDMS/Outfitting, all
geometric parts are converted to primitives which form a single EQUIPMENT or VOLUME
(VOLM) per STL file. ImPlant - STL uses the name from the MAC file as the EQUIPMENT
(or VOLM) name.
7.2.1
Geometry Hierarchy
If a BOX, PYRAMID, CYLINDER or EXTRUSION is recognised by ImPlant - STL, then
these primitives are added to the EQUIPMENT or VOLM element. Negative primitives are
added below these primitives.
Any Solid Polyhedron (POLYHE) elements are also created directly under the EQUIPMENT
or VOLM element.
Any other closed volumes that are not recognised as being any of the above PDMS
primitive types are added to the EQUIPMENT (or VOLM) element as a SUBEQUIPMENT
(or SVOLM). Each face with one or more holes in it is represented as an EXTRUSION with
each hole represented by a NEXTRUSION. All remaining faces, with no holes, are
represented by PDMS POHEs, each face of a POHE being represented by a single POGO
(polygon) element. The POHEs are added under the SUBEQUIPMENT.
All non-closed volumes are split into non-manifold surfaces. Each non-manifold surface is
then treated as a closed volume as detailed previously.
The geometry hierarchy is as shown in Figure 7-1.
7:1
1.3
Figure 7:1.
7:2
1.3
Reports
The standard report or log generated by ImPlant - STL following a translation operation
provides the following information:
8:1
1.3
8:2
1.3
Error Messages
9.1
System Errors
These errors indicate that there is something wrong with the ImPlant - STL program
installation. In the first instance try re-installing the program.
Process cannot be initialised - check installation
Cannot find process for ImPlant - STL user interface - check installation
9.2
Licensing Errors
Either you do not have a valid license for the product, or all your licenses are in use.
***** FATAL SITEFILE ERROR *****
Please contact your AVEVA Support representative
Cannot get license for this version, error =
** Warning **: PDMS ImPlant - STL license expires in %d days
9.3
9:1
1.3
9.4
9.5
Data Errors
**Error**: Unexpected end of file <name>
**Error**: This file does not start with 'solid': It may not be an STL ASCII file
**Error**: Non-triangular facet(s) detected
**Error**: This File is incomplete (or not a binary file)
9.6
9:2
1.3
10
Limitations
ImPlant - STL may fail when attempting to translate surfaces that overlap or are
duplicated for open skin surfaces.
10:1
1.3
10:2
1.3
Index
Command Window
running in . . . . . . . . . . . . . . . . . . . . . 2:2
Compatibility
with DESIGN . . . . . . . . . . . . . . . . . . 1:2
Mode
batch . . . . . . . . . . . . . . . . . . . . . . . . 5:6
interactive . . . . . . . . . . . . . . . . . . . . 5:6
Modes of Operation . . . . . . . . . . . . . . . . 5:1
DESIGN Model
Controlling . . . . . . . . . . . . . . . . . . . . 4:3
reviewing and improving . . . . . . . . . . 4:3
Output
Macro . . . . . . . . . . . . . . . . . . . . . . . . 7:1
P
E
Error Message
data . . . . . . . . . . . . . . . . . . . . . . . . . 9:2
file access . . . . . . . . . . . . . . . . . . . . . 9:2
licensing . . . . . . . . . . . . . . . . . . . . . . 9:1
parameter setting . . . . . . . . . . . . . . . 9:1
system . . . . . . . . . . . . . . . . . . . . . . . 9:1
Process
controlling . . . . . . . . . . . . . . . . . . . . 4:1
translation . . . . . . . . . . . . . . . . . . . . 4:1
Reports . . . . . . . . . . . . . . . . . . . . . . . . . . 8:1
Resultant Models . . . . . . . . . . . . . . . . . . 4:4
Running Macro File . . . . . . . . . . . . . . . . 5:8
Solid Polyhedron
definition . . . . . . . . . . . . . . . . . . . . .
STL
input . . . . . . . . . . . . . . . . . . . . . . . . .
STL Data
Controlling the quality . . . . . . . . . . .
Controlling the quantity . . . . . . . . . .
ImPlant - STL
using . . . . . . . . . . . . . . . . . . . . . . . . . 5:1
Installation
basic . . . . . . . . . . . . . . . . . . . . . . . . . 2:1
NET Framework . . . . . . . . . . . . . . . . 2:1
test . . . . . . . . . . . . . . . . . . . . . . . . . . 3:1
Index page 1
1:2
6:1
4:2
4:2
1.3
T
Test
runnning and checking . . . . . . . . . . . 3:1
Index page 2
1.3