Options |
|
|
Technical Article |
Options may be set to modify the behavior of ACIS. An option's value may be a
flag (indicating an on/off state), a number (integer or real number), or a
string. Options may be set in a Scheme application (such as Scheme AIDE) using
the Scheme extension
option:set; in the ACIS Test Harness using the command option;
or in a C++ application using one of several API functions.
|
Type | Values | Default |
---|---|---|
boolean | #f, #t | #f |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | FALSE |
Description
If this option is on, entity checking aborts after the first check problem is
found.
; check_abort ; Turn on check aborting (option:set "check_abort" #t) ;; #f |
[Top]
Type | Values | Default |
---|---|---|
boolean | #f, #t | #f |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | FALSE |
Description
This option controls whether or not
api_check_entity checks the accuracy of cached discontinity
data for curves and surfaces in the entity being checked. By default, this is
not done. If this option is enabled, and errors in the discontinuity data are
found during checking, then
SURF_MISSING_DISC_INFO and/or
CURVE_MISSING_DISC_INFO errors will be returned by api_check_entity.
; check_discont ; Turn on checking of cached discontinuity data (option:set "check_discont" #t) ;; #f |
[Top]
Type | Values | Default |
---|---|---|
boolean | #f, #t | #f |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | FALSE |
Description
This option controls whether or not
api_check_entity checks that each of a face's edges lies on
the face's surface, that is, each edge's curve is coincident with the face's
surface to the tolerance of the edge. By default this is not done, because it
is a computationally expensive test. If this option is enabled, and an edge or
tedge is found not to lie on the face's surface during checking, then an
EDGE_OFF_FACE (non-tolerant edge) or
TEDGE_OFF_FACE (tolerant edge) error is returned by api_check_entity.
; check_edge_on_face ; Turn on checking of edge curves on face's surface (option:set "check_edge_on_face" #t) ;; #f |
[Top]
Type | Values | Default |
---|---|---|
integer | 10, 20, 30, 40, 50, 60, 70 | 20 |
Type | Values | Default |
---|---|---|
int | 10, 20, 30, 40, 50, 60, 70 | 20 |
Description
This option controls the amount of entity checking performed by the ACIS
Checker,
api_check_entity.
The range of effective check levels is any integer multiple of 10, between 10 and 70 inclusive; the default value is 20. Any other value is invalid, and the behavior of the Checker may be unpredictable with an invalid check level.
; check_level ; Set for full checking (option:set "check_level" 70) ;; 20 |
[Top]
Type | Values | Default |
---|---|---|
boolean | #f, #t | #t |
Type | Values | Default |
---|---|---|
logical | OFF, ON | ON |
Description
By default this option is turned on and for a given surface both the irregular
and self-intersection test are performed. In many cases the caller might not be
interested in the self-intersection test, which can be expensive, if the
surface was already found to be irregular. To avoid the self-intersection check
for an irregular surface this option should be turned off.
[Top]
Type | Values | Default |
---|---|---|
integer | >= 0 | 0, #f |
Type | Values | Default |
---|---|---|
int | >= 0 | 0 |
; checker_limit ; Create some geometry ; Limit the number of checker errors obtained (option:set "checker_limit" 100) ;; #f (option:set "checker_limit" 1000) ;; 100 |
[Top]
Description
Turning on this option enables the display of cone parameter lines. The number
of parameter lines is set using the options u_param_lines
and v_param_lines. This option only applies to
Scheme AIDE.
[Top]
Description
If on, enables display of a cone silhouette. Option silhouettes must also be
on. This option only applies to Scheme AIDE.
[Top]
Type | Values | Default |
---|---|---|
boolean | #f, #t | #f |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | FALSE |
Description
For spline surfaces, if this option is on, the surface silhouette is calculated
on the approximating surface, in order to speed up the calculation. If this
option is off, the surface silhouette is calculated on the true surface.
; d3sil_approx_sf ; Use the approximating surface (option:set "d3sil_approx_sf" #t) ;; #f |
[Top]
Type | Values | Default |
---|---|---|
boolean | #f, #t | #f |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | FALSE |
Description
Enables the "D3" checks when turned on. This means that additional geometric
checks will be performed on
INTCURVEs and
SPLINEs when
api_check_entity is called. These checks are the same ones
invoked by
api_check_edge and
api_check_face.
; d3_checks ; Turn on additional checks (option:set "d3_checks" #t) ;; #f |
[Top]
Type | Values | Default |
---|---|---|
real | 0.5 |
|
Type | Values | Default |
---|---|---|
double | 0.5 |
|
Description
For non-tangent intersections, an angle criterion is used to decide whether to
treat the intersection as "fuzzy." If the dot product of the curve tangent and
surface normal is less than this angle criterion, the intersection is called
"fuzzy". The value is somewhat arbitrary, but too high imposes too much
overhead on simple cases, and too small causes too many near-coincidences to
fail.
; fuzzy_angle ; Set the fuzzy angle a little higher (option:set "fuzzy_angle" .6) ;; 0.5 |
[Top]
Description
This option only applies to Scheme AIDE.
[Top]
Description
This option only applies to Scheme AIDE.
[Top]
Type | Values | Default |
---|---|---|
boolean | #f, #t | #t |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | TRUE |
Description
If this option is on (default), the ACIS Checker considers periodic spline
faces that lack a periphery loop (that is, faces bounded instead by separation
loops) to be valid faces. If this option is off, this option considers them
invalid, and throws an error.
; periodic_no_seam ; Require periodic spline faces to have a periphery loop (option:set "periodic_no_seam" #f) ;; #t |
[Top]
Description
When on, enables the display of parameter lines on planes. The number of
parameter lines is set using the options u_param_lines
and v_param_lines. This option only applies to
Scheme AIDE.
[Top]
Description
If on, enables display of a plane silhouette. Option silhouettes must also be
on. This option only applies to Scheme AIDE.
[Top]
Type | Values | Default |
---|---|---|
boolean | #f,#t | #f |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | FALSE |
Description
This option is to be used in conjunction with the ACIS Checker,
api_check_entity. Important new checks have been introduced in
ACIS R14. To avoid major disruption when migrating to a new version of ACIS,
these checks have been put on a temporary option, r14_checks. The
migration plan is as follows:
ACIS R14 - r14_checks is FALSE by default
ACIS R15 - r14_checks is FALSE by default
ACIS R16 - r14_checks is TRUE by default
ACIS R17 - r14_checks is removed. The new checks are permanently
enabled.
Customers are urged to enable r14_checks in their applications as soon
as possible in order to maximize their migration time. Spatial reserves the
right to modify the migration schedule if deemed necessary. The checks are
valid and are not to be regarded as optional. The new check problems that may
be reported are:
CRV_BAD_FITOL ("Approximating curve is not within stated tolerance of true
curve")
CURVE_APPROX_OVERCLAMPED ("Curve approximation has knots with multiplicity
greater than the curve degree")
CVXTY_PTS_NOT_ON_MIXED_EDGE ("Mixed convexity edge has no convexity points.")
PART_OVERLAP_TVERT ("Partially overlapping tolerant vertex")
SHL_DISCONNECTED ("Entities in shell are not connected")
SHL_MISSING_ENTITIES ("Connected entities in shell are not listed")
SURF_BAD_FITOL ("Approximating surface is not within stated tolerance of true
surface")
SURF_SEFL_INT ("surface self-intersects") (for non-G1 surfaces)
[Top]
Type | Values | Default |
---|---|---|
boolean | #f,#t | #f |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | FALSE |
Description
In an optimized build this option is set to FALSE (its setting is TRUE in a
debug build). Turning it on means that all warning messages that the body
checker generates are added to the insanity list and are displayed. Some of the
warnings indicate problems in the geometry that might cause difficulties during
different modeling operations.
; show_warning_msg ; Set the warning messages display off (option:set "show_warning_msg" #f) ;; #t |
[Top]
Description
This option only applies to Scheme AIDE. If this option is on (true), API
api_silhouette_edges is used to calculate silhouettes. This
has some overhead (the API makes edges), but it tests the API. If this option
is off (false), silhouettes are calculated using lower level code (i.e., no API
is called and edges are not made).
[Top]
Type | Values | Default |
---|---|---|
boolean | #f,#t | #t |
Type | Values | Default |
---|---|---|
logical | FALSE, TRUE | TRUE |
Description
If on, instructs the D-Cubed silhouette algorithm to make
para_sil_int_curs
or
persp_sil_int_curs
as appropriate, instead of
surf_int_curs.
; silhouette_curves ; Turn option off (option:set "silhouette_curves" #f) ;; #t |
[Top]
Description
When on, enables the display of silhouette lines. Silhouette lines will be
displayed for a surface type if it has silhouette lines turned on (using an
option such as
plane_silhouettes,
cone_silhouettes, etc.) and this
option is also on. If this option is off, silhouettes are not displayed for any
surface type, even if individual surface types have silhouette lines turned on.
This option only applies to Scheme AIDE.
[Top]
Description
When set to "none", no elements are drawn. When set to "all", all elements on
the surface are sketched. When set to "face", only face interior elements and
boundary elements are sketched. This option only applies to the Test Harness.
[Top]
Description
Turning on this option enables the display of sphere parameter lines. The
number of parameter lines is set using the options u_param_lines
and v_param_lines. This option only applies to
Scheme AIDE.
[Top]
[Top]
Description
Turning on this option enables the display of spline parameter lines. The
number of parameter lines is set using the options u_param_lines
and v_param_lines. This option only applies to
Scheme AIDE.
[Top]
Description
If on, enables display of a spline silhouette. Option silhouettes must also be
on. This option only applies to Scheme AIDE.
[Top]
Description
When on, enables the display of parameter lines on tori. The number of
parameter lines is set using the options u_param_lines
and v_param_lines. This option only applies to
Scheme AIDE.
[Top]
Description
When on, enables the display of torus silhouettes. Option silhouettes must also
be on. This option only applies to Scheme AIDE.
[Top]
Description
This is used to calculate equally spaced u isoparametric curves on a
face, based on the number of lines specified. If the number is less than or
equal to zero, no parameter lines will be displayed. This option only applies
to Scheme AIDE.
[Top]
Description
This is used to calculate equally spaced v isoparametric curves on a
face, based on the number of lines specified. If the number is less than or
equal to zero, no parameter lines will be displayed. This option only applies
to Scheme AIDE.
[Top]
© 1989-2007 Spatial Corp., a Dassault Systèmes company. All rights reserved.