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

    [Plugin] Drop Materials onto Instances v1.1 20111019

    Scheduled Pinned Locked Moved Plugins
    8 Posts 4 Posters 9.0k Views 4 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      TIG-dropmaterialsontoinstances.PNGCopyright 2011 TIG (c)
      Permission to use, copy, modify, and distribute this software for any
      purpose, and currently without fee, is hereby granted, provided that
      this text and the above copyright (c) notice appear in all copies.
      This software is provided "as is" and without any express or implied
      warranties, including, without limitation, the implied warranties of
      merchantability and fitness for a particular purpose.

      Name: TIG-dropmaterialsontoinstances.rb

      Menu: 'Plugins' > 'Drop Materials onto Instances'

      Usage:
      Make a flat set of faces [it's easier to manipulate/scale if a group or
      a component] with colors to represent the materials required to be
      dropped.
      For example draw/make the text logo and color it, or use 'ImageTrimmer'
      on a transparent png to get the cutout faces and then repaint those
      with new materials in simple colors as desired, or try ThomThom's tool
      'Bitmap to Mesh'.
      Place this set of faces directly over the groups/instances to be
      processed.
      Select all of the groups/instances to be processed and activate the
      tool.
      A count down is shown in the status bar.
      Every group/instance with its center below a face will take the material
      of that face; so any default material faces within them will appear with
      those materials. Other groups/instances remain unaffected.
      The smaller the groups/instances relative to the faces above the less
      'pixelated' the result will be...
      It is one step undo able.

      Donations: PayPal.com to info @ revitrev.orgPayPalButton###
      Version:
      1.0 20111015 First issue.
      1.1 20111019 Error in menu coding fixed.
      ###Place the .rb file in the Plugins folder and restart Sketchup,
      read the instructions...

      TIG

      1 Reply Last reply Reply Quote 0
      • jolranJ Offline
        jolran
        last edited by

        Haven't had the time to test. But by the looks of it. Kewl!
        I'm sure this will be useful.

        You are very productive at the moment. πŸ‘

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

          Most of these recent tools evolved from one central idea based on raytracing combined with EEbyVectorToObjects ideas... The draping forms and materials onto other things is relatively straight forward if you constrain yourself in the Z-axis - the main limit is the API's flakiness πŸ˜‰
          [The SolidSolver was something I had previously added to my own copy of thomthom's solid_inspector tools. But I realized it was readily split-off-able into its own tool... Again I had made a manifold? tool ages ago that was as slow as watching paint drying - so that too is a great improvement!]

          TIG

          1 Reply Last reply Reply Quote 0
          • jolranJ Offline
            jolran
            last edited by

            @unknownuser said:

            Most of these recent tools evolved from one central idea based on raytracing combined with EEbyVectorToObjects ideas... The draping forms and materials onto other things is relatively straight forward if you constrain yourself in the Z-axis - the main limit is the API's flakiness
            [The SolidSolver was something I had previously added to my own copy of thomthom's solid_inspector tools. But I realized it was readily split-off-able into its own tool... Again I had made a manifold? tool ages ago that was as slow as watching paint drying - so that too is a great improvement!]

            Ah, I see. Interresting concept.

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

              Take a look to QUBICLE πŸ˜‰

              And my video! πŸ’š

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

              1 Reply Last reply Reply Quote 0
              • W Offline
                wyatt
                last edited by

                OK with 70 downloads and no problem reports, I must be doing something wrong. Plugin is located in the Plugins folder. Start Sketchup...no error messages and no Drop Materials onto Instances in the Plugins menu. πŸ’­ I removed SketchyPhysics because I know that sometimes causes problems, but still nothing. The code and file path seem pretty straightforward, but I can't figure out where the conflict would be. Are there known plugin conflicts that would prevent this one from appearing in my menu?

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

                  Heres' v1.1 http://forums.sketchucation.com/viewtopic.php?p=360335#p360335
                  Wyatt - you weren't going mad! There was a stupid typo in the menu code - it should now appear as expected in 'Plugins'...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wyatt
                    last edited by

                    Yes, there it is, and it works great. Thanks!

                    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