News:

SMF - Just Installed!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Medeek

#1081
A few more kinks to work out in the sheathing module, but overall it is working better than expected and it wasn't nearly as hard to code as I initially thought it would be.

View model here:

https://3dwarehouse.sketchup.com/model/bebebadb-fefc-48a5-808c-6380ca367912/Complex-Roof-Sheathing-Test-1

Still a bit more work to do with sheathing when the dutch gable option is utilized.  As you can tell from the model the sheathing is not tucking under the gable end overhang just yet.  I will be addressing this tomorrow.
#1082
First look at roof sheathing:



Roof cladding is a little more involved because of the cladding extension parameter.
#1083
Version 2.5.2 - 10.04.2019
- Added the half hip option for complex roofs within the "Edit Roof Plane" tool/menu.
- Added the dutch gable option for complex roofs within the "Edit Roof Plane" tool/menu.
- The "Edit Roof Plane" tool has been made non-persistent to further improve stability.

#1084
First look at dutch gable complex roofs:



(textures added to roof primitive for effect)

After I setup the system for the half hip this one fell out without too much trouble. 

View model here:

https://3dwarehouse.sketchup.com/model/6f5908e1-189d-420e-8675-78cbe32ef522/Dutch-Gable-Complex-Roof

Now it is time to move on to the sheathing and cladding, but first I need to add in some options for battens and cross battens.
#1085
First look at half hip complex roofs:



(textures added to roof primitive for effect)

Notice the additional "setback" parameter in the menu.  Also a half hip roof plane has both hip and gable parameters with the non-applicable parameters grayed out, as shown.

Similar to a gable end, the half hip can only be applied to certain roof planes, the plugin automatically restricts this placement.

The overhang of the half hip is governed by the gable overhang parameter, hence the overhang under the hip options is grayed out.

Now, on to the dutch gable...
#1086
Some of you may notice that this thread starts rather abruptly, the full story can actually be found on the Sketchucation forums if you are interested.  In response to a question on Youtube here is a little bit more history on the birth of this plugin and where it has taken me:

QuoteI actually started developing these plugins quite by accident (Truss plugin).  I have a web based truss calculator that I initially programmed as a purely academic exercise but eventually became a web based tool when I saw that others might have use for it.  This web based app provided a way for the user to generate a DWG of the truss geometry and then download it.  I don't remember who it was, but a SketchUp user emailed me one day back in early Oct. 2015 if I could also make it generate a SketchUp file instead.  At that point I had no idea if I could or not, I had no knowledge that SketchUp even had a Ruby API, so I said I would look into it.  A few days later in some spare time I was curious if SketchUp might have some sort of AutoLisp like feature (similar to AutoCad) so I dug around on the internet a bit and sure enough an API did exist. 

In a few hours I quickly hacked together a bit of Ruby code (my first time coding Ruby, all my previous coding experience is primarily Perl, javascript and HTML) and pretty soon I had some code that one could drop into the ruby console or your plugin folder (.rb file)  and it would draw the truss geometry.  At the same time I also discovered the various SketchUp forums (SketchUp and Sketchucation).  I posted about my update to my truss calculator since I figured other SketchUp users might find this useful if they wanted to model up accurate trusses:  http://sketchucation.com/forums/viewtopic.php?f=323&t=63133

A few days later Julian Smith (South African Architect/Designer) asked me if this tool would become a "real extension".  That got me thinking and I thought if I can find the time it might be fun to actually make this into something.  I was finding that the API and ruby were actually quite fun to program and it didn't take much convincing to keep working on it, in truth it was strangely addicting.  One thing led to the next and pretty soon the truss plugin was capable of generating a number of truss types.

In 2016 I started work on the Foundation plugin however I held off on developing the Wall plugin since John Brock (Estimator for SketchUp) had announced his work on a framing plugin. 

By early 2018 the Truss plugin had gradually  evolved into quite a complex and deep plugin and I had a number of people begging me to consider doing a Wall plugin, including Larry Belk who had been pushing me in that direction since 2015.  Brock's wall plugin had still not been released so I finally decided I'd go for it.  Except this time, instead of working on it part time, I decided to go for it full time, a major leap of faith.  I did a KickStarter campaign to see if there was sufficient interest in a Wall plugin and started programming it full time in early April 2018.  By May 25th, I released the first BETA of the wall plugin and by January of this year I felt like the plugin was good enough to move it from BETA status to full.

All of the plugins are currently under active development, much work remains to be done.  They have been my full time job since I started the Wall plugin last year.  My current push is to complete the complex rafter roof module.  I am grateful to SketchUp for having the foresight to provide an API and for my customers who allow me to keep creating and pushing the ball forward.  One day I would like to see SketchUp become the predominant architectural tool used for residential and commercial work.

#1087
After giving it some further consideration I've decided to enable dutch gable and half hip options for custom roof planes rather than leave it for later. If I include these options now it will force me to keep my other more specific algorithms general enough to handle all cases. The geometry calcs required to generate the roof primitive for these two other configurations is really not that difficult and actually provides a rather intriguing challenge.
#1088
Version 2.5.1b - 10.03.2019
- Added logic so that customized roof planes can co-exist with the "Move Roof Edge" and "Edit Roof Outline" tools of the complex roof module.

Previously, moving roof edges would potentially shift the customized roof planes if certain roof edges were removed or consolidated.  I think we have now achieved a fully parametric status with the various tools all working together.
#1089
Talking with a customer today leads me to believe that a tool for a grade beam might be useful.  My current workaround is to create two separate strip footings, one on top of the other as shown:



The problem with trying to use the strip footing tool to create grade beams is that it does not allow for top bar placement.  Additionally, there is no FPSF option for strip footings.  Let me know your thoughts on this, is this a feature you would like to see added to the plugin?

If I do add it, what other, grade beam specific, parameters might need to be added?

View model here:

https://3dwarehouse.sketchup.com/model/277d55a2-ca05-4258-b6b5-93fdab02c7cb/Grade-Beam-Workaround
#1090
Version 2.5.1 - 10.02.2019
- Enabled the "Edit Roof Plane" tool, allowing for customized roof planes within complex roof assemblies.
- Added the gable end option for complex roofs within the "Edit Roof Panel" tool/menu.
#1091
Gable End option (within the edit roof panel menu) is now providing stable results:



View model here:

https://3dwarehouse.sketchup.com/model/b10e6638-5dea-4da2-8a60-dea543978109/Assymetric-Complex-Hip-and-Gable-Roof

The roof primitive module for asymmetric complex roofs with gable and hip ends is now complete.  Granted there is still room for additional options like dutch gable and half hips but I will leave those for another day.

I will now turn my attention to sheathing and cladding as well as the roof plane labels (name and sqft). 

One thing I forgot to add into the overall roof parameters/options is anything for battens and cross battens.  I can add it in if I receive some positive feedback on that feature, otherwise I will move on and start into the sheathing module first thing tomorrow.
#1092
I haven't quite started into the framing geometry just yet but I'm already one step ahead thinking about how certain junctions are going to need to be framed up.

Two hip rafters meeting at a ridge is pretty standard and I think I have that one handled however the junction where a valley rafter meets a flying hip and ridge is a little more uncertain.  Any information on how some of these framing junctions should be made would be very helpful.
#1093
Throwing all sorts of curve balls at this module to see if I can break it.  Ultimately one can always break anything if you try hard enough, especially with something as complex as some of these roofs get. 

Overall I'm pretty happy with it, I've addressed the issue with inside corners and now all is working as expected.  Here is a recent test example of a roof with planes and pitches all over the place:



View model here:

https://3dwarehouse.sketchup.com/model/1f7e4e9c-e727-4053-956c-c71b57d4241d/Asymmetric-Complex-Roof-3

That being said there is always further testing that can be done.  I'm sure there is some state I have not thought of that someone will get the plugin into that will break it.

I think it is time to move on to the gable end option.  Once I get that working I think the utility of this new module will start to become apparent.
#1094
If you take a look at these two roofs you will notice that in the second case the lower ridge has degenerated into the steeper roof plane:





I didn't think it was possible but there are certain configurations where a standard straight skeleton will not generate the expected roof.  This is a good example of that.

The complex roof module will not be able to automatically handle these types of situations.

This is where the secondary roof module will need to come in.
#1095
After struggling with the code for almost 8 hours I give you a fully parametric, asymmetric complex roof (primitive):



View model here:

https://3dwarehouse.sketchup.com/model/5229b7c9-3ad3-46c1-bcd0-a670abe7aee3/Asymmetric-Complex-Roof-Primitive

I will now need to spend a day or two just trying to break it and I also need to enable the gable end option.

All of the menus and tools are working correctly now and seem to be quite robust.  I will spend the next couple of days finishing up the roof primitive geometry (and testing).  After that I would like to enable sheathing and cladding along with the roof labels and then I will probably release an update so everyone can test it out further and help me unearth any bugs I may have missed.