SchemeExt:Solid:unstitch-nm-options

From DocR23

Jump to: navigation, search

Contents

Action

Creates or sets the options in the data structure, thus holding information to be used by api_unstitch_nonmani operations.

Filename

scm/scmext/bool/bool_scm.cpp

APIs

None

Syntax

(solid:unstitch-nm-options [unstitch_nonmani_value])

Argument Types

Argument Scheme Data Type
unstitch_nonmani_value integer | string

Returns

unstitch_nm_options

Description

These options are designed to set the options for a particular operation that involves unstitching non-manifold bodies. They control how internal non-manifold entities are treated. Options can be specified either as integers or a string value.

Option Value Description
Integer String
0 "unstitch_nm_all_but_internal_nm_edges" (Default value) This option unstitches all non-manifold entities, including internally non-manifold-vertices, but not including internally non-manifold-edges. This option maintains the behavior of the version of the API without the options object.
1 "unstitch_nm_all_nms" This option unstitches all non-manifold entities, including internally non-manifold-vertices and non-manifold-edges. This option provides consistency to the unstitching of all non-manifold entities.
2 "unstitch_nm_all_but_internal_nms" This option unstitches all non-manifold entities, except internally non-manifold-edges and non-manifold-vertices. This option leads to no duplicate vertices in the resulting lumps, as it does not unstitch internally non-manifold entities.
3 "unstitch_nm_all_nms_and_report_invalidities" This option provides same behavior as unstitch_nm_all_nms and warns if lumps contain duplicate vertices.

Equivalent to the C++ unstitch_nm_options.


Arguments

  • unstitch_nonmani_value is an option that takes any of the these values: 0, 1, 2, or 3. Values can also be supplied in string form.

Example

; Create solid:unstitch-nm-options object
(solid:unstitch-nm-options 1)
;;#[unstitch_nm_options "unstitch_nm_all_nms" ]
 
; Or supplied as a string value
(solid:unstitch-nm-options "unstitch_nm_all_nms")
;;#[unstitch_nm_options "unstitch_nm_all_nms" ]
 
; Call without arguments. Yields default value
(solid:unstitch-nm-options)
;;#[unstitch_nm_options "unstitch_nm_all_but_internal_nm_edges" ]


See Also

  • solid:unstitch-nm - Decomposes the input body along non-manifold edges and vertices.
Personal tools