Opencascade AIS Manipulator
[Email protected]
Abstract. OpenCASCADE7.1.0 introduces new built-in interactive object Ais_manipulator providing interface for moving objects within 3D Viewer. The class features three kinds of transformation modes for attached objects:translation through axis, scaling within axis , rotation around axis. The object can be activated using Vmanipulator command within Draw Test harness.
K ey Words. Opencascade, 3D Viewer Interactive, Model Editor, manipulator
1. Introduction
Three-dimensional modeling is a key function of the geometric core, for three-dimensional model if there is a good user interaction experience, then the layout of the model is as easy as playing games, to bring more efficiency to users. For engineering application software, such as shipbuilding, factory CAD design software, an important step after the completion of the model is to adjust the position of the model, that is, the rational layout of the model, which involves the interactive layout of the model.
Some CAD design software to adjust the model location with a dialog box, the translation, rotation parameters are listed in the dialog box, the selected model to be adjusted, the dialog box is displayed, enter the movement vector, or the axis of rotation and angle data to adjust the position of the model. This dialog box has a lot of data, some data also need users to calculate, the user is poor.
Some CAD design software adjusts the model location to the Model Editor, which allows you to easily adjust the model to where you want it by simply interacting with the mouse. As shown in the following:
Figure 1. Model Editor of AVEVA Plant (PDMS)
As shown in the Aveva Plant (PDMS) manipulator can only be done by mouse interaction to complete the adjustment of the model orientation, give users a good experience. There is no need to calculate that much data. Similar manipulator functions are also available in the openscenegraph.
OpenCASCADE7.1.0 also introduces the exciting features of the manipulator, which shows that the Opencascade development team is improving the user experience by testing this feature in the draw test harness. Based on this function, it can provide a good user experience for the model adjustment of the three-dimensional modeling software.
2. Test in Draw harness
The documentation for Opencascade's draw Test harness has not been updated, and you can see the usage of Vmanipulator as shown in the command's help:
Figure 2. Vmanipulator Help Info
Using the Vmanipulator command requires a model to be associated with attach, as shown in:
Figure 3. Attach manipulator to an AIS object
When you move the mouse over an axis or rotate a circle, you can adjust the position of the model:
Figure 4. Translate the AIS Object
As shown in moving the mouse over the x-axis, highlight and move the model along the x-axis direction. You can also move the mouse over a rotating circle, and so on when it is highlighted, you can rotate around the axis.
3. Conclusion
The function of model manipulators is introduced in the OpenCASCADE7.1.0 version, which makes the model position adjustment more convenient in the Opencascade three-dimensional view. From some can see Opencascade in the visual aspect of the improvement is very large, hope that more industries can apply this open source library, in the application to create value.
PDF Version:opencascade AIS Manipulator
Opencascade AIS Manipulator