I invite for acquaintance with Russian plug-in
-
@unknownuser said:
Hello
I have tried and tried to get this program to work. I keep getting the attached error. I have the file, iconv.so in the correct directory as shown.
So what is wrong, and can it be fixed? I deal with pipes diagrams and would like for this to work.
So thanks in advance for your help.
Ken
Start.rb is not finding iconv.so is what your message says, and it needs it so it reports an error....
I'm on mac, but it looks like you need to put the missing file into your plugins folder >>> iconv.so
john
-
Looks like a very interesting plugin...
Unfortunately I seem to share the same issue as Ken...
I've never had any issue installing a plugin - before now...
I even tried to copy the iconv.so to the plugins folder, but to no avail...
-
OK... Tried to see if I could see something in the coolpipe_Start.rb
(yep - it's dangerous when having a very limited knowledge when it comes to coding... )The original code looked like this:
#encoding; utf-8 ################################################################################################## ################################################################################################## # Cool Pipe Engine 2011-2012 # Cool Pipe Engine 2011-2012 to the SketchUp interface # version 1.2 # Software Author; Borisov Denis Vladimirovich (yad2000@rambler.ru) # Design; Borisov Denis Vladimirovich (yad2000@rambler.ru) # Β©2012 by Borisov Denis Vladimirovich (yad2000@rambler.ru) #ΠΡΡΠΎΡΠΈΡ Π²Π΅ΡΡΠΈΠΉ #-v1.2.1 #-ΠΡΠ»ΡΡΠΈΡΠ·ΡΡΠ½ΠΎΡΡΡ ΠΏΡΠΎΠ΅ΠΊΡΠ° (ΡΡΡΡΠΊΠΈΠΉ,Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΈΠΉ,ΡΡΠ°Π½ΡΡΠ·ΡΠΊΠΈΠΉ,ΠΈΡΠ°Π»ΡΡΠ½ΡΠΊΠΈΠΉ,ΠΈΡΠΏΠ°Π½ΡΠΊΠΈΠΉ,Π½Π΅ΠΌΠ΅ΡΠΊΠΈΠΉ), Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΡΠ±ΠΎΡΠ° ΡΠ·ΡΠΊΠ° Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠ°Π±ΠΎΡΡ Ρ ΠΏΠ»Π°Π³ΠΈΠ½ΠΎΠΌ #-Π Π°ΡΡΠ΅Ρ ΠΌΠ°ΡΡΡ ΠΎΡΠ²ΠΎΠ΄Π° (ΡΡΠ°Π»ΡΠ½ΠΎΠ³ΠΎ), ΡΠ°ΡΡΠΈΡΡΠ²Π°ΡΠ΅ΡΡ ΠΏΠΎ Π³Π΅ΠΎΠΌΠ΅ΡΡΠΈΡΠ΅ΡΠΊΠΈΠΌ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ (ΠΌΠΎΠΆΠ΅Ρ Π½Π΅ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΎΠ²Π°ΡΡ Ρ Π·Π°Π²ΠΎΠ΄ΡΠΊΠΈΠΌ ΠΈΠ·Π΄Π΅Π»ΠΈΡΠΌ) #-Π‘ΡΡΡΠΊΡΡΡΠ° ΠΊΠΎΠ΄Π° ΠΈΠ·ΠΌΠ΅Π½Π΅Π½Π΅Π½Π°; ΠΎΡΡΡΡΡΡΠ²ΡΠ΅Ρ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΡ ΠΊΠ»Π°ΡΡΠΎΠ², Π²Π΅ΡΡ ΠΊΠΎΠ΄ ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½Π΅Π½ Π² ΠΊΠ»Π°ΡΡΡ ΠΈ ΠΌΠΎΠ΄ΡΠ»ΠΈ #-Π²Π½Π΅ΡΠ΅Π½ΠΎ ΠΈΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΏΠΎ Π·Π°Π³ΡΡΠ·ΠΊΠ΅ iconv.so; Π½Π° MAC Π½Π΅ Π·Π°Π³ΡΡΠΆΠ°ΡΡ, ΡΠΎΠ»ΡΠΊΠΎ Π½Π° Windows #-ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² Π²ΡΠ½Π΅ΡΠ΅Π½ΠΎ Π·Π° ΠΏΡΠ΅Π΄Π΅Π»Ρ Observer ΠΏΡΠΈ Π²ΡΠ΄Π΅Π»Π΅Π½ΠΈΠΈ Π½Π° ΠΎΡΠ΄Π΅Π»ΡΠ½ΡΡ ΠΊΠΎΠΌΠ°Π½Π΄Π½ΡΡ ΠΊΠ½ΠΎΠΏΠΊΡ #-ΠΈΡΠΏΡΠ°Π²Π»Π΅Π½ ΠΏΡΠΈΠ½ΡΠΈΠΏ ΡΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΈ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² ΡΠΏΠ΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ Π½Π° ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΉ .sort (Π΄Π»Ρ ΠΈΠ·Π±Π΅ΠΆΠ°Π½ΠΈΡ ΡΡΠ΅ΡΠΊΠΈ ΠΏΠ°ΠΌΡΡΠΈ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΠΏΠΎΠ΄ΡΡΠ΅ΡΠ° ΠΈ Π·Π°Π²ΠΈΡΠ°Π½ΠΈΠΉ SketchUP) #-v1.2 #-ΠΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ ΡΡΡΡΠΊΡΡΡΡ ΡΠ°Π±ΠΎΡΡ Ρ Π±Π°Π·ΠΎΠΉ Π΄Π°Π½Π½ΡΡ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² #-Π ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΡΡΠ±ΠΎΠΏΡΠΎΠ²ΠΎΠ΄ΠΎΠ² #-Π ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΎΡΠ²ΠΎΠ΄ΠΎΠ² #-Π ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΎΠ² #-Π ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΡΠΎΠΉΠ½ΠΈΠΊΠΎΠ² #-Π ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ Π·Π°Π³Π»ΡΡΠ΅ΠΊ #-Π ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠ»Π°Π½ΡΠ΅Π² #-Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΠΏΠ΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ #-Π€ΡΠ½ΠΊΡΠΈΡ ΠΊΠΎΠΏΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΡΠ²ΠΎΠΉΡΡΠ² (ΡΠ»ΠΎΠΉ+ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π») Π΄Π»Ρ ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ² CoolPipe ΠΈ Π³ΡΡΠΏΠΏ #v1.1 #-Π‘Π»Π΅Π΄ΡΡΡΠΈΠ΅ ΠΏΡΠ±Π»ΠΈΠΊΠ°ΡΠΈΠΈ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ; http://coolpipe.ru/load #-ΠΠ°ΡΠ΄ΠΈΠ½Π°Π»ΡΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ Π΄ΠΈΠ·Π°ΠΉΠ½ Π΄ΠΈΠ°Π»ΠΎΠ³Π° Ρ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΌ #-ΠΠΎΠΏΠΎΠ»Π½Π΅Π½Π° Π±Π°Π·Π° ΠΠΠ‘Π’ΠΎΠ² ΡΡΡΠ±ΠΎΠΏΡΠΎΠ²ΠΎΠ΄ΠΎΠ² #-Π ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΡΡΠ±ΠΎΠΏΡΠΎΠ²ΠΎΠ΄ΠΎΠ² ΠΌΡΡΡΡ #-ΠΠ°ΠΊΠ»Π°Π΄ΡΠ²Π°Π½ΠΈΠ΅ ΡΠ»ΠΎΠ΅Π², ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠ΅Π΄Π°ΠΊΡΠΎΡ "Π±ΡΡΡΡΡΡ " ΡΠ»ΠΎΠ΅Π² #-ΠΠ°ΠΊΠ»Π°Π΄ΡΠ²Π°Π½ΠΈΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² (Π±ΠΎΠ΅Π²Π°Ρ ΡΠ°ΡΠΊΡΠ°ΡΠΊΠ° ΡΡΡΠ±ΠΎΠΏΡΠΎΠ²ΠΎΠ΄ΠΎΠ²) #-ΠΠ°ΠΊΠ»Π°Π΄ΡΠ²Π°Π½ΠΈΠ΅ ΡΠ΅ΠΏΠ»ΠΎΠΈΠ·ΠΎΠ»ΡΡΠΈΠΈ + ΡΠ΅Π΄Π°ΠΊΡΠΎΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΡ ΡΠΎΠ»ΡΠΈΠ½ ΠΈΠ·ΠΎΠ»ΡΡΠΈΠΈ #-Π€ΡΠ½ΠΊΡΠΈΡ "ΠΡΠΈΠ»Π΅ΠΏΠΈΡΡ ΠΎΡΠ²ΠΎΠ΄" #-Π€ΡΠ½ΠΊΡΠΈΠΈ ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΡΡΡΠ±ΠΎΠΏΡΠΎΠ²ΠΎΠ΄ΠΎΠ² (Π·Π°Π΄Π°Π½ΠΈΠ΅ ΡΠΊΠ»ΠΎΠ½Π° ΠΈΠ»ΠΈ ΠΎΡΠΌΠ΅ΡΠΎΠΊ ΡΡΡΠ±ΠΎΠΏΡΠΎΠ²ΠΎΠ΄Π°) #-Π€ΡΠ½ΠΊΡΠΈΠΈ ΡΠ΅Π΄Π°ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΎΡΠ²ΠΎΠ΄ΠΎΠ² ΠΏΡΠΈ Π²ΡΠ΄Π΅Π»Π΅Π½ΠΈΠΈ ΡΠ°ΠΌΠΈΡ ΠΎΡΠ²ΠΎΠ΄ΠΎΠ² ΠΌΡΡΡΡ (ΡΠΊΡΠ°Π½Π½ΠΎΠ΅ ΠΌΠ΅Π½Ρ) #-Π€ΡΠ½ΠΊΡΠΈΡ "Π‘ΠΎΡΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΡΠΏΠ΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ" #--ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΠΏΡΠ΅ΡΠ²Π°Π½Π° #v1.0 #ΠΡΠΎΠ±Π½ΡΠΉ ΠΏΠ»Π°Π³ΠΈΠ½ (Π² Π²ΠΈΠ΄Π΅ ΡΡΠ»Π±Π°ΡΠ°) ΡΠΈΡΡΡΡΠΈΠΉ ΡΡΡΠ±Ρ, ΠΎΡΠ²ΠΎΠ΄Ρ, ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄Ρ, ΡΡΠΎΠΉΠ½ΠΈΠΊΠΈ, Π·Π°Π³Π»ΡΡΠΊΠΈ, ΡΠ»Π°Π½ΡΡ ΠΏΠΎ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠΌ ΠΠΠ‘Π’Π°ΠΌ #ΠΠ΅ΡΠ²Π°Ρ ΠΏΡΠ±Π»ΠΈΠΊΠ°ΡΠΈΡ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ; http://forum.abok.ru/index.php?&showtopic=30806&st=160 ################################################################################################## ################################################################################################## require 'sketchup.rb' require 'CoolPipe/cp_Lang.rb' require 'CoolPipe/Service_proc.rb' require 'CoolPipe/PipeTool.rb' require 'CoolPipe/ElbowTool.rb' require 'CoolPipe/ReducerTool.rb' require 'CoolPipe/TeeTool.rb' require 'CoolPipe/CapTool.rb' require 'CoolPipe/FlangeTool.rb' require 'CoolPipe/cpCSVBase.rb' require 'CoolPipe/CopyOptionsTool.rb' pform = (Object;;RUBY_PLATFORM =~ /mswin/i) ? ;windows ; ((Object;;RUBY_PLATFORM =~ /darwin/i) ? ;mac ; ;other) platform = pform.to_s if platform == "windows" require 'CoolPipe/iconv.so' # ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ iconv elsif platform == "mac" # Π½Π΅ ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ end CoolPipe_number_version = "1.2.1" # Π’Π΅ΠΊΡΡΠ°Ρ Π²Π΅ΡΡΠΈΡ ΠΏΠ»Π°Π³ΠΈΠ½Π° ################################################################################################## coolpipe_plugin = CoolPipePluginApp.new coolpipe_plugin.run
So I deleted the two spaces in line 62 in front of "require"
if platform == "windows" require 'CoolPipe/iconv.so' # ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ iconv
Now I get this Load Error message:
-
Copy iconv.co to C:\Windows\system32
-
@yorik1984 said:
Copy iconv.so to C:\Windows\system32
NO.. DO NOT !
It does not belong in the OS system directory !
-
if platform == "windows" require 'CoolPipe/iconv.so' # ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ iconv elsif platform == "mac" # Π½Π΅ ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ end
Frederik has WINDOWS!
-
@yorik1984 said:
Frederik has WINDOWS!
and Dan is saying "DON'T" move the file into the C:\Windows\system32 system path, it won't be found and doesn't belong there...
@ Fredrick if you suspect the require is not working test it in 'Ruby Console'. e.g.
pform = (Object;;RUBY_PLATFORM =~ /mswin/i) ? ;windows ; ((Object;;RUBY_PLATFORM =~ /darwin/i) ? ;mac ; ;other) platform = pform.to_s
should return
windows
then tryif platform == "windows" require 'CoolPipe/iconv.so' # ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ iconv elsif platform == "mac" # Π½Π΅ ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ end
should return
true
if it does it's not the problem, if it doesn't, check permissions on that file... 'CoolPipe/iconv.so' in that Directory, don't move it...
john -
Thanks for the heads up...
Much appreciated...I don't dare to copy any files into the C:\Windows\System32 folder...
It seem strange that I would need to copy a file to a OS system folder...From the videos this plugin looks very interesting...
I'm working as Project Manager and my job is to make 2D and 3D drawings, mechanical design, building design, surface calculation, volume calculation, walk through in buildings, equipment layout in control/engineering rooms, piping design, piping and equipment support design, of the cooling systems we're going to be working on...On a daily basis I'm using the 3skeng plugin, which suits my needs well...
Since this is also related to the piping industry I wanted to check it out, but as long as I can't get it to work, I will stick to the 3skeng plugin... -
@driven said:
@ Fredrick if you suspect the require is not working test it in 'Ruby Console'. e.g.
> pform = (Object;;RUBY_PLATFORM =~ /mswin/i) ? ;windows ; ((Object;;RUBY_PLATFORM =~ /darwin/i) ? ;mac ; ;other) > platform = pform.to_s
should return
windows
It sure does...
@driven said:
then try
if platform == "windows" > require 'CoolPipe/iconv.so' # ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ iconv > elsif platform == "mac" > # Π½Π΅ ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅ΠΌ > end
should return
true
if it does it's not the problem, if it doesn't, check permissions on that file... 'CoolPipe/iconv.so' in that Directory, don't move it...
johnA bit strange...
It seem to only allow me to writeif platform == "windows"
I don't seem to be able to insert the remaining text...
-
@frederik said:
I don't seem to be able to insert the remaining text... :?
I think that's the windows single line 'Ruby Console' thing... mac is multiline, and mines actually full page as well, sorry..
just use the require and see if it returns true
require 'CoolPipe/iconv.so'
might need the rest of path if nothing else has loaded..
john -
I think single line looks like this
if platform == "windows"; require 'CoolPipe/iconv.so'; elsif platform == "mac"; end
but I never need it so... john
-
Cheers, John...!
I believe I will just leave it as is for the time being...
Like I wrote I don't like to copy anything to any system folder, so until they come up with an alternative plugin, I will stick to 3skeng... -
I have tried each and every suggestion trying to get this plugin to work. The error is the same, can not find iconv.so.
Is there anyone that has this plugin working on a Windows machine?
And if you do have it working on a Windows machine, what size is your iconv.so. My iconv.so file is 24661 Date 2008-08-12-14:18.
I can't believe it is so hard to get this plugin to work.
Anyway thanks in advance. I am surprised the author doesn't offer any help.
Ken
-
@Ken & @Fredrick,
I had a look on the russian forum the authors reply to your issue is
@unknownuser said:
Has already been written about it many times. Find the folder with the plugin file iconv.dll and throw it in the folder \ Windows \ System32 without this dll can not run so .... and no magic
I don't know windows at all, but he is saying to move the iconv.dll not the iconv.so as suggested in this thread.
I don't know if adding .dll is wise, maybe dan will comment...
john
-
@unknownuser said:
Is there anyone that has this plugin working on a Windows machine? ... I can't believe it is so hard to get this plugin to work.
This plugin (in it's current state,) needs to go on the Plugins Quarantine list !
It needs a major overhaul.
@unknownuser said:
The error is the same, can not find iconv.so.
...
And if you do have it working on a Windows machine, what size is your iconv.so.ANY compiled Ruby binary file used, should match the Ruby version and platform of the currently loaded Ruby interpreter.
So.. it is a BAD IDEA to distribute so ("shared object",) dll ("dynamic linked library",) or any binary files WITH PLUGINS.
Users should just install the PROPER full Ruby edition, and use a load path script to push the paths to the standard Ruby library directories, into the global array
$LOAD_PATH
, which is used by the global methodsload()
andrequire()
to find external files.On SketchUp v 8.x PC this is Ruby v1.8.6-p287
Ruby v1.8.6-p287 Windows One-Click InstallerTHEN ... after the above is done, the call to load the PROPER iconv.so file, from the platform specific sub-dir ("/i386-mswin32"), of the standard Ruby lib dir, .. is simply:
require("iconv")
(The line "Sketchup::require 'CoolPipe/iconv.so'
" about 13th in "coolpipe_Start.rb" needs to change.)@unknownuser said:
I am surprised the author doesn't offer any help.
He is Russian and does not speak English.He likely does not read English, and cannot read the Programming Ruby book, because his code violates many rules and corrupts the SketchUp Ruby environment.
Sorry .. avoid using this plugin until it is fixed.
-
Dan
Thank you. There for awhile I just assumed I was the only one having trouble.
So thanks for taking the time to answer my request.
Ken
-
I am trying to use this plugin, i followed the 3 steps installation on their site:
- unzip the file to a folder Plugins installed SketchUp
- Copy the file iconv.dll to the System32 folder or SysWoW64
- Reboot
It loads without errors. However it seems i am not getting any pipe models from the database (database looks empty)
-
From his site it seems that he will very soon be releasing version 2.0.
-
Made with Cool Pipe 1.2.1 http://www.youtube.com/watch?v=Jdv3r-yRntM
-
@djRustka
that is a lot of very cool coolPipe...
john
Advertisement