scad-preview
scad-preview copied to clipboard
Preview SCAD models in real-time in Emacs
- scad-preview.el
Preview SCAD models in real-time in Emacs
SCAD モデルを Emacs 上でプレビュー
** Screenshot
[[file:screenshot.png]]
** Installation
Install =scad-mode= and load this script :
: (require 'scad-preview)
Then call =M-x scad-preview-mode= in a =scad-mode= buffer to open the preview pane. You can close the pane by calling =scad-preview-mode= again.
** Keybindings
You can rotate the preview image with following keys :
- =
=, =l= :: rotate+ around z-axis - =
=, =h= :: rotate- around z-axis - =
=, =k= :: decrease distance (zoom in) - =
=, =j= :: increase distance (zoom out) - =C-
=, =C-h= :: rotate+ around y-axis - =C-
=, =C-l= :: rotate- around y-axis - =C-
=, =C-k= :: rotate+ around x-axis - =C-
=, =C-j= :: rotate- around x-axis - =M-
=, =M-h= :: translate+ along x-axis - =M-
=, =M-l= :: translate- along x-axis - =M-
=, =M=k= :: translate- along z-axis - =M-
=, =M-j= :: translate+ along z-axis - =r= :: reset view