03-20-2013 02:59 AM
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
03-21-2013 09:33 AM
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...
Regards,
C
08-14-2013 11:17 PM
can you please upload the vi for that?
thanks
08-27-2013 03:17 AM
Sorry, but all vi was deleted and forgotten.
I rather used STL format, which have better support from LabView.
05-19-2014 12:16 AM
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?
05-19-2014 02:55 AM
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.
05-20-2016 05:08 AM
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
12-07-2016 05:22 PM
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.
12-09-2016 09:01 AM
Hi,
I am able to open the block diagram. What version of LabVIEW are you opening this file with?
Thanks,
Alex
12-09-2016 02:10 PM
LV2009