|
static TopoShape | Open (String fileName, ParameterDict settings) |
|
static TopoShape | Open (String fileName) |
|
static boolean | Save (TopoShape shape, String fileName, ParameterDict settings) |
|
static boolean | Save (TopoShape shape, String fileName) |
|
static boolean | Save (TopoShapeList group, String fileName, ParameterDict settings) |
|
static boolean | Save (TopoShapeList group, String fileName) |
|
static TopoShape | Open (Path fileName, ParameterDict settings) |
|
static TopoShape | Open (Path fileName) |
|
static boolean | Save (TopoShape shape, Path fileName, ParameterDict settings) |
|
static boolean | Save (TopoShape shape, Path fileName) |
|
static boolean | Initialize () |
|
<> ShapeIO
加载模型,如STEP、IGES、BREP、DXF格式
◆ Open() [1/4]
◆ Open() [2/4]
◆ Open() [3/4]
static TopoShape ShapeIO.Open |
( |
String | fileName | ) |
|
|
static |
◆ Open() [4/4]
◆ Save() [1/6]
将TopoShape保存为模型文件
- 参数
-
shape | 需要导出的TopoShape对象
|
fileName | 保存文件路径,通过后缀名指定模型文件格式
目前支持的格式有:".stp", ".step", ".igs", ".iges", ".stl", ".stb"
未提供后缀或后缀不支持时导出BRep格式:https://dev.opencascade.org/doc/occt-6.7.0/overview/html/occt_brep_format.html
|
- 返回
- 是否保存成功
◆ Save() [2/6]
将TopoShape保存为模型文件
- 参数
-
shape | 需要导出的TopoShape对象
|
fileName | 保存文件路径,通过后缀名指定模型文件格式
目前支持的格式有:".stp", ".step", ".igs", ".iges", ".stl", ".stb"
未提供后缀或后缀不支持时导出BRep格式:https://dev.opencascade.org/doc/occt-6.7.0/overview/html/occt_brep_format.html
|
settings | 设置 FileUnit: "m"
|
- 返回
- 是否保存成功
◆ Save() [3/6]
static boolean ShapeIO.Save |
( |
TopoShape | shape, |
|
|
String | fileName ) |
|
static |
将TopoShape保存为模型文件
- 参数
-
shape | 需要导出的TopoShape对象
|
fileName | 保存文件路径,通过后缀名指定模型文件格式
目前支持的格式有:".stp", ".step", ".igs", ".iges", ".stl", ".stb"
未提供后缀或后缀不支持时导出BRep格式:https://dev.opencascade.org/doc/occt-6.7.0/overview/html/occt_brep_format.html
|
- 返回
- 是否保存成功
◆ Save() [4/6]
将TopoShape保存为模型文件
- 参数
-
shape | 需要导出的TopoShape对象
|
fileName | 保存文件路径,通过后缀名指定模型文件格式
目前支持的格式有:".stp", ".step", ".igs", ".iges", ".stl", ".stb"
未提供后缀或后缀不支持时导出BRep格式:https://dev.opencascade.org/doc/occt-6.7.0/overview/html/occt_brep_format.html
|
settings | 设置 FileUnit: "m"
|
- 返回
- 是否保存成功
◆ Save() [5/6]
static boolean ShapeIO.Save |
( |
TopoShapeList | group, |
|
|
String | fileName ) |
|
static |
整体保存
- 参数
-
group | TopoShape列表
|
fileName | 文件名
|
- 返回
- 是否成功
◆ Save() [6/6]
整体保存
- 参数
-
group | TopoShape列表
|
fileName | 文件名
|
settings | 设置 FileUnit: "m"
|
- 返回
- 是否成功