Thanks tedg
but at the moment I don't see a way to solve it with the standard "fillet" commands. The current question is:
What's the background (the formula) of calculating a fillet of two lines?
Maybe I don't understand your process,
But your original post mentioned you want to fillet a pline with a defined radius, and if a segment is too short, to not have it fillet it.
And so that's what I was proposing, the fillet > polyline command does this and reports back what was filleted and what wasn't (if too short).
I have a simple lisp that this:
;;fillet polyline command that askes for radius first
(defun c:frp (/ rad pol fr)
(setq rad (getreal "Radius?")) (terpri);;<<-you define your desired radius
(setq pol (ssget))
(setq fr (getvar "filletrad"))
(setvar "filletrad" rad )
(command ".fillet" "p" pol)
(setvar "filletrad" fr)
(princ)
)
Hope it helps, or maybe you could explain more why you need something different.