SketchUcation Plugin Store

 

 

I invite for acquaintance with Russian plug-in

Re: I invite for acquaintance with Russian plug-in

Postby jorge2011 » Sun Apr 01, 2012 2:16 pm

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:in `add_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 Spanish
jorge2011
 
Posts: 155
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby Ken » Sun Apr 01, 2012 3:23 pm

I receive the following error code after installing.

Thanks you in advance for your help.

Ken
Please, register (free) to access all the attachments on the forums.
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 708
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby jorge2011 » Sun Apr 01, 2012 3:51 pm

Ken wrote: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
jorge2011
 
Posts: 155
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby Ken » Sun Apr 01, 2012 3:57 pm

Jorge

Will thanks for the advice, however I still have the same error code.

Ken
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 708
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby guanjin » Sun Apr 01, 2012 3:59 pm

Site not open
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Mon Apr 02, 2012 12:51 pm

jorge2011 wrote: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:in `add_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 Spanish


hmm ...
very strange ...
I was not able to repeat that mistake, I can recommend:

Line number 569 is:
Code: Select all
face = entities.add_face circle


Try replacing the line number 557:
Code: Select all
circle = entities.add_circle pt1, vecbegin, radius, numsegs


on the line
Code: Select all
circle = entities.add_circle pt1, vecbegin, radius, 24


or if not, then the line
Code: Select all
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:

Code: Select all
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
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby jorge2011 » Mon Apr 02, 2012 2:14 pm

This solution does not work.

Untitled.gif


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:in `add_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:in `onLButtonDown'
Error: #<NoMethodError: undefined method `bounds' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/ReducerTool.rb:90:in `creategeometry'
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 method `bounds' 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:in `onLButtonDown'
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:in `creategeometry'
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 method `bounds' 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:in `onLButtonDown'
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:in `getparams_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:in `initialize'
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:in `cp_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:in `call'
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:in `onLButtonDown'
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:in `onLButtonDown'
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:in `cp_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:in `each'
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:in `cp_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
Please, register (free) to access all the attachments on the forums.
jorge2011
 
Posts: 155
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby Dan Rathbun » Mon Apr 02, 2012 5:34 pm

yad2000 wrote:
Line number 569 is:
Code: Select all
face = entities.add_face circle


try:
face = entities.add_face( circle.edges )
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Mon Apr 02, 2012 5:38 pm

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
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Tue Apr 03, 2012 5:55 am

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.
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby tony bombata » Mon Apr 23, 2012 8:48 pm

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

i 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
tony bombata
 
Posts: 14
Joined: Fri Aug 15, 2008 3:58 pm

Re: I invite for acquaintance with Russian plug-in

Postby Dan Rathbun » Mon Apr 23, 2012 10:12 pm

Well which one of those paths are in the $LOAD_PATH array ??
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby guanjin » Tue Apr 24, 2012 3:08 am

yad2000 wrote: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
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Wed Apr 25, 2012 5:50 am

guanjin wrote: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.
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby guanjin » Thu Apr 26, 2012 6:04 am

yad2000 wrote:
irwanwr wrote: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

未命名.jpg


Finally downloaded, loaded error
Please, register (free) to access all the attachments on the forums.
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Thu Apr 26, 2012 10:18 am

guanjin wrote:
yad2000 wrote:
irwanwr wrote: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

未命名.jpg

Finally downloaded, loaded error


in the file that you changed - Error!
you must:
"沿线 管道 目录 列表,
replaced by
"沿线 管道 目录 列表",
should work
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby guanjin » Thu Apr 26, 2012 1:33 pm

Successfully translated into Chinese, but has not been used successfully, the of plumbing tools?
:roll: :roll: :roll:
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Thu Apr 26, 2012 5:17 pm

guanjin wrote:Successfully translated into Chinese, but has not been used successfully, the of plumbing tools?
:roll: :roll: :roll:

Normative documents only Russian. To broaden the base of the elements - I need to know what documents you use. They are very much, all I add one can not afford
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby guanjin » Thu Apr 26, 2012 7:25 pm

yad2000 wrote:
guanjin wrote:Successfully translated into Chinese, but has not been used successfully, the of plumbing tools?
:roll: :roll: :roll:

Normative documents only Russian. To broaden the base of the elements - I need to know what documents you use. They are very much, all I add one can not afford


I do not know that you mean ,the file is a common indoor plumbing components
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Fri Apr 27, 2012 5:20 am

I also do not understand what you want)))
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Fri Apr 27, 2012 6:20 am

I will say this: I have now developed a new version of the plugin, which will not appear on [iconv] and [web dialogues]. The most interesting thing to come, as the plugin will look - still a secret. When will the release of do not know. Work to be very much as I want to do everything in Ruby without any HTML and JavaScript
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Mon May 21, 2012 8:37 am

who knows how to use the database MongoDB in Ruby for SketchUP :?:

here...
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Mon May 21, 2012 10:17 am

Time is now developing a new interface for plug-in.
Here is a screenshot

I want to abandon HTML, JavaScript, CSV. I am looking for ways to solve problems with the database.

Who share the standards DIN / EN / ISO / API / ASTM / ASME?

www.youtube.com Video from : www.youtube.com
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby yad2000 » Mon Oct 01, 2012 1:38 pm

Who shares the standards DIN / EN / ISO / API / ASTM / ASME?
For further development of the plugin. Interest standards for all items, not just on the tube. At least to start with 2 pcs. You can share the standard is not complete, but only the image and style options.

Google Translator gives terrible translations)))

In Russia, the translation is: "Your - my not understand"))))
User avatar
yad2000
 
Posts: 30
Joined: Mon Oct 03, 2011 8:42 am
Name: Denis
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby Ken » Fri Feb 01, 2013 1:56 am

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
Please, register (free) to access all the attachments on the forums.
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 708
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby driven » Fri Feb 01, 2013 2:05 am

Ken wrote: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
driven
Top SketchUcator
 
Posts: 1410
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: I invite for acquaintance with Russian plug-in

Postby Frederik » Fri Feb 01, 2013 11:49 am

Looks like a very interesting plugin... :thumb:
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... :|
Please, register (free) to access all the attachments on the forums.
User avatar
Frederik
Top SketchUcator
 
Posts: 2177
Joined: Mon Nov 12, 2007 8:13 pm
Location: Denmark
Name: Kim Frederik
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby Frederik » Fri Feb 01, 2013 12:14 pm

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... :lol: )

The original code looked like this:
Code: Select all
#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"
Code: Select all
if platform == "windows"
require 'CoolPipe/iconv.so' #  применяем iconv

Now I get this Load Error message:
Please, register (free) to access all the attachments on the forums.
User avatar
Frederik
Top SketchUcator
 
Posts: 2177
Joined: Mon Nov 12, 2007 8:13 pm
Location: Denmark
Name: Kim Frederik
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby yorik1984 » Fri Mar 01, 2013 3:56 pm

Copy iconv.co to C:\Windows\system32
User avatar
yorik1984
 
Posts: 12
Joined: Wed Feb 08, 2012 5:32 pm
Location: Kiev, Ukraine
Name: yorik1984
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: I invite for acquaintance with Russian plug-in

Postby Dan Rathbun » Sat Mar 02, 2013 12:06 am

yorik1984 wrote:Copy iconv.so to C:\Windows\system32

NO.. DO NOT !

It does not belong in the OS system directory !
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Vertex Tools for SketchUp. Take control over each vertex with this vertex editor for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: aitatz, kaliphegtu, milic and 6 guests