print(len(all_players)) t_start_string ="00:02:20:00" duration =55.416 t_end = get_time_from_user_string(t_start_string) + datetime.timedelta(seconds = duration) t_end_string = get_user_string_from_time(t_end) shift_duration = duration /(2*(len(blocks)+4)) clock(t_start_string) #defile_3_blocks() defile_simple_block() resource.cut(t_start_string, None) resource.save('../001 - Montage orchestre dématérialisé/Orchestre dematerialisé - V1/Generique.mlt')
from totoro.utils import zero_time, get_user_string_from_time import datetime from totoro.model import Resource from totoro.display import clock, Line if __name__ == '__main__': #resource = Resource('../001 - Montage orchestre dématérialisé/Orchestre dematerialisé - V1/TestDecoupe.mlt') resource = Resource( '../001 - Montage orchestre dématérialisé/Orchestre dematerialisé - V1/clarinette1-test.mlt' ) resource.grid.set_num_box(8) resource.grid.set_margin(0) line = Line(resource.players_registry.values()) line.inside(resource.grid).move(1, 1, 3) clock('00:01:00:00') line.move(1, 6, 3, 10) clock('00:01:10:00') line.move(1, 1, 3, 10) clock('00:01:20:00') line.move(8, 1, 3, 10) resource.save( '../001 - Montage orchestre dématérialisé/Orchestre dematerialisé - V1/clarinette-moved.mlt' )
# # clock("00:01:00:00") # # columns = 3 # lines =8 # rate = 0.2 # duration = 10 # # spectrum(columns, lines, rate, duration) bottom_line = grid.get_line(5) bottom_line.goto(5, -0.5, 2) grid.tag("aligned") clock("00:00:30:00") column = grid.get_column(1) column.shift(4, 2) clock("00:00:32:00") grid.get_line(5).shift(4, 2) clock("00:00:34:00") grid.get_column(5).shift(-4, 2) clock("00:00:36:00") column = grid.get_column(5) column.goto(-4, 5, 2) clock("00:00:38:00")
def i_love_emgb(grid): clock(start_time_string) grid.set_num_box(15) grid.set_margin(20) Camille_bonus_recadre.hide() nb_mesure = 12 duration = (end_time-start_time).total_seconds() #deux mesures par image image_duration = 2*duration /nb_mesure temps_duration = duration/(4*nb_mesure) clock(start_time_string) ######### I ################# i = I() i_players = get_all_players() i.inside(grid).move(2,6,4) remaing_players =i.fill(i_players, temps_duration) hide_all(remaing_players) print(grid) incr_clock(image_duration) grid.set_margin(0) coeur_players = get_all_players() random.shuffle(coeur_players) coeur = Coeur() coeur.inside(grid).prop_move(0.495,0.495, 0.01) remaing_players=coeur.fill(coeur_players) coeur.inside(grid).prop_move(1/15,1/15+(13-9.1)/(2*13), 9.1/15,temps_duration) hide_all(remaing_players) print(grid) incr_clock(image_duration) grid.set_margin(20) e = E() e_players = get_all_players() random.shuffle(e_players) e.inside(grid).move(2,6,5 ) remaing_players = e.fill(e_players, temps_duration) hide_all(remaing_players) incr_clock(image_duration) #hide_all(remaing_players) print(grid) m_players = get_all_players() random.shuffle(e_players) m = M() m.inside(grid).move(2,4,9) remaing_players=m.fill(m_players, temps_duration) hide_all(remaing_players) incr_clock(image_duration) print(grid) g_players = get_all_players() random.shuffle(g_players) g =G() g.inside(grid).move(2,4.5,6) remaing_players=g.fill(g_players, temps_duration) hide_all(remaing_players) incr_clock(image_duration) print(grid) b_players = get_all_players() random.shuffle(b_players) #g_players.extend(m.get_players()) b =B() b.inside(grid).move(2,4.5,6) remaing_players=b.fill(b_players, temps_duration) hide_all(remaing_players) incr_clock(image_duration) print(grid) grid.set_margin(0) grid.set_num_box(7) players = get_all_players() players.remove(Natacha_clarinette) random.Random(6).shuffle(players) col_gauche = Box([],5,2) col_gauche.inside(grid).move(1,1,2) ligne_bas = Box([],2,5) ligne_bas.inside(grid).move(6,1, 5) col_droite = Box([],5,2) col_droite.inside(grid).move(3,6, 2) ligne_haut= Box([],2,5) ligne_haut.inside(grid).move(1,3, 5) players = col_gauche.fill(players,0.2) players = ligne_bas.fill(players,0.2) players = col_droite.fill(players,0.2) players = ligne_haut.fill(players,0.2) Natacha_clarinette.inside(grid).move(3,3,3, 0.2) hide_all(players) JeanJacques_chef.hide() JeanJacques_chef_lacheprise.hide() print(grid) clock("00:02:18:70") current_time = get_time_from_user_string(get_clock()) fin_tour = get_time_from_user_string("00:02:21:06") duration = ((fin_tour-current_time) - get_frame_duration()).total_seconds() col_gauche.inside(grid).goto(-5,1,duration) ligne_bas.inside(grid).goto(6,-5,duration) col_droite.inside(grid).goto(9,6,duration) ligne_haut.inside(grid).goto(1,9,duration)
def play_tetris(grid): start_time_string = "00:02:21:16" end_time_string = "00:03:14:00" start_time = get_time_from_user_string(start_time_string) end_time = get_time_from_user_string(end_time_string) grid.set_margin(20) clock(start_time_string) hide_all() grid.set_num_box(7) grid.set_margin(20) players = get_all_players() players.remove(Serge_trompette) init_pos = (-3,3,False) te = Te() remaining_players = te.fill(players) te.play( [init_pos, (2,3, True), (4,1, True) ]) z = Z() remaining_players = z.fill(remaining_players) z.play( [init_pos, (4,3, False), ]) s= S() remaining_players = s.fill(remaining_players) s.play( [init_pos, (3,4, True), ]) carre = Carre() remaining_players = carre.fill(remaining_players) carre.play( [init_pos, (3,6, False) ]) barre = Barre() remaining_players = barre.fill(remaining_players) barre.play( [init_pos, (1,1, True) ]) l = L() remaining_players = l.fill(remaining_players) l.play( [init_pos, (0,1, True), ]) z= Z() remaining_players = z.fill(remaining_players) z.play( [init_pos, (3,5, False) ]) te = Te() remaining_players = te.fill(remaining_players) te.play( [init_pos, (0,5, True), (1,6, False) ]) l = L() remaining_players = l.fill(remaining_players) l.play( [(-3,3,True), (-3,3,True), (-3,3,True) ]) barre = Barre() remaining_players = barre.fill(remaining_players) barre.play( [init_pos, (0,1, False) ]) print('----------------------------') print('Fin Tetris') print(grid) clock("00:02:51:79") last = Line([],2) remaining_players = last.fill(remaining_players) last.inside(grid).goto(0,5) last.goto(2,5,2.87) incr_clock(2.87) grid.tag('fin tetris') print(grid) players = get_all_players() players.remove(Serge_trompette) random.Random(4).shuffle(players) grid.set_num_box(7) grid.set_margin(0) col_gauche = Box([],5,2) col_gauche.inside(grid).goto(1,1) ligne_bas = Box([],2,5) ligne_bas.inside(grid).goto(6,1) col_droite = Box([],5,2) col_droite.inside(grid).goto(3,6) ligne_haut= Box([],2,5) ligne_haut.inside(grid).goto(1,3) hide_all() remaining_players= col_gauche.fill(players, 0.5) remaining_players= ligne_bas.fill(remaining_players, 0.5) remaining_players= col_droite.fill(remaining_players, 0.5) remaining_players= ligne_haut.fill(remaining_players, 0.5) Laurence_flute.swap( Chloe_saxophone) # @UndefinedVariable Chloe_saxophone.inside(grid).move(3,3,3) # @UndefinedVariable box_chloe = grid.get_box(1,1,7,7) #box_chloe.expand(0.5, expand_children = True) #box_chloe.expand(2, expand_children = False) Chloe_saxophone.inside(grid).move(3,3,3) # @UndefinedVariable sub_box = grid.get_box(2,2,5,5) time= get_clock() rotate(grid, 0.3,7.5) clock(time) rotate_clock(sub_box,0.3,7.5 ) grid.set_margin(0) clarinettes = clar.all.copy() clarinettes.remove(Cecile_clarinette) flute_et_hb = fl.all flute_et_hb.extend(hb.all) grid.set_num_box(8) clock("00:03:03:30") hide_all() box_clar = Box(clarinettes) box_clar.auto_layout() box_clar.inside(grid).move(1,1,4) clock("00:03:04:20") box_clar.hide() box_flute_hb = Box(flute_et_hb) box_flute_hb.auto_layout() box_flute_hb.inside(grid).move(5,5,4) clock("00:03:04:70") box_all = Box([],4,4) clarinettes.extend(flute_et_hb) box_all.inside(grid).move(1,1,8) remaining_players=box_all.fill(clarinettes) hide_all(remaining_players) clock("00:03:05:20") box_all.hide() grid.set_num_box(2) Serge_baryton.inside(grid).move(1,1,1) # @UndefinedVariable Cecile_clarinette.inside(grid).move(2,2,1) # @UndefinedVariable Svoisine_tuba.inside(grid).move(1,2,1) # @UndefinedVariable Srevol_tuba_recadre.inside(grid).move(2,1,1) # @UndefinedVariable grid.set_num_box(9) previous_player = None line_num =1 col_num =1 start_time_string = "00:03:07:00" start_time = get_time_from_user_string(start_time_string) end_time_string = "00:03:13:00" end_time = get_time_from_user_string(end_time_string) duration = (end_time-start_time).total_seconds() #deux mesures par image image_duration = duration/42 clock(start_time_string) grid.to_tag('fin tetris') box1 = grid.get_box(2,1, 7,7) new_box = Box([], 6,7) for line in range(6) : for col in range (7): player = box1.get_player(line+1, col+1) player.inside(new_box).move(line+1, col+1, 1) #grid.tag('fin tetris') box1=new_box grid.set_num_box(9) box1.inside(grid).move(1.5,2, 7, 0.2 ) incr_clock(0.2) print(len(box1.children)) ratio = 1+2/7 box1.expand(ratio, expand_children = False) rel_x, rel_y,rel_size = box1.get_absolute_coordinates() rel_x=rel_x-(rel_size/2)*(1-ratio)/8 box1.prop_move(rel_y, rel_x, rel_size) next_player = box1.get_player(line_num, col_num) next_player.expand(1+1/7 ,0.5) incr_clock(image_duration) line_num, col_num = get_next_player_index(box1, line_num, col_num) while (line_num is not None): previous_player = next_player; next_player = box1.get_player(line_num, col_num) previous_player.expand(1/(1+2/7), image_duration) next_player.expand(1+2/7, image_duration) incr_clock(image_duration) line_num, col_num = get_next_player_index(box1, line_num, col_num) clock("00:03:13:20") JeanJacques_chef_lacheprise.inside(grid).move(4,4,3,0.4) # @UndefinedVariable grid.set_num_box(15) grid.set_margin(0) box1.expand(10, expand_children = False, duration=1) incr_clock(1.7) JeanJacques_chef_lacheprise.hide() # @UndefinedVariable JeanJacques_chef.hide() # @UndefinedVariable coeur_players = get_all_players() coeur_players.remove(Serge_trompette) coeur_players.remove(Bidou_euphonium) random.Random(1).shuffle(coeur_players) coeur = Coeur() coeur.inside(grid).prop_move(0.495,0.495, 0.01) remaing_players=coeur.fill(coeur_players) coeur.get_player(4,4).swap(Veronique_hautbois) coeur.inside(grid).prop_move(1/15,1/20+(13-9.1)/(2*13), 9.1/15,1) clock("00:03:26:22") players.remove(Veronique_hautbois) grid.set_num_box(3) Veronique_hautbois.inside(grid).move(2,2,1,2) # @UndefinedVariable JeanSeb_percu.hide() # @UndefinedVariable incr_clock(0.5) Benoit_flute.hide() # @UndefinedVariable incr_clock(0.5) Serge_euphonium.hide() # @UndefinedVariable incr_clock(0.5) Serge_baryton.hide() # @UndefinedVariable
def locate(resource): grid = resource.grid #grid.auto_layout() grid.set_num_box(7) grid.fill(get_all_players()) #initialisation de la grille à partir du auto layout # JeanJacques_chef_lacheprise.swap(JeanSeb_percu) JeanJacques_chef_lacheprise.inside(grid).goto(0, 0) Camille_bonus = mus[ "Camille_bonus_recadre"] #je les initialise ici car tu as effacé mon fichier players xD Laurence_bonus = mus["Laurence_bonus_recadre"] Nadine_bonus = mus["Nadine_bonus_recadre"] Bidou_bonus = mus["Bidou_bonus_recadre"] Nelly_bonus = mus["Nelly_bonus_recadre"] JeanJacques_chef = mus["Jean-Jacques_chef_totoro"] JeanSeb_percu = mus["Jean-Seb_percu_totoro"] Patrick_trompette = mus["Patrick_trompette_totoro_recadre"] Flore_piano = mus["Flore_piano_totoro"] #Camille_bonus.swap(Serge_baryton) #Bidou_bonus.swap(Srevol_tuba_recadre) Camille_bonus.inside(grid).goto(-1, -1) Laurence_bonus.inside(grid).goto(-2, -2) Nadine_bonus.inside(grid).goto(-3, -3) Bidou_bonus.inside(grid).goto(-4, -4) Nelly_bonus.inside(grid).goto(-5, -5) Flore_piano.inside(grid).goto(-1, -1) daniel_trombonne_recadre.inside(grid).goto(1, 2) JeanJacques_percu.inside(grid).goto(1, 3) Amelie_clarinette_recadre.inside(grid).goto(1, 4) Aurianne_saxophone.inside(grid).goto(1, 5) Stephane_clarinette.inside(grid).goto(2, 1) Gwenn_flute.inside(grid).goto(2, 2) Andre_cor.inside(grid).goto(2, 3) Aurelie_hautbois.inside(grid).goto(2, 4) Nadine_saxophone.inside(grid).goto(2, 5) Pierre_clarinette.inside(grid).goto(2, 6) JeanJacques_chef.inside(grid).goto( -2, -7) #on le vire pour mettre serge en avant MarieClaude_saxophone.inside(grid).goto(3, 1) Bidou_cornet.inside(grid).goto(3, 2) Svoisine_tuba.inside(grid).goto(1, 6) Myrtille_cor.inside(grid).goto(1, 7) Laurence_flute.inside(grid).goto(7, 1) JeanSeb_percu.inside(grid).goto(3, 6) Annesonia_clarinette.inside(grid).goto(3, 7) Veronique_hautbois.inside(grid).goto(4, 1) Francoise_saxophone.inside(grid).goto(4, 2) Natacha_clarinette.inside(grid).goto(1, 1) Serge_euphonium.inside(grid).move(3, 3, 3) Cecile_trombone.inside(grid).goto(7, 6) Benoit_flute.inside(grid).goto(4, 6) Chloe_saxophone.inside(grid).goto(4, 7) Franck_saxophone.inside(grid).goto(5, 1) Alain_flute.inside(grid).goto(5, 2) Cecile_clarinette.inside(grid).goto(7, 7) Serge_trompette.inside(grid).goto(5, 7) Serge_trompette.swap(Flore_piano) Nelly_clarinette.inside(grid).goto(5, 6) Marianne_trompette.inside(grid).goto(2, 7) Bidou_euphonium.inside(grid).goto(-5, -5) Violette_clarinette.inside(grid).goto(6, 1) Antoine_flute.inside(grid).goto(6, 2) Nathalie_saxophone.inside(grid).goto(6, 3) Patrick_trompette.inside(grid).goto(6, 4) Alizee_piano.inside(grid).goto(6, 5) Ineke_clarinette.inside(grid).goto(6, 6) Camille_trombone.inside(grid).goto(6, 7) Jawad_flute.inside(grid).goto(7, 2) Serge_baryton.inside(grid).goto(7, 3) Srevol_tuba_recadre.inside(grid).goto(7, 4) PierreG_clarinette.inside(grid).goto(7, 5) clock("00:00:22:00") print(grid) grid.tag("initial") grid.tag("table1") clock("00:00:23:00") #c'est le clap #print(grid.tag("initial")) #grid.tag_map.get("initial") Annesonia_clarinette.inside(grid).goto(1, 1, 0.5) Camille_trombone.inside(grid).goto(1, 2, 0.5) JeanSeb_percu.inside(grid).goto(1, 3, 0.5) Nelly_clarinette.inside(grid).goto(1, 4, 0.5) Franck_saxophone.inside(grid).goto(1, 5, 0.5) Srevol_tuba_recadre.goto(1, 6, 0.5) Andre_cor.goto(1, 7, 0.5) Cecile_clarinette.inside(grid).goto(2, 1, 0.5) Laurence_flute.inside(grid).goto(2, 2, 0.5) Myrtille_cor.inside(grid).goto(2, 3, 0.5) Veronique_hautbois.inside(grid).goto(2, 4, 0.5) Nathalie_saxophone.inside(grid).goto(2, 5, 0.5) PierreG_clarinette.inside(grid).goto(2, 6, 0.5) Francoise_saxophone.inside(grid).goto(2, 7, 0.5) Chloe_saxophone.inside(grid).goto(3, 1, 0.5) Serge_baryton.inside(grid).goto(3, 2, 0.5) JeanJacques_chef.inside(grid).move(3, 3, 3) Antoine_flute.inside(grid).goto(3, 6, 0.5) Alain_flute.inside(grid).goto(3, 7, 0.5) Aurelie_hautbois.inside(grid).goto(4, 1, 0.5) Ineke_clarinette.inside(grid).goto(4, 2, 0.5) Jawad_flute.inside(grid).goto(4, 6, 0.5) MarieClaude_saxophone.inside(grid).goto(4, 7, 0.5) Aurianne_saxophone.inside(grid).goto(5, 1, 0.5) Cecile_trombone.inside(grid).goto(5, 2, 0.5) Amelie_clarinette_recadre.inside(grid).goto(5, 6, 0.5) Natacha_clarinette.inside(grid).goto(5, 7, 0.5) Benoit_flute.inside(grid).goto(6, 1, 0.5) Marianne_trompette.inside(grid).goto(6, 2, 0.5) Nadine_saxophone.inside(grid).goto(6, 3, 0.5) Bidou_euphonium.inside(grid).goto(6, 4, 0.5) Serge_trompette.inside(grid).goto(6, 5, 0.5) Violette_clarinette.inside(grid).goto(6, 6, 0.5) daniel_trombonne_recadre.inside(grid).goto(6, 7, 0.5) Gwenn_flute.inside(grid).goto(7, 1, 0.5) Serge_euphonium.inside(grid).goto(-2, -2) Flore_piano.inside(grid).goto(7, 2, 0.5) Patrick_trompette.inside(grid).goto(7, 3, 0.5) Svoisine_tuba.inside(grid).goto(7, 4, 0.5) Pierre_clarinette.inside(grid).goto(7, 5, 0.5) Alizee_piano.inside(grid).goto(7, 6, 0.5) Stephane_clarinette.inside(grid).goto(7, 7, 0.5) Bidou_cornet.inside(grid).goto(-3, -2) #on le vire pour mettre serge en avant JeanJacques_percu.inside(grid).goto(-5, -2) grid.tag("table2") print(grid) start_rotate1 = "00:00:30:00" clock(start_rotate1) hide_all() grid.set_num_box(8) # Srevol_tuba_recadre.inside(grid).move(10,10,1) # Annesonia_clarinette.inside(grid).move(-1,-1,1) # Franck_saxophone.inside(grid).move(-1,-1,1) # Nelly_clarinette.inside(grid).move(-1,-1,1) # JeanSeb_percu.inside(grid).move(-1,-1,1) # Andre_cor.inside(grid).move(-1,-1,1) # Cecile_clarinette.inside(grid).move(-1,-1,1) # PierreG_clarinette.inside(grid).move(-1,-1,1) # Alain_flute.inside(grid).move(-1,-1,1) # Aurelie_hautbois.inside(grid).move(-1,-1,1) # Ineke_clarinette.inside(grid).move(-1,-1,1) # Amelie_clarinette_recadre.inside(grid).move(-1,-1,1) # Benoit_flute.inside(grid).move(-1,-1,1) # Gwenn_flute.inside(grid).move(-1,-1,1) # Serge_euphonium.inside(grid).move(-1,-1,1) # Nadine_saxophone.inside(grid).move(-1,-1,1) # Bidou_euphonium.inside(grid).move(-1,-1,1) # Patrick_trompette.inside(grid).move(-1,-1,1) # Alizee_piano.inside(grid).move(-1,-1,1) # Stephane_clarinette.inside(grid).move(-1,-1,1) # Pierre_clarinette.inside(grid).move(-1,-1,1) # Natacha_clarinette.inside(grid).move(-1,-1,1) # Camille_trombone.inside(grid).move(-1,-1,1) # #Srevol_tuba_recadre.inside(grid).move(-10,-10,1) # Laurence_flute.inside(grid).move(-1,-1,1) # Myrtille_cor.inside(grid).move(-1,-1,1) # Veronique_hautbois.inside(grid).move(-1,-1,1) # Nathalie_saxophone.inside(grid).move(-1,-1,1) # Francoise_saxophone.inside(grid).move(-1,-1,1) # Antoine_flute.inside(grid).move(-1,-1,1) # Chloe_saxophone.inside(grid).move(-1,-1,1) # Laurence_bonus.inside(grid).move(-1,-1,1) # MarieClaude_saxophone.inside(grid).move(-1,-1,1) # Jawad_flute.inside(grid).move(-1,-1,1) # Aurianne_saxophone.inside(grid).move(-1,-1,1) # Violette_clarinette.inside(grid).move(-1,-1,1) # daniel_trombonne_recadre.inside(grid).move(-1,-1,1) # Marianne_trompette.inside(grid).move(-1,-1,1) # Serge_trompette.inside(grid).move(-1,-1,1) # Svoisine_tuba.inside(grid).move(-1,-1,1) # Cecile_trombone.inside(grid).move(-1,-1,1) # Serge_baryton.inside(grid).move(-1,-1,1) players = get_all_players() ligne_haut = Line([], 7) ligne_haut.inside(grid).goto(1, 2) players = ligne_haut.fill(players) col_gauche = Column([], 7) col_gauche.inside(grid).goto(1, 1) players = col_gauche.fill(players) ligne_bas = Line([], 7) ligne_bas.inside(grid).goto(8, 1) players = ligne_bas.fill(players) col_droite = Column([], 7) col_droite.inside(grid).goto(2, 8) players = col_droite.fill(players) JeanJacques_chef.inside(grid).move(2, 2, 6) print(grid) grid.tag("8x8") # line1=Line(clar.all) # line1.inside(grid).goto(1,1) # line8=Line(sax.all) # line8.inside(grid).goto(8,2) # col8=Column(fl.all) # col8.inside(grid).goto(2,8) # col1=Column(trb.all) # col1.inside(grid).goto(2,1) # col1b=Column(trp.all) # col1b.inside(grid).goto(5,1) # col1c=Column(tb.all) # col1c.inside(grid).goto(8,1) # # print(grid) # line1.h_shift(16,20) rotate(grid, 0.25, 20) # col8.v_shift(12,20) # line8.h_shift(-14,20) # clock("00:00:50:00") hide_all() JeanJacques_chef_lacheprise.inside(grid).move(10, 10, 6) JeanJacques_chef.swap(JeanJacques_chef_lacheprise) players.extend(get_all_players()) ligne_haut = Line([], 7) ligne_haut.inside(grid).goto(1, 2) players = ligne_haut.fill(players) col_gauche = Column([], 7) col_gauche.inside(grid).goto(1, 1) players = col_gauche.fill(players) ligne_bas = Line([], 7) ligne_bas.inside(grid).goto(8, 1) players = ligne_bas.fill(players) col_droite = Column([], 7) col_droite.inside(grid).goto(2, 8) players = col_droite.fill(players) print(grid) rotate_clock(grid, 0.25, 14) # clock("00:00:53:00") # JeanJacques_chef.swap(JeanJacques_chef_lacheprise) # clock("00:00:57:00") # JeanJacques_chef.swap(JeanJacques_chef_lacheprise) # clock("00:01:00:00") # JeanJacques_chef.swap(JeanJacques_chef_lacheprise) print(grid) clock("00:01:04:00") grid.to_tag("initial") # print(grid) #prévoir un retour à une grille proche du départ 7x7 daniel_trombonne_recadre.inside(grid).move(1, 1, 3) Natacha_clarinette.goto(4, 3) JeanJacques_percu.goto(-1, -2) Stephane_clarinette.goto(-1, -3) Gwenn_flute.goto(-1, -4) Andre_cor.goto(5, 6) MarieClaude_saxophone.goto(-1, -6) Bidou_cornet.goto(4, 4) Serge_euphonium.move(-1, -8, 1) Marianne_trompette.inside(grid).move(2, 5, 3) Nadine_saxophone.goto(-2, -1) Pierre_clarinette.goto(-2, -2) JeanSeb_percu.goto(-2, -3) Annesonia_clarinette.goto(-2, -4) Benoit_flute.goto(-2, -5) Chloe_saxophone.goto(3, 4) Nelly_clarinette.move(5, 3, 3) Nathalie_saxophone.goto(-3, -1) Patrick_trompette.goto(-3, -2) Alizee_piano.goto(-3, -3) Cecile_clarinette.goto(-3, -4) Srevol_tuba_recadre.goto(-3, -5) PierreG_clarinette.goto(7, 7) Serge_baryton.goto(-3, -6) # print(grid) clock("00:01:12:00") daniel_trombonne_recadre.inside(grid).move(-1, -1, 1) Marianne_trompette.inside(grid).move(-2, -1, -1) Nelly_clarinette.move(-3, -1, -1) Svoisine_tuba.move(2, 1, 3) Veronique_hautbois.goto(-2, -2) Francoise_saxophone.goto(-2, -2) Natacha_clarinette.goto(-2, -2) Alain_flute.move(1, 5, 3) Aurianne_saxophone.goto(-2, -2) Myrtille_cor.goto(-2, -2) Aurianne_saxophone.move(5, 5, 3) Andre_cor.goto(1, 1) PierreG_clarinette.goto(1, 2) Serge_trompette.goto(5, 2) Ineke_clarinette.goto(4, 5) Camille_trombone.goto(-5, -5) Cecile_trombone.goto(1, 3) Franck_saxophone.swap(Serge_baryton) Violette_clarinette.swap(Stephane_clarinette) Laurence_flute.swap(Gwenn_flute) Jawad_flute.swap(Nadine_saxophone) Antoine_flute.swap(Srevol_tuba_recadre) Bidou_cornet.goto(7, 3) Amelie_clarinette_recadre.goto(4, 6) Chloe_saxophone.goto(7, 4) Aurelie_hautbois.goto(4, 7) JeanJacques_percu.goto(6, 3) Nathalie_saxophone.goto(6, 4) Annesonia_clarinette.goto(1, 4) MarieClaude_saxophone.goto(2, 4) Myrtille_cor.goto(5, 3) Veronique_hautbois.goto(5, 4) Natacha_clarinette.goto(3, 4) Patrick_trompette.goto(4, 4) #print(grid) clock("00:01:20:00") grid.set_num_box(6) grid.auto_layout() Antoine_flute.goto(-2, -2) PierreG_clarinette.goto(-3, -3) Camille_trombone.inside(grid).move(1, 1, 3) Cecile_trombone.inside(grid).move(4, 4, 3) Amelie_clarinette_recadre.inside(grid).goto(4, 1) Nelly_clarinette.inside(grid).goto(4, 2) Natacha_clarinette.inside(grid).goto(4, 3) Pierre_clarinette.inside(grid).goto(5, 1) PierreG_clarinette.inside(grid).goto(5, 2) Ineke_clarinette.inside(grid).goto(5, 3) Annesonia_clarinette.inside(grid).goto(6, 1) Stephane_clarinette.inside(grid).goto(6, 2) Violette_clarinette.inside(grid).goto(6, 3) Bidou_cornet.inside(grid).goto(1, 4) Serge_trompette.inside(grid).goto(1, 5) Patrick_trompette.inside(grid).goto(1, 6) Marianne_trompette.inside(grid).goto(2, 4) Andre_cor.inside(grid).goto(2, 5) Myrtille_cor.inside(grid).goto(2, 6) Svoisine_tuba.inside(grid).goto(3, 4) Serge_baryton.inside(grid).goto(3, 5) Srevol_tuba_recadre.inside(grid).goto(3, 6) Camille_bonus_recadre.goto(-5, -5) Bidou_bonus_recadre.goto(-10, -10) print(grid) Bidou_bonus.hide() Camille_bonus_recadre.hide() clock("00:01:27:00") Camille_trombone.inside(grid).move(-1, -1, 1) Cecile_trombone.inside(grid).move(-4, -4, 1) Amelie_clarinette_recadre.inside(grid).goto(-4, 1) Nelly_clarinette.inside(grid).goto(-4, 2) Natacha_clarinette.inside(grid).goto(-4, 3) Pierre_clarinette.inside(grid).goto(-5, 1) PierreG_clarinette.inside(grid).goto(-5, 2) Ineke_clarinette.inside(grid).goto(-5, 3) Annesonia_clarinette.inside(grid).goto(-6, 1) Stephane_clarinette.inside(grid).goto(-6, 2) Violette_clarinette.inside(grid).goto(-6, 3) Bidou_cornet.inside(grid).goto(-1, 4) Serge_trompette.inside(grid).goto(-1, 5) Patrick_trompette.inside(grid).goto(-1, 6) Marianne_trompette.inside(grid).goto(-2, 4) Andre_cor.inside(grid).goto(-2, 5) Myrtille_cor.inside(grid).goto(-2, 6) Svoisine_tuba.inside(grid).goto(-3, 4) Serge_baryton.inside(grid).goto(-3, 5) Srevol_tuba_recadre.inside(grid).goto(-3, 6) Jawad_flute.inside(grid).goto(-1, -1) Gwenn_flute.inside(grid).move(1, 4, 3) Franck_saxophone.inside(grid).move(4, 1, 3) Nadine_saxophone.inside(grid).goto(1, 1) Aurianne_saxophone.inside(grid).goto(1, 2) MarieClaude_saxophone.inside(grid).goto(1, 3) #ok Nathalie_saxophone.inside(grid).goto(2, 1) Francoise_saxophone.inside(grid).goto(2, 2) Chloe_saxophone.inside(grid).goto(2, 3) JeanSeb_percu.inside(grid).goto(3, 1) Nadine_saxophone.swap(daniel_trombonne_recadre) Aurianne_saxophone.swap(Cecile_trombone) Nathalie_saxophone.swap(Camille_trombone) Francoise_saxophone.swap(Myrtille_cor) Chloe_saxophone.swap(Andre_cor) JeanSeb_percu.swap(Serge_baryton) Alizee_piano.inside(grid).goto(3, 2) #ok JeanJacques_percu.inside(grid).goto(-3, -3) #ok Flore_piano.inside(grid).goto(3, 3) Antoine_flute.inside(grid).goto(4, 4) Laurence_flute.inside(grid).goto(4, 5) Alain_flute.inside(grid).goto(4, 6) Serge_euphonium.inside(grid).goto(5, 4) JeanJacques_chef_lacheprise.inside(grid).goto(5, 5) Bidou_euphonium.inside(grid).goto(5, 6) Veronique_hautbois.inside(grid).goto(6, 4) Benoit_flute.inside(grid).goto(6, 5) Aurelie_hautbois.inside(grid).goto(6, 6) #print(grid) clock("00:01:35:00") grid.to_tag("table2") # print(grid) Bidou_euphonium.inside(grid).move(1, 4, 3) Laurence_bonus.inside(grid).move(4, 1, 3) #à vérifier Nadine_bonus.inside(grid).move(5, 4, 3) JeanJacques_chef.inside(grid).move(-1, -1, 1) JeanSeb_percu.inside(grid).goto(4, 3) Nelly_clarinette.inside(grid).goto(5, 3) Franck_saxophone.inside(grid).goto(4, 4) Myrtille_cor.inside(grid).goto(-1, -1) Veronique_hautbois.inside(grid).goto(-2, -2) Nathalie_saxophone.inside(grid).goto(-3, -3) Aurianne_saxophone.inside(grid).goto(-1, -1) Cecile_trombone.inside(grid).goto(-1, -1) Nelly_clarinette.inside(grid).goto(-1, -1) Benoit_flute.inside(grid).goto(-1, -1) Marianne_trompette.inside(grid).goto(-1, -1) Nadine_saxophone.inside(grid).goto(-1, -1) Gwenn_flute.inside(grid).goto(-1, -1) Serge_euphonium.inside(grid).goto(-1, -1) Patrick_trompette.inside(grid).goto(-1, -1) Serge_trompette.inside(grid).goto(-1, -1) Violette_clarinette.inside(grid).goto(-1, -1) Svoisine_tuba.inside(grid).goto(-1, -1) Pierre_clarinette.inside(grid).goto(-1, -1) Alizee_piano.inside(grid).goto(-1, -1) Amelie_clarinette_recadre.inside(grid).goto(4, 5) Laurence_flute.swap(Svoisine_tuba) Srevol_tuba_recadre.inside(grid).goto(1, 3) PierreG_clarinette.inside(grid).goto(2, 3) Antoine_flute.inside(grid).goto(3, 3) Aurelie_hautbois.inside(grid).goto(7, 1) Ineke_clarinette.inside(grid).goto(7, 2) JeanSeb_percu.inside(grid).goto(7, 3) #print(grid) clock("00:01:44:00") grid.to_tag("table1") #print(grid) Serge_euphonium.inside(grid).move(-1, -1, 1) Bidou_euphonium.inside(grid).move(-1, -1, 1) Laurence_bonus.inside(grid).move(-1, -1, 1) Nadine_bonus.inside(grid).move(-1, -1, 1) Serge_baryton.inside(grid).move(1, 5, 3) Srevol_tuba_recadre.inside(grid).move(1, 2, 3) Serge_baryton.swap(Srevol_tuba_recadre) Pierre_clarinette.inside(grid).move(5, 3, 3) daniel_trombonne_recadre.inside(grid).goto(4, 3) JeanJacques_percu.inside(grid).goto(4, 4) PierreG_clarinette.inside(grid).goto(4, 5) Nathalie_saxophone.inside(grid).goto(-1, -1) Patrick_trompette.inside(grid).goto(-1, -1) Alizee_piano.inside(grid).goto(-1, -1) Amelie_clarinette_recadre.inside(grid).goto(-1, -1) Aurianne_saxophone.inside(grid).goto(-1, -1) Svoisine_tuba.inside(grid).goto(-1, -1) Myrtille_cor.inside(grid).goto(-1, -1) Gwenn_flute.inside(grid).goto(-1, -1) Andre_cor.inside(grid).goto(-1, -1) Aurelie_hautbois.inside(grid).goto(-1, -1) Nadine_saxophone.inside(grid).goto(-1, -1) Marianne_trompette.inside(grid).goto(-1, -1) Bidou_cornet.inside(grid).goto(-1, -1) JeanSeb_percu.inside(grid).goto(-1, -1) Annesonia_clarinette.inside(grid).goto(-1, -1) #print(grid) clock("00:01:51:00") grid.to_tag("table2") hide_all() JeanSeb_percu.inside(grid).move(1, 1, 3) Alizee_piano.inside(grid).move(1, 5, 3) Flore_piano.inside(grid).move(5, 3, 3) #lineclar=Line(clar.all) colonne1 = Column(clar.all, 5) colonne1.goto(4, 1) zikos = clar.all line4 = Line([], 10) line4.goto(4, 0) zikos = line4.fill(zikos) line4.shift(1, 10) Jawad_flute.inside(grid).goto(5, 6) Nadine_saxophone.inside(grid).goto(5, 7) Patrick_trompette.inside(grid).goto(6, 6) Patrick_trompette.swap(Violette_clarinette) Benoit_flute.inside(grid).goto(6, 7) Alain_flute.inside(grid).goto(7, 6) Francoise_saxophone.inside(grid).goto(7, 7) Serge_euphonium.inside(grid).goto(1, 4) Camille_bonus_recadre.inside(grid).goto(2, 4) Bidou_euphonium.inside(grid).goto(3, 4) MarieClaude_saxophone.inside(grid).goto(5, 2) Veronique_hautbois.inside(grid).goto(5, 1) Aurianne_saxophone.inside(grid).goto(7, 2) Marianne_trompette.inside(grid).goto(6, 1) Srevol_tuba_recadre.inside(grid).goto(6, 2) Cecile_trombone.inside(grid).goto(7, 1) print(grid)