ReducePointsInString

Top 

Reduce from points in lines by extinguish from interpoints. Currently are worked on all string of the selection amount.

Functionality: Interpoints in straight line are determined after the plumb line procedure. If the plumb line on the distance defined by the neighbouring crease points can be felled by the test point and remains the plumb line length within a given tolerance, this point is a "Geradenzwischenpunkt". The directness test can be extended optionally still by a bending. In the following Pt calls the test point, "Pvor" his predecessor and "Pnach" his successor's point in the string. If the direction corners of the distances Pvor, Pt and Pt, Pnach differ too strongly, Pt is no Geradenzwischenpunkt. Points with LINK_R-or LINK_P connection are not valid basically as "a Geradenzwischenpunkte". In the Default setting are also interchanges, i.e. points on which symbols lie or which seem according to situation identically in other string, no "Geradenzwischenpunkte". The directness test analyses 3 neighbouring points, a successive sequence of Geradenzwischenpunkten could still form a curve. In this case suitable Geradenzwischenpunkte are valued as crease points.

 

 

Parametre

Tolerance/<n.n>

At most allowed plumb line length in metres. Defaultwert: 1.0.

Maxdiffangle/<n.n> (optionally)

At most allowed difference of the direction corners.

By predoing one

Letters the square can be determined:

D degree

R Radiant (curve measure)

G New degree

Without introduced dimension abbreviation is the unity Radiant.

/WORKKNOTS (optionally)

Also interchanges are potential Geradenzwischenpunkte.

/PLINKEDIT (optionally)

LINK_P connections are substituted with LINK_L connections.

/RLINKEDIT (optionally)

LINK_R connections are substituted with left l connections.

/VIEW_ONLY (optionally)

With information of this counter no data update is carried out. Instead, crease points become by blue, shown Geradenzwischenpunkte by red display markers.

Return value

Value

Description

0

Call was carried out successfully

But

Mistake appeared

 

 

 

 

Example

ReducePointsInString Tolerance / 0.3 Maxdiffangle / D10.0/view_only

Here Geradenzwischenpunkte with an allowed distance are determined to the straight lines of 0.3 metres and an allowed crease corner by 10 Altgrad. The result is only indicated.