Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zk-phi/scad-preview

Preview SCAD models in real-time in Emacs
https://github.com/zk-phi/scad-preview

emacs

Last synced: 3 days ago
JSON representation

Preview SCAD models in real-time in Emacs

Awesome Lists containing this project

README

        

* 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