I invite for acquaintance with Russian plug-in
-
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
-
@djruska said:
Made with Cool Pipe 1.2.1 http://www.youtube.com/watch?v=Jdv3r-yRntM
Very nice work!! How do you do that shy in SketchUp...?
-
I invite you to evaluate version Coolpipe 1.3 Beta 3))
Fixes a lot of mistakes, I tried to take into account all the comments that made Dan
I apologize for the bad English, it is translated by GoogleSet menu SU: Window -> Preferences -> Extensions -> Instal Extension ...
Language: Russian, English, German, French, Spanish, Italian, Chinese
Supported OS (tested): Windows 7/8
Supported SU (verified): 2013, 2014, 2015 x32, x64 2015- .rbz file is a zip file in which all files are packed in its original form, ie, You can read / edit
http://coolpipe.ru/load/coolpipe/testovye_sborki/coolpipe_1_3_beta_3/11-1-0-22
Advertisement