TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

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

DXF differnces
Read 309 times
* June 08, 2018, 01:46:53 PM
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..

Logged


June 08, 2018, 06:52:16 PM
#1
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

Logged
TC Pro Platinum 2018, 2017, 2016 & 2015 (all with LightWorks & RedSDK) & V21
System: i7-5820K @ 3.30GHz, ASRock X99 Extreme4, 16GB DDR4-2133 RAM, Gigabyte GTX 970, Samsung NVMe SSD 950 (256GB), Windows 7 Pro (64-bit) SP1


* June 08, 2018, 11:27:06 PM
#2
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.

Logged


* June 09, 2018, 01:17:18 AM
#3
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.

Logged


* June 09, 2018, 03:45:17 AM
#4
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.

Logged


* June 09, 2018, 04:07:20 AM
#5
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


Logged
"What do I know, I'm still learning"..
Windows 7 64 bit HP > on a stock HP laptop with 4gb-2.4 GHz.Turbocad 2018-2017, TurboCad Platinum 21.Using Lightworks and Redsdk, Anilab lab 5. ATI Mobility Radeon HD 4500/5100


* June 09, 2018, 04:34:06 AM
#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....
« Last Edit: June 09, 2018, 04:36:28 AM by IanC »

Logged


* June 09, 2018, 04:53:22 AM
#7
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.

Logged
"What do I know, I'm still learning"..
Windows 7 64 bit HP > on a stock HP laptop with 4gb-2.4 GHz.Turbocad 2018-2017, TurboCad Platinum 21.Using Lightworks and Redsdk, Anilab lab 5. ATI Mobility Radeon HD 4500/5100


* June 09, 2018, 08:33:06 AM
#8
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!

Logged


* June 09, 2018, 08:55:50 AM
#9
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!

Logged


* June 09, 2018, 01:35:51 PM
#10
"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.

Logged
"What do I know, I'm still learning"..
Windows 7 64 bit HP > on a stock HP laptop with 4gb-2.4 GHz.Turbocad 2018-2017, TurboCad Platinum 21.Using Lightworks and Redsdk, Anilab lab 5. ATI Mobility Radeon HD 4500/5100


June 09, 2018, 02:42:49 PM
#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.
« Last Edit: June 09, 2018, 03:19:40 PM by Jeffin90620 »

Logged
TC Pro Platinum 2018, 2017, 2016 & 2015 (all with LightWorks & RedSDK) & V21
System: i7-5820K @ 3.30GHz, ASRock X99 Extreme4, 16GB DDR4-2133 RAM, Gigabyte GTX 970, Samsung NVMe SSD 950 (256GB), Windows 7 Pro (64-bit) SP1


* June 10, 2018, 12:55:51 PM
#12
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?

Logged


* June 10, 2018, 03:00:18 PM
#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!
« Last Edit: June 10, 2018, 03:14:13 PM by IanC »

Logged