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; or in a C++ application using one of several API functions.

ihl_lines

Action
Sets the drawing of hidden lines on or off.

Name String
ihl_lines

Scheme
Type Values Default
boolean #f,#t #f

Description
This option turns the drawing of hidden lines on or off.

; ihl_lines
; Turn option on
(option:set "ihl_lines" #t)
;; #f

[Top]


ihl_lines_style

Action
Sets the drawing line style of hidden lines.

Name String
ihl_lines_style

Scheme
Type Values Default
integer -7 . . .7 0

Description
The ihl_lines_style option determines how hidden lines are drawn. This option is valid only if the ihl_lines option is on. The possible values and there meaning are:

0 hidden lines are drawn as dashed lines with the same color as visible lines. This setting works with X Windows driver graphics only.

+n hidden lines are drawn as solid lines with the color specified by n, where n is between 1 and 7, inclusive.

-n hidden lines are drawn as dashed lines with the color specified by n, where n is between 1 and 7, inclusive.

The color values 1 through 7 are red, green, blue, cyan, yellow, magenta, and white.

; ihl_lines_style
; Turn on drawing of hidden lines
(option:set "ihl_lines" #t)
;; #f
; Tell IHL to draw solid hidden lines
(option:set "ihl_lines_style" 2)
;; 0

[Top]


ihl_occlusion

Action
Sets the removal of overlapping segments in a viewing configuration on or off.

Name String
ihl_occlusion

Scheme
Type Values Default
boolean #f,#t #f

C++
Type Values Default
logical FALSE,TRUE FALSE

Description
If this option is set on (TRUE) it will turn occlusion on. If this option is set off (FALSE) it will turn occlusion off.

; ihl_occlusion
; Turn on removal of overlapping segments
(option:set "ihl_occlusion" #t)
;; #f

[Top]


ihl_occlusion_tol

Action
Sets the tolerance for occlusion.

Name String
ihl_occlusion_tol

Scheme
Type Values Default
real SPAresabs SPAresfit

C++
Type Values Default
double SPAresabs SPAresfit

Description
This option sets up the tolerance for occlusion to SPAresfit. The valid values for occlusion tolerance must be greater than SPAresabs.

; ihl_occlusion_tol
; Set the tolerance for removal of overlapping segments
(option:set "ihl_occlusion_tol" 0.001)
;; 0.001

[Top]


ihl_wire

Action
Sets hidden line removal for wires.

Name String
ihl_wire

Scheme
Type Values Default
boolean #f,#t #t

C++
Type Values Default
logical FALSE, TRUE TRUE

Description
This option turns on hidden line removal for wires when set to TRUE, and turns off hidden line removal for wires when set to FALSE.

; ihl_wire
; Set hidden line removal for wires
(option:set "ihl_wire" #f)
;; #t

[Top]