sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Replace faces with components?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    8 Posts 3 Posters 296 Views 3 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.
    • J Offline
      jukkoo
      last edited by

      I found this: http://forums.sketchucation.com/viewtopic.php?f=15&t=17541&p=140265&hilit=create+multiple+components#p140265
      The question was not answered at the time (2 years ago).
      Has anyone fount the way in the meantime? Is there a way to replace faces with components all at once?

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        @jukkoo said:

        I found this: http://forums.sketchucation.com/viewtopic.php?f=15&t=17541&p=140265&hilit=create+multiple+components#p140265
        The question was not answered at the time (2 years ago).
        Has anyone fount the way in the meantime? Is there a way to replace faces with components all at once?

        This is it http://forums.sketchucation.com/viewtopic.php?p=186068#p186068 ... πŸ˜’

        TIG

        1 Reply Last reply Reply Quote 0
        • J Offline
          jukkoo
          last edited by

          I'm having a problem with this one...
          the origin of the block is set in the origin of the drawing. This makes this plugin useless for what I have to do. Is there a way to make the origin of the "face-block" on one of the points of the face?

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @jukkoo said:

            I'm having a problem with this one...
            the origin of the block is set in the origin of the drawing. This makes this plugin useless for what I have to do. Is there a way to make the origin of the "face-block" on one of the points of the face?

            Is it that you need to take each face-component in turn and transform.rotate that face so that it is 'flat' and has one of its corners at the 'origin' ?
            Please explain how this is 'useless' - your complaint is 'useless' if you don't give enough information...
            It could be done... 😐

            TIG

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

              Did you try the script below that one, the one I wrote? TIG and I took different approaches to solve the problem, and I think mine might work for what you need - maybe. Give it a shot,

              Chris

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

              1 Reply Last reply Reply Quote 0
              • J Offline
                jukkoo
                last edited by

                I didnt' mean to offend u with my unfortunate use of the word "useless". I just meant that that plugin does not help me to do what I want. Which is the following. I have 200-250 faces that are bases of buildings. I have a model of a terrain allready made. Now I have to place these buildings on top of the terrain. I planed on making a component out of the faces so that I can drop them on terrain with the drop.rb plugin, explode them, and then extrude them all at once with joint push pull, Unfortunatly drop.rb calculates the "drop" from the origin point of the component, therefore, all of my "faces-blocks" having the same origin, can't be used to do that. If every face-block had the origin point on the face, that would work.
                Sorry for my english, I hope I made myself clear

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jukkoo
                  last edited by

                  the one from chris worked fine, thanks to both of you

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

                    I also have another script called loose geometrry to groups that you mighr find useful. I wrote it specifically for what you are doing. It finds a face, then takes all touching edges and faces and turns that intoa group, then it moves on to the nect face that has not been added to a group and repeats the process. It is handy for quickly making groups of zillions of entire extruded buildings. I wrote it for the same process you are describing, something I was soing a LOT of at the time at work.

                    I also have a snippet of code that I developed that takes a selection of faces and extrudes them by a given height, and a given amount of extrusions. It is used for selecting a bunch of flat building footprints then specifying how many storeys the building will have and how tall each storey is. And I even built in the ability to have the first floor be different than the other floors, since that is a common practice in planning to have a tall bottom floor with shorter upper floors.

                    Let me know if that would be a useful script in your workflow and I'll clean it up and post it on Monday.

                    Chris

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

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

                    Advertisement