Seg2P + SegCur
---------------
returns coordinate of a point at a given ratio between 2 points or on a curve
(a generalized M2P)

Load the SEG2P.VLX file with _APPLOAD. Then at any coordinate-prompt you can
type "'seg2p" or "'segcur" (transparent commands), or alternatively the (seg2p)
and (segcur) LISP functions. Then specify the segment ratio (distance).

Seg2P returns coordinates of a segment between two points.
SegCur returns coordinates of a segment measured on a curve entity.

You can enter the ratio either as "0.25" or as "1/4".

Example:
_POINT
Specify point: 'seg2p
 SEG2P> First point for segment: _
 SEG2P> Second point for segment: _
 SEG2P> Segment ratio <0.5>: 3/4
(123.45 678.9 0.0)
 
NB:
Make sure you have no OSNAP active when using the function - the resulting 
coordinate may get "snapped" to the midpoint, endpoint, intersection, etc.

NB:
You can preset the default segment ratio with the seg_ratio variable:
(setq seg_ratio 0.8)

-------------------------------------------------------
(C)2009 CAD Studio - www.cadstudio.cz - www.cadforum.cz
