I invite for acquaintance with Russian plug-in

Re: I invite for acquaintance with Russian plug-in

Postby yorik1984 » Sat Mar 02, 2013 3:46 pm

Code: Select all
if platform == "windows"
  require 'CoolPipe/iconv.so' #  применяем iconv
elsif platform == "mac"
   #  не применяем
end

Frederik has WINDOWS!
0
User avatar
yorik1984 
 

Re: I invite for acquaintance with Russian plug-in

Postby driven » Sat Mar 02, 2013 5:42 pm

yorik1984 wrote: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.
Code: Select all
pform = (Object::RUBY_PLATFORM =~ /mswin/i) ? :windows : ((Object::RUBY_PLATFORM =~ /darwin/i) ? :mac : :other)
platform = pform.to_s

should return windows
then try
Code: Select all
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...
john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: I invite for acquaintance with Russian plug-in

Postby Frederik » Sun Mar 03, 2013 7:48 pm

Thanks for the heads up...
Much appreciated... :thumb:

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... ;)
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: I invite for acquaintance with Russian plug-in

Postby Frederik » Sun Mar 03, 2013 7:55 pm

driven wrote:@ Fredrick if you suspect the require is not working test it in 'Ruby Console'. e.g.
Code: Select all
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 wrote:then try
Code: Select all
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...
john

A bit strange...
It seem to only allow me to write
Code: Select all
if platform == "windows"

I don't seem to be able to insert the remaining text... :?
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: I invite for acquaintance with Russian plug-in

Postby driven » Sun Mar 03, 2013 8:02 pm

Frederik wrote: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
Code: Select all
require 'CoolPipe/iconv.so'
might need the rest of path if nothing else has loaded..
john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: I invite for acquaintance with Russian plug-in

Postby driven » Sun Mar 03, 2013 8:06 pm

I think single line looks like this
Code: Select all
if platform == "windows"; require 'CoolPipe/iconv.so'; elsif platform == "mac";  end


but I never need it so... john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: I invite for acquaintance with Russian plug-in

Postby Frederik » Sun Mar 03, 2013 8:12 pm

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... :)
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: I invite for acquaintance with Russian plug-in

Postby ken » Sun Mar 03, 2013 11:59 pm

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
0
Fight like your the third monkey on Noah's Ark gangway.
User avatar
ken 
Premium Member
Premium Member
 

Re: I invite for acquaintance with Russian plug-in

Postby driven » Mon Mar 04, 2013 2:06 am

@Ken & @Fredrick,

I had a look on the russian forum the authors reply to your issue is
Has already been written about it many times. Find the folder with the plugin file iconv.dll and throw it in the folder C: \ 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
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: I invite for acquaintance with Russian plug-in

Postby Dan Rathbun » Mon Mar 04, 2013 2:14 am

Ken wrote: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.

Ken wrote: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 methods load() and require() 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 Installer

THEN ... 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.)

Ken wrote: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.

:ugeek:
0
    I'm not here much anymore. But a PM will fire email notifications.
    User avatar
    Dan Rathbun 
    PluginStore Author
    PluginStore Author
     

    Re: I invite for acquaintance with Russian plug-in

    Postby ken » Mon Mar 04, 2013 2:43 am

    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
    0
    Fight like your the third monkey on Noah's Ark gangway.
    User avatar
    ken 
    Premium Member
    Premium Member
     

    Re: I invite for acquaintance with Russian plug-in

    Postby Stephlez » Mon Feb 10, 2014 2:51 am

    I am trying to use this plugin, i followed the 3 steps installation on their site:
    1) unzip the file to a folder Plugins installed SketchUp
    2) Copy the file iconv.dll to the System32 folder or SysWoW64
    3) Reboot
    It loads without errors. However it seems i am not getting any pipe models from the database (database looks empty)
    0

    Stephlez 
     

    Re: I invite for acquaintance with Russian plug-in

    Postby Se7ven » Thu Mar 27, 2014 7:31 am

    From his site it seems that he will very soon be releasing version 2.0.
    0

    Se7ven 
     

    Re: I invite for acquaintance with Russian plug-in

    Postby djRuska » Fri Apr 11, 2014 12:27 pm

    0

    djRuska 
     

    Re: I invite for acquaintance with Russian plug-in

    Postby driven » Sun Apr 13, 2014 12:17 am

    @djRustka

    that is a lot of very cool coolPipe...

    john
    0
    learn from the mistakes of others, you may not live long enough to make them all yourself...

    driven 
    PluginStore Author
    PluginStore Author
     

    Re: I invite for acquaintance with Russian plug-in

    Postby utiler » Sun Apr 13, 2014 11:46 pm

    djRuska wrote: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...?
    0
    purpose/expression/purpose/....
    User avatar
    utiler 
    Top SketchUcator
     

    Re: I invite for acquaintance with Russian plug-in

    Postby yad2000 » Fri Feb 13, 2015 2:31 pm

    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 Google

    Set 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/testov ... /11-1-0-22
    0
    User avatar
    yad2000 
     

    SketchUcation One-Liner Adverts

    by Ad Machine » 5 minutes ago



    Ad Machine 
    Robot
     

    Previous


     

    Return to Plugins

    Who is online

    Users browsing this forum: magickmaik, quillianbill53, YangTangjin and 13 guests

    Visit our sponsors: