240 likes | 406 Views
EDGE tutorial. Box Assembly tutorial. Introduction. The EDGE package is a collection of utilities, documentation, development tools, and visualization tools wrapped around a DOUG renderer.
E N D
EDGE tutorial Box Assembly tutorial
Introduction • The EDGE package is a collection of utilities, documentation, development tools, and visualization tools wrapped around a DOUG renderer. • DOUG is basically the kernel of the package of which various plugins, models, scripts, simulation interface code, gui add-ons, overlays, and development interfaces are added to create a visualization package for NASA’s Constellation program [www.nasa.gov/mission_pages/constellation].
DOUG renderer • The DOUG renderer is the greatest asset to the EDGE package. The renderer allows for: • extremely fast rendering speeds even with large polygon counts • networked manager/client architecture so many clients can display and manipulate the same scene • highly extendable framework which allows users to add their own models, plugins, gui scripts, menus, overlays, • display configurations, and comm mechanisms. • support for SSM, openFlight, stl, and AC3D model formats (with unlimited extensibility through model loader plugins) • tcl/tk command interface for easy scripting and GUI construction and many more.
Installing EDGE • Double click on the EDGE_v2.2 to extract it (requires winrar software)
Extract to the desired folder. • Go to the extracted folder • Click on the rungraphics.bat file to start EGDE software
Menu bar • File Drop down Menu • Load State – Used to load a saved state • Save State – Save current view/ state • Reset State – To reset the state
Using the Display menu, • Background color can be changed • The lighting options can be toggled.
The last important menu bar is Options • Used for Simulating Data.
Navigating in EGDE • Use arrow keys to pan up, down, left and right • Use z key to zoom, i key to zoom in faster and o to out faster.
Node • Each model, camera, system is represented in EDGE with a name. They are generally called as nodes. • Click on the Edit menu and click on Nodes to bring up the edit node dialogue.
Alternate way of selecting node • Right click anywhere on the edge screen and a menu pops out • Select pick model to edit in that and select the model to edit. • The same edit node dialogue should pop up
CAD file format for EDGE • Create any CAD model (preferable in ProE) and save a copy as a wavefront format file (.obj) • Then import the file into blender (a freeware) and export as a .3ds format file • The last step is to import it to AC3D (14 day free trial software) and export as a .ac format file. • EDGE only accepts .ac format files
Adding a model into EDGE • Copy the .ac CAD parts to EDGE_v2.2\userdata\models • Then go to EDGE_v2.2\userdata\configs and edit the user_models using a text editor software (notepad or notepad++ is preferable) Node name Model name. ac Position of the model with respect to the parent Pitch, yaw and roll values Parent node name
Follow the example node format and include the nodes in user_models file and save it. • Exit EDGE software and re open it. • The model should be included in the software. • Adjust the position accordingly.
Creating a new State • In order to create new state use the edit node dialogue and all the unnecessary models and save the state by going to the file menu and select save state. • Give the state a name and in order to open it, click on file and load state and select the name you gave.
Creating a Simulation using EDGE • We need to create 2 files in order to simulate a model in EDGE • One is a .api format file and the other is .csv files • The API file constraints the degree of freedom the model • And the csv file has the coordinate and time values.
API file can be created using the notepad++ software. • Example of API file is shown below Degree of freedom Column name in csv Node name
csv file example is shown below (the first column should be time in terms of seconds)
Save your API and csv files in this location EDGE_v2.2\userdata\sim_data • Then run EDGE software and go to option and select the Sim – Data dlg
Browse and select the destination of the API and csv file in that sim-data dlg
Then click on play and your simulation file should be running. • There is also a user guide provided with the EDGE software in case there is something which was not made clear in this tutorial.