Medeek Forum

Resources => Medeek Foundation Plugin => Topic started by: Medeek on July 03, 2016, 04:45:47 pm

Title: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 03, 2016, 04:45:47 pm
Version 1.0.0 - 07.03.2016
- Created Medeek Foundation Plugin, utilizing SketchUp's Ruby API.
- Added slab on grade foundation type (rectangular outline only).
- Added garage curb and interior footing options.

(http://design.medeek.com/resources/images/foundation_su1_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=1b5e9234-04a5-4e6f-bd4d-ec3006a2f6a4

https://www.qrvr.io/p/K7bzyt

The thing that would make this plugin particularly useful is if the user could define a polygon outline for the foundation, that will be next, then onto stemwall foundations.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 03, 2016, 04:53:13 pm
Link to the plugin web page (under construction):

http://design.medeek.com/resources/medeekfoundationplugin.html

The toolbar icons:

(http://design.medeek.com/resources/images/foundation_su_menu_active.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 04, 2016, 05:24:45 am
My wife kindly pointed out that the interior footing might not extend the full width or length of the building, very good point.  To correctly specify an interior footing you also need a start and end point, so five inputs total to define this feature:

Direction: X Dir or Y Dir
Footing Width:
Footing Depth:
Start: Measured from first selection point that defines foundation outline.
End:  Measured from first selection point that defines foundation outline, must be greater than Start length.

An example of a partial width interior footing:

(http://design.medeek.com/resources/images/foundation_su2_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=c6935965-9939-43cd-b682-ffaf67a8a1cd

The problem with the basic UI is that it only allows for one interior footing.  If I webdialog this input menu I can show the layout of the foundation in plan view and allow for an unlimited number of interior footings as well as have footings running in both the X and Y direction.  The possibilities are really endless. 

The same methodology would apply for an arbitrary polygon shaped foundation.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 04, 2016, 05:20:31 pm
The ability to go back in and easily edit a foundation without having to recreate it will be crucial to the success of this plugin. 

Version 1.0.1 - 07.05.2016
- Enabled partial width interior footings for slab on grade foundation.
- Addressed minor bugs with UI geometry menu: Interior footing depth can now be specified.

(http://design.medeek.com/resources/images/foundation_su3_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=44ac26c8-b403-4a9b-9840-365887260a23

Interior footings quickly complicate things but a well designed html UI should clarify things greatly and make it much more intuitive.  That will be the next objective.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 05, 2016, 05:46:00 am
If an exclusion area is simply a hole in the slab then it is probably easiest just to push/pull a hole in the slab.  However, if the exclusion area is a large opening with footings required at the perimeter then that is a different matter.  It might look something like this:

(http://design.medeek.com/resources/images/foundation_su4_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=2348e047-381b-4cb9-94fe-5b8dc8155413

Note how the opening bisects the interior footing, which does potentially complicate any algorithm that would generate the hole and perimeter footing.  I will have to give this some more thought...
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 07, 2016, 11:48:55 pm
Version 1.0.2 - 07.08.2016
- Added stemwall foundation type (rectangular outline only).
- Enabled post and pier interior floor beam(s) with a strip footing.
- Added brick ledge option to stemwall foundation.

(http://design.medeek.com/resources/images/foundation_su5_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=0b7542df-71cd-4908-8aef-731c9bb95f8a
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 08, 2016, 11:43:50 am
When the user selects a type B footing (stemwall foundation) a keyway is inserted between the stemwall and footing:

(http://design.medeek.com/resources/images/foundation_su6_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=242c0e7d-db46-43b7-baf6-ce322a842e4e
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 10, 2016, 12:15:33 pm
I'm trying to determine which is the preferred method of blocking out a stemwall foundation for garage doors where a slab will be poured in the garage.  I've seen it done both ways.  Option 1 does not typically block all of the stemwall out and seems to be more common in locations where the frostline is deeper (24" or deeper).  Option 2 completely blocks out the stemwall at the garage door and then a thicken edge is poured where the slab meets the footing at the garage door.  From a structural point of view which is the better method and also from a construction point of view what are the pros and cons?

Option 1:

(http://design.medeek.com/resources/images/foundation_su7_800.jpg)

Option 2:

(http://design.medeek.com/resources/images/foundation_su8_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=9052ff81-b3c2-4aef-b40a-39a8be9e520b
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 11, 2016, 03:39:13 am
I should point out I've also seen a sort of a combination of the two options where the blockout does not extend to the footing but a thickened edge is employed at the slab/door interface and the thickened edge is typically 2x the slab thickness, or called out as a minimum dimension of 8".

Option 3:

(http://design.medeek.com/resources/images/foundation_su9_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 11, 2016, 08:10:06 am
The blockout methods seem to be all over the board, I've even talked with some of my engineering friends and the response is mixed there as well.  I guess I just need to provide the option for any of these three configurations within the plugin.  Sometimes I feel that I get bogged down in the details but I hope some of this level of detail is appreciated.

The other issue I'm having with slabs within garage spaces is the slope of the slab.  I'm trying to determine if is worth trying to incorporate a slope into the slab as it would actually be poured. As far as I know there is not a minimum slope specified for garage floors in the IRC 2015 or earlier only this fairly general statement:

The area of the floor used for parking of automobiles or other vehicles shall be sloped to facilitate the movement of liquids to a drain or toward the main vehicle entry doorway.

Typically the garage slope is 1/8" per foot or 1:96, how critical is this to you the user of the plugin?  Flat would be easier to program but then your blocked out entries on the side of a garage would be only theoretical.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 11, 2016, 03:54:26 pm
Here is a quick study on a garage slab that slopes 3" over about 24':

(https://3dwarehouse.sketchup.com/warehouse/getpubliccontent?contentId=56f0432b-fa0a-4b44-852c-5c5c8370351e)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=e4d46f5d-d5cc-4ba9-9439-39b3fe281e00

What to do with the slope at the garage door?  I've flattened it out but that leaves a line in the slab.

At the side door entrance the right side of the slab is about 3/8" higher than the left side.  Entrances that are parallel to the slope will have this property (problem?).

At the rear of the garage the slab is 6" below the top of the foundation and at the garage door it is 9" below the top.  Perusing through different plan sets I've collected over the years this seems pretty typical for the slope (1/8" in 12").

I think I should probably make the slope an option so those that want to model it can.

Rather than make the slope a percent grade or degrees I think it would be easiest to let the users specify a total rise or drop for the entire slab.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on August 28, 2016, 01:55:47 am
Version 1.0.3 - 08.28.2016
- Enabled interior bearing wall(s) with strip footing.

(http://design.medeek.com/resources/images/foundation_su10_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=89ee7df4-f895-437f-be51-553aa55bee08

I still need to enable the ability to add framed openings into the interior stud walls.  Interior stud/bearing walls can be created with single or double top plates and can be full span or partial spanning as shown in the image above.

Also note that the studs are aligned from the right side of the stemwall foundation edge so that they line up directly under the floor joists.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on August 28, 2016, 12:15:09 pm
My new job has kept me away for the last few weeks so that getting anything done on the plugins has been a real challenge.  Even so I've been giving some thought to stepped footings/foundations and would like some input from the designers and architects out there on what is common practice and what they would like to see available for this sort of feature within the plugin.

(http://design.medeek.com/resources/images/foundation_su11_800.jpg)

View mode here:

https://3dwarehouse.sketchup.com/model.html?id=f83f65ea-35e6-46f7-9d6c-f0b09b13a663

Note that I messed up on this model the exterior cripple/pony walls should have only had one top plate so that the combined top plate from the shallow sections and the single top plate would have created the typical double top plate.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on November 27, 2016, 09:26:23 am
Version 1.0.4 - 11.27.2016
- Enabled rebar and mesh reinforcement for slab on grade foundations.

(http://design.medeek.com/resources/images/foundation_su13_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on December 01, 2016, 12:59:11 pm
Version 1.0.5 - 12.01.2016
- Enabled reinforcement for stemwall foundations.

(http://design.medeek.com/resources/images/foundation_su14_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model.html?id=ef2187c3-eec9-487f-ae38-601f128390f1
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on December 02, 2016, 10:47:28 pm
I've been thinking about adding in a retaining wall feature that auto sizes the rebar and qty. based on my typical retaining wall details:

(http://res.cloudinary.com/engineering-com/image/upload/v1470879435/tips/RETAINING_WALL_DETAILS_loycxe.jpg)

For stemwall foundations I typically check the footing width (bearing pressure) and min. rebar for shrink (ACI 318-11), see engineering calcs per this PDF:

http://design.medeek.com/resources/footing/STEMWALL_FOOTING_CALCULATOR.pdf

I could easily incorporate this type of engineering calculations into the plugin, however I'm still trying to figure out how to have the plugin output PDF reports, or Excel spreadsheets, which would be necessary if engineering reports become part of this plugin.

Same sort of thing with square or rectangular footings can be done:

http://design.medeek.com/resources/footing/SQUAREFOOTING_CALCULATOR.pdf

With stemwalls or pony walls (not necessarily retaining walls) that exceed 24" in height (but not in excess of 48") I like to add #4 bars cont. horizontal at 18" o/c.  Logic could be incorporated that adds in additional stemwall and foundation wall rebar per a number of prescriptive criteria, IRC tables etc...

Currently it is entirely up to the users to specify rebar size and qty. with both stemwall and slab on grade foundations.

Stemwall foundations allow you to place rebar at the top of the wall  (5" below top, qty. 1,2, or 3 bars) and rebar at the bottom of the wall (3" above bottom, qty, 1,2, or 3 bars).  It also allows placement of bar in perimeter footing and interior footings (qty 1,2 or 3 bars).  Bar sizes range from #3 to #8 and similar sized metric equivalents for the metric templates, I can always add more sizes if requested.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on December 03, 2016, 11:39:40 am
Version 1.0.6 - 12.03.2016
- Added a "Layers" tab within the global settings.
- Enabled custom layers for both stemwall and slab on grade foundations.

(http://design.medeek.com/resources/images/foundation_su16_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on February 06, 2017, 12:10:00 am
I've been working on the polygon slab-on-grade this weekend and by extension the polygon stemwall foundation as well.  The interactive "tool" portion has been difficult mostly because I don't understand a lot of that portion of the code (blackbox to me), but I'm almost there with it. 

I would like to be able to create a foundation with any shape or size simply by drawing a polygon, point by point.

A simple example would be something like this:

(http://design.medeek.com/resources/images/foundation_su17_800.jpg)

Note, the interior floor beams at 12' on center.  Using an Web dialog I should be able to allow the user to easily add in as many floor beams or bearing walls as required. 

Once I have the foundation working correctly then I need to extend the floor truss/ floor joist module so that it can also handle polygon shaped structures within the Truss Plugin, then we will have a full package.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 09, 2017, 04:20:33 am
Has anyone ever seen a stemwall framed liked this?

(https://cdn-enterprise.discourse.org/sketchup/uploads/default/optimized/3X/c/5/c507ba2896ec8f7123f126721ffc27db814f2e63_1_519x500.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 12, 2017, 01:33:28 am
Or like this?

(http://design.medeek.com/resources/images/foundation_su18_800.jpg)

These two methods seem to be fairly popular in Oregon, I've never seen a floor/stemwall constructed this way any where else.

(http://design.medeek.com/resources/images/foundation_su19_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 12, 2017, 05:07:55 am
The argument for this construction method is the sheathing height is decreased because the rim board is eliminated.  However, in my mind the cons outweigh the pros:

1.)  There is a thermal bridge through the stemwall at the corner where the floor meets the wall.
2.)  Stemwall construction would become more complicated and time consuming.
3.)  Proximity of the I-Joist to the concrete could be problematic, requiring additional measures and more time and effort.
4.)  The crawspace height is reduced making it harder for other subs to install and work in and moisture from the ground is more likely to be an issue.
5.)  Nut and Washer of anchor bolts protrudes into floor sheathing and bottom wall plate, requiring additional notching.
6.)  If you want to run plumbing or electrical down through the wall bottom plate and into the floor, this is nearly impossible with this configuration.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 15, 2017, 12:07:01 am
I'm trying to determine if its easier to write a module that draws the anchor bolts or just bring in the component (pre-drawn).  I've never brought in a component before so something I need to explore further.  The other thing I feel is key is to make sure any of these minor components are modeled in such as way as to remain fairly lightweight within the model.  No one is going to want to use a feature that bogs down their overall model.  That is my one big gripe with using the 3D Warehouse models, the polygon count on most models is usually outrageous.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 16, 2017, 07:35:22 am
I need some input from the foundation and truss plugin users. I've decided to pre-model certain things like Bolts, Nuts, Washers etc... With Nuts and Bolts I'm planning on using a cosmetic thread so that the polygon count is minimal. As I've been experimenting with the bolts and nuts I'm wondering if I should eliminate the 30 deg. bevel on the head of the bolt and nut, it looks nice but adds quite a bit of complexity and polygons to the model. Any thoughts on this?

You would sacrifice some realism for a smaller model...
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 18, 2017, 01:41:20 am
The 1/2" and 5/8" anchor bolts, washers and some standard nuts.

(https://3dwarehouse.sketchup.com/warehouse/getpubliccontent?contentId=471d6963-9bbc-410e-b78b-b613db0fd3f7)

View models here:

https://3dwarehouse.sketchup.com/model/8d99457a-d1a4-488f-bea7-eeddfe8a8b67/Anchor-Bolts
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 18, 2017, 05:34:16 pm
Version 1.0.7 - 03.19.2017
- Added 1/2" and 5/8" Dia. Anchor Bolt option to stemwall and slab on grade foundations.
- Anchor bolt lengths are nominal 10", 12" and 14", square washers are 2"x2" or 3"x3".

(http://design.medeek.com/resources/images/foundation_su22_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model/d167e6ba-96b1-4211-96df-34b8371d7d5e/Anchor-Bolts-in-Stemwall-Foundation

The anchor bolt, washer and nut are three separate files that are loaded in as components.  Then the nut and washer components are inserted inside the bolt component and exploded so only the solid group(s) remain.  Its pretty amazing what you can do with a robust API and a little bit of Ruby code.

It took me most of today to figure out how to do all of this since I'm in uncharted territory but now that I've got it kind of figured out it opens up the possibility for a host of other things (holdowns, windows, doors, vents etc...) for this plugin and the others I'm working on.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 19, 2017, 09:27:07 am
The cosmetic threads actually render quite nicely as does my rebar material/texture.  I just realized I have not added any custom materials into the foundation plugin.

(http://design.medeek.com/resources/images/foundation_su23_800.jpg)

As you can see from the image the orientation of the J-bolts is the same regardless of the wall, however it would not be a couple more lines of code to orient them all facing in or facing out or some other combination.  Curious how the contractors actually install these, is the orientation important
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Itworx4me on March 19, 2017, 10:53:14 am
The orientation isn't critical. The j bolts are install after the cement sets up for a bit so they don't sink. You should look at adding in vents too.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 19, 2017, 02:36:39 pm
I agree, I've been talking to a few other contractors out there and most of them don't pay alot of attention to the orientation of the J-bolts into the concrete, they let the concrete set up a bit and then stab them in.

I'm adding in the custom materials, stemwall foundation below is an example:

(http://design.medeek.com/resources/images/foundation_su24_800.jpg)

I will need to roll another revision probably tomorrow to get this update out there.

Any additional thoughts on adding in vents and what is standard construction in your locale as well as what type/brand of foundation vents/inserts are used.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 20, 2017, 12:04:56 am
The ICC codes call out a minimum of a one vent within 3 feet of each corner.  It shouldn't be to much trouble to create the openings in the stemwall and place some vents:

(http://design.medeek.com/resources/images/foundation_su25_800.jpg)

For a rectangular building (4 sides) should I place 4 vents or 8 vents?  Provide only the openings or also provide a generic foundation vent (lightweight geometry?)

Moving an opening is actually very easy within SketchUp, when it comes to a solid wall like this.

What is the typical header thickness between the top of the vent hole and the top of foundation?

Vent size seems to be 16"x8" for most vents I've seen.

With regards to vents there are the cheap plastic ones you can get a Home Depot or Lowes and and then there are a whole ton of more expensive louvered metal manufacturers of vents and flood vents.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Itworx4me on March 20, 2017, 01:08:07 pm
This is the type of vent that is used here in oregon for new construction.

http://www.homedepot.com/p/Gibraltar-Building-Products-6-in-x-7-in-x-16-in-Plastic-Foundation-Screened-Block-Vent-with-Damper-DVB6/202217261 (http://www.homedepot.com/p/Gibraltar-Building-Products-6-in-x-7-in-x-16-in-Plastic-Foundation-Screened-Block-Vent-with-Damper-DVB6/202217261)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Itworx4me on March 20, 2017, 01:17:14 pm
Have you made any progress on drawing foundations per a plan yet? Currently we can only do rectangles :(
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 20, 2017, 11:10:42 pm
I am currently working on the polygon and line tool for both stemwall and slab foundations.  I am finding it hard currently to get enough time to really push ahead quickly so I don't have an ETA on the release of these tools.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 21, 2017, 11:19:39 pm
The options for the crawlspace vents (if this option enabled) will be:

1.) Width (in.)
2.) Height (in.)
3.) Corner Distance (ft.)
4.) Top Fnd. Distance (in.)
5.) Max. Spacing (ft.)
6.) Location:  All Walls|Left/Right Walls|Front/Back Walls
7.) Vent Insert:  NONE|PLASTIC|METAL

The Max. spacing variable will determine whether to insert intermediate vents along the wall line.  The module will always place two vents per wall (if wall line selected), one at each corner and then equally space vents along wall line based on the Max. spacing variable.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 22, 2017, 04:36:54 pm
The vent module seems to be working fairly well:

(http://design.medeek.com/resources/images/foundation_su26_800.jpg)

If you set the top distance to zero the vents are right up to the sill plate:

(http://design.medeek.com/resources/images/foundation_su27_800.jpg)

Notice the top bar is clashing with the vent cutouts. 
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 23, 2017, 03:51:08 pm
Version 1.0.8 - 03.23.2017
- Added crawlspace vent option to stemwall foundations.
- Added a "Materials" tab within the global settings; Auto material assigment (colors and textures) is now an option.
- Enabled materials for all foundation types.

(http://design.medeek.com/resources/images/foundation_su28_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 24, 2017, 03:52:50 pm
Version 1.0.8 - 03.23.2017
- Added crawlspace vent option to stemwall foundations.
- Added a "Materials" tab within the global settings; Auto material assigment (colors and textures) is now an option.
- Enabled materials for all foundation types.
- Added a joist pocket option for stemwall foundations.

(http://design.medeek.com/resources/images/foundation_su29_800.jpg)

I've been putting off the joist pocket feature for a while but figured I could spend my Friday night and knock it out.  I doubt it will get much use except for certain builders in the State of Oregon.

The options for the joist pocket option are:

1.)  Pocket Width
2.)  Pocket Height
3.)  Pocket Depth (into the stemwall)
4.)  Pocket Spacing (default is 16" o/c, but can be set to any value)

If you use joist pockets with either the brick ledge feature or the crawlspace vents you need to realize that the geometry must be such that the various item don't clash.  For example the stemwall must be thick enough for a brick ledge and the typical 2.25" depth of the joist pocket. 

With vents and pocket joists there must be enough vertical clearance between the two otherwise the header will be too thin for the overlying floor joist.  One solution to this problem is to have the vents only on the front and back walls while the joist pockets are on the left and right walls.

The number of options and inputs is now a bit mind boggling and the code is also at a new level of complexity.  Taking all of this to a polygon shaped foundation will be a challenge but that is where it needs to go next.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on March 25, 2017, 11:35:56 am
Version 1.0.9 - 03.25.2017
- Added slab foundation type (rectangular outline only).
- Enabled full and partial width interior thickened slab footings.

(http://design.medeek.com/resources/images/foundation_su30_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model/f96ebc51-f099-4dcf-a7a8-b51055a67a7c/Basement1
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 01, 2017, 12:40:29 pm
Finally got some time to work on the polygon tool in the foundation plugin, starting with the easy one which is the basic slab.

I've got it working for the concrete but the problem is the rebar, see image below:

(http://design.medeek.com/resources/images/foundation_su32_800.jpg)

The only way I can see to create the rebar is to use the solid boolean tools (ie. Subtract), however that is only available in the Pro version of SketchUp so the polygon tool would really only be useful or workable in the Pro version of SketchUp.  Unfortunately, I don't have enough extra cash at my disposal to even purchase the pro version so I am now at a standstill on this since I can't test or debug it further.

You can literally draw any shape you like but the rebar is configured to always align (parallel) with the edge created by the first and second points. 
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 02, 2017, 08:11:35 am
(http://design.medeek.com/resources/images/foundation_su33_800.jpg)

As can be seen in this polygon shape the rebar could be potentially cut in multiple places.  The subtraction method makes the most sense but since I don't have that luxury I am working on a different algorithm for putting the rebar only within the concrete and so that it has at least 3" of ground clearance on the sides.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 03, 2017, 01:52:51 am
Haven't figured out the best way to deal with the slab reinforcement yet but I've moved on to start putting together the polygon tool for the Slab-on-Grade.  Since the offset line tool is not exposed in the API I've decided to try and use TIG's SmartOffset plugin as a starting point.  Unlike the rectangle tool I probably won't have a bend radius on the footing bars, at least not initially.  At some point I would like to figure out a plugin or some code that will automatically apply a radius or fillet to two lines/edges, I'm surprised that this functionality is not already built into SketchUp.

The way I will create the SOG is extrude the slab and then use the follow me tool for the footing, then union the two solids together, fairly simple.  Any shape or size of SOG will be possible.  The basic input (Non-Graphical User Interface) will only allow the entry of one internal footing however I am planning on implementing a Webdialog GUI that will allow the user to create as many interior footings as required and also allow them to even cross each other in grid patterns (ie. X-dir and Y-dir).  Things are going to get interesting with this plugin.

The GUI will allow the user to better preview the location and start and end points of the interior footing(s) which will make the entire process much more intuitive and easier to use.

Anchor bolts along the perimeter of the SOG will also be implemented.  Hoping to have all of this done by the end of the week, and as time allows.  I may have to simply disable the slab mesh/rebar until I can figure out a way to trim it without forcing the user to SketchUp Pro.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 03, 2017, 02:06:42 pm
The slab on grade concrete is working great, that was easy.  Now I just need to work on the rebar in the perimeter footing and the anchor bolts as well as the optional garage curb.

(http://design.medeek.com/resources/images/foundation_su34_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 03, 2017, 02:44:19 pm
Any shape is possible even a circular shape by selecting points along an arc.  Now I really need to get the wall plugin going with the same polygon tool that is smart enough to handle typical 90 deg. corners and non-orthogonal corners.

(https://3dwarehouse.sketchup.com/warehouse/getpubliccontent?contentId=13d5d936-05c8-4f81-998e-8f1e132360be)

Curved walls and roofs though are still a bit of stretch, but I can see we need to eventually go that direction as well to make everything complete.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 09, 2017, 10:34:04 am
The polygon tool for the slab-on-grade foundations is nearing completion.  I've got the concrete, perimeter rebar, internal footings and even anchor bolts all working.

(http://design.medeek.com/resources/images/foundation_su35_800.jpg)

The only item still pending is the slab reinforcement (mesh/bar).  I've been contemplating devising my own boolean subtraction tool.

I've even managed to create a fillet tool based on TIG's 2D tools that properly applies the correct bend radius to the perimeter rebar.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 12, 2017, 03:53:04 pm
I think I've got the slab reinforcement working now.  I haven't tested it enough to determine if its really robust enough to release another update but I'll keep testing.

(http://design.medeek.com/resources/images/foundation_su36_800.jpg)

I owe Sdmitch big time for this one.  I've integrated his rebar trim function into the plugin to create a new module that trims the slab rebar or mesh.  I am still trying to figure out exactly how the magic is done but most of it is over my head.

View model here:

https://3dwarehouse.sketchup.com/model/7d64c1ab-bb1a-47a2-9fb4-4cf3553e7cec/Foundation-4

A mesh reinforced slab though can get quite heavy with the polygon count so it may only have limited usefulness.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 13, 2017, 04:31:16 am
I haven't fully compiled a TODO List for this plugin yet but there are still a number of items that need to be addressed.

- A hole cutting tool that removes the concrete and the rebar and any anchor bolts in the way.
- Square and Rectangular Footings for point loads
- Strip Footings
- A line tool for the stemwall module
- Retaining Walls with Engineering
- Ability to step foundation walls
- Webdialog input for SOG and Stemwall so that interior footings can be configured with ease.

Let me know if there is anything you would like to add to this list.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 13, 2017, 10:41:13 pm
Version 1.1.0 - 04.14.2017
- Added polygon outline tool for slab-on-grade and slab.
- Enabled perimeter rebar, anchor bolts, and slab reinforcement for (polygon) slab-on-grade foundations.
- Enabled slab reinforcement for (polygon) slabs.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 23, 2017, 02:02:21 pm
Version 1.1.1 - 04.23.2017
- Added polygon outline tool for stemwall foundation.
- Enabled perimeter rebar, anchor bolts, vents, and internal footings for (polygon) stemwall foundations.

(http://design.medeek.com/resources/images/foundation_su37_800.jpg)

(http://design.medeek.com/resources/images/foundation_su38_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model/d8dec962-1fb4-4637-adcd-7406fef4e9df/Stemwall-Foundation-POLYGON

The next improvement would be a web_diaolog input so that more than one internal footing can be specified at a time.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 23, 2017, 04:53:35 pm
Using the rectangular floor primitives I was able to manually create the floor on the previous foundation in about 30 minutes:

(http://design.medeek.com/resources/images/foundation_su39_800.jpg)

If I create the polygon floor tool I will be able to accomplish the same thing in under 10 seconds.  The polygon floor tool in the truss plugin is next...
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 26, 2017, 05:58:45 am
The trim tool in the Truss Plugin comes in quite handy when dealing with more complex foundation geometry:

(https://3dwarehouse.sketchup.com/warehouse/getpubliccontent?contentId=a2e9a8ec-3df7-44e3-a89e-7011cdd79d3b)

For this foundation I used the stemwall (rectangle and polygon) function and the slab (polygon) function.  I had to trim the garage stemwall and also manually create the smaller interior post/beam assemblies.  I also adjusted the position of some of anchor bolts once I cut the doors into the garage stemwall.

View model here:

https://3dwarehouse.sketchup.com/model/4ed9f28d-11e4-4166-b698-b3cd734cd2a1/Foundation-7

Throwing a roof onto this foundation is fairly straightforward:

(https://3dwarehouse.sketchup.com/warehouse/getpubliccontent?contentId=0893714a-0a63-41f4-acc8-6efc2a837efc)

View model here:

https://3dwarehouse.sketchup.com/model/7d17b0c7-8cfb-461b-a4a6-127fafe0ece6/Residence-7
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on May 03, 2017, 01:06:54 am
Recently I've received a number of requests for concrete columns to be added to the foundation plugin:

(https://courses.cit.cornell.edu/arch264/calculators/example7.5/01.jpg)

I'm still trying to figure out how to best add a concrete column module, I think it could gain some serious traction.  This would cater more to the industrial rather than the residential side.

I'll use ASDIP Concrete Software as a guide in establishing the various options to include:

(https://media.licdn.com/mpr/mpr/shrinknp_800_800/AAEAAQAAAAAAAAgkAAAAJDM0YTFiNDVkLTc2MjMtNDFkMy1hZjQ2LTAwOGE2NjU1NWRlYQ.png)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on May 06, 2017, 02:59:35 am
Version 1.1.2 - 05.06.2017
- Added "Circle Segments" option within the global settings, rebar and mesh polygon counts can now be controlled.

(http://design.medeek.com/resources/images/foundation_su42_800.jpg)

In this example I set the segment number to "5".

The global setting circle segment number will default to 24.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on May 07, 2017, 03:55:14 am
Some common configurations of concrete columns:

(http://design.medeek.com/resources/images/foundation_su43_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Fred H on May 30, 2017, 11:31:18 pm
Have you considered adding insulation? We're planning on using a Frost-Protected Shallow Foundation because of it's cost, our zone 6 location, and the rocks and ledge we know are there.

As the insulation thickness and extent vary with zone and occupied/unoccupied this has those two parameters, but is well-specified in the code. Here is an explanation with links: http://buildipedia.com/aec-pros/construction-materials-and-methods/slabs-for-colder-climates-part-1-the-how-and-why-of-frost-protected-shallow-foundations?print=1&tmpl=component (http://buildipedia.com/aec-pros/construction-materials-and-methods/slabs-for-colder-climates-part-1-the-how-and-why-of-frost-protected-shallow-foundations?print=1&tmpl=component).

Additional complexity would come with unoccupied slabs (e.g. garage, front porch, patio) contiguous to an occupied slab. Edge insulation would be an issue too.

If this is outside the bounds of your plans, please feel free to ignore it.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on May 31, 2017, 12:06:24 am
Up until now I have not considered adding insulation but it probably would not be too hard to add in.  I will do more research on FPSF. 
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on May 31, 2017, 01:59:11 pm

An FPSF with 2" foam insulation along the wall and vertically.  2.5" foam insulation at the corners with the following horizontal dimensions:


A = 12"
B = 24"
C = 40"


(http://design.medeek.com/resources/images/foundation_su45_800.jpg)


The rectangle foundation is easy, the polygon shaped foundation will be more challenging.


View model here:


https://3dwarehouse.sketchup.com/model/ab622b36-cc2f-43f8-baa4-f93ceec80741/FPSF
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 01, 2017, 11:57:24 am
An irregular shaped FPSF, note the 135 deg. corners.  Once this angle becomes greater than 135 degrees I would probably just treat it the same as a straight wall.

(http://design.medeek.com/resources/images/foundation_su46_800.jpg)

View model here:

https://3dwarehouse.sketchup.com/model/bfcf8f49-0e4e-4932-a42c-06121a20fd73/FPSF2
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 02, 2017, 05:30:10 pm
Version 1.1.3 - 06.03.2017
- Added "FPSF" option to rectangular slab-on-grade foundations.
- Added an insulation layer in the global settings under the "Layers" tab.

(http://design.medeek.com/resources/images/foundation_su47_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 03, 2017, 03:59:09 am
- Added "FPSF" option to rectangular stemwall foundations.

(http://design.medeek.com/resources/images/foundation_su48_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 03, 2017, 04:13:50 pm
Working on the square/rectangle spread footing tool:

I will start with wood posts as an option with the following sub-options for the wood post:

Post Size:  4x4, 4x6, 6x6, 6x8, 8x8
Post Height (in.)
Post Base:  None, ABA, ABU, ABW, CBSQ
Post Cap:  None, CCQ, ECCQ
Post Rotation:  0, 90, 180, 270

I also plan on having the option for steel posts with the following sub-options:

Post Size:  HSS4x4x1/2, HSS4x4x3/8, HSS 4x4x1/4, HSS3x3x3/8 etc...  (round and square tube)
Post Height (in.)
Base Plate Size (in.) - square shape L x L
Base Plate Thickness (in.)
Base Plate Hole Dia. (in.): 1/4, 3/8, 1/2, 5/8 (4 bolts per baseplate)
Vert. Offset (in.)  - for non-shrink grout
Post Cap:  Not sure what to do with this yet.
Post Rotation:  0, 90, 180, 270

(http://design.medeek.com/resources/images/foundation_su49_800.jpg)

(http://design.medeek.com/resources/images/foundation_su50_800.jpg)

I've been contemplating using the Simpson Strong-Tie post caps and bases as provide in the warehouse but I'm worried that the polygon count is too high.  I may have to generate my own dumbed down versions.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Fred H on June 04, 2017, 04:28:49 am
Thanks for the FPSF additions, I'm looking forward to working with it.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 04, 2017, 04:36:51 am
I haven't enabled it for polygon shaped stemwall and slabs yet, that is still a work in progress.  Too much to do and not enough time to do it all.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 04, 2017, 04:00:48 pm
Added "FPSF" option to polygon slab-on-grade foundations:

(http://design.medeek.com/resources/images/foundation_su52_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 05, 2017, 06:07:25 am
An octagon slab on grade (FPSF).  Note that the angle of the corners is 225 degrees, any less and the corner treatment would go away. 

(http://design.medeek.com/resources/images/foundation_su53_800.jpg)
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 05, 2017, 02:11:49 pm
Added "FPSF" option to polygon stemwall foundations.

(http://design.medeek.com/resources/images/foundation_su54_800.jpg)

Now I've thoroughly beaten the FPSF option to death, the only thing I might add in later is a global setting to change the insulation color to pink, blue or white.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 10, 2017, 01:53:41 pm
Tutorial 1:

https://youtu.be/zS5elgpy1Eo
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Itworx4me on June 11, 2017, 02:48:10 am
Just an observation in your video. When you created a post and beam stem wall foundation. The stem wall on each end ended in front of a vent.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 11, 2017, 03:56:01 am
By default the foundation vents are placed a fixed distance (user driven) from the foundation corners.  Once the stemwall is created it is not very hard to move the vent manually if required.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on June 11, 2017, 12:04:46 pm
Version 1.1.4 - 06.11.2017
- Added pre-drawn face outline tool for stemwall and slab-on-grade foundations and slabs.

You can now click on a face (any closed polygon shape) and the plugin will generate the appropriate stemwall, SOG or slab.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 18, 2017, 10:57:26 am
Version 1.1.5 - 07.18.2017
- Fixed bug with slab reinforcement for Slab-on-Grade foundations (Polygon, Face).
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on April 19, 2018, 03:53:47 am

A new tutorial by NSM Construction.


https://youtu.be/LRxD2xqPOJ4
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 10, 2018, 11:51:00 am
Version 1.1.6 - 07.10.2018
- Updated the licensing and registration system, added a license tab to the global settings.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on July 18, 2018, 11:45:14 am
Version 1.1.6b - 07.18.2018
- Fixed a bug in the updated registration system.

This is a critical update, the recently release version 1.1.6 will not allow the registration of the serial number.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on October 15, 2018, 06:25:17 am
Version 1.1.7 - 10.15.2018
- Name of plugin changed to "Medeek Foundation".
- Updated the licensing system to include a 30 day limit of the trial version.
- Updates to the HTML pages of the global settings.

I haven't spent much time on the foundation plugin in the last year and a half and it is beginning to show.

I have however determined that I can now devise an algorithm for step down foundation stem walls.  A big shout out to Christina Eneroth whose excellent coding and generosity will make this feature possible in the near future.

Making the step down feature fully parametric may be a bit more of a challenge.  I will need to give this some serious thought.
Title: Re: Development and Updates for the Medeek Foundation Plugin
Post by: Medeek on October 26, 2018, 02:11:38 am
Todo list for the foundation plugin:

- Parametrics (things get a little tricky for complex footprints [non-rectangular slabs and stemwalls], this will take some thought)

- Window and Door openings in foundation walls.

- Ability to cut holes into slabs

- Isolated Post/Footing Module

- Blockouts in stem walls for doors/garage doors

- Floor drains in slabs.

- Switching to all HTML menus with tooltips/thumbnails

- Custom materials (similar to the truss and wall plugins)

- Step down foundation stem walls for sloping sites (fully parametric, this will also be a challenge).

- Adding more defaults into the global settings.

- Raft and Waffle foundations.

- The current method of inserting (one) strip footing is very limiting.  This whole methodology needs to be reworked into something which allows any number of strip footings.

Let me know if I am missing something on this list.

The potential complexity of this plugin could easily rival the wall and truss plugins the more I think about it, again lots to do and never enough time to accomplish it all.  Sometimes I think my ideas are much too big for my capacity.