[Plugin] SketchyFFD (Classic)
-
Thanks REGIS
I'll have to think of another way to deform the netting.
-
Perhaps ypu can subdvide it using subdivide=true when you create your FFD control box.
Cheers
-
I am trying to take a simple rectangular solid and deform it. i have to sub divide the surface? how can i go about this?
Thanks,
-Tony
-
One possibility
Draw a rectangle
Pull it with Ctrl any time you want
Select all (triple click)
Move it one time + CTRL = Copy
Type "10*" (or more) = Multiple
Select all (triple click)
Group it
Select group Right Click / FFD
Edit the goup "FFD"
Move points
Et voilร
-
Hi Chris, I've to say your work for this amazing RB is really great help for me! Thanks for your great job and sharing with us!!
Michael Xie
-
@skell said:
I am trying to take a simple rectangular solid and deform it. i have to sub divide the surface? how can i go about this?
Thanks,
-Tony
There's a subdivide feature in the script.right click> FFD> NxN> set subdivide to true.
-
@unknownuser said:
FFD> NxN> set subdivide to true.
Yes but will be any effect on the subdivide of a simple rectangle!!!
Nothing will arrive when you will move a point of the FFD!Seems the only easy methode is draw a rectangle with the Sandbox
-
Hi..
I think there might be a problem with FFD an ASGVIS V-ray for scetchup.. FFD did not work while i had V-ray installed but now that i have uninstalled V-ray FFD works fine again.. Same problem as with subdivide and smooth script..
can anyone else confirm this ?? Btw, FFD is a brilliant script. -
woooaaaa
amazing plugin
just what I neededthanx a lot !!!!
-
Works nice! But "transformations reset" needs sometimes before FFD starts.
-
.. thanks a million!
really useful too
-
this looks like a wonderful ruby!!!
too bad it's not working for me, it doesn't do anything, and when I try undoing it beaks my geometry apart!
would have loved to use it
-
Its not over yet. If its not working, then its installed wrong or your using it wrong. Or you have version 4 of SU
Could you provide a better description of what its doing wrong? Perhaps screenshots, maybe a video. Just give us some more detail and we'll get it working for you.
Chris
-
I'm running Sketchup 7 and just added your FFD tool. I can move points but there is no 'update FFD' option when I'm finished. Is FFD not compatible with Sketchup 7?
Thanks!
-
The shape should update automatically, you might have to give it a bit of time, though.
If that doesnt work delete the control points, explode the group, regroup and try again.
-
After waiting on a 2.4 GHz dual core XP system, nothing changed. I've just installed FFD on my computer (2.1 GHz dual core) and created a circle so I could elongate one point. Nothing. This is disappointing.
-
Have you tried it on 3d geometry? i think it can work on 2d things, but ive never gotten the hang of it.
-
@cphillips said:
@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
-
Hi Chriss,
it really makes fun to work with FFD! I looked at your code and found the factorial function where you mentioned to encrease performance by adding a table for factorials. I made it dynamic and it boosts your code! Just replace the section with:
#used by calcBernstein. could be replaced by a table since in #this application n is never more than 3 (number of control points). $fTable = [] def factorial(n) sum = $fTable.rassoc(n) if sum return sum[0] else sum = 1 sum.upto(n) { |i| sum *= i } $fTable << [sum, n] return sum end end
Ciao, Stefan
-
Thanks Stefan! Its a nice idea. I updated the plugin with an adaption of the code and applied it to the Bernstein Polynomial as well. It sped up the initial weighting of a big model from 75 seconds to 15 seconds.
I also figured out a way (in theory) to speed up the actual deformation by like 50x. The only problem is I would have to handle moving the control points without using any of Sketchups tools like select, move and rotate. Ugh!
Advertisement