sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ๐Ÿ›ฃ๏ธ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [plugin] Divide By Material

    Scheduled Pinned Locked Moved Plugins
    17 Posts 9 Posters 17.2k Views 9 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.
    • srxS Offline
      srx
      last edited by

      @unknownuser said:

      As far as groups and components go, you can sub-divide their faces if you enter edit mode before running the plugin.

      This means that I have to enter every group - component in model manual?
      Is it a problem to make it work for all nested geometry in model? This would be even more useful ๐Ÿ˜„

      www.saurus.rs

      1 Reply Last reply Reply Quote 0
      • sdmitchS Offline
        sdmitch
        last edited by

        srx, Your wish is granted. DivideByMaterial.rb now handels faces in groups and components.


        Updated to handle groups and components

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • EarthMoverE Offline
          EarthMover
          last edited by

          Nice work Sam. ๐Ÿ‘ Thanks for the update. Perhaps update the first post as well.

          3D Artist at Clearstory 3D Imaging
          Guide Tool at Winning With Sketchup
          Content Creator at Skapeup

          1 Reply Last reply Reply Quote 0
          • srxS Offline
            srx
            last edited by

            ๐Ÿ˜„
            ๐Ÿ˜ณ
            Thank you Sam. Very kind of you.
            I agree you should update the first post.

            www.saurus.rs

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

              nice!
              Thank you Sam ![img][url][/url][/img]

              sketchup is bim

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

                "undefined method `file_loaded?' for main:Object"

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

                  @daryan said:

                  "undefined method `file_loaded?' for main:Object"

                  Very probably it's an install error but since we don't know anything whatsoever about your SketchUp version, operating system, nor how you went about installing the plugin, there's not much help to be given. Please complete your profile and help us help you.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    Sorry, your right. Because im very bad in english i usualy say the less possible.

                    Windows 8.1
                    Sketchup 8 pro

                    install the plugin : just copy past the file "DivideByMaterial.rb" in C:\Program Files (x86)\Google\Google SketchUp 8\Plugins

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

                      The file is missing a line at its start:
                      require("sketchup.rb")
                      This is not needed IF an earlier loaded script has already required/loaded sketchup.rb...
                      But I suspect you do not have that happening...
                      Rather than edit the main file... Add this new file to your Plugins folder...!.rb
                      On a restart of SketchUp any scripts missing the ' require("sketchup.rb")' should be OK because the !.rb files loads very early and will have done that for them...

                      TIG

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

                        Thanks a lot TIG !

                        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