Skip to navigation


3D objects: objectColour

Name: objectColour [Show more] Type: Variable Category: 3D objects Summary: Data for the colour of each object part Deep dive: Object definitions
Context: See this variable in context in the source code References: This variable is used as follows: * DrawObjectEdges uses objectColour

Entries contain colour numbers and flags. n + 16 draws an outside edge in the fill colour rather than the edge colour. n + 64 indicates that this is the last part in this object. n + 128 indicates that this is a four-edge object part.
.objectColour EQUB 10 \ Object 0, Part 0: Edge: 2 (white), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 10 \ Object 0, Part 1: Edge: 2 (white), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 \ Object 0, Part 2: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 \ Object 0, Part 3: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 5 + 64 \ Object 0, Part 4: Edge: 1 (red), Fill: 1 (red) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 \ Object 1, Part 0: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 \ Object 1, Part 1: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 9 \ Object 1, Part 2: Edge: 1 (red), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 10 + 64 \ Object 1, Part 3: Edge: 2 (white), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 + 128 \ Object 2, Part 0: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 1 (yes) EQUB 8 \ Extra edges: Fill: 1 (red) EQUB 8 \ Object 2, Part 2: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 10 \ Object 2, Part 3: Edge: 2 (white), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 10 + 64 \ Object 2, Part 4: Edge: 2 (white), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 2 \ Object 3, Part 0: Edge: 2 (white), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 0 \ Object 3, Part 1: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 2 \ Object 3, Part 2: Edge: 2 (white), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 10 + 64 \ Object 3, Part 3: Edge: 2 (white), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 \ Object 4, Part 0: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 5 \ Object 4, Part 1: Edge: 1 (red), Fill: 1 (red) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 + 128 \ Object 4, Part 2: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 1 (yes) EQUB 8 \ Extra edges: Fill: 1 (red) EQUB 8 \ Object 4, Part 4: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 2 \ Object 4, Part 5: Edge: 2 (white), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 2 + 64 \ Object 4, Part 6: Edge: 2 (white), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 + 64 \ Object 5, Part 0: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 2 + 16 + 64 \ Object 6, Part 0: Edge: 2 (white), Fill: 0 (black) \ Outside: 1 (yes), Four-edge: 0 (no) EQUB 8 \ Object 7, Part 0: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 1 + 16 \ Object 7, Part 1: Edge: 1 (red), Fill: 0 (black) \ Outside: 1 (yes), Four-edge: 0 (no) EQUB 1 + 16 + 64 \ Object 7, Part 2: Edge: 1 (red), Fill: 0 (black) \ Outside: 1 (yes), Four-edge: 0 (no) EQUB 0 \ Object 8, Part 0: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 8 + 64 \ Object 8, Part 1: Edge: 0 (black), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 10 \ Object 9, Part 0: Edge: 2 (white), Fill: 2 (white) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 2 + 16 + 64 \ Object 9, Part 1: Edge: 2 (white), Fill: 0 (black) \ Outside: 1 (yes), Four-edge: 0 (no) EQUB 0 \ Object 10, Part 0: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 0 \ Object 10, Part 1: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 0 + 64 \ Object 10, Part 2: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 0 \ Object 11, Part 0: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 0 + 64 \ Object 11, Part 1: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 0 \ Object 12, Part 0: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no) EQUB 0 + 64 \ Object 12, Part 1: Edge: 0 (black), Fill: 0 (black) \ Outside: 0 (no), Four-edge: 0 (no)