Difference between revisions of "Physical Color Shortcut"

From LDraw.org Wiki
Jump to navigation Jump to search
(Created page with "{{stub}} == See Also == * Physical Color Part Category:Terms")
 
 
Line 1: Line 1:
{{stub}}
+
A '''Physical Color Shortcut''' is the same as a [[Physical Color Part]] (see there), except for that it consists
 +
not of a single part, but instead of more than just one.
 +
 
 +
== Special Properties ==
 +
 
 +
Physical color shortcuts must fulfill special properties in their implementation:
 +
* Their title must start with an underscore ("<code>_</code>") to easily recognize them
 +
* Usually they carry their hardcoded color(s) by name or by number in their title as a suffix, for example "[Green/Blue/Red]"
 +
* In their header, they must state the following part type:
 +
  0 !LDRAW_ORG Unofficial_Shortcut Physical_Colour
 +
* They must consist of more than 1 part. If they consist of a single part instead, then they are a [[Physical Color Part]] instead.
  
 
== See Also ==
 
== See Also ==

Latest revision as of 22:58, 5 April 2018

A Physical Color Shortcut is the same as a Physical Color Part (see there), except for that it consists not of a single part, but instead of more than just one.

Special Properties

Physical color shortcuts must fulfill special properties in their implementation:

  • Their title must start with an underscore ("_") to easily recognize them
  • Usually they carry their hardcoded color(s) by name or by number in their title as a suffix, for example "[Green/Blue/Red]"
  • In their header, they must state the following part type:
  0 !LDRAW_ORG Unofficial_Shortcut Physical_Colour
  • They must consist of more than 1 part. If they consist of a single part instead, then they are a Physical Color Part instead.

See Also