Extension 'Pattern along Path' python script fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Alvin Penner |
Bug Description
Using Inkscape 0.47pre4 on WinXP SP3
- simple horizontally straight line (2 nodes) as path for pattern
- bezier curve as path to put pattern along
- use "pattern along path" extension
- tick the "pattern is vertical" check box, to get the pattern perpendicular along the path
Set "Copies of the pattern" to single: pattern is drawn as expected
Set "Copies of the pattern" to repeated: script fails with an ZeroDivisionError error.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Traceback (most recent call last):
File "D:\Program Files\Inkscape\
e.affect()
File "D:\Program Files\Inkscape\
self.effect()
File "D:\Program Files\Inkscape\
NbCopies=
ZeroDivisionError: float division
Related branches
tags: |
added: extensions-plugins removed: extension path pattern |
Changed in inkscape: | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in inkscape: | |
assignee: | nobody → Alvin Penner (apenner) |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Ran another test similar to the above:
If I set "Space between copies" to 1.0 the script runs fine with the repeated setting.
If I reduce the space (used 0.1) Inkscape eventually crashes with a MVC++ runtime error.
Perhaps some limitations in settings need to be calculated/set based on selected pattern for path generation?