Property box not showing angles of lines

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Property box not showing angles of lines

SwanseaMick
I am a newbie to Librecad, and have a need to draw lines starting at a specific start point, at a specific angle and specific length.

How do I amend a line, when the property box only shows x-y co-ordinates of start and finish of line?

Is there a way property box can be altered to show x-y cordinates of start, Length of Line and Angle, so that they can be amended when necessary?
Reply | Threaded
Open this post in threaded view
|

Re: Property box not showing angles of lines

LordOfBikes
Administrator
Welcome SwanseaMick!

Changing the property box is only possibly by coding, there is no GUI switch or property to do this.

The best way is to draw the line with correct properties at all.
Click on the starting point or enter coordinates in command line.
Then enter @ANGLE,LENGTH in the command line.
E.g. @45,12.5 will create a line of length 12.5 at an angle of 45° from the start point.

The other option is to use geometry rules, e.g. draw a circle with center in the start point and a radius of desired line length.
Then you can trim the line with the circles circumference and delete the circle again.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Property box not showing angles of lines

SwanseaMick
Thanks.
I can work with that
I have a follow on question:

Entering following comands

Line
0,0
@45,200

It drew a line 200 units long, starting at point 0,0 but angle definitely not 45 degrees. (more like 75)
(Drawing preferences: Length Decimal and Angle Degrees Decimal)

Am I missing something?
Reply | Threaded
Open this post in threaded view
|

Re: Property box not showing angles of lines

SwanseaMick
According to command line help, I think you had your example command wrong!

You wrote @45, 12.5
When it should have read 12.5<45

Changing my last command to 200<45 seemed to work correctly!
Reply | Threaded
Open this post in threaded view
|

Re: Property box not showing angles of lines

LordOfBikes
Administrator
Pardon me! Of course, you are right, it's my fault.
My example was relative coordinates, not relative angle.
@45,200 drew a line which ended at X (startX + 45) and Y (startY + 200).
I'm glad that you figured this out yourself.
investing less than half an hour into Search function can save hours or days of waiting for a solution