Coder Social home page Coder Social logo

eridur-de / mightyscape-1.2 Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 3.0 180.25 MB

A maintained extension collection for Inkscape 1.2, working on Windows and Linux

Home Page: https://y.stadtfabrikanten.org/mightyscape

License: GNU General Public License v3.0

Shell 17.92% Python 74.99% HTML 0.66% JavaScript 1.77% Makefile 1.76% Roff 0.10% C 1.56% M4 0.04% GLSL 0.01% OpenSCAD 0.01% Dockerfile 0.01% Jupyter Notebook 0.23% CSS 0.06% C++ 0.87%
extensions inkscape python addons art cnc dwg dxf gcode laser laser-cutting patterns plotter plugins prusa stl svg vector

mightyscape-1.2's People

Contributors

vmario89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mightyscape-1.2's Issues

[frame_animation_sequence] gives warning in cli output bug

When starting inkscape on console, we see output, which is generated by frame_animation_sequence extension. How can we avoid this?

WARNING: unknown type: svg:animate

It looks like we need to add this type to the inkex dtd scheme manually, but how?

this issue is similar to #3

[cutting_optimizer] handle attached paths in groups

If we have paths, which contains other elements like inner unclosed polygons or patterns, we want to keep them after nesting. but this is not possible using cutting optimizer. we could try to add some logic to calculate the transformation of the nested items in relation to their previous, unnested position. maybe we could use those transformations to re-align the attached polygons/lines to the elements then.

[gears] Add option to add multiple gears in a row

We should add an option (string type) to be parsed as an array, to modify the tooth number and to create multiple gears at once. We could enter some values like =[1,4,5,15,16,20,25,30] to generate gears with

[imagetracerjs] Image has wrong size

Since Inkscape 1.2.1 the traced image has 1x1px under some circumstances. This should be fixed. Issue seems to happen if selected image has no x/y attribute

[kvec] TypeError

KVEC errors if option "Fit to original dimensions" is enabled -> if an embedded image has no x and/or y attribute, it seems to crash

Traceback (most recent call last):
  File "/home/himbeere/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/kvec/kvec.py", line 234, in <module>
    KVEC().run()
  File "/usr/share/inkscape/extensions/inkex/base.py", line 231, in run
    self.save_raw(self.effect())
  File "/home/himbeere/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/kvec/kvec.py", line 213, in effect
    float(element.get('x')) - (float(element.get('width')) / bbox.width) * bbox.left,
TypeError: float() argument must be a string or a real number, not 'NoneType' 

[laser_check] Scan for rel/abs coords and display potential warnings

The Fusion Pro 32 cutter seems to have a bug in work together with the recent Epilog Suite. If the svg contains paths with h or v notation, the entered position of the drawing is ignored by the machine. The preview in software looks fine, but the cutter physically cuts elsewhere. this destroys the product under circumstances.

we should check what happens if we use H or V (abs) or convert them to L

grafik

sample file:
sample

[laser_check] Add more statistics

We want to add more statistics to show:

  • total count of paths
  • total count of nodes
  • total length of paths
  • total surface
  • total file size -> give a warning if the file is larger than megabytes. Usually larger files (>4MB) do not open because Inkscape always hangs or later processing software crashes too

tips to reduce file size:

  • simplify curves
  • use Rounder to cut off decimals from numbers if too precise
  • merge contours
  • purge duplicate nodes, paths, ...
  • remove objects

Additionally we want to add tips for different extensions to use in case some problem was identified. Like:

  • invisible lines were found -> Use Cleanup Styles
  • transforms were found -> Use Apply Transforms
  • ....

[table_support] gives warning in cli output

When starting inkscape on console, we see output, which is generated by table_support extension. How can we avoid this?

WARNING: unknown type: ns0:tables

It looks like we need to add this type to the inkex dtd scheme manually, but how?

[reload] AttributeError to fix

The following error is thrown when re-loading the drawing

Traceback (most recent call last):
  File "/home/himbeere/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/reload/reload.py", line 56, in <module>
    Reload().run()
  File "/usr/share/inkscape/extensions/inkex/base.py", line 231, in run
    self.save_raw(self.effect())
  File "/home/himbeere/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/reload/reload.py", line 48, in effect
    for copyAttrib in copyNamedview.attrib:
AttributeError: 'NoneType' object has no attribute 'attrib'

the file:
reload drawing error

[laser_check] Outside canvas check wrong

the following drawing says wrong position:

---------- Elements outside canvas or touching the border
1 Elements outside canvas or touching the border in total
id=path108, status=fully outside

Lasercheck Fail 2 - vollständig outside -lasercheck-fail fehler - namedview viewBox

[stroke_and_color_scaler] extension

A new extension to define an increasing or decreasing stroke width or color, depending on the recent order of item selection:

  • direction, e.g. left-right, top-bottom
  • path length
  • area
  • rendering order
  • ...

[box_maker_mehr_boxes] TypeError

Traceback (most recent call last):
  File "/home/tomate/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/box_maker_mehr_boxes/box_maker_mehr_boxes.py", line 188, in <module>
    mehr_box_maker().run()
  File "/usr/share/inkscape/extensions/inkex/base.py", line 231, in run
    self.save_raw(self.effect())
                  ^^^^^^^^^^^^^
  File "/home/tomate/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/box_maker_mehr_boxes/box_maker_mehr_boxes.py", line 122, in effect
    Plate_tb=mehr_plate.Mehr_plate((XYZ[0],XYZ[1]),tabs_tb,start_tb,thickness,kerf)#top and bottom plate
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tomate/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/box_maker_mehr_boxes/mehr_plate.py", line 22, in __init__
    points+=self.rotate(self.side(i),i*math.pi/2)#creating the points of the four sides and rotate them in the radiant system
                        ^^^^^^^^^^^^
  File "/home/tomate/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/box_maker_mehr_boxes/mehr_plate.py", line 33, in side
    for i in range(parts):#creates the side
             ^^^^^^^^^^^^
TypeError: 'float' object cannot be interpreted as an integer

occures if tab mode -> size is selected

Different extensions to check out

There are a lot of extensions we could check out to include/fix/upgrade ... This is a sticky collector issue to gotta catch'em all

  1. https://github.com/MadeInFondDuGarage/Extension_Inkscape_1.2
  2. https://github.com/LilJohny/InkscapeDistortion
  3. https://inkscape.org/de/~doctormo/★art-png-export
  4. https://inkscape.org/de/~culturaljuice/★export_gif
  5. https://inkscape.org/de/~Kaalleen/★book-art
  6. https://inkscape.org/de/~Kaalleen/★bingo-card-creator
  7. https://gitlab.com/inklinea/indexed-colour
  8. https://gitlab.com/inklinea/layer_combinations
  9. https://gitlab.com/inklinea/page-numbering
  10. https://gitlab.com/inklinea/objects-to-new-layer
  11. https://gitlab.com/inklinea/scale-by-object
  12. https://gitlab.com/inklinea/ink-leaflet
  13. https://gitlab.com/inklinea/ink-tesseract
  14. https://gitlab.com/inklinea/page-watermark
  15. https://gitlab.com/inklinea/symbol-replace
  16. https://gitlab.com/inklinea/draw-shapes
  17. https://gitlab.com/inklinea/block-connector
  18. https://gitlab.com/inklinea/layers-out
  19. https://gitlab.com/inklinea/swatch-to-style
  20. https://gitlab.com/inklinea/bitmap-to-gradient
  21. https://gitlab.com/inklinea/impex
  22. https://gitlab.com/inklinea/textlength-adjust
  23. https://github.com/glopesdev/favicon-generator
  24. https://github.com/XRoemer/XTools
  25. https://github.com/CatherineH/inkscape_extensions
  26. https://github.com/moomop/inkscape_dot_grid
  27. https://github.com/aesuli/toXY
  28. https://gitlab.com/mnesarco/inkscape-pyscript
  29. https://github.com/santhoshtr/inkscape-hyphenation
  30. https://inkscape.org/~mutterer/%E2%98%85ij-macro-panel-and-other-figure-extensions
  31. https://github.com/raniaamina/inkporter
  32. https://gitlab.com/EllenWasbo/inkscape-extension-calibration-frame
  33. https://gitlab.com/fej/inkscape-mobile-export
  34. https://github.com/burghoff/Academic-Inkscape
  35. https://github.com/fruch7i/inkscape_gif_export
  36. https://github.com/tomlechner/inkscape-stuff/tree/master/columncalendar
  37. https://sourceforge.net/projects/inkplot
  38. https://github.com/SilentSniperoo/inkscape-extensions
  39. https://github.com/konsumer/inkscape-svgo
  40. https://github.com/sonejostudios/InkscapePreviewLayer
  41. https://github.com/lifelike/countersheetsextension
  42. https://github.com/fsmMLK/inkscapeCreateMarkers
  43. https://github.com/fsmMLK/inkscapeCartesianAxes2D
  44. https://github.com/fsmMLK/inkscapeCartesianPlotFunction2D
  45. https://github.com/fsmMLK/inkscapeCartesianPlotData2D
  46. https://github.com/fsmMLK/inkscapeCartesianStemPlot
  47. https://github.com/fsmMLK/inkscapePolarAxes2D
  48. https://github.com/fsmMLK/inkscapeLogicGates
  49. https://github.com/fsmMLK/inkscapeCircuitSymbols
  50. https://github.com/fsmMLK/inkscapeDimensions
  51. https://github.com/jnweiger/inkscape-silhouette
  52. https://bitbucket.org/matyilona/imagealigner
  53. https://github.com/yfujita-skgcat/image_aligner
  54. https://github.com/florianheller/LaserSVG_Inkscape
  55. https://github.com/makejs/inkscape-laser
  56. https://github.com/florianfesti/hotwire
  57. https://github.com/utlco/tcnc/tree/master/inkinx
  58. https://github.com/lingo/inkscape_onionskin
  59. https://github.com/Alpt/gdadin
  60. https://github.com/xyz2tex/svg2tikz
  61. https://github.com/junichi11/gimp_psd
  62. https://github.com/erichVK5/inkscape2pcb
  63. https://inkscape.org/de/~PacoGarcia/%E2%98%85inkscape-to-povray
  64. https://github.com/zxfr/strokefont_cyrillic
  65. https://github.com/lisjump/dopplemaker
  66. https://gitlab.com/Moini/inkscape-guide-tools
  67. https://gitlab.com/su-v/inx-attributelabels
  68. https://gitlab.com/su-v/inx-exportobjects
  69. https://inkscape.org/de/~fdesar/%E2%98%85origami-ext
  70. https://gitlab.com/su-v/inx-modifyimage
  71. https://github.com/artemtech/inkscape-multicalendar
  72. https://github.com/Rafafouille/inkscape_liaisonshttp://inkscape.allais.e
  73. https://github.com/snow6oy/recurrink
  74. https://github.com/CatherineH/inkscape_extensions
  75. https://inkscape.org/de/~McHansy/%E2%98%85create-iconfile
  76. https://inkscape.org/de/~inklinea/%E2%98%85bitmap-to-gradient
  77. https://github.com/KatMistberg/inkscape-fancy-text
  78. https://github.com/allali/lasercut
  79. https://github.com/StefanTraistaru/batch-export
  80. https://github.com/FransFaase/FractalJigsawPuzzle
  81. https://inkscape.org/de/~FractalLotus/%E2%98%85sashiko-stitching-patterns
  82. https://github.com/mtirado1/inkscape-geojson-export
  83. https://github.com/tpointer14/inkscape-manager
  84. https://github.com/moomop/inkscape_dot_grid
  85. https://github.com/martymcguire/inkscape-openscad-poly
  86. https://github.com/obzerving/Roof_Maker
  87. https://github.com/JakubAndrysek/InkSvgNest
  88. https://inkscape.org/~Mr.Raven/%E2%98%85customise-user-interface
  89. https://github.com/ducksdoquack/fretboard
  90. https://inkscape.org/~cwant/%E2%98%85inkscape-tiling-extension+2
  91. https://inkscape.org/~sync3x/%E2%98%85cardcarton-rev1

[cutting_optimizer] convert beziers to polylines

Cutting optimizer is crashing or looping indefinitely, if we have svg file with bezier(s). We should add some option to either handle beziers by converting them to polylines or by ignoring them completely

[cutting_optimizer] omit unplacable polygon errors

Under some circumstances polygons cannot be placed. Some potential issues:

  • canvas too small
  • objects are overlapping
  • object position is outside canvas
    we should add some logic to change object position before nesting and/or we could add some code to resize canvas

[vektorkollektor] Add option to cache data

Vektorkollektor data is growing a lot. We should add some option to cache the downloaded file for X minutes, once it was downloaded. This should prevent being slow when changing to another drawing number. Additionally we could breakup the drawing data into single drawing files, which also could be cached for X or Y minutes or to exist permanently. We could add some static sub folder to store the data within Mightyscape, too

[cutting_optimizer] handle open/closed polygons correctly

Add option to check which elements disappeared after nesting and add option to enable/disable the deletion. by default, items like unclosed polygons are getting deleted by cutting optimizer. We could add some logic to send only closed polygons to the optimizer to omit deleting open polygons. We should filter the selection or the whole document, send out only the usable data to a new temporary svg , which gets processed by cutting optimizer

Archive old mightyscape-1.X repo and update README.md

As we only want to support latest Inkscape / Python environments we want to supersede older mightyscape repos. Otherwise it's too hard to maintain all the workarounds and enhancements for each new inkscape release and each python lib modification

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.