Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Hello

I could not find any posting related to this. Seeking possible information and advice, where to start digging.

  • Affinity Designer 2
  • macOS 12.6.3

I need to render svg-files from Blender (V3.4.0) to edit them in vector format in Designer. They refuse to open in Affinity Designer.  287956774_Screenshot2023-03-27at14_13_01.jpg.0beff448e0cf1e63ae56a57840ddd8c6.jpg

Mac Quicklook, Adobe and Safari web browser opens them fine. Any advice what to try next, please? I have attached a svg-file here if anybody interested:

Test0001.svg

Link to comment
Share on other sites

8 minutes ago, JariH said:

Seeking possible information and advice, where to start digging.

Remove the following line from the file with a simple editor. Maybe worth a feature request, that AD should ignore this line.

<?xml version='1.0' encoding='ascii'?>
Link to comment
Share on other sites

I'm pretty sure that it's the "ascii" encoding that is the problem, rather than the whole line.
An alternative to the advice above would be to see if you can tell Blender to use a different encoding, such as “UTF-8”, when creating the exported SVG.
That way you shouldn’t need the extra editing step.

Link to comment
Share on other sites

Thanks for confirming that.
I think I might have come up with the same problem when I was creating some SVG code procedurally a while back but couldn’t remember if I had remembered it correctly.

Link to comment
Share on other sites

11 minutes ago, Andreas CH said:

... Another observation.

The Test0001.svg can be opened with the Publisher.

And this is how you bring it into the designer.

  1. Place Test0001.svg in Publisher
  2. Click on "Edit document"
  3. Select all (Ctrl+A)
  4. Copy (Ctrl+C)
  5. In the Designer "New from Clipboard"

Sorry, unable open or import into Publisher either (V2.0.4).

Link to comment
Share on other sites

Ups, sorry

Da habe ich die konvertierte Datei erwischt.

Du kannst Test0001.svg mit InkScape öffnen und unter neuem Namen speichern.
Nun lässt sich die Datei im Designer öffnen.

 

I got the converted file.

You can open Test0001.svg with InkScape and save it under a new name.
Now
you can open the file in Designer.

Link to comment
Share on other sites

6 hours ago, JariH said:

I don't know how to change svg encoding when rendering from Blender. Editing xml is quick and dirty way. I can live with, it's just a few files.

Yes, that's pretty trivial to fix!

  1. Opening your Blender generated "Test0001.svg" file inside some text editor.
  2. In the first line of the SVG XML code one can see ...
    Quote

    <?xml version='1.0' encoding='ascii'?>
    ...

    ... replacing the 'ascii' with 'UTF-8' ...
     

    Quote

    <?xml version='1.0' encoding='UTF-8'?>
    ...

  3. After that little change inside a text editor, saving the file and opening it again in ADe, APh or Apub. - It should now load and showup without any problems!

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.1.2 ◆ iPad OS 17.1.2

Link to comment
Share on other sites

28 minutes ago, v_kyr said:

Yes, that's pretty trivial to fix!

  1. Opening your Blender generated "Test0001.svg" file inside some text editor.
  2. In the first line of the SVG XML code one can see ...

    ... replacing the 'ascii' with 'UTF-8' ...
     

  3. After that little change inside a text editor, saving the file and opening it again in ADe, APh or Apub. - It should now load and showup without any problems!

Thanks. I use the text edit trick. I meant, I don't know if it is possible to tell Blender to encode UTF-8. This seems to be a problem in "Freestyle SVG Export" Add-on

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.