|Anonymous | Login||2018-08-16 09:04 MSK|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0029988||Community||[OCCT] OCCT:Visualization||public||2018-07-26 18:38||2018-07-27 06:40|
|Status||feedback||Resolution||no change required|
|Target Version||[OCCT] 7.4.0*||Fixed in Version|
|Summary||0029988: AIS_Shape - SetWidth() and SetColor() has no effect for FaceBoundary|
|Description||Color and width of FaceBoundary without changes after calling SetWidth() and SetColor(). The expected result should be that the color and width changes.|
|Tags||No tags attached.|
|Test case number|
|Attached Files||Rhino_FaceBoundaryWithColor.png (561,228 bytes) 2018-07-27 06:20|
This is by design - FaceBoundary is not expected to be modified by SetWidth/SetColor methods.
SetWidth/SetColor are just convenient short-cuts applying some "standard" effect, but it is very difficult to define what is expected and what is not in case of such complex presentations like AIS_Shape consisting of many elements.
Therefore, application should not rely only on SetWidth/SetColor to do all the job - if result looks unexpected, application is expected to manage Prs3d_Drawer in desired way.
More comments from previous request:
- AIS_Shape::SetWidth() changes line aspects for lines-only presentation modes like Wireframe and Bounding Box.
- FaceBoundaryAspect is designed for Shaded mode and thus it is not desirable to mess up it with other line aspects.
Vico Liang (developer)
edited on: 2018-07-27 06:40
We use TPrsStd_AISPresentation to manage the presentation of object, it's expected that SetWidth and SetColor changes FaceBoundary of AIS_Shape. in my opinion, FaceBoundary is line presentation and it should be considered. There are other software which will change the faceBondary line colors such as Rhino. I'd like to attach an image of Rhino.
Vico Liang (developer)
|I don't think FaceBoundaryAspect is an exception. The rules should be simple and clear. SetWidth() and SetColor() will change everything. if result looks unexpected, application is expected to manage Prs3d_Drawer in desired way.|
|2018-07-26 18:38||Vico Liang||New Issue|
|2018-07-26 18:38||Vico Liang||Assigned To||=> kgv|
|2018-07-26 18:39||Vico Liang||Summary||SetWidth() and SetColor() has no effect for FaceBoundary => AIS_Shape - SetWidth() and SetColor() has no effect for FaceBoundary|
|2018-07-26 22:12||kgv||Relationship added||related to 0027265|
|2018-07-26 22:12||kgv||Relationship added||duplicate of 0025932|
|2018-07-26 22:18||kgv||Note Added: 0078055|
|2018-07-26 22:18||kgv||Assigned To||kgv => Vico Liang|
|2018-07-26 22:18||kgv||Status||new => feedback|
|2018-07-26 22:18||kgv||Resolution||open => no change required|
|2018-07-27 06:13||Vico Liang||Note Added: 0078059|
|2018-07-27 06:16||Vico Liang||File Added: Rhino_FaceBoundaryWithColor.png|
|2018-07-27 06:16||Vico Liang||Assigned To||Vico Liang =>|
|2018-07-27 06:17||Vico Liang||File Deleted: Rhino_FaceBoundaryWithColor.png|
|2018-07-27 06:19||Vico Liang||File Added: Rhino_FaceBoundaryWithColor.png|
|2018-07-27 06:19||Vico Liang||File Deleted: Rhino_FaceBoundaryWithColor.png|
|2018-07-27 06:20||Vico Liang||File Added: Rhino_FaceBoundaryWithColor.png|
|2018-07-27 06:21||Vico Liang||Assigned To||=> kgv|
|2018-07-27 06:37||Vico Liang||Note Added: 0078060|
|2018-07-27 06:40||Vico Liang||Note Edited: 0078059||View Revisions|
|Copyright © 2000 - 2018 MantisBT Team|