I invite for acquaintance with Russian plug-in
-
@yad2000 said:
. dll and. so standard libraries contain Iconv, to work with different encodings. The plugin was created for the Russian language for Windows, unfortunately for MAC to configure the plugin I have no technical ability (I hope to understand.)
Iconv needed to process W-1251 encoding in UTF from time to time by the return webdialogHi,
I had to change all theSketchup:: require''
torequire ''
to return true and see the Toolbar.If I comment out all 'Iconv' references in all the files, Webkit on mac appears to handle the Cyrillic encoding without any issues.
Is
<script type="text/javascript" src="js/documets_pack.js"></script>
still needed? I get an error.
If I change ini.rb to "Lang=en", on start I get a message box
Did not load RB script: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb
if I start with Lang=ru and then change ini.rb and reload, I get
Error: #<TypeError: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb:81:in
add_item': can't convert nil into String>`I can't get much further without English, but will keep trying.
john -
OMG! WHAT A PIECE OF CRAP.
Denis .. you MUST wrap all your code inside a module.
You are defining class veriables and all your methods within
Object
, and they propagate into everyone else's classes and modules.I do not recommend anyone use this plugin until it is fixed, and properly module wrapped !!
-
WARNING !!
This "plugin" (term used loosely,) does very bad things to SketchUp's Ruby environment !
It includes
Math
module intoObject
, which will propagate into EVERYTHING else.
Also it modifiesInteger
,Float
andFixnum
baseclases, by includingMath
(again), and defining plugin specific methods (that are not really needed anyway.) -
@driven said:
Hi,
I had to change all theSketchup:: require''
torequire ''
to return true and see the Toolbar.
If I comment out all 'Iconv' references in all the files, Webkit on mac appears to handle the Cyrillic encoding without any issues.
Is<script type="text/javascript" src="js/documets_pack.js"></script>
still needed? I get an error.
If I change ini.rb to "Lang=en", on start I get a message box
Did not load RB script: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb
if I start with Lang=ru and then change ini.rb and reload, I get
Error: #<TypeError: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb:81:in
add_item': can't convert nil into String>`
I can't get much further without English, but will keep trying.
johnWork on the multi-language version is started, the news wrote about this on your site. Much more needs to be done (not without some help users of course).
The plugin is provided as is and use it to recommend your own risk.@dan rathbun said:
OMG! WHAT A PIECE OF CRAP......
Please calm down!
I am not a programmer proffessionalny Ruby, do what learned.
I do not claim to uniqueness and correctness of their decisions. Your comment will take into consideration and try to make changes with the next version.
As the saying goes do not like do not eat, and you should not call all the crap. -
#-v1.2.1
Multi-project choice of language in the process of working with the plugin
Calculation of the mass-removal (steel), raschityvatesya of geometrical parameters (may not fit with factory products)
#-The structure of the code changes: there is no change in the standard classes, all of the code integrated into classes and modules
#-correction made for loading iconv.so: The MAC does not load, only on Windowsedit-elements located outside the Observer in the allocation of a separate command button
#-fixed principle of sorting elements of the standard specification. sort (to avoid memory leaks in the process of counting and hangs SketchUP)
-
thanks for the update. But still generates the same error, when using the tool "tube":
Error: #<ArgumentError: Not enough edges - at least 3 required>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:inadd_face' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:in
cp_create_pipe_geometry'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:110:in `onLButtonDown'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:247you can fix it?
I use:
windows xp in Spanish
sketchup 8 pro in Spanish -
I receive the following error code after installing.
Thanks you in advance for your help.
Ken
-
@unknownuser said:
I receive the following error code after installing.
Thanks you in advance for your help.
Ken
You must copy the file "iconv.so" in the folder:
windows/system32 -
Jorge
Will thanks for the advice, however I still have the same error code.
Ken
-
Site not open
-
@jorge2011 said:
thanks for the update. But still generates the same error, when using the tool "tube":
Error: #<ArgumentError: Not enough edges - at least 3 required>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:inadd_face' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:in
cp_create_pipe_geometry'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:110:in `onLButtonDown'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:247
you can fix it?
I use:
windows xp in Spanish
sketchup 8 pro in Spanishhmm ...
very strange ...
I was not able to repeat that mistake, I can recommend:Line number 569 is:
face = entities.add_face circle
Try replacing the line number 557:
circle = entities.add_circle pt1, vecbegin, radius, numsegs
on the line
circle = entities.add_circle pt1, vecbegin, radius, 24
or if not, then the line
circle = entities.add_circle pt1, vecbegin, radius
language is not involved, but rather a problem of API in your version of SketchUP, although the design:
circle = entities.add_circle
works with the version of SketchUp 6.0+, can you have an earlier version, not 8.0 PRO? in a previous version of the plug CoolPipe 1.2.0 you have the same problem was, nobody else it is not repeated
-
This solution does not work.
the list of error:
Error: #<ArgumentError: Not enough edges - at least 3 required>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:570:inadd_face' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:570:in
cp_create_pipe_geometry'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:110:inonLButtonDown' Error: #<NoMethodError: undefined method
bounds' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/ReducerTool.rb:90:increategeometry' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/ReducerTool.rb:67:in
onLButtonDown'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:570
Error: #<NoMethodError: undefined methodbounds' for nil:NilClass> C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/TeeTool.rb:90:in
creategeometry'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/TeeTool.rb:68:inonLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/ReducerTool.rb:90 Error: #<NoMethodError: undefined method
bounds' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90:increategeometry' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:67:in
onLButtonDown'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/TeeTool.rb:90
Error: #<NoMethodError: undefined methodbounds' for nil:NilClass> C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90:in
creategeometry'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:67:inonLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90 Objeto elegido CoolPipe = Error: #<NoMethodError: undefined method
[]' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:594:ingetparams_frompipe' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:327:in
reset'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:296:ininitialize' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:3070:in
new'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:3070:incp_edit_coolpipe_elements' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:21:in
cp_add_toolbar_button'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90:incall' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90 Error: #<NoMethodError: undefined method
layer' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67:inonLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:594 Error: #<NoMethodError: undefined method
layer' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67:inonLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67 Error: #<NoMethodError: undefined method
length' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2819:incp_get_length_tube' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2931:in
generate_CoolPipe_specification'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2925:ineach' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2925:in
generate_CoolPipe_specification'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:25:incp_add_toolbar_button' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67:in
call'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67 -
@yad2000 said:
Line number 569 is:
face = entities.add_face circle
try:
face = entities.add_face( circle.edges )
-
That's right, because you're not going to work. This plugin is targeted to the appropriate users. You have added a new document and a new tube without any parameters, of course anything you do will not work. The parameters necessary to specify everything: nominal diameter, outside diameter, wall thickness, the name of the pipeline, etc. All that is required.
So that promote your cause, or assist in the development or discourage new users -
Please bring a list of documents for which you want to add elements. Now used only 2 Russian document on the piping. If you write a number of documents that you use and you can download them somewhere, I'll add them to the database to avoid similar mistakes.
-
@jorge2011 said:
@unknownuser said:
I receive the following error code after installing.
Thanks you in advance for your help.
Ken
You must copy the file "iconv.so" in the folder:
windows/system32i use x64 windows and i had the same problem
copied iconv.so and iconv.dll to win2, wow64, sketchup plugins and coolpipe folders
don't know which worked out but it's working -
Well which one of those paths are in the
$LOAD_PATH
array ?? -
@yad2000 said:
Please bring a list of documents for which you want to add elements. Now used only 2 Russian document on the piping. If you write a number of documents that you use and you can download them somewhere, I'll add them to the database to avoid similar mistakes.
I can not open the page, to download, why not posted on the website
-
@guanjin said:
I can not open the page, to download, why not posted on the website
Coolpipe.ru site - located in the ucoz.com - if none of the sites of ucoz you can not read - then the problem is with your provider.
-
@yad2000 said:
@irwanwr said:
if the plugin will be available in English version and shared here too.
if it is true.this is true, but it will probably not soon. Will take some time to create a fully functional version of the native language, only then do the translation. It is possible I will ask for help - if you do not mind
Finally downloaded, loaded error
Advertisement