---------------------------- Original Message ----------------------------
Subject: Re: [Inkscape-devel] CVS for dxf import
From: "Matt Squires" <matthew.squires@...854...>
Date: Wed, August 31, 2005 3:16 pm
To: "John Taber" <jtaber@...480...>
--------------------------------------------------------------------------
The readme has links to the dxf files that I have been using. I have a
copy of AutoCAD at school, and use CadStd Lite at home. But CadStd lite
doesn't implement many features for that reason I am using the files that
I know exist and those are at Thorlabs and Newfocus.
here are the links to the two images on the web site. The first has two
elements that import incorrecty on the left hand side. I will try to get
to that in the next few days.
http://newfocus.com/images/mechanicaldrawings/edxf/9807e.dxf
http://newfocus.com/images/mechanicaldrawings/edxf/9051e.dxf
Thorlabs uses solid and trace a lot for their drawings. I haven't
supported those yet, so the drawings look a little funny. I currently
don't support dimensions so that also looks funny. AutoCAD sometimes
complains that their dxf is bad.
http://www.thorlabs.com/thorcat/1700/1708-E0W.dxf
http://www.thorlabs.com/thorcat/8500/8577-E0W.dxf
Later tonight I will put all the sample files that I used for initial work
in the dxf2svg folder, and will build a test file with AutoCAD that will
have most of the commonly used elements in dxf.
I have other comments...see notes below
Later - You should first post the examples that you have tested with,
so
far we have seen none, just an assurance or screenshot that it all works
- it is or should be your job to show the code works before we spend our
time checking it, you're the one being sponsored . And besides, you
I have tested with files of my own creation and from two separate
commercial companies. I also used the demo file from QCad, and it
imported great. I used commercial CAD drawing to get real drawings that
are used in the real world. I don't spend all my time looking for new
test files. I have 6-10 files from 4 different sources. Call it 15
files and 5 sources if you count the files from Eric. I have spent my
time trying to get the features to work in the files.
know it is pretty basic PhD 101 to show(prove) that your methodology
works. You should be treating this the same as any other research
project.
In all research projects I have been involved in it is only the most
proprietary researchers that withhold information from others. My
research group directly competes with a group in Germany, but I have never
had a question not answered or information withheld from them, even for
the stupid questions.
Matt Squires wrote:
> I just did a test using dxf versions R12, 2000, and 2004 and it loaded
with out
hanging. It used circles, plines with arcs, arcs, lines, and
text. It was created using AutoCAD 2004.
>
> If you can be more specific as to what was in the file I will try to
fix the
problem. Most of the segfaults in the code from last Saturday
came from blank lines in the dxf files, that has been completely fixed.
I assume you are refering to the file Eric tested. Did you also have
a file
> that segfaulted? If so, please send it to me. I can handle
large
attachments.
>
> Matt
>
>
>>The dxf2svg code still does not work for simple R12 dxf drawings (it
goes
into an indeterminate loop and every 3 minutes outputs the same
"translate..." line) - OpenOffice Draw code handles the same
translation perfectly in a microsecond. The first code submission (just
last Saturday), completely segfaulted. I don't think we should be the
ones having to test for such basic operation. Personally I think this
project still needs a lot of work to be finished and useful.
>>
>>Bryce Harrington wrote:
>>
>>>On Tue, Aug 30, 2005 at 10:08:51AM -0600, Matt Squires wrote:
>>>
>>>
>>>>Bryce,
>>>>
>>>>The dxf2svg part is coming along. I have gotten it to work in
>>>> Inkscape
>>>>with an .inx file. I would like to add it to the Inkscape CVS tree
under
>>>>share or extensions. Can I get CVS access and some
guidence where to
put
>>>>code that is not directly part of the Inkscape code
base but an
extension?
>>>>
>>>>I think there is a simple way to add dxf export using pstoedit. I
>>>> don't
>>>>know if anyone has tried it before, but I was able to do some simple
conversions. Again the only change would be .inx files.
>>>>
>>>>My SF id is squires
>>>
>>>
>>>Hi Matt,
>>>
>>>Thanks for posting the request; I've enabled your SF CVS access.
>>>
>>>Bryce
>>>
>>>
>>>-------------------------------------------------------
>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
>>>Agile & Plan-Driven Development * Managing Projects
& Teams * Testing
& QA
>>>Security * Process Improvement & Measurement *
>>>http://www.sqe.com/bsce5sf
>>>_______________________________________________
>>>Inkscape-devel mailing list
>>>Inkscape-devel(a)lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>>>
>>>
>>
>
>
>