The Omni Group Forums

The Omni Group Forums (
-   OmniGraphSketcher General (
-   -   Circles? (

1939mars 2011-02-07 10:16 AM

Have not found a reference to this one. Is there a way to make circles in OGS? I see places where folks have oversampled sine-waves, etc. Unfortunately I always end up with circles that look a little odd, even with oversampling. So, I am wondering if there is just a point-radius type of circle available.


dave_m 2011-02-08 08:12 AM

1 Attachment(s)
There's no way to add a circle shape to the graph currently, but we do have a feature request open in the development database.

If you really need a circle, the best workaround is to use numbers or some other program to sample *a lot* of points. 36 (one every ten degrees) seems to get around the "bump" at the start/finish pretty well. I've attached an .xls file.

dave_m 2011-02-09 03:55 PM

1 Attachment(s)
Okay, the new best method for plotting circles is to use the attached AppleScript.

This AppleScript and corresponding python script calculate a number of points in a circle given that circle's center and radius, and paste those points into OmniGraphSketcher using system events. The default number of points is 36, and can be changed by editing the variable "segments" in line 7 of To connect the points plotted by this script, use the "Connect Points" button at the bottom of the Data inspector.

To add as a toolbar button in OmniGraphSketcher, place the entire Circle folder in the directory ~/Library/Scripts/Applications/OmniGraphSketcher/ (where ~ is your user directory), then add the button using View > Customize Toolbar...

The the .scpt and .py files must be in the same directory for the script to work. Feedback is welcome; please [EMAIL=""]email[/EMAIL] with your questions or concerns.

edit: outdated script removed

dave_m 2011-08-11 11:25 AM

I've updated the circle-plotting script to work with locales using ',' as a decimal separator, while keeping support for the US and other locales using '.'. It has a new home:


All times are GMT -8. The time now is 04:39 AM.

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