this extension makes it possible to generate mazes using different algorithms it uses the maze module (in file maze.py) if you want to add an algorithm, take inspiration from the 5 algorithms I've already coded, it shouldn't be too hard to add some compatible ones it is also possible to choose the thickness of the lines, the size of the squares and the size of the labyrinth (in number of squares). The result will be displayed in black, in a group containing all the paths. And you can then easily manipulate them for all questions, comments, bugs: duvillard.tiemen@gmail.com this extension is under licence MIT @ Tiemen DUVILLARD 2020 EDIT : 27/05/2021 : New Version, with a new Algorithm 18/03/2024 : Solve bug with 1.3.2
inkscape-tableau ----- Version 2024.1 For inkscape V 1.x ==================== Draw simple table with or not rounded corner. Optimized for laser cutter. Usage ----- Copy the .inx, .svg and *.py files into your Inkscape extensions directory (usually on windows C:\Users\username\AppData\Roaming\inkscape\extensions). The actual directory can be found under Preferences/System. Restart inkscape. The table will be available under Extensions/Tableau. All code is offered under Licence : Public Domain. Translated in english. If you translat it in other language, please send me the pot file. Question possible en français.
A simple Inkscape extension that lets you extract attributes (like id) from all selected paths, and show them as <text> elements inside the paths. Useful for when you want to have all paths' id shown on the SVG document as <text> nodes. You can also use it for other path attributes, like `label`, `fill`, `stroke`, `width`, `height`. Available under the Extensions > Text submenu. Check the extension's repo on GitHub for examples. Options for styling and formatting the text: Font size in pixels Color (the fill color of the <text> elements) Font (should be installed on the system) Font Weight (should be supported by the selected font) Angle (controls the rotation of the generated <text> elements, in degrees) Options for further editing the extracted text (only used with id and label attributes): Text to replace (a simple replace function to remove characters you may not want from the text) Match Regular Expression (matches the extracted text of each path to a regular expression and uses the result on the path, e.g. if the id is `Province_055` and this field `\d+`, the text on the path will be just `055`) Capitalize (capitalize all text) Group paths with the generated text elements (if checked, also group the path with its text label) Note: only works on <path> elements. If you have a <circle>, <rectangle>, <text>, etc., first use Object > Object to Path to convert it. For Inkscape v0.92 and before, you should check the extension's repository on GitHub.
This script optimizes a drawing for laser cutting: - Removes overlapping lines; - Saves the modified file with a new name; - Applies modifications to the entire document or to the selection; - Optimizes the cutting order. Translated in english. Please send me pot file for other languages.
This extension allows to delete with a certain probability each of the selected objects. Edit 18/03/2024 : Solve bug with 1.3.2
Inkscape extension to export SVG layers as standalone PDF, PNG, SVG or JPEG images. The exported images can progressively reveal content of an Inkscape document.
This free extension for Inkscape speeds up preparation of laser cutting jobs by exporting Gcode to LaserGRBL (included with most laser cutters). Pick your model of laser and material / thickness from pulldown lists, then export a complex job directly into LaserGRBL with one click. Use different coloured lines for each part of a job. eg, red lines to engrave in a single pass at 3000 mm/min @ 80% power, but blue lines cut in 3 passes at 300 mm/min @ 90% power. The emphasis is on it being very easy to use, with the bare minimum of settings. v1.10 14/Oct/2024
This extension adds page numbers as labels to all pages. * You can chose a label prefix and whether existing page labels should be kept or replaced. * Appears under Extensions>Pages>Labels from page numbers... * Installation: Unzip to 'User Extensions' folder. History: 2024-01-29: first version.
Minimal inkscape 1.0 extension https://github.com/costycnc/inkscape-1.0-python-hello-world-extension-costycnc
This extension is util for who want to learn the base principle of python language and in special for who want create for first time or want to understand how request all paths or nodes for ulterior custom programming.
Inkscape extension to save and view the svg file in the pdf+latex format for easier illustration generation for scientific papers.
This is an extension for Inkscape 1.2 for correcting SVG-files that were exported by Sibelius via the graphic selection tool. These SVG are always the full page with 4 white rectangles that cover the unwanted area. The page size and viewbox isn't set correctly to show only the selected area. The extension will correct this and has the options to - remove the white cover boxes - remove all elements that are outside the page (most of it). #### Download: Click on the image above #### Video: https://www.youtube.com/watch?v=Jg7QqarVrA4 #### Installation: On Windows extract the zip file into something like this path: C:\Users\yourname\AppData\Roaming\inkscape\extensions\ To find and open the correct folder you can also open Inkscape->Edit->Preferences->System->User Extensions->Open After installation and restart Inkscape you can run the extension in "Extensions"->Document->Sibelius Viewbox. #### (Optional) Usage as .bat-file to process multiple SVGs: As it is a python script it also can be used to batch process multiple files via command line. Put this line into a text-file, edit the paths (yourname) and save as SibeliusViewbox.bat: for %%a in (%*) do python.exe "C:\Users\yourname\AppData\Roaming\inkscape\extensions\SibeliusViewbox\SibeliusViewboxExtension.py" --remove_whiteboxes=True --remove_elements=True %%a > %%a_viewbox.svg An example .bat-file is included. Once created you can drag and drop multiple SVGs onto the SibeliusViewbox.bat-file and the script will generate the corrected SVGs. Note: If Inkscape is not installed in "C:\Program Files\" you must edit the Python script. #### (Optional) Add .bat-file to Send-to-Menu: You can add the .bat-file to the Windows Send-to-menu. Open Windows-Explorer and insert this into the address-bar: shell:sendto This opens the Send-to-folder. Copy the .bat-file into it. Now you can select all your SVGs, right click -> Send-to -> SibeliusViewbox.bat
This extension is for users of the FreeCAD Marz Workbench that relies on inkscape svg files. The user can add the required information to the paths in Inkscape so the Marz WB can recognize them as valid geometry references. Development: https://github.com/mnesarco/MarzWorkbench Tested on: Inkscape 1.3.2 (091e20ef0f, 2023-11-25) GLib version: 2.78.4 GTK version: 3.24.41 glibmm version: 2.66.1 gtkmm version: 3.24.5 libxml2 version: 2.11.5 libxslt version: 1.1.39 Cairo version: 1.18.0 Pango version: 1.51.2 HarfBuzz version: 8.1.1 OS version: GNOME 45 (Flatpak runtime)
Sync Sound Effects with SVG Animations - My brain melted trying to figure out this form to upload this. Click the Down Arrow to DOWNLOAD the archive file to have FUN!
Problème d'affichage avec le "Filtre / Biseaux / Eclairage spéculaire" --- Curated by Maren Hachmann on June 20 2024 12:27 AM
Gears extension for tracing involute gears and metric pitch gears (belt pulley); allows spokes, center cross, metric module, best evolute shape. Initially, copy of inkscape-gears-dev by jnweiger. - 2024-11-09 | 2024.3 : - Added the ability to define fixing holes based on material thickness. - Ability to make a hole that matches the material thickness. - Added the drawing of the axis if the perfect square option is chosen. - 2024-11-06 | 2024.2 : The fixing wheel for servomotors is now configurable. - 2024-10-25 | 2024.1 : Added the drawing of the fixing wheel for servomotors. Versioning change. Flanks for T-type wheel. - 2024-07-20 | 1.4 : Added the drawing of metric pitch pulley. Retouched explanations. Added diagrams. - 2024-06-22 | 1.3 : Added colors for cutting order. Separated into multiple objects to facilitate retouching and recoloring. - 2024-06-18 | 1.2 : Added the ability to choose the shape of the hole (rectangular, round, or servo imprint) and to choose the dimensions of the hole. Added the ability to choose an imprint for the servo hole. The imprints are placed in the file engrenage.ini. - 2024-04-21 | 1.1 : Translated into French. Modified the color in case of undercut. Modified the dedendum to be 1.25 times the addendum. -------------------------------------------------------------------------------------------------------------------- - 2024-11-09 | 2024.3 : - Ajout de la possibilité de définir les trous de fixation en fonction de l'épaisseur du matériau. - Possibilité de faire un trou qui correspond à l'épaisseur du matériau. - Ajout du dessin de l'axe si on choisit l'option carré parfait. - 2024-11-06 | 2024.2 : La roue de fixation pour les servomoteurs est maintenant paramétrable. - 2024-10-25 | 2024.1 : Ajout du tracé de roue de fixation pour les servomoteurs. Changement de versionnage. Flancs pour roue de type T. - 2024-07-20 | 1.4 : Ajout du tracé de poulie au pas métrique. Retouche des explications. Ajout de schémas. - 2024-06-22 | 1.3 : Ajout de couleurs pour l'ordre de découpe. Séparation en plusieurs objet pour faciliter la retouche et la recolorisation. - 2024-06-18 | 1.2 : Ajout de la possibilité de choisir la forme du trou (rectangulaire, ronde ou empreinte de servo) et de choisir les dimensions du trou. Ajout de la possibilité de choisir une empreinte pour le trou du servo. Les empreintes sont placées dans le fichier engrenage.ini - 2024-04-21 | 1.1 : traduction en français. Modification de la couleur en cas d'undercut. Modification du deddendum pour qu'il fasse 1,25 fois l'addendum. Translated in english. Please send me pot file for other languages.
For extension developers. Most extensions to Inkscape use an .inx file that describes a static user interface, then a Python script is run one time when the user clicks "Apply". To create a dynamic UI (that changes as the user clicks buttons, selects from dropdown menus, etc) you can build it in GTK using a Python script that runs immediately. Requires Inkscape v1.1 or newer. These short examples demonstrate a handful of functions in GTK+ 3. Now includes an example extension that uses a .glade XML file to create the UI with Gtk.Builder(). Also many small changes that result in much higher pylint code scores.
For extension developers. This minimal extension pulls together some helpful documentation about adding localization to an extension, including where the translation files go and what gettext commands to use on both Windows and Linux. Now includes localized text in the Python script. Also many small changes that result in a much higher pylint code score.
Draw a brick box with or without lid. Translated in english.
Initially fork of this one : https://inkscape.org/fr/~Jarrett/%E2%98%85quickjoint. Added some functionnality : - Translate in english and french. Possibility for other languages. - One click in inkscape update. - Convert in path inside the extension. - Possibility to make a database of material with kerf. Select an object, run the extension and you can add tabs on each edge. You can also create slot for this edges.
# Inkscape ComfyUI-extension An Inkscape extension that integrates ComfyUI - turning Inkscape into Recraft, but with all Inkscape's features! The **Inkscape ComfyUI Extension** integrates Inkscape with the ComfyUI API, enabling users to generate images based on selected SVG objects and specified prompts. This extension facilitates the creation of AI-generated images directly within Inkscape, streamlining the design workflow. ## Key Features: * AI Image Generation: Transform selected SVG elements into AI-generated images using custom positive and negative prompts. * Seamless Integration: Directly interact with the ComfyUI API from within Inkscape. * Customizable Parameters: Adjust settings such as CFG Scale, Denoise, Seed, and Steps to fine-tune image generation. * Workflow Management: Load and utilize predefined workflows in JSON format. ## Dependencies: * Inkscape: Version 1.3.2 or higher. * ComfyUI API: Accessible at the specified API URL (default: 127.0.0.1:8188). ## Compatibility: * Operating Systems: Compatible with Windows, macOS, and Linux. * Inkscape Versions: Designed for Inkscape 1.0 and above. ## Installation: 1. Set Up ComfyUI API: Ensure the ComfyUI API is running and accessible at the specified API URL. 2. Install Inkscape 3. Install Extension: Place the extension files in Inkscape’s user extensions directory. You can find this folder in: - Edit>Preferences or Inkscape>Settings on Mac - Select System - Press the **"Open"** button next to "User extensions" 4. Restart Inkscape: Restart Inkscape to load the new extension. 5. Use the Extension: Select SVG objects, navigate to the extension, input prompts and parameters, and generate images. ## Setup: 1. An api version workflow is included - check to make sure you have all the right models by opening it in ComfyUI. * Or use your own after saving it to API format. 2. The features are currently limited to: * A positive prompt * A negative prompt * An image input * A KSampler's: * CFG Scale * Denoise * Seed * Steps 3. You need to find the correct IDs in the JSON file and set those in the IDs tab. * These IDs will differ from what you see in your normal (non-api) workflow in ComfyUI, so remember to check. 4. If your ComfyUI IP or port differs, update to match. * If ComfyUI is on a different PC on your network, remember to start it with the argument: > "--listen 0.0.0.0" 5. Remember to follow the above process when you change the workflow. Would be nice to improve this to a history - help welcome! ## Usage: 1. Draw something or select an existing object. 2. Extensions>Render>ComfyUI 3. If you haven't done the setup, do so now 3. Enter your prompt and select your values 4. Press Apply 5. Wait for ComfyUI to finish producing your results 6. Rave in awe! ### Additionally * Once you have the image, it is a simple matter of tracing the bitmap. You can find this feature at **Path>Trace Bitmap**. Play around with the settings. * It often helps to take the results and use that with the same prompt to refine the outcome - play around! ## Security Considerations: * API Interactions: The extension communicates with the ComfyUI API via HTTP requests. Ensure the API URL is correctly configured and secure. * File Handling: Temporary files are created during image processing. The extension manages these files securely, but users should be aware of their system’s temporary directory policies. ## Tags: * AI * Image Generation * ComfyUI * Inkscape Extension * Design Tool By integrating AI-driven image generation into Inkscape, this extension enhances creative workflows, offering designers a powerful tool to expand their design capabilities.
# Inkscape Layer Locking Extensions This repository contains three Inkscape extensions for managing layer locking: ## 1. Lock/Unlock All Layers This extension provides a convenient way to toggle the lock state of all layers in your Inkscape document. **Functionality:** * If any layer is unlocked, the extension will lock all layers. * If all layers are locked, the extension will unlock all layers. **Usage:** 1. Install the extension by placing the `lock_unlock_all_layers.inx` and `lock_unlock_all_layers.py` files in your Inkscape extensions directory. 2. Open your SVG document in Inkscape. 3. Go to `Extensions > Layer > Lock/Unlock All Layers`. ## 2. Lock All Layers This extension locks all layers in your Inkscape document, regardless of their current state. **Usage:** 1. Install the extension by placing the `lock_all_layers.inx` and `lock_all_layers.py` files in your Inkscape extensions directory. 2. Open your SVG document in Inkscape. 3. Go to `Extensions > Layer > Lock All Layers`. ## 3. Unlock All Layers This extension unlocks all layers in your Inkscape document, regardless of their current state. **Usage:** 1. Install the extension by placing the `unlock_all_layers.inx` and `unlock_all_layers.py` files in your Inkscape extensions directory. 2. Open your SVG document in Inkscape. 3. Go to `Extensions > Layer > Unlock All Layers`. ## Acknowledgements This extension was developed with the help of [Gemini Advanced](https://sites.research.google/gemini), Google's next-generation AI model. Special thanks to the Inkscape community for their valuable contributions and support, particularly the following resources: * Inkscape Forum: [https://inkscape.org/forums/](https://inkscape.org/forums/) * Inkscape Wiki: [https://wiki.inkscape.org/wiki/](https://wiki.inkscape.org/wiki/) * Inkscape Extensions Documentation: [https://inkscape.gitlab.io/extensions/documentation/](https://inkscape.gitlab.io/extensions/documentation/)