Difference between revisions of "Component: Lift (Misc Shapes)"

From Flowcode Help
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 16: Line 16:
  
 
==Component Source Code==
 
==Component Source Code==
 +
 +
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Lift.fcfx FC_Comp_Source_Lift.fcfx]
  
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Lift.fcfx FC_Comp_Source_Lift.fcfx]
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Lift.fcfx FC_Comp_Source_Lift.fcfx]
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
 +
 +
  
  
Line 46: Line 54:
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
 +
 +
  
  
Line 71: Line 85:
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
  
==Macro reference==
 
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetCameraPosition'''
 
|-
 
| colspan="2" | Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | View
 
|-
 
| colspan="2" | Range: 0-1 Where 0 = Inside and 1 = Outside&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ControlDoor'''
 
|-
 
| colspan="2" | Controls the lift door.  &nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
 
| width="90%" | State
 
|-
 
| colspan="2" | State to move to 0=Open 1=Closed&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CheckDoor'''
 
|-
 
| colspan="2" | Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
  
  
  
==Property reference==
 
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
+
==Macro reference==
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
 
| width="90%" | Viewpoint
 
|-
 
| colspan="2" | Some useful camera positions&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
 
| width="90%" | Door Movement Period
 
|-
 
| colspan="2" | Amount of time in milliseconds for the doors to open and close.&nbsp;
 
|}==Macro reference==
 
  
 +
===CheckDoor===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetCameraPosition'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CheckDoor'''
 
|-
 
|-
| colspan="2" | Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position.&nbsp;
+
| colspan="2" | Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving.&nbsp;
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
+
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | View
 
|-
 
| colspan="2" | Range: 0-1 Where 0 = Inside and 1 = Outside&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
 
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
  
  
 +
===ControlDoor===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 179: Line 130:
  
  
 +
===GetCameraPosition===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CheckDoor'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetCameraPosition'''
 +
|-
 +
| colspan="2" | Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position.&nbsp;
 
|-
 
|-
| colspan="2" | Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving.&nbsp;
 
 
|-
 
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | View
 
|-
 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
+
| colspan="2" | Range: 0-1 Where 0 = Inside and 1 = Outside&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  

Latest revision as of 13:11, 7 February 2023

Author Ben Rowland
Version 1.0
Category Misc Shapes


Lift component

Simple lift created using panel primitives with functioning doors. Includes camera controls to simplify simulations.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Lift.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Lift.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

CheckDoor

Fc9-comp-macro.png CheckDoor
Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving. 
Fc9-u8-icon.png - BYTE Return


ControlDoor

Fc9-comp-macro.png ControlDoor
Controls the lift door.  
Fc9-bool-icon.png - BOOL State
State to move to 0=Open 1=Closed 
Fc9-void-icon.png - VOID Return


GetCameraPosition

Fc9-comp-macro.png GetCameraPosition
Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position. 
Fc9-u8-icon.png - BYTE View
Range: 0-1 Where 0 = Inside and 1 = Outside 
Fc9-h32-icon.png - HANDLE Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Viewpoint
Some useful camera positions 
Fc9-type-21-icon.png Door Movement Period
Amount of time in milliseconds for the doors to open and close.