View Issue Details

IDProjectCategoryView StatusLast Update
0001463FreeCADBugpublic2014-03-08 09:38
Reportershoogen Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Versiontrunk 
Summary0001463: setting Vertex.Tolerance modifies bound and shared shapes
DescriptionIt it possible to change the Vertex Tolerance on a bound shape.
It is not possible to work on a Copy as the change affects the original Shape as well. It seems that the copy-on-write is not properly implemented.
Steps To Reproduce>>> s1=Part.makeBox(5,4,3)
>>> s2=s1.copy()
>>> for v in s2.Vertexes:
... v.Tolerance=0.5
...
>>> [v.Tolerance for v in s2.Vertexes]
[0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]
>>> [v.Tolerance for v in s1.Vertexes]
[0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]
>>>
Additional Informationnote on severity:
given the fact that the problem is breaks the copy-on-write i would consider it to by mayor or even blocker.
given the fact that nobody messes with the Tolerance yet, it is minor.
TagsNo tags attached.
FreeCAD Information

Relationships

related to 0001465 closedwmayer scale() operation makes face invalid 

Activities

There are no notes attached to this issue.

Related Changesets

FreeCAD: master 92253429

2014-03-06 09:50:49

wmayer

Details Diff
+ fixes 0001463: setting Vertex.Tolerance modifies bound and shared shapes Affected Issues
0001463
mod - src/Mod/Part/App/TopoShapePyImp.cpp Diff File

Issue History

Date Modified Username Field Change
2014-03-06 07:58 shoogen New Issue
2014-03-06 07:59 shoogen Summary setting Vertex.Tolerance modifies bound and shares shapes => setting Vertex.Tolerance modifies bound and shared shapes
2014-03-06 09:09 wmayer Changeset attached => FreeCAD Master master 92253429
2014-03-06 09:09 wmayer Assigned To => wmayer
2014-03-06 09:09 wmayer Status new => closed
2014-03-06 09:09 wmayer Resolution open => fixed
2014-03-08 09:38 wmayer Relationship added related to 0001465