[Drawkit] DXFReader framework

Bill Monk billmonk at mac.com
Fri Apr 10 17:30:45 PDT 2009


On Apr 7, 2009, at 3:02 PM, Allan Daly <allandaly at me.com>:

>> DXFReader and DKSimpleDXF all need to be set to build into the  
>> DrawKit
>> build directory. If you can get everything to build into there it
>> should work. And as Mike wrote you need to use garbage collection.
>> Give it a try and let me know if any errors crop up. (The arrangement
>> is the same as Graham's DKSimpleDemo application uses

Thanks Allan and Michael!  I re-set everything up from scratch using  
fresh downloads and got it all working. Will post the exact steps in  
case it's useful to someone else in another msg.

> If you really need this and are willing to help us out

Yes, definitely. I've got a few typos and little things for  
DKSimpleDXF and DXFReader...

> The DKSimpleDXF implementation does not yet handle BLOCKS (I'm working
> on that right now

Excellentl! I'm wanting to import DXFs with INSERTs, and just this  
afternoon fleshed out a BBDXFInsertEntity.m/h, following the style and  
HeaderDoc stuff in the existing parsers classes. Then added INSERT  
support to DKSimpleDXF, and it works - at least as far parsing the  
inserted BLOCK names, insertion points, rotation angle, scaling  
factors and extrusion directions, etc.

But of course it needs to reference the actual BLOCKs to do anything  
useful. Would be happy to send you the diffs, and you can see what you  
think. There were a couple questions that came up that I'd like to ask  
you, but will take those off list.

-Bill

PS. Apologies to the list for posting with a "Digest" Subject line  
AGAIN. That's twice now, argh...


More information about the Drawkit mailing list