[Plugin] ClothWorks v1.8.0 - 28 Apr 2024
-
Is clothworks going to be updated to work with sketchup 2024?
(I get the following error when i try loading it
Error: NoMethodError (undefined method exists?' for File:Class) c:/users/tenen/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/extension_manager.rbe:71:in block in require_all’
c:/users/tenen/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/extension_manager.rbe:69:in each' c:/users/tenen/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/extension_manager.rbe:69:in require_all’
c:/users/tenen/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/main.rbe:746:in <main>' C:/Program Files/SketchUp/SketchUp 2024/Tools/extensions.rb:197:in eval’
C:/Program Files/SketchUp/SketchUp 2024/Tools/extensions.rb:197:in require' C:/Program Files/SketchUp/SketchUp 2024/Tools/extensions.rb:197:in load’
C:/Users/tenen/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:38:in register_extension' C:/Users/tenen/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:38:in module:ClothWorks’
C:/Users/tenen/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:7:in module:AMS' C:/Users/tenen/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:6:in <top (required)>’) -
@sashapepperspray
The method File.exists? has long been deprecated, but worked.
In the latest Ruby version it doesn’t - File.exist? - works in v2024 and older versions as well.
Many developers are working to adjust their code accordingly.Have patience and post any instances in an affected extension's thread - as there are 100s of 1000s of line of code with the tiniest corrections needing to be found and change, then the extension re-encrypted and signed…
Many authors have already fixed their extensions, so look regularly to see if there’s already an update available…
-
Since I installed Sketchup 2024 I keep getting a message to the effect that ClothWorks has to be updated to run on it. Could you possibly do it? Thanks.
Edson
-
@Edson same here, i would appreciate the update for SU 2024.
best,
burak -
This post is deleted! -
@Anton_S Any updates for SketchUp 2024?
-
I have just upgraded to Sketchup 2024 and Clothworks plugin will not load. I get the following error messages. I have uninstalled and reinstalled the plugin.
Extension Errors Report
SketchUp: 24.0.484
OS: Windows 11
Ruby: 3.2.2Extension: ClothWorks (1.7.7a)
Error: NoMethodError (undefined methodexists?' for File:Class) c:/users/dave/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/extension_manager.rbe:71:in
block in require_all'
c:/users/dave/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/extension_manager.rbe:69:ineach' c:/users/dave/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/extension_manager.rbe:69:in
require_all'
c:/users/dave/appdata/roaming/sketchup/sketchup 2024/sketchup/plugins/ams_clothworks/main.rbe:746:in<main>' C:/Program Files/SketchUp/SketchUp 2024/Tools/extensions.rb:197:in
eval'
C:/Program Files/SketchUp/SketchUp 2024/Tools/extensions.rb:197:inrequire' C:/Program Files/SketchUp/SketchUp 2024/Tools/extensions.rb:197:in
load'
C:/Users/Dave/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:38:inregister_extension' C:/Users/Dave/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:38:in
module:ClothWorks'
C:/Users/Dave/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:7:in<module:AMS>' C:/Users/Dave/AppData/Roaming/SketchUp/SketchUp 2024/SketchUp/Plugins/ams_ClothWorks.rb:6:in
<top (required)>' -
@dbrazina said in [Plugin] ClothWorks v1.7.7 - 2 May 2022:
I have just upgraded to Sketchup 2024 and Clothworks plugin will not load. I get the following error messages. I have uninstalled and reinstalled the plugin.
Its not yet compatible with SketchUp 2024. The developer is aware and plans a release ASAP
-
The error relates to
File.exists?()
this method was deprecated long ago and replaced with
File.exist?()
which is grammatically incorrect in English, but hey Ruby is international !
The older version had worked for many years 'in tandem', but it's now been removed from the newest Ruby version which ships with v2024.
So this now breaks older scripts that still include it...It's relatively easy to fix - I found 2 instances that needed fixing in the various SketchUcation tools scripts when I was preparing them for this current version !
Another issue that the ClothWorks developer faces is that his code relies on some functions within some .so/.bundle files for different OSs, so he will need to compile new versions of these for compatibility with v2024's Ruby version...
-
I hope, it will be updated.
-
Hi all, the ClothWorks is now updated for SU2024. Thank you for your patience!
-
Hi,
I receive an error message when importing a license.18-Apr-24 19:13:56 validate_response_error Error in the License Validation--Response from Sketchucation: License seats exceeded.
18-Apr-24 19:00:51 validate_response_error Error in the License Validation--Response from Sketchucation: License seats exceeded.
18-Apr-24 18:59:02 validate_response_error Error in the License Validation--Response from Sketchucation: License seats exceeded.
18-Apr-24 18:58:45 validate_response_error Error in the License Validation--Response from Sketchucation: License seats exceeded. -
@FlawinneF
Have you got the newest version of the SketchUcation Tools installed ?
It handles the licensing system.
You can also login to you own licenses on this site using the link in the Extensions > SketchUcation submenu... My Licenses at SketchUcation...
https://sketchucation.com/webshop/my-licences.php
There you can manage all of your licenses... -
@TIG thank you, it's activated
-
@Anton_S Why not fix the problem of the bar remaining active on Mac !!!
if tb.get_last_state == TB_NEVER_SHOWN tb.show else tb.restore end
-
@FlawinneF Thanks for that tip. I never knew about the get_last_state or restore. Will utilize in next release
-
@Anton_S
I use this usuallytb.show if tb.get_last_state.abs == 1 # TB_VISIBLE/NEVER
Has the same result...
-
Version 1.8.0 released.
- Fix adaptive grid not working properly for some models on Mac OS X
- Show toolbar properly on Mac OS X. Thanks @FlawinneF and @TIG
-
Sorry I didn't, say thank you sooner, thank you for everything
-
@Anton_S Hello, Mr. Anton. I don't know when you will initiate the redevelopment of MSPhysics. As far as I know, countless people are looking forward to this project. Alternatively, you can develop a plugin that can partially implement certain functions.
For example, a simulation tool that can implement simulation functions similar to fusion360 and SolidWorks may not require embedding a physics engine (I'm not sure), but only adding axes and motors, as well as collision detection. Used for designing machinery, mechanical gif diagrams, and checking the rationality of mechanical design in sketchup. I hope to receive your reply.
Advertisement