[Drawkit] DXF reader and DrawKit text objects
Allan
allandaly at me.com
Thu Feb 5 22:12:35 PST 2009
Brad,
I would be more than happy to collaborate with you on the DXF reader
framework. I will see what I can do to wrap up something for you to
look at this weekend.
Conceptually all I've done is create a base DXFEntity class that holds
the common entity properties and then also created a number of sub-
classes -- one for each specific type of entity with properties that
align to the AutoCAD DXF spec. These objects are created by a DXFModel
object that parses apart the DXF file and creates an array of these
entities. From there, any program can iterate through the array of
entities and extract whatever info is needed from the entity
properties. From looking at what you've done in SonoPlot I would think
you could adapt to this structure pretty easily.
Seems to me that it would be polite to Graham to move emails along
these lines off of the DrawKit list since this does not directly
relate to DK.
-Allan
On Feb 5, 2009, at 2:31 PM, Brad Larson wrote:
>
> Sounds very interesting. We're about to bring on someone here to
> help us with software tasks, and one of the things I'd like for him
> to work on is DXF import support. If you'd like, I could have him
> coordinate with you on this, on- or off-list.
>
>
> ______________________
> Brad Larson, Ph.D.
> SonoPlot, Inc.
> 3030 Laura Lane, Suite 120
> Middleton, WI 53562
>
>
>
>
> _______________________________________________
> Drawkit mailing list
> Drawkit at lists.apptree.net
> http://lists.apptree.net/listinfo.cgi/drawkit-apptree.net
More information about the Drawkit
mailing list