[Plugin] SketchyFFD (Updated 20130203)

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby Hogwarts » Wed Apr 18, 2012 10:05 pm

Rich O'Brien wrote:FFD won't allow you to create a N x N cage if it's raw geometry or a component


So how do you create the cage? I am just starting at Sketchup.
I've been using it for 1-2 months now.

Here is what I'm trying to make.
The snow cap on top of this window.



I already made a cylinder. Radial bended it around the top. Now i need to deform it like snow

How do you suggest I do this. Thank you.
0

Hogwarts 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby Rich O Brien » Wed Apr 18, 2012 10:40 pm

Have you read the description in the first post?

Make your cylinder a group. Right click and choose N x N. Input values for height, depth and width. These will be the points that weight your cylinder.

Edit the point group and adjust points accordingly.

It's best if you attempt to do this then ask when things become difficult.
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby Hogwarts » Wed Apr 18, 2012 11:04 pm

Rich O'Brien wrote:Have you read the description in the first post?

Make your cylinder a group. Right click and choose N x N. Input values for height, depth and width. These will be the points that weight your cylinder.

Edit the point group and adjust points accordingly.

It's best if you attempt to do this then ask when things become difficult.


Ok I've completed your steps up to "edit point group"

I'm not quite sure how, could you explain it? Thanks for the patience.

0

Hogwarts 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby Rich O Brien » Wed Apr 18, 2012 11:42 pm

Now you've 2 groups. The cylinder and the points.

Edit the points group the manipulate the cylinder group. The points can be moved individually or in multiples. Pick a row and move them. The mesh should update when the move is committed.

Just practice :thumb:
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby Hogwarts » Thu Apr 19, 2012 3:18 am

Rich O'Brien wrote:Now you've 2 groups. The cylinder and the points.

Edit the points group the manipulate the cylinder group. The points can be moved individually or in multiples. Pick a row and move them. The mesh should update when the move is committed.

Just practice :thumb:


Thanks for the help. I'm starting to make it look like the image.
It's going to take practice you're right. This is cool!
0

Hogwarts 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby chadlharris2000 » Tue Oct 02, 2012 12:45 pm

I have a very novice question. I'm trying to download the SketchyFFD plug in but I can't see where the link is to download it. please tell me how to find it on this website. Thanks
0

chadlharris2000 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby Tobobo » Sat Oct 06, 2012 11:17 am

chadlharris2000 wrote:I have a very novice question. I'm trying to download the SketchyFFD plug in but I can't see where the link is to download it. please tell me how to find it on this website. Thanks



it is at the bottom of the first post, just click on it and save it to your plugins folder.
0
Toby

Philippians 4:13

I can do everything through him who gives me strength.
User avatar
Tobobo 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby shri » Fri Nov 30, 2012 12:46 pm

very cool stuff..thanks alot..makes very easier working with organic shapes
FFD..rocks... :family: :family:
0

shri 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby Lana » Sat Dec 08, 2012 7:36 am

just have the best here . thank you . :ecstatic:
0
User avatar
Lana 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby itscabbage » Wed Dec 19, 2012 2:45 pm

Erm, i'm new here. i have sketchup 8 and i've put this ruby into the plugins folder with all the other rubys, but i can't find out how to use this in sketchup?
0

itscabbage 
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby mitcorb » Wed Dec 19, 2012 8:37 pm

Hi, itscabbage:
I would highly recommend reading through the entire series of pages in this thread. Among the pages are animations, visuals etc. that can provide information on how to use the tool. If you are unable to activate it, perhaps you should check to see if it is in the proper folder. This is dependent on whether you are using Windows or Mac.
FFD does take a little practice.
And, if you haven't already done so, update your profile. This will enable helpers to determine specific solutions, especially with regard to operating systems.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby gilles » Sun Feb 03, 2013 12:25 pm

For some reason, only the first version works for me.

I set NxN
width=11
depth=11
height=1
subdivise=false

First version everything is OK, scale move rotate...

Second version, nothing moves (see ruby report)

Tig's version, trying to move the original group just disappear? :shock: no console report.

Any idea?

WARNING: make_unique is a deprecated methodof Sketchup:Group
Error: #<NoMethodError: undefined method `*' for nil:NilClass>
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:453:in `calcBernstein'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:214:in `initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:213:in `upto'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:213:in `initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:211:in `upto'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:211:in `initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:209:in `upto'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:209:in `initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:200:in `each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:200:in `initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:151:in `startFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:20
Error: #<NoMethodError: undefined method `[]' for nil:NilClass>
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:253:in `applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in `each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in `applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in `each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in `applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:423:in `analizeLattice'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:163:in `updateFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:84:in `onChangeEntity'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:453
Error: #<NoMethodError: undefined method `[]' for nil:NilClass>
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:253:in `applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in `each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in `applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in `each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in `applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:423:in `analizeLattice'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:163:in `updateFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:84:in `onChangeEntity'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:253
0
" c'est curieux chez les marins ce besoin de faire des phrases "
User avatar
gilles 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby TIG » Sun Feb 03, 2013 12:48 pm

I made the adjusted version because the older versions were all causing issues, clashes with other scripts etc, the observer was very flaky...
My version works fine for me when tested using your settings, although I don't fully understand the 'moving the group...disappear' issue :? what disappears ? If you move the group away from the guides it will deform differently...
You can only have one set of FFD guide-points at a time, so is this your issue ?
The 'second' version had the most fails so I'd expect the litany of error messages...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby gilles » Sun Feb 03, 2013 1:36 pm

I set NxN parameters and clicking ok the group disappears, it is still in the outliner but nowhere in the model.
0
" c'est curieux chez les marins ce besoin de faire des phrases "
User avatar
gilles 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby gilles » Sun Feb 03, 2013 1:50 pm

I also try with only SketchyFFD.rb in plugins folder, same result.

SU 8.0.14345
0
" c'est curieux chez les marins ce besoin de faire des phrases "
User avatar
gilles 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby TIG » Sun Feb 03, 2013 1:53 pm

It works fine for me with z=1 set, provided that the geometry has some 3d-ness.
If I draw a grid 10x10 as a flat 2d group it does then fail !?
Not having written the original code [I just fixed some known issues] I am unclear why...

Adding a short vertical line to the grouped mesh fixes it...
Capture.PNG
I'll check though the code and see if I can trap for this...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 20110810)

Postby gilles » Sun Feb 03, 2013 2:06 pm

If I add a vertical line in the group it works.
Good to know.
0
" c'est curieux chez les marins ce besoin de faire des phrases "
User avatar
gilles 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby TIG » Sun Feb 03, 2013 3:02 pm

Here's my update viewtopic.php?p=36127#p36127
The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby gilles » Sun Feb 03, 2013 3:09 pm

Works great, thanks a lot TIG, have a sunny day.
0
" c'est curieux chez les marins ce besoin de faire des phrases "
User avatar
gilles 
Top SketchUcator
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby matt.gordon320 » Sat Feb 09, 2013 1:01 am

Thanks! This is awesome!
0

matt.gordon320 
Premium Member
Premium Member
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby litounba » Mon Feb 25, 2013 4:42 am

Thanks Chris,Thanks Chris.
0

litounba 
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby guanjin » Mon Feb 25, 2013 1:39 pm

TIG wrote:Here's my update viewtopic.php?p=36127#p36127
The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...



New version, can not be achieved on the sphere deformation
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby TIG » Mon Feb 25, 2013 3:28 pm

guanjin wrote:
TIG wrote:Here's my update viewtopic.php?p=36127#p36127
The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...

New version, can not be achieved on the sphere deformation
But did the old version ?
There is little difference with this update !
How are you trying to deform a sphere ??
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby guanjin » Mon Feb 25, 2013 4:07 pm

TIG wrote:
guanjin wrote:
TIG wrote:Here's my update viewtopic.php?p=36127#p36127
The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...

New version, can not be achieved on the sphere deformation
But did the old version ?
There is little difference with this update !
How are you trying to deform a sphere ??



Sorry, operational errors, thank TIG
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby eshertoding » Mon Apr 15, 2013 1:17 pm

i can't find the "update ffd" after i move the point and close grup
can't anyone explain me?
0

eshertoding 
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby libinhui » Sat Apr 27, 2013 10:19 am

thank you!
0

libinhui 
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby tootsiejo » Wed Jul 24, 2013 9:44 am

Hi i can't see the SketchyFFD in my SKP8. it doesnt appear. how do you really install it? is there a tool? it doesnt install when i put it in the plugins folder
0

tootsiejo 
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby TIG » Wed Jul 24, 2013 11:35 am

tootsiejo wrote:Hi i can't see the SketchyFFD in my SKP8. it doesnt appear. how do you really install it? is there a tool? it doesnt install when i put it in the plugins folder

Assuming you have indeed installed the .rb file into the Plugins folder and restarted SketchUp the tool runs from items in the right-click context-menu 'FFD...' if you have a suitable selection [group etc]...
Please read the tool's instructions in the first page...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby DaddyDDesign » Fri Aug 16, 2013 8:42 pm

Hello I am somewhat new to sketchup and am having a bit of trouble with the "open control points group " step of the process. After the object has the control points around it I cant seem to snap to any of them, when I click the cursor just starts to create a selection box. I'm sure I'm missing something trivial, any help would be appreciated.

Thanks,
Dave
0

DaddyDDesign 
 

Re: [Plugin] SketchyFFD (Updated 20130203)

Postby TIG » Sun Aug 18, 2013 2:13 pm

You need to open the group to move the guide-points [aka cpoints] etc.
You should be able to double lick on one of them to open the group.
Failing that, use the Outliner to find it and double-click on the named entry in the Outliner dialog, it will then open to edit.
To close an edit of a group [or component] click away from it in empty space, or use the right-click context-menu item to close it [or the equivalent Edit menu item]...
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: Google Bot, jainaboon and 21 guests

Visit our sponsors: