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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    [Plugin] Soften/Unsoften

    Scheduled Pinned Locked Moved Plugins
    26 Posts 13 Posters 37.5k Views 13 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.
    • T Offline
      tedvitale
      last edited by

      Does anybody know of a plugin that allows me to soften multiple grouped objects? I have a lot of 3DS models that i import that need to be smoothed and cleaned up, but I have to open each group and soften them individually, which is quite painstaking. Any Suggestions?

      Ted Vitale
      3D Artist and designer
      Sketchup 2013 Pro

      1 Reply Last reply Reply Quote 0
      • massimoM Offline
        massimo Moderator
        last edited by

        http://sketchucation.com/forums/viewtopic.php?t=22920

        1 Reply Last reply Reply Quote 0
        • S Offline
          shri
          last edited by

          very handy tool..thanks alot

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

            I can't find a way to assign shortcuts for these tools. Does the needs to be updated, or it's me missing something?

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

              Remember that this script is ~10 years old !
              Because it only makes a toolbar there are no menu items to shortcut onto !
              However, the native smooth/soften toolset is easily accessed via a shortcut, as that has context and menu items...
              Why do you need this tool in preference to the built-in native one - the old code uses the very slow 'typename' entity checker, the native one also has more controls over what is changed... ?

              TIG

              1 Reply Last reply Reply Quote 0
              • designerbursaD Offline
                designerbursa
                last edited by

                jhs powerbar 3d rotate error fix

                def onLButtonDown(flags, x, y, view)

                nothing with this click if nothing is selected

                puts 'nil' if(Sketchup.active_model.selection.length == 0)

                Keep what's currently selected.

                Might be temporarily selected because its hovered if there was no selection when tool was selected

                @hasSelection = true

                Select point when and draw when clicking

                first 3 clicks select points and set jaw & pitch. 4th and 5th click are optional and sets roll

                if @state == 0
                # Select anchorpoint
                #@pAnchor.pick view, x, y
                if @pAnchor.valid?
                @state = 1
                @status_text = "Grab entity." # first status text defined in reset()
                Sketchup::set_status_text(@status_text, SB_PROMPT)
                end

                elsif @state == 1
                # Select startpoint 1
                #@pStart1.pick view, x, y, @pAnchor
                if @pStart1.valid?
                @state = 2
                @status_text = "Pick target to drag entity towards."
                Sketchup::set_status_text(@status_text, SB_PROMPT)
                end

                elsif @state == 2
                # Select targetpoint 1 and set yaw and pitch for selection
                #@pTarget1.pick view, x, y, @pAnchor
                if @pTarget1.valid?
                @state = 3
                @status_text = "(Optional) Grab entity again."
                Sketchup::set_status_text(@status_text, SB_PROMPT)

                  self.rotateYawPitch(@pAnchor.position, @pStart1.position, @pTarget1.position)
                
                  # Set rotated flag so script knows whether to update view or not when leaving tool
                  @rotated = true
                end
                

                elsif @state == 3
                # Select startpoint 2
                #@pStart2.pick view, x, y, @pAnchor
                if @pStart2.valid?
                @state = 4
                @status_text = "Pick target to drag entity towards."
                Sketchup::set_status_text(@status_text, SB_PROMPT)
                end
                elsif @state == 4
                # Select targetpoint 2 and set roll for selection
                #@pTarget2.pick view, x, y, @pAnchor
                if @pTarget2.valid?
                self.rotateRoll(@pAnchor.position, @pStart2.position, @pTarget2.position, (@pTarget1.position - @pAnchor.position))

                  self.reset(view)
                end
                

                end
                end#def

                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