User Tools

Site Tools


Sidebar

Home



G-Code


About

  Order of execution
  Parameters

G-Codes

M-Codes

Other Codes

O-Words

Comments

  clear
  print
  debug
  status
  msg
  msgdlg
  clipboard
  mdi

  log
  logcreate
  logopen
  logclose

  txt

  pointsclear
  pointssave
  pointsload
  pointsshapes
  pointpos
  point

  expr

  py
  pythr

  name
  desc

  dlgname
  dlg
  dlgshow

  arrclr
  array
  arrchr
  crc16
  crc32

  sw_reset
  sw_print

  block_begin
  block_end

  color

Functions

Operators

Macros

gcode:comments:comment-color

color

Changes 3D display toolpath color.

Syntax

(color)
(color=rgb)

Parameters

rgb Number representing color RGB value. If argument is omitted then color reverts back to default. (optional)
Number can use hex format which might be easier to use. For example:
 (color=0xFF0000) - red
 (color=0x00FF00) - green
 (color=0x0000FF) - blue

Examples

G17 G21 G90 G91.1 G94
G00 X0 Y0
(color=0xFF0000)
G01 X30 Y30
G03 X0 Y30 I-15
G03 X-30 Y30 I-15
G01 X0 Y0
(color)
gcode/comments/comment-color.txt · Last modified: 2023/02/20 10:29 by 127.0.0.1

Page Tools