draftwright 0.1.0__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.
- draftwright-0.1.0/.gitignore +11 -0
- draftwright-0.1.0/CHANGELOG.md +38 -0
- draftwright-0.1.0/LICENSE +661 -0
- draftwright-0.1.0/PKG-INFO +824 -0
- draftwright-0.1.0/README.md +137 -0
- draftwright-0.1.0/pyproject.toml +90 -0
- draftwright-0.1.0/skills/SKILL.md +180 -0
- draftwright-0.1.0/src/draftwright/__init__.py +39 -0
- draftwright-0.1.0/src/draftwright/make_drawing.py +3030 -0
- draftwright-0.1.0/src/draftwright/pmi.py +362 -0
- draftwright-0.1.0/tests/fixtures/nist_ctc_01_asme1_ap242.stp +4706 -0
- draftwright-0.1.0/tests/test_e2e_standards.py +89 -0
- draftwright-0.1.0/tests/test_make_drawing.py +2034 -0
- draftwright-0.1.0/tests/test_pmi.py +147 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## v0.1.0 — 2026-06-14
|
|
6
|
+
|
|
7
|
+
Initial release — spun out of `build123d-drafting-helpers` v0.9.1.
|
|
8
|
+
|
|
9
|
+
The automated drawing engine (`make_drawing`, `build_drawing`, `Drawing`)
|
|
10
|
+
was previously part of `build123d-drafting-helpers`. It is now a separate
|
|
11
|
+
AGPL-licensed package that depends on `build123d-drafting-helpers>=0.9.1`
|
|
12
|
+
for annotation primitives.
|
|
13
|
+
|
|
14
|
+
### Migration from build123d-drafting-helpers
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
# Before
|
|
18
|
+
from build123d_drafting import make_drawing, Drawing, build_drawing
|
|
19
|
+
|
|
20
|
+
# After
|
|
21
|
+
from draftwright import make_drawing, Drawing, build_drawing
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Features (carried over from build123d-drafting-helpers)
|
|
25
|
+
|
|
26
|
+
- **`make_drawing`** / **`build_drawing`** — automatic multi-view technical
|
|
27
|
+
drawing from a build123d solid: view layout, scale selection, orthographic
|
|
28
|
+
projection, dimension placement, title block.
|
|
29
|
+
- **`Drawing`** — composable drawing object with `.lint()`, `.add()`,
|
|
30
|
+
`.export_svg()`, `.export_dxf()`.
|
|
31
|
+
- **`choose_scale`** — ISO/ASME standard scale selection.
|
|
32
|
+
- **`lint_feature_coverage`** — checks annotation coverage against detected
|
|
33
|
+
part features (holes, bosses, bolt circles).
|
|
34
|
+
- **Section A–A views** — automatic section view for blind/stepped holes,
|
|
35
|
+
with ISO 128-44 solid filled cutting-plane arrows and ISO 128-50 45°
|
|
36
|
+
hatching on the cut face.
|
|
37
|
+
- **`generate_script`** — generates a standalone drawing script from a STEP
|
|
38
|
+
file.
|