Developer hub/zh-cn: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "==== Sketcher求解器 ====")
 
(24 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 packaging]]
* [[Linux_packaging|Linux 打包]]
** [[Debian_development|Debian development]]
** [[Debian_development|Debian 开发版]]
** [[Debian_Unstable|Debian Unstable]]
** [[Debian_Unstable|Debian 不稳定版]]
** [[Git_buildpackage|Git buildpackage]]
** [[Git_buildpackage|Git 构建包]]
* [[Windows_packaging|Windows packaging]]
* [[Windows_packaging|Windows 打包]]
* [[MacOS_packaging|MacOS packaging]]
* [[MacOS_packaging|MacOS 打包]]


<span id="Build_Support_Tools"></span>
===制作支持工具===
===制作支持工具===


Line 47: Line 51:
* [[Continuous Integration/zh-cn|持续集成]]
* [[Continuous Integration/zh-cn|持续集成]]


<span id="Modifying_FreeCAD"></span>
===修改FreeCAD===
===修改FreeCAD===


<div class="mw-translate-fuzzy">
* 理解[[The FreeCAD source code|FreeCAD的源代码]]
* 理解[[The FreeCAD source code|FreeCAD的源代码]]
* 向FreeCAD或工作台添加[[Gui Command|功能]]
* 向FreeCAD或工作台添加[[Gui Command|功能]]
Line 57: Line 63:
* [[Extra python modules/zh-cn|附加Python模块]],如何在FreeCAD里扩展Python功能
* [[Extra python modules/zh-cn|附加Python模块]],如何在FreeCAD里扩展Python功能
*[[Google Summer of Code/zh-cn|谷歌代码之夏]],参与谷歌的学生支持计划
*[[Google Summer of Code/zh-cn|谷歌代码之夏]],参与谷歌的学生支持计划
</div>


* [[Translating an external workbench|Translating an external workbench]]
* [[Translating an external workbench|Translating an external workbench]]


<span id="Module_developer&#039;s_guide"></span>
=== Module developer's guide ===
=== 模块开发者指南 ===


[https://github.com/qingfengxia/FreeCAD_Mod_Dev_Guide FreeCAD模块开发指南]:这是一本在Github上写作的电子书如要贡献,fork然后发送pull request
<div class="mw-translate-fuzzy">
===模块开发者指南===
[https://github.com/qingfengxia/FreeCAD_Mod_Dev_Guide FreeCAD模块开发指南]:这是一本电子书,在Github上写作。请分支出去,然后发送拉取请求,来为它贡献内容
</div>


章节:
章节:
Line 81: 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文件夹]下载到。


=== Internals ===
<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>


<span id="File_format"></span>
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)

==== File format ====


[[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 solver ====
==== 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 112: 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].


== Roadmap ==
<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]]


== Community ==
<span id="Community"></span>
== 社区 ==


* [irc://chat.freenode.net/freecad IRC channel] ,synchronized with [https://gitter.im/FreeCAD/FreeCAD gitter channel]
* [ircs://irc.libera.chat:6697/freecad IRC channel] , [https://gitter.im/FreeCAD/FreeCAD gitter channel]同步
* [https://forum.freecadweb.org/viewforum.php?f=6 Development 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

打包

打包 包括取得编译好的FreeCAD的二进制文件和Python源文件和将他们分发到使用的系统中

制作支持工具

修改FreeCAD

模块开发者指南

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求解器

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的路途上,它才走了万里长征第一步。要登上与商业软件一争高下的平台,我们还有很多工作要做。

FreeCAD 1.0 开发周期

社区

信用

贡献者