Part of September's purchases will go towards curing childhood cancer. Read more
Dracula Icon

OpenSCAD

Dracula Theme for OpenSCAD
openscad - Theme Preview

OpenSCAD

Install using Git

  1. Clone the OpenSCAD repository:

    git clone https://github.com/dracula/openscad.git
  2. Move into the cloned repository:

    Linux & Mac:

    cd ./openscad

    Windows

    Set-Location -Path ".\openscad"
  3. Create the directories OpenSCAD/color-schemes/editor and OpenSCAD/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
  4. 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"

Install manually

  1. Download the OpenSCAD archive and extract it.

  2. Linux: Create the directories OpenSCAD/color-schemes/editor and OpenSCAD/color-schemes/render if it does not exist in $HOME/.config/.

    Mac: Create the directories OpenSCAD/color-schemes/editor and OpenSCAD/color-schemes/render if it does not exist in $HOME/Library/Application Support/.

    Windows: Create the directories OpenSCAD/color-schemes/editor and OpenSCAD/color-schemes/render if it does not exist in C:\Documents and Settings\$env:username\Local Settings\Application Data\.

  3. Move the dracula.json file from the extracted archive to OpenSCAD’s editor folder, and transylvania.json to OpenSCAD’s render folder.

Activating theme

  1. Navigate to OpenSCAD -> Edit -> Preferences.
  2. Select 3D View -> Color scheme -> Transylvania as the render theme.
  3. Select Editor -> Color syntax highlighting -> Dracula as the editor theme.