Mesh Sweep
Description
This
is a tool to sweep the 2d mesh to 3d mesh. Note that it does not consider the
element properties but a pure mesh sweep tool. This tool is not geometry-based,
but pure path sweeping. So, the sweeping mesh shape may not be the same as the
geometry sweep results. For geometry-based meshing, use the Solid meshing tool.
In
the current release, we only have Curve/Edge and Table methods, we will provide
more methods in later release.
Important
Notes:
1.
This tool is not designed for
revolving features, please use Mesh Revolve tool for typical revolving features.
2.
This method may create bad or
invalid elements if the settings are not properly configured, for example, incompatible
source and target meshes, bad sweep path and so on. Please try different
settings if bad elements are created with the current settings, especially
alignment type.
3.
To get a better swept mesh, ensure
the anchor node is selected on the source mesh and coincident with the starting
point of the sweeping path. Make sure the source mesh and target mesh can be
mapped exactly along the path, without large bias or different topology.
Quick
Review
There
are several control parameters in the tool:
|
Parameters
|
Description
|
|
Curve/Edge
|
Sweep
the elements along the curve/edge
|
|
Table
|
Sweep
along the path points defined by the table
|
|
Number
of Sweep Layers
|
The
layers of elements along the sweep path
|
|
Delete
source elements if possible
|
Delete
the source elements if possible
|
|
Create
new part
|
The
generated 3d mesh is created under new part “Swept Mesh 3D”
|
|
Place
first swept layer at source elements
|
The
first layer of the swept mesh will coincide with the source elements.
|
|
Alignment
type
|
None,
align normal and align parallel to control the sweep profile alignment
|
|
Bias
type
|
The
option is to define the element layer bias along the path. Only available for
Curve/Edge method
|
|
Bias
ratio
|
The
ratio of first segment to second segment length along the path.
|
|
Anchor
Node
|
The
anchor node is used as a reference point to align the swept mesh layers along
the sweeping path.
|
Workflow
1.
Curve/Edge
In
this method,
1)
User selects the target 2d
elements in the first selection stage and enters the number of element layers.
2)
User selects a curve or edge
as the sweep path. User can click MMB or Apply button to execute the tool.
3)
Optional stage: user selects a
node on the target elements, so that the sweep path is aligned with the anchor
node. If user does not select a Node, then the closest node to the first path
point will be used as reference.
4)
Optional stage: user selects
the 2d mesh to align the sweep mesh to. So that the sweeping mesh exactly ends
at the mesh.
*About
the option of Place first swept layer at source elements
If
this option is off, the swept mesh starts on the starting vertex of the
curve/edge:
If
this option is on, the swept mesh coincidences with the source elements:
* The source mesh and target mesh define the
start and end of the sweep.
The
meshing result if the target mesh is provided with align normal:
2.
Table
In
this method,
1)
User selects the target 2d
elements in the first selection stage and enters the number of element layers.
2)
User enters the number of path
points, then the tool updates the table.
3)
User enters the coordinates
for each point in the table
4)
User clicks MMB or Apply
button to create the mesh.
Note
that the number of sweep layers can be different with the number of path
points. The sweep layers define the number of elements along the path, while
the path points only defined the sweep path. But we strongly recommend that the
layer number = path points number -1. This is done automatically after user
imports csv file, the tool will derive the element layer number. For example,
we import csv file with 73 points, then the layer number is automatically set
to 72.
Importing
a csv or txt file will clear the current table data and import the point coordinates
from the file. So if you want to try different path points, just import the
file again to override the current table data.
3.
Alignment type:
This
option decides whether the tool adjusts the sweeping path orientation for the cross
section.
1)
None: Use this option for straight line or curve with small curvature, since no
rotation for the points, each layer is consistent with the source mesh. This
option just moves the source mesh along the sweep path without rotating it.
Each layer is a pure translation of the source.
2)
Normal: Use this option when the path has noticeable curvature (bends) and you
want the cross-section to remain perpendicular to the curve’s local binormal.
3)
Parallel: Use this option if you want to transport the initial frame along the
path with minimize twist. This option also works well for path with large
curvature.
4.
Bias type and Bias ratio
There
are five options:
1)
None: uniform distribution
along path;
2)
Start: bias towards the start
of the path;
3)
End: bias towards the end of
the path;
4)
Middle: bias towards the
middle of the path;
5)
AwayMiddle: bias away from the
middle of the path.
This
is similar to the bias type and bias ratio in the mesh seeding tool:
4.
Export and import
In
the Table method, you can export the point coordinates to cvs or txt file, or
you can import a csv or txt file to import the coordinates.
The
csv format is simple: the three columns define the X,Y and Z columns in the
table.
Useful Tips:
1.
For complex curves with large curvatures, use alignment normal at first, ensure
that the anchor point is consistent with the sweeping path and property target
mesh. And then try “None” for alignment type if align normal does not get good
results.
2.
For simple curve nearly to straight line or tiny curvature, set the alignment
type to None, so that the source mesh is swept along the path without any adjustment.
3.
Try to use reasonable layer numbers and sweep path. This tool is not
geometry-based meshing, so you may not get the exact sweeping shape as the
geometry. You must use the proper sweeping path and anchor nodes, target mesh
to make the sweeping mesh close to the geometry.
- Log in to post comments