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

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

Postby sdmitch » Thu Jul 31, 2014 3:02 pm

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


Thanks for the info. I still have so much to learn.
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 raymondmartin » Wed Sep 03, 2014 12:13 pm

Nice tool for deck builders.
0

raymondmartin 
 

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

Postby Marauderr » Sat Apr 11, 2015 5:57 pm

I am new at this and this is my first plugin i try,

I can open the deck builder and select the options i want but i dont understand how to make it happen, there is no OK or Cancel Button to click on? so how to make it happen, what is the secret door i use to get there

LOL

Thank You
N.
0

Marauderr 
 

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

Postby Dave R » Sun Apr 12, 2015 12:32 pm

Try having a look at the author's tutorial which you can find on the page he links at the bottom of his posts. Lots of other very useful plugins with tutorials to be found there, too.
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 eddie » Wed Apr 22, 2015 6:35 pm

Great plugin! But why have the geometry be individual groups instead of components? Doesnt this bloat the file size and make revising cumbersome??
0

eddie 
 

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

Postby sdmitch » Thu Apr 23, 2015 1:24 am

eddie wrote:Great plugin! But why have the geometry be individual groups instead of components? Doesnt this bloat the file size and make revising cumbersome??


Based on my tests, there is little difference in the file size groups versus component instances. Since each deck is different, it only made sense to use components for the spindles and group everything else.
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 naivejoe » Thu Jun 18, 2015 2:15 pm

Nice Plugin. It worked as advertised the first time I used it but then I tested the rotation feature and now it won't change back. All decks are drawn with the joists going parallel to the long direction of the face, the deck boards the short way. I've re-installed, restarted and purged IE.
Rotation stays set at 0 no matter which option is chosen, which is how it worked from first install.
Any help?
0
User avatar
naivejoe 
 

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

Postby naivejoe » Thu Jun 18, 2015 2:42 pm

Nice Plugin. It worked as advertised the first time I used it and then I decided to test the rotation feature and now it won't change back. All decks are drawn with the joists going parallel to the long direction of the face, the deck boards the short way. I've re-installed, restarted and purged IE.
Rotation stays set at 0 no matter which option is chosen, which is how it worked from first install.
Any help?
0
User avatar
naivejoe 
 

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

Postby sdmitch » Tue Jun 23, 2015 3:25 pm

naivejoe wrote:Nice Plugin. It worked as advertised the first time I used it and then I decided to test the rotation feature and now it won't change back. All decks are drawn with the joists going parallel to the long direction of the face, the deck boards the short way. I've re-installed, restarted and purged IE.
Rotation stays set at 0 no matter which option is chosen, which is how it worked from first install.
Any help?


Sorry about the delay in responding but I just found your post the morning. After looking at the plugin there was a problem with the Rotation section. It has been corrected and posted so you can download a new copy.
1
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 23-Jun-2015)

Postby pilou » Tue Jun 23, 2015 4:36 pm

Always magic! :fro:

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

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

Postby sdmitch » Tue Jun 23, 2015 5:00 pm

pilou wrote:Always magic! :fro:

always_magic.jpg


An always the most bazaar shape.
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 23-Jun-2015)

Postby mikedd » Sat Oct 31, 2015 6:25 pm

I downloaded your file and placed it in my plugins folder but it is not showing up in Sketchup anywhere. I have Sketchup 8 on windows 10.

Excuse me I did it been a long time since I used sketchup, time to give it a whirl.
0
Last edited by mikedd on Sat Oct 31, 2015 6:32 pm, edited 1 time in total.

mikedd 
 

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

Postby Dave R » Sat Oct 31, 2015 6:31 pm

You didn't actually install the extension. Mike, the file downloads with the extension .rbz. Since you have it downloaded, move it out of the Plugins folder and put it back in Downloads or where ever downloaded files are saved. Then open SketchUp, go to Window>Preferences>Extensions and click the Install Extension button. Navigate to the saved file, select it and choose Open. Click on the affirmative responses after that and close the Preferences file. It should then be available.
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 23-Jun-2015)

Postby pilou » Fri Nov 04, 2016 1:59 pm



It's a pity that is not component! :ugeek:
We are obliged to make some acrobatic physic exploit for change something! :D

Here SU4 by SUForYou to Components who can apply a "component" (module on the left down) to a selection of faces with automatic scale! :fro:
The task is on the selection!
As it's only "Group" the module component must be inside the group
then selection of faces can begin!
something like this: parallal view - side view - XRay - selection left to right ...

Here the view (old conceptual image) is a little cheating! 4 faces was selected : I was speedy! :mrgreen:
(visible on the first piece)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby pilou » Thu Nov 17, 2016 2:11 am

Seems there is a glitch with the 2017! ;)
(works fine in 2016) :thumb:
Have happy coding! :fro:

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

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

Postby sdmitch » Thu Nov 17, 2016 2:42 am

pilou wrote:Seems there is a glitch with the 2017! ;)
(works fine in 2016) :thumb:

Did they change Ruby version again? Or is it just a buggy 2017?
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 23-Jun-2015)

Postby pilou » Thu Nov 17, 2016 3:06 am

it's not me that can answer to these questions! :oops:

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

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

Postby TIG » Thu Nov 17, 2016 2:22 pm

You might be falling foul of the v2017 changes to how references and id's work.
I'm currently rewriting my ExtrudeTools because of it.

Previously [<=v2016] you could get an array of the entities within a container [say ents=group.entities.to_a] and then when you used group.explode those references saved in 'ents' would still be valid in their new context [although you might need to trap for merged entities etc], but then their id's were 'transitory' between sessions.

But in v2017 now those saved references are found to be 'invalid' after the group.explosion, this is because during the explosion those entities are now deleted and replicated in their new context, but now using their same enduring id's across sessions.
The references now return as deleted entities 'invalid' !
This can be sidestepped by recoding, with say ents=group.explode - which gives 'ents' as an array of what results from the explosion.
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby pilou » Thu Nov 17, 2016 4:14 pm

An hard work additionnal for the coders if that must be made for each script! :o
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby sdmitch » Thu Nov 17, 2016 5:03 pm

pilou wrote:An hard work additionnal for the coders if that must be made for each script! :o


I don't have SU2017 and may never but, if you would open the Ruby Console, run the plugin and post the errors reported, maybe I can fix 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 23-Jun-2015)

Postby Jim » Thu Nov 17, 2016 11:38 pm

sdmitch - here's the error:

Code: Select all
Error: #<NoMethodError: undefined method `definition' for nil:NilClass>
C:/Users/Jim/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Deck Builder.rb:531:in `add_railing'
C:/Users/Jim/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Deck Builder.rb:225:in `onLButtonDown'
0
Hi

Jim 
Global Moderator
 

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

Postby sdmitch » Sun Nov 20, 2016 7:10 pm

TIG wrote:You might be falling foul of the v2017 changes to how references and id's work.
I'm currently rewriting my ExtrudeTools because of it.

Previously [<=v2016] you could get an array of the entities within a container [say ents=group.entities.to_a] and then when you used group.explode those references saved in 'ents' would still be valid in their new context [although you might need to trap for merged entities etc], but then their id's were 'transitory' between sessions.

But in v2017 now those saved references are found to be 'invalid' after the group.explosion, this is because during the explosion those entities are now deleted and replicated in their new context, but now using their same enduring id's across sessions.
The references now return as deleted entities 'invalid' !
This can be sidestepped by recoding, with say ents=group.explode - which gives 'ents' as an array of what results from the explosion.


So this is what we have to look forward to with each new release!!!!

Updated .rbz's at Plugin Store and my blog.
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 23-Jun-2015)

Postby pilou » Mon Nov 21, 2016 2:20 am

Seems perfect! :fro:
Sans titre - 17.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby sdmitch » Mon Nov 21, 2016 2:42 am

Love your "basic" designs. You should use your imagination more. NOT!!!!
1
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 23-Jun-2015)

Postby pilou » Mon Nov 21, 2016 2:57 am

Alas life is to short! Now no time to pass more 5 minutes for something! ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby pilou » Thu Nov 24, 2016 4:26 am

Your new version is excellent and very elegant! :thumb:
And surprise Spindles are components! :fro:
So mad replacement or modifications are now easily possible! :thumb:

(trick: explode circle or polygon if they are "alone")

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

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: arturoaquino, DimzCuy, marcelioromao and 14 guests

Visit our sponsors: