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

    [Obsolete] FredoScale 1.0e (Free Scaling, Taper Scaling)

    Scheduled Pinned Locked Moved Developers' Forum
    140 Posts 61 Posters 33.9k Views 61 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.
    • W Offline
      watkins
      last edited by

      Dear Fredo6,

      One little known option of the native SU Scale tool is the ability to input final dimensions via the VCB (example: 100mm,100mm,100mm). The scale box is then scaled to those dimensions. Is this something that could be include in your script?

      Kind regards,
      Bob

      1 Reply Last reply Reply Quote 0
      • O Offline
        otb designworks
        last edited by

        Great script! Thank you thank you!.

        However, I, as you know, am on a MAC and I am having serious issues with this script.

        The standard scaling tool works beautifully and as expected. Being able to set the orientation is brilliant!.

        The taper scale tool, however, isn't working at all.

        It displays the bounding box and shows the results of all of the tool manipulations, but it never actually changes the object geometry. Picture attached. Hitting return or clicking outside the box erases the bounding box and the cube remains as is.

        Let me know what I can do to assist diagnosis.

        Thanks again.


        Picture 1.png

        Cheers, Chuck

        OTB Designworks is on Youtube

        6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

        1 Reply Last reply Reply Quote 0
        • M Offline
          Matt666
          last edited by

          😲 😲 Awesome !!! Thank you Fredo !

          Frenglish at its best !
          My scripts

          1 Reply Last reply Reply Quote 0
          • MALAISEM Offline
            MALAISE
            last edited by

            Hi Fredo

            Incredible enhancement 👍 👍 ☀

            MERCI

            MALAISE

            La Connaissance n'a de valeur que partagée

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

              Awesome!!!
              Thank you Fredo!!!

              I only have a problem when set the dimension in the dialog box by pressing TAB. It dosen´t accept what I put.. just make a beep 😕
              I attach a video example of this.

              Daniel S


              a video of the problem (.wmv)

              1 Reply Last reply Reply Quote 0
              • fredo6F Offline
                fredo6
                last edited by

                @daniel s said:

                I only have a problem when set the dimension in the dialog box by pressing TAB. It dosen´t accept what I put.. just make a beep 😕
                I attach a video example of this.

                Daniel S

                Daniel,

                Strange. What is the default decimal separator you normally use in your version of Sketchup.
                Just in case, can you turn the Ruby console on to see if anything is displayed.
                Can you also type in the Ruby console the following command:

                Traductor.string_to_length_formula "20"
                

                and see what it does.

                I don't know if any other users has found that problem?

                I will analyze what it could be in parallel.

                Fredo

                1 Reply Last reply Reply Quote 0
                • fredo6F Offline
                  fredo6
                  last edited by

                  @watkins said:

                  Dear Fredo6,

                  One little known option of the native SU Scale tool is the ability to input final dimensions via the VCB (example: 100mm,100mm,100mm). The scale box is then scaled to those dimensions. Is this something that could be include in your script?

                  Kind regards,
                  Bob

                  Bob,

                  Just press TABwhen the scaling handle is highlighted (or use the contextual menu). You should have the Dimension box appearing. For teh time being, I preferred to reserve the VCB to scale values.

                  Fredo

                  PS: Daniel S. has found some issues with this dialog box. Maybe you can report if found any.

                  1 Reply Last reply Reply Quote 0
                  • fredo6F Offline
                    fredo6
                    last edited by

                    @unknownuser said:

                    The taper scale tool, however, isn't working at all.

                    It displays the bounding box and shows the results of all of the tool manipulations, but it never actually changes the object geometry. Picture attached. Hitting return or clicking outside the box erases the bounding box and the cube remains as is.

                    Let me know what I can do to assist diagnosis.

                    Thanks again.

                    It is clear that there is an error in the execution of the deformation, as shown on your image.
                    The best would be to turn on the Ruby console and see what it says. I don't know if it could be related to Mac.
                    Also can you tell me if your run SU 7 or 6.

                    Fredo

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

                      many thanks dude... that is special!

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        otb designworks
                        last edited by

                        Hi Fredo!

                        Here is the Ruby Console result from attempting to taper scale.

                        I am using SU7, OS 10.5.6.

                        Thanks!


                        Picture 1.png

                        Cheers, Chuck

                        OTB Designworks is on Youtube

                        6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

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

                          Fredo:

                          When i put in the ruby console

                          Traductor.string_to_length_formula "20"
                          

                          It returns:

                          Traductor.string_to_length_formula "20"
                          nil

                          When i have open the ruby console and try to use the dialog box don`t report anything.
                          I have the same problem with the taper.. it dosen´t accept what i put on the dialog box.

                          I attach a screenshoot of my units.

                          Daniel S


                          myunits.jpg

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TeKnoel
                            last edited by

                            this looks great! thanks for your hard work

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

                              Holy Sh!t! Just what I was thinking of asking for the other day. I love the taper. Reminds me of the Falloff function in Modo. Thanks Fredo!

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

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                gaganraj
                                last edited by

                                phenomenal tool. works perfectly on my windows machine. same issue as kannonbal on my mac.

                                i'm amazed at how intuitive and simple such a great tool can me made. I absolutely love the little green check mark!! such a great idea. This will make SDS proxies so much easier! thanks!

                                1 Reply Last reply Reply Quote 0
                                • fredo6F Offline
                                  fredo6
                                  last edited by

                                  To Daniel S(on problem of dimension dialog box)

                                  I don't understand what is happening.
                                  Can you then try the 3 commands below, one by one

                                  
                                  Traductor.string_to_length "20"
                                  
                                  
                                  
                                  "20".to_l
                                  
                                  
                                  
                                  Traductor.string_to_float_formula "20"
                                  
                                  

                                  Apparently other users have not reported the problem (yet). So it may be something specific to your environment.

                                  Fredo

                                  1 Reply Last reply Reply Quote 0
                                  • fredo6F Offline
                                    fredo6
                                    last edited by

                                    To Chuck (Kannonbal) on issues with Taper Scale

                                    I made an update to LibFredo6 in relation with the issues you signaled.
                                    Could you download and install again LibFredo6 and advise if you still have the problem

                                    Thanks

                                    Fredo

                                    1 Reply Last reply Reply Quote 0
                                    • fredo6F Offline
                                      fredo6
                                      last edited by

                                      @unknownuser said:

                                      Did anybody see my jaw? I lost it somewhere...

                                      Fredo, the Taper function looks killer! If it does the job on Nested Components and Groups as well, then people don't have to explode the geometry anymore to perform a Free Form Deformation on it.

                                      The only thing I didn't understand about the YouTube video was when you scaled that ship. What were you demonstrating there?

                                      Coen,

                                      Thanks for your encouragements.

                                      Taper Scale should work on nested components and groups, but it has to make all components unique and explode all curves. So it's a little bit destructive. No mystery, Tapering is not a transformation that can preserve the unicity of a single definition for components (same rule as for Sketchy FFD).

                                      For my ship, the purpose was just to show that Free Scale can handle large models full of components and groups, because it is actually just based on regular Scaling. Free Scale is not destructive at all, in contrast with TaperScale. Otherwise nothing special.

                                      Fredo

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

                                        Fredo: This is the ruby console result when I enter the commands:

                                        Traductor.string_to_length "20"
                                        nil
                                        "20".to_l
                                        7.8740157480315
                                        Traductor.string_to_float_formula "20"
                                        20.0

                                        I attach a screenshot too.

                                        Daniel S


                                        console.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • fredo6F Offline
                                          fredo6
                                          last edited by

                                          Daniel,

                                          I still don't see what it could be, and why you have it specifically in your environment.

                                          Just in case, I made a slight change in LibFredo6. So you have to re-install it again and check if it improves. Can you try?

                                          Fredo

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

                                            I tried with the new version of LibFredo6 but have no luck... still can`t use the dimension dialog box.
                                            But i find something strange in my Plugins directory: there is a new folder called "DEFPARAM_Dir" and is empty. I delete this folder, but every time that I open a new SketchUp it creates the folder again.
                                            I never had this folder before.

                                            Daniel S

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

                                            Advertisement