News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

DXF differnces

Started by IanC, June 08, 2018, 01:46:53 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

IanC

I am trying to import a DTM (Digital Terran Model) into some Leica surveying equipment (Smartworx) for staking out.

Unfortunately I'm getting an error 'No 3D faces can be found in the dxf file'. Initially I thought I was using the wrong entities, but I don't now think this is the problem. After opening a sample file Leica gave me (which imports fine), doing nothing, and then simply saving it in TC17.2 (and 2017), I can no longer import it. To me they appear identical when opened, but the file size is much reduced when TC saves it.

Any ideas what TC might be messing up? I've tried a few different DXF save versions (but not all as yet). Attached are both files..
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Jeff_in_90620

I opened your file in TurboCAD Pro Platinum 2018 with no problems.  I then saved it in 2017 for you.

Thennnn... I realized you may be talking about TurboCAD 17, not 2017.  If that is the case, then your DXF import filters may be too old (TC 17 was released 8 years ago).


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

IanC

Thanks Jeff, but I don't think I explained the problem very clearly!

I can open in TC just fine (actrually I have two versions installed - 17.2 and 2017). The problem is, the one they sent me imports fine to my surveying instrument, but if I open the same file in TC (any version) and save it (without modification), the surveying instrument gives an error 'No 3D faces can be found in the dxf file'.

So TC is doing something to mess things up, but I can't see what. The file size is massively reduced, so something's certainly getting changed, even though they look the same to me from within TC.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

murray dickinson

For whatever reason, even though TC says the files have TC surfaces in them, if you pass a section through them or try to boolean with another TC surfaces, no section, no interaction. I'd try selecting the TC surfaces, right-click and convert to solid, then explode back to TC surface again, after which they'll register and interact, then save again as .dxf.

IanC

Thanks Murray, I have tried what you've said, but still have the same error.  >:( In fact that's pretty much what I did before I had any sample files.

I am able to 3DBooleanAdd the two TCsurface objects in their sample file though?

Something's definitely not getting saved by TC, or is being altered.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Dean

Ian,
TurboCad doesn't read 3d faces. TurboCad imports 3d mesh as a polyface mesh.
Design cad 3d max from IMSI reads/writes 3d mesh.  ;D

"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

IanC

#6
3D mesh - that sound like rectangular? The Leica instrument is definitely expecting a TIN (triangular), as per the file I posted initially.

However, if you think this is the soluton, and you have Design cad 3d max, could you perhaps open the original file (Untouched by me - WORKS.dxf) and save it for me as DXF without modification?  Could be worth a try....
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Dean

I had a feeling you would ask that, try the attached in your target software.
Opened the 'untouched file" and exported as dxf 2000 from dcad as '3d mesh'
autocad reads the 3d faces.
turbocad doesn't.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

IanC

Great stuff Dean, that worked  :D

I've used TC for many years (since v2.0!), and thought I was fairly familiar with different types of 3D entities, but I'm confused on this one. Don't understand how/why IMSI's budget offering can do something that's not possible in TC Pro Platinum....

Thanks anyway!
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

IanC

Dean, I've downloaded a trial, and have to say it feels very alien! Given you experience of the two programmes interacting, can you suggest the easiest workflow?

Initially I have a set of XYZ points in TC, from which I generate 3D polyline triangles (a TIN). Should I export them at this stage, or convert to a TC surface? Or solid? Join them in TC? Or ?

Thanks in advance!
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

Dean

"Initially I have a set of XYZ points in TC, from which I generate 3D polyline triangles "

Ian,
How did you create the triangles and do they have faces, are they solid when rendered? similar to the file you posted.

The"doesn't work' file that you posted works in design cad too. Dcad (unlike TC)reports the3d faces. Export from Dcad as 3d mesh dxf then send to target program.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Jeff_in_90620

#11
Try this file.

I opened your file that doesn't work, selected the TC Surface objects and converted them to SMesh.

Then I Saved As DXF, changing the file version to AutoCAD 2000.

The resulting file size is significantly larger than your original, in part because it's ASCII.


Jeff

********
MODIFIED
********

Did the same to both original files.
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

IanC

Jeff

Thanks, I was optimistic that sMesh was going to work, but no it doesn't  >:( Havce tried your files, an doing so myself. Seems that DXF converts them back to TCsurface, even if I save as 2013-17 version DXF.

So Dean, it looks like Dcad is the way to go! The triangles are closed 3d polylines initially, not sure if I should convert them to a TCsurface and maybe join them before opening in Dcad?
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

IanC

#13
Dean

All sorted now  :) :) My method is:

1. Create TIN of 3d polyline triangles in TC.
2. Select, and Create Surface from Profile.
3. Save as DXF.
4. Import to DesignCAD 3d Max, then Export as DXF. Actually it doesn't seem to matter which mesh type I choose.

Thanks again!
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !