Example #1
0
        public Casa2()
        {
            ws = new WallStrip(0, 270);
            ws.CloseFrom(false);
            ws.CloseTo(false);
            piso  = new Piso(x1, z1, x2, z2, 10);
            techo = new Techo(x1, z1, x2, z2, 20, height - 10 - 20);
//			piso = new Piso(521.5,603,-344,-670,10);
//			techo = new Techo(521.5,603,-344,-670,20,270);
            #region BalconRecibidor
            //Pared exterior de la sala
            //1
            ws.BeginStrip(false, true);
            ws.CloseTo(true);
            ws.Add(491.5, -10, 491.5, 373, "woden glass woden");
//			ws.Add(491.5,-10,491.5,373,"woden");
            ws.CloseTo(false);

            ws.AddTo(491.5, 523, "glass");
            ws.AddTo(296, 573, "glass");
            ws.CloseFrom(true);
            ws.AddTo(184, 573);
            ws.CloseFrom(false);
            ws.AddTo(184, 318);
            ws.EndStrip();
            #endregion
            #region salaCocina - division entre la sala y la cocina
            ws.BeginStrip(false, false);
            ws.Add(178, 416, 103, 416, "reversed door");
            ws.AddTo(0, 416);
            ws.AddTo(-103, 318);
            ws.AddTo(-103, 37);
            ws.AddTo(-103, -37, "passage");
            ws.EndStrip();

//			ws.BeginStrip(false,true);
//			ws.Add(-103,-37,-103,37,"passage");
//			ws.AddTo(-103,318);
//			ws.AddTo(0,416);
//			ws.AddTo(103,416);
//			ws.AddTo(178,416,"door");
//			ws.EndStrip();
            #endregion
            #region outterShell
            //9
            ws.BeginStrip(false, false);
            ws.Add(-103, -37, -103, -288);
            ws.AddTo(-103, -362, "door");
            ws.EndStrip();

            //8
            ws.BeginStrip(false, false);
            ws.Add(-103, -125, -314, -125);
            //ws.AddTo(-314,162,"woden woden",true);
            ws.AddTo(-230, 162);
            ws.AddTo(-103, 162);
            ws.EndStrip();

            //7
            ws.BeginStrip(false, true);
            ws.Add(-185, -125, -185, -220);
            ws.EndStrip();

            //6
            ws.BeginStrip(false, true);
            ws.Add(-314, -125, -314, -215);
            ws.AddTo(-268, -215);
            ws.EndStrip();

            //5
            ws.BeginStrip(false, false);
            ws.Add(-314, -215, -314, -480, "glass woden");
            ws.AddTo(-103, -480);
            ws.AddTo(-103, -362);
            ws.EndStrip();

            //4
            ws.BeginStrip(false, true);
            ws.Add(-314, -480, -314, -640);
            ws.AddTo(10, -640);
            ws.AddTo(10, -420);
            ws.AddTo(126, -420);
            ws.AddTo(126, -640);            // Idealmente, esta seria otro tipo de pared, "walk in closet" o algo asi.
            ws.EndStrip();

            //3
            ws.BeginStrip(false, true);
            ws.Add(10, -640, 491.5, -640, "glass woden");
            ws.AddTo(491.5, -325, "woden glass woden");
            ws.AddTo(71, -325);
            ws.EndStrip();
            ws.BeginStrip(false, false);
            ws.Add(88, -325, 88, -230, "passage");
            ws.EndStrip();
            ws.BeginStrip(false, false);
            ws.Add(88, -325, 86, -420, "passage");
            ws.EndStrip();

            //2
            ws.BeginStrip(false, true);
            ws.Add(491.5, -325, 491.5, -10, "woden glass woden");
            ws.AddTo(10, -5);
            ws.AddTo(10, -230);
            ws.AddTo(126, -230);
            ws.AddTo(126, -5);            // Idealmente, esta seria otro tipo de pared, "walk in closet" o algo asi.
            ws.EndStrip();
            #endregion
            //Puerta del banno
            ws.BeginStrip(false, false);
            ws.Add(10, -480, -103, -480, "passage");
            ws.EndStrip();
        }
Example #2
0
        public Museum2()
        {
            ws = new WallStrip(0, 270);
            ws.CloseFrom(false);
            ws.CloseTo(false);
            Lantai = new Lantai(x1, z1, x2, z2, 10);
            Atap   = new Atap(x1, z1, x2, z2, 20, tinggi - 10 - 20);
            #region Balkon
            //1
            ws.BeginStrip(false, true);
            ws.Add(491.5, -10, 491.5, 523, "glass");
            ws.AddTo(296, 573, "glass");
            ws.CloseFrom(true);
            ws.AddTo(184, 573);
            ws.CloseFrom(false);
            ws.AddTo(184, 318);
            ws.EndStrip();
            #endregion

            #region ruangLukisan
            ws.BeginStrip(false, false);
            ws.Add(178, 416, 103, 416, "reversed door");
            ws.AddTo(0, 416);
            ws.AddTo(-103, 318);
            ws.AddTo(-103, 37);
            ws.AddTo(-103, -37, "passage");
            ws.EndStrip();
            #endregion

            #region luar
            ws.BeginStrip(false, false);
            ws.Add(-103, -37, -103, -288);
            ws.EndStrip();

            ws.BeginStrip(false, false);
            ws.Add(-103, -125, -314, -125);
            ws.AddTo(-230, 162);
            ws.AddTo(-103, 162);
            ws.EndStrip();


            //6 kamar tengah
            ws.BeginStrip(false, true);
            ws.Add(-314, -125, -314, -215);
            ws.AddTo(-268, -215);
            ws.EndStrip();

            //5
            ws.BeginStrip(false, false);
            ws.Add(-314, -215, -314, -480, "glass woden");
            ws.EndStrip();

            //4
            ws.BeginStrip(false, true);
            ws.Add(-314, -480, -314, -640);
            ws.AddTo(126, -640);
            ws.EndStrip();

            //3 ruang tunggu
            ws.BeginStrip(false, true);
            ws.Add(10, -640, 491.5, -640, "glass woden");
            ws.AddTo(491.5, -325, "woden glass woden");
            ws.AddTo(71, -325);
            ws.EndStrip();
            ws.BeginStrip(false, false);
            ws.Add(88, -325, 88, -230, "door");
            ws.EndStrip();
            ws.BeginStrip(false, false);
            ws.EndStrip();

            //2
            ws.BeginStrip(false, true);
            ws.Add(491.5, -325, 491.5, -10, "woden glass woden");
            ws.AddTo(10, -5);
            ws.AddTo(10, -230);
            ws.AddTo(126, -230);
            ws.AddTo(126, -5);            // Idealmente, esta seria otro tipo de pared, "walk in closet" o algo asi.
            ws.EndStrip();
            #endregion

            ws.BeginStrip(false, false);
            ws.EndStrip();
        }