public interface OffsetPathCollection extends TaggedObjectCollection
RouteManager
Modifier and Type | Interface and Description |
---|---|
static class |
OffsetPathCollection.BendType
Bend types for offset path creation
|
static class |
OffsetPathCollection.CreateCircularOffsetPathData
This class holds the data returned from
createCircularOffsetPath(nxopen.routing.ISegment[], boolean, nxopen.routing.Stock[], boolean, boolean, nxopen.routing.OffsetPathCollection.BendType, boolean, double, double, boolean, boolean, nxopen.Vector3d, nxopen.Vector3d, nxopen.Point3d, double, double, int, double) |
static class |
OffsetPathCollection.CreateRectangularOffsetPathData
This class holds the data returned from
createRectangularOffsetPath(nxopen.routing.ISegment[], boolean, nxopen.routing.Stock[], boolean, boolean, nxopen.routing.OffsetPathCollection.BendType, boolean, double, double, boolean, boolean, nxopen.Vector3d, nxopen.Vector3d, nxopen.Point3d, double, double, double, int, int, int, int) |
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
void |
convertOffsetPaths(OffsetPath masterOffsetPath)
Converts an offset path into
Constraint
objects applied to the copied routing objects. |
OffsetPathCollection.CreateCircularOffsetPathData |
createCircularOffsetPath(ISegment[] segments,
boolean allStock,
Stock[] specStocks,
boolean maintainStock,
boolean copyBendCorners,
OffsetPathCollection.BendType maintain,
boolean useMinimumBendRatio,
double minimumBendRatio,
double minimumBendRadius,
boolean deleteAllDuplicates,
boolean createAssociativePaths,
Vector3d patternXVector,
Vector3d patternYVector,
Point3d patternAxisEndPoint,
double patternStartAngle,
double radialOffset,
int nPaths,
double totalAngle)
Creates a circular offset path.
|
OffsetPathCollection.CreateRectangularOffsetPathData |
createRectangularOffsetPath(ISegment[] segments,
boolean allStock,
Stock[] specStocks,
boolean maintainStock,
boolean copyBendCorners,
OffsetPathCollection.BendType maintain,
boolean useMinimumBendRatio,
double minimumBendRatio,
double minimumBendRadius,
boolean deleteAllDuplicates,
boolean createAssociativePaths,
Vector3d patternXVector,
Vector3d patternYVector,
Point3d patternAxisEndPoint,
double patternStartAngle,
double rowOffset,
double columnOffset,
int nRows,
int nColumns,
int masterRow,
int masterColumn)
Creates a rectangular offset path.
|
_find_next, iterator
OffsetPathCollection.CreateCircularOffsetPathData createCircularOffsetPath(ISegment[] segments, boolean allStock, Stock[] specStocks, boolean maintainStock, boolean copyBendCorners, OffsetPathCollection.BendType maintain, boolean useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, boolean deleteAllDuplicates, boolean createAssociativePaths, Vector3d patternXVector, Vector3d patternYVector, Point3d patternAxisEndPoint, double patternStartAngle, double radialOffset, int nPaths, double totalAngle) throws NXException, RemoteException
segments
- The list of segments to be associated with the offset pathallStock
- specStocks
- maintainStock
- if TRUE: Maintain stock on pathscopyBendCorners
- if TRUE: Copy the bend cornersmaintain
- Maintain radius or centeruseMinimumBendRatio
- if TRUE: Use Ratio to Stock DiameterminimumBendRatio
- Minimum Bend RatiominimumBendRadius
- Minimum Bend RadiusdeleteAllDuplicates
- if TRUE: Delete all duplicate pathscreateAssociativePaths
- if TRUE: Create associative pathspatternXVector
- X vector to set the pattern reference axispatternYVector
- Y vector to set the pattern reference axispatternAxisEndPoint
- Point to set the pattern reference axis direction
if NULL: Computes reference axis using heuristicspatternStartAngle
- Start angle of the pointradialOffset
- Offset distancenPaths
- Number of pathstotalAngle
- Total angleNXException
RemoteException
OffsetPathCollection.CreateRectangularOffsetPathData createRectangularOffsetPath(ISegment[] segments, boolean allStock, Stock[] specStocks, boolean maintainStock, boolean copyBendCorners, OffsetPathCollection.BendType maintain, boolean useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, boolean deleteAllDuplicates, boolean createAssociativePaths, Vector3d patternXVector, Vector3d patternYVector, Point3d patternAxisEndPoint, double patternStartAngle, double rowOffset, double columnOffset, int nRows, int nColumns, int masterRow, int masterColumn) throws NXException, RemoteException
segments
- The list of segments to be associated with the offset pathallStock
- specStocks
- maintainStock
- if TRUE: Maintain stock on pathscopyBendCorners
- if TRUE: Copy the bend cornersmaintain
- Maintain radius or centeruseMinimumBendRatio
- if TRUE: Use Ratio to Stock DiameterminimumBendRatio
- Minimum Bend RatiominimumBendRadius
- Minimum Bend RadiusdeleteAllDuplicates
- if TRUE: Delete all duplicate pathscreateAssociativePaths
- if TRUE: Create associative pathspatternXVector
- X vector to set the pattern reference axispatternYVector
- Y vector to set the pattern reference axispatternAxisEndPoint
- Point to set the pattern reference axis direction
if NULL: Computes reference axis using heuristicspatternStartAngle
- Start angle of the patternrowOffset
- Offset distance along the rowcolumnOffset
- Offset distance along the columnnRows
- Number of rowsnColumns
- Number of columnsmasterRow
- Row of the master pathmasterColumn
- Column of the master pathNXException
RemoteException
void convertOffsetPaths(OffsetPath masterOffsetPath) throws NXException, RemoteException
Constraint
objects applied to the copied routing objects. Converts the input
master offset path as well as all of the children offset paths of
the input master offset path.
The OffsetPath
is incompatible with segments
created using the SegmentManager.createConstrainedSegment(nxopen.routing.ControlPoint, nxopen.routing.ControlPoint)
or to any segments that have Constraint
objects
applied to them. This routine makes the path parallel and associative to
each other using constraints rather than the OffsetPath
objects. The converted offset path objects are logged for delete, the next
call to Update.doUpdate(int)
will delete the offset path
objects.
masterOffsetPath
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.