Summary: This document shows how to handle 3D object in Iconics Suite GraphWorX.
In the attachment section you can also find sample screen in GraphWorX.
There is also a video demonstrating how to navigate through the visualization (link below)
Visulization is based on lacal variables, so you do not need any additional parametrization in Workbench
Create GraphWorX project
After launching GraphWorx64, you should go to the "File" tab and select the "New Settings" option.
In the next window, you should choose the "Grid" option and save the file under the chosen name.
In the created project, select the "3D View" option, and then create a three-dimensional area where the project will be carried out.
Basic Operations
Adding an element to the project is possible by double-clicking within the user-created 3D area. Remember that if you want to move the camera in the project, you need to have any element selected. Holding down the "Alt" key and right-clicking allows the program to move the camera relative to a reference point in each axis, where the origin of the coordinate system (0.0.0) is the base point. Holding down "Alt" and scrolling enables shifting the reference point. Holding down "Alt" and moving the scroll wheel allows zooming in and out the camera from the reference point.
In Selection Mode (1), the user has the ability to choose how to select objects. Then, on the toolbar, there are options under the Manipulator section (2):
Move - for relocating an element.
Rotate - for turning an element.
Scale - for resizing an element.
Each of the mentioned options can be carried out within the project using:
Displayed arrows.
By using the + and - signs located on the toolbar, corresponding to the x, y, z axes, the user can interact with the displayed arrows. Adjacent to these + and - signs, there is an option that enables the user to choose the magnitude of reduction or enlargement.
- object properties
The Primitives tab (3) provides the user with access to fundamental shapes and elements.
Import 3D model
GraphWorx64 itself allows for designing basic and less complex elements, which is why imported graphics can be very useful. To begin, go to the "File" tab and select "Import" (remember to be in project view).
Choose project
Import Graphics
We add an object simulating, for example, the mentioned substrate.
When you enter the "Properties" section, choose the option to change the color of the object
Double click Diffuse color
In Image tab add graphic
Then, confirm the selection, and the chosen graphic will become the background of the object.
Views
By using the views, the user can change the viewpoints during visualization, allowing them to focus on specific parts of the project, for instance.
In the next window, the user has the option to change the view's name and rearrange their order.
While in the runtime mode, the user can choose the viewpoint during the active simulation.
The option shown below allows you to create an automatic looping display.
The selected options allow you to adjust, delete, and rearrange the order within the loop, change the transition time between views, and set a pause at a specific view.
After enabling such a loop, it will automatically run when the runtime mode is activated.
Camera movement to a specified location
Using the mentioned views, the user can utilize objects or environmental elements in the simulation to transition to another view for a more immersive experience.
After adding the view we are interested in, you should go into the properties of the object you want to use for this purpose.
Then, go to the "Dynamics" tab
Next, you should select the "Pick" option and change the basic option, which is usually "Load Display," in the "Command" section to "Set View."
This option allows the user to choose whether they want to automatically zoom in to the view corresponding to that object immediately upon starting the simulation.
In this field, you should enter the coordinate system in which the user is working.
The type of reaction to pressing.
At this point, you should select the view to which the object should refer.
The transition time from one view to another. If you leave this field at zero, the transition will be immediate
Animation Location
In case the user wants to create an animation like the movement of an object, they should go back to the "Dynamics" tab and select the "location" option (for this example).
The user gets the option to shape the path along which the object will move.
Next, select the "DataSource" option and proceed to the "Local Simulation" tab to name and choose the simulated signal. In the case of the selected sine wave signal in the image, the object will move back and forth in an infinite loop between the start and end points during runtime.
Animation Rotation
If the user wants to create an animation, such as the opening of a box, they should use the available "Rotation" option in the "Dynamics" menu. To illustrate this process properly, first create the appropriate object.
After creating the cube, it's recommended to change the internal color of the object to ensure everything is clearly visible. Then, by changing the selection mode to one that selects individual faces, delete one of the faces using the "Delete" button.
Next, add an object that simulates the "door" and position it to fit the cube you created earlier. Then, select the "Rotate" option in the "Dynamics" menu and move the displayed marker to the point around which the object's movement should occur.
The next step will be adjusting the dynamic parameters of the object. Just like in the previous animation, start by adding a "DataSource." However, this time you only need to enter a name, and leave the "DataType" as default. Then, decide on specific animation options, such as rotation angle, animation mode, rotation axis, animation time, etc. Each of these options is explained at the bottom of the window.