Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cad_models [2013/01/07 12:20] – [List of available parsers] tenorth | cad_models [2013/04/22 08:45] – [Visualize objects using CAD models] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Visualize objects using CAD models ====== | ====== Visualize objects using CAD models ====== | ||
- | This should be a quick start guide for using CAD models in KnowRob. CAD Models are used to show a realistic model of an object in KnowRob visualization (mod_vis). Please refer to the main knowrob tutorial ([[Tutorial: | + | This should be a quick start guide for using CAD models in KnowRob. CAD Models are used to show a realistic model of an object in KnowRob visualization (mod_vis). Please refer to the main knowrob tutorial ([[doc/ |
Line 64: | Line 64: | ||
Currently the following file formats are supported: | Currently the following file formats are supported: | ||
* [[#Collada Parser|Collada]]: | * [[#Collada Parser|Collada]]: | ||
+ | * [[#PLY Parser|Polygon File Format]]: *.ply | ||
=== Collada Parser === | === Collada Parser === | ||
Line 71: | Line 72: | ||
==== How to create a new parser? ==== | ==== How to create a new parser? ==== | ||
- | Check out ColladaParser for a sample implementation of a parser. | + | Check out ColladaParser for a sample implementation of a parser. |
- | Steps to create a new model parser: | + | |
- | + | ||
- | | + | |
* Add your parser to the extension list (In ModelParser.java) so a file extension will be assigned to your parser: | * Add your parser to the extension list (In ModelParser.java) so a file extension will be assigned to your parser: | ||
* Example: < | * Example: < | ||
- | * implement | + | * Implement |
- | * Store all data in Groups member of ModelParser parent. | + | * Store all data in the Groups member of the ModelParser parent |