View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0031368 | Open CASCADE | [OCCT] OCCT:Modeling Data | public | 2020-02-12 14:26 | 2020-09-15 17:16 |
|
Reporter | kgv | |
Assigned To | sshutina | |
Priority | normal | Severity | feature | |
Status | new | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | [OCCT] 7.6.0* | Fixed in Version | | |
|
Summary | 0031368: Modeling data - extend BRepPrimAPI_MakeCone,BRepPrimAPI_MakeCylinder,BRepPrimAPI_MakeSphere with preview shape creation |
Description | Algorithms within BRepPrimAPI package either create Solid shape or throw exception on invalid parameters (like zero thickness / radius / height). In application context with interactive input it is helpful displaying a "preview" object even in case if some parameters not yet entered / entered incorrectly to provide visual feedback in 3D Viewer. For such scenarios, it would be helpful extending standard algorithms with an option to create a "preview" shape and indicate incompleteness not within object construction, but through IsDone() and Solid() methods.
This has been introduced for BRepPrimAPI_MakeBox within 0031336, and now can be propagated to other common primitives - Cone, Cylinder and Sphere (conceptually it can be further propagated to all BRepPrimAPI classes within next iteration). The patch should update related Draw Harness commands in addition to C++ classes. |
Tags | No tags attached. |
|
Test case number | |
|
Attached Files | |
|