• Welcome to World Machine Community. Please login or sign up.
 
April 19, 2019, 09:45:46 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


SVG import in 3.0b3

Started by ibyte, March 14, 2015, 05:16:48 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ibyte

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

I am quite surprised that no one else uses svg to import layout shapes.

ilbiffi

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

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

@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

Yes but it's a shame that we can't use inkscape, anyone tried with adobe illustrator or coreldraw?

ilbiffi

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)

Stephen

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

Stephen

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

Cant wait for the release, you rock dude!

ibyte

Hi Stephen, thanks for the update - looking forward to reverpreview2.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview