Repository navigation
v0.4.1
·
41 commits
to 8065dd80129990ba03ff38d0ed8469c0e3901518
since this release
What's new in 0.4.1
Drawing and editing vectors
- Select, delete and merge: Seleziona in the drawing toolbar (click, Shift/Cmd+click, rubber band; hidden layers are not selectable), Elimina (Delete/Backspace or right click) and Unisci for stratigraphic units (choose which attributes to keep) and for touching lines. Units loaded from PyArchInit are written back with Salva modifiche in PyArchInit, which asks before deleting.
- Freehand drawing: press, trace and release; the line is simplified (0.5 px) keeping the original points.
- Snapping to the vertices and segments of the visible layers (tolerance 6, 12 or 20 px); a magenta marker shows the snap, and units traced along a shared boundary share it exactly.
PyArchInit and QGIS
- Reduced US tables: databases created by the 0.2 demo (or by older PyArchInit versions) have a
us_tablewithout relationships, characteristics, elevations and measures. The US form now says so, and Aggiorna struttura del database (also in the PyArchInit menu) adds the missing columns after a backup copy (<file>.backup_<date>), without touching the records. - QGIS live link: fixed
AttributeError: 'tuple' object has no attribute 'get'when exporting the drawn layers.
Metashape import of large projects
- The mesh is extracted in streaming and the 3D view uses a display copy of about 600,000 faces: a whole tell no longer loads gigabytes into memory, and the view no longer shows a random subset of faces that looked like a mesh full of holes.
- Projects without a dense cloud (Metashape 2 builds the mesh from depth maps) get one from the coloured mesh vertices.
- Cameras inside camera groups are read; alignment components keep their own transformation and the points of deleted components are dropped; coordinates are converted exactly, point by point; exported DEMs and orthomosaics are linked only when they cover the project.
- Tested on real projects: Tell Dlamah (659 photos) imports in about 6 s, with tie points and mesh within a few millimetres of Metashape's DEM.
Interface
- The window fits a laptop screen: it could not be narrower than about 1940 px. The buttons of the panes wrap, a pane that is too short scrolls, and a toolbar that does not fit drops its texts (the drawing bar from its last buttons, so the drawing tools keep their names longest). The
>>button of a full toolbar is visible again.
Engine
- Alignment with square pixels: photos are aligned with one focal length unless their sensor carries a calibration with fx ≠ fy or tangential distortion. Fitting fx and fy separately occasionally converged to a degenerate solution (on the turntable test scene 1 alignment in 6: a folded camera ring and a scale wrong by up to 10×). The sensor keeps its OPENCV model with fx = fy; Ottimizza camere refines every parameter.
Development
- The tests no longer write into the user's preferences (
QSettings(organization, application)ignored the test redirection). - The macOS build retries
hdiutil createwhen the volume is busy.
Downloads
| Platform | File |
|---|---|
| macOS 15 or newer (Apple Silicon) | PyArchInit-Photogrammetry-0.4.1-macos-arm64.dmg |
| Windows 10/11 (64 bit) | PyArchInit-Photogrammetry-0.4.1-windows-x64.zip |
The builds are unsigned: on macOS right-click > Open the first time, on Windows More info > Run anyway. With Python: pip install "pyarchinit-photogrammetry[all]".
Full Changelog: v0.4.0...v0.4.1