From Andrew Baxter Sat Aug 17 11:29:43 2013
From: Andrew Baxter
To: inkscape-devel@lists.inkscape.org
Subject: [Inkscape-devel] removing overlapping lines
Date: Sat, 17 Aug 2013 12:29:34 +0100
Message-ID: <520F5E9E.4090503@...3032...>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5891047316192289281=="
--===============5891047316192289281==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Hi,
I have an SVG file which I want to burn using a laser cutter, and I was
hoping to use inkscape to remove the overlapping line segments which are
causing a problem with the laser cutter. (Where two lines in different
shapes overlap, the line is cut once for each shape, leaving a heavier
line). See here for details of my project:
http://blog.highfellow.org/?p=37
There is already an inkscape plugin for removing double lines, but it's
not working for the complex shapes in this file. (Inkscape crashes). See
this forum post for the plugin:
http://www.inkscapeforum.com/viewtopic.php?f=5&t=9578 .
I was thinking of trying to fix or rewrite the plugin, but could do with
some help getting started. The plugin is implemented as a filter in
python, using this inx file:
<_name>Remove redundant edges
org.novalis.filter.removeredundant
removeredundant.py
inkex.py
path
I was thinking it might work better to implement the plugin as a python
language binding extension, rather than as a filter, so that I can use
functions and methods from the native inkscape API.
One question is where I would start doing it this way; another specific
question is whether inkscape has a 'is point on line/curve', or 'nearest
point on line/curve' function built in? If so, this would save me a lot
of hassle trying to write one.
Thanks,
andrew baxter
--===============5891047316192289281==--
From alvinpenner Sat Aug 17 11:42:28 2013
From: alvinpenner
To: inkscape-devel@lists.inkscape.org
Subject: Re: [Inkscape-devel] removing overlapping lines
Date: Sat, 17 Aug 2013 04:41:51 -0700
Message-ID: <1376739711297-4967702.post@...2730...>
In-Reply-To: <520F5E9E.4090503@...3032...>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4387529202268003661=="
--===============4387529202268003661==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
could you attach the svg file that causes the 'removeredundant.py' file to
crash?
probably best to report this issue to the original location at:
http://www.inkscapeforum.com/viewtopic.php?f=3D5&t=3D9578
Alvin
--
View this message in context: http://inkscape.13.x6.nabble.com/removing-overl=
apping-lines-tp4967701p4967702.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
--===============4387529202268003661==--
From su_v Sat Aug 17 11:50:41 2013
From: su_v
To: inkscape-devel@lists.inkscape.org
Subject: Re: [Inkscape-devel] removing overlapping lines
Date: Sat, 17 Aug 2013 13:50:31 +0200
Message-ID: <520F6387.3030703@...58...>
In-Reply-To: <1376739711297-4967702.post@...2730...>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2766475296283722855=="
--===============2766475296283722855==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
On 2013-08-17 13:41 +0200, alvinpenner wrote:
> probably best to report this issue to the original location at:
> http://www.inkscapeforum.com/viewtopic.php?f=5&t=9578
As mentioned in the comments of the forum topic, the original location
of the extension is in Inkscape's bug tracker:
- Bug #521988 “Patch: Eliminate duplicate path segments”
--===============2766475296283722855==--
From Andrew Baxter Sat Aug 17 17:11:58 2013
From: Andrew Baxter
To: inkscape-devel@lists.inkscape.org
Subject: Re: [Inkscape-devel] removing overlapping lines
Date: Sat, 17 Aug 2013 18:11:48 +0100
Message-ID: <520FAED4.4010302@...3032...>
In-Reply-To: <1376739711297-4967702.post@...2730...>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4689807554173034952=="
--===============4689807554173034952==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
On 17/08/13 12:41, alvinpenner wrote:
> could you attach the svg file that causes the 'removeredundant.py' file to
> crash?
> probably best to report this issue to the original location at:
> http://www.inkscapeforum.com/viewtopic.php?f=5&t=9578
done - please see comment #18 on the original issue.
andy
--===============4689807554173034952==--