I invite for acquaintance with Russian plug-in
-
@unknownuser said:
It would be nice to have in addition to the standard diameters an option for user defined diameters, either that the user adds his own diameters or his own library, or a simple type at the keyboard, just like when you draw a simple circle.
"Profile builder" has a nice interface for adding user defined shapes, and has the ability to add whole standard libraries.Nice Work! I just showed your plugin at work to a Russian speaking fellow worker and he's already sending links to friends of his, who may find your plugin very useful...
Ability to edit a list of items will be in the next version. Now just working on a new interface that will provide such opportunities. The new version will have several elements of drawing, the announcement of the new version features expected in 2-3 months
-
See the next version
#-Changes in the structure of the database elements
#-Drawing and editing lines
#-Drawing and editing taps
#-Drawing and editing transitionsDrawing and editing-tees
Drawing-caps
Drawing-flange
Create spec-
#-Copy function properties (layer / material) for the objects and groups CoolPipe
-
thanks for the update. very interesting.
a query:
The plugin generates the following error:Error: # <ArgumentError: Not enough-at least 3 edges required>
C Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb: 552: inadd_face ' C :/ Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb: 552: in
cp_create_pipe_geometry '
C Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb: 110: in `OnLButtonDown 'you can fix that? thank you very much
-
hi,
it looks great but doesn't run on mac.
what does the .dll and .so contain, is there a mac equivalent?
john
-
@jorge2011 said:
thanks for the update. very interesting.
a query:
The plugin generates the following error:
Error: # <ArgumentError: Not enough-at least 3 edges required>
C Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb: 552: inadd_face ' C :/ Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb: 552: in
cp_create_pipe_geometry '
C Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb: 110: in `OnLButtonDown '
you can fix that? thank you very muchWhat are you trying to do when there was this error?
@driven said:
hi,
it looks great but doesn't run on mac.
what does the .dll and .so contain, is there a mac equivalent?
john. 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 webdialog -
try to draw a pipe, and just draw a vertical line and generates the error
-
@jorge2011 said:
try to draw a pipe, and just draw a vertical line and generates the error
very strange ...
probably something with the settings of the sketchup
or platform
or something else)) -
I tested plugin. If you have in your plugin directory this plugin:
http://forums.sketchucation.com/viewtopic.php?t=41840
http://rhin.crai.archi.fr/rld/plugin_details.php?id=219
SU shutdown with error! -
plug-in works correctly on a 32 - x bit Windows, sometimes there is an incompatibility with some third-party plug-ins
-
@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
Advertisement