Skip to content

Conversation

@manuelmcd
Copy link

@manuelmcd manuelmcd commented Dec 23, 2022

The ultimate goal being to enable use of the boxmaker code independently of Inkscape.

  • Using hatch new TabbedBoxMaker to create the package structure.
  • Refactors the boxmaker code to separate it from the inkscape plugin, and to generate
    abstract shapes instead of SVG. (SVG generation is done by the plugin code).
  • Adds tests of the boxmaker & schroff plugins (just compares SVG output to output from
    v1.1, to catch bugs introduced by refactoring). Use hatch run tests to run tests.
  • Incorporates the schroffmaker.inx fix from PR#50
  • Will likely conflict severely with PR#53, requiring manual update to one or the other.
  • Bumps version to 1.2.0

- Using `hatch new TabbedBoxMaker` to created package structure.
- Bumps version to 1.2.0
- Add initial tests (not schroff). Using unittest since pytest does not
  correctly report errors in subtests
Remove the `clearance` param from schroffmaker.inx since that param
was removed from the boxmaker code (667b00a)
- Fix schroff test class name
- Comment out maxDiff to avoid huge diffs on fails.
Pull the piece generation code to a separate function to enable this.

Move the add_args() func to a class static method to facilitate
inheritance.
Not used in tabbedboxmaker
@paulh-rnd
Copy link
Owner

Thank you so much for the effort that you put into this PR. I'm sorry I never got to it. There were already some conflicts, so I've gone ahead and merged a more recent PR that I think takes this project in a good direction. Please review.

Also, please see my announcement. I'm stepping back from what little I was doing for TBM. It's time for someone who is more dedicated to the project to take it over.

Thanks for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants