Data Transfer Notes

External Applications Window

The Input File and Output File filenames of the External Applications Window may be specified as either absolute UNIX path names (the full path name location of the file), or as filenames with no path. If there is no path, the file is assumed to be in the "wire" directory of the current project. There must be no partial Input File or Output File name specifications in the Application name. For example, the program my-prog below takes two arguments; the Input File followed by the Output File.

The following shows the incorrect and correct ways to specify the execution of this program in the Application Name field:

Incorrect

/usr/u/yourid/bin/my-prog /usr/u/aldemo/data/%i /usr/u/aldemo/data/%o
Correct

/usr/u/yourid/bin/my-prog %i %o
where the Input File name is specified as /usr/u/aldemo/data/infile and the Output File name is specified as /usr/u/aldemo/data/outfile.

Also, all settings in the External Applications Window are saved from session to session on a per Application Name basis.

Pre-V3.2 wire file format

Alias V8.1 does not support the pre-V3.2 wire file format. The WireConvert standalone utility converts pre-V3.2 wire files to V3.2.1 wire format which can be read by Alias V8.1. The WireConvert utility was no longer supported as of V7. This utility is shipped with V8.1 in the bin.obsolete directory. It will not be shipped in future releases.

Exporting Geometry to the SLC File Format

The Save SLC command creates a file in the .slc format. This format differs from the .stl format largely in that the NURBs geometry is sliced to a resolution at which the part will eventually be built. As a result, there is only one abstraction of the original NURBs geometry. It also means that you have an increased responsibility to confirm the integrity of the Nurbs geometry in Alias before creating the .slc file.

Stitching

The process that creates the slc file intersects a plane with the model and creates a polyline where the plane intersects the first NURBs surface. For this reason, before the calculation is carried out, the NURBs surfaces must be stitched together with Shell Stitch so it can be read as one piece of geometry. A by-product of stitching the surface geometry is that you can see surface boundaries with gaps that would cause problems when the slicing operation takes place. If the stitching operation identifies surface boundaries that are not within a tolerance acceptable to the stitching code, the gaps would also be recognized as a gap large enough to produce broken polylines and therefore unusable in the building of the part. Surface boundaries that do not stitch together must be recreated with a lower Curve Fit tolerance. A good work flow is to create a small and representative part of the model first and test-stitch it to ensure the chosen tolerances before a lot of time is spent modeling. The stitching process uses the tolerance in calculating whether or not surfaces have the necessary conditions to stitch together.

When geometry is stitched unsuccessfully (i.e. you can see interior surface boundaries that did not stitch together) you can use the key command Ctrl-Z to undo the stitch command. This is different from doing the Shell Unstitch command because during the stitch operation NURBs geometry may be altered and this geometry is not returned to its original state when Unstitched.

When stitching trimmed periodic geometry (for example a primitive sphere or a surface of revolution), you can enable the Detach periodic surfaces option to detach these surfaces into two pieces, ensuring a successful stitching operation.

The option that lets you detach single curve boundaries addresses the passing of stitched geometry from Alias to CAD packages. If a closed trim curve exists, as would result from intersecting a plane with a primitive cylinder and trimming back the plane, this option will detach the closed curve into two pieces.

The Shrink surfaces option ensures that any trimmed surfaces are reduced in physical size to the minimum needed to represent the trimmed part of the surface.

Slicing

When configuring the .slc option box, you can set the output units according to the units the solid imaging software will use to process the .stl file.

Next you can decide whether the geometry should be sliced according to the volume of the geometry bounding box, which is the default setting of Auto Range, or if you can define the minimum and maximum Z height of the volume to be processed.

Thickness refers to the distance between contour lines that will be used to build the part. The average is between 0.006 inches and 0.003 inches but can go as low as 0.0005 inches. This value should be determined by both the designer and the person who will be building the part.

The .slc file can be read back into Alias as an Alias wire file. For this reason you should avoid reading .slc files of a high resolution back into Alias as the size and density of information could make the geometry unmanageable.

Inventor Import/Export

If you have extended SoNodeKit classes in your Inventor files, Studio/PA can only read these nodes if there is a Dynamically Shared Object (DSO) containing the extensions in the path of LD_LIBRARY_PATH. Please read The Inventor Mentor: Programming Object Oriented 3D Graphics with Open Inventor: Release 2, Chapter 11 File Format, Page 17: Reading in Extender Nodes and Engines for further information.

The rest of this section lists the Inventor nodes that are partially supported or not supported by the Inventor import and export translators (IvToAl and AlToIv).

SoCone, SoConeDetail, SoCylinder, SoCylinderDetail, SoCube, SoCubeDetail, SoSphere

The above analytical geometry nodes are not supported directly. However, an Inventor file containing these nodes can be imported if it is first pre-processed by the ivfix program. This program will convert the geometry to triangulated strips.

SoAsciiText, SoText2, SoText3, SoTextDetail, SoLabel, SoFont, SoFontStyle, SoDrawStyle, SoOrthographicCamera, SoTranslation and all subclasses

The above text and camera nodes are not supported.

SoVertexProperty

The SoVertexProperty node is used by the Vertex based nodes to describe the vertices, each vertex can have, a color, texture coordinate, a normal binding and material binding. If a vertex shape uses this node, IvToAl will fail. If ivfix is run with -p, all SoVertexProperty nodes are removed and the information is placed in the vertex shape.

SoLightModel

The SoLightModel describes the lighting model to use when rendering. The possible values are BASE_COLOR or PHONG. The import translator always creates Phong model shaders.

SoSensor and subclasses, and SoEngine and subclasses

The above animation nodes are not supported.

SoMaterialBinding, SoNormalBinding

The above nodes govern how the materials and normals are used. There are three settings: OVERALL, PER_FACE and PER_VERTEX. Only OVERALL and PER_FACE are supported. Studio/PA cannot support PER_VERTEX shading. If your nodes are using a PER_VERTEX scheme then this information is lost.

SoLOD, SoLevelOfDetail

Both of the nodes above are implemented as SoGroup and do not fully support the concept of level of detail.

General Data Transfer Limitations


Limitation:IGES trimmed geometry from HP SolidDesigner imports into Alias V8.1 untrimmed.

Solution:It is important to change the IGES data for Alias V8.1 on export from HP SolidDesigner. For HP/SolidDesigner V3.0, the IGES Output Mode must be set to Trimmed Parametric. Also, before exporting the IGES file, the following command must be issued:


set-iges-all-sf-nurbs "YES"
To reset this command line option back to the default, issue this command after the IGES file has been exported:

set-iges-all-sf-nurbs "NO"
For HP/SolidDesigner V4.0, set the IGES Output Mode to Trimmed Parametric and set Geometry Options to NURBS Geometry. These two parameters can be saved into a configuration file (for example, alias.cfg), so that they can be recalled for future use.


Limitation:Storing an IGES file containing many trimmed surfaces takes considerably longer if the Spline Type option is set to PARAMETRIC, instead of BSPLINE.

Alias spline trim curves are rational b-splines. The IGES Parametric Spline Curve and Surface entities (types 112 and 114, respectively) do not support rational b-splines directly. In order to represent Alias trim curves using these IGES entities, the trim curves are automatically rebuilt to remove the rational component. This rebuild operation is the extra step that takes time. This operation is not necessary when the Spline Type is set to B-SPLINE, since the IGES Rational B-Spline Curve entity (type 126) fully supports Alias trim curves.


Limitation:Display of high degree surfaces can be distorted after Data Transfer input.

With default display settings, surfaces of degrees higher than 13 appear distorted when input into Alias.

Solution:To ensure proper display of these surfaces, use Object Edit Patch precision to increase the patch precision to at least 4.



Limitation:Encapsulated PostScript Files (EPSF) created by the SGI Showcase program cannot be retrieved into Alias.

If an object is created in SGI Showcase and stored in EPS format, it is not possible to retrieve the object into Alias with the retrieve option for EPS. Alias gives an error message in the prompt line saying than an I/O error has occurred and that the retrieve has been aborted.


Limitation:Normal StyleGuide files will not be retrieved.

Solution:StyleGuides from Sketch! must be saved as StyleGuide "export" in Sketch!.



Limitation:Some StyleGuide objects do not import properly into Alias V8.1.

Some objects written by Sketch! 1.5 and Sketch! 2.0 in StyleGuide Export format are not read correctly by the StyleGuide input translator. Specifically, curves on surfaces and certain types of square face. The curves on surface are likely to move so that they are no longer on their surface and may be distorted.

Solution:For curves on surfaces, orphan them from their parent surface in Sketch! - duplicate the curve on surface and the surface, and then delete the duplicated surface.



Limitation:Cameras imported into Studio from StyleGuide files do not exactly match the cameras as they existed in Sketch!.

Solution:To set a Sketch! camera to render equivalent to Alias V8.1, multiply the view angle by 1.057 and in Alias, re-enter the result as the angle. Loading a low resolution rendering of the view in Sketch! as an image plane will help if you need to fine tune the view angle, for instance, when using the Match Perspective function from Sketch!



Limitation:Pivot points imported from StyleGuide files through File Retrieve are incorrect.

All pivots in StyleGuide files are set to 0,0,0, in Alias V8.1, regardless of their position in Sketch!


Limitation:Surfaces created in Alias and imported into 3Design using the GEO file format have their normals flipped.

Surfaces are rendered "double-sided" by default in Alias, so during creation the direction of the surface normals are not evident unless explicitly checked. 3Design renders "single-sided" by default, and hence, surfaces brought from Studio that have accidentally been created "back-to-front" will appear dark.

Solution:To fix this problem, surfaces should be created so that their surface normals point "outward". For example, if you create a cube, the surface normals of the cube's faces should point towards the outside of the cube, not towards the inside. The Object Edit Reverse Edit surface normals tool can be used to check and reverse surface normals.



Limitation:You cannot open a file if there is a space after the -s flag in Alias batch mode.

Solution:The -s, -o and -p flags require that there be no space between the flag letter and the argument. The first example below is incorrect, whereas, the second is correct:


Incorrect

Alias -B -o options.dat -p project_dir -s save_file retrieve.file
Correct

Alias -B -ooptions.dat -pproject_dir -ssave_file retrieve.file

Limitation:3Design surfaces with multiple trim-regions cause rendering problems.

Sometimes, trimmed surfaces imported via Geo files do not render properly.

Solution:Untrim, then re-trim and quickrender again. Also, after the re-trim there may be leftover curve on surface segments that can be deleted.



Limitation:Inventor/VRML import/export may cause some lighting and annotation to be lost and some color information may be lost.

The AlToIv and IvToAl translators do not support the LightModel node and the annotation nodes.Unused Alias shaders will not be exported to Inventor/VRML.





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.