Help with Interpolate

Post questions on how to use or achieve an effect in Inkscape.
Terrilin
Posts: 6
Joined: Thu Nov 07, 2013 2:15 am

Help with Interpolate

Postby Terrilin » Tue Mar 04, 2014 1:00 pm

Hi everyone! Thanks for looking. I am very new to inkscape, just learning the ropes tutorial by tutorial. I am looking to do sewing pattern drafting with it. It really is a great program.

My problem. I am looking to do this with inkscape and I was pretty sure I had figured out I can use the interpolate extension.
http://vimeo.com/78294306
It's using Illustrators blend tool to do a quick grading of a digital sewing pattern.


But I keep getting this message? Why?

Traceback (most recent call last):
File "interp.py", line 316, in <module>
e.affect()
File "C:\Program Files (x86)\Inkscape\share\extensions\inkex.py", line 215, in affect
self.effect()
File "interp.py", line 136, in effect
end = copy.deepcopy(paths[self.options.ids[i]])
KeyError: 'g3054'

If anyone can help that would be wonderful! My apologies that I am soo green to all of this.
Thanks again

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Help with Interpolate

Postby ragstian » Tue Mar 04, 2014 1:33 pm

Hi.
Welcome to the forum.

First of all to be better able to help you we do need some more information like;
What version of Inkscape?
What operating system?
What were you trying to do when you got the error? (What type of objects were selected etc?)

Just as a test I created this;
Image
Image
This shows the extension is working OK.

In the meantime;
Here are some links that might be of interest;
http://www.taumeta.org/
http://vrya.net/content.php?p=20
https://github.com/tusuzu/InkscapeSewin ... Extensions
http://www.youtube.com/watch?v=RXt-6jNEmqo

RGDS
Ragnar
Last edited by ragstian on Tue Mar 04, 2014 1:52 pm, edited 1 time in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Terrilin
Posts: 6
Joined: Thu Nov 07, 2013 2:15 am

Re: Help with Interpolate

Postby Terrilin » Tue Mar 04, 2014 1:39 pm

I am using the newest version of inkscape and running on a pc with windows 7.I am really just taking 2 shapes made with the beziur, selecting both and clicking on interpolate. It worked the first time and then it didn't.

Thank you. I will look at the links you provided!

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Help with Interpolate

Postby ragstian » Tue Mar 04, 2014 2:15 pm

Hi.

By the latest version of Inkscape I reckon you mean the latest stable release?

The latest stable release was 0.48.4.
In addition there are developers versions, I am using Inkscape 0.48+devel r13012,
there are also "nightly builds" for the 'brave' as well as 64bit "unofficial" versions.

Strange it worked the first time. Have you tried to close and re-open Inkscape?
Try with a "fresh" sheet with only two objects.

RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Help with Interpolate

Postby Lazur » Tue Mar 04, 2014 8:00 pm

Just a quick idea: once the extension run, there won't be two separate path being selected.
Wasn't that causing it not workin after once?
Select two paths while the panel is still active and it should work fine.

Terrilin
Posts: 6
Joined: Thu Nov 07, 2013 2:15 am

Re: Help with Interpolate

Postby Terrilin » Wed Mar 05, 2014 1:12 am

Thank you so much for your help!
Yes I have restarted the program and computer. I just uninstalled and re installed the program. Which may or may not have been necessary.

This is my process
- I open the program
- I make a shape with :tool_pen:
- I duplicate it
- I select both
- Go to interpolate
-- exponent : 0, Interpolate 6, interpolate 2 or 1. duplicate end paths checked
- select object(s)
- Click apply
- Now nothing happens.

Am I missing a step? I don't understand why it might not be working.....

Thanks again

Terrilin
Posts: 6
Joined: Thu Nov 07, 2013 2:15 am

Re: Help with Interpolate

Postby Terrilin » Wed Mar 05, 2014 2:22 am

Okay I figured it out! Thank you for all your help!
I was cloning my object instead of duplicating it....duh!

Thank you for tolerating my absent mindedness.

So just for a future reference -- don't clone your object!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Help with Interpolate

Postby Lazur » Wed Mar 05, 2014 2:26 am

For future reference, there is a live path effect to interpolate subpaths, which can be handy at times too.

moshpirit
Posts: 5
Joined: Sun Feb 16, 2014 10:23 pm

Re: Help with Interpolate

Postby moshpirit » Thu Mar 20, 2014 3:05 am

Same thing happened to me but I duplicated my draw and nothing happen.

I have a logo, I duplicate it and I move it (with transform tool). Everything is ok, but now I want to interpolate them, so I select 'em and I use the Interpolation tool as this tutorial says: Exponent to 1, Interpolation steps to 200 and Interpolation Method to 1 with the check boxes unticked. But nothing happens.

I'm using Inkscape 0.48.4 r9939 on Manjaro Linux.

I don't know if I'm doing good or bad commenting this post, but I thing my problem is very very similar. Thank you for reading!.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Help with Interpolate

Postby Lazur » Thu Mar 20, 2014 3:34 am

Maybe you had groups of objects selected?

Anyway, that effect doesn't really need the interpolate extension as it is.
Those could be done in the example much faster without using it, in a more accurate way, manually.
Simply combining the transformed path with the original , followed by node editing can take you there.

moshpirit
Posts: 5
Joined: Sun Feb 16, 2014 10:23 pm

Re: Help with Interpolate

Postby moshpirit » Fri Mar 21, 2014 1:36 am

Well, I'm a noob with inkscape, can you please tell me how to do that? thank you very much.

I selected just these 2 objects (individually grouped). This is the file, if you want to see they are actually grouped.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Help with Interpolate

Postby Lazur » Fri Mar 21, 2014 3:25 am

Here is how I would do that:

SVG Image

Didn't bother adding shadows to the inner parts, as with the outer circle it would be casted everywhere inside.

moshpirit
Posts: 5
Joined: Sun Feb 16, 2014 10:23 pm

Re: Help with Interpolate

Postby moshpirit » Fri Mar 21, 2014 4:04 am

OH MY GOD, YOU'RE AWESOME!!!! :shock: :shock: :shock:
Thank you very much!! :o I'll follow your brilliant instructions!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Help with Interpolate

Postby Lazur » Fri Mar 21, 2014 4:23 am

Thank's!

Well that's just basic editing, so you will soon be there.
Good luck!


Return to “Help with using Inkscape”