[Solved] How to draw/measure diagonal lines to scale

Discuss the drawing application
Post Reply
cwid77
Posts: 4
Joined: Fri May 22, 2020 6:28 pm

[Solved] How to draw/measure diagonal lines to scale

Post by cwid77 »

Having a hard time figuring this one out...
I am using Draw to sketch lot plans to scale.
The problem I am facing is with diagonal lines. In the "Position and Size" settings of a line, it gives me values for width and height, but not for an actual line length of the diagonal line. I thought that maybe one of those values would be what I am looking for, but after testing it definitely is NOT.

Any help

Thanks!
Last edited by Hagar Delest on Sat May 23, 2020 12:46 pm, edited 1 time in total.
Reason: tagged solved
OpenOffice 4 on Windows 10
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: How to draw/measure diagonal lines to scale

Post by John_Ha »

That is how it works.

As you have found Draw isn't really easy to use for scaled drawings. It is much better for things like process charts. However, see Drawing to Scale in Chapter 10 - Advanced Drawing Techniques in the Draw Guide which begins:
Drawing to scale

Draw is not a CAD (computer-aided design) program but a graphics program with which you can produce drawings to scale. The example used for this chapter is a drawing of a Logic Circuit Diagram.
Try a free CAD system like DraftSight, LibreCAD, DoubleCAD, BabaCAD etc.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
keme
Volunteer
Posts: 3699
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: How to draw/measure diagonal lines to scale

Post by keme »

My workaround is to use dimension lines. A bit kludgy at first, perhaps, but once you get used to it, it is almost workable ;-)

The procedure outlined can also be used on plain lines if you decide that you don't need dimension lines.

If you can't drag to exact dimension, you can enter manually. First ensure that the line is level, then set length. (If you try to rotate and resize in one go, the line tends to behave erratic):
  • Right click the line and select Position and size
  • Select the Rotation tab
  • Enter angle 0 (zero). OK
  • Right click the line and select Position and size
  • Select the Position and size tab
  • In the Size section, set Width to the length you want. OK
Click once again on a selected line to toggle between drag/resize mode and rotation mode. The handles change color, and in rotation mode you have a "crosshair handle" in the middle. This is the pivot point which you can drag e.g. to one endpoint before rotating. Start drag from an endpoint to rotate. If you drag to move the line when in rotation mode, the pivot point stays in place. Toggle between modes to center it on the line again.

You can also "rotate by numbers", by revisiting the rotation settings. This gives you precise control of placement and angle.

The dimension line has the obvious advantage that it displays the dimension. In addition, it will always be on the Dimension lines layer. Shift+click the layer tab to toggle visibility of objects on that layer. If you used the dimension line for spacing but also need the simple line, a "proper" line can be drawn with "snap" to the endpoints of the dimension line.
cwid77
Posts: 4
Joined: Fri May 22, 2020 6:28 pm

Re: How to draw/measure diagonal lines to scale

Post by cwid77 »

Awesome workaround... thanks. That will help for sure.

C
OpenOffice 4 on Windows 10
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: How to draw/measure diagonal lines to scale

Post by John_Ha »

cwid77 wrote:Awesome workaround... thanks. That will help for sure.
Trust me - a CAD package will be much easier.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
keme
Volunteer
Posts: 3699
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: How to draw/measure diagonal lines to scale

Post by keme »

John_Ha wrote:
cwid77 wrote:Awesome workaround... thanks. That will help for sure.
Trust me - a CAD package will be much easier.
Agreed!

If it is a one-off case, or a smooth integration with the other Office apps is of great importance, that "almost workable" workaround may be good enough. If you do this a lot, definitely get some CAD tool. There are quite a few opensource/free tools out there, and some of the commercial ones offer a free license for personal/starting business use. There is a learning threshold, but you will benefit from it in the long run.
Last edited by keme on Sat May 23, 2020 3:20 pm, edited 1 time in total.
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] How to draw/measure diagonal lines to scale

Post by John_Ha »

keme wrote:If ... smooth integration with the other Office apps is of great importance
LO opens .DXF files - the AutoCAD Interchange Format also used by many other CAD systems.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Post Reply