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:
Mario Voigt 2020-09-03 00:35:27 +02:00
parent 80a28a8d59
commit 4175b377bd
375 changed files with 258 additions and 223 deletions

View File

@ -24,6 +24,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_CardLayoutGuides.py</command>
<command location="inx" interpreter="python">CardLayoutGuides.py</command>
</script>
</inkscape-extension>

View File

@ -15,6 +15,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_HexLayoutGuides.py</command>
<command location="inx" interpreter="python">HexLayoutGuides.py</command>
</script>
</inkscape-extension>

View File

@ -25,6 +25,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_InsertPaperTemplate.py</command>
<command location="inx" interpreter="python">InsertPaperTemplate.py</command>
</script>
</inkscape-extension>

View File

@ -28,6 +28,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_InsetAlignment.py</command>
<command location="inx" interpreter="python">InsetAlignment.py</command>
</script>
</inkscape-extension>

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_RemoveDuplicateGuides.py</command>
<command location="inx" interpreter="python">RemoveDuplicateGuides.py</command>
</script>
</inkscape-extension>

View File

@ -20,6 +20,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_affine_spirals.py</command>
<command location="inx" interpreter="python">affine_spirals.py</command>
</script>
</inkscape-extension>

View File

@ -9,6 +9,6 @@
<filetypetooltip>Adobe Illustrator 7 compatible EPS</filetypetooltip>
</output>
<script>
<command location="inx" interpreter="python">fablabchemnitz_ai_eps_output.py</command>
<command location="inx" interpreter="python">ai_eps_output.py</command>
</script>
</inkscape-extension>

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_anotherperspective.py</command>
<command location="inx" interpreter="python">anotherperspective.py</command>
</script>
</inkscape-extension>

View File

@ -32,6 +32,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_apollonian.py</command>
<command location="inx" interpreter="python">apollonian.py</command>
</script>
</inkscape-extension>

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
import inkex
import fablabchemnitz_apolloniangasket_func
import apolloniangasket_func
from lxml import etree
__version__ = '0.0'
@ -67,7 +67,7 @@ class Gasket(inkex.Effect): # choose a better name
'info':'N: '}
topgroup = etree.SubElement(self.svg.get_current_layer(), 'g', g_attribs )
circles = fablabchemnitz_apolloniangasket_func.main(c1=self.options.c1,
circles = apolloniangasket_func.main(c1=self.options.c1,
c2=self.options.c2,
c3=self.options.c3,
depth=self.options.depth)

View File

@ -19,7 +19,7 @@
# along with Apollon. If not, see <http://www.gnu.org/licenses/>.
import math
from fablabchemnitz_apollon import ApollonianGasket
from apollon import ApollonianGasket
def ag_to_svg(circles, colors, tresh=0.00005):
"""

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_applytransform.py</command>
<command location="inx" interpreter="python">applytransform.py</command>
</script>
</inkscape-extension>

View File

@ -31,6 +31,6 @@ length by using the extension "Visualize Path> Measure Path"
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_archimedesspiral.py</command>
<command location="inx" interpreter="python">archimedesspiral.py</command>
</script>
</inkscape-extension>

View File

@ -15,6 +15,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_attributes_cleaner.py</command>
<command location="inx" interpreter="python">attributes_cleaner.py</command>
</script>
</inkscape-extension>

View File

@ -22,6 +22,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_attributes_editor.py</command>
<command location="inx" interpreter="python">attributes_editor.py</command>
</script>
</inkscape-extension>

View File

@ -15,6 +15,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_attributes_import.py</command>
<command location="inx" interpreter="python">attributes_import.py</command>
</script>
</inkscape-extension>

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_bezierenvelope.py</command>
<command location="inx" interpreter="python">bezierenvelope.py</command>
</script>
</inkscape-extension>

View File

@ -27,6 +27,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_blobs.py</command>
<command location="inx" interpreter="python">blobs.py</command>
</script>
</inkscape-extension>

View File

@ -24,6 +24,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_blueprint_maker.py</command>
<command location="inx" interpreter="python">blueprint_maker.py</command>
</script>
</inkscape-extension>

View File

@ -49,6 +49,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_lace_circular_ground.py</command>
<command location="inx" interpreter="python">lace_circular_ground.py</command>
</script>
</inkscape-extension>

View File

@ -54,6 +54,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_lace_grid.py</command>
<command location="inx" interpreter="python">lace_grid.py</command>
</script>
</inkscape-extension>

View File

@ -55,6 +55,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_lace_ground.py</command>
<command location="inx" interpreter="python">lace_ground.py</command>
</script>
</inkscape-extension>

View File

@ -66,6 +66,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_lace_polar.py</command>
<command location="inx" interpreter="python">lace_polar.py</command>
</script>
</inkscape-extension>

View File

@ -16,6 +16,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_boundingbox.py</command>
<command location="inx" interpreter="python">boundingbox.py</command>
</script>
</inkscape-extension>

View File

@ -24,6 +24,6 @@ You can paste Bouwkamp codes with or without various formatting characters (like
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_bouwkamp_code.py</command>
<command location="inx" interpreter="python">bouwkamp_code.py</command>
</script>
</inkscape-extension>

View File

@ -67,6 +67,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_gen_box.py</command>
<command location="inx" interpreter="python">gen_box.py</command>
</script>
</inkscape-extension>

View File

@ -2,7 +2,7 @@
# We will use the inkex module with the predefined Effect base class.
import inkex
import math
from fablabchemnitz_inkscape_path import *
from inkscape_path import *
from lxml import etree
#Constants defined here

View File

@ -83,6 +83,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_boxmaker.py</command>
<command location="inx" interpreter="python">boxmaker.py</command>
</script>
</inkscape-extension>

View File

@ -43,6 +43,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_boxmaker.py</command>
<command location="inx" interpreter="python">boxmaker.py</command>
</script>
</inkscape-extension>

View File

@ -25,6 +25,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_can_generator.py</command>
<command location="inx" interpreter="python">can_generator.py</command>
</script>
</inkscape-extension>

View File

@ -25,6 +25,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_chain_paths.py</command>
<command location="inx" interpreter="python">chain_paths.py</command>
</script>
</inkscape-extension>

View File

@ -32,6 +32,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_checkerboard.py</command>
<command location="inx" interpreter="python">checkerboard.py</command>
</script>
</inkscape-extension>

View File

@ -45,6 +45,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_chipScratches.py</command>
<command location="inx" interpreter="python">chipScratches.py</command>
</script>
</inkscape-extension>

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_cleangroups.py</command>
<command location="inx" interpreter="python">cleangroups.py</command>
</script>
</inkscape-extension>

View File

@ -20,6 +20,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_cleanup.py</command>
<command location="inx" interpreter="python">cleanup.py</command>
</script>
</inkscape-extension>

View File

@ -13,6 +13,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_clonesperspective.py</command>
<command location="inx" interpreter="python">clonesperspective.py</command>
</script>
</inkscape-extension>

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_close_paths.py</command>
<command location="inx" interpreter="python">close_paths.py</command>
</script>
</inkscape-extension>

View File

@ -13,6 +13,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_color_alpha_replace.py</command>
<command location="inx" interpreter="python">color_alpha_replace.py</command>
</script>
</inkscape-extension>

View File

@ -29,6 +29,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_conic_box.py</command>
<command location="inx" interpreter="python">conic_box.py</command>
</script>
</inkscape-extension>

View File

@ -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>

View File

@ -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:

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_convexhull.py</command>
<command location="inx" interpreter="python">convexhull.py</command>
</script>
</inkscape-extension>

View File

@ -21,6 +21,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_createtuckbox.py</command>
<command location="inx" interpreter="python">createtuckbox.py</command>
</script>
</inkscape-extension>

View File

@ -55,6 +55,6 @@ Line Thickness: Thickness of the cutting line on the display.
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_cutcraftbox.py</command>
<command location="inx" interpreter="python">cutcraftbox.py</command>
</script>
</inkscape-extension>

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
import inkex
from fablabchemnitz_cutcraftshape import CutCraftShape
from cutcraftshape import CutCraftShape
import cutcraft.platforms as cp
from cutcraft.shapes import Box

View File

@ -68,6 +68,6 @@ Line Thickness: Thickness of the cutting line on the display.
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_cutcraftcylinder.py</command>
<command location="inx" interpreter="python">cutcraftcylinder.py</command>
</script>
</inkscape-extension>

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
import inkex
from fablabchemnitz_cutcraftshape import CutCraftShape
from cutcraftshape import CutCraftShape
import cutcraft.platforms as cp
from cutcraft.shapes import Cylinder

View File

@ -48,6 +48,6 @@ Line Thickness: Thickness of the cutting line on the display.
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_cutcraftrollerbot.py</command>
<command location="inx" interpreter="python">cutcraftrollerbot.py</command>
</script>
</inkscape-extension>

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
import inkex
from fablabchemnitz_cutcraftshape import CutCraftShape
from cutcraftshape import CutCraftShape
import cutcraft.platforms as cp
from cutcraft.shapes import RollerBot

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_delete_above.py</command>
<command location="inx" interpreter="python">delete_above.py</command>
</script>
</inkscape-extension>

View File

@ -12,6 +12,6 @@
<menu-tip>"Destructively" clip selected paths using the topmost as clipping path</menu-tip>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_destructiveclip.py</command>
<command location="inx" interpreter="python">destructiveclip.py</command>
</script>
</inkscape-extension>

View File

@ -54,6 +54,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_dimensioning.py</command>
<command location="inx" interpreter="python">dimensioning.py</command>
</script>
</inkscape-extension>

View File

@ -12,6 +12,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_distortion.py</command>
<command location="inx" interpreter="python">distortion.py</command>
</script>
</inkscape-extension>

View File

@ -32,6 +32,6 @@ source object changes the linked objects.
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_dots2pathpoints.py</command>
<command location="inx" interpreter="python">dots2pathpoints.py</command>
</script>
</inkscape-extension>

View File

@ -11,6 +11,6 @@
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_drawdirections.py</command>
<command location="inx" interpreter="python">drawdirections.py</command>
</script>
</inkscape-extension>

Some files were not shown because too many files have changed in this diff Show More