Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zk-phi/scad-preview
- Owner: zk-phi
- Created: 2015-06-07T12:26:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-22T03:31:54.000Z (over 2 years ago)
- Last Synced: 2024-08-05T06:06:01.843Z (3 months ago)
- Topics: emacs
- Language: Emacs Lisp
- Homepage:
- Size: 81.1 KB
- Stars: 43
- Watchers: 5
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: Readme.org
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