OpenSCAD 用户手册/路径
外观
OpenSCAD 查找并保存资源到不同的路径。这是一个概述。
- HOME
- XDG_CONFIG_HOME
- OPENSCAD_FONT_PATH
- OPENSCADPATH
- ResourcesPath
- Posix
- Mac OS X: OpenSCAD.app/Contents/Resources
- Windows
- DocumentsPath
- Posix: $HOME/.local/share
- Mac OS X: [NSDocumentDirectory],通常为 $HOME/Documents
- Windows XP: [CSIDL_PERSONAL],通常为 C:users\\username\documents\GitHub\OpenScad\
- Windows Vista->: [CSIDL_PERSONAL],通常为 C:\users\username\documents\GitHub\OpenScad\
- UserConfigPath
- Posix: $XDG_CONFIG_HOME/OpenSCAD 或者 $HOME/.config/OpenSCAD
- Mac: [NSApplicationSupportDirectory],通常为 $HOME/Library/Application Support/OpenSCAD
- Windows: [CSIDL_LOCAL_APPDATA],通常为 C:\Documents and Settings\username\Local Settings\Application Data
- 库: [ResourcesPath]/libraries
- 字体: [ResourcesPath]/fonts
- 渲染颜色方案: [ResourcesPath]/color-schemes/render
- 编辑器颜色方案: [ResourcesPath]/color-schemes/editor
- 库: $OPENSCADPATH, [DocumentsPath]/OpenSCAD/libraries
- 字体
* $HOME/.fonts
- 渲染颜色方案: [UserConfigPath]/color-schemes/render
- 编辑器颜色方案: [UserConfigPath]/color-schemes/editor
- GUI 首选项 (使用 QSettings)
* Posix: $HOME/.config/OpenSCAD.conf * Windows: Registry * Mac OS X: $HOME/Library/Preferences/org.openscad.OpenSCAD.plist
- 备份: [DocumentsPath]/OpenSCAD/backups
本章节基于 https://github.com/openscad/openscad/wiki/Path-locations,由开发者 kintel 编写