[Plugin] Pipe Tool (UPDATE 3/19/2011)

[Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby Builder Boy » Thu Jan 20, 2011 11:56 pm

I made a free version of 3SKENG!!! :sketchstatic: I changed the name to "Pipe Tool" to avoid copyright issues (if there are any). I don't have a T pipe tool yet because I wasn't sure how to make the user interface. But I have made a "Pipe room" tool that makes a room to hold all of you're pipes.

Pipe Tool.zip


-Note: This plugin is not nearly as powerful as 3SKENG. For one thing, it uses dialog boxes instead of inputpoint, or pickhelper. However, it lets you make multiple pipes at once. all of these new pipes you make are all the same component definition. What that means, is that if you edit one of them, all of them reflect the change.

-Known bugs and limitations: This plugin does not always work properly when the user input is 0. On the curved pipe tool, "Angle" does not work with any multiple of 360. (0, 360, 720, 1080...)

-If anyone has any tweeks, please post them :)

-UPDATE: v4.3 sets ALL of the radii and segments equal after making a pipe.

also see All my other plugins. I hope that some of them will end up here.
0
Last edited by Builder Boy on Mon May 23, 2011 8:50 pm, edited 8 times in total.

Builder Boy 
 

Re: 3SKENG!!!

Postby Gaieus » Fri Jan 21, 2011 12:05 am

Michael,

Don't get me wrong here for this question; you "made a free version of it"? (Meaning you used that code and such)

OR you made a tool yourself that has similar features as 3SKENG?

Maybe it's just your wording. But you know, we take piracy and such very seriously here.
0
User avatar
Gaieus 
 

Re: 3SKENG!!!

Postby pilou » Fri Jan 21, 2011 12:12 am

Seems you must change the title of the subject in "Pipe tool" ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: 3SKENG!!!

Postby Builder Boy » Fri Jan 21, 2011 12:14 am

Gaieus wrote:Michael,

Don't get me wrong here for this question; you "made a free version of it"? (Meaning you used that code and such)

OR you made a tool yourself that has similar features as 3SKENG?

Maybe it's just your wording. But you know, we take piracy and such very seriously here.


I made a tool myself that has similar features as 3SKENG.
1
Last edited by Builder Boy on Mon Mar 28, 2011 12:15 am, edited 1 time in total.

Builder Boy 
 

Re: 3SKENG!!!

Postby Gaieus » Fri Jan 21, 2011 12:25 am

OK, thanks. I have not tried it yet but then I will! I hope you do not mind my question!
:thumb:
(And thanks for the plugin, too - maybe Pilou is right and you should give some other title/subject...)
1
User avatar
Gaieus 
 

Re: 3SKENG!!!

Postby Gaieus » Fri Jan 21, 2011 12:39 am

By the way, in order to get your plugin to the Index, simply add [Plugin] to the subject line. That page is automatically generated (somehow - that's too crazy to think about)
0
User avatar
Gaieus 
 

Re: [Plugin] 3SKENG!!!

Postby Rich O Brien » Fri Jan 21, 2011 2:00 am

I would suggest to title this [Plugin]Pipe Tool as it's possibly infringing on it's bigger brother's territory.

But its a great gesture to share this here :thumb:
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] 3SKENG!!!

Postby tridem » Fri Jan 21, 2011 10:59 am

:thumb: Nice work Builder Boy, very useful ... I just cannot figured out what's the meaning of the pipe room :oops: is it a grid that helps to positioning the components...or what?
Thanks
0
User avatar
tridem 
 

Re: [Plugin] 3SKENG!!!

Postby thomthom » Fri Jan 21, 2011 11:35 am

Rich O'Brien wrote:I would suggest to title this [Plugin]Pipe Tool as it's possibly infringing on it's bigger brother's territory.

Ditto.

A couple of notes about the distribution:
Could you make sure that the icons are in a sub-folder - so you only have the .rb file in the root. That way it's easier to manage the plugins folder.
(It's the common practice of distrobuting plugins: one .rb file in the plugins folder, and the remaining files in a sub-folder.


Is the "previous versions" folder needed?


I looked at your code - saw you added a method under class Geom::PolygonMesh
Code: Select all
def add_lathe(ptscenterdiranglenumsegments# Copyright 2004-2005, @Last Software, Inc. (I changed it a little) 

This might cause problems since you changed the code. If some other plugin relies on the original Geom::PolygonMesh.add_lathe then your plugin will overwrite this.
Avoid such conflicts by not using the same method name as the one you modify. Personally I prefer to never extend the base classes just in case someone else should be thinking of adding a method of the same name. We've already had and still have issues where plugins conflict over methods extended in the base classes.
This add_lathe would be very easy to port into a method under the PipeTool class you use in the rest of the plugin.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Pipe Tool

Postby Edson » Fri Jan 21, 2011 1:15 pm

it would help if you could make a short video demonstrating what the plugin does.
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: [Plugin] Pipe Tool

Postby Builder Boy » Fri Jan 21, 2011 5:06 pm

Edson wrote:it would help if you could make a short video demonstrating what the plugin does.

How? I don't have any software. I don't even have a microphone.

thomthom wrote:Is the "previous versions" folder needed?

No
0
Last edited by Builder Boy on Fri Jan 21, 2011 5:12 pm, edited 1 time in total.

Builder Boy 
 

Re: [Plugin] Pipe Tool

Postby Builder Boy » Fri Jan 21, 2011 10:20 pm

Look at this.
0

Builder Boy 
 

Re: [Plugin] Pipe Tool

Postby Ben Ritter » Fri Jan 21, 2011 11:01 pm

Thank you for sharing.
0

Ben Ritter 
 

Re: [Plugin] Pipe Tool

Postby d12dozr » Sat Jan 22, 2011 12:03 am

Builder Boy wrote:How? I don't have any software. I don't even have a microphone.

Cam Studio is one free screen capture program...maybe you can just make a video of you making that futuristic motorcycle and other examples, and upload it to YouTube. Voiceover isn't even necessary, but then you could make some explaining text to supplement the video.

Thanks for your efforts!
0
3D Printing with SketchUp Book
http://goo.gl/f7ooYh

d12dozr 
Top SketchUcator
 

Re: [Plugin] Pipe Tool

Postby Builder Boy » Sat Jan 22, 2011 12:33 am

James wrote:What has this got to do with your 'plugin'?


I built it out of the pipes I made with my plugin. The wheel is 4 curved pipes that I combined. The handle is made out of a few pipes. The only things I didn't use my plugin for is the headlight and the red light on the back and the room I rendered it in and, a little hand modeling. (erasing unnecessary geometry, adding color Etc...)
0

Builder Boy 
 

Re: [Plugin] Pipe Tool

Postby unclex » Sun Jan 23, 2011 9:40 am

Anybody can use this plugins?

Upzip it to the Plugins Cata
But Nothing Happening........
0

unclex 
 

Re: [Plugin] Pipe Tool

Postby Builder Boy » Sun Jan 23, 2011 6:44 pm

unclex wrote:Anybody can use this plugins?

Upzip it to the Plugins Cata
But Nothing Happening........

I don't understand what you're problem is. Can you explain it better?
0

Builder Boy 
 

Re: [Plugin] Pipe Tool

Postby perryman » Tue Jan 25, 2011 1:06 pm

Anybody can use this plugins?

Upzip it to the Plugins Cata
But Nothing Happening........


You need to put the file "Pipe Tool v4.0.rb" along with the .png files in the ..\plugins folder. You cannot put the folder in the ..\plugins directory.

I also want to thank you, Builder Boy, for a very nice plugin, great work!!

A few pointers that may be possible to implement:
- T-junction button?
- Flange button?
- is it possible to have metric, milimeter units, as standard?
- is it possible to make the pipe and parts hollow, with a thickness parameter?

Overall a very nice plugin. I would like to contribute but I'm sorry to say I don't have the knowledge to write or program a plugin, hmm...
0

perryman 
 

Re: [Plugin] Pipe Tool

Postby tridem » Tue Jan 25, 2011 1:52 pm

perryman wrote:- T-junction button?
- Flange button?

:thumb: +1

except the pipe room, I see that overriding the values without " it uses metric units
0
User avatar
tridem 
 

Re: [Plugin] Pipe Tool

Postby unclex » Tue Jan 25, 2011 7:35 pm

Builder Boy wrote:
unclex wrote:Anybody can use this plugins?

Upzip it to the Plugins Cata
But Nothing Happening........

I don't understand what you're problem is. Can you explain it better?


if i don't change anything, it works

but i want change the PNG catalog,or change the PNG name(ofcouse i changed the file‘s name,too), change ‘ " to mm,it cannot work……

For example

@srad = '6"' change → @srad = '300.mm'

piperoom.small_icon="Pipe Room.png" → piperoom.small_icon="PipeRoom.png"
0

unclex 
 

Re: [Plugin] Pipe Tool

Postby TIG » Tue Jan 25, 2011 7:45 pm

I haven't even looked at the code... but if @srad is being set as a string '1"' and then .to_l is used on it to return a 'length' then you can change it to another default unit e.g. '25mm' [no '.']. If it's a length already @srad = 1.0 [in inches if NO units] or =1.inch then you do use a '.' as in @srad = 25.mm to make it in 'mm'...

The problem in using a string is you are forced to use a units suffix.
If it were a length to start with then it's always a length and in 'current' units, so if you have 'mm' set in Model Info even it it were set to be 1 ["] it'd show as 25.4 [mm]...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Pipe Tool

Postby Nick2010 » Wed Jan 26, 2011 3:49 am

Thank you Builder Boy! :thumb:
0

Nick2010 
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby powersketch » Tue Mar 22, 2011 11:14 am

Thanks for making the plugin! Where can I find the png button icons? From reading the thread it sound like a previous version was distributed as a zip file with the .rb and some .png files.
0

powersketch 
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby raineysky » Wed Nov 16, 2011 12:16 am

Thank You Builder Boy. Great plugin!!!
0

raineysky 
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby betod » Thu Oct 18, 2012 7:11 pm

it looks grate but where do i dropp al the files in my sketchup file??? thanks
0

betod 
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby Gaieus » Thu Oct 18, 2012 7:17 pm

0
User avatar
Gaieus 
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby Markis100 » Thu Jan 31, 2013 10:48 pm

Does this plugin work on mac oS? I dropped the files into plugin directory. Nothing is working. Am I doing something wrong?
0

Markis100 
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby thomthom » Fri Feb 01, 2013 9:52 am

Can you describe what "isn't working"? Error messages? Unexpected behaviour? No new menus or toolbars?

Difficult to help without any specific information.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby Markis100 » Fri Feb 01, 2013 1:32 pm

Nothing happens, no new menus, or pull downs. I copied all of the files from the folder into the plugin directory. Are there instructions somewhere?
0

Markis100 
 

Re: [Plugin] Pipe Tool (UPDATE 3/19/2011)

Postby thomthom » Fri Feb 01, 2013 1:34 pm

0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Clue, Kamangom, or35bo and 7 guests

Visit our sponsors: