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 編寫