The Geometry Toolbar
After a Component node is added to the model, the Geometry ribbon toolbar (Windows) or the Geometry contextual toolbar (macOS and Linux) is made accessible (Geometry Toolbar). Click the Geometry toolbar to display the options.
Geometric Primitives and Geometry Operations for example, can be added using these toolbars. You can also right-click The Geometry Node in the Model Builder and select any one of the available options. You can also use some drawing tools as listed in Geometry Drawing Toolbar Buttons.
Figure 7-1: Click the Geometry ribbon toolbar (Windows users, top) or Geometry contextual toolbar (macOS and Linux users, bottom) to display the options of the Geometry toolbar. This example is the 3D toolbar. Only some of the available buttons are shown in these images, and some features are not available yet, which is indicated by a grayed out button or icon. The contextual toolbar for cross platform users can also have a Normal or Compact display mode. This changes the number of geometry buttons available.
Options become available based on where in the geometry you are working. As in Figure 7-1, the Geometry toolbar has some options grayed out because these are not yet available. As a geometry sequence is built, and you select geometry objects in the Graphics window, the applicable options become available.
When one of the buttons is clicked, COMSOL Multiphysics performs the associated operation on the selected objects and creates the resulting objects, often adding a node to the geometry sequence. If you want to modify the operation, you can edit and rebuild this node. See About Highlighted Geometric Entities in the Graphics Window for details.
Drawing Geometric Primitives in the Graphics Window
In 1D, there are buttons for drawing Geometric Primitives using the mouse. In all space dimensions, buttons are available to create geometric primitives, but you cannot draw these using the mouse. See Geometry Toolbar and Table 2-9 for a list of the buttons and links to the individual features.
Editing 2D Geometry Objects
Normally, you use the Sketch visualization to edit geometry objects in the graphics; see Editing Geometry Objects in the Graphics Window. The Edit Object functionality can be used to modify objects for which the Sketch visualization does not admit editing — for example, for an imported object. Using the Edit Object () node you can adjust the edges and vertices for a 2D geometry object or to add or delete edges and vertices in the object. In the Model Builder, right-click a 2D Geometry and select Edit Object.
The Edit Object function can also be started using the Edit Object button () in the Geometry toolbar:
1
In the Model Builder click the Geometry node. Make sure that the Sketch toolbar button is not selected.
2
3
Click the Edit Object button (). The Graphics window displays handles for vertices and edge control points in the selected object.
4
5
Right-click to exit the object editing mode and save the changes. A new Edit Object node is added in the Model Builder. Alternatively, if the object being edited is an Edit Object feature, the changes are incorporated in the existing feature and no new node is added in the Model Builder.
6
See Edit Object for details.