[Plugin] SketchyFFD (Classic)
-
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?
-
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. -
For some reason, only the first version works for me.
I set NxN
width=11
depth=11
height=1
subdivise=falseFirst 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? 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:incalcBernstein' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:214:in
initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:213:inupto' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:213:in
initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:211:inupto' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:211:in
initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:209:inupto' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:209:in
initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:200:ineach' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:200:in
initFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:151:instartFFD' /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:inapplyMultipleFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in
each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:inapplyMultipleFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in
each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:inapplyMultipleFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:423:in
analizeLattice'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:163:inupdateFFD' /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:ineach' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in
applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:ineach' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in
applyMultipleFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:423:inanalizeLattice' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:163:in
updateFFD'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:84:inonChangeEntity' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:253
-
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... -
I set NxN parameters and clicking ok the group disappears, it is still in the outliner but nowhere in the model.
-
I also try with only SketchyFFD.rb in plugins folder, same result.
SU 8.0.14345
-
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... I'll check though the code and see if I can trap for this...
-
If I add a vertical line in the group it works.
Good to know. -
Here's my update http://sketchucation.com/forums/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]... -
Works great, thanks a lot TIG, have a sunny day.
-
Thanks! This is awesome!
-
Thanks Chris,Thanks Chris.
-
@tig said:
Here's my update http://sketchucation.com/forums/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
-
@guanjin said:
@tig said:
Here's my update http://sketchucation.com/forums/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 ?? -
@tig said:
@guanjin said:
@tig said:
Here's my update http://sketchucation.com/forums/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
-
i can't find the "update ffd" after i move the point and close grup
can't anyone explain me? -
thank you!
-
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
-
@tootsiejo said:
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... -
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
Advertisement