Skip to content

Commit

Permalink
Added files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
funnypolynomial committed Feb 28, 2016
1 parent 48a5045 commit 4085555
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# DestructiveClip
An Inkscape Extension which works like Object|Clip|Set except that the paths clipped are actually **modified**.

Thus the clipping is included when exported, for example as a DXF file.
Select two or more **paths** then choose Extensions|Modify path|Destructive clip. The topmost path will be used to clip the others.

Notes:-
* Curves in paths are not supported (use Flatten Beziers).
* Non-path objects in the selection will be ignored. Use Object|Ungroup.
* Paths entirely outside the clipping path will remain untouched (rather than modifying them to an empty path)
* Complex paths may take a while (there seems to be no way too show progress)
* Yes, using MBR's to do gross clipping might make it faster
* No, Python is not my first language (C/C++ is)

Mark Wilson Feb 2016

# To install
Copy destructiveclip.py & destructiveclip.inx into Inkscape\share\extensions where-ever Inkscape is installed (eg Program Files).
Start Inkscape. "Destructive Clip" should now be available under the Extensions menu, in the Modify Path submenu.

# Example
clipped.png shows the rectangular blue path clipping the tiled "dovetail" red path. The red path has been *modified*

0 comments on commit 4085555

Please sign in to comment.