About the LEGO® programming environment

The Virtual Robotics Toolkit is designed to work with both NXT and EV3 programming environments. If you are new to MINDSTORMS® programming, the language itself is quite different from traditional programming syntax. Unlike other languages, MINDSTORMS® robots are programmed by arranging sequences of modules to create new behaviors.

                                                                             Example EV3 code

At the time of this writing, LEGO® can be downloaded from the official MINDSTORMS® community website, which can be freely supplied with both programming environments, both the old second-generation NXT and the new EV3 brick.
Learning to use the MINDSTORMS® programming environment is beyond the scope of this manual, but there are a number of important resources on the web to get you started. The programming environment itself includes a set of tutorials in the software. Here are some external sources that may be a little interesting for beginners.

NXT Resources: NXT Programs.com, (http://www.nxtprograms.com) has tons of great projects and programming teachers for both the retail and educational versions of the old second-generation robot. I learned to program my first MINDSTORMS® robot by doing most of the same projects.

EV3 Resources: STEMcentric EV3 tutorials (http://www.stemcentric.com/ev3-tutorial/) are a collection of screencasts that summarize the basics of programming for LEGO®'s third-generation robot.
Blogs and social media: The NXT step (http://www.thenxtstep.com) is the most important blog about MINDSTORMS® robots. FLL Casts.com (http://www.fllcasts.com) is a subscription site, but it is well worth the money with excellent webinars packed with useful tips for FIRST® LEGO® League teams.

About modeling using LEGO® Digital Designer ™

LEGO® Digital Designer ™ (or LDD, as is more commonly known) is a freely available CAD tool. If you are interested in designing your own digital robots, you will want to seriously consider meeting this design tool.

What makes modeling so easy with LDD is that the software closely reflects the real life process by emphasizing the existing connection points (using physical bricks) between model items. Once your model is created, the LDD can produce both a material list and a set of building instructions that can be used to build
Physical robot.

You can download LEGO Digital Designer from the following link (free of charge):

                                                                     Example 3D model created using LEGO Digital Designer


In addition to LEGO Digital Designer, you can also consider installing the LDraw "All-in-One" component library. One of the many file formats supported by LDraw is the Lego Digital designer and will probably create and share 3D LEGO models among the CAD programs that are the most popular file format.The Virtual Robotics Toolkit includes an import wizard that can be used to simulate LDraw files. 

If this library is not required to be installed, the installation will provide much more options for the types of bricks that can be brought into the simulator.The LDraw library can be downloaded (free of charge) and can be downloaded from the official website listed on the link below:                                                                                             Http://Www.ldraw.org/Help/Getting-Started.html

Once you've installed the 'All-in-One' library, you'll want to update your LEGO Digital Designer so you can export your models to SIM. This can be achieved by clicking on the Help menu, selecting Patch Lego Digital Designer.

                                                                                                 Applying the LEGO Digital Designer patch