LinkageDesigner Paclet SymbolSee Also »

LinkColorList

LinkColorList
is an option of LoadAssembly that specifies a list of colors assigned to the loaded CAD geometries
  • Popular CAD files like "stl" does not contains rendering information such as surface color but the geometry of the parts. LinkColorList allows to assign at loading time new surface colors to the CAD geometries in order enhance the rendering of the linkage.
  • LinkColorList can be specified as list of colors or indexed ColorData function. Both cases the colors are assigned to the links based on their list index of the file name list.
Load the LinkageDesigner package
In[1]:=
Click for copyable input
Select a list of file names storing the CAD files of the parts
In[2]:=
Click for copyable input
Out[2]=
LinkColorList can be specified either a list of colors or an indexed ColorData function. In the first case of list the color values are assigned periodically to the links. In the latter case the colors are assigned using the file name indexes.
Load a valve assembly from files files using list of RGBColors as link colors
In[3]:=
Click for copyable input
Out[3]=
Display the valve assembly
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Load a valve assembly from files files using an indexed ColorData function
In[6]:=
Click for copyable input
Out[6]=
Display the valve assembly
In[7]:=
Click for copyable input
In[8]:=
Click for copyable input