[Plugin] SketchyFFD (Classic)
-
cheers chris, just had a really quick go with it and it seems to work fine for me. Thanks for all the work youve already put into this.
-
Fantastic script Chris!!!
Hope that somebody pick it up and help with the UI.
It works very fast!! To show interactively the deformation of the group in wireframe mode (like in Fredo6´s Shear) would be a good feature... perhaps will go more slow.. but will be a time saver because you don´t have to close the group, make a right click and select Update FFD and then wait to see if is the deformation you wanted and then make all the process again to fix it.
This is other ruby that looks like a SU7 feature .
Thank You!!!!!!
Daniel S
-
impressive task
Works fine except the control points stay on the screen after deformation -
@unknownuser said:
impressive task
Works fine except the control points stay on the screen after deformationThat is the new group created by the FFD. You can simply delete or hide it when done with it.
This is great! Thanks for this script.
-
Here is a quickie test. I drew a circle with 24 segments and copy/push/pull. Then I ran the script and moved the points.
This is one more step towards organics indeed.
-
@unknownuser said:
That is the new group created by the FFD. You can simply delete or hide it when done with it.
THX: very simple indeed !
-
It looks great in it's current form, but I get this error in the console... Maybe I'm doing something wrong...
Error: #<NoMethodError: undefined method
definition' for #<Sketchup::Group:0xbec0960>> C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:224:in
analizeLattice'
C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:60:inupdateFFD' C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:13 C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:13:in
call' -
Thanks Chris, this could really be a useful Ruby for SketchUp.
I hope someone picks it up (as you say) and copper fastens it.
Even if they don't I imagine you will in your own good time
finalise the ScriptMike
-
@krash88 said:
It looks great in it's current form, but I get this error in the console... Maybe I'm doing something wrong...
Error: #<NoMethodError: undefined method
definition' for #<Sketchup::Group:0xbec0960>> C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:224:in
analizeLattice'
C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:60:inupdateFFD' C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:13 C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:13:in
call'Ooops! I fixed it and updated the script in the original post. Kwistenbiebel this is probably the same bug you were seeing.
Chris
-
@unknownuser said:
I can't get this script to work. Nothing happens.
I create a sphere, group it, right-click and do 3x3 FFD, enter the new group with Construction Points, move some to another position, exit the group, right-click the sphere group and choose Update FFD. Nothing happens.Can you open the ruby console and see if it is printing any errors?
Chris
-
...exactly the same here. I see no errors in the ruby panel though.
-
@kwistenbiebel said:
...exactly the same here. I see no errors in the ruby panel though.
Wow. I tried it on 2 different machines and it works. Maybe you are using a Mac? Altho I don't see why that would make any difference..
-
Does the plugin in any means uses web based 'action script' or 'javascript' as I had trouble before with corrupt Iexplorer settings?
(I refer to web panel based plugins like Skindigo that failed in the past on my pc due to 'script blockers' ) -
It is working fine on my home machine as well as my work machine. Both pc on xp. One new, the other 8 years old.
-
@kwistenbiebel said:
Does the plugin in any means uses web based 'action script' or 'javascript' as I had trouble before with corrupt Iexplorer settings?
(I refer to web panel based plugins like Skindigo that failed in the past on my pc due to 'script blockers' )No other scripts at all. Just pure ruby.
Hrmm. Very strange. Try doing a 2x2 FFD on a simple box. With the ruby console open in case of errors.
-
Very cool script. Thank you.
I do seem to being doing something wrong with it though. (Leave it to me to break it. ) See the attached screen grab.
I drew a sphere centered on the blue axis and above the ground plane. After moving a single point marked at the top and updating, the egg moved off to where it is now. What did I do wrong?
-
@cphillips said:
@krash88 said:
It looks great in it's current form, but I get this error in the console... Maybe I'm doing something wrong...
Error: #<NoMethodError: undefined method
definition' for #<Sketchup::Group:0xbec0960>> C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:224:in
analizeLattice'
C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:60:inupdateFFD' C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:13 C:/Program Files/Google/Google SketchUp 6/Plugins/SketchyFFD.rb:13:in
call'Ooops! I fixed it and updated the script in the original post. Kwistenbiebel this is probably the same bug you were seeing.
Chris
It works great now! thanks for the fix!
-
@dave r said:
Very cool script. Thank you.
I do seem to being doing something wrong with it though. (Leave it to me to break it. ) See the attached screen grab.
I drew a sphere centered on the blue axis and above the ground plane. After moving a single point marked at the top and updating, the egg moved off to where it is now. What did I do wrong?
[attachment=0:wa4rvigs]<!-- ia0 -->FFD1.JPG<!-- ia0 -->[/attachment:wa4rvigs]It looks like you did a "Update FFD" without first closing the control point group.
Chris
-
Yup. That's what I did alright.
Thanks for the help.
Dave
-
Coen's post makes me ask, is there anyway to make this work on a component instead of or in addition to a group?
Advertisement