Skip to main content

Hello,

I'm trying to convert a .DWG file containing height information from measuring elevation in the form of a point cloud, to a format like .OBJ or similar that I can read in non-AutoCad software. The file's been created professionally from a Leica land measurement device, and contains less than 200 points.

 

 

I'm getting this error message, probably because of text strings containing Swedish letters "åäöÅÄÖ", that generates an error when trying to write the file that seems to expect none such letters, see error text below

I'm attaching the file, also. Please, anyone that can help me out in this? I'm looking for conversion into a .OBJ, .3DS or similar file. All file destination types gives this error.

Thank you /Peter

File:

---

FME 2018.1.0.3 (20180926 - Build 18552 - macosx)

Creating reader for format: Autodesk AutoCAD DWG/DXF

Trying to find a DYNAMIC plugin for reader named `ACAD'

DYLD_LIBRARY_PATH is '/Library/FME/2018.1/plugins'

Loaded module 'ACAD' from file '/Library/FME/2018.1/plugins/acad.so'

FME API version of module 'ACAD' matches current internal version (3.8 20180604)

SOURCE_ACAD Reader: Using rich geometry.

AutoCAD Reader: Successfully opened the 'Release2013' AutoCAD file '/Users/svarteld/Desktop/A.dwg'

Merged 138 schema features read from 1 datasets into 138 resulting feature types

Opened mapping File /tmp/fme_FVr976.fme for output

The UTF-8 string `skärmtak` could not be converted to the encoding: US-ASCII

FME Session Duration: 1.0 seconds. (CPU: 0.4s user, 0.0s system)

END - ProcessID: 1106, peak process memory usage: 97668 kB, current process memory usage: 97668 kB

A fatal error has occurred. Check the logfile above for details

Program Terminating

Translation FAILED.

Warning: not all Stashed Objects that were registered were dropped before shutdown. This may cause instability

---

hi @svarteld

I tried reading the dwg and directing it straight to a obj writer and it performs ok. I writes the objects to a obj.

The only parameter I changed on the obj writer is "write Points and Lines" = yes

I don't see any Swedish letters btw. Is the sample the same that fails you?


Hi,

I've read that points cannot be stored in OBJ, 3DS and similar formats. What can be done, is exporting into DXF and importing that into Blender, if DXF is enabled as plugin.

Problem is, FME have started hanging constantly now on my Mac.


If you are able to send both the workspace and your input file to https://www.safe.com/support/report-a-problem/ we'd really appreciate that. We've been and are continuing to make improvements to the encoding handling in FME, but we do not want to cause things to fail in ways that you can't easily recover. So this case is an exact sample of what we'd like to fix. Super interesting as well that this was on a Mac, where the system encoding is UTF8 and so it should *just work*. But I wonder, maybe the template file you're using for the DWG writing is a US-ASCII one? Or is this error occurring when you are creating the workspace?

 

 


Reply