Xvl reducer tutorial for version 4 0 and later
Sponsored Links
This presentation is the property of its rightful owner.
1 / 26

XVL Reducer Tutorial For Version 4.0 and later PowerPoint PPT Presentation


  • 100 Views
  • Uploaded on
  • Presentation posted in: General

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

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


XVL Reducer TutorialFor 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

    • remove smaller elements than specified size

    • remove hidden shells

    • remove wire / independent shells

    • remove layers

    • remove materials

Lattice Technology, Inc.


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.


Necessary Files

  • In order to execute XVL Reducer, you need the following files:

    • xvlreducer.exeCommand line application main unit

    • xerces-c_1_3x.dllXerces-C++ DLL for reading/writing

    • xvl-lock_1_2.dllDLL to be used by xvlreducer.exe

    • xvl-ulock_1_0.dllDLL to be used by xvlreducer.exe

    • MSVCP60.dllDLL to be used by xvlreducer.exe

* These files are located in: \Lt_Reducer\Bin\

Lattice Technology, Inc.


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.


Processing for all Model types

Lattice Technology, Inc.


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.


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.


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.


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.


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.


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.


Processing for P-XVL Surface Models

Lattice Technology, Inc.


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.


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.


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.


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.


Processing for P-XVL & V-XVL Surface Models

Lattice Technology, Inc.


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.


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.


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.


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.


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.


Processing for Polygon XVL Models

Lattice Technology, Inc.


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.


Questions?

E. support@lattice3d.com

T.+1.415.274.1670

F. +1.415.274.1671

W.www.lattice3d.com

Lattice Technology, Inc.


  • Login