Developer hub/zh-cn: Difference between revisions
(Created page with "打包 包括取得编译好的FreeCAD的二进制文件和Python源文件和将他们分发到使用的系统中") |
(Created page with "==== Sketcher求解器 ====") |
||
(29 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{TOCright}} |
|||
[[Image:Crystal_Clear_app_tutorials.png|64px]] |
[[Image:Crystal_Clear_app_tutorials.png|64px]] |
||
---- |
---- |
||
__NOTOC__ |
|||
如果你对开发FreeCAD软件有兴趣,想贡献于这个项目的开发,这里正有你该了解的内容。 |
如果你对开发FreeCAD软件有兴趣,想贡献于这个项目的开发,这里正有你该了解的内容。 |
||
Line 8: | Line 8: | ||
这些页面还处于开发的早起阶段。如果你找不到想看的信息,如果你在别处看到了有用的信息,而我们没有链接在这里,那么请在[http://forum.freecadweb.org/index.php?sid=5f84150e79db8842e277b042077097ff 论坛]里留下你的评论。会有人仔细看,认真处理它们的(或者,大胆如你,为什么不直接编辑这个页面呢?)。 |
这些页面还处于开发的早起阶段。如果你找不到想看的信息,如果你在别处看到了有用的信息,而我们没有链接在这里,那么请在[http://forum.freecadweb.org/index.php?sid=5f84150e79db8842e277b042077097ff 论坛]里留下你的评论。会有人仔细看,认真处理它们的(或者,大胆如你,为什么不直接编辑这个页面呢?)。 |
||
<span id="Developer_Documentation"></span> |
|||
== 开发者文档 == |
== 开发者文档 == |
||
开发者文档由以下部分构成: |
开发者文档由以下部分构成: |
||
<span id="Compiling_FreeCAD"></span> |
|||
=== 编译 FreeCAD === |
=== 编译 FreeCAD === |
||
Line 27: | Line 29: | ||
* 当你有问题或你认为发现了一个bug的时候,请使用 [[Tracker|bug tracker]] 。 |
* 当你有问题或你认为发现了一个bug的时候,请使用 [[Tracker|bug tracker]] 。 |
||
<span id="Packaging"></span> |
|||
=== 打包 === |
=== 打包 === |
||
[[Packaging|打包]] 包括取得编译好的FreeCAD的二进制文件和Python源文件和将他们分发到使用的系统中 |
[[Packaging|打包]] 包括取得编译好的FreeCAD的二进制文件和Python源文件和将他们分发到使用的系统中 |
||
* [[Linux_packaging|Linux |
* [[Linux_packaging|Linux 打包]] |
||
** [[Debian_development|Debian |
** [[Debian_development|Debian 开发版]] |
||
** [[Debian_Unstable|Debian |
** [[Debian_Unstable|Debian 不稳定版]] |
||
** [[Git_buildpackage|Git |
** [[Git_buildpackage|Git 构建包]] |
||
* [[Windows_packaging|Windows |
* [[Windows_packaging|Windows 打包]] |
||
* [[MacOS_packaging|MacOS |
* [[MacOS_packaging|MacOS 打包]] |
||
<span id="Build_Support_Tools"></span> |
|||
=== Build Support Tools === |
|||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
⚫ | |||
** [[Module_Creation/zh-cn|添加应用模块]]给FreeCAD |
** [[Module_Creation/zh-cn|添加应用模块]]给FreeCAD |
||
* [[Debugging/zh-cn| |
* [[Debugging/zh-cn|调试]]FreeCAD |
||
* [[Testing/zh-cn|测试]]FreeCAD |
* [[Testing/zh-cn|测试]]FreeCAD |
||
* [[Compiling (Speeding up)/zh-cn|编译(加速)]]FreeCAD |
* [[Compiling (Speeding up)/zh-cn|编译(加速)]]FreeCAD |
||
* [[Continuous Integration/zh-cn|持续集成]] |
* [[Continuous Integration/zh-cn|持续集成]] |
||
</div> |
|||
<span id="Modifying_FreeCAD"></span> |
|||
=== |
===修改FreeCAD=== |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
===改装FreeCAD=== |
|||
* 理解[[The FreeCAD source code|FreeCAD的源代码]] |
* 理解[[The FreeCAD source code|FreeCAD的源代码]] |
||
* 向FreeCAD或工作台添加[[Gui Command|功能]] |
* 向FreeCAD或工作台添加[[Gui Command|功能]] |
||
Line 66: | Line 67: | ||
* [[Translating an external workbench|Translating an external workbench]] |
* [[Translating an external workbench|Translating an external workbench]] |
||
<span id="Module_developer's_guide"></span> |
|||
=== Module developer's guide === |
|||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
⚫ | |||
</div> |
|||
章节: |
章节: |
||
Line 87: | Line 86: | ||
这个git仓库的最新pdf预览版,可以在[https://github.com/qingfengxia/FreeCAD_Mod_Dev_Guide/tree/master/pdf pdf文件夹]下载到。 |
这个git仓库的最新pdf预览版,可以在[https://github.com/qingfengxia/FreeCAD_Mod_Dev_Guide/tree/master/pdf pdf文件夹]下载到。 |
||
= |
<span id="Internals"></span> |
||
=== 内部结构 === |
|||
<span id="OpenCascade_Documentation"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
=== OpenCascade文档=== |
=== OpenCascade文档=== |
||
OpenCascade是一个用于三维曲面和实体建模、CAD数据交换和可视化的软件开发平台,主要采用c++库的形式出现。 |
|||
* [http://opencascade.wikidot.com/romansarticles Roman Lygin的教程] |
* [http://opencascade.wikidot.com/romansarticles Roman Lygin的教程] |
||
* [https://dev.opencascade.org/doc/overview/html/index.html 完整的在线文档] |
* [https://dev.opencascade.org/doc/overview/html/index.html 完整的在线文档] |
||
* [https://dev.opencascade.org/doc/refman/html/index.html 参考手册] |
* [https://dev.opencascade.org/doc/refman/html/index.html 参考手册] |
||
* [http://opencascade.wikidot.com OpenCascade维基百科] |
* [http://opencascade.wikidot.com OpenCascade维基百科] |
||
</div> |
|||
OpenCascade is a software development platform for 3D surface and solid modeling, CAD data exchange, and visualization, mostly in the form of C++ libraries. |
|||
* [http://opencascade.wikidot.com/romansarticles Roman Lygin's tutorials] |
|||
* [https://dev.opencascade.org/cdoc/overview/html/index.html Full Online Documentation] |
|||
* [https://dev.opencascade.org/doc/refman/html/index.html Reference Manual] |
|||
* [http://opencascade.wikidot.com The openCascade wiki] (currently containing ?? Chinese spam) |
|||
<span id="File_format"></span> |
|||
==== |
==== 文件格式 ==== |
||
[[File_Format_FCStd|File Format FCStd]]. The files created with FreeCAD are {{incode|.zip}} files that include the [https://en.wikipedia.org/wiki/Boundary_representation BREP] geometry, as well as XML data that describes the document. |
[[File_Format_FCStd|File Format FCStd]]. The files created with FreeCAD are {{incode|.zip}} files that include the [https://en.wikipedia.org/wiki/Boundary_representation BREP] geometry, as well as XML data that describes the document. |
||
<span id="Sketcher_solver"></span> |
|||
==== Sketcher |
==== Sketcher求解器 ==== |
||
* [https://forum.freecadweb.org/viewtopic.php?f=10&t=36355 Sketcher Solver Architecture Booklet] (forum thread), [https://github.com/abdullahtahiriyo/FreeCADBooks/tree/master/FreeCAD_Solver_Architecture source] in GitHub. |
* [https://forum.freecadweb.org/viewtopic.php?f=10&t=36355 Sketcher Solver Architecture Booklet] (forum thread), [https://github.com/abdullahtahiriyo/FreeCADBooks/tree/master/FreeCAD_Solver_Architecture source] in GitHub. |
||
Line 118: | Line 115: | ||
The development of a new solver architecture could improve the way the solver is used both in the [[Sketcher Workbench|Sketcher Workbench]], and for assembly of 3D bodies. See [https://forum.freecadweb.org/viewtopic.php?f=20&t=40525 Reimplementing constraint solver]. |
The development of a new solver architecture could improve the way the solver is used both in the [[Sketcher Workbench|Sketcher Workbench]], and for assembly of 3D bodies. See [https://forum.freecadweb.org/viewtopic.php?f=20&t=40525 Reimplementing constraint solver]. |
||
= |
<span id="Roadmap"></span> |
||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
FreeCAD虽然在特定领域已经可用了,但是在跨入主流CAD的路途上,它才走了万里长征第一步。要登上与商业软件一争高下的平台,我们还有很多工作要做。 |
FreeCAD虽然在特定领域已经可用了,但是在跨入主流CAD的路途上,它才走了万里长征第一步。要登上与商业软件一争高下的平台,我们还有很多工作要做。 |
||
</div> |
|||
[[FreeCAD_1.0_Development_Cycle|FreeCAD 1.0 开发周期]] |
|||
[[0.20_Development_Cycle|0.20 Development Cycle]] |
|||
= |
<span id="Community"></span> |
||
== 社区 == |
|||
* [ |
* [ircs://irc.libera.chat:6697/freecad IRC channel] ,和 [https://gitter.im/FreeCAD/FreeCAD gitter channel]同步 |
||
* [https://forum. |
* [https://forum.freecad.org/viewforum.php?f=6 开发论坛] |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
Latest revision as of 03:51, 24 April 2023
如果你对开发FreeCAD软件有兴趣,想贡献于这个项目的开发,这里正有你该了解的内容。
这些页面还处于开发的早起阶段。如果你找不到想看的信息,如果你在别处看到了有用的信息,而我们没有链接在这里,那么请在论坛里留下你的评论。会有人仔细看,认真处理它们的(或者,大胆如你,为什么不直接编辑这个页面呢?)。
开发者文档
开发者文档由以下部分构成:
编译 FreeCAD
- Github 代码库. 如果你是git新手, 请阅读Source code management
- 用Docker编译
- 在Windows上编译
- 在Linux上编译
- 在Mac OS X上编译
- 关于FreeCAD的许可协议细节
- 第三方程序库
- 第三方工具库
- 起始和配置
- 源文档
- 当你有问题或你认为发现了一个bug的时候,请使用 bug tracker 。
打包
打包 包括取得编译好的FreeCAD的二进制文件和Python源文件和将他们分发到使用的系统中
制作支持工具
修改FreeCAD
- 理解FreeCAD的源代码
- 向FreeCAD或工作台添加功能
- 品牌化或者说如何让FreeCAD看起来很特别
- 我们为FreeCAD做的艺术工作,你可以自由重用
- 艺术工作指南列出了图标设计的标准
- 翻译FreeCAD
- 附加Python模块,如何在FreeCAD里扩展Python功能
- 谷歌代码之夏,参与谷歌的学生支持计划
模块开发者指南
FreeCAD模块开发指南:这是一本在Github上写作的电子书。如要贡献,请fork然后发送pull request。
章节:
- 总体情况和软件架构
- 源代码结构
- Base和App模块
- Gui模块
- Python包封
- 模块设计
- FEM模块源代码分析(混合了C++和Python)
- CFD模块的开发(纯Python)
- 模块测试和纠错
- 通过git贡献代码
这个git仓库的最新pdf预览版,可以在pdf文件夹下载到。
内部结构
OpenCascade文档
OpenCascade是一个用于三维曲面和实体建模、CAD数据交换和可视化的软件开发平台,主要采用c++库的形式出现。
文件格式
File Format FCStd. The files created with FreeCAD are .zip
files that include the BREP geometry, as well as XML data that describes the document.
Sketcher求解器
- Sketcher Solver Architecture Booklet (forum thread), source in GitHub.
- PlaneGCS solver in the FreeCAD source code; important files are GCS.cpp and SubSystem.cpp.
- Recent Several Sketcher improvements.
The sketcher solver isn't perfect, as there are some issues with numerical precision when using large values, see Adventure of fixing sketcher solver for large sketches.
The development of a new solver architecture could improve the way the solver is used both in the Sketcher Workbench, and for assembly of 3D bodies. See Reimplementing constraint solver.
路线图
FreeCAD虽然在特定领域已经可用了,但是在跨入主流CAD的路途上,它才走了万里长征第一步。要登上与商业软件一争高下的平台,我们还有很多工作要做。
社区
信用
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub