1.0.2 • Published 9 years ago

craft-tube v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

craft-tube

Tube primitive for CraftML

Usage

<craft>
	<craft name="tube" module="craft-tube"/>
	<tube></tube>
</craft>

Parameters

  • baseRadius: adjusts base radius of tube
  • topRadius: adjusts top radius of tube
  • height: adjusts height of tube
  • thickness: adjusts thickness of tube sides
  • sides: adjusts number of tube sides

Example

<craft>
    <craft name="tube" module="craft-tube"/>
    <row spacing="1">
        <tube baseRadius="15" topRadius="10" height="20"></tube>
        <tube baseRadius="10" topRadius="15" height="30" sides="4"></tube>
        <tube></tube>
    </row>
</craft>

example