---
name: "gremlin_view"
section: "1"
platform: "linux"
package: "linuxcnc-uspace"
version: "1:2.9.4-2+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gremlin_view"
---

# gremlin\_view(1)

G-code graphical preview

## NAME

gremlin\_view - G-code graphical preview

## SYNOPSIS

**gremlin\_view**

## DESCRIPTION

**gremlin\_view** is a Python wrapper for the gremlin G-code graphical preview

PGremlinView for gremlin with buttons for simpler embedding Standalone functionality if linuxcnc running A default ui file (gremlin\_view.ui) is provided for a default button arrangement but a user may provide their own by supplying the glade\_file argument. The following objects are mandatory:\
   'gremlin\_view\_window'      toplevel window\
   'gremlin\_view\_hal\_gremlin' hal\_gremlin\
   'gremlin\_view\_box'         HBox or VBox' containing hal\_gremlin Optional radiobutton group names:\
   'select\_p\_view'\
   'select\_x\_view'\
   'select\_y\_view'\
   'select\_z\_view'\
   'select\_z2\_view' Optional checkbuttons names:\
   'enable\_dro'\
   'show\_machine\_speed\
   'show\_distance\_to\_go'\
   'show\_limits'\
   'show\_extents'\
   'show\_tool'\
   'show\_metric' Callbacks are provided for the following button actions\
   on\_clear\_live\_plotter\_clicked\
   on\_enable\_dro\_clicked\
   on\_zoomin\_pressed\
   on\_zoomout\_pressed\
   on\_pan\_x\_minus\_pressed\
   on\_pan\_x\_plus\_pressed\
   on\_pan\_y\_minus\_pressed\
   on\_pan\_y\_plus\_pressed\
   on\_show\_tool\_clicked\
   on\_show\_metric\_clicked\
   on\_show\_extents\_clicked\
   on\_select\_p\_view\_clicked\
   on\_select\_x\_view\_clicked\
   on\_select\_y\_view\_clicked\
   on\_select\_z\_view\_clicked\
   on\_select\_z2\_view\_clicked\
   on\_show\_distance\_to\_go\_clicked\
   on\_show\_machine\_speed\_clicked\
   on\_show\_limits\_clicked

## SEE ALSO

**http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Gremlin** **LinuxCNC(1)**

Much more information about LinuxCNC and HAL is available in the LinuxCNC and HAL User Manuals, found at /usr/share/doc/LinuxCNC/.

## BUGS

None known at this time.

## AUTHOR

This man page written by andypugh, as part of the LinuxCNC project.

## REPORTING BUGS

Report bugs at https://github.com/LinuxCNC/linuxcnc/issues

## COPYRIGHT

Copyright © 2020 andypugh.\
 This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
