[Plugin] SketchyFFD (Updated 9 Feb 2010)

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby chrisjk » Thu Feb 11, 2010 7:14 pm

Glenn,
Thank you. I first watched your excellent video, then felt such a wimp that I re-built my plugins folder, in the process, throwing out a bunch of little-used stuff and ensuring I had the latest versions of everything and then with some trepidation started to follow along the example in the video.

It worked flawlessly!! :ecstatic: :ecstatic:

More power to your elbow.
0
Chris

chrisjk 
Premium Member
Premium Member
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby gbabcock » Thu Feb 11, 2010 7:45 pm

Chris,

Great news, thanks!

Glenn
0
Glenn

gbabcock 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby gbabcock » Thu Feb 11, 2010 7:54 pm

xrok1 wrote:
i think a good start would be to add 1 vert for each FFD point. so if you FFDed a cube you would end up with a cube with a division at the corners and center points of each side and the center point of each face.


Isn't that the same thing as the current Subdivide functionality? You can create a 3x3 FFD with Subdivide True and get that, right? Or am I missing something?

The conceptual difference may be that Subdivide creates an Intersection plane, intersects it with the deformation object, then deletes it, leaving only the intersecting edges. This is very useful, but perhaps what is needed is a way to look at the deformation when FFD control points are moved and determine if/what new edges would smooth out the deformation. I still think you need to have a parameter to control the degree of change.

Glenn
0
Glenn

gbabcock 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby xrok1 » Thu Feb 11, 2010 8:19 pm

Isn't that the same thing as the current Subdivide functionality? You can create a 3x3 FFD with Subdivide True and get that, right? Or am I missing something?


:oops: maybe its me thats missing something where the hell do i tell it subdivide true at??
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby gbabcock » Thu Feb 11, 2010 8:35 pm

xrok1 wrote:maybe its me thats missing something where the hell do i tell it subdivide true at??

To subdivide, create your group, the context click and select NxN FFD. A dialog box appears. Enter the dimensions and for subdivide select 'true'. The new video demo's this as well.

You need at least 3 control points in a given dimension to get a subdivision. This can be used to determine which axis you are cutting. If you make Width 3, Depth 2 and Height 2, you will cut along the Width only.

I used this on the fuselage pictured at the top of the thread. The cylinder was cut into 12 sections along the length. You can also use Smooth Edges to ease curves at the section cuts.

Glenn
0
Glenn

gbabcock 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby jason_maranto » Thu Feb 11, 2010 9:19 pm

OK, I missed the video and the but about "subdivide true" :oops:

Carry on sir, you are way ahead of me. :thumb:

Best,
Jason.
0
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby xrok1 » Thu Feb 11, 2010 10:11 pm

:oops: i was just playing using the standard 3x3. :oops:
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby gbabcock » Mon Feb 15, 2010 9:38 pm

Just an FYI, I will be releasing a major update in the near future. This update will include:
  • Support for Components
  • Support for nested Groups and/or Components
  • Support for Scaling/Rotating/Moving deformation objects without having to recreate the FFD
  • FFD's will be maintained across sessions
  • Performance improvements
  • Possibly SU6 support
    • Won't impact SU7 users, but performance in SU6 will not be as good

I'm also working on the following for future releases:
  • Menus/Toolbar to augment context menu
  • Support for multiple FFD's at the same time
    • If you have two Groups and/or Components, each can have it's own FFD
    • I'm also looking at the possibility to have multiple FFD's on the same Group/Component

There are a few more ideas as well, but I'll have to do a little more work before I decide to announce them. There might be some really cool stuff coming!

I'll also be working on a manual/tutorial so you can take advantage of all the features. If you haven't already, check out the video at the top of the thread.

Keep posting those suggestions, and please post more feedback on how SketchyFFD is working for you! After 140+ downloads this week I was expecting to hear from more of you! Post pictures of your models so we can see what you've done with SketchyFFD.
0
Glenn

gbabcock 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby REGIS » Mon Feb 15, 2010 10:02 pm

Hi
great job you've done here and I'm looking forward to tne new features too.


pale d'helice.jpg



capitons_en_folie - SketchUp-1.jpg


Thanks mate
0

REGIS 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby mitcorb » Tue Feb 16, 2010 6:59 pm

Attached is a skp example of your latest version FFD as you have requested for user feedback.
Thanks once again for your hard work and dedication.
I look forward to your future developments.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby chrisjk » Tue Feb 16, 2010 7:12 pm

Sang wishes he'd never bought that damn flying carpet! :)
0
Chris

chrisjk 
Premium Member
Premium Member
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby plot-paris » Wed Feb 17, 2010 12:58 pm

wow, that next release sounds brillant. can't wait to get my hands on it!
you are doing a fantastic job, Glenn. :thumb:
0
User avatar
plot-paris 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby mitcorb » Wed Feb 17, 2010 7:10 pm

Just an observation:
Evidently, FFD has some affinity, or dependency on the global origin in the modelspace?
I just tried to flex a tall rectangular column in mid span by moving points, but with subdivide false. When no deformation happened, I CTRL Z'd a few steps to get rid of the control points group, and the column jumped over to the origin 0,0,0. All of this was done with an initial ground plane rectangle as a working surface.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby gbabcock » Wed Feb 17, 2010 9:19 pm

mitcorb wrote:Evidently, FFD has some affinity, or dependency on the global origin in the modelspace?


The current version does, this will be fixed in the next release.
0
Glenn

gbabcock 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby mitcorb » Wed Feb 17, 2010 10:52 pm

Ok. No problem regarding the observation.
I did get the operation to work.
See the jpg.
The mostly vertical figure is the flexed column. This time I used Subdivide true with 4,6,12. There was minor difficulty selecting the "control point" group. The flex operation generated the additional triangulation.
This was a simple test exercise to become accustomed to the tool.
Thank you, again.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby jason_maranto » Tue Jun 01, 2010 12:45 pm

Hey Glen,

Just wanted to drop you a line and thank you again for your work on this -- truly one of my favorite plugins.

Best,
Jason.
0
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby jonorman » Tue Jan 18, 2011 1:42 am

Error on loading script.

"Error Loading File SketchyFFD.rb
superclass mismatch for class LatticeObserver"
0

jonorman 
Premium Member
Premium Member
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby g.moggel » Sun Feb 13, 2011 1:55 pm

i get the same error here. oh no! can you fix it Sir?
su8.
0

g.moggel 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby Larsen » Thu Mar 10, 2011 12:42 pm

fantastic job, Glenn.
Thanks for your sharing.
0
[Every form of thinking perish by excess of its basic principles.

Larsen 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby TIG » Thu Mar 10, 2011 1:34 pm

jonorman wrote:Error on loading script.
"Error Loading File SketchyFFD.rb
superclass mismatch for class LatticeObserver"

Do a 'grep' through all of your Plugins and see if 'LatticeObserver' is mentioned in more that SketchyFFD.rb
If so there might be a class clash! On my set up I don't get the error and have only the one script making that named observer...
It doesn't appear to be used in FFD anyway as it has 'not yet used' note against its code... so you could put a disabling # in front of every line calling or defining it... I'm not sure why it is #rem'd out anyway ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby jonorman » Thu Mar 10, 2011 2:03 pm

thnx TIG, I`ll give it a shot later on today.. :thumb:

Edit:

Brilliant TIG, that works. U Ruby guru`s are the greatest.... :ecstatic: :berserk: :sketchstatic: :thumb: :thumb:
0

jonorman 
Premium Member
Premium Member
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby chango70 » Mon Aug 08, 2011 11:53 am

TIG wrote:
jonorman wrote:Error on loading script.
"Error Loading File SketchyFFD.rb
superclass mismatch for class LatticeObserver"

Do a 'grep' through all of your Plugins and see if 'LatticeObserver' is mentioned in more that SketchyFFD.rb
If so there might be a class clash! On my set up I don't get the error and have only the one script making that named observer...
It doesn't appear to be used in FFD anyway as it has 'not yet used' note against its code... so you could put a disabling # in front of every line calling or defining it... I'm not sure why it is #rem'd out anyway ?


Sorry I have the same error and due to having no knowledge of scripting I have no idea how to fix it. Can someone please just fix it and upload it for us scripting illiterate? Thanks a bunch!
0

chango70 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby TIG » Mon Aug 08, 2011 3:07 pm

I have PM'd you an updated file that attempts to sort out the tangles in the un-moduled coding, global $ variables and weird Observers set up... Please report back if this works and I'll see about getting it formally updated [it's not my script after all]...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby jonorman » Mon Aug 08, 2011 11:11 pm

That sounds great TIG, thnx a lot for taking the time on helping out on this problem. :thumb: :enlight:
0

jonorman 
Premium Member
Premium Member
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby tolmandesign » Fri Dec 16, 2011 8:09 pm

Hi! Where can I find the SketchyFFD plug-in?
0

tolmandesign 
Premium Member
Premium Member
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby TIG » Fri Dec 16, 2011 8:27 pm

tolmandesign wrote:Hi! Where can I find the SketchyFFD plug-in?

You found your way to this thread - well done... BUT you couldn't find the first post in the thread... from whence you can download the tool via a clearly labeled link [this is common for 99.9% of tools threads here]...
:? :roll:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby WhizzyWigXGE » Wed Jun 13, 2012 9:37 pm

Please help! I am very keen to use this tool but I have a problem with the code.

I have put the SketchyFFD.rb in the Plugins folder (sketchup 8) but get this error when I load sketchup.

What have I done wrong?


Error Loading File SketchyFFD.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchyFFD.rb:1: syntax error, unexpected '<'
<!DOCTYPE html PUBLIC "-//W3C//...
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchyFFD.rb:2: syntax error, unexpected '<'
<html xmlns="http://www.w3.org/...
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchyFFD.rb:2: syntax error, unexpected tIDENTIFIER, expecting $end
...p://www.w3.org/1999/xhtml" dir="ltr" lang="en-gb" xml:lang="...
^Error Loading File tt_solid_inspector.rb
no such file to load -- TT_Lib2/core.rb
0

WhizzyWigXGE 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby TIG » Thu Jun 14, 2012 9:42 am

You haven't downloaded the .rb file. :?
The first line returns an error:
<!DOCTYPE html PUBLIC "-//W3C//...
which shows this '.rb' file is NOT an .rb [plain-text] but an .html file !
Try getting the SketchyFFD.rb file downloaded again.
Something in you browser settings is not keeping it as a .rb - ensure it stays intact...
If you think you have got it successfully downloaded, then when it's opened in Notepad.exe or a similar plain-text editor you should be able to read it, and the first two lines should read:
#SketchyFFD
#Copyright 2010 Chris Phillips

there should be no 'raw' html code in it !
:?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby WhizzyWigXGE » Thu Jun 14, 2012 9:43 pm

Many thanks - now I have this installed.
But I have another problerm - how do I select the control points?
I have tried grabing them with the pointer. I can get them to turn blue. but I cannot find a way to actualy pull them?

Thanks
0

WhizzyWigXGE 
 

Re: [Plugin] SketchyFFD (Updated 9 Feb 2010)

Postby TIG » Fri Jun 15, 2012 10:19 am

You must 'edit the context' [the points are grouped] - double-click it, or select and right-click context-menu item....
Then you can select the points 'individually' - the selected ones should turn 'blue' [or whatever color the selection takes from your style - e.g. mine is 'amber'!]...
You can select more that one point by dragging a fence over several of them.
To add points to an existing selection, hold down the Ctrl key as you select them [either by picking or fence].
To remove points from the selection, hold down the Ctrl+Shift keys as you select them [either by picking or fence].
Once you have the desired points selected you use the Sketchup Move tool to relocate them by picking locations, or by typing in a distance etc - just like moving any other thing in Sketchup. The Sketchup Rotate and Scale tools can also be used to change the form of the selected points.
The connected object should 'distort' as the selected points' are altered...
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: tropjosh and 10 guests

Visit our sponsors: