User Tools

Site Tools


01_user_documentation:03_interacting_with_groimp:02_panels:02_explorers:07_objects

This is an old revision of the document!


Objects

The Object Explorer in GroIMP allows users to manage and import external objects into their projects. When the panel is opened, a menu titled Object becomes visible. Under this menu, navigating to Object > New > insert File opens a file dialog for selecting an object file.

Upon selecting a file, a prompt appears asking how the file should be added. The available options are:

i think the following is not right here: Once the object is loaded, it can be referenced in the RGG using the Reference() function. This creates a node representing the 3D structure without importing the entire graph of the original object. For example, the following code creates three identical trees in a row: protected void init () [ Axiom =⇒ for(int i=0; i<3; i++)( Translate(0,1,0) [ Reference(“cherry_new.dtd”) ] ); ] It is also possible to access the internal graph structure of a referenced object programmatically: { Reference ref = new Reference(“cherry_new.dtd”); Node refRoot = ref.resolveNode(); }

01_user_documentation/03_interacting_with_groimp/02_panels/02_explorers/07_objects.1752847894.txt.gz · Last modified: 2025/07/18 16:11 by gaetan