View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000699 | FreeCAD | Bug | public | 2012-05-07 14:07 | 2013-08-28 09:01 |
Reporter | shoogen | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.12 | ||||
Fixed in Version | 0.14 | ||||
Summary | 0000699: Shape.removeSplitter() loses Shape.Placements on some Shapes | ||||
Description | This is only happens with certain Shapes like the result of booleans while others, like most primitives keep their Placement. | ||||
Additional Information | doc=App.ActiveDocument doc.addObject("Part::Sphere","Sphere") doc.addObject("Part::Box","Box") doc.addObject("Part::MultiCommon","Common") doc.Common.Shapes = [App.activeDocument().Sphere,App.activeDocument().Box,] doc.recompute() doc.Common.Placement = App.Placement(App.Vector(10,0,0),App.Rotation()) doc.Common.Shape.removeSplitter().Placement.Base==doc.Common.Shape.Placement.Base | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
The BoundBox seems to be fine. |
|
fp.Shape=sh.transformGeometry(fp.Base.Placement.multiply(sh.Placement.inverse()).toMatrix()) does not fix the problem either. |
|
but fp.Shape=sh.transformGeometry(sh.Placement.inverse.toMatrix()) did. Please close the Ticket. |
|
The problem is not Shape.removeSplitter(). Please close this ticket with 'no change required' The problem is how to modify the shape of a sub object to calculate the shape of a Feature. Since the Placement belonging to the Shape gets lost at shape assignment there needds to be a special function 'apply placemnt' for this. This function would apply the rotation and translation of placement to each Vertex of a Shape, without converting the geometry to b-splines (opposed to the beahivor of transformShape().) Secondly the funtion would nullify the placement of the Shape. |
|
These are the best reports :) |
|
This behavior had to be changed because of the drawbacks of transformGeometry (see ticket 0001221) git show 48f8d67b509a61875ee32fb809c8a66c4cafe6fe please close with fixed in version 0.14 |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-07 14:07 | shoogen | New Issue | |
2012-05-07 14:17 | shoogen | Note Added: 0002029 | |
2012-05-07 14:30 | shoogen | Note Added: 0002030 | |
2012-05-07 14:37 | shoogen | Note Added: 0002031 | |
2012-05-27 17:23 | shoogen | Note Added: 0002087 | |
2012-05-27 19:12 | wmayer | Note Added: 0002090 | |
2012-05-27 19:12 | wmayer | Status | new => closed |
2012-05-27 19:12 | wmayer | Resolution | open => no change required |
2012-05-27 19:12 | wmayer | Fixed in Version | => 0.13 |
2013-08-27 05:09 | shoogen | Note Added: 0003525 | |
2013-08-27 05:09 | shoogen | Status | closed => feedback |
2013-08-27 05:09 | shoogen | Resolution | no change required => reopened |
2013-08-27 05:10 | shoogen | Note Edited: 0003525 | |
2013-08-27 05:11 | shoogen | Note Edited: 0003525 | |
2013-08-27 05:12 | shoogen | Note Edited: 0003525 | |
2013-08-27 05:13 | shoogen | Note Edited: 0003525 | |
2013-08-28 09:01 | wmayer | Status | feedback => closed |
2013-08-28 09:01 | wmayer | Resolution | reopened => fixed |
2013-08-28 09:01 | wmayer | Fixed in Version | 0.13 => 0.14 |