Power users hub/zh-tw


150

這是一個讓你更加深入了解FreeCAD的地方。在這裡你可以學習如何為你的需求客製化FreeCAD。

這個頁面還在早期開發階段。如果你找不到你所需要的資訊,或是你在其他地方找到有用的資訊,請在論壇上留言,或者何不 直接由你來幫忙增加本頁面的內容!

FreeCAD有一個最棒的特色就是你可以藉由腳本來擴充功能並且幾乎沒有限制,而且你並不需要接觸到FreeCAD本身的原始碼或是編譯任何東西。所有的腳本都是由Python這個簡單但是強大的程式語言寫成的。藉由Python你幾乎可以使用FreeCAD的各種功能。舉例來說,你可以:

客製化 FreeCAD

在FreeCAD撰寫腳本

一般主題

模組

As the functionality of FreeCAD is separated in Modules which deal with special data types and applications. FreeCAD has built-in modules and Extension Modules (plug-ins). Once plugin modules are installed, they become availible to you as easily as the built-in modules. The modules described below are the default modules, includeed in every FreeCAD installation.

Working with Meshes

Working with Parts

Accessing the Coin scenegraph

控制Qt介面

Working with parametric objects

Examples

API Functions

The complete API documentation of FreeCAD is located at http://www.freecadweb.org/api/ . It contains both C++ and Python APIs, and is not totally well formatted yet, which can be confusing when looking for python-only code. An easier to browse version can be found here. Note that it can be incomplete, since it is updated manually. For more accurate information, browse the modules directly from FreeCAD's Python console.

Advanced modification

Python tutorials

These are good generic tutorials, not specific to FreeCAD, that might interest you if you are totally new to python.

Python

PySide - How to create and manage FreeCAD's Qt UI interface from python

The following two references are PyQt specific (not PySide) but may offer some information of use:

Pivy - How to interact with FreeCAD's 3D scenes

Community projects

On the Community portal, you can find other FreeCAD-based projects run by the FreeCAD users community. If you are starting a new FreeCAD project, be sure to list it there! We also have a page with things you can do if you would like to Help FreeCAD.


Online version: "http://www.freecadweb.org/wiki/index.php?title=Power_users_hub/zh-tw&oldid=224560"

Navigation menu