aboutsummaryrefslogtreecommitdiff
path: root/src/guiFileSelectMenu.cpp
blob: e02407427f51907ae9e88ce3a001f572578cf9a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/*
 Minetest
 Copyright (C) 2013 sapier

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation; either version 2.1 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public License along
 with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#include "guiFileSelectMenu.h"
#include "util/string.h"
#include <locale.h>

GUIFileSelectMenu::GUIFileSelectMenu(gui::IGUIEnvironment* env,
				gui::IGUIElement* parent, s32 id, IMenuManager *menumgr,
				std::string title, std::string formname) :
GUIModalMenu(env, parent, id, menumgr)
{
	m_title = utf8_to_wide(title);
	m_parent = parent;
	m_formname = formname;
	m_text_dst = 0;
	m_accepted = false;
}

GUIFileSelectMenu::~GUIFileSelectMenu()
{
	removeChildren();
}

void GUIFileSelectMenu::removeChildren()
{
	const core::list<gui::IGUIElement*> &children = getChildren();
	core::list<gui::IGUIElement*> children_copy;
	for (core::list<gui::IGUIElement*>::ConstIterator i = children.begin(); i
		 != children.end(); i++)
	{
		children_copy.push_back(*i);
	}
	for (core::list<gui::IGUIElement*>::Iterator i = children_copy.begin(); i
		 != children_copy.end(); i++)
	{
		(*i)->remove();
	}
}

void GUIFileSelectMenu::regenerateGui(v2u32 screensize)
{
	removeChildren();
	m_fileOpenDialog = 0;

	core::dimension2du size(600,400);
	core::rect < s32 > rect(0,0,screensize.X,screensize.Y);

	DesiredRect = rect;
	recalculateAbsolutePosition(false);

	m_fileOpenDialog =
			Environment->addFileOpenDialog(m_title.c_str(),false,this,-1);

	core::position2di pos = core::position2di(screensize.X/2 - size.Width/2,screensize.Y/2 -size.Height/2);
	m_fileOpenDialog->setRelativePosition(pos);
	m_fileOpenDialog->setMinSize(size);
}

void GUIFileSelectMenu::drawMenu()
{
	gui::IGUISkin* skin = Environment->getSkin();
	if (!skin)
		return;

	gui::IGUIElement::draw();
}

void GUIFileSelectMenu::acceptInput() {
	if ((m_text_dst != 0) && (this->m_formname != "")){
		StringMap fields;

		if (m_accepted)
			fields[m_formname + "_accepted"] = wide_to_utf8(m_fileOpenDialog->getFileName());
		else
			fields[m_formname + "_canceled"] = m_formname;

		this->m_text_dst->gotText(fields);
	}
}

bool GUIFileSelectMenu::OnEvent(const SEvent& event)
{

	if (event.EventType == irr::EET_GUI_EVENT) {
		switch (event.GUIEvent.EventType) {
			case gui::EGET_ELEMENT_CLOSED:
			case gui::EGET_FILE_CHOOSE_DIALOG_CANCELLED:
				m_accepted=false;
				acceptInput();
				quitMenu();
				return true;
				break;

			case gui::EGET_DIRECTORY_SELECTED:
			case gui::EGET_FILE_SELECTED:
				m_accepted=true;
				acceptInput();
				quitMenu();
				return true;
				break;

			default:
				//ignore this event
				break;
		}
	}
	return Parent ? Parent->OnEvent(event) : false;
}
514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956
# Blender v2.76 (sub 0) OBJ File: 'signal_ks_exportd.blend'
# www.blender.org
mtllib advtrains_signals_ks_zs_bottom.mtl
o HsVsAnzUnten_Cube.009
v 0.028581 -0.495697 0.268412
v -0.028581 -0.495697 0.268412
v -0.028581 -0.495697 0.496774
v 0.028581 -0.495697 0.496774
v 0.028581 -0.495697 0.325575
v 0.028581 -0.495697 0.439611
v -0.028581 -0.495697 0.325575
v -0.028581 -0.495697 0.439611
v -0.028581 -0.291434 0.439611
v -0.028581 -0.164538 0.439611
v 0.028581 -0.164538 0.439611
v 0.028581 -0.291434 0.439611
v 0.028581 -0.291434 0.496774
v 0.028581 -0.164538 0.496774
v -0.028581 -0.164538 0.496774
v -0.028581 -0.291434 0.496774
v -0.028581 -0.291434 0.325575
v -0.028581 -0.164538 0.325575
v -0.028581 -0.164538 0.268412
v -0.028581 -0.291434 0.268412
v 0.028581 -0.291434 0.268412
v 0.028581 -0.164538 0.268412
v 0.028581 -0.164538 0.325575
v 0.028581 -0.291434 0.325575
v 0.028581 -0.164538 0.268412
v -0.028581 -0.164538 0.268412
v -0.028581 -0.164538 0.496774
v 0.028581 -0.164538 0.496774
v 0.028581 -0.164538 0.325575
v 0.028581 -0.164538 0.439611
v -0.028581 -0.164538 0.325575
v -0.028581 -0.164538 0.439611
v -0.028581 0.039726 0.439611
v -0.028581 0.166622 0.439611
v 0.028581 0.166622 0.439611
v 0.028581 0.039726 0.439611
v 0.028581 0.039726 0.496774
v 0.028581 0.166622 0.496774
v -0.028581 0.166622 0.496774
v -0.028581 0.039726 0.496774
v -0.028581 0.039726 0.325575
v -0.028581 0.166622 0.325575
v -0.028581 0.166622 0.268412
v -0.028581 0.039726 0.268412
v 0.028581 0.039726 0.268412
v 0.028581 0.166622 0.268412
v 0.028581 0.166622 0.325575
v 0.028581 0.039726 0.325575
v 0.028581 0.166622 0.268412
v -0.028581 0.166622 0.268412
v -0.028581 0.166622 0.496774
v 0.028581 0.166622 0.496774
v 0.028581 0.166622 0.325575
v 0.028581 0.166622 0.439611
v -0.028581 0.166622 0.325575
v -0.028581 0.166622 0.439611
v -0.028581 0.370885 0.439611
v -0.028581 0.497782 0.439611
v 0.028581 0.497782 0.439611
v 0.028581 0.370885 0.439611
v 0.028581 0.370885 0.496774
v 0.028581 0.497782 0.496774
v -0.028581 0.497782 0.496774
v -0.028581 0.370885 0.496774
v -0.028581 0.370885 0.325575
v -0.028581 0.497782 0.325575
v -0.028581 0.497782 0.268412
v -0.028581 0.370885 0.268412
v 0.028581 0.370885 0.268412
v 0.028581 0.497782 0.268412
v 0.028581 0.497782 0.325575
v 0.028581 0.370885 0.325575
v -0.138251 0.483868 0.541156
v -0.138251 0.483868 0.444371
v -0.138251 0.459446 0.541156
v -0.138251 0.465184 0.541156
v -0.107395 0.483868 0.541156
v -0.114848 0.483868 0.541156
v -0.107395 0.465184 0.541156
v -0.107395 0.459446 0.541156
v -0.114848 0.465184 0.541156
v -0.114848 0.459446 0.541156
v -0.107395 0.459446 0.597615
v -0.107395 0.465184 0.597615
v -0.114848 0.459446 0.597615
v -0.114848 0.465184 0.597615
v -0.138251 0.449042 0.541156
v -0.107395 0.449042 0.541156
v -0.114848 0.449042 0.541156
v -0.107395 0.449042 0.597615
v -0.114848 0.449042 0.597615
v -0.107395 0.431511 0.541156
v -0.114848 0.431511 0.541156
v -0.107395 0.431511 0.566450
v -0.114848 0.431511 0.566450
v -0.138251 0.431511 0.541156
v 0.138251 0.483868 0.541156
v 0.138251 0.483868 0.444371
v 0.000000 0.483868 0.541156
v 0.000000 0.483868 0.444371
v 0.138251 0.459446 0.541156
v 0.138251 0.465184 0.541156
v 0.000000 0.465184 0.541156
v 0.000000 0.459446 0.541156
v 0.107395 0.483868 0.541156
v 0.114848 0.483868 0.541156
v 0.107395 0.465184 0.541156
v 0.107395 0.459446 0.541156
v 0.114848 0.465184 0.541156
v 0.114848 0.459446 0.541156
v 0.000000 0.465184 0.597615
v 0.000000 0.459446 0.597615
v 0.107395 0.459446 0.597615
v 0.107395 0.465184 0.597615
v 0.114848 0.459446 0.597615
v 0.114848 0.465184 0.597615
v 0.000000 0.449042 0.541156
v 0.138251 0.449042 0.541156
v 0.107395 0.449042 0.541156
v 0.114848 0.449042 0.541156
v 0.107395 0.449042 0.597615
v 0.114848 0.449042 0.597615
v 0.000000 0.431511 0.541156
v 0.107395 0.431511 0.541156
v 0.114848 0.431511 0.541156
v 0.107395 0.431511 0.566450
v 0.114848 0.431511 0.566450
v 0.138251 0.431511 0.541156
v -0.138251 0.154897 0.541156
v -0.138251 0.154897 0.444371
v -0.138251 0.179319 0.541156
v -0.138251 0.173581 0.541156
v -0.107395 0.154897 0.541156
v -0.114848 0.154897 0.541156
v -0.107395 0.173581 0.541156
v -0.107395 0.179319 0.541156
v -0.114848 0.173581 0.541156
v -0.114848 0.179319 0.541156
v -0.107395 0.179319 0.566450
v -0.107395 0.173581 0.566450
v -0.114848 0.179319 0.566450
v -0.114848 0.173581 0.566450
v -0.138251 0.189722 0.541156
v -0.107395 0.189722 0.541156
v -0.114848 0.189722 0.541156
v -0.107395 0.189722 0.566450
v -0.114848 0.189722 0.566450
v -0.107395 0.207254 0.541156
v -0.114848 0.207254 0.541156
v -0.107395 0.207254 0.566450
v -0.114848 0.207254 0.566450
v -0.138251 0.207254 0.541156
v -0.138251 0.319382 0.541156
v -0.138251 0.319382 0.444371
v -0.114848 0.319382 0.541156
v -0.107395 0.319382 0.541156
v -0.114848 0.319382 0.566450
v -0.107395 0.319382 0.566450
v 0.138251 0.154897 0.541156
v 0.138251 0.154897 0.444371
v 0.000000 0.154897 0.541156
v 0.000000 0.154897 0.444371
v 0.138251 0.179319 0.541156
v 0.138251 0.173581 0.541156
v 0.000000 0.173581 0.541156
v 0.000000 0.179319 0.541156
v 0.107395 0.154897 0.541156
v 0.114848 0.154897 0.541156
v 0.107395 0.173581 0.541156
v 0.107395 0.179319 0.541156
v 0.114848 0.173581 0.541156
v 0.114848 0.179319 0.541156
v 0.000000 0.173581 0.566450
v 0.000000 0.179319 0.566450
v 0.107395 0.179319 0.566450
v 0.107395 0.173581 0.566450
v 0.114848 0.179319 0.566450
v 0.114848 0.173581 0.566450
v 0.000000 0.189722 0.541156
v 0.138251 0.189722 0.541156
v 0.107395 0.189722 0.541156
v 0.114848 0.189722 0.541156
v 0.107395 0.189722 0.566450
v 0.114848 0.189722 0.566450
v 0.000000 0.207254 0.541156
v 0.107395 0.207254 0.541156
v 0.114848 0.207254 0.541156
v 0.107395 0.207254 0.566450
v 0.114848 0.207254 0.566450
v 0.138251 0.207254 0.541156
v 0.138251 0.319382 0.541156
v 0.138251 0.319382 0.444371
v 0.000000 0.319382 0.541156
v 0.000000 0.319382 0.444371
v 0.114848 0.319382 0.541156
v 0.107395 0.319382 0.541156
v 0.114848 0.319382 0.566450
v 0.107395 0.319382 0.566450
vt 0.646743 0.371805
vt 0.646743 0.142471
vt 0.705619 0.142471
vt 0.646743 0.000000
vt 0.705619 0.000000
vt 0.470413 0.743610
vt 0.470413 0.514276
vt 0.529289 0.514276
vt 0.470413 0.371805
vt 0.529289 0.371805
vt 0.705619 0.371805
vt 0.764495 0.142471
vt 0.764495 0.000000
vt 0.941124 0.371805
vt 0.941124 0.142471
vt 1.000000 0.142471
vt 0.941124 0.000000
vt 1.000000 0.000000
vt 0.882248 0.743610
vt 0.882248 0.514276
vt 0.941124 0.514276
vt 0.882248 0.371805
vt 0.117752 0.972944
vt 0.117752 0.743610
vt 0.176628 0.743610
vt 0.470413 0.142471
vt 0.529289 0.142471
vt 0.470413 0.000000
vt 0.529289 0.000000
vt 0.646743 0.743610
vt 0.646743 0.514276
vt 0.705619 0.514276
vt 0.529289 0.743610
vt 0.529289 0.871642
vt 0.588165 0.743610
vt 0.411537 0.743610
vt 0.411537 0.514276
vt 0.411537 0.371805
vt 0.235206 0.371805
vt 0.235206 0.142471
vt 0.294083 0.142471
vt 0.235206 0.000000
vt 0.294083 0.000000
vt 0.823372 0.371805
vt 0.823372 0.142471
vt 0.882248 0.142471
vt 0.823372 0.000000
vt 0.882248 0.000000
vt 0.764495 0.743610
vt 0.764495 0.514276
vt 0.823372 0.514276
vt 0.764495 0.371805
vt 0.176628 0.972944
vt 0.235504 0.743610
vt 0.235206 0.743610
vt 0.235206 0.514276
vt 0.294083 0.514276
vt 0.294083 0.371805
vt 0.411537 0.142471
vt 0.411537 0.000000
vt 0.294381 0.743610
vt 0.353257 0.743610
vt 0.353257 0.871643
vt 0.411537 0.871642
vt 0.058876 0.371805
vt 0.058876 0.601139
vt 0.000000 0.601139
vt 0.058876 0.743610
vt 0.000000 0.743610
vt 0.000000 0.371805
vt 0.000000 0.142471
vt 0.058876 0.142471
vt 0.000000 0.000000
vt 0.058876 0.000000
vt 0.705619 0.743610
vt 0.823372 0.743610
vt 0.058876 0.972944
vt 0.235206 0.601139
vt 0.176330 0.601139
vt 0.176330 0.743610
vt 0.176330 0.371805
vt 0.176330 0.142471
vt 0.176330 0.000000
vt 0.294381 0.871643
vt 0.000000 0.935821
vt 0.000000 0.807789
vt 0.058876 0.807789
vt 0.058876 0.935821
vt 0.058876 1.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 1.000000 0.371805
vt 0.941124 0.743610
vt 0.470413 0.871642
vt 0.588165 0.871642
vt 0.235505 0.972944
vt 0.294083 0.743610
vt 0.235505 0.871643
vt 0.665377 0.373761
vt 0.772053 0.346842
vt 0.772053 0.353167
vt 0.490653 0.373761
vt 0.490653 0.192467
vt 0.643030 0.192467
vt 0.011173 0.316053
vt 0.011173 0.192467
vt 0.036968 0.192467
vt 0.551766 0.888289
vt 0.585764 0.781041
vt 0.585769 0.781634
vt 0.292586 0.674069
vt 0.292629 0.550483
vt 0.410998 0.550524
vt 0.019388 0.948870
vt 0.019388 0.886643
vt 0.137756 0.886643
vt 0.045182 0.373761
vt 0.045182 0.353168
vt 0.163551 0.353167
vt 0.011173 0.948870
vt 0.011173 0.886643
vt 0.036968 0.373761
vt 0.036968 0.353168
vt 0.011173 0.373761
vt 0.011173 0.353168
vt 0.011173 0.346842
vt 0.036968 0.346842
vt 0.011173 0.678014
vt 0.011583 0.555988
vt 0.019722 0.556019
vt 0.020806 0.733322
vt 0.020483 0.727150
vt 0.139957 0.720157
vt 0.012751 0.733737
vt 0.012436 0.727539
vt 0.856627 0.319924
vt 0.794399 0.319924
vt 0.794399 0.308458
vt 0.405055 0.886643
vt 0.405055 0.948870
vt 0.286686 0.948870
vt 0.765364 0.711183
vt 0.827591 0.711183
vt 0.827592 0.717508
vt 0.765364 0.556808
vt 0.793243 0.556808
vt 0.793243 0.680394
vt 0.765364 0.699717
vt 0.827591 0.699717
vt 0.856627 0.308458
vt 0.828748 0.289135
vt 0.011935 0.716293
vt 0.019940 0.716025
vt 0.292576 0.704858
vt 0.292580 0.693392
vt 0.410948 0.693433
vt 0.011173 0.335376
vt 0.036968 0.335376
vt 0.856627 0.289135
vt 0.828749 0.165549
vt 0.765364 0.680394
vt 0.019200 0.677955
vt 0.410955 0.674110
vt 0.036968 0.316053
vt 0.551768 0.700990
vt 0.658443 0.577402
vt 0.658442 0.758694
vt 0.338275 0.192467
vt 0.290134 0.192467
vt 0.315929 0.192467
vt 0.315929 0.316053
vt 0.822460 0.781634
vt 0.856462 0.888289
vt 0.704114 0.888289
vt 0.529366 0.550565
vt 0.529324 0.674151
vt 0.256125 0.886643
vt 0.256125 0.948870
vt 0.281920 0.353167
vt 0.281920 0.373761
vt 0.264339 0.886643
vt 0.264339 0.948870
vt 0.290134 0.353167
vt 0.290134 0.373761
vt 0.315929 0.353167
vt 0.315929 0.373761
vt 0.290134 0.346842
vt 0.315929 0.346842
vt 0.257912 0.557015
vt 0.266077 0.556832
vt 0.270229 0.678520
vt 0.260857 0.727988
vt 0.260493 0.734236
vt 0.269006 0.728421
vt 0.912166 0.693392
vt 0.912166 0.704858
vt 0.849938 0.704858
vt 0.523424 0.948870
vt 0.680790 0.717508
vt 0.680790 0.711183
vt 0.743017 0.711183
vt 0.715139 0.680394
vt 0.715139 0.556808
vt 0.743017 0.556808
vt 0.680790 0.699717
vt 0.743017 0.699717
vt 0.877817 0.674069
vt 0.849938 0.693392
vt 0.261459 0.716736
vt 0.269558 0.717023
vt 0.529317 0.693474
vt 0.529313 0.704940
vt 0.290134 0.335376
vt 0.315929 0.335376
vt 0.877817 0.550483
vt 0.849938 0.674069
vt 0.262231 0.678588
vt 0.290134 0.316053
vt 0.772053 0.068880
vt 0.665377 0.192466
vt 0.665378 0.011173
vt 0.490653 0.011173
vt 0.011173 0.068881
vt 0.045176 0.863703
vt 0.011173 0.757048
vt 0.163521 0.757048
vt 0.292671 0.426896
vt 0.678349 0.938558
vt 0.559981 0.938517
vt 0.559990 0.910638
vt 0.163551 0.031767
vt 0.045182 0.031767
vt 0.045182 0.011173
vt 0.551766 0.938514
vt 0.551776 0.910636
vt 0.036968 0.031767
vt 0.036968 0.011173
vt 0.011173 0.031767
vt 0.011173 0.011173
vt 0.036968 0.038092
vt 0.011173 0.038092
vt 0.012099 0.433087
vt 0.138415 0.402789
vt 0.020379 0.402437
vt 0.020398 0.396131
vt 0.012192 0.402412
vt 0.828749 0.022639
vt 0.828749 0.011173
vt 0.856627 0.011173
vt 0.551766 0.960948
vt 0.670135 0.960948
vt 0.670135 0.988827
vt 0.793243 0.396107
vt 0.793243 0.402432
vt 0.765364 0.402432
vt 0.793243 0.433221
vt 0.793243 0.413898
vt 0.765364 0.413898
vt 0.828749 0.041962
vt 0.856627 0.022639
vt 0.020343 0.413865
vt 0.012159 0.413840
vt 0.411047 0.407614
vt 0.292678 0.407573
vt 0.292682 0.396107
vt 0.036968 0.049558
vt 0.011173 0.049558
vt 0.856627 0.041962
vt 0.765364 0.433221
vt 0.020276 0.433118
vt 0.411040 0.426937
vt 0.036968 0.068881
vt 0.658442 0.396107
vt 0.551767 0.423026
vt 0.551767 0.416701
vt 0.315929 0.068880
vt 0.315869 0.757048
vt 0.281872 0.864296
vt 0.281867 0.863702
vt 0.529409 0.426978
vt 0.796728 0.910720
vt 0.796718 0.938599
vt 0.281920 0.011173
vt 0.281920 0.031767
vt 0.804942 0.910723
vt 0.804932 0.938601
vt 0.290134 0.011173
vt 0.290134 0.031767
vt 0.315929 0.011173
vt 0.315929 0.031767
vt 0.315929 0.038092
vt 0.290134 0.038092
vt 0.264798 0.433076
vt 0.256461 0.396133
vt 0.256482 0.402439
vt 0.264648 0.396107
vt 0.264668 0.402411
vt 0.849939 0.396107
vt 0.877817 0.396107
vt 0.877817 0.407573
vt 0.788504 0.960948
vt 0.743017 0.402432
vt 0.715139 0.402432
vt 0.715139 0.396107
vt 0.715139 0.433221
vt 0.743017 0.413898
vt 0.715139 0.413898
vt 0.849939 0.407573
vt 0.877817 0.426896
vt 0.264708 0.413837
vt 0.256523 0.413870
vt 0.529420 0.396189
vt 0.529416 0.407655
vt 0.315929 0.049558
vt 0.290134 0.049558
vt 0.849939 0.426896
vt 0.743017 0.433221
vt 0.256621 0.433134
vt 0.290134 0.068880
vt 0.772053 0.373761
vt 0.772053 0.316053
vt 0.772053 0.335376
vt 0.772053 0.192466
vt 0.643030 0.373761
vt 0.704114 0.781634
vt 0.551766 0.781634
vt 0.137756 0.948870
vt 0.163551 0.373761
vt 0.139936 0.726612
vt 0.286686 0.886643
vt 0.765364 0.717508
vt 0.410944 0.704899
vt 0.856627 0.165548
vt 0.551768 0.758694
vt 0.551768 0.738101
vt 0.551768 0.731777
vt 0.551768 0.720312
vt 0.551767 0.577402
vt 0.338275 0.373761
vt 0.839461 0.781486
vt 0.856462 0.781634
vt 0.268654 0.734701
vt 0.523424 0.886643
vt 0.743017 0.717508
vt 0.743017 0.680394
vt 0.849938 0.550483
vt 0.772053 0.011174
vt 0.772053 0.031767
vt 0.772053 0.038091
vt 0.772053 0.049557
vt 0.643030 0.011173
vt 0.163521 0.863702
vt 0.028174 0.863851
vt 0.011173 0.863703
vt 0.678359 0.910679
vt 0.163551 0.011173
vt 0.138415 0.396480
vt 0.012211 0.396107
vt 0.551766 0.988827
vt 0.765364 0.396107
vt 0.411051 0.396148
vt 0.551766 0.396108
vt 0.551767 0.453815
vt 0.551767 0.434492
vt 0.338275 0.011173
vt 0.315869 0.863702
vt 0.788504 0.988827
vt 0.743017 0.396107
vn 1.000000 0.000000 0.000000
vn -1.000000 0.000000 -0.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 -1.000000 -0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 -0.871600 0.490300
g HsVsAnzUnten_Cube.009_Mast
usemtl Mast
s off
f 6/1/1 12/2/1 13/3/1
f 12/2/1 11/4/1 14/5/1
f 3/6/2 16/7/2 9/8/2
f 16/7/2 15/9/2 10/10/2
f 4/11/3 13/3/3 16/12/3
f 13/3/3 14/5/3 15/13/3
f 8/14/4 9/15/4 12/16/4
f 9/15/4 10/17/4 11/18/4
f 2/19/4 20/20/4 21/21/4
f 20/20/4 19/22/4 22/14/4
f 5/23/3 24/24/3 17/25/3
f 1/9/1 21/26/1 24/27/1
f 21/26/1 22/28/1 23/29/1
f 7/30/2 17/31/2 20/32/2
f 17/31/2 18/1/2 19/11/2
f 23/29/1 11/4/1 12/2/1
f 17/6/5 24/33/5 12/34/5
f 17/31/2 9/8/2 10/10/2
f 18/34/6 10/33/6 11/35/6
f 30/36/1 36/37/1 37/7/1
f 36/37/1 35/38/1 38/9/1
f 27/39/2 40/40/2 33/41/2
f 40/40/2 39/42/2 34/43/2
f 28/44/3 37/45/3 40/46/3
f 37/45/3 38/47/3 39/48/3
f 32/49/4 33/50/4 36/51/4
f 33/50/4 34/52/4 35/44/4
f 26/52/4 44/12/4 45/45/4
f 44/12/4 43/13/4 46/47/4
f 29/53/3 48/25/3 41/54/3
f 25/55/1 45/56/1 48/57/1
f 45/56/1 46/39/1 47/58/1
f 31/38/2 41/59/2 44/26/2
f 41/59/2 42/60/2 43/28/2
f 47/58/1 35/38/1 36/37/1
f 41/61/5 48/62/5 36/63/5
f 41/59/2 33/41/2 34/43/2
f 42/64/6 34/36/6 35/6/6
f 54/65/1 60/66/1 61/67/1
f 60/66/1 59/68/1 62/69/1
f 51/70/2 64/71/2 57/72/2
f 64/71/2 63/73/2 58/74/2
f 52/75/3 61/32/3 64/50/3
f 61/32/3 62/11/3 63/52/3
f 56/22/4 57/46/4 60/15/4
f 57/46/4 58/48/4 59/17/4
f 50/76/4 68/51/4 69/20/4
f 68/51/4 67/44/4 70/22/4
f 53/77/3 72/68/3 65/24/3
f 49/39/1 69/78/1 72/79/1
f 69/78/1 70/55/1 71/80/1
f 55/81/2 65/82/2 68/40/2
f 65/82/2 66/83/2 67/42/2
f 71/80/1 59/68/1 60/66/1
f 65/54/5 72/61/5 60/84/5
f 65/82/2 57/72/2 58/74/2
f 66/85/6 58/86/6 59/87/6
f 66/85/6 71/88/6 70/89/6
f 58/86/6 63/69/6 62/68/6
f 112/18/2 111/90/2 103/91/2
f 156/18/5 158/90/5 157/91/5
f 165/18/2 173/90/2 174/91/2
f 197/18/5 198/90/5 196/91/5
f 4/11/1 6/1/1 13/3/1
f 13/3/1 12/2/1 14/5/1
f 8/33/2 3/6/2 9/8/2
f 9/8/2 16/7/2 10/10/2
f 3/52/3 4/11/3 16/12/3
f 16/12/3 13/3/3 15/13/3
f 6/92/4 8/14/4 12/16/4
f 12/16/4 9/15/4 11/18/4
f 1/93/4 2/19/4 21/21/4
f 21/21/4 20/20/4 22/14/4
f 7/53/3 5/23/3 17/25/3
f 5/10/1 1/9/1 24/27/1
f 24/27/1 21/26/1 23/29/1
f 2/75/2 7/30/2 20/32/2
f 20/32/2 17/31/2 19/11/2
f 24/27/1 23/29/1 12/2/1
f 9/94/5 17/6/5 12/34/5
f 18/1/2 17/31/2 10/10/2
f 23/95/6 18/34/6 11/35/6
f 28/6/1 30/36/1 37/7/1
f 37/7/1 36/37/1 38/9/1
f 32/58/2 27/39/2 33/41/2
f 33/41/2 40/40/2 34/43/2
f 27/22/3 28/44/3 40/46/3
f 40/46/3 37/45/3 39/48/3
f 30/76/4 32/49/4 36/51/4
f 36/51/4 33/50/4 35/44/4
f 25/44/4 26/52/4 45/45/4
f 45/45/4 44/12/4 46/47/4
f 31/96/3 29/53/3 41/54/3
f 29/97/1 25/55/1 48/57/1
f 48/57/1 45/56/1 47/58/1
f 26/9/2 31/38/2 44/26/2
f 44/26/2 41/59/2 43/28/2
f 48/57/1 47/58/1 36/37/1
f 33/84/5 41/61/5 36/63/5
f 42/60/2 41/59/2 34/43/2
f 47/94/6 42/64/6 35/6/6
f 52/70/1 54/65/1 61/67/1
f 61/67/1 60/66/1 62/69/1
f 56/65/2 51/70/2 57/72/2
f 57/72/2 64/71/2 58/74/2
f 51/49/3 52/75/3 64/50/3
f 64/50/3 61/32/3 63/52/3
f 54/14/4 56/22/4 60/15/4
f 60/15/4 57/46/4 59/17/4
f 49/19/4 50/76/4 69/20/4
f 69/20/4 68/51/4 70/22/4
f 55/23/3 53/77/3 65/24/3
f 53/81/1 49/39/1 72/79/1
f 72/79/1 69/78/1 71/80/1
f 50/39/2 55/81/2 68/40/2
f 68/40/2 65/82/2 67/42/2
f 72/79/1 71/80/1 60/66/1
f 57/98/5 65/54/5 60/84/5
f 66/83/2 65/82/2 58/74/2
f 71/88/6 66/85/6 59/87/6
f 67/91/6 66/85/6 70/89/6
f 59/87/6 58/86/6 62/68/6
f 104/73/2 112/18/2 103/91/2
f 155/73/5 156/18/5 157/91/5
f 166/73/2 165/18/2 174/91/2
f 195/73/5 197/18/5 196/91/5
g HsVsAnzUnten_Cube.009_Schirm
usemtl Schirm
f 74/99/2 75/100/2 76/101/2
f 100/102/4 194/103/4 154/104/4
f 96/105/3 153/106/3 155/107/3
f 74/108/6 78/109/6 77/110/6
f 92/111/3 156/112/3 193/113/3
f 79/114/6 84/115/6 111/116/6
f 77/117/3 79/118/3 103/119/3
f 81/120/6 86/121/6 84/115/6
f 78/122/3 81/123/3 79/118/3
f 73/124/3 76/125/3 81/123/3
f 76/125/3 75/126/3 82/127/3
f 95/128/3 157/129/3 158/130/3
f 84/131/3 83/132/3 112/133/3
f 84/131/3 86/134/3 85/135/3
f 80/136/1 83/137/1 90/138/1
f 104/139/5 112/140/5 83/141/5
f 82/142/2 85/143/2 86/144/2
f 155/145/2 157/146/2 95/147/2
f 89/148/2 91/149/2 85/143/2
f 88/150/1 90/138/1 94/151/1
f 85/135/3 91/152/3 90/153/3
f 80/154/3 88/155/3 117/156/3
f 75/126/3 87/157/3 89/158/3
f 92/159/1 94/151/1 158/160/1
f 89/148/2 93/161/2 95/147/2
f 91/152/7 95/128/7 94/162/7
f 88/155/3 92/111/3 123/163/3
f 87/157/3 96/105/3 93/164/3
f 128/165/1 192/166/1 98/167/1
f 192/168/4 194/103/4 100/102/4
f 195/169/3 191/170/3 128/171/3
f 105/172/6 98/173/6 100/174/6
f 193/113/3 196/175/3 124/176/3
f 111/116/6 114/177/6 107/178/6
f 103/119/3 107/179/3 105/180/3
f 114/177/6 116/181/6 109/182/6
f 107/179/3 109/183/3 106/184/3
f 109/183/3 102/185/3 97/186/3
f 110/187/3 101/188/3 102/185/3
f 198/189/3 197/190/3 127/191/3
f 112/133/3 113/192/3 114/193/3
f 114/193/3 113/192/3 115/194/3
f 121/195/2 113/196/2 108/197/2
f 113/198/5 112/140/5 104/139/5
f 116/199/1 115/200/1 110/201/1
f 127/202/1 197/203/1 195/204/1
f 115/200/1 122/205/1 120/206/1
f 126/207/2 121/195/2 119/208/2
f 121/209/3 122/210/3 115/194/3
f 117/156/3 119/211/3 108/212/3
f 120/213/3 118/214/3 101/188/3
f 198/215/2 126/207/2 124/216/2
f 120/206/1 122/205/1 127/202/1
f 126/217/7 127/191/7 122/210/7
f 123/163/3 124/176/3 119/211/3
f 125/218/3 128/171/3 118/214/3
f 152/219/2 154/220/2 130/221/2
f 154/104/4 194/103/4 162/222/4
f 155/107/3 153/106/3 152/223/3
f 133/224/5 130/225/5 162/226/5
f 193/113/3 156/112/3 148/227/3
f 173/228/5 140/229/5 135/230/5
f 165/231/3 135/232/3 133/233/3
f 140/229/5 142/234/5 137/235/5
f 135/232/3 137/236/3 134/237/3
f 137/236/3 132/238/3 129/239/3
f 138/240/3 131/241/3 132/238/3
f 158/130/3 157/129/3 151/242/3
f 174/243/3 139/244/3 140/245/3
f 140/245/3 139/244/3 141/246/3
f 146/247/1 139/248/1 136/249/1
f 139/250/6 174/251/6 166/252/6
f 142/253/2 141/254/2 138/255/2
f 151/256/2 157/146/2 155/145/2
f 141/254/2 147/257/2 145/258/2
f 150/259/1 146/247/1 144/260/1
f 146/261/3 147/262/3 141/246/3
f 179/263/3 144/264/3 136/265/3
f 145/266/3 143/267/3 131/241/3
f 158/160/1 150/259/1 148/268/1
f 147/257/2 151/256/2 149/269/2
f 150/270/3 151/242/3 147/262/3
f 185/271/3 148/227/3 144/264/3
f 149/272/3 152/223/3 143/267/3
f 160/273/1 163/274/1 164/275/1
f 162/222/4 194/103/4 192/168/4
f 190/276/3 191/170/3 195/169/3
f 160/277/5 168/278/5 167/279/5
f 186/280/3 196/175/3 193/113/3
f 169/281/5 176/282/5 173/228/5
f 167/283/3 169/284/3 165/231/3
f 171/285/5 178/286/5 176/282/5
f 168/287/3 171/288/3 169/284/3
f 159/289/3 164/290/3 171/288/3
f 164/290/3 163/291/3 172/292/3
f 189/293/3 197/190/3 198/189/3
f 176/294/3 175/295/3 174/243/3
f 176/294/3 178/296/3 177/297/3
f 170/298/2 175/299/2 183/300/2
f 166/252/6 174/251/6 175/301/6
f 172/302/1 177/303/1 178/304/1
f 195/204/1 197/203/1 189/305/1
f 182/306/1 184/307/1 177/303/1
f 181/308/2 183/300/2 188/309/2
f 177/297/3 184/310/3 183/311/3
f 170/312/3 181/313/3 179/263/3
f 163/291/3 180/314/3 182/315/3
f 186/316/2 188/309/2 198/215/2
f 187/317/1 189/305/1 184/307/1
f 184/310/3 189/293/3 188/318/3
f 181/313/3 186/280/3 185/271/3
f 180/314/3 190/276/3 187/319/3
f 76/101/2 73/320/2 74/99/2
f 74/99/2 96/321/2 87/322/2
f 153/323/2 96/321/2 154/220/2
f 87/322/2 75/100/2 74/99/2
f 154/220/2 96/321/2 74/99/2
f 74/324/4 100/102/4 154/104/4
f 93/164/3 96/105/3 155/107/3
f 77/110/6 99/325/6 100/174/6
f 100/174/6 74/108/6 77/110/6
f 73/326/6 78/109/6 74/108/6
f 123/163/3 92/111/3 193/113/3
f 103/327/6 79/114/6 111/116/6
f 99/328/3 77/117/3 103/119/3
f 79/114/6 81/120/6 84/115/6
f 77/117/3 78/122/3 79/118/3
f 78/122/3 73/124/3 81/123/3
f 81/123/3 76/125/3 82/127/3
f 94/162/3 95/128/3 158/130/3
f 111/329/3 84/131/3 112/133/3
f 83/132/3 84/131/3 85/135/3
f 88/150/1 80/136/1 90/138/1
f 80/330/5 104/139/5 83/141/5
f 81/331/2 82/142/2 86/144/2
f 93/161/2 155/145/2 95/147/2
f 82/142/2 89/148/2 85/143/2
f 92/159/1 88/150/1 94/151/1
f 83/132/3 85/135/3 90/153/3
f 104/332/3 80/154/3 117/156/3
f 82/127/3 75/126/3 89/158/3
f 156/333/1 92/159/1 158/160/1
f 91/149/2 89/148/2 95/147/2
f 90/153/7 91/152/7 94/162/7
f 117/156/3 88/155/3 123/163/3
f 89/158/3 87/157/3 93/164/3
f 98/167/1 97/334/1 102/335/1
f 102/335/1 101/336/1 98/167/1
f 118/337/1 128/165/1 98/167/1
f 191/338/1 192/166/1 128/165/1
f 98/167/1 101/336/1 118/337/1
f 98/339/4 192/168/4 100/102/4
f 125/218/3 195/169/3 128/171/3
f 100/174/6 99/325/6 105/172/6
f 105/172/6 106/340/6 98/173/6
f 97/341/6 98/173/6 106/340/6
f 123/163/3 193/113/3 124/176/3
f 103/327/6 111/116/6 107/178/6
f 99/328/3 103/119/3 105/180/3
f 107/178/6 114/177/6 109/182/6
f 105/180/3 107/179/3 106/184/3
f 106/184/3 109/183/3 97/186/3
f 109/183/3 110/187/3 102/185/3
f 126/217/3 198/189/3 127/191/3
f 111/329/3 112/133/3 114/193/3
f 116/342/3 114/193/3 115/194/3
f 119/208/2 121/195/2 108/197/2
f 108/343/5 113/198/5 104/139/5
f 109/344/1 116/199/1 110/201/1
f 125/345/1 127/202/1 195/204/1
f 110/201/1 115/200/1 120/206/1
f 124/216/2 126/207/2 119/208/2
f 113/192/3 121/209/3 115/194/3
f 104/332/3 117/156/3 108/212/3
f 110/187/3 120/213/3 101/188/3
f 196/346/2 198/215/2 124/216/2
f 125/345/1 120/206/1 127/202/1
f 121/209/7 126/217/7 122/210/7
f 117/156/3 123/163/3 119/211/3
f 120/213/3 125/218/3 118/214/3
f 130/221/2 129/347/2 132/348/2
f 132/348/2 131/349/2 130/221/2
f 143/350/2 152/219/2 130/221/2
f 153/323/2 154/220/2 152/219/2
f 130/221/2 131/349/2 143/350/2
f 130/351/4 154/104/4 162/222/4
f 149/272/3 155/107/3 152/223/3
f 162/226/5 161/352/5 133/224/5
f 133/224/5 134/353/5 130/225/5
f 129/354/5 130/225/5 134/353/5
f 185/271/3 193/113/3 148/227/3
f 165/355/5 173/228/5 135/230/5
f 161/356/3 165/231/3 133/233/3
f 135/230/5 140/229/5 137/235/5
f 133/233/3 135/232/3 134/237/3
f 134/237/3 137/236/3 129/239/3
f 137/236/3 138/240/3 132/238/3
f 150/270/3 158/130/3 151/242/3
f 173/357/3 174/243/3 140/245/3
f 142/358/3 140/245/3 141/246/3
f 144/260/1 146/247/1 136/249/1
f 136/359/6 139/250/6 166/252/6
f 137/360/2 142/253/2 138/255/2
f 149/269/2 151/256/2 155/145/2
f 138/255/2 141/254/2 145/258/2
f 148/268/1 150/259/1 144/260/1
f 139/244/3 146/261/3 141/246/3
f 166/361/3 179/263/3 136/265/3
f 138/240/3 145/266/3 131/241/3
f 156/333/1 158/160/1 148/268/1
f 145/258/2 147/257/2 149/269/2
f 146/261/3 150/270/3 147/262/3
f 179/263/3 185/271/3 144/264/3
f 145/266/3 149/272/3 143/267/3
f 164/275/1 159/362/1 160/273/1
f 160/273/1 190/363/1 180/364/1
f 191/338/1 190/363/1 192/166/1
f 180/364/1 163/274/1 160/273/1
f 192/166/1 190/363/1 160/273/1
f 160/365/4 162/222/4 192/168/4
f 187/319/3 190/276/3 195/169/3
f 167/279/5 161/352/5 162/226/5
f 162/226/5 160/277/5 167/279/5
f 159/366/5 168/278/5 160/277/5
f 185/271/3 186/280/3 193/113/3
f 165/355/5 169/281/5 173/228/5
f 161/356/3 167/283/3 165/231/3
f 169/281/5 171/285/5 176/282/5
f 167/283/3 168/287/3 169/284/3
f 168/287/3 159/289/3 171/288/3
f 171/288/3 164/290/3 172/292/3
f 188/318/3 189/293/3 198/189/3
f 173/357/3 176/294/3 174/243/3
f 175/295/3 176/294/3 177/297/3
f 181/308/2 170/298/2 183/300/2
f 170/367/6 166/252/6 175/301/6
f 171/368/1 172/302/1 178/304/1
f 187/317/1 195/204/1 189/305/1
f 172/302/1 182/306/1 177/303/1
f 186/316/2 181/308/2 188/309/2
f 175/295/3 177/297/3 183/311/3
f 166/361/3 170/312/3 179/263/3
f 172/292/3 163/291/3 182/315/3
f 196/346/2 186/316/2 198/215/2
f 182/306/1 187/317/1 184/307/1
f 183/311/3 184/310/3 188/318/3
f 179/263/3 181/313/3 185/271/3
f 182/315/3 180/314/3 187/319/3