<jupyter_start><jupyter_text>Materialien zu aglaAutor: <NAME> - <EMAIL> Platon<NAME>   Ikosaeder<jupyter_code>%run agla/start
# Erzeugung über die Seiten; die Ecken sind exakt definiert

a = Rational(1, 2)*(sqrt(5)-1)
p1 = v(1,0,a); p2 = v(1,0,-a); p3 = v(-1,0,a); p4 = v(-1,0,-a)
p5 = v(a,1,0); p6 = v(-a,1,0); p7 = v(a,-1,0); p8 = v(-a,-1,0)
p9 = v(0,a,1); p10 = v(0,-a,1); p11 = v(0,a,-1); p12 = v(0,-a,-1)

seiten_liste = [  Koerper(p1, p2, p5, p1),   
                  Koerper(p9, p3, p10, p9),
                  Koerper(p2, p7, p12, p2),
                  Koerper(p1, p9, p10, p1),
                  Koerper(p2, p12, p11, p2),
                  Koerper(p1, p10, p7, p1),
                  Koerper(p6, p3, p4, p6),
                  Koerper(p5, p6, p11, p5),
                  Koerper(p3, p10, p8, p3),
                  Koerper(p9, p6, p3, p9),
                  Koerper(p10, p7, p8, p10),
                  Koerper(p2, p5, p11, p2),
                  Koerper(p7, p12, p8, p7),
                  Koerper(p1, p2, p7, p1),
                  Koerper(p12, p8, p4, p12),
                  Koerper(p5, p9, p6, p5),
                  Koerper(p6, p11, p4, p6),
                  Koerper(p3, p8, p4, p3),
                  Koerper(p12, p11, p4, p12),
                  Koerper(p1, p5, p9, p1) ]              
                           
Ikosaeder = Koerper(*[seiten_liste[i] for i in range(len(seiten_liste))])                           
sicht_box(-2, 2)

zeichne(Ikosaeder)

#zeichne([Ikosaeder, 'fuell=ja'], Ikosaeder, achsen=nein, box=nein)
Ikosaeder.anz_ecken,  Ikosaeder.anz_kanten,  Ikosaeder.anz_seiten
# Eulersche Polyederformel:      #Ecken - #Kanten + #Seiten = 2

Ikosaeder.anz_ecken - Ikosaeder.anz_kanten + Ikosaeder.anz_seiten
# Einfärbung der Seiten

S = Ikosaeder.seiten
I1 = Körper(*[S[i] for i in (1,3,4,5,9,10,13,14,15,16)])
I2 = Körper(*[S[i] for i in (0,2,6,7,8,11,12,17,18,19)])

zeichne([I1, gelb, 'fuell=ja'], [I2, rot, 'fuell=ja'], Ikosaeder, achsen=nein, box=nein)
# Markieren der Ecken

Ikosaeder.mark_ecken
# Markieren der Kanten

Ikosaeder.mark_kanten
# Markieren der Seiten

Ikosaeder.mark_seiten<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16434540389972144, 'fraction_numerical': 0.08263695450324977, 'mean_word_length': 2.1551976573938507, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '436793', 'license': 'Apache-2.0', 'n_tokens_mistral': 1039, 'n_tokens_neox': 981, 'n_words': 189, 'path': 'agla/mat/platon_Ikosaeder.ipynb', 'repo_name': 'HBOMAT/AglaUndZufall', 'size': '2178'}