dxf_import.py ghost (partial copy) artefacts when BLOCKS import from DXF

Bug #1313156 reported by dormouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Also dxf_import.py has a bug - when inserts a block from .DXF a ghostly part of the block present. After opening this dxf in QCAD and EXPLODE than re-export ghos-parts disapper.

Files in archive -
1. DXF causing problem
2. DXF after EXPLODE command ( not causing a problem)
3. Inkscape screenshot right after importing 1) with ghostly copy (part of the original DXF is copied during import operation by dxf_input.py)

Affected: Inkscape 0.48.4-stable and current development release, Windows and Ubuntu tested.

Tags: dxf importing
Revision history for this message
dormouse (dormouse) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

these circles also show up in QCad as well. I would suggest you delete them in QCad before saving the file as .dxf

alternatively, you can delete them directly in Inkscape, in the XML editor, by selecting circles with negative x and deleting them. But the better approach would be to delete them at the source, before saving the dxf file.

su_v (suv-lp)
tags: added: importing
removed: block import insert
Revision history for this message
dormouse (dormouse) wrote :

There is NO ghosts when I open "case.dxf" from initial post in QCAD 3.4.7.0. (screenshot included)
Also there is NO ghosts in Autocad ( it was used to convert original .dwg to .dxf)
Also there is NO ghost copy in original Inventor 3d model which exports .dwg drawing.

Please recheck what we are talking about.

Revision history for this message
dormouse (dormouse) wrote :

Also latest dxf_import.py which causes trouble whith inkex.localize() workaround (it will run now under 0.48.4-stable release)
Taken from ticket #1308986

Revision history for this message
Alvin Penner (apenner) wrote :

I am using QCad 2.1.3.2, which shows the ghosts.

 with respect to the Python code, I would recommend upgrading to the latest versions of dxf_input.py, inkex.py, simplestyle.py. These can be obtained at:
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head:/share/extensions/

Revision history for this message
dormouse (dormouse) wrote :

I think this QCad 2.1.3.2 also suffers from incorrect BLOCK/INSERTS workflow.
All latest software show no evidence of this ghost-copies.

Note: DXF standart in this file is ~R14 (dating year 2000) so it shoud be well-documented. It was very handy when I understood dxf_input source code to provide gcodetools-points import functionality.

Sorry, I have not enough time now to investigate inside this ghost-copy problem...

Revision history for this message
Alvin Penner (apenner) wrote :

    sorry to give you a hard time about this, but I just installed QCad 3.4.7, the latest version, on Windows XP, and the appearance is the same as before. Screenshot attached. The ghosts are still present as before, in QCad. It appears that the left side in QCad is an exact mirror image of the right side. Perhaps there is some setting or preference in QCad that could disable this behavior.
    In any event, I believe this should be fixed or edited in QCad, or in AutoCAD, not in Inkscape.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.