[general]
name=ClipToCAD
description=Copy selected QGIS features to AutoCAD as PLINE/POINT command text. Multi-layer selections, projected metres only, unit presets, and auto parcel-ID labels.
about=ClipToCAD copies selected vector features from QGIS to the clipboard as AutoCAD command-line text (_PLINE, _POINT, _TEXT) for Ctrl+V into AutoCAD, AutoCAD LT (Real World mode), BricsCAD, or ZWCAD — no DXF export.
    Select features on one or more layers. Coordinates stay in projected metres (geographic CRS is blocked). Multi-layer copy uses one destination CRS and matching CAD layers.
    Local mode (AutoLISP) inserts at a clicked point and scales metres to metric links, Gunter links, feet, yards, or inches.
    Parcel labels use Auto: each layer's parcel_id or Sy.No if present. FID is never copied as a label.
    Designed for land surveyors, civil engineers, and subdivision draftsmen.
version=2.0.0
qgisMinimumVersion=3.16
qgisMaximumVersion=4.99
author=B Mehaboob, SIFA Geolabs
email=sifageolabs@gmail.com
license=GPL-3.0
repository=https://github.com/sifageolabs/cliptocad
homepage=https://geovera.in/cliptocad
tracker=https://github.com/sifageolabs/cliptocad/issues
tags=autocad,cad,clipboard,copy,export,pline,point,surveyor,fmb,vector,geovera
category=Vector
icon=icon.png
experimental=False
deprecated=False
plugin_dependencies=
hasProcessingProvider=no
server=False
changelog=
    Version 2.0.0:
    - QGIS 3.16–4.x (qgisMaximumVersion=4.99); Qt6 GeometryType and LayerType enums
    - Selection-only copy of features from one or more layers
    - Auto parcel-ID labels (parcel_id / Sy.No per layer); FID is never used
    - Real World paste in projected metres; geographic CRS blocked
    - Local mode unit presets (metric/Gunter links, feet, yards, inches)
    - Osnap-safe paste (OSNAPCOORD); large jobs write a SCRIPT file
    - Settings window is resizable and scrollable; Windows CRLF line endings
    Version 1.6.0 - 2026-08-13:
    - Parcel ID Auto: each layer uses parcel_id or Sy.No if present; FID is never a label
    - One field picker; no per-layer Settings visit for normal multi-layer copy
    Version 1.5.0:
    - Windows default line endings are CRLF so AutoCAD treats each paste line as Enter
    - Settings: parcel text height, dedicated PARCEL_ID layer, scrollable resizable dialog
    - Settings hint for Real (metres / LT) vs Local (AutoLISP + unit scale)
    Version 1.4.0:
    - Implementation module renamed to plugin.py so QGIS always finds classFactory
    - Local mode labeled as AutoLISP (full AutoCAD / LT 2024+)
    - Emit Sy.No / parcel ID as AutoCAD TEXT at each feature centroid
    - Large selections write cliptocad_last.scr instead of flooding the command line
    Version 1.3.0:
    - Local mode unit dropdown (metric/Gunter links, feet, yards, inches) plus custom factor
    - Named unit freezes the custom box; Custom unlocks typing
    Version 1.2.0:
    - Copy selected features only (no whole-layer copy when nothing is selected)
    - Real-mode paste sets OSNAPCOORD so AutoCAD does not snap typed vertices
    - Block geographic (latitude/longitude) output; require a projected CRS
    - Multi-layer paste uses one destination CRS so features overlay in the DWG
    Version 1.1.0:
    - Copy only the selected feature(s) when a selection exists
    - Copy selected features from multiple layers into matching AutoCAD layers
    - Real World / Local coordinate mode is left unchanged
    Version 1.0.0:
    - Copy selected vector features directly to AutoCAD command line clipboard
    - Support Polyline (_PLINE) and Point (_POINT) output modes
    - Interactive local coordinate insertion & custom scale factor support
    - Reproject to target EPSG authority on-the-fly with Easting/Northing offsets
    - Optional destination CAD layer creation and audit trail CSV logging
