IMPORT DXF AND NOT SHOWING BLOCKS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

IMPORT DXF AND NOT SHOWING BLOCKS

ben83
Hi Guys,

When I try to import in DXF files the dimensions are coming in as blocks and for some reason I cannot see these blocks.  When I click edit block it opens a separate window and the dimension is there.  Why can I not see the blocks in my main drawing ?
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

dxli

Hi ben83,

can you provide a testcase dxf?

ben83 wrote
Hi Guys,

When I try to import in DXF files the dimensions are coming in as blocks and for some reason I cannot see these blocks.  When I click edit block it opens a separate window and the dimension is there.  Why can I not see the blocks in my main drawing ?
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
 (Librecad 2.0.9-38-g57e7037 / Mac OS 10.10.3 Yosemite )

As ben83  I encounter a problem when importing a .DXF (correctly opened by (e.g.) e-drawing) :
all dimensions become so small they are unreadable, and figures are all converted to 00.000.

here attached, two files: the original DXF as opened and saved by e-drawing,
the coopy as opened and saved by librecad
two_dxf.zip
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

ravas
Hopefully our dimensions specialist Rallaz will resurface soon...

The conversion to 0.0000 is beyond me.

For the text size you can use Current Drawing Preferences -> Dimensions -> Text height
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4

Thank you ravas
I tried your 'edit -> Current Drawing Preferences -> Dimensions -> Text height' 
suggestion, but nothing shows up.

Could it be that the layer where 'dimensions' are stored in my (ComputerVision made)
DXF files is invisible to Librecad?  (reminder, this layer is visible in SolidWorks e-drawings)

PS: where on this forum may I ask if there is a Librecad training curse in the Paris
or Grenoble area ?
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

ravas
For some reason that option uses a combobox with a max value of 5.
Try entering a much larger number.
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
dear ravas,  when doing this (scale 50) I get a huge 0.000 figure and when I trigger the autozoom, the drawing itself becomes so small it's almost invisible below the 0.000
That is very strange because my friends using Cad programs under windows perfectly open the dimensions
data carried in the very same file I am unable to correctly open with LibreCad for Mac.
(I am runing Yosemite)

Another strange thing: when selecting:   file ->export -> export as pdf
I get an empty 1K file

Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

ravas
Try selecting a paper size in current drawing preferences,
and change the scale in print preview.
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
Thanks, this perfectly works, problem solved ;)
Now only remains to extract the lost dimensions from their 0.000 Kelvin deep space
(I hope Rallaz is not retained for too long in the same location).
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
This post was updated on .
Adobe Illustrator, DraftSight or eDrawings can open my DXF files
with their dimensions, but LibreCad opens them with almost invisible 00.000 figures only.

I changed "current drawing preferences -> dimensions", but as soon as I click the OK button,
without even changing any value, all the tiny imported 00.000 dimensions disappear.
Exiting with 'save', makes them not to appear again when reopening the saved file.

Mac Yosemite 10.10.5 / LibreCAD_2-1-0_alpha-02.



Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
In reply to this post by ravas
reading  your Feb 06 reply to springer :
 " With OS X 10.11.1 / Qt 5.5.1 and the latest LibreCAD code the dimensioning issue does not exist. ", should I install El Capitan in my Mac?  I was reluctant until now but if this solves my dimension import problem, I will do it !!!

ESCAL_origin.DXF
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

ravas
I tried your file.
I had to set General Scale and Length Factor to 1
and the text height to 5,
and then the dimension at (0,0) appeared.
However, it is 0.0000

Unfortunately there are no developers experienced enough or interested enough to solve this right now.

Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
So, I am in dire staits with my Mac.

Can you give me two minutes of your time to open
this PersonalDesigner-made DXF file
with LibreCad / Windows ?

If it works I wil borrow a PC :)
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

ravas
Aside from the GUI style / rendering and some hotkeys, LibreCAD will function the same on both operating systems.
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
Do you mean that whatever the OS, Windows or Mac,
LibreCad can't import a foreign DXF drawing with its dimensions?
I know there is a myriad flavors of DXF on Earth but I still hope there is at least one
in the attached list which is compatible with LibreCad !!
Would you tell me which one ?
Merci !!

DXF_flavor_list_by_DraftSight.jpg
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

ravas
I can't say for sure, but I did find this in drw_base.h

namespace DRW {

//! Version numbers for the DXF Format.
enum Version {
    UNKNOWNV,     /*!< UNKNOWN VERSION. */
    AC1006,       /*!< R10. */
    AC1009,       /*!< R11 & R12. */
    AC1012,       /*!< R13. */
    AC1014,       /*!< R14. */
    AC1015,       /*!< ACAD 2000. */
    AC1018,       /*!< ACAD 2004. */
    AC1021,       /*!< ACAD 2007. */
    AC1024,       /*!< ACAD 2010. */
    AC1027        /*!< ACAD 2013. */
};
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
hello Feragon,
thank you for your offer, here is the proof: 1540036_import_librecad_00000_.zip

-1 original made by ComputerVision's PersonalDesigner
-2 as opened by LC : no arrows, numbers converted to miniature 00000
-3 perfectly opened by DraftSight
-4 yellow dimensions added by drafsight, saved as Ascii R2013
-5 drafsight added dimensions are correctly opened by LC,
    the PD original ones are now visible but still zeros and no arrows.

joli casse-tĂȘte ins't ?
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

ravas
You are encouraged to post bug reports and feature requests:
https://github.com/LibreCAD/LibreCAD/issues

It makes them more prominent, and potentially exposes them to more developers.
Reply | Threaded
Open this post in threaded view
|

Re: IMPORT DXF AND NOT SHOWING BLOCKS

Cantar4
Done !
lets the crowds come.