Repository navigation
0.0.16
Release 0.0.16
Breaking Changes
- FrameMV.FramePresentation: Moved from module-level
FramePresentationto nested classFrameMV.FramePresentation - Frame presentation property renames (MV):
is_filled→filledis_text_hidden→no_textis_text_upside_down→upside_down_texttext_font→font
- Frame property type changes (LV & MV):
sort:str→FrameShapeenumstyle:str→LineStyleenum
- FrameLV property changes:
lines:list[Line] | None→list[str]geo→geo_series:Geography | None→list[Geography]
- Default value changes:
FramePresentation.image_size: 1 → 100FrameLV.FramePresentation.text_size: 7 → 10FrameMV.FramePresentation.sheet: random GUID →NIL_GUIDFrameMV.FramePresentation.fill_color:CL_BLACK→CL_BLUEFrameMV.FramePresentation.color:CL_BLACK→CL_BLUE
New Features
- Module exports: Added
__all__exports topyptp.elements.lvandpyptp.elements.mvmodules for cleaner imports - LineStyle enum:
Solid,Dash,Dot,DashDot,DashDotDot - FrameShape enum:
Rectangle,Polygon,Ellipse,Picture - Geography class: Added to
pyptp.elements.mixinsfor geographical coordinate data
Bug Fixes
- FuseLV type duplication: Fixed duplicate
FuseTypefield in GNF output - ElementPresentation sheet default: Added
NIL_GUIDdefault tosheetfield in MVElementPresentation - Connection (home) and Cable: Multiple errors and bugs fixed for LV
HomeandCable
Tests
- Added MV Frame test suite
- Expanded LV Frame tests
- Fixed pyright issues
Documentation
- Added alpha status notice to README
Full Changelog: 0.0.14...0.0.16