Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TabbedBoxMaker: A free Inkscape extension for generating tab-jointed box patterns

_version 1.1 - 9 Aug 2021_
_version 1.2 - 27 Nov 2022_

Original box maker by Elliot White (formerly of twot.eu, domain name now squatted)

Expand Down Expand Up @@ -155,3 +155,4 @@ version | Date | Notes
0.99 | (4 June 2020) | Upgraded to support Inkscape v1.0, minor fixes and a tidy up of the parameters dialog layout
1.0 | (17 June 2020) | v1.0 final released: fixes and dogbone added - Mills now supported!
1.1 | (9 Aug 2021) | v1.1 with fixes for newer Inkscape versions - sorry for the delays
1.2 | (18 Dec 2022) | v1.2 retructure as python package
691 changes: 8 additions & 683 deletions boxmaker.py

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
[project]
name = "tabbedboxmaker"
description = 'A free Inkscape extension for generating tab-jointed box patterns'
readme = "README.md"
requires-python = ">=3.7"
license = "GPL-2.0"
keywords = []
authors = [
{name = "Paul Hutchison"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = []
dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/paulh-rnd/TabbedBoxMaker#readme"
Issues = "https://github.com/paulh-rnd/TabbedBoxMaker/issues"
Source = "https://github.com/paulh-rnd/TabbedBoxMaker"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "tabbedboxmaker/__about__.py"

[tool.hatch.envs.default]
dependencies = [
"inkex",
"pytest",
"pytest-cov",
]
[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=tabbedboxmaker --cov=tests {args}"
no-cov = "cov --no-cov {args}"
tests = "python -munittest discover tests/"

[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]

[tool.coverage.run]
branch = true
parallel = true
omit = [
"tabbedboxmaker/__about__.py",
]

[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
1 change: 0 additions & 1 deletion schroffmaker.inx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

<param name="thickness" type="float" precision="2" min="0.0" max="10000.0" _gui-text="Material Thickness">3.0</param>
<param name="kerf" type="float" precision="3" min="0.0" max="10000.0" _gui-text="Kerf (cut width)">0.1</param>
<param name="clearance" type="float" precision="3" min="0.0" max="10000.0" _gui-text="Joint clearance">0.01</param>
<param name="div_l" type="int" gui-hidden="true">0</param>
<param name="div_w" type="int" gui-hidden="true">0</param>

Expand Down
4 changes: 4 additions & 0 deletions tabbedboxmaker/__about__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SPDX-FileCopyrightText: 2022-present Manuel Desbonnet
#
# SPDX-License-Identifier: GPL-2.0
__version__ = '1.2.0'
Loading