CadOverkillSettings
from OpenCAD2D import CadOverkillSettings
class CadOverkillSettings(System.Object) ยท CadOverkillSettings in the .NET reference
The settings of OVERKILL as AutoCAD 2021's Delete Duplicate Objects dialog and -OVERKILL keep them from one run to the next: how close two objects must lie to be taken for one, the properties left out of the comparison, and what is done with polylines and with objects that overlap. The tolerance is half the distance within which two points are one: of two lines 0.04 apart and the same length, a tolerance of 0.1 deletes one and 0.05 does not.
Constructors
__init__
def __init__(self) -> None
Properties and fields
CombineEndToEnd
@property
def CombineEndToEnd(self) -> bool
@CombineEndToEnd.setter
def CombineEndToEnd(self, value: bool) -> None
Gets or sets whether collinear objects that meet end to end are made one; true until set.
CombinePartialOverlaps
@property
def CombinePartialOverlaps(self) -> bool
@CombinePartialOverlaps.setter
def CombinePartialOverlaps(self, value: bool) -> None
Gets or sets whether collinear objects that overlap in part are made one, and the ones lying wholly within another deleted; true until set.
DoNotBreakPolylines
@property
def DoNotBreakPolylines(self) -> bool
@DoNotBreakPolylines.setter
def DoNotBreakPolylines(self, value: bool) -> None
Gets or sets whether a polyline is kept whole: a segment that overlaps another object is left in it, not cut out, though duplicate vertices still go.
Ignore
@property
def Ignore(self) -> CadOverkillIgnore
@Ignore.setter
def Ignore(self, value: CadOverkillIgnore) -> None
Gets or sets the properties ignored when objects are compared; none until set.
IgnorePolylineWidths
@property
def IgnorePolylineWidths(self) -> bool
@IgnorePolylineWidths.setter
def IgnorePolylineWidths(self, value: bool) -> None
Gets or sets whether the widths of polyline segments are left out when they are compared.
MaintainAssociativity
@property
def MaintainAssociativity(self) -> bool
@MaintainAssociativity.setter
def MaintainAssociativity(self, value: bool) -> None
Gets or sets whether associative objects are kept: kept as a setting, which the presenter does not act on, none of its objects being tied to others by OVERKILL's rules.
OptimizePolylines
@property
def OptimizePolylines(self) -> bool
@OptimizePolylines.setter
def OptimizePolylines(self, value: bool) -> None
Gets or sets whether the segments within polylines are compared with other objects and with one another, their duplicate vertices and collinear segments removed; true until set.
Tolerance
@property
def Tolerance(self) -> float
@Tolerance.setter
def Tolerance(self, value: float) -> None
Gets or sets the tolerance of the comparison, 0.000001 until set; nought or more.
Methods
Clone
def Clone(self) -> CadOverkillSettings
Makes a copy.