Advanced Level Module 2
Advanced Level Module 2
MODULE -2
Steps :
2. Model 2- Table:
Steps :
Output :
3. Model 3- Basket:
Steps :
Output :
4. Model 4- Tea holder:
Steps :
Output :
5. Model 5- Chaos:
Steps :
1. Create five variables named : L,w,n,size,turn.
2. And specify the values for the variables.
3. Create a loop and increment by 1.
4. Add a ring and change the radius.
5. Move it along x,y,z axis.
6. Rotate around x-axis by 25deg.
7. Move it along z-axis.
8. Change the values of variables.
9. This loop continues to execute until the n value becomes 20.
Output :
7. Model 7-Jet:
Steps :
1. For creating a jet we will create separate objects for it.
2. First create an object named : body.
3. Inside that add a cylinder and change the attributes.
4. Rotate it around the x-axis by 90 degrees.
5. Move it along the y,z axis respectively.
6. Add a half sphere and rotate it around the x-axis by 90degrees.
7. Scale it along x,y,z axis.
8. Move the shape by y and z coordinates.
9. Add another half shere.
10. Repeat the step 7,8.
11. Second create a object named : Engine.
12. Inside that add a cone and change the attributes.
13. Rotate it around the x-axis by 90 degrees.
14. Move it along the y & z-axis.
15. Again add a cone and make it as a hole.
16. Rotate it around the x-axis by 90 degrees.
17. Move the cone along the y & z-axis.
18. Group them together.
19. Third, create an object named : wing.
20. Inside that adds a roof and changes the attributes.
21. Rotate it around the x-axis by 90 degrees.
22. Scale it along the x,y,z axis.
23. Finally.move them along the y,z axis.
24. Fourth, create an object named : tail.
25. Add a roof and change the attributes.
26. Rotate it around x-axis by 90 degrees.
27. Scale along x,y,z coordinates.
Output :
8. Model 8 - Submarine:
Steps :
1. We can create a submarine using codeblocks by defining different objects.
2. First create an object named : tube.
3. Inside that add a cylinder and change the attributes.
4. Add a paraboloid and change the properties.
5. Move it along z-axis.
6. Add a paraboloid and change the radius.
7. Move it along z-axis.
8. Rotate it around y-axis by 180 degrees.
9. Finally group them.
10. Rotate it around x-axis by 90 degrees.
11. Move it along z-axis.
12. Second, create a new object named : fin.
13. Add a sphere and change the attributes.
14. Scale the position along x,y,z coordinates.
15. Third, create a new object named : tower.
16. Add a cylinder and change the radius and height.
17. Move it along z-axis.
18. Scale the position in all the three coordinates.
19. Fourth, create again a new object named : sub.
20. Add a copy of object tube.
21. Add a copy of object tower.
22. Move it along y-axis.
23. Add a copy of object fin.
24. Move it along y & z-axis.
25. Scale it along three coordinates.
26. Add a copy of object fin.
27. Move it along y & z-axis.
28. Repeat step 25.
29. Delete all three objects tube,tower, fin.
Output :
Steps :
Steps :
Steps :