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

    WIP -- 'Protrude' ruby from Jim Foltz

    Scheduled Pinned Locked Moved Developers' Forum
    49 Posts 24 Posters 24.3k Views 24 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
      tomot
      last edited by

      Great stuff! makes it easy to build sculptures.
      After which one could add some "catmull clark or doo sabin" meshing.

      It might nice to add negative stepping as well. Perhaps by adding another button. Hence one can toggle between either negative or positive stepping.

      [my plugins](http://thingsvirtual.blogspot.ca/)
      tomot

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

        @petruscaleus said:

        But there's a little problem using it on a localized (german) OS - as some of you may know we're using a comma to separate the decimal places (and a point for the thousands); but the protrude plugin can't handle that, every floating point value is truncated to the integer value.

        Stefan, I have sent you a revised version that I hope will solve this issue. Please let me know if I was successful, and I will release it to everyone.

        @tomot said:

        Great stuff! makes it easy to build sculptures.
        After which one could add some "catmull clark or doo sabin" meshing.

        It might nice to add negative stepping as well. Perhaps by adding another button. Hence one can toggle between either negative or positive stepping.

        Thanks tomot. I think it should be no problem to have negative values for the protrusion.

        Hi

        1 Reply Last reply Reply Quote 0
        • CadFatherC Offline
          CadFather
          last edited by

          fantastic plugin Jim, thanks

          just reporting on some issues:

          doesn't like curves, domes etc
          no cutting on some faces in this shape

          prot.png

          1 Reply Last reply Reply Quote 0
          • P Offline
            Petruscaleus
            last edited by

            CadFather, as the name of the function "Divide Rectangles" implies, it only works with rectangles ^^
            In your simple case case it would be only one line for each L-shaped polygon to divide them in two rectangles on which Divison can be applied.
            As for arcs, domes and spheres - it works fine for me scratches his head
            What exactly did you try?

            Jim, you already have a reply to your PM; works fine now!
            A new bug report/feature request: Right now you can only taper the extrusion up to 99%, if you enter 100 no tapering is done at all. Would it be possible to allow a taper of 100%, resulting in a single endpoint (top of the pyramid) instead of a small face at 99%? Optically this is no big matter, but it would save 3 vertices, 4 lines and one face which could matter in a big model including a few hundred extrusions.

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

              Really nice plugin Jim. Thanks....


              deco.jpg

              1 Reply Last reply Reply Quote 0
              • P Offline
                PRSS
                last edited by

                Hello everybody!

                I just installed this Protrude ruby. I do get the dialog. But when I select a face and aplly
                "divide" nothing happens. When I press "protrude" also nothing happens. I am using SU 6 Free.

                I downloaded the older version of ruby without the option of this "divide" from Crai Library.
                This works fine. But not the new one from SketchUP Plugins download. I did delete the previous
                ruby and the previous folder before copying the new ruby. Nothing works.

                Help will be greatly appreciated.

                Thanks in advance
                With best regards
                PRSS

                1 Reply Last reply Reply Quote 0
                • P Offline
                  PRSS
                  last edited by

                  Sorry!!

                  The 'progressbar.rb" was not there in my plugins folder.
                  It is working fine now after I copied it.

                  With best regards
                  PRSS

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

                    PRSS, would you open the Ruby Console and try running the plugin? Then copy and paste the output, and PM or email it to me. Also, Mac or PC?

                    Thank you.

                    @sepo said:

                    Really nice plugin Jim. Thanks....

                    I'm glad you like it. It's sort of fun to play with.

                    @cadfather said:

                    doesn't like curves, domes etc. no cutting on some faces in this shape

                    Yes, faces need to be rectangles. I plan on making it divide almost any face in the future. And since domes and curves are made of polygons that are not rectangles, they can be offset and protruded but not divided.

                    @petruscaleus said:

                    Right now you can only taper the extrusion up to 99%,

                    This was a design decision - designed to make things easy on me! I use the scale function to scale the new protruded face, and so I don't think it can eliminate the top face altogether. I would need to rewrite that part of the plugin, so maybe in the future.

                    @prss said:

                    The 'progressbar.rb" was not there in my plugins folder.

                    And you need ProgressBar.rb from smustard.com.

                    I have a number of ideas for the plugin. If you open the ui.html file, you can see some of them (commented out.)

                    Anyone on a Mac able to use this?

                    Hi

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

                      Also, here's a few examples of things I did while testing this plugin:

                      http://picasaweb.google.com/lh/view?uname=jim.foltz&isOwner=true&tags=greeble#

                      Error 404 (Not Found)!!1

                      favicon

                      (sketchup.google.com)

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • CadFatherC Offline
                        CadFather
                        last edited by

                        @petruscaleus said:

                        CadFather, as the name of the function "Divide Rectangles" implies, it only works with rectangles ^^

                        👊 😆

                        got it now Jim - an update to divide any face would make it into a supertool
                        not that it isn't already! 😄

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          PRSS
                          last edited by

                          Thank you Jim, it is now working fine. Thanks again for the wonderful things you give
                          to SU lovers.

                          With best regards
                          PRSS

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            kwistenbiebel
                            last edited by

                            I needed to reinstall the Protrude ruby from Jims blog site.
                            Unfortunately the 'divide rectangle' function is not present anymore.
                            Don't know why that is, but would someone be so kind to upload the version of this plugin that includes the divide function here?

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

                              @kwistenbiebel said:

                              I needed to reinstall the Protrude ruby from Jims blog site.
                              Unfortunately the 'divide rectangle' function is not present anymore.
                              Don't know why that is, but would someone be so kind to upload the version of this plugin that includes the divide function here?

                              Huh? It's still there, or at least is on my version which is the same as the most recent release. Have a screenshot?

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kwistenbiebel
                                last edited by

                                Funny 😄

                                Here is the screenshot. As you can see, no divide rectangles option there:


                                protrude.jpg

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kwistenbiebel
                                  last edited by

                                  Problem solved: There was a problem with overwriting a former protrude version.
                                  Sorry for the confusion, the plugin now works just as it should.

                                  Thanks again,Jim, for this plugin. It is a gem!

                                  1 Reply Last reply Reply Quote 0
                                  • olisheaO Offline
                                    olishea
                                    last edited by

                                    Hi there.

                                    I installed both the protrude.rb and progressbar.rb but when i select a face and then divide, nothing happens.

                                    no warnings or errors, the model just stays the same.

                                    I have attached a picture of where I placed the rb file. I also copied the protrude folder into my plugins (not sure if this is where it should be!!)


                                    Picture 2.png

                                    oli

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

                                      Zorro + Protrude = super fun result in a second! 😎 👍 ☀


                                      protube.jpg

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

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

                                        😉prot.jpg

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

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

                                          @olishea said:

                                          Hi there.

                                          I installed both the protrude.rb and progressbar.rb but when i select a face and then divide, nothing happens.

                                          no warnings or errors, the model just stays the same.

                                          I have attached a picture of where I placed the rb file. I also copied the protrude folder into my plugins (not sure if this is where it should be!!)

                                          Hi olishea, welcome to the forums.

                                          I do believe this is a Mac problem, and I may be able to find a fix when there is more time. I don't have a Mac to test and it's hard to debug without one.

                                          Hi

                                          1 Reply Last reply Reply Quote 0
                                          • olisheaO Offline
                                            olishea
                                            last edited by

                                            thanks jim im keen to give it a go!!

                                            oli

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

                                            Advertisement