-
Clone the
OpenSCAD
repository:git clone https://github.com/dracula/openscad.git
-
Move into the cloned repository:
Linux & Mac:
cd ./openscad
Windows
Set-Location -Path ".\openscad"
-
Create the directories
OpenSCAD/color-schemes/editor
andOpenSCAD/color-schemes/render
in the application's config directory if they do not exist.Linux:
mkdir -p $HOME/.config/OpenSCAD/color-schemes/editor $HOME/.config/OpenSCAD/color-schemes/render
Mac:
mkdir -p "$HOME/Library/Application Support/OpenSCAD/color-schemes/editor" "$HOME/Library/Application Support/OpenSCAD/color-schemes/render"
Windows:
New-Item -Path "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\editor" -ItemType Directory New-Item -Path "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\render" -ItemType Directory
-
Finally, create two symbolic links from the local repository to OpenSCAD’s editor and render folders:
Linux:
ln -s $PWD/dracula.json $HOME/.config/OpenSCAD/color-schemes/editor ln -s $PWD/transylvania.json $HOME/.config/OpenSCAD/color-schemes/render
Mac:
ln -s "$PWD/dracula.json" "$HOME/Library/Application Support/OpenSCAD/color-schemes/editor" ln -s "$PWD/transylvania.json" "$HOME/Library/Application Support/OpenSCAD/color-schemes/render"
Windows:
New-Item -Path "$pwd\dracula.json" -ItemType SymbolicLink -Value "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\editor" New-Item -Path "$pwd\transylvania.json" -ItemType SymbolicLink -Value "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\render"
-
Download the
OpenSCAD
archive and extract it. -
Linux: Create the directories
OpenSCAD/color-schemes/editor
andOpenSCAD/color-schemes/render
if it does not exist in$HOME/.config/
.Mac: Create the directories
OpenSCAD/color-schemes/editor
andOpenSCAD/color-schemes/render
if it does not exist in$HOME/Library/Application Support/
.Windows: Create the directories
OpenSCAD/color-schemes/editor
andOpenSCAD/color-schemes/render
if it does not exist inC:\Documents and Settings\$env:username\Local Settings\Application Data\
. -
Move the
dracula.json
file from the extracted archive to OpenSCAD’seditor
folder, andtransylvania.json
to OpenSCAD’srender
folder.
- Navigate to
OpenSCAD -> Edit -> Preferences
. - Select
3D View -> Color scheme -> Transylvania
as the render theme. - Select
Editor -> Color syntax highlighting -> Dracula
as the editor theme.