Conveyor point node

Conveyor point node is the space markup shape designed for material handling models. It is automatically created when you connect conveyors by their end points.

Conveyor point node is not present in the  Space Markup and  Material Handling Library palettes since users do not create conveyor point nodes explicitly. 

To create a conveyor point node
  1. Connect two conveyors together by dragging one conveyor's end point on another conveyor's end point. To get the successful connection, release the mouse button when the connection point is indicated with cyan.

  1. You will see conveyors connected together and a new element created in the connection point.   

Note that if you connect a conveyor to some place in the middle of other conveyor, not a conveyor point node but a turntable is created in the connection place.

If you need to place a transfer table or a turntable in the point where conveyors are connected together via a conveyor point node, delete the conveyor point node first and then place the required space markup shape there instead (check that all the conveyors are connected to the new shape successfully).

To delete a conveyor point node
  1. Click the conveyor point node to select it.
  2. Press Delete.  

Conveyor point node has fixed size that can not be changed. The conveyor point node uses the fill color of the incoming conveyor. 

Properties

General

Name – The name of this node. The name is used to identify and access the element from code.

Ignore – If selected, the node is excluded from the model.

Visible on upper level – If selected, the node is also visible on the upper level where this agent lives.

Lock – If selected, the node is locked. Locked shapes do not react to mouse clicks - it is impossible to select them in the graphical editor until you unlock them.

Visible – Here you specify whether the shape is visible on animation at model runtime, or not. Using the control, choose yes or no.

Position and size

X – X-coordinate of the node.

Y – Y-coordinate of the node.

Functions

You can dynamically modify shape properties at model runtime using the following API.
Position

Function

Description

double getX()

Returns the X coordinate of the node.

double getY()

Returns the Y coordinate of the node.

double getZ()

Returns the Z coordinate of the node.

Point getXYZ(Point out)

Returns the Point object with the coordinates of the node. The result is also written to the provided out object if not null.

Parameter: out - the Point object to write to, may be null.

void setXYZ
(double x, double y, double z)

Sets new coordinates for the node. 

Parameters:
x - the new value of the X coordinate
y - the new value of the Y coordinate
z - the new value of the Z coordinate


Visibility

Function

Description

boolean isVisible()

Returns true if the node is visible; returns false otherwise.

void setVisible(boolean v)

Sets the visibility of the node.

Parameter: v - visibility. If v is true - the node is set to be visible, if it is false - not visible.


Fill color

Function

Description

Color getFillColor()

Returns the fill color of the node, or null if the node has no fill color or has textured fill (in this case use getFillTexture() to get the node's texture).

Texture getFillTexture()

Returns the fill texture of the node or null if the node has no fill texture or has color fill (in this case use getFillColor() to get the node's fill color).

void setFillColor
(Paint fillColor)

Sets the fill color (or Texture) of the node.

Parameter: fillColor - the new fill color, if null, the node is not filled.


Network

Function

Description

ConveyorNetwork getNetwork()

Returns the conveyor network this markup element belongs to or null if this element is not a part of a network.

int getConnectionsCount()

Returns the number of conveyors connected to the node.

ConveyorPath getConnection(int index)

Returns the conveyor with the provided index from this node's connections list.

Parameter: index - the zero-based  index of required connection 

List<ConveyorPath> getConnections()

Returns the list of all conveyors connected to this node.

List<ConveyorPath> getIncomingPaths()

Returns the list of all incoming conveyors connected to this node.

List<ConveyorPath> getOutgoingPaths()

Returns the list of all outgoing conveyors connected to this node.



Related topics

 Space markup for material handling models

 Conveyor

 Material Handling Library

 API reference: ConveyorPointNode class