Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Knowledge Base
  3. 3D Blocks
  4. Rectangle Tubes

Rectangle Tubes

Scheduled Pinned Locked Moved 3D Blocks
1 Posts 1 Posters 748 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CreatiCodeI Offline
    CreatiCodeI Offline
    CreatiCode
    wrote on last edited by admin
    #1

     

    Prerequisite

    • Adding Boxes

     

    Introduction

    A rectangle tube is a tube with 4 side faces, so it looks like a rectangle frame from the top:

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/ab483e40-a745-418a-903a-ac0590df2721.gif" width="470" style="border-radius: 5px; border: 1px solid #29622d;">

    The rectangle tube can be very handy in creating frames or walls. Although you can create a similar shape by composing 4 thin boxes together, it is much easier to create it using this one block:

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/8d258aca-51e8-46b9-891b-eaf1982b6093.png" width="1000" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">

    Let’s go through the parameters:

     

    Color Selection

    This input is fairly standard, so we will skip it here.

     

    Size in X and Y Directions and Height in Z Direction

    These 3 numbers work in the same way as the X/Y/Z sizes of a box.

     

    Cap Type

    Similar to tubes, you can control whether the top and bottom of the rectangle tube are covered up or open:

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/9669ce3d-0c1c-45fd-abf6-360df022b9cc.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">

    Note that even with both top and bottom caps, the inside of the rectangle tube is still empty.

     

    Sides

    You can use less than 4 sides for the rectangle tube as well. You can even show 0 sides, but choose to show the top or bottom cap.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/1176e790-115d-449a-9759-fe090b32374a.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">

     

    Name

    The last input is the name of the object. If it is left blank, a random ID will be assigned.

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode