Pages

Plugin: Protrude


This is the first step in a greeble plugin. And by first step I mean there are possible bugs.

Protrude performs 4 basic operations: dividing, offsetting, protruding, and tapering.
  1. Select the face(s) you would like to protrude.
  2. Divide them, if applicable. Only rectangles are able to be divided. Division occurs parallel to short side.
  3. Use the Set reasonable values to set the offset, protrude and taper values to something reasonable.
  4. Press Protrude to see the reults.
  5. Edit values, and hit Do Over to re-do the most recent operations.
  6. If the right-side input columns are used, a random number is generated for the operation. This number is in the range of left-column to right-column. Leave them blank if you don't want a range. (Sorry, it's the law. Just kidding, just a bug future enhancement opportunity.)


You should completely delete both the protrude folder and protrude.rb file from your Plugins folder before installing this version.

Download jf-protrude_2015-12-06.rbz *

37 comments:

  1. Hi Jim!!!

    The offset, height and make a new group for the protruded face works for me.
    My problem is when I select 2 or more faces... the plugin protrudes only one of them.
    And the taper option is not working for me...

    I Protrude with the ruby console open and it says:

    http://img525.imageshack.us/img525/3884/protrudelf4.jpg

    ReplyDelete
  2. Daniel, did you get me email?

    ReplyDelete
  3. Yes Jim, thank you for looking into this error and for making this first step for a SketchUp greeble plugin.

    ReplyDelete
  4. AnonymousJune 19, 2008

    where can i download this plugin? thanks

    ReplyDelete
  5. Jim I get a script error from internet explorer when I try to use this script.. I have vista 64-bit

    ReplyDelete
  6. Soran, can you email me with a little more information? A screenshot of the error would be great.

    ReplyDelete
  7. Hi ...

    Dividing doesn't work for me.

    I've tried it with a shape selected (edges + face) and with just face, and with just edges, but nothing happens.

    Do I need to install something else to get this going?

    Thanks
    Richard

    ReplyDelete
  8. Hi Richard, I have had a few reports about this and I am right now getting it fixed...

    ReplyDelete
  9. Here's the output from my ruby console after selecting a face and picking 'Protrude Dialog' from the plugins menu (after which no dialog appears):

    Error: #<NameError: uninitialized constant JF::ProtrudeDialog>
    /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/protrude.rb:6
    /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/protrude.rb:6:in `call'
    /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/protrude.rb:6

    Thanks for your plugins, and I hope this helps!

    ReplyDelete
  10. Try to download the plugin again - I think it should be OK now.

    ReplyDelete
  11. Thanks for your quick reply, Jim. That change did indeed allow me to bring up the protrude dialog - however, now I think I'm in the same boat as Richard (nothing happens when I try to press the buttons with a face selected). Let me know if there's anything I can do to help you out!

    ReplyDelete
  12. Yeah, I messed up this update. If you can send the text which appears in the Ruby Console when you try to run the script, it would help.

    ReplyDelete
  13. No prob - just sent via email (was getting a bit long winded for the forum)

    ReplyDelete
  14. same here, no Dialog and the ruby console outputs:
    Error: #NameError: uninitialized constant ProtrudeDialog
    C:/Programme/Google/Google SketchUp 6/Plugins/protrude.rb:6
    C:/Programme/Google/Google SketchUp 6/Plugins/protrude.rb:4:in `call'

    ReplyDelete
  15. Jim I am still getting the stupid vita script error, I know it is the activex setting but I can't fix it, even with the updated plugin you poste

    ReplyDelete
  16. this would be great if you could make uninstall.bat for automatic uninstall of old ver plugin

    ReplyDelete
  17. an uninstall file is a pretty good idea. I have been thinking about how to best make a plugin installer/uninstaller. I don't have anything ready for public use, yet.

    ReplyDelete
  18. That's my ruby console log:

    Error: # < ArgumentError: (eval):44:in ` > ': comparison of Float with nil failed >
    (eval):75:in `initialize'
    (eval):72:in `eval'
    (eval):75:in `initialize'
    (eval):72:in `call'

    the plugin window shows up but nothing "protrude"

    ReplyDelete
  19. vaz, sorry for the dealy. Will you contact me via email?

    ReplyDelete
  20. Jim, this is a great plugin. I wish though that it work on non rectangular forms... like in a circle... or at least, on rectangles with one side bigger than the other (like having two circles one inside the other, connecting theirs vertices (thus getting several rectangles, with the other side bigger than the inside side))

    ReplyDelete
  21. hi there, im working on a mac but this plugin doesnt work for me... i doesnt do anything contact me at romboutv (ed) gmail.com

    ReplyDelete
  22. I am still getting the vista script error jim

    ReplyDelete
  23. Its very usefull thank you very much for your great plugin ! Cheers !

    ReplyDelete
  24. this looks like a great plugin, but I'm workimg on a mac is there already a solution how to get this working on a mac.

    Thanks

    ReplyDelete
  25. does this work on su 7.1?
    i opened the dialog but nothing happens. but i think on version 7 this plugin works

    ReplyDelete
  26. Can be useful if we can set some values for extrude, like 5cm, 10cm, 15cm or 20cm. And the plugin do extrude by choosing random this four values, or more. Not a range between this values, but exactly this values.

    ReplyDelete
  27. Hi! Working on a Mac, I downloaded protude, but I can't use it, because the dialog window is all white, nothing appears in... Thanks for your help, this seems to be a usefull plugin!

    ReplyDelete
  28. I am using winxp sp3 32-bit and SketchUp 7.1

    SketchUp gives me a pop-up error message after launching; it says that the protrude script requires progressbar.rb and offset.rb.

    But these scripts are there inside the same Plugins folder as protrude script ! Something is wrong with SU7.1, methinks.

    ReplyDelete
  29. Hello again,

    I have scrubbed out my PLugins Folder and added each ruby script one by one, lanuching SU7.1 each time I've added a script.

    Your Protrude script seems to be working now.

    Sorry for the bother.

    ReplyDelete
  30. Does anyone else think this looks like the death star! GGood Plugin

    ReplyDelete
  31. On start up i get an error message that the protrude script requires progressbar.rb and offset.rb.
    Can someone please help. I love this plugin. How to fix my problem? HELP HELP HELP. Thanks in advance

    ReplyDelete
  32. Hi)
    In version of this plugin i found random rectangles divide function "skp('qdivfaces')"(it was hidden). That algorithm works NOT ONLY with rectangles, perfectly works with all tyles of quadrangle and even with triangles!
    In would be nice to use it for normal divide. Can You share this secret?)

    ReplyDelete
  33. ...same problem as Pratik

    ReplyDelete
  34. hi i yse su 8 all option is ok but the offset dosent work for me

    ReplyDelete
  35. hi...
    i got this error after i plugin the file


    protrude requires progressbar.rb and offset.rb from smustard.com

    ReplyDelete
  36. hi jim....
    after i put the file into plugin
    it come this error

    protrude requires progressbar.rb and offset.rb from smustard.com

    ReplyDelete