Tag Archives: ev3-g

Using Custom EV3-G MyBlock Icons Images

PDF24    Send article as PDF   

Introduction

In this tutorial, I will show you how to make custom MyBlock Icons, and MyBlock Parameter Icons. This is very useful because the MyBlock icons allow one to easily recognize in your programs. The tutorial is broken into two parts, MyBlock Icons, and Parameter Icons. You can only use this tutorial with the EV3-G software. The programs only display properly when you install your custom icons in the appropriate directory on your computer.

Before we begin, make a copy of the following directory: “..\LEGO MINDSTORMS Edu EV3\Resources\MyBlocks\images.

Parameter Icons

First you are going to open up a picture editing software so you can create an icon. When  creating the icon, keep in mind it needs to be 22×22 pixels. You can use pictures from the MyBlocks/images directory, or you can make you own icon from scratch. The icons need to be export as a .png image and save it in the MyBlock image directory. When naming the icon file, it has to be in this format: the word  “Identification”, Underscore, a 3 digit number, Underscore, Icon Name (no spaces, upper camel cased and underscores OK) , and “.png”. Example: Identification_100_TestBlock.png.The 3 digit number has to be an unused number in the range of, 100-199. Before the new icon shows up, you need to restart your EV3 Software, and then reopen it and your icon should be there!

MyBlock Icons

Open the picture editing software and make another icon, but this time it must measure 34×34 pixels. When done making the icon, the steps are a bit different than the parameter icons. Export the image again as a .png, but the naming is as follows; “PolyGroup”, Underscore, “3 digit number“, underscore, “icon name (No spaces, upper camel case, and NO underscores)” ,underscore, ”Diagram”, and ending with “.png”.   Example:  PolyGroup_019_TestBlock_Diagram.png.  The 3 digit number has to be an unused number ranging between, 002-019.

Next shrink the icon in the editing software to 25×25 pixels, and export it again with the same name but replace the word diagram with “Pallet”. Next make one more the same size but add a highlite color for a mouse over effect. Add an underscore after the pallet and add “MouseOver” when exporting. Finially, restart your EV3 software and the new MyBlock Icons should appear.

  • The Diagram icon is used when you view the icon in the MyBlock Creation Menu.
  • The Pallet icon is used when you pick a MyBlock from the MyBlock pallet.
  • The MouseOver icon is used when you scroll over the block in the MyBlock Pallet.

Guide to using the PixyCAM Camera’s EV3-G Blocks

www.pdf24.org    Send article as PDF   
In this article, I attempt to describe the LEGO PixyCAM block, which is used in conjunction with the LEGO Mindstorms EV3 Software. Check out the “Getting Started with the LEGO Mindstorms & the PixyCAM” Article for information on how to install the PixyCAM modules (Blocks) into Mindstorms EV3-G Software.



Do NOT follow this link or you will be banned from the site!
error: Content is protected !!