sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Solved] Move along Normal

    Scheduled Pinned Locked Moved Plugins
    24 Posts 6 Posters 1.3k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      driven
      last edited by

      Dean, I downloaded Pullman+Dispensary.skp
      changing window materials with ruby

      once done, you can select by material, make group, add the group to it's own layer and edit as needed...
      but, I'm not sure I understand your needs...
      john

      learn from the mistakes of others, you may not live long enough to make them all yourself...

      1 Reply Last reply Reply Quote 0
      • deaneauD Offline
        deaneau
        last edited by

        @driven you have a PM

        MADE, BORN AND LIVING IN BERLIN
        Big Thank You to all Programmers
        Some German words are so long that they have a perspective. M.Twain

        1 Reply Last reply Reply Quote 0
        • fredo6F Offline
          fredo6
          last edited by

          @deaneau said:

          a multi_comp move isnt the right word.
          all polygons have a normal. could be in sketchup,too.

          Indeed, this can be done of faces too, as they have a normal.

          The only problem is that when faces are connected, a Move would also extend its neighbour. But this can be overcome by a Copy / erase original.

          I thought this could be done with JPP, with the option PushPul and NO-Border, but apparently there is a bug in JPP (it erases adjacent faces).

          Fredo

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            @fredo6 said:

            @deaneau said:

            a multi_comp move isnt the right word.
            all polygons have a normal. could be in sketchup,too.

            Indeed, this can be done of faces too, as they have a normal.

            The only problem is that when faces are connected, a Move would also extend its neighbour. But this can be overcome by a Copy / erase original.

            I thought this could be done with JPP, with the option PushPul and NO-Border, but apparently there is a bug in JPP (it erases adjacent faces). Note that it works if you keep the original faces and copy them at the given offset (options Thickening + NO-Border)

            Fredo

            1 Reply Last reply Reply Quote 0
            • HornOxxH Offline
              HornOxx
              last edited by

              Hi Dean
              yes I know, that's not really what you are looking for and I probably embarrass myself
              suggesting the following. If you have placed your windows on the walls, perhaps you can use
              SkUp´s component's propertys in order to achieve your desired result - at least until there is
              the technical solution you are looking for.

              By the way, I like the look and feel of your nightly church windows - somehow Christmas like.


              0001.jpg

              never trust a skinny cook

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by

                Dean, I've been thinking about your 'problem' rather than your 'sought solution' [moving faces]...

                to STOP the flickering caused by having two faces in the same space, just don't have two faces...

                only use the original face and change the Material on a toggle...

                I made a little script called night_n_day, it toggle the window material from 0.4 to 0.95 opacity...

                here's a test on the UNMODIFIED model...

                to run I open the model fresh, open Materials and 'eyedrop' on any window, load the script into 'Ruby Console' and type night_n_day to toggle opacity...

                it could be set to darken all the bricks, tile, stuco, etc... at the same time, or be trigger by a scene change...

                I think moving geometry just over complicates a solution for your stated problem...

                but, I've been wrong before...
                simple test...
                john

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • deaneauD Offline
                  deaneau
                  last edited by

                  ok what i have do?

                  1. select the windows glass
                  2. select all with the same material
                  3. group
                    4.copy & past in place

                  now i have two groups with the same place of the parts.

                  what i need is this like in the attachement

                  @Fredo you´re right. i must discconnect the polys from the main model before i can move along normal.

                  @HornOxx hm your idea is only a crompromise. however thank you for your idea.

                  @driven i the attachement i have explain the result.. the distance i have set to 20cm for a better visualization.

                  the churches in the picture above have two windows glasses per windows. on for day and one for night.
                  the day mesh will fade to dark and the night mesh will fade lighter.
                  this simulate light behind the windows.

                  .


                  Move along Normal.skp

                  MADE, BORN AND LIVING IN BERLIN
                  Big Thank You to all Programmers
                  Some German words are so long that they have a perspective. M.Twain

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    driven
                    last edited by

                    but HOW are you switching them, you have no Layers, only a single Group and the same Material with both?

                    are you doing that outside of SU after this is done?

                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                    1 Reply Last reply Reply Quote 0
                    • deaneauD Offline
                      deaneau
                      last edited by

                      @driven

                      the game switch this.

                      in sketchup i build the day and night mesh insert this in a game and the game doing this..

                      this look like the churches

                      MADE, BORN AND LIVING IN BERLIN
                      Big Thank You to all Programmers
                      Some German words are so long that they have a perspective. M.Twain

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        driven
                        last edited by

                        given your current workflow, adding code into frontface can work like this...

                        I set at 10mm and add a different material for 'select by color' grouping...

                        would this work for you?
                        at 10mm blue glass...

                        learn from the mistakes of others, you may not live long enough to make them all yourself...

                        1 Reply Last reply Reply Quote 0
                        • deaneauD Offline
                          deaneau
                          last edited by

                          hey cool this cold be a solution. question is, is this than a new object group? when not its better the plugin-in generate a new color what i have never had before. so i can choose this new generated polys by material and group this.
                          in your animation i cant see how it work for frontside polys (white).

                          MADE, BORN AND LIVING IN BERLIN
                          Big Thank You to all Programmers
                          Some German words are so long that they have a perspective. M.Twain

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 2 / 2
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement