When drawing a section view, first a list of objects to draw is made. Starting with the objects selected by the section plane, any groups or group-like objects are recursively expanded. The resulting list contains all contained objects, but also the expanded groups themselves (due to Draft.get_group_contents with addgroups set). This list of objects is then further categorized and processed. In this categorization, there was already an exception for DocumentObjectGroup instances, which were omitted from the resulting `nonspaces` list (presumably since there is no point in drawing the groups themselves when their contents are already in the list). However, any groups that only contain flat objects would be caught by `looksLikeDraf()` and added to the `drafts` list, before this exception could ignore them. This causes these groups to be processed by Draft.get_svg, which does so by calling itself recursively on the group contents. Effectively, this means that the contents of such groups is drawn on the section view twice. Even more, since Draft.get_svg does not do a visibility check like Arch.getSVG does, this causes invisible objects to show up when not intended. This commit fixes this by moving the DocumentObjectGroup exception a bit further up, so all these objects should be dropped. An alternative fix might be to pass addgroups=False to Draft.get_group_contents (in getSectionData), but that also prevents group-like objects (Building, BuildingPart, Space, Site) from being returned, but those likely need to be returned so they can be sectioned if needed (though if just spaces are needed, then Draft.get_group_contents also have a spaces argument to return just those).
Your own 3D parametric modeler
Website • Documentation • Forum • Bug tracker • Git repository
This project receives generous infrastructure support from
Overview
-
Freedom to build what you want FreeCAD is an open-source parametric 3D modeler made primarily to design real-life objects of any size. Parametric modeling allows you to easily modify your design by going back into your model history to change its parameters.
-
Create 3D from 2D and back FreeCAD lets you to sketch geometry constrained 2D shapes and use them as a base to build other objects. It contains many components to adjust dimensions or extract design details from 3D models to create high quality production-ready drawings.
-
Designed for your needs FreeCAD is designed to fit a wide range of uses including product design, mechanical engineering and architecture, whether you are a hobbyist, programmer, experienced CAD user, student or teacher.
-
Cross platform FreeCAD runs on Windows, macOS and Linux operating systems.
-
Underlying technology
- OpenCASCADE A powerful geometry kernel, the most important component of FreeCAD
- Coin3D library Open Inventor-compliant 3D scene representation model
- Python FreeCAD offers a broad Python API
- Qt Graphical user interface built with Qt
Installing
Precompiled (installable) packages are available for Windows and macOS on the Releases page.
On most Linux distributions, FreeCAD is directly installable from the software center application.
Other options are described at the wiki Download page.
Build Status 
| Master | 0.18 | Translation |
|---|---|---|
Compiling
Compiling FreeCAD requires installation of several libraries and their development files such as OCCT (Open Cascade), Coin and Qt, listed in the pages below. Once this is done, FreeCAD can be compiled with CMake. On Windows, these libraries are bundled and offered by the FreeCAD team in a convenient package. On Linux, they are usually found in your distribution's repositories, and on macOS and other platforms, you will usually have to compile them yourself.
The pages below contain up-to-date build instructions:
Reporting Issues
To report an issue please:
- First post to forum to verify the issue;
- Link forum thread to bug tracker ticket and vice-a-versa;
- Use the most updated stable or development versions of FreeCAD;
- Post version info from eg.
Help > About FreeCAD > Copy to clipboard; - Post a Step-By-Step explanation on how to recreate the issue;
- Upload an example file to demonstrate problem.
For more detail see:
Usage & Getting help
The FreeCAD wiki contains documentation on general FreeCAD usage, Python scripting, and development. These pages might help you get started:
The FreeCAD forum is also a great place to find help and solve specific problems you might encounter when learning to use FreeCAD.
