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. Carving Objects

Carving Objects

Scheduled Pinned Locked Moved 3D Blocks
1 Posts 1 Posters 958 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
    • Names and Sprite Objects

     

    Introduction

    You can create interesting shapes by carving one object with another object. For example, this object below is created by carving a box with a cylinder:

    ccimg||350||,

    Note that carving can be a very time-consuming operation. The more details in these 2 objects, the longer it takes to run the carving operation. For example, a sphere has much more details (vertices, edges and faces) compared to a box, so it takes longer to carve a sphere.

     

    The “Carve Object” Block

    To make a carving, you first need to have 2 objects with names. They also have to be overlapping, otherwise nothing will change after the carving operation. Then you just need to run this block:

     
    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/374bdcfb-02cf-4150-bc17-2b850a03eefb.png" width="300" style="">

    When you run this block, the overlapping part of the first object (the target object to be carved) will be removed from it, and the second object (the carving object) will not be changed.

     

    Example 1 - Carve Then Remove

    In a basic use case, you carve a hole in an object, then you need to remove the carving object itself to reveal the hole. As shown, after you run the “carve” block, it seems nothing has happened. However, after removing the green box, we see the hole in the yellow box.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/ac925db3-a1fd-48f7-892d-6ca42aa2210a.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">

     

    Example 2 - Reusing the Carving Object

    Sometimes we do not need to remove the carving object right after making a carve. Instead, we can reuse it to do some more carving. This makes sure the hole or cave we get will have the same size. In this example, after making the first carve, we rotate the carving object “c” to make another carve.

    ccimg3||600||,

    ccimg||500||,

    Try it yourself:

    https://play.creaticode.com/projects/6a727fbf8984b36634ea7914

    1 Reply Last reply
    0
    • CreatiCodeI CreatiCode pinned this topic on

    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