To create a work plane for defining 2D objects in 3D (for example, for extruding a 2D object into a 3D object) or for defining the placement of the resulting objects of a Part Instance, on the Geometry toolbar, click
Work Plane (

) or right-click a 3D
Geometry node and select
Work Plane. Then enter the properties defining the location of the work plane in the following sections of its
Settings window.
The layout of the Work Plane section depends on the selection in the
Plane type list, where you select how to define the work plane. Choose one of the following types:
In the Plane list, select one of the global coordinate planes
xy,
yz,
zx,
yx,
zy, or
xz, denoting the first and second axes of the work plane’s local coordinate system. Specify an offset using on of the following settings in the
Offset type list:
•
|
Distance (the default) to define the distance from the coordinate plane in the third axis’ direction using the z-coordinate, x-coordinate, or y-coordinate field (default value: 0; that is, no offset).
|
•
|
Through vertex to define the position of the work plane in the third direction by selecting a vertex. The work plane’s position then contains that vertex. Click the Active button to toggle between turning ON and OFF the Offset vertex selections.
|
Select a planar face in the Graphics window that is parallel to the work plane you want to create. The
Planar face list shows the selected face. Click the
Active button to toggle between turning ON and OFF the
Planar face selections. Specify an offset using on of the following settings in the
Offset type list:
•
|
Distance (the default) to define the distance in the Offset in normal direction field. You then offset the work plane along the normal of the planar face. By default, the work plane’s normal is the outward normal of the face in the Planar face list. The default value: 0; that is, no offset.
|
•
|
Through vertex to define the position of the work plane in the third direction by selecting a vertex. The work plane’s position then includes the position of that vertex. Click the Active button to toggle between turning ON and OFF the Offset vertex selections.
|
To reverse the direction of the z-axis of the work plane’s coordinate system, select the
Reverse normal direction check box. This also swaps the coordinate axes in the work plane to preserve the positive orientation of the local coordinate system.
Select a planar edge (that is not straight) in the Graphics window that is parallel to the work plane you want to create. The
Planar curved edge list shows the selected edge. Click the
Active button to toggle between turning ON and OFF the
Planar curved edge selections.
•
|
Distance (the default) to define the distance in the Offset in normal direction field. You then offset the work plane along the normal of the plane containing the edge. The default value: 0; that is, no offset.
|
•
|
Through vertex to define the position of the work plane in the third direction by selecting a vertex. The work plane’s position then includes the position of that vertex. Click the Active button to toggle between turning ON and OFF the Offset vertex selections.
|
To reverse the direction of the z-axis of the work plane’s coordinate system, select the
Reverse normal direction check box. This also swaps the coordinate axes in the work plane to preserve the positive orientation of the local coordinate system.
Activate the Straight edge list by first selecting its
Active button and then selecting a straight edge in the
Graphics window. Similarly, activate the
Face adjacent to edge list by first clicking its
Active button and then selecting an adjacent face in the
Graphics window. Also, specify a value in the
Angle between face and work plane field (in degrees; the default value is 0). This results in a work plane through the given edge that makes the specified angle with the adjacent face.
By default, the origin of the local coordinate system coincides with the edge’s start vertex, and the direction of the local x-axis coincides with the direction of the edge. If you select the
Reverse normal direction check box, the origin instead is at the end vertex, and the normal direction of the local
x-axis is reversed.
Activate the Circular edge list by clicking its
Active button. Then select a circular edge in the
Graphics window. This results in a work plane perpendicular to the given circular edge. Use the
Point on plane list to choose a vertex that the plane should go through:
•
|
Some Other vertex, which you can choose from the Vertex list that opens.
|
You can then rotate the work plane around the normal direction of the circle’s plane by specifying an Angle offset (in degrees; default value: 0 degrees). You can also reverse the work plane’s normal direction using the
Reverse normal direction check box.
The origin of the local coordinate system is at the circle’s center. The local x-axis goes through the circle. Thus, if the geometry is rotationally symmetric, the symmetry axis coincides with the local
y-axis. You can use this type of work plane together with a
Cross Section node to get a 2D axisymmetric geometry corresponding to a rotationally symmetric 3D geometry.
In each of the lists First vertex,
Second vertex, and
Third vertex, select a vertex by first clicking the corresponding
Active button and then selecting a vertex in the
Graphics window. This creates a work plane parallel to a plane through the three vertices.
Specify an offset in the Offset in normal direction field (default value: 0; that is, no offset). The origin of the local coordinate system is located above the first vertex, and the vector to the second vertex becomes the local
x-axis. Reverse the directions of the local
z-axis and
y-axis by selecting the
Reverse normal direction check box.
This choice creates a work plane through the three points with the given coordinates. The origin of the local coordinate system coincides with Point 1. The
x-axis of the local coordinate system is in the direction of the vector from
Point 1 to
Point 2. The positive direction of the
y-axis is determined by the condition that the vector from
Point 1 to
Point 3 has a positive
y-component.
Use the work plane type to create a work plane using a transformation of another work plane. From the Take work plane from list, select
This sequence (the default) to use a work plane earlier in the same geometry sequence, or choose a geometry part that this geometry sequence calls earlier in the sequence. From the
Work plane to transform list, select an available work plane (for example,
Work Plane 1 {wp1}) from the selected geometry sequence or select
xy-plane (the default).
Under Displacement, enter the desired displacements in the work plane’s
x-,
y-, and
z-directions in the
xw,
yw, and
zw fields, respectively. The defaults are 0 (that is, no displacement).
Under Rotation, choose an axis for the rotation from the
Axis type list:
•
|
xw-axis, yw-axis, or zw-axis (the default) to use the local x-, y-, or z-axis.
|
•
|
Cartesian to define an axis using local Cartesian coordinates in the xw, yw, and zw fields. The default values are 0, 0, and 1, respectively (that is, the same as choosing zw-axis).
|
•
|
Spherical to define an axis using spherical angles (in degrees), which you enter in the theta and phi fields (default value for both angles: 0).
|
In the Rotation angle field enter the rotation angle (in degrees) about the specified axis (default: 0).
In the Quick work plane type:
•
|
In the Origin list, choose the location of the origin of the work plane’s coordinate system: Global (the default) or Vertex projection. In the latter case, also pick a vertex for the origin, which you add to the list under Vertex for origin.
|
•
|
In the Local x-axis list, choose how to define the local x-axis: Natural (the default), which means that the local x-axis corresponds to the first direction in the plane; for example, the y direction for a yz-plane. Alternatively, choose Through vertex projection to define the local x-axis through a vertex projection. Then choose a vertex for the local x-axis that you add to the Vertex for axis list.
|
In the Face parallel plane type:
•
|
In the Origin list, choose the location of the origin of the work plane’s coordinate system: Center of face (the default), Bounding box corner, or Vertex projection. In the last case, choose a vertex for defining the origin that you add to the Vertex for origin list.
|
•
|
In the Local x-axis list, choose how to define the local x-axis: First parameter direction (the default) or Second parameter direction, which are the local parameter directions of the face (represented by the variables s1 and s2, respectively). Alternatively, choose Through vertex projection to define the local x-axis through a vertex projection. Then choose a vertex for the local x-axis that you add to the Vertex for axis list.
|
In the Edge parallel plane type:
•
|
In the Origin list, choose the location of the origin of the work plane’s coordinate system: The Start vertex (the default) or End vertex of the edge, or Vertex projection. In the last case, choose a vertex for defining the origin that you add to the Vertex for origin list.
|
•
|
In the Local x-axis list, choose how to define the local x-axis: Tangent direction (the default), which means that the local x-axis follows the direction of the edge’s tangent. Alternatively, choose Through vertex projection to define the local x-axis through a vertex projection. Then choose a vertex for the local x-axis that you add to the Vertex for axis list.
|
In the Quick,
Face parallel,
Edge parallel,
Edge angle,
Circle perpendicular, and
Vertices work plane types:
Clear the Unite objects check box if you do not want to unite the separate 2D geometry objects in the work plane. If the check box is selected, you can change the settings for the
Repair tolerance list if you experience problems with the unite operation. Objects that have a distance less than the repair tolerance are merged.
•
|
The default value in the Repair tolerance list is Automatic, which for 3D objects represented using the CAD kernel determines the repair tolerance internally. For 3D objects represented using the COMSOL kernel, and for 2D and 1D objects, Automatic means a relative repair tolerance of 10 −6.
|
•
|
Choose Relative to enter a value for the Relative repair tolerance field (the default is determined by the main Geometry node’s setting). This value is relative to the largest absolute value of the coordinates of all input objects.
|
•
|
Choose Absolute to enter a value for the Absolute repair tolerance field (the default is determined by the main Geometry node’s setting; SI unit: m). This value uses the same unit as th geometry sequence’s length unit.
|
Select the Show work plane in instances check box (selected by default) to make the work plane available in the
Part Instance nodes’ settings.
Select the Resulting objects selection check box to create predefined selections (for all levels — objects, domains, boundaries, and points — that are applicable) in subsequent nodes in the geometry sequence. To also make all or one of the types of resulting entities (domains, boundaries, edges, and points) that the resulting objects consist of available as selections in all applicable selection lists (in physics and materials settings, for example), choose an option from the
Show in physics (
Show in instances if in a geometry part) list:
All levels,
Object selection (in geometry parts only),
Boundary selection,
Edge selection, or
Point selection. The default is
Boundary selection. These selections do not appear as separate selection nodes in the model tree. Select
Off to not make any selection available outside of the geometry sequence.
Under Selections from plane geometry, select the
Show in physics (
Show in instances if in a geometry part) check box to show selections from the work plane’s plane geometry in the physics or in part instances. For example, a selection in the plane geometry can be used as the boundaries for a boundary condition in the 3D physics.
To show the work plane, click the Show Work Plane button (

) in the
Settings window’s toolbar, or click the
Plane Geometry node that appears under the
Work Plane node. To create 2D objects in the work plane, right-click the
Plane Geometry node and create nodes like in a 2D geometry.
To embed the 2D work plane geometry in the 3D geometry, build the Work Plane feature by either right-clicking the Work Plane node and choosing
Build Selected or selecting the
Work Plane node and then clicking
Build Selected or
Build All Objects.