View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001148 | FreeCAD | Bug | public | 2013-06-10 14:36 | 2014-01-18 07:19 |
Reporter | thayerov | Assigned To | wmayer | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.13 | ||||
Summary | 0001148: Incorrect STL from a mesh | ||||
Description | STL file doesn't save an internal surface after using difference operation for a mesh. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
2013-06-10 14:36
|
|
|
So, is it an error in the STL export (which I doubt it is) or an error in the difference operation (more likely)? It would be good to have some example data to reproduce this behaviour. |
2013-06-11 07:24
|
|
|
I have added a macro, which generates this STL. |
|
The boolean operations on meshes are unstable. I don't think we will fix them in the near future. Since this is a CAD system I would advice to use the CAD datastructure to create the geometry and then export it to a mesh.... |
|
I have replicated the same issue using the draft and part design modules. To replicate issue: Create circle in draft Create pad in part design Create circle in draft on top face of cylinder in draft Create pocket from circle into cylinder in part design Select all Export to stl or step or iges All exports result in no internal cavity appearing Is there a workaround for this? If not, I would say that this is a major issue. |
|
modeler123, your report's usefulness is limited if you do not provide your FreeCAD version and OS. I have done as you said, and step, iges and stl exported fine. I should also add that you should NOT select all prior to export. Only select the last feature in the tree, which is the pocket. OS: Ubuntu 12.04.3 LTS Platform: 64-bit Version: 0.14.2771 (Git) Branch: master Hash: 3153ccd8b2da6a4155d6986da8c07d22a6163be1 Python version: 2.7.3 Qt version: 4.8.1 Coin version: 3.1.3 SoQt version: 1.5.0 OCC version: 6.5.0 |
|
If you have OpenSCAD installed you can use it to perform the boolean operations (see the attached modified Macro) |
|
|
|
Then maybe it's best to replace the mesh boolean operations by OpenSCAD functions. |
|
We can't ship OpenSCAD with FreeCAD because of the GPL. And we can't link CGAL directly because of the GPL. |
|
I don't consider this a problem because it should be no problem for a user to install it manually. Besides this theoretically it won't be a problem to ship OpenSCAD with FreeCAD because it doesn't *link* OpenSCAD but runs the executable. This means the GPL doesn't consider this a *derived* work but an *aggregated* work and thus won't affect FreeCAD. |
|
Thats actually a good idea to use OpenSCAD as an external program to solve our mesh boolean problem. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-06-10 14:36 | thayerov | New Issue | |
2013-06-10 14:36 | thayerov | File Added: bug2.png | |
2013-06-11 06:26 | wmayer | Note Added: 0003193 | |
2013-06-11 07:24 | thayerov | File Added: bug.FCMacro | |
2013-06-11 07:25 | thayerov | Note Added: 0003194 | |
2013-06-26 09:22 |
|
Note Added: 0003244 | |
2013-06-26 09:22 |
|
Status | new => acknowledged |
2013-11-23 18:50 | modeler123 | Note Added: 0003901 | |
2013-11-25 05:08 | normandc | Note Added: 0003904 | |
2013-11-25 05:09 | normandc | Note Edited: 0003904 | |
2014-01-15 23:11 | shoogen | Note Added: 0004080 | |
2014-01-15 23:11 | shoogen | File Added: workaround.FCMacro | |
2014-01-15 23:12 | shoogen | Note Edited: 0004080 | |
2014-01-16 09:10 | wmayer | Note Added: 0004082 | |
2014-01-16 09:38 | shoogen | Note Added: 0004083 | |
2014-01-16 09:53 | wmayer | Note Added: 0004084 | |
2014-01-16 10:57 | wmayer | Note Edited: 0004084 | |
2014-01-16 10:57 | wmayer | Changeset attached | => FreeCAD Master master 795bd01f |
2014-01-16 10:57 | wmayer | Assigned To | => wmayer |
2014-01-16 10:57 | wmayer | Status | acknowledged => closed |
2014-01-16 10:57 | wmayer | Resolution | open => fixed |
2014-01-16 10:58 | wmayer | Note Edited: 0004084 | |
2014-01-18 07:19 |
|
Note Added: 0004091 |