Author Topic: SVG import in 3.0b3  (Read 4442 times)

0 Members and 1 Guest are viewing this topic.

ibyte

  • World Machine Veteran
  • ***
  • Posts: 22
    • View Profile
SVG import in 3.0b3
« on: March 14, 2015, 05:16:48 PM »
Hi Stephen, I am struggling to import a single svg path that only has a fill and no stroke. Would it be possible to have a look at this file and let me know what the issue might be?

Also would you summarize the current do's and dont's of svg imports for shapes or lines?

Thanks

iByte


ibyte

  • World Machine Veteran
  • ***
  • Posts: 22
    • View Profile
Re: SVG import in 3.0b3
« Reply #1 on: March 27, 2015, 06:17:57 AM »
I am quite surprised that no one else uses svg to import layout shapes.

ilbiffi

  • World Machine Guru
  • ****
  • Posts: 66
    • View Profile
Re: SVG import in 3.0b3
« Reply #2 on: April 05, 2015, 01:45:28 AM »
Hey I'm trying also to use svg paths.
I noticed that files saved with this online editor http://www.drawsvg.org/ are correctly recognized by wm, while svg saved with inkscape are not.

ilbiffi

  • World Machine Guru
  • ****
  • Posts: 66
    • View Profile
Re: SVG import in 3.0b3
« Reply #3 on: April 05, 2015, 12:41:05 PM »
By using that online tool I just saw that only cubic splines are correctly imported, quadratic ones are not! mmhh, maybe in inkscape there's some default setting for quadratic smoothing...

ibyte

  • World Machine Veteran
  • ***
  • Posts: 22
    • View Profile
Re: SVG import in 3.0b3
« Reply #4 on: April 06, 2015, 05:56:25 AM »
@ilbiffi, thank you for the reply, it was very helpful.

By loading my document into drawsvg.org and making one small adjustment I was able to save anew version which was loadable into World Machine.

I recall being on that site before so thanks for jogging my memory and also for figuring out why WM is not accepting inkscape drawings

ilbiffi

  • World Machine Guru
  • ****
  • Posts: 66
    • View Profile
Re: SVG import in 3.0b3
« Reply #5 on: April 06, 2015, 09:18:40 AM »
Yes but it's a shame that we can't use inkscape, anyone tried with adobe illustrator or coreldraw?

ilbiffi

  • World Machine Guru
  • ****
  • Posts: 66
    • View Profile
Re: SVG import in 3.0b3
« Reply #6 on: April 07, 2015, 04:15:06 AM »
I got a tip from inkscape forums, you can create a closed shape by simply drawing your path (with F6), selecting it and pressing object union (ctrl +).
If you fill the shape with a solid color it will be seen by wm as an area, otherwise it will remain a simple line.
Enjoy!  8)

Remnant

  • Author
  • World Machine Guru
  • *****
  • Posts: 2311
    • View Profile
    • http://www.world-machine.com/
Re: SVG import in 3.0b3
« Reply #7 on: April 30, 2015, 05:37:13 PM »
Inkscape changed their SVG export handling and WM no longer correctly parses bezier paths created by it. I will try to fix this soon, as it is a deficiency in WM's SVG parser.
-- Stephen Schmitt
- Creator of World Machine

Remnant

  • Author
  • World Machine Guru
  • *****
  • Posts: 2311
    • View Profile
    • http://www.world-machine.com/
Re: SVG import in 3.0b3
« Reply #8 on: August 06, 2015, 06:35:51 PM »
Just a quick note that Inkscape paths (including the attached file at the start of this thread) can again be imported successfully in the upcoming 3.0.riverpreview2.
-- Stephen Schmitt
- Creator of World Machine

ozdeadmeat

  • World Machine Veteran
  • ***
  • Posts: 24
    • View Profile
Re: SVG import in 3.0b3
« Reply #9 on: August 07, 2015, 12:45:09 AM »
Cant wait for the release, you rock dude!

ibyte

  • World Machine Veteran
  • ***
  • Posts: 22
    • View Profile
Re: SVG import in 3.0b3
« Reply #10 on: August 09, 2015, 07:36:17 AM »
Hi Stephen, thanks for the update - looking forward to reverpreview2.