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

      the reason I ask about commonalty...

      I have a plugin that finds a material and push/pulls any face that uses it...

      maybe it could be adapted, but I'd need to see a sample skp with at least a couple of different walls with windows...

      if you PM me one, I'll have a look, without promise of success or time frame...

      it may be easy, maybe not...

      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

        JQL i can move the faces together in X+/X- and Y+/Y- ?

        Tom have had the same problem in the year 2009

        look here

        http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=63305#p579661

        i dont know the name of the plugin, if Tom have make this.

        @driven is not important what object you use.

        you could download on at the 3d warehouse. actually all pullman buildings

        all faces what will be glass

        Link Preview Image
        3D Warehouse

        3D Warehouse is a website of searchable, pre-made 3D models that works seamlessly with SketchUp.

        favicon

        (3dwarehouse.sketchup.com)

        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

          What Dean is looking for is a multi_comp Move tool with local direction (normal being just a case of this).

          It could only apply to a selection of several groups and components, because only comps have a local set of axes.

          So MoveAlong won't do the job and JointPushPull won't do it either, because it operates on faces, not on comps.

          This would deserve a specific plugin, say MoveLocal.

          Fredo

          1 Reply Last reply Reply Quote 0
          • JQLJ Offline
            JQL
            last edited by

            @deaneau said:

            no not really. i must move the faces..for night mesh. the polygons have the same place, so this will flicker. i need a movement for all faces to the outside. less than 1mm

            Are you sure Fredo?

            www.casca.pt
            Visit us on facebook!

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

              OK Sketchup is Sketchup and comparing with other 3d software could work.

              here an inspiration

              before i can do normal move i must disconnect the polygons from the main object.
              when i use negative value this work,too.

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

              Snap_2015.10.29_14h37m02s_018_.png

              Snap_2015.10.29_14h17m13s_017_.png

              Snap_2015.10.29_14h16m18s_016_.pngSnap_2015.10.29_14h15m27s_015_.pngSnap_2015.10.29_14h15m08s_014_.png

              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

                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