Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openscad/emacs-scad-mode
OpenSCAD Emacs mode
https://github.com/openscad/emacs-scad-mode
emacs openscad
Last synced: 3 months ago
JSON representation
OpenSCAD Emacs mode
- Host: GitHub
- URL: https://github.com/openscad/emacs-scad-mode
- Owner: openscad
- License: gpl-3.0
- Created: 2022-11-10T21:19:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T21:20:15.000Z (7 months ago)
- Last Synced: 2024-07-09T02:33:47.659Z (7 months ago)
- Topics: emacs, openscad
- Language: Emacs Lisp
- Homepage: https://github.com/openscad/emacs-scad-mode
- Size: 138 KB
- Stars: 27
- Watchers: 7
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: scad-mode - Emacs mode to edit OpenSCAD files
#+language: en
#+export_file_name: scad-mode.texi
#+texinfo_dir_category: Emacs misc features
#+texinfo_dir_title: Scad-Mode: (scad-mode).
#+texinfo_dir_desc: Edit OpenSCAD files#+html:
![]()
#+html:![]()
#+html:![]()
#+html:![]()
#+html:* Features
- Syntax highlighting
- Basic completion function (press =M-TAB=)
- Preview rendered model in separate window (press =C-c C-c=)
- Open buffer in OpenSCAD (press =C-c C-o=)
- Export buffer with OpenSCAD (press =C-c C-e=)
- Flymake support (enable =flymake-mode= in =scad-mode= buffers)
- Org Babel support (=scad= source blocks)* Org Babel support
#+begin_src scad :file example.png :colorscheme Tomorrow :size 200,200
for (y=[0:2:20]) {
translate([0,0,y+1])
cube([30-2*y,30-2*y,2], true);
}
#+end_src* Installation
Install via =M-x package-install RET scad-mode RET= from NonGNU ELPA or MELPA.
After the installation =*.scad= files will be opened with =scad-mode=.* Related packages
- [[https://github.com/lenbok/scad-dbus][scad-dbus]]: Interact with a running OpenSCAD instance from Emacs via DBUS
- =lsp-mode= or =eglot=: The =openscad-lsp= server can be used with =scad-mode=