Difference between revisions of "Extension reference"

From Inkscape Wiki
Jump to navigation Jump to search
m (Reverted edits by Fh6S5u (Talk); changed back to last version by Tsal)
Line 3: Line 3:
  
 
==Interpolate==
 
==Interpolate==
 +
===Outline===
 +
Iterpolate does a linear interpolation between 2 or more paths. It basically means that it "fills in the gaps" between the paths according to the number of steps given.
  
This will transform one path to another path and optionally change the style too. It appears that you need to convert an object to a path first (Path > Object to path ; Shift-Ctrl-c). You can alter the number of steps used and choose one of two methods.  
+
===Basic Usage===
 +
To use the interpolation effect, select the paths that you wish to interpolate, and go to Effects > Generate From Path > Interpolate. Choose your options, and Click OK.
 +
 
 +
===Basic Example===
 +
View figure 1 below, where there are 2 identical paths.
 +
 
 +
[[Image:Interpolate1.png]]
 +
 
 +
 
 +
Here is the result when the interpolation effect is called with a "Steps" value of 6.
 +
 
 +
[[Image:Interpolate2.png]]
 +
 
 +
 
 +
===Options===
 +
One of the great features of the inkscape interpolation is "transform style", which transforms the 
 +
 
 +
It appears that you need to convert an object to a path first (Path > Object to path ; Shift-Ctrl-c). You can alter the number of steps used and choose one of two methods.
  
 
[[Image:interpolate_blueSquare-redCircle.png]]
 
[[Image:interpolate_blueSquare-redCircle.png]]

Revision as of 01:27, 25 June 2007

A page with info about the Effects and particularly some png's / screenshots. To learn more about effects and how to write new ones, check out this page : Inkscape Effects

Interpolate

Outline

Iterpolate does a linear interpolation between 2 or more paths. It basically means that it "fills in the gaps" between the paths according to the number of steps given.

Basic Usage

To use the interpolation effect, select the paths that you wish to interpolate, and go to Effects > Generate From Path > Interpolate. Choose your options, and Click OK.

Basic Example

View figure 1 below, where there are 2 identical paths.

Interpolate1.png


Here is the result when the interpolation effect is called with a "Steps" value of 6.

Interpolate2.png


Options

One of the great features of the inkscape interpolation is "transform style", which transforms the

It appears that you need to convert an object to a path first (Path > Object to path ; Shift-Ctrl-c). You can alter the number of steps used and choose one of two methods.

File:Interpolate blueSquare-redCircle.png

Kochify

To use, select one path consisting of only line segments and apply the effect. Kochify will replace the given path with a path that has a copy of the original path in between each two adjacent nodes in the original path. If the original path input has bezier curves, the effect will effectively replace them with lines and then apply the effect. For more information about Kochify from a developers perspective, look here. Requires: python.