SVG import issues

hamid's Avatar

hamid

18 Nov, 2024 05:45 PM

hello.

i import a svg,and i cant see any shapes,even though it shows shapes in other softwares.

can someone help please?
an example of how you set up work with svg would be much appreciated

  1. Support Staff 1 Posted by john on 18 Nov, 2024 09:01 PM

    john's Avatar

    Hamid,

    I sometimes experience the same thing. Try this:

    • Place an import_svg node with file set to your SVG file.
    • Check the Centered checkbox for now
    • Feed the import_svg node into an ungroup node
    • Feed the ungroup node into a colorize node and render that

    Try different settings for the colorize node (e.g. set stroke to at least 1) and see if anything becomes visible. Uncheck the Centered checkbox in the import_svg node and see if that makes any difference. (In some cases SVG shapes can be located thousands of pixels away from the center of the canvas.)

    Then switch to Data view and see if any paths are listed there (even if none are visible).

    Please try that and report back.

    If you are still unable to see anything, please reply and attach your SVG. I am about to go on a short trip and will be away from my computer, but if you can get it to me by tonight (Pacific Time Zone) I can see if I can fix it.

    ANOTHER THING TO TRY

    Where did you get this SVG? SVG files are not all made alike and there are some formats that Nodebox cannot read. For example, Nodebox cannot interpret SVG text objects (though does fine with text paths).

    If the problem is with the SVG file itself, I have had success "washing" it with a vector graphics program. Most professional vector apps will import a wide variety of differently formatted SVG files, and output in a robust, consistent format guaranteed to work with most other apps. On the Mac, the Sketch app works well for me.

    Import your SVG into the app then simply export it again (give it a slightly different name). Then try importing that clean version of the SVG into Nodebox.

    Hope that helps. Let me know either way.

    John

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Nov, 2024 11:24 PM
18 Nov, 2024 09:01 PM
07 Nov, 2024 10:53 AM
02 Nov, 2024 11:22 AM
01 Nov, 2024 12:41 AM

 

01 Oct, 2024 07:59 AM
30 Sep, 2024 11:37 PM
30 Sep, 2024 11:11 AM
30 Sep, 2024 02:37 AM
28 Sep, 2024 10:33 AM
26 Sep, 2024 06:41 AM