-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48a5045
commit 4085555
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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* |