1 / 13

XVL BOM Assembler Tutorial For Version 1.0 and later

XVL BOM Assembler Tutorial For Version 1.0 and later. LATTICE TECHNOLOGY, INC. Introduction and Objectives. The XVL BOM Assembler is a command-line application that converts XVL models into XML structure files and XML structure files into XVL models.

nat
Télécharger la présentation

XVL BOM Assembler Tutorial For Version 1.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 BOM Assembler TutorialFor Version 1.0 and later LATTICE TECHNOLOGY, INC.

  2. Introduction and Objectives The XVL BOM Assembler is a command-line application that converts XVL models into XML structure files and XML structure files into XVL models. By the end of this tutorial, you will be able to perform the following command-line operations: • Generate assembly structure XML file. • Generate XVL assembly model out of XML file and part files. • Export mass properties in XML. • Export a log file. Lattice Technology, Inc.

  3. Agenda • Required Files • Installing the Visual C++ Runtime Component • Command Syntax • Generating Assembly Structure XML Files • Generating XVL Assembly Models • Exporting XML with Mass Properties • Exporting Log Files • XML Format Lattice Technology, Inc.

  4. Required Files • In order to execute XVL BOM Assembler, you need the following files*: • xvlbomassembler.exe Command line application • xvlbom_schema.xsd XML schema check file • xerces-c_1_3x8.dll Xerces-C++ DLL for reading and writing XVL files • xerces-c_2_8.dll Xerces-C++ DLL for reading and writing XML files * These files are located in: \Lt_BomAssembler\Bin\ Lattice Technology, Inc.

  5. Installing the Visual C++ Runtime Component • To use XVL BOM Assembler, Visual C++ runtime component must be installed. • To install Visual C++ runtime component, simply double-click the vcredist_x86.exe* file. * vcredist_x86.exe is located in: \Lt_BomAssembler\ Lattice Technology, Inc.

  6. Command Syntax xvlbomassembler.exe < -i input_file > < -o output_file > [-m] [-t type num tol] [-r] Basic Format: * Parameters in braces ([ ]) are optional. Lattice Technology, Inc.

  7. Generating Assembly Structure XML Files • Specify an XVL file as input and an XML file as output to generate and assembly structure XML file for the XVL file. Example: xvlbomassembler.exe-i sample.xv2 -o sample.xml XML Assembly structural tree + Generate XVL assembly model XVL part files Lattice Technology, Inc.

  8. Generating XVL Assembly Models • Specify an XML file as input and an XVL file as output to generate an XVL model from an XML file. Example: xvlbomassembler.exe-i sample.xml -o sample.xv2 XML Assembly structural tree + Generate XVL assembly model XVL part files Lattice Technology, Inc.

  9. Exporting XML with Mass Properties 1/2 • Use the –m option to add mass properties to the XML file. Example: xvlbomassembler.exe -i sample.xv2 -o sample.xml -m XML Assembly structural tree + Mass properties Generate XVL assembly model Example of mass properties (in XML): <component name="STT36 Engine" entityId="_6" surfaceArea="38166.293" volume="87484.987" weight="87484.987" massCenter="0.730 -16.240 -1.147" moment_x="86508113.135" moment_y="43024018.796" moment_z="57047574.638" url="STT36 Engine(4).xv2"> <matrix origin="0.798286 -24.5931 19.184" /> Lattice Technology, Inc.

  10. Exporting XML with Mass Properties 2/2 • Use the –t option to specify the tessellation tolerance to use when calculating the mass properties. Basic Format: xvlbomassembler.exe < -i input_file> < -o output_file> [-m] [-t type num tol] Example: xvlbomassembler.exe -i sample.xv2 -o sample.xml –m –t 4 8 0.1 * When the –t option is not specified, default values are used. Lattice Technology, Inc.

  11. Exporting Log Files • Use the –r option to export a log file. Example: xvlbomassembler.exe -i sample.xv2 -o sample.xml –r Lattice Technology, Inc.

  12. XML Format • For details of the XML format, please see XVL_BOM_Assembler-XML_Format.pdf.* * XVL_BOM_Assembler-XML_Format.pdf is located in: \Lt_BomAssembler\Doc Lattice Technology, Inc.

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

More Related