Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "Hinges"

From Starbase wiki
Jump to navigation Jump to search
m (Text replacement - "|availability=Luxury Items" to "")
m
(26 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Otherlang2
{{Otherlang2
|de=Hinges:de
|fr=Hinges/fr
|zh-cn=铰链
|ru=Шарниры
|ru=Шарниры
|ua=Петлі
}}
|jp=ヒンジ
== Summary ==
}}{{SB Infobox Begin
<br>
  |setWidth=16vw
<br>
|{{SB Infobox Header
[[File:Starbase_devices_hinges.png|400px]]
  |image=[[Image:Starbase_devices_hinges.png]]
<br>
  |factionLogo=
<br>
  |caption=Two of the many types of hinges available
Hinges are devices used for creating turning, sliding and opening mechanisms such as doors, hatches and sliding doors.
  |name=
  |border=none
}}
 
|{{SB Infobox Device General Information
  |type=Utility machinery
  |function=Joint motor
 
}}
}}<section begin=summary/>Hinges are devices used for creating turning, sliding and opening mechanisms such as doors, hatches and sliding doors.<section end=summary/>


== Basic information ==
== Basic information ==


Hinges are most frequently interacted with via a [[Buttons|button]] or [[YOLOL]] script, but can also be interacted with directly via the [[Universal tool|universal tool]]. They are not especially strong, and cannot be used to mount [[Thrusters|thrusters]] to a ship; nor do any of them have provisions to transfer power or propellant beyond the joint itself.
Hinges are commonly interacted with by controlling it via a [[Buttons|button]] or [[YOLOL|YOLOL]] script.<br>
A hinge's DoorOpenState-field can be connected to a button.<br>
The button can be then used to remotely open or close the hinge.


<!-- Hidden. These hinges may be added in the future, but currently are not.
== Device fields ==
There are currently 16 different hinges and they all share the same operation being either a fold/unfold or a sliding hinge. The majority of the variety is taken up by fold/unfolding hinges. A major issue with hinges when making ships is that most of them do not pass on electricity or signals. Hinges are also said to be weak to pressure, so one shouldn't mount them to thrusters. -->


== Gallery ==
To learn more about how to use fields, consult these wiki pages:
 
* [[Universal tool|Universal Tool]]
{{SB Mini Infobox Wrap
* [[Data networks|Data networks]]
|{{SB Mini Infobox Begin
* [[YOLOL|YOLOL]]
  |{{SB Infobox Header
|image=[[Image:Hinge (c-profile).png]]
|name=Hinge (C-profile)
  }}
 
  |{{SB Infobox Device General Information
|size=48×144×36 cm
|mass=1,419 kg
|volume=142.7 kv
|corrosionResistance=400
  }}
 
  |{{SB Infobox Device IO
|electricIn=5 e/s
|sockets=2
|modInterfaces=2
  }}
 
  |{{SB Infobox Device Construction
|bastium=100%
  }}
}}
 
|{{SB Mini Infobox Begin
  |{{SB Infobox Header
|image=[[Image:Hinge (l-profile).png]]
|name=Hinge (L-profile)
  }}
 
  |{{SB Infobox Device General Information
|size=24×144×36 cm
|mass=1,148 kg
|volume=115.3 kv
|corrosionResistance=400
  }}
 
  |{{SB Infobox Device IO
|electricIn=5 e/s
|sockets=2
|modInterfaces=2
  }}
 
  |{{SB Infobox Device Construction
|bastium=100%
  }}
}}
 
|{{SB Mini Infobox Begin
  |{{SB Infobox Header
|image=[[Image:Hinge A (48x48).png]]
|name=Hinge (A-1)
  }}
 
  |{{SB Infobox Device General Information
|size=48×48×12 cm
|mass=331 kg
|volume=33.3 kv
|corrosionResistance=425
  }}
 
  |{{SB Infobox Device IO
|electricIn=5 e/s
|sockets=1
|modInterfaces=1
  }}
 
  |{{SB Infobox Device Construction
|ajatite=10%
|bastium=75%
|tengium=15%
  }}
}}
|{{SB Mini Infobox Begin
  |{{SB Infobox Header
|image=[[Image:Hinge A (48x144).png]]
|name=Hinge (A-2)
  }}
 
  |{{SB Infobox Device General Information
|size=48×144×12 cm
|mass=940 kg
|volume=94.4 kv
|corrosionResistance=435
  }}
 
  |{{SB Infobox Device IO
|electricIn=5 e/s
|sockets=2
|modInterfaces=2
  }}
 
  |{{SB Infobox Device Construction
|ajatite=15%
|bastium=65%
|tengium=20%
  }}
}}
|{{SB Mini Infobox Begin
  |{{SB Infobox Header
|image=[[Image:Hinge B (48x48).png]]
|name=Hinge (B-1)
  }}
 
  |{{SB Infobox Device General Information
|size=48×48×12 cm
|mass=331 kg
|volume=33.3 kv
|corrosionResistance=425
  }}
 
  |{{SB Infobox Device IO
|electricIn=5 e/s
|sockets=1
|modInterfaces=1
  }}
 
  |{{SB Infobox Device Construction
|ajatite=10%
|bastium=75%
|tengium=15%
  }}
}}
|{{SB Mini Infobox Begin
  |{{SB Infobox Header
|image=[[Image:Hinge B (48x144).png]]
|name=Hinge (B-2)
  }}
 
  |{{SB Infobox Device General Information
|size=48×144×12 cm
|mass=940 kg
|volume=94.4 kv
|corrosionResistance=435
  }}
 
  |{{SB Infobox Device IO
|electricIn=5 e/s
|sockets=2
|modInterfaces=2
  }}
 
  |{{SB Infobox Device Construction
|ajatite=15%
|bastium=65%
|tengium=20%
  }}
}}
}}
 
== Device fields ==


{|class="wikitable"
{|class="wikitable"
Line 191: Line 29:
|-
|-
! '''DoorOpenState'''
! '''DoorOpenState'''
| Input field for requested door state. 0 is closed, 1 is fully open.
| Setting values to this field will move the joint target as defined by the properties and other fields of the device.
| [0,1]
|  
|-
|-
! '''DoorCurrentState'''
! '''DoorCurrentState'''
| Reports the current position of the door, on the same scale as ''DoorOpenState''
| This field will get updated to the latest state that the joint target is in, as defined by the  properties and other fields of the device. The value answer basically answers the question 'What input would the device need to move to it's current position'
| [0,1]
|  
|-
|-
! '''EndAngle / EndPosition'''
! '''EndRotation / EndPosition'''
| The rotation/position the joint should be at when ''DoorOpenState'' is 1. Is measured in percents(%) relative to the maximum possible open state for prismatic joints, and degrees in hinge joints.
| How "open" the joint will be is relative to '''RelativeDestinationRotation''' when it receives input identical or above '''FullOpenInput'''. Is measured in percents(%) for prismatic joints, and degrees in hinge joints.
|  
|  
|-
|-
!'''StartAngle / StartPosition'''
!'''StartRotation / StartPosition'''
| The rotation/position the joint should be at when ''DoorOpenState'' is 0. Is measured in percents(%) relative to the maximum possible open state for prismatic joints, and degrees in hinge joints.
| How "closed" the joint will be is relative to '''RelativeOriginalRotation''' when it receives input identical or below '''FullCloseInput'''. Is measured in percents(%) for prismatic joints, and degrees in hinge joints
|  
|  
|-
|-
! '''TargetVelocity'''
! '''TargetVelocity'''
| The maximum velocity the joint will reach. Different joint devices have different velocity limits, and might not be able to reach the configured velocity.
| The maximum velocity the joint will reach. This cannot exceed the velocity property defined in the type, and can't be negative.
|  
|  
|}
|}


To learn more about how to use fields, consult these wiki pages:
* [[Universal tool|Universal Tool]]
* [[Data networks|Data networks]]
* [[YOLOL|YOLOL]]


<!-- joint motors -->
[[Category:Devices and machines|Hinges]]
[[Category:Devices and machines|Hinges]]

Revision as of 02:40, 18 August 2019

Русский

Summary



Starbase devices hinges.png

Hinges are devices used for creating turning, sliding and opening mechanisms such as doors, hatches and sliding doors.

Basic information

Hinges are commonly interacted with by controlling it via a button or YOLOL script.
A hinge's DoorOpenState-field can be connected to a button.
The button can be then used to remotely open or close the hinge.

Device fields

To learn more about how to use fields, consult these wiki pages:

YOLOL field Description Range
DoorOpenState Setting values to this field will move the joint target as defined by the properties and other fields of the device.
DoorCurrentState This field will get updated to the latest state that the joint target is in, as defined by the properties and other fields of the device. The value answer basically answers the question 'What input would the device need to move to it's current position'
EndRotation / EndPosition How "open" the joint will be is relative to RelativeDestinationRotation when it receives input identical or above FullOpenInput. Is measured in percents(%) for prismatic joints, and degrees in hinge joints.
StartRotation / StartPosition How "closed" the joint will be is relative to RelativeOriginalRotation when it receives input identical or below FullCloseInput. Is measured in percents(%) for prismatic joints, and degrees in hinge joints
TargetVelocity The maximum velocity the joint will reach. This cannot exceed the velocity property defined in the type, and can't be negative.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.