extrude.set.zone.autodir

Syntax

i := extrude.set.zone.autodir(sp)
extrude.set.zone.target.autodir(sp) := i

The function only applies to 3D case (when 3D zones are generated from the Extruder).

Get/set the flag for auto-zoning direction. Possible return/assignment values are: 0 = all (both directions); 1 = x,y (construction direction); 2 - normal (extrusion direction).

Returns:i - integer
Accepts:i - integer
Arguments:sp - extrude set pointer