DeleteShortLines v.1.000
by Todd Burch

 

$10.00
description This script will remove those annoying little lines that overshot their target. Good for use with CAD cleanup chores.

usage
  1. Select nothing, your whole model or a portion of your model
  2. Activate Delete Short Lines from the Plugins Menu
  3. The script will run and find all open ended line segments in your selection. Lines that touch your model on one end and not the other will be analyzed for deletion.

This script is designed to run against architectural-type drawings, not contour/site type drawings. This script uses an algorithm to determine what lines are "short" and are therefore eligible for deletion.

The algorithm is, in a nutshell: The possible short line is length "a".
The distance from the open end of "a" to the next closest edge ("e") is "d".

  1. If "e" does not exist, the line is eligible for deletion.
  2. If "d" is 2 times "a" or greater, the line is eligible for deletion.
The intent of this script is to find short little line segments that extend past their intended target, as is so common in imported CAD drawings.

see also other plugins by Todd Burch:
IntersectOverlaps
CloseOpens
ExtendCloseLines
ExplodeImplode

notice By purchasing and installing this plugin, you indicate that you have read and agree to the terms and conditions of the End-User License Agreement (EULA). Prices subject to change.