<<< Instancing and Patterning | Chapters | Local Operations >>> |
This chapter explains how you section bodies using the sectioning operations available within Parasolid. The functions support sectioning with surfaces (planar or cylindrical) or sheet bodies.
The sectioning operation is similar to the boolean subtract operation, except the functions receive slightly different options and return more section related information. Apart from these differences, the rules regarding tag persistence are identical to that of the boolean operation.
A global section is characterized by the comparison of all face pairs from the target and section entities. These section operations are supported by the PK_BODY_section_with_sheet and PK_BODY_section_with_surf functions which require one target body, one section entity and an options structure.
This function receives an option structure which contains an option to specify whether resulting bodies in front of the sectioning tool, behind the sectioning surface or both should be returned by the function.
PK_BODY_section_with_sheet supports sectioning a body with a sheet body. The target body to be sectioned can be either a solid or sheet body. This function returns a non-manifold result if generalized topology is enabled. If generalized topology is not enabled and the sheet body does not section the target body completely, then the function returns an error status.
This function receives an option structure which contains an option to specify whether resulting bodies in front of the sectioning tool, behind the sectioning tool or both should be returned by the function. The option structure also has the facility for the user to specify matched topology in exactly the format as the boolean option structures.
A local sectioning operation is characterized by the comparison of selected face pairs in the target and section bodies. This form of section is quicker than a global section but does not guarantee topological consistency on the resulting bodies.
This sectioning operation is supported by the PK_FACE_section_with_sheet function, which requires, one or more faces from the target and section bodies and an option structure.
PK_FACE_section_with_sheet supports sectioning particular faces of a target body with faces of a sheet body. The target body to be sectioned can be either a solid or sheet body. This function does not support generalized topology.
This function is similar to PK_FACE_boolean in that it supports partial sectioning of bodies.
This function receives an option structure which is similar to the PK_FACE_boolean option structure and includes the option to specify whether resulting bodies in front of the sectioning tool, behind the sectioning tool or both should be returned by the function. The option structure also has the facility for the user to specify matched topology in exactly the format as the boolean option structures.
The behavior of the sectioning functions, PK_BODY_section_with_sheet (global), PK_BODY_section_with_surf (global) and PK_FACE_section_with_sheet (local) is altered via the contents of an options structure passed to these functions. The options structures for these functions are different, but overlap with respect to a number of options. The options are as follows:
Option | Description |
---|---|
determines which bodies, front and/or back, are returned when performing a section operation. |
|
merge all mergeable imprinted edges created and/or located by the section operation. Note, mergeable edges which are adjacent to the new section faces are not merged. |
|
merge all mergeable imprinted edges created by the section operation, including edges adjacent to the new section faces. |
|
avoid merging imprinted edges that existed and were mergeable before the start of the section operation. |
|
checks faces involved in the section operation. Only faces which are adjacent to imprinted edges are checked |
|
the default tolerance to which the section operation, if it has to, may approximate entities or assume that entities are coincident. |
|
the maximum tolerance which may be applied to any entity involved in the section operation. |
|
a local boolean receives a subset of the faces of a target body. If the imprinting phase of the boolean results in incomplete loops of imprinted edges, then additional target faces are used. |
|
this option sub-structure is used to identify regions of the tool to be included or excluded in the boolean result. See Section 9.6, "Options for booleans" for a description of the options. |
|
this option sub-structure describes matched regions between the target and tool bodies. See Section 9.6, "Options for booleans", for a description of the options. |
|
Control which edge survives when a target edge and tool edge coincide during a section operation. This can be one of:
If both faces adjacent to the tool edge survive, then the tool edge survives, regardless of the value of this option. If generalized topology is on, the target edge always survives. |
The
fence
option controls which regions are of the sheet body are returned, for example:
Sectioning solid using the
both
fence option
Figure 11-1 Sectioning solid using the
both
fence option
Sectioning solid body using the
front
fence option
Figure 11-2 Sectioning solid using the
front
fence option
Solid sectioned by sheet - only regions in front of the sheet body are returned, 3 front bodies and 3 front faces returned.
Sectioning solid body using the
back
fence option
Figure 11-3 Sectioning solid body using the
back
fence option
Solid sectioned by sheet - only regions in behind the sheet body are returned, 1 back body and 3 back faces returned.
Local section with 2 include regions, and fence = back
Figure 11-4 Merge options in sectioning operations
Using the sectioning functions may break the geometry sharing by splitting a body into two with the result that there are faces on each body that used to share a common surface. Similarly, the functions may also create geometry sharing of the section surface in one of the bodies, and the sharing of a copy of it in the other body.
<<< Instancing and Patterning | Chapters | Local Operations >>> |