TOL_ANG

Set the angular tolerance factor for generalization.

Parameters

Parameter number Description Values Optional
1 Numeric value. If omitted, the status bar displays a text box for entering the value. Real number or ? Yes

Examples

TOL_ANG=45

Set the angular tolerance to 45 degrees.

TOL_ANG=?

Display the current angular tolerance.

Notes

Enter the value in degrees. The initial value when Digi3D.AI starts is 4.58, and assigned values are not preserved when the application closes.

Angular tolerance applies only to a span in which no vertex's distance from the straight line through the span's ends exceeds the linear tolerance. When angular tolerance applies, GEN and GEN_2D calculate each intermediate vertex's deviation angle α from that line, viewed from the end farther from the vertex. If the greatest angle exceeds TOL_ANG, retain that vertex to preserve the entity's shape and split the span in two at that vertex.

A-B span with three vertices: P1 outside TOL is retained, P2 within TOL but with an angle greater than TOL_ANG is retained, and P3 is removed

With TOL_ANG set to 0, no vertex is removed unless it is exactly aligned with the span's ends: any angle greater than 0 retains it.

Command characteristics

Command type Real variable
Repeats automatically No
Menu option This command has no associated menu option
Toolbar This command has no associated toolbar button
Extension DigiNG.OrdenesStandard.dll
Implementation Native
Related variables TOL
Internal name