[Plugin] Deck Builder (Updated 23-Jun-2015)

[Plugin] Deck Builder (Updated 23-Jun-2015)

Postby sdmitch » Mon Jun 09, 2014 5:04 pm

In response to

viewtopic.php?f=323&t=58000.

http://sketchucation.com/pluginstore?pln=Deck_Builder

Update 23-Jun-2014 - Corrected a problem with the Rotation option.

Update 19-Jun-2014 - Added 3 selectable posts and railing to steps. Fixed deformed post on curved sections.

Deck Builder WD.jpg
Deck Builder.jpg


With a huge amount of SWAG, I have posted Deck Builder to the Plugin Store.

Please do not assume that this plugin produces anything that is code compliant. It is merely my attempt to provide a visual and nothing more.

Choose Plugins>SDM Tools>Face Tool>Deck Builder to execute the plugin.

Select the sizes you wish for the decking and joists. Since the decking is oriented parallel to the longest edge, you can choose 90 rotation if that is not desired.

Three simple spindles and posts are included with the plugin. You are free to make and add your own to the DB_Support_Files sub-directory. The spindles must be 24" high and the posts 36" high. Both should be oriented vertically with the bottom center at the model origin.

All options that are checked will be created when the face is selected. Any option that don't want should be un-checked. The posts/supports are created at the end of each face edge and are required if you want a railing. The steps, if checked, are placed on the shortest edge that is at least 24" long. That edge can be located anywhere on the face.
3
Last edited by sdmitch on Tue Jun 23, 2015 3:28 pm, edited 5 times in total.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder

Postby pbacot » Mon Jun 09, 2014 5:37 pm

Thanks for getting your deck extension out there!
1
MacOSX Mojave High Sierra SketchUp Pro v19 Twilight v2 Thea v2 PowerCADD
User avatar
pbacot 
Top SketchUcator
 

Re: [Plugin] Deck Builder

Postby solo » Mon Jun 09, 2014 6:34 pm

Damn! this is a brilliant tool, thanks a ton.
0
http://www.solos-art.com

If you see a toilet in your dreams do not use it.
User avatar
solo 
Global Moderator
 

Re: [Plugin] Deck Builder

Postby TECHDAVE02 » Mon Jun 09, 2014 7:09 pm

LOOKS! Great but I can't get the web-dialog to come up?
Frame-It works but alas no Deck - Builder
0

TECHDAVE02 
 

Re: [Plugin] Deck Builder

Postby mwm5053 » Mon Jun 09, 2014 7:28 pm

:bounce: this so cool Thanks sdmitch
0
2011 iMac
SU 2015 Pro, 2017 Make
V2 Twilight
macOS Sierra 10.12.5

mwm5053 
Premium Member
Premium Member
 

Re: [Plugin] Deck Builder

Postby Dave R » Mon Jun 09, 2014 7:50 pm

TECHDAVE02 wrote:LOOKS! Great but I can't get the web-dialog to come up?
Frame-It works but alas no Deck - Builder


Did you trying quitting and restarting SketchUp after installing it?
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Deck Builder

Postby Krisidious » Mon Jun 09, 2014 7:54 pm

Thanks sdmitch, this is a great time saver. As for code compliant, that it builds it close enough works just fine, then adjustments can be made for compliance.

Would it be possible to create the same sub directories for posts and rails?
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Deck Builder

Postby TECHDAVE02 » Mon Jun 09, 2014 8:02 pm

[ Dave R]"Did you trying quitting and restarting SketchUp after installing it?"

Yes and rebooted computer as well
0

TECHDAVE02 
 

Re: [Plugin] Deck Builder

Postby Krisidious » Mon Jun 09, 2014 8:06 pm

did you go to the extensions area and do the install? Do you not see deckbuilder at all in the sdm menu?
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Deck Builder

Postby TECHDAVE02 » Mon Jun 09, 2014 8:08 pm

Krisidious wrote:did you go to the extensions area and do the install? Do you not see deckbuilder at all in the sdm menu?

Yes it is there but no luck and as stated the Frame-It works fine
Thanks
0

TECHDAVE02 
 

Re: [Plugin] Deck Builder

Postby Krisidious » Mon Jun 09, 2014 8:17 pm

Do you use internet explorer? dump your cookies and cache from IE.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Deck Builder

Postby TECHDAVE02 » Mon Jun 09, 2014 8:44 pm

Thanks again; did it no luck. "sdmitch" has my error message hopefully some resolution soon.
0

TECHDAVE02 
 

Re: [Plugin] Deck Builder

Postby sdmitch » Mon Jun 09, 2014 9:01 pm

TECHDAVE02 wrote:Thanks again; did it no luck. "sdmitch" has my error message hopefully some resolution soon.



The problem is not yours, it's mine. I stupidly created and saved the components in V14 format which V8 or V13 cant handle.

If you are a non-V14 user wait until I update the post before downloading the plugin.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder

Postby sdmitch » Mon Jun 09, 2014 9:18 pm

A new copy of the Deck_Builder.rbz file has been uploaded to the Plugin Store. If you are a V8 or a V13 user, please download a new copy of the file and re-install.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder

Postby pilou » Mon Jun 09, 2014 10:20 pm

Excellent! :fro:
Of course with Random Painter by Chris Fullmer! :enlight:
decko.jpg


Amazing that you can choose any "horizontal !" surface! :shock:

decko1.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Deck Builder

Postby jolran » Tue Jun 10, 2014 8:28 am

Well done!
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder

Postby utiler » Tue Jun 10, 2014 9:16 am

Sam, you're really coming up with some great time savers!! :sketchstatic:

I've always thought a handrail / fence plugin would be neat. Haven't tried this deck builder plugin yet but IMO, a deck builder tool should be for the deck and a railing plugin should be what you use next....

Would work off centre lines, select start point and trace around the profile of the railing then input post [square or round], size and height then spacing along the same lines and what you've done here.....

Love seeing your work, mate!
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby sdmitch » Thu Jun 19, 2014 6:02 pm

Update 19-Jun-2014 - Added 3 selectable posts and railing to steps. Fixed deformed posts on curved sections.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby alpro » Fri Jun 20, 2014 1:38 am

sdmitch, great plugin, last version worked well for me except on curves, this new version doesn't work for me at all, no matter how I draw the face when I execute the plugin, it hangs for a bit then just reverses the face. Windows 7, IE 11, Sketchup 2014 Pro


Mike
0

alpro 
Premium Member
Premium Member
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby sdmitch » Fri Jun 20, 2014 2:58 pm

alpro wrote:sdmitch, great plugin, last version worked well for me except on curves, this new version doesn't work for me at all, no matter how I draw the face when I execute the plugin, it hangs for a bit then just reverses the face. Windows 7, IE 11, Sketchup 2014 Pro


Mike


If the face is reversed, the plugin has at least partially ran so run it with the Ruby Console open and see where and/or what is causing it to fail.

There was a change in the folder where the posts and spindles are so, if you only copied the new plugin to the Plugins folder instead of doing the normal extensions install, that could be the problem.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby pilou » Fri Jun 20, 2014 5:57 pm

Very cool! :enlight:

0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby pilou » Fri Jun 20, 2014 6:51 pm

Here maybe a little glitch! ;)
I made any regulates!

0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby sdmitch » Fri Jun 20, 2014 8:23 pm

The quality control director has been fired for not sufficiently testing in metric units.

Problem has been fixed. Maybe.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby alpro » Fri Jun 20, 2014 9:52 pm

sdmitch, installed latest version through Sketchucation Plugin Store, here is what shows in the ruby console when executing the plugin.

Error: #<TypeError: no implicit conversion from nil to integer>
C:/Users/MRacz/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Deck Builder.rb:362:in `[]'
C:/Users/MRacz/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Deck Builder.rb:362:in `add_posts'
C:/Users/MRacz/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Deck Builder.rb:218:in `onLButtonDown'


Thanks for your help.

Mike

Just checked my plugins folder, for some reason neither a spindles or post folder was created, weird.

Nevermind, folder was created and after trying again, deck builder works as advertised, even weirder
0

alpro 
Premium Member
Premium Member
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby Dave R » Fri Jun 20, 2014 10:47 pm

Mike, I would try reinstalling it. I just installed the current version on my PC via the SCF Plugin Store and don't see the error when starting SketchUp fresh.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby Box » Wed Jul 30, 2014 2:55 pm

Can you have a look at the toolbar settings, it seems you have it set to open the toolbar every time SU starts. So even if you have closed the toolbar it will reinitialize at the next start up. Slightly annoying.
0
User avatar
Box 
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby sdmitch » Wed Jul 30, 2014 3:58 pm

Box wrote:Can you have a look at the toolbar settings, it seems you have it set to open the toolbar every time SU starts. So even if you have closed the toolbar it will reinitialize at the next start up. Slightly annoying.


If you don't want the toolbar to show on start up find this line
Code: Select all
   cmd.tooltip="Deck Builder";tb.add_item cmd;tb.show


and replace it with this line
Code: Select all
   cmd.tooltip="Deck Builder";tb.add_item cmd;#tb.show


The Toolbar will be created but not automatically displayed.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby Box » Wed Jul 30, 2014 6:52 pm

Thanks for that, it certainly works. I would have thought it would be the default setting, after all if you turn it off you would expect it to stay turned off.
0
User avatar
Box 
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby sdmitch » Wed Jul 30, 2014 8:19 pm

Box wrote:Thanks for that, it certainly works. I would have thought it would be the default setting, after all if you turn it off you would expect it to stay turned off.


Perhaps, but few things will persist from session to session.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Deck Builder (Updated 19-Jun-2014)

Postby TIG » Thu Jul 31, 2014 10:59 am

The "user-friendly" way to have your script's loader setup its toolbar so that it opens when its first installed, and then subsequently so it only opens if the user had it open when they last exited SketchUp, is simply done thus:
cmd.tooltip="Deck Builder";tb.add_item cmd;tb.show if tb.get_last_state.abs==1 #TB_VISIBLE/NEVER
This way, if the toolbar was switched off by the user when they exited SketchUp it will not get re-opened as the plugin loads next time...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 27 guests

Visit our sponsors: