NonGNU ELPA - scad-mode

scad-mode Atom Feed

Description
A major mode for editing OpenSCAD code
Latest
scad-mode-94.0.tar (.sig), 2024-May-23, 30.0 KiB
Maintainer
Len Trigg <lenbok@gmail.com>, Daniel Mendler <mail@daniel-mendler.de>
Website
https://github.com/openscad/emacs-scad-mode
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

GNU Emacs NonGNU ELPA NonGNU-devel ELPA MELPA MELPA Stable

1. 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)

2. Org Babel support

for (y=[0:2:20]) {
    translate([0,0,y+1])
	cube([30-2*y,30-2*y,2], true);
}

3. 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.

4. Related packages

  • 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

Old versions

scad-mode-93.3.tar.lz2024-Mar-316.71 KiB
scad-mode-93.2.tar.lz2022-Dec-286.81 KiB
scad-mode-93.1.tar.lz2022-Nov-126.64 KiB