First I export parts as 'Adobe Illustrator' file, next I convert this file to ANSI code [Rhino exports as UTF-8] next I use UniConvertor (http://sk1projeject.org) to conver to .SVG type file. And finally I import this file to Inkscape as 'Adobe Illustrator 8.0 and below (.ai) '
I know it's crazy and stupid. But my friend says: " If something is stupid and works, that's mean it's NOT stupid"
Hi, I'm trying to import DXF file from Rhinoceros 3d and Inkscabe give me something like this:
[quote]
Traceback (most recent call last):
File "dxf_input.py", line 399, in <module>
layername = unicode(line[1], options.input_encode)
File "C:\Program Files\Inkscape\lib\python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 3: invalid continuation byte
[/quote]
And not importing anything.
Where looking for solutions?
Might be the version of DXF.
Please share an example dxf file from Rhino.
Hi,
Windows 10 64bit version 10.0.19041 Build 19041
Inkscape 0.92.5 (2060ec1f9f, 2020-04-08)
file exported from Rhinoceros 3D version 5 SR8 64-bit (5.8.40128.10495, 2014-01-28)
Exported via 'Export selected' option from menu File
Export option:
export template: default,
exported parts from 2 layers (from many, many more)
in file inkscape_import_test.dxf
In Inkscape:
File -> import -> Autocat dxf
defaut options.
Method of scaling:Read from file
and results in file inkscape_import_dxf_results.png
Thank you for your interest in this issue and I am waiting for suggestions for a solution
Surprisingly, I had the best success by opening in another program (MoI3D) and saving as a PDF.
If Rhino can export a pdf, I'd try that first.
HI,
I think I found the solution...
But it's really crazy and complicated.
First I export parts as 'Adobe Illustrator' file, next I convert this file to ANSI code [Rhino exports as UTF-8] next I use UniConvertor (http://sk1projeject.org) to conver to .SVG type file.
And finally I import this file to Inkscape as 'Adobe Illustrator 8.0 and below (.ai) '
I know it's crazy and stupid.
But my friend says: " If something is stupid and works, that's mean it's NOT stupid"
Thanks for Your time to help me
Seems to be a free 3rd-party plugin to get svg from Rhino: https://www.food4rhino.com/app/save-scalable-vector-graphics