[Plugin] Shape Bender Beta
-
@victorb said:
Thanks for the input guys. I think what I'll do is start from scratch and try to do things the proper way. Again, this was only my 2nd design ever on SU and in 3d at all. I'm going to take everyone's advice here and see if I can make this new version much, much cleaner.
Thanks for the input! I appreciate it.
As I said it quite salvageable as it is... just relocate slightly and explode the nested bits, reverse some back-faces, use section-cuts to see inside and erase 'partitions' etc, erase coplanar edges [several free tools for that] - Entity Info reports it as a "solid" when it's fixed; scale up x100, then orient the object on its side and shape-bend it... finally scale down. -
I haven't read through every post here, but I am unable to get this script to work in version 8. It works fine in version 7 but I'm unable to make it work in 8. It may be due to other plugins since I use quite a few. I was just wondering if anyone else had run into problems with other plugins or if its a version 8 issue.
Mark -
Hi Mark. Long time, no see.
I use it on SU8 without problems. Does anything happen for you when you try to run it? Do you get anything in the Ruby console if you have it open while trying to run it?
-
Hi Dave,
I've attached the error from the ruby console. I have no clue what it means as I'm not a ruby guy.
I have a feeling it must be related to some other plugin.
Thanks for any help,
Mark
-
Thanks for posting that. Can you temporarily rename your Plugins folder and create a new one? Then add only the Shape Bender plugin to it and reopen SketchUp. See if it will run, then.
-
Thanks Dave,
I went back to a clean install plugins folder with the shape bender and all is working. Now, I just have to figure out which plugin is the culprit.
Mark -
I'm glad that worked but with a large number of plugins, the trick is sorting out which one is the culprit. Copy half of them and put them into the new Plugins folder and see what happens. If it still works, copy half of the remaining ones and put them in. When it quits working again you'll know you got the conflicting plugin. There have been a few plugins mentioned as being problematic. I'll try to find them for you.
Edited to add: I see that Walt had the same error messages you have but I don't see the resolution. Perhaps he'll see this and chime in.
-
my test
thanks for the plugins
-
hi...........same problem here......selecting...selecting but its not getting selected....tried many times....
gone through your forums.....just like you said i tried right click..yes now the line is getting selected but the function is not working...........................please help i really like this plugin...wanna try something.....help helpppppppppp -
You need three things.
A group or component instance that is preselected before you start the tool.
A line parallel to the red/x axis which determines the extent of the bending - this line cannot touch any other geometry and must be in the same active-entities as the preselected group/component.
You are asked to pick it.
A curve determining the bent shape - this cannot touch any other geometry and must be in the same active-entities as the preselected group/component/red-line.
You are asked to pick it.
Do you get prompts or special cursors?
Are the start/end text flags added?
What happens?
If you open the Menu > Window > Ruby Console before starting the tool do you get any error messages?
Answer or fix these and we might get you moving... -
error: #<typeerror: no implicit conversion from nil to integer>
C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:inset_cursor' C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:in
onSetCursor'
C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:233:in `onLButtonUp'
C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168this is what comes in ruby console
-
The tool can't find the cursor file.
This comes in a subfolder, with other files that are vital to the tool's operation.
This suggests very strongly that you have not installed the toolset properly.
Inside your Plugins folder there should be a file called
clf_shape_bender_loader.rb
and a subfolder called
clf_shape_bender
In that subfolder are several vital 'support files'.The cursor PNG images are clearly shown.
Reinstall ensuring this is indeed the case.
If you have accidentally put files into Plugins that belong only in the subfolder you must remove them, because otherwise they will break things.
If you are on Vista/Win7 the system can prevent you from adding files/subfolders unless you have FULL security permissions - the Sketchup folder's subfolders - like Plugins - must have FULL permissions set to avoid issues. It might look like you installed it OK but if there's a 'Compatibility Files' button [or similar wording] on the Plugins-folder explorer-window top-bars it suggests you haven't - that's the only clue Windows gives you! -
thank u thank u......................but now a new problem ..............
1)i made the object group
2)selected the bender option
3)selected line
4)selected curve..........
5)that's it......nothing is coming here.....
a green skelton suppose to come right???
nothing is coming........................... -
How about at least a screen shot showing the setup?
Is the shape oriented along the red axis? Is the straight line parallel to the red axis?
-
yes it is......parallel to red
-
@nebin asharaf said:
yes it is......parallel to red
If you want assistance with sorting this, you have to meet us half way. Post the SKP file so we can see what you're doing wrong.
-
Try with the Ruby Console open in case there are any error messages appearing in there...
-
error: #<typeerror: no implicit conversion from nil to integer>
C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:inset_cursor' C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168:in
onSetCursor'
C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:233:in `onLButtonUp'
C:/PROGRA~1/Google/GOOGLE~4/Plugins/clf_shape_bender.rb:168sombody help me please....
-
I already cover this in a recent post [replying to you] http://forums.sketchucation.com/viewtopic.php?p=418523#p418523
That error means it can't set the cursor it needs.
This is almost certainly because it can't find the image file it needs.
This is then because you have not installed the tool correctly!
Please reread it and ensure that you have installed the loader file and the subfolder of helper files exactly as specified.Note also that if you have moved files out of the subfolder into the Plugins folder it will break things, so compare the 'correctly installed files' within the tool's subfolder and remove any files from the Plugins folder that are duplicated...
The tool must have the subfolder of files in the standard Plugins folder - this is returned when you type/copy+paste this in the Window>Ruby Console:
Sketchup.find_support_file("Plugins")
You cannot have these files in another folder even if it is on the$LOAD_PATH
- e.g. if you were using Fredo's alternative-folder tool...
Unless you change the three lines of code in the main tool's file**clf_shape_bender.rb**
that calls them...
line_cursor_path = Sketchup.find_support_file("line_pointer.png", "Plugins/clf_shape_bender")
becoming
line_cursor_path = File.join(File.dirname(__FILE__), "line_pointer.png")
and so on for the other two... then the toolset can go anywhere - provided that the loader and intact subfolder are together and on the$LOAD_PATH
. -
how can i post it
mail id??
Advertisement