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:

Daniel S said...

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

Jim said...

Daniel, did you get me email?

Daniel S said...

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

Anonymous said...

where can i download this plugin? thanks

Soran said...

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

Jim Foltz said...

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

Soran said...

sent you that email Jim

RichardL said...

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

Jim Foltz said...

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

monkeyplusplus said...

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!

Jim Foltz said...

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

monkeyplusplus said...

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!

Jim Foltz said...

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.

monkeyplusplus said...

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

Thomas said...

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'

Soran said...

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

sheFF9 said...

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

Jim Foltz said...

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.

vaz said...

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"

Jim Foltz said...

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

AcesHigh said...

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))

rombout said...

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

Meals on Wheels said...

I am still getting the vista script error jim

Adam said...

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

berend said...

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

Anonymous said...

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

Alex Projetos said...

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.

Flatchoum said...

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!

TR-JC / 3D-JC said...

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.

TR-JC / 3D-JC said...

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.

Andrew said...

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

Pratik said...

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

dem said...

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?)

Anonymous said...

...same problem as Pratik

arash said...

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

sing kiong tie said...

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


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

sing kiong tie said...

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

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

Popular Posts (Last 30 Days)