scad-preview

Homepage: https://zk-phi.github.io

Author: zk_phi

Updated:

Summary

Preview SCAD models in real-time within Emacs

Commentary

Install `scad-mode' and load this script:

  (require 'scad-preview)

then call `scad-preview-mode' in a `scad-mode' buffer.

You can rotate the preview image with following keybinds:

-    scad-preview-rotz+
-     scad-preview-rotz-
-       scad-preview-dist-
-     scad-preview-dist+
- C-  scad-preview-roty+
- C- scad-preview-roty-
- C-    scad-preview-rotx+
- C-  scad-preview-rotx-
- M-  scad-preview-trnsx+
- M- scad-preview-trnsx-
- M-    scad-preview-trnsz-
- M-  scad-preview-trnsz+
- r         scad-preview-reset-camera-parameters

You can also use "hjkl" or "npbf" instead of arrow keys.

Dependencies