Inkscape extension for generating embroidery stitch files. Usage: Select objects that you want to apply embroidery properties and using the extension, set the parameters for the desired object(s). Once all desired objects have embroidery properties, use the extension to generate the necessary stitch file. A variety of raw stitch files are supported. Note: Follow the link to the Ink/Stitch website. There you can find download links, installation instructions and in depth-documentation.
A set of extensions for efficiently importing, editing, and resizing scientific figures. 1. Scale Plots: Changes the size or aspect ratio of a plot without modifying its text and ticks. Especially useful for assembling multi-panel figures. 2. Flattener: A utility that eliminates much of the structure generated by common plot generation programs and PDF imports. For most imported plots, this should be the first thing you run. 3. Homogenizer: Sets uniform fonts, font sizes, and stroke widths in a selection. 4. Auto-Exporter: Automatically exports SVG files in a directory and keeps them updated. 5. Gallery Viewer: Provides a way to view and edit the SVG contents of files or folders. 6. Text Ghoster: Adds a semi-transparent background to text so that it can be overlaid with data. 7. Combine by Color: An extension that fuses paths of the same color and style together into a single path. 8. Favorite Markers: Lets you designate certain markers as favorites so that they can be conveniently accessed. --- Curated by Martin Owens on April 22 2022 9:10 AM
Boolean operations for multiple objects at once - difference, union, intersection, exclusion, division or cut. The extension is a rewrite of the Multi-Bool extension, and offers many adjustable settings and improvements. It takes a selection of one or more groups, or of several elements (paths, shapes, text), or a mix of both, and applies a chosen path operation with the top-most valid object in paint order and each other valid object which is part of the selection (directly or as member of a processed group) that is lower in Z-order. For more info, please refer to the README file at https://gitlab.com/moini_ink/inx-pathops/-/blob/master/README.md . Inkscape extension written by su-v and updated for Inkscape 1.0 – 1.4 by Maren Hachmann, licensed GPLv2 or higher.
Automatically replace values (text, attribute values) in an SVG file and export to various file formats. This extension is useful e.g. for generating images for name badges and other similar items, or for rotating object colors in a semi-automated way. Data must be given as a CSV (comma separated values) file. The extension is compatible with Inkscape starting from version 1.2 and requires Python 3. Visit https://gitlab.com/Moini/nextgenerator for downloading the latest version, finding a set of examples, and some additional usage hints and to report bugs.
Grab color from underlying bitmap and apply it to path objects. The color is averaged all over the path area. Erode parameter can be used to shrink or expand (using negative value) this area. If multiple bitmaps are selected, only one is considered. In version 2.0, you can also alter the scale each path object. see source code on https://github.com/jujumo/inkex_color_trace
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.20 15/Dec/2024
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.
Phoca - Remove Image Background (AI) extension is an Inkscape extension to help you easily remove backgrounds from raster images (JPG, PNG, WEBP, ...) using AI and the Rembg library. With Phoca - Inkscape Remove Image Background extension you can remove image background with help of different AI models. There are following options: - Model - select model - Post Process Mask - Yes | No - Alpha Matting - Yes | No - Alpha Matting Foreground Threshold - set value for Alpha matting foreground threshold (0 - 255) - Alpha Matting Background Threshold - set value for Alpha matting foreground threshold (0 - 255) - Alpha Matting Erode Size - set value for Alpha matting erode size (0 - 40) - Debug Usage: - Make sure you have your Rembg library environment set up correctly on your computer, see Be aware section below. - Select raster image, click on Raster - Remove Image Background. Set options and click on Apply button. - Then the selected image should have its background removed using AI. Be aware: - This extensions requires Rembg and PIL libraries (and their dependencies) installed on your system, see: https://github.com/danielgatis/rembg - This extension is for experienced users who have set up and tested the Rembg - a Python library on their computer. - Removing image backgrounds using AI models can be a very challenging process. Therefore, it is a good idea to have your environment set up correctly and try first to remove the background of an image using the Rembg library directly in the console How to install this extension: Just follow Inkscape guides for installing Inkscape extensions (download the ZIP package and unzip it to Inkscape extension folder and restart Inkscape) This extension needs the Python libraries Rembg and PIL and many of their other dependencies to run properly. So before using this extension, you need to install this complete environment using Python.
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)
Inkscape Extension to Export Multi-DPI TIFF files with options for 1.0, 1.5, 2.0, 3.0 and/or 4.0 scale for the base DPI. The `Multi-DPI TIFF (*.tiff)` is available in the Export section. Check the https://github.com/ricaun/inkscape-export-multi-dpi-tiff for details. Last release: https://github.com/ricaun/inkscape-export-multi-dpi-tiff/releases/tag/1.2.0 Tested: * Inkscape 1.4 * Inkscape 1.3
# 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: Ensure ComfyUI 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 combine the results 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. By integrating AI-driven image generation into Inkscape, this extension enhances creative workflows, offering designers a powerful tool to expand their design capabilities.
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.