LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Importing and displaying DXF files into Labview

Mr. Labviou, how do you finished your task? Did you find any solution?

I am finding solution for this problem too.

 

Is there any complete example of importing and displaying dxf into, for instance, "3D picture" indicator?

Dxf is open format and his structure is well known. I am able to do some interpreter, but it is time consumption, like said Mr. Labviou.

There must be comprehensive solution i think.

 

Mr. Philip Courtois, could you create simple example of importing and displaying dxf into, for instance, "3D picture" indicator please?

 

Regards,
C

0 Kudos
Message 11 of 21
(4,967 Views)

I found this C# code:
http://www.codeproject.com/Articles/156522/DXF-Import-NET-Read-and-View-AutoCAD-Format-Files
It seems like a good way, because it is parsing entities.
I compiled DXFImport.cs into DLL and i am playing with functions via .NET connectivity.
I saw the C# before ages, and my experience is to low, i will have to fight...  Smiley Sad

 

Regards,

C

0 Kudos
Message 12 of 21
(4,941 Views)

can you please upload the vi for that? 

thanks

0 Kudos
Message 13 of 21
(4,759 Views)

Sorry, but all vi was deleted and forgotten.
I rather used STL format, which have better support from LabView.

0 Kudos
Message 14 of 21
(4,729 Views)

I need to perform the same task: read and display a DXF document on the LabView front panel, without loosing the dimensional information.

Anyone make any progress?

0 Kudos
Message 15 of 21
(4,513 Views)

While DXF is indeed an open format that also usually means that every implementer has his or her own ideas about implementing specific details that the definition doesn't go into every detail to explain, which usually means that DXF from one application does not directly give the same result than from another application. The result is that any solution one could come up with is very time consuming to implement for one application source already and won't work seemlessly with other DXF sources.

 

Unless someone wants to port the mentioned C# solution to LabVIEW, I guess the most feasable solution is to compile that C# solution into a .Net component and use that from within LabVIEW.

Rolf Kalbermatter
My Blog
0 Kudos
Message 16 of 21
(4,496 Views)

Since there hasn't been any LV code here is an example of getting data from a dxf file into something usefull in LabVIEW and make a drawing from it to show on the frontpanel.

This is just a quick and dirty example, but maybe ppl can use something from it.

 

Created in LV 2015

Included export to LV 8.6

 

Regards

Nissen

Message 17 of 21
(3,822 Views)

Hi Nissen,

Would you be able to re-post the 8.6 version? I got an error code 6 "could not open block diagram" when trying to open it. Most of the sub-vis open fine & are very intriguing, but the main "SimpleReadViewDXF.vi" & "search4objINFO.vi" open w/ that error.

0 Kudos
Message 18 of 21
(3,434 Views)

Hi,

 

I am able to open the block diagram. What version of LabVIEW are you opening this file with?

 

Thanks,

 

Alex

0 Kudos
Message 19 of 21
(3,405 Views)

LV2009

0 Kudos
Message 20 of 21
(3,397 Views)