Eng:BeetleBlocks

BeetleBlocks is a graphical blocks-based programming environment for 3D design and fabrication.

It is made to use code to control a beetle that can place 3D shapes and extrude its path as a tube. Then it will make a 3D print. BeetleBlocks is made by Eric Rosenbaum and Duks Koschitz, with software development by Bernat Romagosa and Jens Moenig. It is based on Scratch and Snap.

Categories
BeetleBlocks has most of the same categories as Scratch, including My Blocks. In any of the categories, you can right click a block and hide it. If you wish to restore the block you must right click the background and select "show primitives".

Motion

 * Go home
 * move (number) Moves the specified number.
 * rotate z(dropdown) by (number)
 * go to x:(number)y:(number)z:(number)
 * set x(dropdown) to (number)
 * change absolute x(dropdown) by (number)
 * set z(dropdown) rotation to (number)
 * point to x:(number)y:(number)z:(number)
 * x(dropdown) position
 * z(dropdown) rotation
 * push position
 * pop position
 * set scale to (number)
 * change scale by (number)
 * scale

Control

 * Reset Resets all rendered graphics.
 * When Green Flag clicked Runs the code below it when clicked.
 * When space(dropdown) key pressed
 * When I receive (dropdown)
 * Broadcast (dropdown)
 * [Checkbox] message
 * Warp
 * Wait (number) secs Waits for a period of time.
 * Wait until
 * Forever Runs code inserted into it forever.
 * Repeat (number) Repeats code inserted into it a selected amount of times.
 * Repeat until Repeats code inserted into it until a specified thing happens.
 * If If something specified happens it will run the inserted code.
 * If else If something specified happens it will run the code inserted into the if area but if it does not happen it will run the code inserted into the else area.
 * Report [string]
 * Stop all(dropdown) Stops the specified dropdown.
 * Stop all but this script Stops the script specified in the dropdown
 * Run (input)
 * Launch (input)
 * Call (input)
 * Run (input) w/continuation
 * Call (input) w/continuation
 * Pause all Pauses rendering.

Shapes

 * Cube Dim. (number)
 * Cuboid l: (number) w: (number) h:(number)
 * Sphere Dia. (number)
 * Tube l:(number) outer: (number) inner: (number)
 * Text [string] H: (number) W: (number)
 * 2D text [string] size: (number)
 * Start drawing lines(dropdown) Starts drawing the specified dropdown option.
 * Stop drawing Stops drawing.
 * Start extruding curves(dropdown)
 * Stop extruding Stops extruding.
 * Set extrusion Dia. to (number)
 * Change extrusion Dia. by (number)

Colors

 * Set hue(dropdown) to (number) Sets selected option to selected number
 * Change hue(dropdown) by (number) Changes selected option by selected number
 * Color (dropdown)

Sensing

 * Request user input [text] Requests inputted text
 * [Checkbox] answer
 * [Checkbox] mouse x
 * [Checkbox] mouse y
 * 
 * reset timer
 * [Checkbox] timer
 * 
 * 
 * set turbo mode to Sets turbo mode to inputted boolean
 * (current date(dropdown))
 * (current date(dropdown))

Operators

 * (number) + (number)
 * (number) - (number)
 * (number) x (number)
 * (number) / (number)
 * (number) mod (number)
 * round (number)
 * sqrt(dropdown) of (number)
 * pick random (number) to (number)
 * (input) < (input)
 * (input) = (input)
 * (input > (input)
 * and
 * or
 * not
 * join (text)|(text)|(text)
 * split (text) by (dropdown)
 * letter (number) of (text)
 * length of (text)
 * unicode of (letter)
 * unicode (number) as a letter
 * is (input) a number(dropdown) ?
 * is (input) identical to (input) ?
 * JavaScript function ((input) ) {(input)}
 * is (input) identical to (input) ?
 * JavaScript function ((input) ) {(input)}

Variables

 * set (dropdown) to (input) Sets inputted variable to inputted text/number
 * change (dropdown) by 1(number) Changes inputted variable by inputted number
 * show variable (dropdown) Shows the inputted variable
 * hide variable (dropdown) Hides the inputted variable
 * script variables a(input)
 * list (input)
 * (input) in front of list
 * item 1(dropdown) of list
 * all but first of list
 * length of list
 * list contains thing(input)
 * add thing(input) to list Adds inputted text/number to the list
 * delete 1(dropdown) of list Deletes inputted item from the list
 * insert thing(input) at 1(dropdown) of list Inserts inputted text/number in the inputted area of the list
 * replace item 1(dropdown) of list with thing(input) Replaces inputted item of list with inputted item

Make a Variable
The make a variable button takes you to the variable creating dialogue. In this dialogue you can input the variable name and select if you want this variable to be available for all sprites or only for the one that you are currently creating the variable in.

Make a Block
The make a block section consists of only one block until you create more. To create more one must click on the Make a block button. This will open up a dialogue box which will give you a selection of customization options.

1. The first one gives you a selection of category. The color of the block varies according to the category that has been chosen.

2. In the second one you can select a name for your block, this will be written on the block.

3. For the third option you have the ability to select between three block types: Command, Reporter and Predicate.

4. The fourth final option is whether the block should be available/visible only for the sprite that the block is currently being created in or whether it should be available/visible for all sprites.