Skip to content

Preview SCAD models in real-time in Emacs

Notifications You must be signed in to change notification settings

joefbsjr/scad-preview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scad-preview.el

Preview SCAD models in real-time in Emacs

SCAD モデルを Emacs 上でプレビュー

Screenshot

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 :

<right>, l
rotate+ around z-axis
<left>, h
rotate- around z-axis
<up>, k
decrease distance (zoom in)
<down>, j
increase distance (zoom out)
C-<left>, C-h
rotate+ around y-axis
C-<right>, C-l
rotate- around y-axis
C-<up>, C-k
rotate+ around x-axis
C-<down>, C-j
rotate- around x-axis
M-<left>, M-h
translate+ along x-axis
M-<right>, M-l
translate- along x-axis
M-<up>, M=k
translate- along z-axis
M-<down>, M-j
translate+ along z-axis
r
reset view

About

Preview SCAD models in real-time in Emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%