Skip to content

tgFX Functional Specification Notes

aldenhart edited this page Feb 22, 2013 · 7 revisions

Connecting

Notes on establishing connection from the GUI to TinyG

  • Provide a clear indication if the GUI is connected or not. E.g. color the connection window RED if not connected, GREEN or BLUE if connected
  • Filter USB list in OSX to just the tty.xxxx devices (do not display the other, redundant devices)
  • Allow user to name the device - e.g. My Shapeoko 375, My Shapeoko 750, Zen 7x12. This wil becoem more important when profiles are implemented
  • Attempt to auto-connect to the last successfully connected device on restart

Graphics and Drawing

Colors, Fonts, Lines, Etc.

  • Colors for all elements should be usable settable via a colors panel configuration dialog - e.g. a pop-up or other temporary display. See Diptrace for a color example. Depends on what's available in the libraries.
  • All colors described in subsequent text are suggested defaults and are noted as ['color']
  • Use a neutral font with no serifs, e.g. ariel. Need to experiment with this.
  • Lines are specified in points, e.g. (1pt), (2pt), etc. See Graffle or Word for examples. 1pt is an average thin line, fractional points are very thin, integer points are thicker. Point specifications for reference only, and are approximate as they are ultimately set buy the capability of the drawing functions.
  • line styles are also specified as solid, fine-dash, coarse-dash, dotted, etc.

Drawing Panel

  • The drawing panel should have the following elements:
  • The drawing area [black]. No drawing should occur outside of the drawing area
  • Outer frame border [dark grey, 4pt] surrounds the drawing area
  • Table border rectangle [light grey, 2pt, solid]. This should always fit inside the drawing area (except for zooming, see Zooming).
  • Work area border rectangle [light yellow, 1pt, solid]. This marks the edges of the work area and is necessarily slightly smaller than the table dimension rectangle. In a homed system one corner of the work area will be the Origin (usually lower left)
  • Other graphic elements:
  • Origin marking - 'L' angle of thicker point size than the work area border, usually on the lower left.
  • Tool position

Initial Connection

  • On connecting to the machine determine the X and Y max dimensions and scale these

Resizing the drawing window

Zooming

Settings

Profiles

  • Allow the user to maintain multiple, named machine profiles