1 / 26

XVL Reducer Tutorial For Version 4.0 and later

XVL Reducer Tutorial For Version 4.0 and later. LATTICE TECHNOLOGY, INC. Objectives. By the end of this tutorial, you will be able to perform the following operations from Command Prompt: remove smaller holes than specified diameter remove invisible elements

lou
Download Presentation

XVL Reducer Tutorial For Version 4.0 and later

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XVL Reducer TutorialFor Version 4.0 and later LATTICE TECHNOLOGY, INC.

  2. Objectives • By the end of this tutorial, you will be able to perform the following operations from Command Prompt: • remove smaller holes than specified diameter • remove invisible elements • remove smaller elements than specified size • remove hidden shells • remove wire / independent shells • remove layers • remove materials Lattice Technology, Inc.

  3. Agenda • Preserving Empty Body Groups • Removing Hidden Shells • Removing Independent Wire and Point Shells • Removing or Simplifying Small Geometries • Removing Layers • Removing Materials • Aggregating Faces of Surfaces and Edges of Wire Shells • Reducing Control Points of a Surfaces and Edges • Removing Small Holes and Projections • Removing Invisible Surfaces from Outside • Converting P-XVL File to V-XVL File • Converting XVL File to Polygon-based XVL File Lattice Technology, Inc.

  4. Necessary Files • In order to execute XVL Reducer, you need the following files: • xvlreducer.exe Command line application main unit • xerces-c_1_3x.dll Xerces-C++ DLL for reading/writing • xvl-lock_1_2.dll DLL to be used by xvlreducer.exe • xvl-ulock_1_0.dll DLL to be used by xvlreducer.exe • MSVCP60.dll DLL to be used by xvlreducer.exe * These files are located in: \Lt_Reducer\Bin\ Lattice Technology, Inc.

  5. Common Syntax xvlreducer.exe [-v xvl_version] [-l host_name port_number] [-u user] [-g user_password] [-p file_password] {options...} <input_file> <output_file> Basic Format: Lattice Technology, Inc.

  6. Processing for all Model types Lattice Technology, Inc.

  7. Preserving Empty Body Groups: -b • The -b option will not delete Body groups when other options removes the shells originally defined inside those groups. Basic Format: xvlreducer.exe –b < Input XVL> <OutputXVL> * This option is prepared for keeping the groups originally defined in the VRML2 format. Without this option, XVL Reducer removes Body groups that have no shells after the reduction process. Lattice Technology, Inc.

  8. Removing Hidden Shells: -h • The –h option will delete hidden shells. Basic Format: xvlreducer.exe –h < Input XVL> <OutputXVL> Hidden shells are deleted. Parts are hidden. Output Lattice Technology, Inc.

  9. Removing Independent Wire and Point Shells: -w • The –w option will delete independent wire (edge) and point shells. Basic Format: xvlreducer.exe –w <mode> < Input XVL> <OutputXVL> Output Shells are deleted. Lattice Technology, Inc.

  10. Removing or Simplifying Small Geometries: -o • The –o option will remove or simplify smaller geometries than the specified size. Basic Format: xvlreducer.exe –o mode <length> < Input XVL> <OutputXVL> Output Shells are deleted. Lattice Technology, Inc.

  11. Removing Layers: -y • The –y option will remove all layers. Basic Format: xvlreducer.exe –y < Input XVL> <OutputXVL> Output All layers are deleted. Lattice Technology, Inc.

  12. Removing Materials: -m • The –m option will remove all materials. Basic Format: xvlreducer.exe –m < Input XVL> <OutputXVL> All materials are deleted. Output Lattice Technology, Inc.

  13. Processing for P-XVL Surface Models Lattice Technology, Inc.

  14. Gluing surfaces and edge: -s • The –m option will glue surfaces of surface shells and edge lines of wire shells. Basic Format: xvlreducer.exe –s <mode> <tolerance> < Input XVL> <OutputXVL> * The recommended range for the tolerance value is 0.001 to 0.1. Larger tolerance values may cause XVL Reducer to glue unexpected surfaces and create degenerate geometries. Lattice Technology, Inc.

  15. ReducingControl Points of a Surfaces and Edges: -c • The –m option will reduces the number of control points of Curved Surfaces and Lines for surface shells and Curved Lines of wire shells. Basic Format: xvlreducer.exe –c <mode> <tolerance> < Input XVL> <OutputXVL> * The recommended range for the tolerance value is 0.001 to 10.0. This is the same tolerance value that is used for simplification when converting CAD files. Lattice Technology, Inc.

  16. Removing Holes and Protrusions: -e • The –e option will delete holes and progrusions. Basic Format: xvlreducer.exe –e <mode> <length> < Input XVL> <OutputXVL> Output Small holes and protrusions are deleted. Lattice Technology, Inc.

  17. Converting P-XVL File to V-XVL File : -z • The -z option will convert P-XVL file into V-XVL file. Basic Format: xvlreducer.exe -v 10 -z <mode> <tolerance> < Input XVL> <OutputXVL> Output P-XVL V-XVL Lattice Technology, Inc.

  18. Processing for P-XVL & V-XVL Surface Models Lattice Technology, Inc.

  19. Removing Invisible Surfaces: -i • The –i option removes invisible surfaces hidden behind outer surfaces. Basic Format: xvlreducer.exe –i <mode> <divnum> < Input XVL> <OutputXVL> Invisible surfaces from the specified viewpoints are deleted. Lattice Technology, Inc.

  20. Removing Invisible Surfaces: Tessellation Parameters • When 8 is specified for mode, following parameters need to be specified. Basic Format: xvlreducer.exe –i 8 <divnum> [tstype tsdiv tstol] < Input XVL> <OutputXVL> Lattice Technology, Inc.

  21. Extended Culling Option (1) • You can delete all surfaces that are not visible from specified cameras. Basic Format: xvlreducer.exe–i <mode> <divnum> --viewpoints <view point list> aspect < Input XVL> <OutputXVL> Delete surfaces that are outside the view of the specified camera(s). Camera viewpoint Camera viewpoint Viewpoint list is a text file that lists cameras to apply. Camera-1 Camera-2 … View point list * Requires Extended Culling option. Lattice Technology, Inc.

  22. Extended Culling Option (2) • With extended culling option, geometries are deleted in shell level. Basic Format: xvlreducer.exe–i <mode> <divnum> --viewpoints <view point list> aspect --delete-shells mode < Input XVL> <OutputXVL> Because some surfaces are deleted, the shell geometries are broken. If any surfaces of a shell are visible from the camera viewpoint(s), all the surfaces in the shell are maintained. Camera viewpoint Camera viewpoint No Delete-shells option With Delete-shells option * Requires Extended Culling option. Lattice Technology, Inc.

  23. Converting to Polygon-based XVL Model: -f • The -z option will convert P-XVL file into V-XVL file. Basic Format: xvlreducer.exe-f <mode> <tolerance> <type> <divnum> <Input XVL> <OutputXVL> Output Polygon-based XVL model XVL surface model Lattice Technology, Inc.

  24. Processing for Polygon XVL Models Lattice Technology, Inc.

  25. Reducing Polygons: -r • The -r option will perform polygon reduction for a Polygon Model. Basic Format: xvlreducer.exe-r <mode> <ratio> <angle> <Input XVL> <OutputXVL> Output Reduced polygon model Lattice Technology, Inc.

  26. Questions? E. support@lattice3d.com T. +1.415.274.1670 F. +1.415.274.1671 W. www.lattice3d.com Lattice Technology, Inc.

More Related