View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000580||FreeCAD||Bug||public||2012-01-25 12:49||2014-11-23 10:10|
|Target Version||Fixed in Version||0.15|
|Summary||0000580: problem cutting away a particular sphere from a particular cylinder|
|Description||I was designing an object with a script (attached), and found a strange situation. When I used the TopoShape.cut operation, material was added, or rather XOR'ed. |
After one cut operation, additional material is added (perhaps also removed -- I cannot tell). A second cut operation with the same sphere removes this extra material, leaving the cylinder unchanged. A third cut operation puts the extra material back.
Changing the particular values used for radius, et c. can make the operation function normally again. Removing either the stretch or rotation operations causes the problem to disappear.
|Tags||No tags attached.|
Note, the boolean operations (BOP) in the OCC kernel very often fail and we have no control on this. But there is one thing you can do: BOP with solids built out of B-Spline surfaces work really bad. So, whenever possible you should avoid using B-Splines.
And that's what is happening here: you use the transformGeometry() method and this always converts the underlying geometry into a B-Spline surface.
I know that in your example you need an ellipsoid and since OCC has no built-in support for this the transformGeometry method is the only way to go.
||Not reproducible with newer OCC version (tested with 6.6)|
|2012-01-25 12:49||thomasbogue||New Issue|
|2012-01-25 12:49||thomasbogue||File Added: cut-example.FCMacro|
|2012-01-26 09:10||wmayer||Note Added: 0001604|
|2014-11-23 10:10||wmayer||Note Added: 0005338|
|2014-11-23 10:10||wmayer||Status||new => closed|
|2014-11-23 10:10||wmayer||Assigned To||=> wmayer|
|2014-11-23 10:10||wmayer||Resolution||open => fixed|
|2014-11-23 10:10||wmayer||Fixed in Version||=> 0.15|