The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Some lines with same center and different angles (http://forums.omnigroup.com/showthread.php?t=12836)

jochen 2009-06-22 09:43 AM

Some lines with same center and different angles
 
Maybe I'm stupid.

I which elegant way I can draw a lot of lines with the same center and different angles.
At moment I draw one line, duplicate the line, change the angle, move the line to the center and so one.
But it's not so professional when I need more than 3 lines.
Can I create one line and make "n" copies around same circle with "m" angles ?

Jochen

HunterBoss 2009-07-02 11:03 AM

Jochen

wow. good question. If there is a way to do this, I haven't been able to find it.

Anybody?

Christopher

jochen 2009-07-03 03:57 AM

[QUOTE=HunterBoss;62145]Jochen

wow. good question.

Christopher[/QUOTE]

Ohaaaa.

In this cosy unhurriedly forum user get compliments for the questions.

Jochen ;-)

whpalmer4 2009-07-03 08:39 AM

Sounds like a job for Applescript, no? Peter McMaster's [URL="http://www.petermcm.dircon.co.uk/software/og_circle_arrange/index.html"]Arrange in a Circle script[/URL] might provide a starting point...

Chris 2009-07-03 04:03 PM

What are typical values of "m" and "n"? What are you trying to achieve in the end?

If I needed something like this, I would probably make some stencils of a couple lines crossed at different angles that I could use to compose the final figure.

jochen 2009-07-05 06:32 AM

[QUOTE=whpalmer4;62173]Sounds like a job for Applescript, no? Peter McMaster's [URL="http://www.petermcm.dircon.co.uk/software/og_circle_arrange/index.html"]Arrange in a Circle script[/URL] might provide a starting point...[/QUOTE]

It doesn't work.
Script old.
1.0 (2005-07-06) ?

My mistake ?

I create a new diagram.
I draw one line
I duplicate this line for 7 times
I activate all 8 lines
I start the script with value 50 for radius
I make OK

Nothing ?

Jochen

jochen 2009-07-05 06:42 AM

Now I see it works, BUT NOT WITH LINES ;-(

Only with shapes ;-)

In an other application there is a simple way.

Create a line.
Select the line.
Then use command "Duplicate around point" for 3 times and result is 4 lines with 90°

Jochen

Chris 2009-07-05 08:47 AM

[QUOTE=jochen;62223]Now I see it works, BUT NOT WITH LINES ;-(

Only with shapes ;-)
Jochen[/QUOTE]

Isn't there a shape that's just a line? I have one in my shape inspector, but maybe I made it myself (using the instructions [URL="http://forums.omnigroup.com/showthread.php?t=856"]here[/URL]).

jochen 2009-07-05 11:33 AM

[QUOTE=Chris;62229]Isn't there a shape that's just a line? I have one in my shape inspector, but maybe I made it myself (using the instructions [URL="http://forums.omnigroup.com/showthread.php?t=856"]here[/URL]).[/QUOTE]


Oh I see. there is a line in shape inspector. When I use this "shape" the script works well.

Thanks

Jochen

whpalmer4 2009-07-05 01:40 PM

I wasn't suggesting that the script would work "as is", only that it might be a guide to how you might construct a script that did what you need. I'm happy to hear that it apparently does work for you (when you use the line shape)!


All times are GMT -8. The time now is 12:23 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.