[Plugin] SketchyFFD (Classic)
-
@pascalk said:
i am getting an unsigned copy problem any help ?
set your load policy to unrestricted, will load fine then
the extension will work the same whether it is signed or not, it is purely a mechanism to give the end-user some control over extension running on their system, in the end you (as in yourself) must make sure the extensions (and their sources) are trustworthy
-
Hi!
I have a problem with this plugin. I'm trying to match an FFD "box" to my group, which local axes are different from global axes of the model. I mean, they are rotated. I created an FFD group and it doesn't match my target group's axes. How can I match FFD group to local axes or my group? Instead, it matches the global axes. I could just reset rotation of my group, I know. But I don't want to do this.
Even if I change my model's global axes, FFD box orientation won't change. It will stick to initial orientation.
-
hi everyone,
newbee here, downloaded the .rb and .rbz file, couldn't see the plugin yet...using 2016...help!!!
THANKS
-
It's a context-menu based tool - read the usage guidance...
-
This plugin can not work (error load) in sketchup 2019. How I could install this plugin correctly?
-
This is an old script.
Somethings have changed in v2019...
Please try running it [following the earlier guidance] with the Ruby Console open and post any error messages you might get...
If it's a simple issue perhaps we can fix it... -
This is the message I am seeing in conjunction with 2019
Error: #<SyntaxError: C:/.../SketchUp/SketchUp 2019/SketchUp/Plugins/SketchyFFD.rb:32: Invalid return in class/module body
return nil
^~~~~~>And a sincere thank you TIG, as this was not your plugin originally
-
Try this fix...
Find the file in your user's AppData tree
C:/.../SketchUp/SketchUp 2019/SketchUp/Plugins
namedSketchyFFD.rb
Edit it using Notepad[++] - a plain-text editor...
Find line#32, and add a#
to the start of the line, so that it reads:
#return nil
and is now ignored as it loads...
Save the file, and restart SketchUp to see if that helps...The latest version of Ruby now shipped with v2019 is more unforgiving of simple syntax errors - previously this was just ignored !
-
@tig said:
The latest version of Ruby now shipped with v2019 is more unforgiving of simple syntax errors - previously this was just ignored !
TIG - will this required syntax discipline actually reduce certain types of issues with plugins, or is it simply an added annoyance for extension developers?
-
Thank you for the quick reply TIG.
Your suggestion took care of the error message I was seeing. No error messages at load time now, but does not actually load. I saw your previous post:Please try running it [following the earlier guidance] with the Ruby Console open and post any error messages you might get...
Wading through the 13 pages of posts associated with SketchyFFD to try and find the guidance. I will do my best to get you some more clues.
May have to learn Ruby.
-
You seem to be using v2019?
The Extension Manager should show if its loaded.
It might show it's loaded but blocked because it's unsigned [it is very old after all !]
Try resetting your Extension Loading policy to "Unrestricted".
Restart SketchUp.
See if that helps...Also be sure you understand how the tool works through menus/context etc...
-
File load error (C:/Users/pucon/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/SketchyFFD.rb):
Error: #<SyntaxError: C:/Users/pucon/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/SketchyFFD.rb:32: Invalid return in class/module body
return nil
^~~~~~>
c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf-rbztools.rbs:1288:ininstall_from_archive' c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf-rbztools.rbs:1288:in
rbzInstaller'
c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf-rbztools.rbs:1503:inrbzDirect' c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf-rbztools.rbs:1376:in
loadHandler'
c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf-rbztools.rbs:476:inloadFromURL' c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf-rbztools.rbs:1264:in
set_choi'
c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf_dialog.rbs:535:inchooseplugins' c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf_dialog.rbs:485:in
autoinstall_dlg'
c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf_dialog.rbs:415:inset_autoinstall_choice' c:/users/pucon/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/sketchucation/scf_dialog.rbs:81:in
block in new'This is what I get in Ruby on fresh install SU 2019! If anyone knows how to fix the code of the SketchyFFD.rb file, it will be nice to get this addon in a working state.
-
Puco, please notice the posts above yours from me Fillister, dated 13 FEB and in particular TIG's reply.
I was receiving the same "return nil" message and TIGs helpful suggestion resolved the error message associated with SketchyFFD.After the return nil ^-----> . in your post, I am not sure you noticed, the error messages are no longer associated with SketchyFFD.
Six lines refer to scf-rbztools
c:/users/pucon/.../plugins/sketchucation/scf-rbztools.rbs:Four lines refer to scf_dialog
c:/users/pucon/.../plugins/sketchucation/scf_dialog.rbs:Sadly I am unable to speak to those issues.
TIG my apologies.
In my excitement at having the return nil error so easily fixed, I rushed in to try SketchyFFD carelessly.
I can now confirm there seems to be nothing wrong as far as I can tell with SketchyFFD running in SketchUp 2019 on Windows 10. -
The later errors seem to relate to the SketchUcation toolset...
Have you installed the latest version of it - it was published a few days ago, to be fully compatible with v2019...
Perhaps the SketchyFFD load error affected the load of the toolset too.
After you fix that FFD issue [as explain a few days ago], then do you still see the SketchUcation related error messages ?
If so it is rare and unexpected...But I have an idea...
Perhaps your v2019 SketchUp was not installed properly ?
An incorrect installation can cause all sorts of unpredictable issues, with permissions etc.
It'll work for many things but unexpected fall over on others...
You can try to 'Repair' the installation - it will do no harm in any case...
Here are the steps...
Whilst you are logged into Windows with your normal user-account, ensure that SketchUp is closed.
Find the v2019 SketchUp installer exe file - probably in your Downloads folder [the default location].
Select its icon and right-click > context-menu > "Run as administrator"...
When prompted choose "Repair"...
Restart SketchUp to see if this have improved...
Report back...Installing any complex app in newer versions of Windows in any other way can lead to all kinds of flakiness...
Double-clicking to "Run" the exe installer is NOT the same as using "Run as administrator", even if you have admin-powers as a normal user the result will not be exactly the same ! -
Dear everyone,
I am trying to get sketchy ffd installed on my sketchup 2019 version...
and get thos error message:Fehler beim Laden der Datei SketchyFFD.rb
Error: #<SyntaxError: C:/Users/Jens 2018/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/SketchyFFD.rb:32: Invalid return in class/module body
return nil
^~~~~~>anyone ideas on how to fix this? - or whats the correct way to install this. I tried to activate through the extensions manager and mnually copied to the ruby folder. neither one worked...
any help is appreciated!
best regards, Jens
-
This IS a very plugin !
The code in../Plugins/SketchyFFD.rb
is throwing an error in line#32 where there's a misplaced 'return'.
This doesn't affect earlier Ruby versions, but fails in the newest version shipped with v2019.To fix it do the following...
Find the RB file in your Plugins folder.
Edit it with a plain-text editor - like Notepad++ [or TextWrangler on MAC]
Find line#32 and edit it.
Changereturn nil
to**#**return nil
[with an additional leading**#**
]
Save it and restart SketchUp, it should now load OK... provided that your Extension Manager Loading Policy is set to Unrestricted...Note that its submenu only appears in the context-menu, and it is only 'full' if a suitable Group is selected...
-
Its showing entities of type 'group' can't be deformed !
-
Firstly, have you fixed the code as explained in the previous post ?
PS: Please get the latest v6 which is fixed for you - see next post...You are getting an odd message - please post it all.
However, I suspect it results from the selected group containing no editable vertices - e.g. if the selected group contains some other group[s] or component-instances, but no 'raw geometry', then there will be no vertices in it for FFD to process. Look in the Outliner and explode the nesting, OR edit and perform the FFD operations on a group that does contain raw-geometry which will in turn supply the needed vertices...Put simply, you select a group and use the context-menu to apply some guide-points in a 'cage'.
These are grouped separately, so to select them it's easiest to use the Outliner.
Edit their container and move the points etc to deform the connected group's geometry... -
Because we've had a lot of confusion with this old Plugin - especially with v2019 - I've updated its RBZ in the PluginStore.
Now v6 should be compatible and it is also 'signed'...
https://sketchucation.com/pluginstore?pln=SketchyFFD -
Support for rotated groups would be a big deal in this plugin.
Advertisement