Name | Modified | Size | Downloads / Week |
---|---|---|---|
Butterfly | 2014-02-03 | ||
ReadMe.txt | 2014-02-04 | 2.6 kB | |
vectorize_dxf_comment_drop.py | 2014-02-03 | 1.3 kB | |
ptexport.lsp | 2014-02-03 | 2.5 kB | |
PancakeBot_Instructions.zip | 2014-02-02 | 25.2 MB | |
Totals: 5 Items | 25.2 MB | 0 |
Hi and thanks for checking out the PancakeBot 1.0 LEGO Version. On Sourceforge, we have uploaded several files for you to help you draw pancakes. ***************************** How do you make a readible file? The LEGO brick reads a text file that consists of groups of 5 rows that contain values that the motors and display screen reads. Example: 360 240 720 0 - -240 -180 560 0 - The above example does the following. Rotate Motor A 360 Degrees Rotate Motor B 240 Degrees Rotate Motor C 720 Degrees Display "0" on the LEGO Brick Display "-" on the LEGO Brick Rotate Motor A -240 Degrees Rotate Motor B -180 Degrees Rotate Motor C 560 Degrees Display "0" on the LEGO Brick Display "-" on the LEGO Brick All values are read and then executed at the same time. If you are using the LEGO NXT version, the block stops executing once the data runs out. If you are using the LEGO EV3 version, you need to put in a terminator at the end to break out of the loop. To terminate the loop with the EV3, use "999" as the last value in the file. EXample: 360 240 720 0 - -240 -180 560 0 - 0 0 0 0 999 MAC Users! If you are creating the text file with a mac, you need to use a program such as TextWrangler to create your .rtf file. Using the standard TextEdit seems to add unnecessary information to the file which makes it unreadable by the EV3 brick. You need save the file as .rtf using Classic Mac (CR) line breaks and UTF-8 encoding. ************************************* FILES for Download Here's a description of the files for download. 1. PancakeBot_Instructions.zip: A zip file that includes all the instructions for building the LEGO version of PancakeBot. It also includes instructions for sample code for using the NXT LEGO Brick. 2. ptexport.lsp-A lisp routine that runs in AutoCAD. It allows you to select a polyline and convert the polyline information to coordinates that can be then translated to rotational values for PancakeBot to read. 3. vectorize_dxf_comment_drop.py-A python script for converting coordinates into values that the NXT or EV3 brick reads. 4. Butterfly Folder 4a. Butterfly.ev3-A program that runs on the LEGO EV3 that reads the Butterfly.rtf files and draws a butterfly with PancakeBot. 4b. Butterfly_RAW:Coordinates.txt-The RAW coordinates extracted from the polyline from AutoCAD. 4c. ButterFly.dwg: The AutoCAD file with a butterfly drawn with a polyline. 4d. Butterfly.rtf: This file is created in a notepad program, and is not a rich text file. It contains the vectors that the LEGO EV3 Brick reads.