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

    [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 2013

    Scheduled Pinned Locked Moved Plugins
    61 Posts 16 Posters 67.0k Views 16 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.
    • X Offline
      xrok1
      last edited by

      as i was watching the video i came up with another idea i think might be kind of handy. what do you think of the idea of copy every [n]face ? where [n] would be 3, every third face would get a copy etc... would probably be fairly easy to implement and could be quite useful. πŸ˜„

      β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

      http://www.Twilightrender.com try it!

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        @boilingsnow said:

        Thank you very much Chris.

        A suggestion: If the faces are triangle, I wish your skript still can put the components onto the centroids of them.

        Great suggestion, done!

        UPDATE: v1.1
        Now works much better with triangles. I wrote it so the 2 existing tool are just smarter, and that was definitely the way to go. So hopefully this is helpful. I also updated the video.

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Waiting now the top Sphere collection πŸ˜„
          Maybe something like "a component onto face only if this face is bigger than..."

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            You want it to not copy a component onto all the tiny little faces? I could write it, but I'm not sure if its universally needed by everyone. I'd hate to take away a feature that others like.

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              Ahh, I think I see. Take the sphere and unsmooth all edges. Then just smoothe the top triangle faces and the bottom ones. Then run components into face collections and it will treat the top of the sphere as a single face. Then triple click on the sphere and re-smooth all the faces.

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                You say smooth, resmooth...with what tool? Maybe a Duhduh πŸ˜„

                @unknownuser said:

                its universally needed by everyone

                maybe not but it's universally for the geometry and ask nothing to do for the user! (unsmooth, resmooth etc... πŸ˜‰
                For the coder that ask to calculate the surface πŸ˜„
                I don't know if it's hard or not and time consuming for the process πŸ˜’

                And that works not so good a wished but maybe I don't use the good tool for Unsmooth? ( Soften Edges ? πŸ˜‰hum.jpg

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  Here is what I was thinking.

                  [flash=632,573:1ubr9un9]http://www.chrisfullmer.com/forums/components_onto_faces_sphere_top.swf[/flash:1ubr9un9]

                  Does that help?

                  Chris

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    Oh darn, I just did some more in-depth reading on "centroids" and I think I did not quite implement the triangle center finding mechanism quite right. It works in general, but I'm pretty sure there will be triangles that will still confuse it. OH well, if its really a problem the way I implemented it, I can look into fixing it. A fix will be a bit more math intensive than I wan to invest in it if possible...

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      Yes because end of game must be something like that (not perfect just concept) πŸ˜‰
                      And avoid all users manipulations πŸ˜‰
                      end.jpg

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 Reply Last reply Reply Quote 0
                      • X Offline
                        xrok1
                        last edited by

                        Chris, have you considered the copy every Nth face suggestion? it would be great if the N could be random as well with a min max value for the total copies. πŸ˜„

                        β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                        http://www.Twilightrender.com try it!

                        1 Reply Last reply Reply Quote 0
                        • Z Offline
                          ZFRPS
                          last edited by

                          this good idea !

                          But...this plugin for face only.
                          If Select a single component and a series of pionts of intersection. Then run this script. It will copy that component onto all the pionts of intersection. It will ignore any faces, groups, images, etc that are in the selection set. If more than one component is selected, it will use the first one it encounters.then this plugin will is very very nice !
                          

                          for piont of intersection same for faces .useful for everyone !

                          sketchup is bim

                          1 Reply Last reply Reply Quote 0
                          • Z Offline
                            ZFRPS
                            last edited by

                            Dear Chris:

                            I wish your skript can put the components onto the points of intersection.

                            thanks again .

                            sketchup is bim

                            1 Reply Last reply Reply Quote 0
                            • Z Offline
                              ZFRPS
                              last edited by

                              Dear Chris:

                                 Please came in !
                                        
                                                waiting for you and love you.
                              

                              sketchup is bim

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rv1974
                                last edited by

                                Chris could add 'scale component to match the face area' feature?
                                Example: I'd select the glass faces in windows made by windowizer and run your script to insert
                                the 'curtain' component. Everything works fine already except matching the component to the glazing
                                opening.
                                What do you think?

                                1 Reply Last reply Reply Quote 0
                                • Chris FullmerC Offline
                                  Chris Fullmer
                                  last edited by

                                  Its on my list to do, but it gets very complex when the shapes are not 3 sided objects fitting onto 3 sided faces, or 4 sided to 4 sided, etc. Even 4 sided is hard, because most people don't realize that their 4 sided face is often actually 2 non-planar triangles.

                                  So its a functionality I would like to implement, but every time I've tried, I remember how much work it really is.

                                  Lately you've been tan, suspicious for the winter.
                                  All my Plugins I've written

                                  1 Reply Last reply Reply Quote 0
                                  • ely862meE Offline
                                    ely862me
                                    last edited by

                                    Any idea if there is a plugin that would place parts onto a face with some added distance between the parts? Or simply put all the components at once onto a face, not just one component. I have some 3d puzzles and I would like to select all the pieces then select a face and the plugin should move all the pieces one near another onto that face, or even one over another(I would do the placing later).

                                    Thanks !

                                    Elisei (sketchupper)


                                    Before no life was done on Earth it was THE LIFE ITSELF...GOD
                                    Come and See EliseiDesign

                                    1 Reply Last reply Reply Quote 0
                                    • pilouP Offline
                                      pilou
                                      last edited by

                                      Try this one in developpment by CPlassais! πŸ˜‰

                                      @unknownuser said:

                                      After clicking on the receiving side as long as you did not select another face you can adjust the rotation or translation on the plane defined by the receiving side.

                                      You use the keypad Director or numeric keypad on your keyboard Arrow

                                      5 key reverses the normal of the receiving side (you avoid contortions to get the underside
                                      The + or - button to increase or decrease the increment of which is the launch of the operation of 1 or 1 unit of measurement model
                                      The home and end keys or 7 and 1 used to change the rotation
                                      The guidelines allow the 8,4,2,6 keys or translations. (not perfect at axis level shift / key)

                                      If there is not z just draw on your component a little box of the measure wanted! πŸ˜‰
                                      And kill it at the end!

                                      Tab = Multiple Copy mode

                                      http://s6.postimg.org/st2yjegy9/faces_faces7.jpg

                                      http://s6.postimg.org/czk6481ch/faces_faces4.jpg

                                      http://s6.postimg.org/cvqcnyvv5/faces_faces1.jpg

                                      Frenchy Pilou
                                      Is beautiful that please without concept!
                                      My Little site :)

                                      1 Reply Last reply Reply Quote 0
                                      • ely862meE Offline
                                        ely862me
                                        last edited by

                                        Thank you Pilou, but this is not exactly what I want. I will create another thread in order to let this one alone. The operation should work exactly as Components onto faces, but instead of pasting one component onto many faces, I want to place more components onto one face(one near another). Like when you have a cabinet and you want the pieces to be placed one near another in order to be cut with a cnc machine.

                                        Elisei (sketchupper)


                                        Before no life was done on Earth it was THE LIFE ITSELF...GOD
                                        Come and See EliseiDesign

                                        1 Reply Last reply Reply Quote 0
                                        • ely862meE Offline
                                          ely862me
                                          last edited by

                                          I have puzzles with many pieces, like 70, 100 or more. It will be a tedious job to do it with this plugin, I would rather rotate them in bulk, when possible, and move/place them with the move tool. I expected a plugin that works like this: Select all the components, select a face and then all the components will be automatically placed onto that face(would be awesome with some space between them) ...

                                          Elisei (sketchupper)


                                          Before no life was done on Earth it was THE LIFE ITSELF...GOD
                                          Come and See EliseiDesign

                                          1 Reply Last reply Reply Quote 0
                                          • pilouP Offline
                                            pilou
                                            last edited by

                                            @unknownuser said:

                                            I want to place more components onto one face(one near another)

                                            The plug that I posted above make also this as you can move at any place, rotate it on the surface inside the plug! πŸ˜‰

                                            copy.jpg

                                            Frenchy Pilou
                                            Is beautiful that please without concept!
                                            My Little site :)

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

                                            Advertisement