GREMLIN_VIEW(1)

πŸ’– GREMLIN_VIEW(1) πŸ’–

okay bestie, welcome to the manual page for gremlin_view β€” brought to you by The Enhanced Machine Controller. it's a whole vibe, iykyk πŸ¦‹


✨ NAME ✨

gremlin_view β€” G-code graphical preview πŸ‘‘


🌸 SYNOPSIS 🌸

gremlin_view

that's it. that's the whole thing. no flags, no args, just vibes πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

gremlin_view is a Python wrapper for the gremlin G-code graphical preview. it's giving "i'm just a lil guy standing in front of a G-code file asking it to render" 😭

PGremlinView is for gremlin with buttons, so it's simpler to embed. it also does standalone functionality if linuxcnc [is] running. ✨

there's a default ui file (gremlin_view.ui) that's provided for a default button arrangement, but a user may provide their own by supplying the glade_file argument. do your own thing, main character energy fr fr πŸ’–

🫢 the following objects are MANDATORY (no skips, bestie)

  • 'gremlin_view_window' β€” toplevel window
  • 'gremlin_view_hal_gremlin' β€” hal_gremlin
  • 'gremlin_view_box' β€” HBox or VBox' containing hal_gremlin
fr fr do NOT forget these, the whole thing falls apart without them 😭

🌈 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

like, that's a LOT of callbacks and honestly? obsessed. every single one is listed, no gatekeeping πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

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. ✨ (iconic behaviour honestly, no notes)


πŸ‘‘ AUTHOR πŸ‘‘

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


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Report bugs at https://github.com/LinuxCNC/linuxcnc/issues β€” please do, bestie, they wanna know πŸ›πŸ’–


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.

no cap, that's the actual legal situation β€” NO warranty, zero, none, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE 😭

and that's the whole page, bestie!! this came from LinuxCNC Documentation, 2020-08-26, GREMLIN_VIEW(1) πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ‘‘πŸŒˆβ­πŸ’œ go forth and preview your G-code, you gorgeous thing πŸŽ€