Added Path Intersections and fixed some other small things
This commit is contained in:
parent
fb6c2cf038
commit
311a84f534
@ -1,5 +1,4 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
# coding=utf-8
|
|
||||||
#
|
#
|
||||||
# Este script dibuja el perfil exterior de corte la caja en un solo
|
# Este script dibuja el perfil exterior de corte la caja en un solo
|
||||||
# path cerrado y añade despues los otros flejes necesarios con colores
|
# path cerrado y añade despues los otros flejes necesarios con colores
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
'''
|
'''
|
||||||
@author: mini@revollo.de
|
@author: mini@revollo.de
|
||||||
member of the erfindergarden
|
member of the erfindergarden
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||||
<name>Clones In Perspective</name>
|
<name>Clones In Perspective</name>
|
||||||
<id>org.ekips.filter.clonesPerspective</id>
|
<id>fablabchemnitz.de.clonesperspective</id>
|
||||||
<param max="256" name="num" type="int" gui-text="How many?">5</param>
|
<param max="256" name="num" type="int" gui-text="How many?">5</param>
|
||||||
<param max="1.0" name="ratio" type="float" gui-text="relative size">0.9</param>
|
<param max="1.0" name="ratio" type="float" gui-text="relative size">0.9</param>
|
||||||
<effect>
|
<effect>
|
||||||
|
@ -57,13 +57,13 @@ class ContourScanner(inkex.Effect):
|
|||||||
self.arg_parser.add_argument("--removefillsetstroke", type=inkex.Boolean, default=False, help="Remove fill and define stroke")
|
self.arg_parser.add_argument("--removefillsetstroke", type=inkex.Boolean, default=False, help="Remove fill and define stroke")
|
||||||
self.arg_parser.add_argument("--strokewidth", type=float, default=1.0, help="Stroke width (px)")
|
self.arg_parser.add_argument("--strokewidth", type=float, default=1.0, help="Stroke width (px)")
|
||||||
self.arg_parser.add_argument("--highlight_opened", type=inkex.Boolean, default=True, help="Highlight opened contours")
|
self.arg_parser.add_argument("--highlight_opened", type=inkex.Boolean, default=True, help="Highlight opened contours")
|
||||||
self.arg_parser.add_argument("--color_opened", type=Color, default='#FF0000FF', help="Color opened contours")
|
self.arg_parser.add_argument("--color_opened", type=Color, default='4012452351', help="Color opened contours")
|
||||||
self.arg_parser.add_argument("--highlight_closed", type=inkex.Boolean, default=True, help="Highlight closed contours")
|
self.arg_parser.add_argument("--highlight_closed", type=inkex.Boolean, default=True, help="Highlight closed contours")
|
||||||
self.arg_parser.add_argument("--color_closed", type=Color, default='#00FF00FF', help="Color closed contours")
|
self.arg_parser.add_argument("--color_closed", type=Color, default='2330080511', help="Color closed contours")
|
||||||
self.arg_parser.add_argument("--highlight_selfintersecting", type=inkex.Boolean, default=True, help="Highlight self-intersecting contours")
|
self.arg_parser.add_argument("--highlight_selfintersecting", type=inkex.Boolean, default=True, help="Highlight self-intersecting contours")
|
||||||
self.arg_parser.add_argument("--highlight_intersectionpoints", type=inkex.Boolean, default=True, help="Highlight self-intersecting points")
|
self.arg_parser.add_argument("--highlight_intersectionpoints", type=inkex.Boolean, default=True, help="Highlight self-intersecting points")
|
||||||
self.arg_parser.add_argument("--color_selfintersecting", type=Color, default='#0000FFFF', help="Color closed contours")
|
self.arg_parser.add_argument("--color_selfintersecting", type=Color, default='1923076095', help="Color closed contours")
|
||||||
self.arg_parser.add_argument("--color_intersectionpoints", type=Color, default='#0066FFFF', help="Color closed contours")
|
self.arg_parser.add_argument("--color_intersectionpoints", type=Color, default='4239343359', help="Color closed contours")
|
||||||
self.arg_parser.add_argument("--dotsize", type=int, default=10, help="Dot size (px) for self-intersecting points")
|
self.arg_parser.add_argument("--dotsize", type=int, default=10, help="Dot size (px) for self-intersecting points")
|
||||||
self.arg_parser.add_argument("--remove_opened", type=inkex.Boolean, default=False, help="Remove opened contours")
|
self.arg_parser.add_argument("--remove_opened", type=inkex.Boolean, default=False, help="Remove opened contours")
|
||||||
self.arg_parser.add_argument("--remove_closed", type=inkex.Boolean, default=False, help="Remove closed contours")
|
self.arg_parser.add_argument("--remove_closed", type=inkex.Boolean, default=False, help="Remove closed contours")
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
# coding=utf-8
|
|
||||||
#
|
#
|
||||||
# Este script dibuja el perfil exterior de corte la caja en un solo
|
# Este script dibuja el perfil exterior de corte la caja en un solo
|
||||||
# path cerrado y añade despues los otros flejes necesarios con colores
|
# path cerrado y añade despues los otros flejes necesarios con colores
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
# coding=utf-8
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Este script dibuja el perfil exterior de corte la caja en un solo
|
# Este script dibuja el perfil exterior de corte la caja en un solo
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
# coding=utf-8
|
|
||||||
#
|
#
|
||||||
# Este script dibuja el perfil exterior de corte la caja en un solo
|
# Este script dibuja el perfil exterior de corte la caja en un solo
|
||||||
# path cerrado y añade despues los otros flejes necesarios con colores
|
# path cerrado y añade despues los otros flejes necesarios con colores
|
||||||
|
Reference in New Issue
Block a user