User Tools

Site Tools


tutorials:export-object-from-groimp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:export-object-from-groimp [2025/11/01 09:53] – created Timtutorials:export-object-from-groimp [2025/11/01 10:16] (current) Tim
Line 1: Line 1:
 ====== Export Object ====== ====== Export Object ======
 +
 +The results of a simulation can be exported to different formats (including 3D and taxonomical).
 +
 +
 +If we want for example export the new RGG tree as an obj (a simple 3d format), we just need to start a new rgg project and run it a couple of times (so there is actually anything to export).
 +
 +For the actual export we use the 3D Views menu: 'View > Export > Complete Scene' (see  image below)
 +
 +{{ :tutorials:export_gui.png?400 |}}
 +
 +If you only want to export the subgraph below the rgg root please chose "under RGG root", or select a node and export only the part of the model that is a child of this node.
 +
 +
 +===== export from code =====
 +
 +The same feature is also possible from rgg coding. 
 +For example with:
 +
 +<code java>
 +public void export (){
 + export3DScene(getPathToHomeDirectory()+"\\toto.obj","obj");
 +
 +</code>
  
  
tutorials/export-object-from-groimp.1761987214.txt.gz · Last modified: 2025/11/01 09:53 by Tim