[general]
name=PlanX CAD Toolset
qgisMinimumVersion=3.28
description=Lightweight and fast CAD toolset for urban planning processes in QGIS. Features include drawing, editing, transforming, measuring, and road platform design.
version=1.7.0
author=Yusuf Eminoglu
email=yusuf.eminoglu@deu.edu.tr

about=PlanX CAD Toolset is a lightweight, fast, and modular QGIS plugin explicitly designed for urban planning processes. Developed with feedback from educational workflows at Dokuz Eylul University, Department of City and Regional Planning. It brings 18+ CAD-like features direct to QGIS including Line, Polyline, Rectangle, Polygon, Circle, Arc, Offset, Trim, Extend, Fillet, and more. It includes a modern dockable panel UI, native snapping support, and an interactive road platform creation tool.

tracker=https://github.com/YusufEminoglu/PlanX-CAD/issues
repository=https://github.com/YusufEminoglu/PlanX-CAD

hasProcessingProvider=no

tags=cad, sketcher, drawing, editing, urban planning, road, city planning
icon=icons/icon_main.svg

homepage=https://github.com/YusufEminoglu/PlanX-CAD
category=Vector

experimental=False
deprecated=False

changelog=
    PlanX CAD Toolset 1.7.0 - Hatch / Pattern Fill + Construction Lines.
        - Hatch tool: pick a closed polygon, choose pattern (parallel / cross / diag up / diag down), spacing, angle and colour. Hatch lines are clipped to the polygon and written to the auto-created planx_hatch layer with full attribute metadata (source layer, pattern, spacing, angle, colour) so they survive export to other GIS/CAD formats.
        - Construction Line tool: 2-click reference line on the auto-created planx_construction layer with a dashed cyan style. Three modes registered via the dispatcher (infinite reference / ray / segment) — the dock exposes the infinite mode; ray and segment are reachable through the construction_ray / construction_seg dispatch keys.
        - Shortcuts: Hatch = Ctrl+Shift+H, Construction (infinite) = Ctrl+Shift+K.
        - New icons cad_hatch.svg and cad_construction.svg.
    PlanX CAD Toolset 1.6.0 - Join, Divide, Multi-Offset and a bilingual/compact UI pass.
    PlanX CAD Toolset 1.5.0 - Vertex Edit + Live coordinate read-out.
        - New Vertex Edit tool: click a feature to render every vertex as a handle; drag a handle to MOVE, click on the line to INSERT a vertex at the click point, right-click a handle to DELETE. Refuses deletes that would invalidate the ring.
        - New Live coordinate widget in the dock: real-time cursor X/Y, current CRS auth-id, and scale denominator. Updates from the canvas xyCoordinates/scaleChanged signals.
        - Vertex Edit shortcut Ctrl+Shift+V; new cad_vertex_edit.svg icon in the Edit group.
    PlanX CAD Toolset 1.4.0 - Keyboard shortcuts framework + tool history.
        - 15 Ctrl+Shift+<letter> shortcuts (Line=L, Polyline=P, Rectangle=R, Polygon=G, Circle=C, Arc=A, Offset=O, Trim=T, Extend=E, Fillet=F, Buffer=B, Move=M, Array=Y, Dimension=D, Measure=I) registered as ApplicationShortcut on the QGIS main window.
        - Ctrl+Shift+Space: repeat the last activated tool (CAD convention).
        - Dock: new 'Son aracı tekrarla' button next to the status bar; tool button tooltips now include the keyboard shortcut.
        - main_plugin remembers the last tool key in self._last_tool_key; shortcuts are owned by the plugin and cleaned up in unload.
    PlanX CAD Toolset 1.3.0 - Two new tools: Array and Linear Dimension.
        - Array (rectangular + polar): pick a feature, choose rows/cols + dx/dy or count + sweep angle, optional polar center on canvas with live preview. Multipart-safe via the existing rotate_geometry helper.
        - Linear Dimension: click two points (with snap), creates a permanent dimension line on an auto-created planx_dimensions layer with distance_m, label, and from/to coordinate attributes. Auto-enables label rendering on first use. Right-click resets, Esc cancels.
        - New icons cad_array.svg and cad_dimension.svg in the dock; main_plugin dispatch updated; array added to the dialog-tool set so each invocation re-asks parameters.
    PlanX CAD Toolset 1.2.0 - UI scroll fix + correctness pass.
        - Dock panel now scrolls; fits on small/narrow screens.
        - Trim: splitGeometry tuple-unpack fix (QGIS 3.x).
        - Fillet: shortest-arc selection (was forcing CCW long way around).
        - Scale/Mirror: multipart-safe transform preserves holes and multi-rings.
        - Extend: multipart-safe + closest intersection.
        - add_feature_to_layer: no longer commits the user's open edits.
        - Buffer: attributes set on feature before insert (order-safe).
        - QInputDialog parented to main window.
        - Removed broken helpers (trim_geometry_at_point, fillet_corner) and dead code in tool_fillet.
    PlanX CAD Toolset 1.1.1 - Standardized Plugin Hub metadata, aligned icon metadata, added DEU educational context, and refreshed the stable release package.
    PlanX CAD Toolset 1.1.0 - Added advanced urban planning, UX, and measurement enhancements.
        - Fixed intersection topology (A-B road connection).
        - Renewed block chamfering logic via EasyFillet integration.
        - Custom 'O' cursor added.
        - Improved distance and area measurements by selection.
    PlanX CAD Toolset 1.0.0 - Initial release.
        - 18 CAD tools, dockable interface, interactive road platform
