OpenCascade 错误状态
OpenCascade ErrorStatus
我使用 OpenCasCade 6.7.0。
当我调用函数 BRepAlgoAPI_Cut
并检查 ErrorStatus()
我得到 114
作为结果。在文档中观看我得到以下信息:
- 0 - 好的
- 1 - 对象已创建但未完成任何操作
- 2 - Null source shapes isstrong text not allowed
- 3 - 检查参数的类型
- 4 - 无法为 DSFiller 分配内存
- 5 - Builder 无法使用此类参数
- 6 - 不允许未知操作
- 7 - 无法为生成器分配内存
- >100 - 查看生成器的错误状态
Builders ErrorStatus 是什么?我在哪里可以找到它?
在官方 OCC 论坛中提出这个问题后,我得到了以下答案:
Dear Hahn,
thank you for your observation. In fact error status 114 of the BRepAlgoAPI_Cut means that the types of arguments do not allow to perform the CUT operation (for example, it is impossible to cut a vertex from a solid). We are planning to revise documentation on all BOA error messages. However I cannot guarantee that it will happen very soon. It depends on the availability of our internal resources.
Best regards,
Forum Supervisor
我使用 OpenCasCade 6.7.0。
当我调用函数 BRepAlgoAPI_Cut
并检查 ErrorStatus()
我得到 114
作为结果。在文档中观看我得到以下信息:
- 0 - 好的
- 1 - 对象已创建但未完成任何操作
- 2 - Null source shapes isstrong text not allowed
- 3 - 检查参数的类型
- 4 - 无法为 DSFiller 分配内存
- 5 - Builder 无法使用此类参数
- 6 - 不允许未知操作
- 7 - 无法为生成器分配内存
- >100 - 查看生成器的错误状态
Builders ErrorStatus 是什么?我在哪里可以找到它?
在官方 OCC 论坛中提出这个问题后,我得到了以下答案:
Dear Hahn,
thank you for your observation. In fact error status 114 of the BRepAlgoAPI_Cut means that the types of arguments do not allow to perform the CUT operation (for example, it is impossible to cut a vertex from a solid). We are planning to revise documentation on all BOA error messages. However I cannot guarantee that it will happen very soon. It depends on the availability of our internal resources.
Best regards, Forum Supervisor