[Drawkit] Drawkit Digest, Vol 9, Issue 1

Brad Larson larson at sonoplot.com
Fri Nov 7 14:23:07 PST 2008


On Nov 6, 2008, at 12:20 AM, Bill Monk wrote:

> Hi. I've been following this list with interest since its inception,  
> but have only now had a chance to use DrawKit in a project.
>
> I'd like to use it as a rather basic "polygon editor" for four  
> NSPoints supplied by the user. Using DrawkitSimplerDemo, I've got a  
> window up which works fine. (Fine? It works great! The number of  
> features is amazing - most of my work was in removing things not  
> required but this simple editor.)
>
> What I need to do now is
> 1) programmatically create an initial polygon from the supplied  
> points users.
> 2) When the window closes, I need to get the (possibly edited)  
> points back out.
>

As an example of programmatic object creation and value extraction,  
I've posted the latest source code to our DrawKit-based CAD software  
for our robotic systems: http://www.sonoplot.com/SonoDraw/SonoDraw_2_1_source.zip 
  .  We do custom object creation and saving in our XML file loading  
and saving methods.

In order to get that project to compile, you'll need a patched version  
of the DrawKit Beta 4 release that we have here: http://www.sonoplot.com/SonoDraw/DrawKit_11072008.zip 
  .  You'll also need the current version of the Sparkle updater  
framework: http://sparkle.andymatuschak.org/ .  SonoDraw, DrawKit, and  
Sparkle all need to be based out of the same root directory.

We're still working on the section of our website that will host the  
SonoDraw project and documentation.

______________________
Brad Larson, Ph.D.
SonoPlot, Inc.
3030 Laura Lane, Suite 120
Middleton, WI 53562






More information about the Drawkit mailing list