ADM Activity 1.1.6

Shapes

Program geometric paths using coordinates and repeated motion logic.

Your lesson guide

Objective

Work toward the lesson goal: Shapes. Use the directions and success criteria in the activity below.

Materials

For the online work: a browser and your engineering notebook. Follow the activity’s materials list for any physical build, and get teacher approval before using equipment.

Plan your time

Suggested work block: 45–60 minutes. Physical builds and projects may span several classes; follow your teacher’s schedule.

Lesson Overview

In this lesson, you will use coordinates and movement commands to create recognizable shapes or letters. The activity connects programming, geometry, and robotic motion.

Notes

  • The variable z controls the drawing or tool height in the example.
  • Lifting the pen/tool between sections prevents unwanted lines.
  • Comments help separate the code into shape sections.
  • Coordinate planning is important before running the robot.
  • The final program should include clear comments, safe movement, and evidence of testing.
Code example

1.1.6: Shapes

Review the code, copy it when needed, and add comments before submitting your final version.

VEXcode Python Example
Code examples may be incomplete or missing comments. Comments are required for code submissions.
def main():
    z = -7
    #Home
    arm.move_to(120, 0, 100)
    #Top of C1
    arm.move_to(125, 25, z)
    arm.move_to(125, 0, z)
    wait(1, SECONDS)

    #Left side of C1
    arm.move_to(150, 0, z)
    wait(1, SECONDS)

    #Bottom of C1
    arm.move_to(150, 25, z)
    wait(1, SECONDS)

    #Lift Pen
    arm.move_to(150, 25, 50)
    wait(1, SECONDS)
    #Top of C2
    arm.move_to(125, 75, z)
    arm.move_to(125, 50, z)
    wait(1, SECONDS)

    #Left side of C2
    arm.move_to(150, 50, z)
    wait(1, SECONDS)

    #Bottom of C2
    arm.move_to(150, 75, z)
    wait(1, SECONDS)

     #Lift Pen
    arm.move_to(150, 75, 50)
    wait(1, SECONDS)

     #Left Side of A
    arm.move_to(125, 125, z)
    arm.move_to(140, 130, z)
    arm.move_to(150, 135, z)
    wait(1, SECONDS)

     #Lift Pen
    arm.move_to(150, 135, 50)
    arm.move_to(125, 125, z)
    wait(1, SECONDS)

     #Right Side of A
    arm.move_to(140, 120, z)
    arm.move_to(150, 115, z)
    wait(1, SECONDS)

     #Lift Pen
    arm.move_to(150, 115, 50)
    wait(1, SECONDS)

     #A Cross
    arm.move_to(140, 130, 5)
    arm.move_to(140, 130, z)
    arm.move_to(140, 120, z)
    wait(1, SECONDS)

     #Lift and Return
    arm.move_to(150, 180, 50)
    arm.move_to(120, 0, 100)
    wait(1, SECONDS)

Build your lesson report

Checkpoint: is your evidence ready?
  • Check calculations, units, labels, and measurements against the activity requirements.
  • Record what actually happened, including unexpected results.
  • Explain what you changed and why; attach required drawings, photos, CAD, or code in your classroom assignment.

Submit the evidence specified in the activity and your classroom assignment. The report below collects your notes, calculations, observations, and reflections; attach any required drawings, photos, CAD, or code separately.

A PDF download is not a submission. Review it, then upload it and any required attachments through your classroom assignment system.