Skip to content

couldn't convert binary stl file to ascii stl file #1

@DezzardHD

Description

@DezzardHD

Hey,
I tried to convert a binary stl file to ascii stl file, but I received an error message stating, that in some line it wasn't possible to resolve the binary part to an ascii symbol.
If you want to look into that problem, I can send you the stl file I am talking about.

The terminal output:
File "C:\Users\myname\Documents\Eclipse Workspace\STL_Converter\binary-stl-toASCII\BinaryToASCII.py", line 7, in
data = infile.read()
File "C:\Program Files\Python39\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 335: character maps to

C:\Users\myname\Documents\Eclipse Workspace\STL_Converter\binary-stl-toASCII>

Best regards
Dezzard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions