偏移路径集合
更多...
#include <Routing_OffsetPathCollection.hxx>
|
| iterator | begin () |
| void | ConvertOffsetPaths (NXOpen::Routing::OffsetPath *masterOffsetPath) |
| NXOpen::Routing::OffsetPath * | CreateCircularOffsetPath (const std::vector< NXOpen::Routing::ISegment * > &segments, bool allStock, const std::vector< NXOpen::Routing::Stock * > &specStocks, bool maintainStock, bool copyBendCorners, NXOpen::Routing::OffsetPathCollection::BendType maintain, bool useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, bool deleteAllDuplicates, bool createAssociativePaths, const NXOpen::Vector3d &patternXVector, const NXOpen::Vector3d &patternYVector, const NXOpen::Point3d &patternAxisEndPoint, double patternStartAngle, double radialOffset, int nPaths, double totalAngle, std::vector< NXOpen::Routing::OffsetPath * > &slavePathsCreated) |
| NXOpen::Routing::OffsetPath * | CreateRectangularOffsetPath (const std::vector< NXOpen::Routing::ISegment * > &segments, bool allStock, const std::vector< NXOpen::Routing::Stock * > &specStocks, bool maintainStock, bool copyBendCorners, NXOpen::Routing::OffsetPathCollection::BendType maintain, bool useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, bool deleteAllDuplicates, bool createAssociativePaths, const NXOpen::Vector3d &patternXVector, const NXOpen::Vector3d &patternYVector, const NXOpen::Point3d &patternAxisEndPoint, double patternStartAngle, double rowOffset, double columnOffset, int nRows, int nColumns, int masterRow, int masterColumn, std::vector< NXOpen::Routing::OffsetPath * > &slavePathsCreated) |
| iterator | end () |
| tag_t | Tag () const |
偏移路径集合
布线偏移路径对象是布线中的分段列表,同时包含路径的起始和终止控制点。
要获取此类实例,请参考 NXOpen::Routing::RouteManager
在NX4.0.0版本创建。
◆ BendType
创建偏移路径时的折弯类型
| 枚举值 |
|---|
| BendTypeMaintainRadius | 保持半径
|
| BendTypeMaintainCenter | 保持中心
|
| BendTypeMaximumBendTypes | 最大折弯类型数
|
◆ begin()
| iterator NXOpen::Routing::OffsetPathCollection::begin |
( |
| ) |
|
◆ ConvertOffsetPaths()
◆ CreateCircularOffsetPath()
| NXOpen::Routing::OffsetPath * NXOpen::Routing::OffsetPathCollection::CreateCircularOffsetPath |
( |
const std::vector< NXOpen::Routing::ISegment * > & | segments, |
|
|
bool | allStock, |
|
|
const std::vector< NXOpen::Routing::Stock * > & | specStocks, |
|
|
bool | maintainStock, |
|
|
bool | copyBendCorners, |
|
|
NXOpen::Routing::OffsetPathCollection::BendType | maintain, |
|
|
bool | useMinimumBendRatio, |
|
|
double | minimumBendRatio, |
|
|
double | minimumBendRadius, |
|
|
bool | deleteAllDuplicates, |
|
|
bool | createAssociativePaths, |
|
|
const NXOpen::Vector3d & | patternXVector, |
|
|
const NXOpen::Vector3d & | patternYVector, |
|
|
const NXOpen::Point3d & | patternAxisEndPoint, |
|
|
double | patternStartAngle, |
|
|
double | radialOffset, |
|
|
int | nPaths, |
|
|
double | totalAngle, |
|
|
std::vector< NXOpen::Routing::OffsetPath * > & | slavePathsCreated ) |
创建圆形偏置路径。
- 返回
- 创建的主偏置路径
于NX4.0.0版本创建。
许可证要求:routing_advanced("高级布线"), routing_base("基础布线")
- 参数
-
| segments | 要与偏置路径关联的段列表 |
| allStock | 全部管料 |
| specStocks | 指定管料 |
| maintainStock | 若为TRUE:在路径上保留管料 |
| copyBendCorners | 若为TRUE:复制弯角 |
| maintain | 保留半径或圆心 |
| useMinimumBendRatio | 若为TRUE:使用与管料直径的比率 |
| minimumBendRatio | 最小弯角比率 |
| minimumBendRadius | 最小弯角半径 |
| deleteAllDuplicates | 若为TRUE:删除所有重复路径 |
| createAssociativePaths | 若为TRUE:创建关联路径 |
| patternXVector | 用于设置阵列参考轴的X向量 |
| patternYVector | 用于设置阵列参考轴的Y向量 |
| patternAxisEndPoint | 用于设置阵列参考轴方向的点 若为NULL:使用启发式方法计算参考轴 |
| patternStartAngle | 起始角度 |
| radialOffset | 径向偏置距离 |
| nPaths | 路径数量 |
| totalAngle | 总角度 |
| slavePathsCreated | 创建的从偏置路径 |
◆ CreateRectangularOffsetPath()
| NXOpen::Routing::OffsetPath * NXOpen::Routing::OffsetPathCollection::CreateRectangularOffsetPath |
( |
const std::vector< NXOpen::Routing::ISegment * > & | segments, |
|
|
bool | allStock, |
|
|
const std::vector< NXOpen::Routing::Stock * > & | specStocks, |
|
|
bool | maintainStock, |
|
|
bool | copyBendCorners, |
|
|
NXOpen::Routing::OffsetPathCollection::BendType | maintain, |
|
|
bool | useMinimumBendRatio, |
|
|
double | minimumBendRatio, |
|
|
double | minimumBendRadius, |
|
|
bool | deleteAllDuplicates, |
|
|
bool | createAssociativePaths, |
|
|
const NXOpen::Vector3d & | patternXVector, |
|
|
const NXOpen::Vector3d & | patternYVector, |
|
|
const NXOpen::Point3d & | patternAxisEndPoint, |
|
|
double | patternStartAngle, |
|
|
double | rowOffset, |
|
|
double | columnOffset, |
|
|
int | nRows, |
|
|
int | nColumns, |
|
|
int | masterRow, |
|
|
int | masterColumn, |
|
|
std::vector< NXOpen::Routing::OffsetPath * > & | slavePathsCreated ) |
创建矩形偏置路径。
- 返回
- 创建的主偏置路径
于NX4.0.0版本创建。
许可证要求:routing_advanced("高级布线"), routing_base("基础布线")
- 参数
-
| segments | 要与偏置路径关联的段列表 |
| allStock | 全部管料 |
| specStocks | 指定管料 |
| maintainStock | 若为TRUE:在路径上保留管料 |
| copyBendCorners | 若为TRUE:复制弯角 |
| maintain | 保留半径或圆心 |
| useMinimumBendRatio | 若为TRUE:使用与管料直径的比率 |
| minimumBendRatio | 最小弯角比率 |
| minimumBendRadius | 最小弯角半径 |
| deleteAllDuplicates | 若为TRUE:删除所有重复路径 |
| createAssociativePaths | 若为TRUE:创建关联路径 |
| patternXVector | 用于设置阵列参考轴的X向量 |
| patternYVector | 用于设置阵列参考轴的Y向量 |
| patternAxisEndPoint | 用于设置阵列参考轴方向的点 若为NULL:使用启发式方法计算参考轴 |
| patternStartAngle | 阵列起始角度 |
| rowOffset | 行方向偏置距离 |
| columnOffset | 列方向偏置距离 |
| nRows | 行数 |
| nColumns | 列数 |
| masterRow | 主路径所在行 |
| masterColumn | 主路径所在列 |
| slavePathsCreated | 创建的从偏置路径 |
◆ end()
| iterator NXOpen::Routing::OffsetPathCollection::end |
( |
| ) |
|
|
inline |
◆ Tag()
| tag_t NXOpen::Routing::OffsetPathCollection::Tag |
( |
| ) |
const |