[Plugin] C of G Reporter 1.3
-
excellente' sorry wrong language...
now another question... I know this is kinda off subject. what is the implication of this plugin, does this allude to a future where these weights could be transfered through shear force or straight line force?
the reason I ask is that I look forward to a time when I can build roofs, beams or arches and have their loads followed and measured.
SketchyPhysics got me excited about the possibility... that a model could have gravity and therefore transfer weight and force towards a central point.
thanks for another great plugin...
-
Kristoff
No reason why not... BUT we just haven't written it yet...
-
@ Tig
The big mystery is why so much languages? -
MERCI / THANK YOU / Danke !
that is awsome !
-
Hello TIG
tryed it, got this :
cofgreporter
Error: #<TypeError: C:/Program Files/Google/Google SketchUp 8/Plugins/cofgreporter.rb:81:in+': can't convert nil into String> C:/Program Files/Google/Google SketchUp 8/Plugins/cofgreporter.rb:81 C:/Program Files/Google/Google SketchUp 8/Plugins/cofgreporter.rb:81:in
cofgreporter'
(eval):0 -
Bertier
Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=278046#p278046
The error in the error message is fixed!
Please retry...
To be on the safe site please ensure your file_path/skp_name contains no accented characters - SUp's Ruby is not happy with unicoded characters -
will do now;
thank you
-
new error message :
cofreporter
Error: #<NameError: undefined local variable or method `cofreporter' for main:Object>
(eval) -
@bertier said:
new error message :
cofreporter
Error: #<NameError: undefined local variable or method `cofreporter' for main:Object>
(eval)It's
cof****g****reporter
- you mistyped! -
oops...
-
working but :
CoG Report File:
'F:\neo batitrad\Bar & Ka/console_CofG_Report.csv'
Cannot be written - it's probably already open.
Close it and try making the Report again...
Exiting.
niland it's not open, cause it's not written yet !
-
@bertier said:
working but :
CoG Report File:
'F:\neo batitrad\Bar & Ka/console_CofG_Report.csv'
Cannot be written - it's probably already open.
Close it and try making the Report again...
Exiting.
nil
and it's not open, cause it's not written yet !Try renaming the folder 'Bar & Ka' to 'Bar_Ka' - The '&' in the file_path might be the culprit ?
Also is your model SKP really called 'console.skp' ?
Try the version 1.2 which has more error messages, that might report what is really up...
http://forums.sketchucation.com/viewtopic.php?p=278046#p278046 -
Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=278046#p278046
with some extra error reporting to try and trap Bertier's reported cryptic error messages... -
thank you TIG
I'll try this tonite, got to get the kids at their grand parents now.
where are you from ?
-
It's a secret but there's a clue in his profile
-
If accents are forbidden, that is very annoyous for French Windows System
Because there is an accent for the principal Desk and for some of path! !!!
C:\Documents and Settings\Propriétaire\BureauPS I have not the use of this plug, but it's by curiosity
Of course now I obtain nothing
except this (i have saved my object with Cof as Untitled.skp
curious is the "/" and ""cofgreporter No such file or directory - C;\Documents and Settings\Propriétaire\Bureau/Untitled_CofG_Report.csv CoG Report File; 'C;\Documents and Settings\Propriétaire\Bureau/Untitled_CofG_Report.csv' Cannot be written - it's probably already open. Close it and try making the Report again... Exiting. nil
Edit: That works when I use a path without accent for save my file!
-
The Unicode paradox is an annoying bit of Sketchup's Ruby - some of the 'File' functions don't work properly if there are accented characters etc in path_names etc... Sorry!
At least we know the cause of the problem...
The \ / is also from the same methods when you get the filepath on a PC it has \ separators [/ on MAC], when you join on the new file_name it's always with the as the ;joining; separator / - but it still works OK... -
there is no accent in my path ....
cofgreporter
undefined method `definition' for #Sketchup::Group:0xe005344
CoG Report File:
'F:\neo batitrad\Bar_Ka/console_CofG_Report.csv'
Cannot be written - it's probably already open.
Close it and try making the Report again...
Exiting.
nil -
Have you save your file SKp in the samme path?
-
Bertier
Did you install v1.2
Although it might still fail you should get more error messages...
Advertisement