# FreeCAD **Repository Path**: maxcuckoo/free-cad ## Basic Information - **Project Name**: FreeCAD - **Description**: FreeCAD mirror - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: 0.21.2 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 1 - **Created**: 2025-02-10 - **Last Updated**: 2025-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Your own 3D parametric modeler [Website](https://www.freecad.org) • [Documentation](https://wiki.freecad.org) • [Forum](https://forum.freecad.org/) • [Bug tracker](https://github.com/FreeCAD/FreeCAD/issues) • [Git repository](https://github.com/FreeCAD/FreeCAD) • [Blog](https://blog.freecad.org) [![Release](https://img.shields.io/github/release/freecad/freecad.svg)](https://github.com/freecad/freecad/releases/latest) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/freecad/localized.svg)](https://crowdin.com/project/freecad) [![Liberapay](https://img.shields.io/liberapay/receives/FreeCAD.svg?logo=liberapay)](https://liberapay.com/FreeCAD) 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 packages for stable releases are available for Windows, macOS and Linux on the [Releases page](https://github.com/FreeCAD/FreeCAD/releases). On most Linux distributions, FreeCAD is also directly installable from the software center application. For development releases check the [weekly-builds page](https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds). Other options are described at the [wiki Download page](https://wiki.freecad.org/Download). 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: - [Linux](https://wiki.freecad.org/Compile_on_Linux) - [Windows](https://wiki.freecad.org/Compile_on_Windows) - [macOS](https://wiki.freecad.org/Compile_on_MacOS) - [Cygwin](https://wiki.freecad.org/Compile_on_Cygwin) - [MinGW](https://wiki.freecad.org/Compile_on_MinGW) 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: - [Bug Tracker](https://github.com/FreeCAD/FreeCAD/issues) - [Reporting Issues and Requesting Features](https://github.com/FreeCAD/FreeCAD/issues/new/choose) - [Contributing](https://github.com/FreeCAD/FreeCAD/blob/master/CONTRIBUTING.md) - [Help Forum](https://forum.freecad.org/viewforum.php?f=3) - [Developers Handbook](https://freecad.github.io/DevelopersHandbook/) The [FPA](https://fpa.freecad.org) offers developers the opportunity to apply for a grant to work on projects of their choosing. Check [jobs and funding](https://blog.freecad.org/jobs/) to know more. Usage & Getting help -------------------- The FreeCAD wiki contains documentation on general FreeCAD usage, Python scripting, and development. These pages might help you get started: - [Getting started](https://wiki.freecad.org/Getting_started) - [Features list](https://wiki.freecad.org/Feature_list) - [Frequent questions](https://wiki.freecad.org/FAQ/en) - [Workbenches](https://wiki.freecad.org/Workbenches) - [Scripting](https://wiki.freecad.org/Power_users_hub) - [Development](https://wiki.freecad.org/Developer_hub) The [FreeCAD forum](https://forum.freecad.org) is also a great place to find help and solve specific problems you might encounter when learning to use FreeCAD.

This project receives generous infrastructure support from and KiCad Services Corp.

## 编译教程: 首先,按照下面的图片安装好 VS2022 的 Python/C++ 混合调试模式: ![alt text](https://learn.microsoft.com/zh-cn/visualstudio/python/media/python-native-development.png?view=vs-2022#lightbox) https://learn.microsoft.com/zh-cn/visualstudio/python/debugging-mixed-mode-c-cpp-python-in-visual-studio?view=vs-2022 ## 编译步骤: 1. 先下载 OCC 的三方库 https://github.com/Open-Cascade-SAS/OCCT/releases/download/V7_8_0/3rdparty-vc14-64.zip 和 FreeCAD的三方库 链接:https://pan.baidu.com/s/1yqQnWbOFp3PPnISJ53gxPw?pwd=2wqk 提取码:2wqk 复制这段内容后打开百度网盘手机App,操作更方便哦,解压备用。 2. 克隆此仓库源码: ```git clone https://gitee.com/maxcuckoo/free-cad.git --recurse-submodules``` 3. 在克隆的文件夹中创建 build 文件夹,在 build 文件夹中打开 powershell,输入命令: ```cmake .. -DFREECAD_LIBPACK_DIR="这里替换为刚解压的FreeCAD的三方库文件夹绝对路径" -DOCCT_3RDPARTY_DIR="这里替换为刚解压的OCC的三方库文件夹绝对路径" -DFREECAD_COPY_LIBPACK_BIN_TO_BUILD=true -DFREECAD_COPY_PLUGINS_BIN_TO_BUILD=true -DFREECAD_COPY_DEPEND_DIRS_TO_BUILD=true``` 4. 打开工程编译即可。Visual studio 中 Debug 可以换为 Release。但是目前不支持 RelwithDebInfo,因为 LibPack 搞的不好。编译完成之后在《解决方案资源管理器》中选择 FreeCADMain 作为启动项,选择 Python/Native Debugging 就可以启动,然后调试了。