Compare commits

..

9 Commits

Author SHA1 Message Date
a5ddc33a27 bundle: update (2026-01-22)
All checks were successful
version / update-version (release) Successful in 13s
2026-01-22 15:00:45 +00:00
a9c87f2adf create version file for future use 2026-01-22 09:58:10 -05:00
5692f4bb08 force new release 2026-01-22 09:55:57 -05:00
9af24d49ee Merge branch 'main' of ssh://git.knoxmakers.org:2222/KnoxMakers/knoxmakers-inkscape 2026-01-22 09:53:29 -05:00
7211fd44ef release changes 2026-01-22 09:53:22 -05:00
b72b468ad4 bundle: update (2026-01-19)
All checks were successful
bundle / bundle (push) Successful in 18s
2026-01-19 09:23:04 +00:00
8a126fec7d bundle: update (2026-01-18)
All checks were successful
bundle / bundle (push) Successful in 16s
2026-01-18 09:23:06 +00:00
e0dc82c22d Merge branch 'main' of ssh://git.knoxmakers.org:2222/KnoxMakers/knoxmakers-inkscape
All checks were successful
bundle / bundle (push) Successful in 15s
2026-01-17 23:53:24 -05:00
c2fa54d3b4 readme 2026-01-17 23:53:16 -05:00
7 changed files with 75 additions and 5 deletions

View File

@@ -45,8 +45,8 @@ jobs:
git push origin HEAD:main git push origin HEAD:main
# Create a unique tag for this bundle run # Create a unique tag for this bundle run
DATETIME="$(date -u +%Y%m%d-%H%M%S)" DATETIME="$(date -u +%Y%m%d)"
TAG="knox-makers-inkscape-${DATETIME}" TAG="knoxmakers-inkscape-${DATETIME}"
SHA="$(git rev-parse HEAD)" SHA="$(git rev-parse HEAD)"
git tag -a "$TAG" -m "Automated bundle: $TAG ($SHA)" git tag -a "$TAG" -m "Automated bundle: $TAG ($SHA)"
@@ -67,7 +67,7 @@ jobs:
CREATE_JSON="$(jq -n \ CREATE_JSON="$(jq -n \
--arg tag "$TAG" \ --arg tag "$TAG" \
--arg name "$TAG" \ --arg name "$TAG" \
--arg body "Automated bundle release.\n\nExcludes: scripts/, .gitea/\nCommit: $SHA\nUTC: $(date -u +'%Y-%m-%d %H:%M:%S')" \ --arg body "Automated bundle release." \
'{tag_name:$tag, name:$name, body:$body, draft:false, prerelease:false}')" '{tag_name:$tag, name:$name, body:$body, draft:false, prerelease:false}')"
RELEASE_RESP="$(curl -fsS -X POST "$API_CREATE" \ RELEASE_RESP="$(curl -fsS -X POST "$API_CREATE" \

View File

@@ -0,0 +1,45 @@
name: version
on:
release:
types: [published]
jobs:
update-version:
runs-on: [ubuntu-24.04]
steps:
- name: Checkout repository
run: |
set -euo pipefail
rm -rf .git || true
rm -rf ./* ./.??* || true
git clone --depth 1 https://git.knoxmakers.org/KnoxMakers/knoxmakers-inkscape.git .
git checkout main
- name: Configure git identity
run: |
git config user.name "haxbot"
git config user.email "haxbot@knoxmakers.sh"
- name: Write version file
run: |
echo "${{ gitea.event.release.name }}" > version
- name: Commit and push version file
env:
HAXBOT_TOKEN: ${{ secrets.HAXBOT_TOKEN }}
run: |
set -euo pipefail
git add version
if git diff --cached --quiet; then
echo "No changes to version file"
exit 0
fi
git commit -m "version: ${{ gitea.event.release.name }}"
REPO_URL="https://x-access-token:${HAXBOT_TOKEN}@git.knoxmakers.org/KnoxMakers/knoxmakers-inkscape.git"
git remote set-url origin "$REPO_URL"
git push origin HEAD:main

View File

@@ -1,2 +1,27 @@
# knoxmakers-inkscape # knoxmakers-inkscape
A bundled collection of Inkscape extensions for Knox Makers makerspace.
## Installation
Download the latest release zip and extract into to your Inkscape extensions directory:
- **Linux**: `~/.config/inkscape/extensions/`
- **Linux (Flatpak)**: `~/.var/app/org.inkscape.Inkscape/config/inkscape/extensions/`
- **Linux (Snap)**: `~/snap/inkscape/current/.config/inkscape/extensions/`
- **macOS**: `~/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/`
- **Windows**: `%APPDATA%\inkscape\extensions\`
## Included Extensions
- **botbox3000** - Box generator for laser cutting
- **km-living-hinge** - Living hinge pattern generator
- **km-plot** - Detect and send designs to serial HPGL plotters/vinyl cutters
- **km-hatch** - Hatching/fill patterns
- **km-hershey** - Single Line text for plotting/engraving
Extensions appear under **Extensions > Knox Makers** in Inkscape.
## Releases
Automated bundles are created daily when upstream repositories have changes.

View File

@@ -182,7 +182,7 @@ class Boxbot(inkex.EffectExtension):
self.top_hole_inset = PathElement() self.top_hole_inset = PathElement()
self.top_hole_inset.set_id(self.svg.get_unique_id("top_hole_inset")) self.top_hole_inset.set_id(self.svg.get_unique_id("top_hole_inset"))
self.top_hole_inset.set('d', top_hole_inset_d) self.top_hole_inset.set('d', top_hole_inset_d)
self.top_hole_inset.style = self.CUT_OUTER_STYLE self.top_hole_inset.style = self.CUT_INNER_STYLE
top_tabs_group.append(self.top_hole_inset) top_tabs_group.append(self.top_hole_inset)
except ValueError: except ValueError:
pass pass

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

View File

@@ -18,5 +18,5 @@ An Inkscape extension that fills closed shapes with parallel hatch lines. The ex
Inspiration, examples, and code came from: Inspiration, examples, and code came from:
- **Hatch Fill** from Evil Mad Scientist Laboratories and their EggBot extensions - **Hatch Fill** from Evil Mad Scientist Laboratories and their EggBot extensions
https://github.com/evil-mad/EggBot/ https://github.com/evil-mad/EggBot/