View Issue Details

IDProjectCategoryView StatusLast Update
0027698Open CASCADEOCCT:Modeling Algorithmspublic2017-04-05 10:02
ReporteremaAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.0.0 
Target Version7.2.0 
Summary0027698: Non-destructive principle in BRepPrimAPI_MakePrism algorithm
DescriptionThe algorithm modifies the input shape passed as its argument
Steps To Reproduce1. Open any of tests below:
    - bugs/modalg_1/buc60684
    - prism/seminf/A1
    - bugs/modalg_2/bug341
2. Add "setflags shape locked" row to lock input shape.
3. Run test
4. The exception is raised


TagsNo tags attached.
Test case number

Relationships

child of 0027166 assignedmsv Non-destructive principle in algorithms 

Activities

msv

2017-04-04 18:32

developer   ~0064906

The constructors of the class BRepPrimAPI_Prism have the argument "Copy". By default it is false. If it is made true the problem disappears. So, there is nothing to do in this bug. With Copy=true the algorithm is already non-destructive.
I have checked this modifying the script bugs/modalg_1/buc60684. If we insert there locking flag for the shape and add Copy parameter to the prism command no exception is raised.

So, this bug is to be closed.

msv

2017-04-04 18:33

developer   ~0064907

Dear bugmaster, please close this bug.

Issue History

Date Modified Username Field Change
2016-07-20 16:56 ema New Issue
2016-07-20 16:56 ema Assigned To => msv
2016-07-20 16:57 ema Relationship added child of 0027166
2016-07-21 09:23 msv Assigned To msv => ema
2016-07-21 09:23 msv Status new => assigned
2016-07-21 10:19 ema Description Updated
2016-07-21 10:19 ema Steps to Reproduce Updated
2016-07-21 10:20 ema Steps to Reproduce Updated
2016-10-28 16:28 msv Target Version 7.1.0 => 7.2.0
2017-01-24 12:09 msv Assigned To ema => mpa
2017-04-04 18:32 msv Note Added: 0064906
2017-04-04 18:33 msv Note Added: 0064907
2017-04-04 18:33 msv Assigned To mpa => bugmaster
2017-04-04 18:33 msv Status assigned => feedback
2017-04-04 18:33 msv Resolution open => no change required
2017-04-05 10:02 bugmaster Status feedback => closed