[Plugin] Shape Bender Beta

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

Postby Dave R » Thu Sep 12, 2013 10:12 am

That's not a bug. :roll:
0
%

(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 viahe » Tue Oct 08, 2013 2:37 pm

Thank you so much. Simple but yet, great ruby
0

viahe 
 

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

Postby dancho » Fri Oct 11, 2013 12:07 pm

Hi Chris,

plugin don't work with FREDO's AdditionalPluginFolders.
Is it possible to make it work with it?

THX
Dancho
0
User avatar
dancho 
Premium Member
Premium Member
 

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

Postby TIG » Fri Oct 11, 2013 2:20 pm

Like I told you in another recent post... ;)
The code needs adjusting around lines #158-160 of the main code file clf_shape_bender/clf_shape_bender.rb...
Use Notepad plain text editor...
Change the lines:
line_cursor_path = Sketchup.find_support_file("line_pointer.png", "Plugins/clf_shape_bender")
curve_cursor_path = Sketchup.find_support_file("curve_pointer.png", "Plugins/clf_shape_bender")
default_cursor_path = Sketchup.find_support_file("default_pointer.png", "Plugins/clf_shape_bender")

to read:
line_cursor_path = File.join(File.dirname(__FILE__), "clf_shape_bender", "line_pointer.png")
curve_cursor_path = File.join(File.dirname(__FILE__), "clf_shape_bender", "curve_pointer.png")
default_cursor_path = File.join(File.dirname(__FILE__), "clf_shape_bender", "default_pointer.png")

Save the file and restart SketchUp...
This approach will then work with any folder location. which is auto-loading a plugin like this, and which is looking for helper files in a subfolder within its folder...
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby Chris Fullmer » Fri Oct 11, 2013 2:40 pm

Cool, thanks TIG.
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 Lana » Sat Oct 12, 2013 3:58 pm

Is very cool!!!Thank you!!! :ecstatic:
0
User avatar
Lana 
 

Help! Shape Bender Tool

Postby janpaw_kei » Mon Oct 14, 2013 12:57 pm

Hi Guys!

I'm new in Sketchup and I just downloaded the shape bender tool for the curved car ramp that I'm making, and I can't seem to make it work.

My reference would be:
http://www.youtube.com/watch?v=tGHTIOMm_34

I followed the video step by step.

1. Click "grouped" shape.
2. Click SHAPE BENDER TOOL.
3. Click "straight" line.
4. Click "arched" line.

I have problems with step 3.
I can't seem to click THAT separate straight line I made after I clicked on the shape bender tool icon. :bounce:

Is this a download error?

Thanks a lot!!
0

janpaw_kei 
 

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

Postby Box » Mon Oct 14, 2013 1:47 pm

The straight line must follow the red axis, not be part of a group or attached to anything.
0
User avatar
Box 
 

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

Postby janpaw_kei » Mon Oct 14, 2013 2:19 pm

Yeah, I've been doing that. I still can't click on that straight line on the red axis :(
0

janpaw_kei 
 

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

Postby Dave R » Mon Oct 14, 2013 2:35 pm

Upload the SKP file so we can see what you've got going on.
0
%

(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 janpaw_kei » Mon Oct 14, 2013 2:53 pm

Here it is :)
0

janpaw_kei 
 

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

Postby Box » Mon Oct 14, 2013 3:05 pm

It's three lines, it needs to be one line. Redraw it as one, and draw it along the length of your shape.
The length and position of all parts effect how it works.
0
User avatar
Box 
 

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

Postby janpaw_kei » Mon Oct 14, 2013 3:20 pm

Alright, I just did that. Still can't click the straight line. I'm so sorry for this :(
0

janpaw_kei 
 

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

Postby Box » Mon Oct 14, 2013 3:24 pm

It's behind the shape now, draw it at the front, or move it to the front. Also you have two shapes, one on top of the other.
0
User avatar
Box 
 

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

Postby Dave R » Mon Oct 14, 2013 3:38 pm

Works fine once you get rid of one copy of the component.
0
%

(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 rilian » Sun Oct 27, 2013 10:01 pm

I have this plugin installed at work and it runs great. Very impressive. I installed in on my home computer and it doesn't seem to be working quite right.


I have progressbar.rb installed (I originally forgot, got the error then installed it). The plugin actually bends shapes but it pushes them away from the selected curve by what seems to be the distance between the straight line and the original object. I don't have sketchy-physics or Compspray installed which seem to be the plugins that conflict and have caused problems for this plugin.

In the first screenshot, you will note the blue preview mesh both on the curve and the original object. You can see on the original object that it is attached to the line I selected and the blue mesh runs from the curved line to the preview mesh in green.

It is my understanding that the tool is supposed to bend exactly on the selected curve, not push the curve back by the distance between the straight line and the object on the green axis. I measured after letting the tool complete and the curved line is exactly as far away from the final curved object as the straight line is from my starting object.

The 2nd screenshot shows the finished product after the plugin runs. I see no errors when running in the ruby console. I am fairly sure this is not happening on my work PC and it doesn't seem to happen in the videos in the original post.

I should note that my object is a simple 15/2'/1' box done w/ rectangle and push/pull then made into a group. Line was drawn left to right attaching to guides seen in the screenshots. Curve used the built-in arc tool also attaching to the guides and bulging an arbitrary distance.

What am I doing wrong or missing?
Thank you! Thanks for such a fantastic plugin!
0

rilian 
 

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

Postby Box » Sun Oct 27, 2013 11:02 pm

It is behaving as it is meant to. The relationship between the shape, the straight line and the curve are what determines the resultant bend.

You can change the position when in preview by using the arrow keys.
0
User avatar
Box 
 

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

Postby rilian » Sun Oct 27, 2013 11:36 pm

Box wrote:It is behaving as it is meant to. The relationship between the shape, the straight line and the curve are what determines the resultant bend.

You can change the position when in preview by using the arrow keys.


I did use the arrow keys multiple times before posting. Based on your reply, I moved the straight line to match the back edge of my object and then the plugin behaved as I saw in the examples...perfectly matched to the curve. See first screenshot attached to this post. Pressing the down arrow key gives the 2nd screenshot...a bit wonky. Pressing down arrow again, returns back to first screenshot. Pressing up arrow moves the curve above and below the curved line as expected.

These curves were generated from using the arc tool 2x. Once to draw an arc exactly 1/2 the distance between my guides and then a 2nd tangent arc the rest of the way to the guide.


I thought I saw in the videos attached to the first post where the line was not attached to the object but floating in front or behind and the bent object still matched the curve rather than generate the results I saw. Very interesting.

What do you make of that 2nd screenshot from pressing down arrow?

Thank you again!
0

rilian 
 

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

Postby Chris Fullmer » Mon Oct 28, 2013 12:02 am

Looks at the words "start" and "end". When you have camera oriented the way you do, which is good, you want the starts to be on the left and the ends to be on the right.

That is why the top one is good and the bottom one is weird. At one point, you used to be able to actually reverse the bending direction and it worked correctly. Somewhere along the way though I accidentally broke that I guess, so now you just end up with screenshot #2.
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 EKOART » Wed Nov 06, 2013 9:01 pm

Hi Cris. Thank you for your work and sharring.

My question is; Is it possible in a certain way to have our texture bended when using the shape bender tool ? Here is an example of what i get.

0
User avatar
EKOART 
 

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

Postby Chris Fullmer » Thu Nov 07, 2013 3:30 am

Not at this point. It would be great if it would do it, but its more than I will be able to implement soon.
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 lolter10 » Thu Nov 14, 2013 2:01 pm

Hi,
I'm using sketchUp 2013 and win7 x64. The plug-in seems to work, it does recognize the group i select, it does find the straight line (along red axis), it does generate preview. The thing is that it does not make tje lines...
Any advise?
0

lolter10 
 

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

Postby Dave R » Thu Nov 14, 2013 2:25 pm

The plugin does indeed work fine in SU2013. Your problem could be caused by any of several problems:

1. The plugin isn't installed correctly.
2. The model isn't set up correctly.
3. The model is very complex and you aren't waiting long enough for the process to complete.
4. The model is very small and you're running up against the small face issue.
5. There's a plugin causing a conflict.

You've given almost no information to help determine what is causing the issue, though, so it would be a guess at best. Upload the SKP file for the component you're attempting to bend.
0
%

(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 HOUDA » Sat Jan 25, 2014 5:22 pm

Hello !
This plugin seems to be very usefull
I would love to know if it is compatible with sketchup 2013?
I'm using sketchup 2013 for mac and the plugin doesn't appear when i downloaded it :roll:
Thank you for your help :)
0

HOUDA 
 

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

Postby HOUDA » Sat Jan 25, 2014 6:37 pm

Yes i am a Premium Member on Sketchup !
But sorry there is a mistake on my last post. I'm not using Sketchup 2013 but Sketchup 8 pro
Thank you for your answer
0

HOUDA 
 

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

Postby pbacot » Sat Jan 25, 2014 11:44 pm

Houda, Welcome! You should be able to change your profile to show you are premium, if that matters to you.

What answer? If you back up this forum page a little you'll see, the plugin works in 2013 and, yes, it works in v. 8. Just be sure you know how to load the plugin properly. Then (very important for this plugin) follow the set-up instructions carefully, especially in the placement of your object, the line, and the curve. If it is loaded and not working try a very basic example before working on your model.

PS. You can always edit your previous posts.
0
MacOSX Mojave ShetchUp Pro v19 Twilight Pro v2 M2 Kerkythea PowerCADD
User avatar
pbacot 
Top SketchUcator
 

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

Postby Box » Sun Jan 26, 2014 12:01 am

Also, shape bender is an extension and as such needs to be activated once installed.
So assuming you have installed it correctly go to Window/Preferences/Extensions and tick shape bender in the list.
0
User avatar
Box 
 

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

Postby TaseerHussain » Sat Feb 08, 2014 5:58 pm

Can some one please explain the programming for 'progress.rb' file in a more simpler way. I'm a complete virgin at programming, so any help would be welcome.

Taseer
0

TaseerHussain 
 

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

Postby Dave R » Thu Feb 20, 2014 1:01 pm

What do you mean by "programming"?
0
%

(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 Box » Sat Mar 15, 2014 2:54 pm

The version of this available in the Plugin store throws a load error message in SU2014, but the one from the Extension Warehouse works.

Looks like it needs updating here.
0
User avatar
Box 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: camk1234, glro, koocoo, moh8kazem and 14 guests

Visit our sponsors: