Fichier maison.mp (figure 5) — Modifié le 28 Mars 2008 à 21 h 34

maison.mp (figure 5)
Source

input geometriesyr16;

%%Sommets
Sommet1=(2,2.7,-2);
Sommet2=(2,2.7,0);
Sommet3=(2,-2.7,0);
Sommet4=(2,-2.7,-2);
Sommet5=(-2,-2.7,-2);
Sommet6=(-2,2.7,-2);
Sommet7=(-2,2.7,0);
Sommet8=(0,1.7,2);
Sommet9=(0,-1.7,2);
Sommet10=(-2,-2.7,0);
%%Faces
NF=9;
Fc[100]=4;Fc[101]=1;Fc[102]=2;Fc[103]=3;Fc[104]=4;
Fc[200]=4;Fc[201]=1;Fc[202]=6;Fc[203]=7;Fc[204]=2;
Fc[300]=3;Fc[301]=2;Fc[302]=7;Fc[303]=8;
Fc[400]=4;Fc[401]=2;Fc[402]=8;Fc[403]=9;Fc[404]=3;
Fc[500]=4;Fc[501]=1;Fc[502]=4;Fc[503]=5;Fc[504]=6;
Fc[600]=4;Fc[601]=7;Fc[602]=10;Fc[603]=9;Fc[604]=8;
Fc[700]=3;Fc[701]=10;Fc[702]=3;Fc[703]=9;%3 9 10
Fc[800]=4;Fc[801]=3;Fc[802]=10;Fc[803]=5;Fc[804]=4;%10 5 4 3
Fc[900]=4;Fc[901]=5;Fc[902]=10;Fc[903]=7;Fc[904]=6;


beginfig(1);
  Initialisation(10,(0/11)*360,(0/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(2);
  Initialisation(10,(1/11)*360,(1/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(3);
  Initialisation(10,(2/11)*360,(2/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(4);
  Initialisation(10,(3/11)*360,(3/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(5);
  Initialisation(10,(4/11)*360,(4/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(6);
  Initialisation(10,(5/11)*360,(5/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(7);
  Initialisation(10,(6/11)*360,(6/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(8);
  Initialisation(10,(7/11)*360,(7/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(9);
  Initialisation(10,(8/11)*360,(8/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(10);
  Initialisation(10,(9/11)*360,(9/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;

beginfig(11);
  Initialisation(10,(10/11)*360,(10/11)*360,300);
  TraceAxes;
  DessineObjet;
  drawoptions();
endfig;
end