[Plugin] Shape Bender Beta

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby pustko » Thu Oct 11, 2012 10:57 am

I got the progressbar installed, etc
Yesterday it was working neatly!! that's what buggin me the most.

found this:

n `draw'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671
Error: #<NoMethodError: undefined method `/' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in `draw'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671
Error: #<NoMethodError: undefined method `/' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in `draw'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671
2

pustko 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby TIG » Fri Oct 12, 2012 9:35 am

Pustko.

The important part of any error message is the beginning...
Please don't trim them.
OK let's assume that the progressbar.rb is installed and called by this tool.
After which step does this error appear?
After picking the line, the curve or other ?
Are you doing the other steps correctly ?
For example, is the line parallel to the red [x] axis?
Is it freestanding and not touching any other geometry - faces, edges, curves etc?
Is the 'curve' freestanding and not touching any other geometry - faces, edges, curves etc?
If you still have issues try attaching a simple SKP you are having issues with...
Or even some images...
A picture paints a thousand words.
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby pustko » Fri Oct 12, 2012 10:40 am

Hello TIG, thanx for the feed back:

The error appears after selecting the curve. The process bar freezes at 2% or 5%
The object is a "group", the line is in the red axis and doesnt touche anything, the curve doesn't either

first time it worked perfectly :thumb: next dqy stopped working :thumbd:
the model is the simplest possible; I attach it.

Yesterday I read the first 20 pages in this forum :shock: I think it might be a problem with compspray.rb or maybe SketchyFFD. At the office I have no "administrator acces" to remove them, but I will ask and try to remove them as soon as possible.

Thank you.

here' the beggining of the error message:

Error: #<ArgumentError: comparison of Float with nil failed>
(eval):44:in `>'
(eval):44:in `update'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:533:in `exploder'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:526:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:526:in `exploder'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:244:in `onLButtonUp'
Error: #<NoMethodError: undefined method `/' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in `draw'
(eval):44
Error: #<NoMethodError: undefined method `/' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in `draw'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671
Error: #<NoMethodError: undefined method `/' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in `draw'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671
0

pustko 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby TIG » Fri Oct 12, 2012 11:40 am

I have no issues except the 'bent object' is somewhat weird because of the chosen line and curve's relationship to the original, but it's a bit better if I toggle the shape 'direction'...
However, I recommend that "everything" - i.e. the group, line and curve - is relocated in the 'positive' quadrant - i.e. where red/green/blue [x/y/z] are all 'positive values' [== solid axes lines]...
It might be that your progressbar is not installed properly too ?
Please double-check that its .rb file is definitely in the Plugins folder, as directed... and that you don't have any 'Compatibility Files' issues [link button showing in the Explorer Window's top bars...]. This can happen if you don't have FULL security permissions to folders like Plugins - Windows protects you from yourself by not fully installing items... To fix right-click context-menu on the Plugins folder icon and Properties > Security > Edit - even being an 'Admin' is not always sufficient to automatically get the right permissions... See thomthom's new helper too ... viewtopic.php?p=434453#p434453 this checks if everything is installed OK...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby pustko » Fri Oct 12, 2012 1:41 pm

Eureka! :lol:
It works again. Finally I got one of the admin's to erase the compspray.rb plugin and shape bender works neatly again!
Couldnt figure it out earlier; as I don't have access to make any change in the plugin folder...

Thanks again for the help. This plugin is great!!! Its helping me so much with my architecture models!
Thanks Chris!! thanks TIG!!
0

pustko 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby thum8s » Mon Oct 15, 2012 11:24 am

OMG, Amazing work, like magic!!! :D
0
User avatar
thum8s 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Scottish » Thu Oct 18, 2012 10:27 am

Great ruby! but problems with install? doing this the standard way but comes up with

Error Loading File clf_shape_bender_loader.rb
no such file to load -- progressbar.rb

????

any help out there??

Scottih
0

Scottish 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Chris Fullmer » Thu Oct 18, 2012 3:56 pm

yup, it requires an additional script called progressbar. There is a link to it on the first page, where you downloaded shape bender. Here's the link again:

http://www.smustard.com/script/ProgressBar
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Scottish » Thu Oct 18, 2012 9:47 pm

Chris Fullmer wrote:yup, it requires an additional script called progressbar. There is a link to it on the first page, where you downloaded shape bender. Here's the link again:

http://www.smustard.com/script/ProgressBar



Thanks Chris, im a dummy sometimes...should have payed more Attention!, great work!
0

Scottish 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Gareth » Mon Oct 22, 2012 3:15 am

i have been using Shape Bender for over a year now and I love it..

....i can't remember ever thanking you, so, if i haven't, here it is >>>> Thanks mate...!! :thumb:
0
User avatar
Gareth 
Premium Member
Premium Member
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Rince » Sun Oct 28, 2012 10:54 pm

After many tries I give up. I get to the green preview part, click enter and... nothing happens. Any ideas ? Someone had this problem before ?
0

Rince 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Rince » Sun Oct 28, 2012 11:09 pm

Apparently I am very tired. Everything works perfectly. The bended shape was created about 50 meters up and out of sigh. Thanks Chris, amazing plugin, my new friend in work.
0

Rince 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby TIG » Sun Oct 28, 2012 11:13 pm

Rince wrote:After many tries I give up. I get to the green preview part, click enter and... nothing happens. Any ideas ? Someone had this problem before ?
Don't give up without a fight !
Clear thousands of users can't be wrong, and you be right... YOU must be doing something wrong... [or at least something is conflicting and tripping you up...]
Run it with the Ruby Console open... are there any error messages as you use it?
Does the 'green preview' look like what you want / expect ?
What exactly happens / is left when you press <enter> ? Is it really 'nothing' ?
Is the object you are trying to bend very tiny or very small ?
Extremely tiny facets can't be made by SketchUp / OpenGL.
If you scale the object up x100 does it then work?
You can always scale down afterwards...
:?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby PSP » Tue Oct 30, 2012 5:44 am

Hi, I have downloaded the Shape Bender plug in but an unable to install it by moving it into the plug in folder or through preferences than extensions. When I drop it into the plug in folder and re-start Sketchup i get an error message and when trying to add through preferences the "rb" file is not able to be selected.

I have done some googling, is this because Sketchup 8 needs a "rbz" file??? I think this is the case.

If so what is the way around this.

many thanks in advance.
0

PSP 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby TIG » Tue Oct 30, 2012 11:03 am

PSP wrote:Hi, I have downloaded the Shape Bender plug in but an unable to install it by moving it into the plug in folder or through preferences than extensions. When I drop it into the plug in folder and re-start Sketchup i get an error message and when trying to add through preferences the "rb" file is not able to be selected.

I have done some googling, is this because Sketchup 8 needs a "rbz" file??? I think this is the case.

If so what is the way around this.

many thanks in advance.
You are misconstruing things.
Version 8 CAN automate the installation of tools that are packaged as RBZ archives.
BUT this in no way precludes you from manually installing RB/RBS or any files or subfolders of files that have been properly extracted from a ZIP archive [an RBZ is simply a ZIP file with its filetype suffix changed!] Thomthom has made a v8 'Simple Plugins Installer' that automates the installation of all such file/archive types - get it from the Resources > Plugins Index. It'll stop you over thinking things.

This tool here comes packaged as a ZIP archive - so thomthom's tool can auto-install its contents for you. Alternatively you can rename it with a '.RBZ' suffix and the Preferences > Extensions button will then let you find it and install it that way... I still recommend thomthom's solution as it applies to all types with little effort/though on your part...

If you gave us the error message you got it means we don't need telepathy ;)
I suspect that you have not installed the additional 'progressbar.rb' from Smustard.com that is clearly explained and linked on this tool's download page...

Once you have somehow successfully placed ALL of the required file[s]/related subfolder of support files, into the Plugins folder, then on a restart there should be an additional Preferences > Extensions item for the tool - so firstly this needs activating.
When this is activated its new View > Toolbars toolbar can be activated - thus allowing you to use the tool - provided of course that you have selected a suitable group/component-instance, a line that's parallel to the red-axis and a curve to bend around [the last two should be separate geometry, not touching any other geometry in the model...]

If you are still having issues check that you have FULL access-rights to the Plugins folder - simply being an Admin might still not give you enough access-rights - e.g. to add files or subfolders of files to the Plugins folder...

Also note that the required 'plugins' folder is the one in the HD Lib path and NOT the similar one in the Users Lib path...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby leadalchemist » Thu Nov 01, 2012 7:34 pm

hi there
this has been a PAIN to install...the final thing that worked was CREATING a folder plugins on the apple directory...it wasnt there before, then it showed up...
I hope that when 9 comes out they raise the price and put these plugin in the program

wish i had the time to learn Form Z which I own, luckily i have work to do

be well all

alan
0

leadalchemist 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Dave R » Thu Nov 01, 2012 10:35 pm

Well, it's unfortunate that you didn't look at the thread on installing plugins first. You'd have found that the Plugins directory already exists so you don't need to create one. SketchUp comes with some files already included in the Plugins folder. :roll:
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby thomthom » Fri Nov 02, 2012 9:55 am

leadalchemist wrote:the final thing that worked was CREATING a folder plugins on the apple directory...

That doesn't sound correct... :? Here's a guide: http://www.thomthom.net/thoughts/2012/0 ... -sketchup/
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby thegoodguy » Sat Nov 03, 2012 12:06 am

Thanks for this waaaaay clever and useful script Chris.
0

thegoodguy 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby alexxur » Sun Nov 11, 2012 5:20 am

Christian: este es uno de los mejores plugins que eh visto por aquí. Es gratificante ver hasta donde puede llegar el ingenio humano. Felicidades y gracias..
0

alexxur 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby ningsiman » Mon Nov 12, 2012 3:39 am

I'm doing a natural trail in su and I hope this can help! Thank you so much!
0

ningsiman 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Flowrellik » Mon Nov 12, 2012 8:58 am

By far the best plugin I've seen. This reminds me very well of the Days at highschool when I practiced AutoCAD. Thank you very much.
0

Flowrellik 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Chris Fullmer » Mon Nov 12, 2012 8:17 pm

Thanks everyone. Its nice to hear from people when it works, and not just from people who can't figure out how to install it. :D
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Leon1217 » Wed Nov 14, 2012 4:13 pm

This is really amazing! Thank you a lot! :enlight:
0

Leon1217 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby alexxur » Mon Nov 19, 2012 3:47 am

Upss ... I forgot to download "progressbar.rb" as they say in the beginning. perhaps this requirement should be highlighted or larger font.
0

alexxur 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Dave R » Mon Nov 19, 2012 11:02 am

It's bold and highlighted with the word 'Requires' in larger, red, bold text.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Chris Fullmer » Mon Nov 19, 2012 6:10 pm

Ok, if it will help, I've gone ahead and made it bigger, bolder and redder! And I added another notice at the bottom of the page. So it says it at the top and bottom. Maybe this will help. Thanks,

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby mgonzavega » Mon Nov 26, 2012 8:04 am

HI Chris,

I have a problem with the shape bender tool. I select the objecy (group) and then hit the shape bender button. Then an arrow with a short line appears but it does not select the line the is on the red axis. Why? Please help!
0

mgonzavega 
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby Chris Fullmer » Mon Nov 26, 2012 8:48 am

Probably you installed it incorrectly. Please open the Ruby Console and then try to run shape bender again. It will probably write some errors. Please copy and paste those back here.
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Shape Bender Beta v0.55 UPDATED April 21, 2010

Postby TIG » Mon Nov 26, 2012 10:59 am

Another possibility is that you are 'above average intelligence' and that you have installed it correctly [you say you are getting the custom cursor etc which is a good sign :D and hopefully you have also installed the required 'progressbar.rb' script too to avoid the tool falling over a little later on :? ]...

Perhaps your first line that you select [which must be parallel to the red axis and in the same context as the group you want to bend] might be touching some other geometry - it must be freestanding otherwise it can't be selected - the tool needs it to have no connected geometry. Similarly the 'curve' that you need to select next cannot touch other geometry either [the line/curve can touch the group or other groups/instances, but not each other, or other nearby loose geometry].

With these two possibilities addressed how does it perform... :roll:
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: betofguima, danigumz, witer_z and 10 guests

Visit our sponsors: