Refactored extension names by "rename 's/fablabchemnitz_//g' *.py;rename
's/fablabchemnitz_//g' *.inx;sed -i 's/>fablabchemnitz_/>/g' *.inx;sed -i 's/fablabchemnitz_//g' *.py; rename 's/fablabchemnitz_//g' *.svg"
This commit is contained in:
@ -40,6 +40,6 @@
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
<command location="inx" interpreter="python">fablabchemnitz_contour_scanner.py</command>
|
||||
<command location="inx" interpreter="python">contour_scanner.py</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
@ -22,7 +22,7 @@ import inkex
|
||||
from inkex.paths import Path, CubicSuperPath
|
||||
from inkex import Style, Color, Circle
|
||||
from lxml import etree
|
||||
import fablabchemnitz_poly_point_isect
|
||||
import poly_point_isect
|
||||
import copy
|
||||
|
||||
def adjustStyle(self, node):
|
||||
@ -156,7 +156,7 @@ class ContourScanner(inkex.Effect):
|
||||
if self.options.highlight_selfintersecting or self.options.highlight_intersectionpoints:
|
||||
try:
|
||||
if len(nodes) > 0: #try to find self-intersecting /overlapping polygons
|
||||
isect = fablabchemnitz_poly_point_isect.isect_polygon(nodes) #TODO: FIND OUT HOW TO HANDLE OPEN CONTOURS TO OMIT VIRTUALLY CROSSING LINES (WHICH DO NOT INTERSECT)
|
||||
isect = poly_point_isect.isect_polygon(nodes) #TODO: FIND OUT HOW TO HANDLE OPEN CONTOURS TO OMIT VIRTUALLY CROSSING LINES (WHICH DO NOT INTERSECT)
|
||||
if len(isect) > 0:
|
||||
#make dot markings at the intersection points
|
||||
if self.options.highlight_intersectionpoints:
|
Reference in New Issue
Block a user