Hi,
I have as input a line and precesion for angle and length for second line to draw, knowing that the angle is relative to first line.
Is there a way to caclulate the point considering relative angle ?
soemthing like the function : RVector createPolar (double radius, double angle) but with relative angle.
Thanks.
Line drawing with relative angle
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Re: Line drawing with relative angle
You can get the angle of a line using line.getAngle(), then add the relative angle to that.
Re: Line drawing with relative angle
I see, thanks again.