Linux command
freecad 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start FreeCAD
freecad
Open file
freecad [model.FCStd]
Start in console mode
freecad -c
Run a Python script
freecad -c [script.py]
Import and export
freecadcmd [model.FCStd] -o [output.step]
Add an additional module path
freecad -M [path/to/modules] [model.FCStd]
说明
FreeCAD is an open-source parametric 3D CAD modeler. It supports multiple workbenches for different tasks: Part Design for mechanical parts, Sketcher for 2D drawings, Arch for architecture, and more. FreeCAD uses Python for scripting and macros, allowing automation and custom tools. It can import and export standard formats including STEP, IGES, STL, OBJ, and DXF.
参数
- -c, --console
- Start in console mode without GUI. Optionally followed by a Python script to execute.
- -o _file_
- Output/export file (used with freecadcmd for format conversion).
- -t, --run-test _module_
- Run the specified test module.
- --write-log
- Write a log file to FreeCAD_Std.log in the user home directory.
- -M _path_
- Add an additional module search path.
- -u _file_
- Use the specified user configuration file.
- -v, --version
- Show version information.
FAQ
What is the freecad command used for?
FreeCAD is an open-source parametric 3D CAD modeler. It supports multiple workbenches for different tasks: Part Design for mechanical parts, Sketcher for 2D drawings, Arch for architecture, and more. FreeCAD uses Python for scripting and macros, allowing automation and custom tools. It can import and export standard formats including STEP, IGES, STL, OBJ, and DXF.
How do I run a basic freecad example?
Run `freecad` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --console do in freecad?
Start in console mode without GUI. Optionally followed by a Python script to execute.