Remove Duplicates Script

Remove Duplicates Script

Một ExtendScript (.jsx) gọn nhẹ dành cho Adobe Illustrator giúp tự động phát hiện và dọn dẹp các shape, đường path và véc-tơ bị trùng lặp. Khi file gặp tình trạng nhiều đối tượng nằm đè lên nhau tại cùng một tọa độ và kích thước (thường do lỡ tay copy-paste nhiều lần, gộp file hoặc xuất file từ CAD), script sẽ tự động quét, xóa sạch các bản sao thừa và chỉ giữ lại 1 shape duy nhất.

Tính năng nổi bật:

  • Phát hiện tự động cực nhanh: Tự quét toàn bộ các đường path nằm sâu bên trong các Group mà không cần quét chọn thủ công.
  • Khử sai số thông minh: Tự động làm tròn tọa độ và kích thước để xử lý triệt để các hình trùng lặp bị lệch siêu nhỏ (micro-offsets).
  • An toàn tuyệt đối: Tự động bỏ qua các Layer hoặc đối tượng đang bị khóa (Ctrl + 2) và ẩn (Ctrl + 3).
  • Vòng lặp quét ngược chuẩn xác: Xóa các bản sao dư thừa an toàn mà không làm gián đoạn cấu trúc Layer của file design.

A lightweight ExtendScript (.jsx) for Adobe Illustrator designed to detect and clean up duplicate shapes, paths, and vectors instantly. If you have overlapping objects sharing the exact same coordinates and dimensions—often caused by repeated copy-pasting, multi-layer imports, or CAD export issues—this script automatically eliminates redundant copies and keeps only one clean master shape.

Key Features:

  • Instant Auto-Detection: Scans all path items across all groups without needing manual selection.
  • Smart Coordinate Tolerance: Rounds position and dimension values to eliminate micro-offset mismatches.
  • Non-Destructive & Safe: Automatically skips locked (Ctrl + 2) or hidden (Ctrl + 3) objects and layers.
  • Reverse Cleaning Loop: Safely removes duplicate items without breaking the document structure or layer stack.

Download ngay:

Hướng dẫn cài đặt | How to install:

Nguồn | Author: tổng hợp

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top
Theme Mode