Box Toolpath-Mesh Intersection

The box shape functionality is intended for situations where the action of the tool is best described as a spatially varying distribution. Examples include modeling a Goldak's double ellipsoid heat source and polymer extrusion material deposition when using fine meshes.

This page discusses:

Intersections of a box toolpath and a mesh can be computed using two different algorithms or approaches; namely, the subsegment approach and the subelement approach. For both the subsegment and the subelement approaches, the box length in the local xl-direction can be set to zero to obtain a rectangular-shaped toolpath.

Using the Subsegment Approach

Figure 1 depicts intersections of a box toolpath with a finite element, E, using the subsegment approach. The toolpath is defined by a box attached to a reference point that is moving along the path connecting points (X1,X2,X3,...,Xn) such that the reference point is at Xi at time ti. A segment-specific local coordinate system is defined by the vectors x1, y1, and z1. Vector x1 is along the segment connecting two successive points, and z1 is a user-defined vector. The origin of this local system is at the start point of the segment. The box is oriented along the local coordinate system directions, and the center is at a constant user-defined offset, F, from the reference point on the segment. The box lengths L1, L2, and L3 along the local directions are user defined. The box is divided into a user-defined number of smaller boxes. It is assumed that a subsegment starts at the center of each smaller box and is parallel to the main segment. A user-defined weight is associated with each subsegment. The weight is multiplied with the field associated with the main segment to obtain a field associated with the subsegment. The sum of the weights of all of the subsegments is usually equal to one. For a given element, the toolpath-mesh intersection module computes the number of intersections of subsegments with the element, the coordinates of the start and end points (ξs and ξe, respectively, expressed in the element reference coordinate system), and the start and end times (ts and te, respectively) for each intersection.

Box toolpath-mesh intersection using the subsegment approach.

Using the Subelement Approach

In the subelement approach, the box is not divided into smaller boxes. Instead, the element is subdivided into subelements of the same topology (see Figure 2). The number of subelement divisions of an element is set automatically by the module based on the element size and the minimum dimension of the box. The toolpath-mesh intersection module computes the number of subelements that have their centers inside the path of the box, the coordinates of the centers of the subelements, the volume of the subelements, and the start and end times of the box passing through the centers of the subelements.

Box toolpath-mesh intersection using the subelement approach.