Inhalt

Index

Special constraints for segments and arcs

By adding special constraints to the status code value, you can transform polylines' segments in arcs.

The additional code defines what kind of line is between start point and end point. It always refers to the following element. The number added to the status code specifies the constraint.

si [+ a_code]: status code and form of next segment

Segment based on absolute end point ("normal", 0)

x, y, 0+s

x, y: X and Y coordinates of end point

0: next segment ends with absolute point

s (0 < s < 100): status value

Segment based on relative end point (100)

dx, dy, 100+s

dx, dy: distance from start point to end point, in X and Y direction

100: next segment ends with point relative to start point

s (0 < s < 100): status value

Segment based on length and direction (200)

l, a, 200+s

l: length of segment

a: direction angle

200: next segment is defined by length and direction

s (0 < s < 100): status value

Tangential segment based on length (300)

l, 0, 300+s

l: length of segment

300: next segment is tangential and defined by length

s (0 < s < 100): status value

Set start point (600)

x1, y1, 600

x1, y1: X and Y coordinates of new start point

600: next segment has new start point

Closed polyline (700)

0, 0, 700

700: close polyline

Set tangent (800)

ex, ey, 800

800: set tangent

Set center point (900)

x0, y0, 900

x0, y0: X and Y coordinates of center point

900: set new center point

Tangential arc to end point (1000)

x, y, 1000+s

x, y: X and Y coordinates

1000: next segment is a tangential arc to end point

s (0 < s < 100): status value

Tangential arc based on radius and angle (2000)

r, a, 2000+s

r: radius

a: arc

2000: next segment is a tangential arc defined by radius and angle

s (0 < s < 100): status value

Arc based on center point and point on the final radius (3000)

x, y, 3000+s,

x, y: X and Y coordinates of point on radius

3000: next segment is an arc defined by center point and point on the final radius

s (0 < s < 100): status value

Arc based on center point and angle (4000)

0, a, 4000+s,

a: angle, in degrees

4000: next segment is an arc defined by center point and angle

s (0 < s < 100): status value

Full circle based on center point and radius (4000)

r, 360, 4000+s,

r: radius

360: angle for full circle

4000: next segment is an arc defined by center point and an 360 deg angle (full circle)

s (0 < s < 100): status value



Allplan

(C) ALLPLAN GmbH

Privacy policy