[Solved] Drawing Polygons

Discuss the drawing application

[Solved] Drawing Polygons

Postby nav17kapur » Fri Jul 18, 2008 5:28 pm

Hi...I need to draw Polygons. I know how to draw Polylines. Can I draw a randomly-shaped polygon using the same method??

I try to put the last point exactly on the last one (stupid thing to try) and as expected, I wasn't getting anywhere.
Last edited by nav17kapur on Fri Jul 18, 2008 6:16 pm, edited 1 time in total.
OOo 2.3.X on openSuse other + Microsoft Vista
nav17kapur
 
Posts: 6
Joined: Thu Jul 10, 2008 4:31 pm

Re: Drawing Polygons

Postby Hagar Delest » Fri Jul 18, 2008 5:51 pm

nav17kapur wrote:I try to put the last point exactly on the last one (stupid thing to try) and as expected, I wasn't getting anywhere.

You mean the last one on the first one?
Keep it open, double click to create it and then right click and select Close object.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
AOO 4.1.6 on Xubuntu 19.04 and 4.1.5 on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28560
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Drawing Polygons

Postby Villeroy » Fri Jul 18, 2008 5:53 pm

Some very bright person used the programming interface and came up with a collection of macros to draw all kinds of regular shapes: Danny's Draw Power Tools
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 27226
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Solved]Drawing Polygons

Postby acknak » Fri Jul 18, 2008 6:46 pm

There are regular polygons having 4, 5, and 6 sides available through the "Basic Shapes" palette on the Drawing toolbar.

There is no equilateral triangle (as far as I can see), but it is possible (although not trivial) to construct one.

As for freehand closed polygons, when you've created the last vertex, just double click on the first point: Draw will close the polygon for you. Just be aware that this will also create an extra point, which is usually not noticeable and easily removed if necessary.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Drawing Polygons

Postby aasdfasdfg » Wed Apr 07, 2010 9:59 pm

Today I was messing around with the open office polygon tool and this was the first hit in google search. I was trying to make an "open ended" polygon, basically a line with several kinks. I kept trying to right click to end, but instead this only deleted the entire figure. Finally, after trial and error, I found that a simultaneous right and left click ended the polygon exactly how I wanted it to.
There was no right click menu - I was very confused. This is just a post to help others that could still be confused after the "solution" presented here.
ooo-build 3.2.0.7, Debian 1:3.2.0-4ubuntu3, Thu Apr 1 21:44:26 UTC 2010
aasdfasdfg
 
Posts: 1
Joined: Wed Apr 07, 2010 9:55 pm

Re: [Solved] Drawing Polygons

Postby acknak » Wed Apr 07, 2010 10:28 pm

Thanks for the follow-up, but your description does not seem to correspond with the way OOo works for me.

When creating a polyline, the first segment is created by dragging the mouse. After that, left click adds new vertex; right click deletes the previous vertex; double-click creates a new vertex and ends the polyline. If the final point is close to the starting point, the polyline is closed.

Left+right click does something similar to right-click: the last point is deleted and a new point is made.

Pressing Escape cancels the operation and deletes the entire polyline.

Maybe I misunderstood your description, or maybe this is a difference in OOo coming from OO.org vs. go-ooo.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Drawing Polygons

Postby jricjr » Fri Jul 12, 2019 12:58 am

I have yet to be able to turn a set of lines into a closed polygon. What works for me is to lock the layer, create a new layer, then use the polygon tool to trace my original drawing and create the new polygon.
OpenOffice 4.1.2 on MacOS 10.10.5
jricjr
 
Posts: 1
Joined: Thu Mar 03, 2016 4:58 am

Re: [Solved] Drawing Polygons

Postby John_Ha » Sat Jul 13, 2019 11:40 pm

Use Snap to object points to snap the last line exactly to the start of the first line.
AOO 4.1.6, Windows 7 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.
John_Ha
Volunteer
 
Posts: 6816
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Draw

Who is online

Users browsing this forum: No registered users and 1 guest