draftwright 0.1.3__tar.gz → 0.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {draftwright-0.1.3 → draftwright-0.1.5}/.gitignore +1 -0
  2. {draftwright-0.1.3 → draftwright-0.1.5}/CHANGELOG.md +18 -0
  3. {draftwright-0.1.3 → draftwright-0.1.5}/PKG-INFO +1 -1
  4. {draftwright-0.1.3 → draftwright-0.1.5}/pyproject.toml +6 -2
  5. {draftwright-0.1.3 → draftwright-0.1.5}/src/draftwright/make_drawing.py +339 -92
  6. draftwright-0.1.5/tests/fixtures/nist_ctc_01_asme1_ap203.stp +5506 -0
  7. draftwright-0.1.5/tests/fixtures/nist_ctc_02_asme1_ap203.stp +24369 -0
  8. draftwright-0.1.5/tests/fixtures/nist_ctc_02_asme1_ap242.stp +22900 -0
  9. draftwright-0.1.5/tests/fixtures/nist_ctc_03_asme1_ap203.stp +5833 -0
  10. draftwright-0.1.5/tests/fixtures/nist_ctc_03_asme1_ap242.stp +6325 -0
  11. draftwright-0.1.5/tests/fixtures/nist_ctc_04_asme1_ap203.stp +14677 -0
  12. draftwright-0.1.5/tests/fixtures/nist_ctc_04_asme1_ap242.stp +21445 -0
  13. draftwright-0.1.5/tests/fixtures/nist_ctc_05_asme1_ap203.stp +7005 -0
  14. draftwright-0.1.5/tests/fixtures/nist_ctc_05_asme1_ap242.stp +14204 -0
  15. {draftwright-0.1.3 → draftwright-0.1.5}/tests/test_e2e_standards.py +44 -0
  16. {draftwright-0.1.3 → draftwright-0.1.5}/tests/test_make_drawing.py +221 -5
  17. {draftwright-0.1.3 → draftwright-0.1.5}/LICENSE +0 -0
  18. {draftwright-0.1.3 → draftwright-0.1.5}/README.md +0 -0
  19. {draftwright-0.1.3 → draftwright-0.1.5}/skills/SKILL.md +0 -0
  20. {draftwright-0.1.3 → draftwright-0.1.5}/src/draftwright/__init__.py +0 -0
  21. {draftwright-0.1.3 → draftwright-0.1.5}/src/draftwright/pmi.py +0 -0
  22. {draftwright-0.1.3 → draftwright-0.1.5}/tests/fixtures/nist_ctc_01_asme1_ap242.stp +0 -0
  23. {draftwright-0.1.3 → draftwright-0.1.5}/tests/test_pmi.py +0 -0
@@ -9,3 +9,4 @@ build/
9
9
  testenv/
10
10
  .coverage
11
11
  coverage.xml
12
+ .DS_Store
@@ -2,6 +2,24 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v0.1.4 — 2026-06-15
6
+
7
+ ### Changed
8
+
9
+ - Feature annotations (hole callouts, location dimensions, section view) now
10
+ fire on feature presence independent of the turned/prismatic classification,
11
+ so turned-and-drilled parts (e.g. flanges) get both the OD/centreline base
12
+ set and per-hole callouts plus bolt-circle furniture (#10).
13
+ - Isometric view placement now uses a general largest-empty-rectangle search in
14
+ place of the wide/flat-on-A3 special case (#11).
15
+ - Concentric bore-leader stacking is generalised beyond three, and the
16
+ step-height dimension gate is now a single derived constant (#10, #12).
17
+
18
+ ### Internal
19
+
20
+ - Single-sourced duplicated geometry constants from the draft preset (#12).
21
+ - Minor comment and logging cleanups.
22
+
5
23
  ## v0.1.0 — 2026-06-14
6
24
 
7
25
  Initial release — spun out of `build123d-drafting-helpers` v0.9.1.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: draftwright
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: Automated technical-drawing generation for build123d
5
5
  Project-URL: Homepage, https://github.com/pzfreo/draftwright
6
6
  Project-URL: Repository, https://github.com/pzfreo/draftwright
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "draftwright"
7
- version = "0.1.3"
7
+ version = "0.1.5"
8
8
  description = "Automated technical-drawing generation for build123d"
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -57,7 +57,11 @@ include = [
57
57
  [tool.pytest.ini_options]
58
58
  testpaths = ["tests"]
59
59
  timeout = 300
60
- addopts = "--tb=short --cov=src/draftwright --cov-report=term-missing --cov-report=xml"
60
+ # `slow` covers the heavy end-to-end builds over the large NIST CTC fixtures
61
+ # (minutes each). They are deselected by default for a fast normal run; run the
62
+ # full suite with `-m ""` or just the slow tier with `-m slow` (CI runs both).
63
+ markers = ["slow: heavy end-to-end CTC fixture builds (deselected by default)"]
64
+ addopts = "--tb=short --cov=src/draftwright --cov-report=term-missing --cov-report=xml -m 'not slow'"
61
65
 
62
66
  [tool.coverage.run]
63
67
  source = ["src/draftwright"]