Author Topic: Development and Updates for the Medeek Electrical Plugin  (Read 5722 times)

0 Members and 1 Guest are viewing this topic.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #30 on: February 08, 2019, 12:41:23 am »
Various load center sizes, view model here:

https://3dwarehouse.sketchup.com/model/d1271b9e-fa3f-4c74-beba-750d5d330ff0/Load-Centers-Low-Poly

All load centers are 200 Amp except for the 24 space unit which would be rated for 100 or 125 Amp.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #31 on: February 08, 2019, 06:56:56 am »
The inside of these boxes and the breakers are very simple and low poly.  The idea is mostly to convey the number and location of breakers and overall dimensions:

Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #32 on: February 08, 2019, 10:52:54 am »
In the parameters for the load centers I identified the following options:

1.)  Style:  Flush Mount, Surface Mount
2.)  Indoor/Outdoor:  Indoor, Outdoor
3.)  Height:  Distance from floor to bottom of box (in./mm)
4.)  Breaker No.:  6, 8, 12, 24, 30, 40, 42, 54, 60
5.)  Amperage:  100, 200
6.)  Main Lug:  Main Breaker, Main Lug
7.)  Adv. Options:  None Currently

There is no material/color assignment. 

I've created a 6 and 8 breaker box (main lugs only).  I will need to add in additional boxes that only have main lugs and not a main breaker for the other sizes, but that is work for another day.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #33 on: February 10, 2019, 04:20:21 am »
First look a the output of the load center or service panel module:

Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #34 on: February 11, 2019, 03:18:50 pm »
Perusing the selection of electrical outlets and boxes at my local Ace Hardware this morning it became painfully obvious that I should have added the option for "amperage" to the outlet parameters.

Standard and Decora outlets now are available in 15A or 20A:



I've never actually seen this type of outlet (NEMA 5-20R) installed in any residence I've ever lived at or in any new construction I've worked on but I'm sure it has its place.

Currently the 240V outlets are limited to only 30A and 50A outlets.  At some point I may add in NEMA 6-15R and NEMA 6-20R if there is call for it.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #35 on: February 11, 2019, 03:50:55 pm »
Just a reminder to everyone that is following the development of this plugin:

This plugin is an add-on plugin/extension.  In other words it currently only installs switches, outlets, low voltage outlets and panels into the walls that are created by the Medeek Wall extension.

At some point I may attempt to extend it to allow for operation with any solid walls but for now it is limited to working with the geometry created by the mdkBIM suite.  There are a number of technical issues/reasons for this which I will not delve into at this time.

Since it is not a stand alone plugin and is dependent (currently only on the Medeek Wall extension) I will probably not charge as much for it if it were a standalone extension.  As such I am thinking about $20.00 USD for a permanent license with a $10.00 USD renewal for upgrades.

Eventually it will be packaged with the mdkMEP suite but for now it is a standalone purchase and separate from the mdkBIM suite.

It will eventually include its own estimating module which again is separate from the Medeek Estimator (Wall Plugin).  I really haven't gotten that far yet but I will solicit feedback from the user base of this plugin once I release the BETA and determine how we want to put that together.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #36 on: February 11, 2019, 06:49:19 pm »
Electrical boxes for light fixtures:

https://3dwarehouse.sketchup.com/model/28673308-2a85-43ad-90f9-1f4f82231bf6/Electrical-Boxes

I'll start with the simple nail mounted 3/0 and 4/0 boxes (Carlon B518 and B520).  I should also add the hanger bar variants as well but I'll need to purchase a few more samples from the local hardware store first so that I can create semi-decent models.
« Last Edit: February 11, 2019, 06:55:29 pm by Medeek »
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #37 on: February 12, 2019, 03:28:24 pm »
First look at the output of the Light Fixture Module:







The plugin allows you to drop your own light fixtures into the library sub-folder so you can have as many custom light fixtures as you like (and I don't need to spend anymore time modeling things up).

The fancy ext. wall lantern shown was simply downloaded from the warehouse, minor edit to make sure the origin of the file was in the correct place and then dropped into the light_fixture sub-folder.  I will not be including this fixture in the distribution simply due to its size (1.2 Mb).  However I will include some basic lampholders like the Leviton 49875 shown.

Another thing to note, since the light fixtures are custom I will not be attempting to apply any material or color to them.  For that reason there is no need to explode the component into a unique group. 

I will add some additional simple light fixtures and junction boxes as time allows or as requests are made.

Currently the light fixture tool is limited to wall mounted fixtures.  I am still contemplating how best to deal with ceiling mounted fixtures and what type of system/organization to employ.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #38 on: February 13, 2019, 06:12:37 pm »
Pulling the global settings together:



Outlets tab:



The estimating piece will be after I release the BETA. 

I'm almost ready to put this new plugin out there but I'm waffling on whether to spend some additional time on the draw tool and see if I can't make the plugin work with any (wall) geometry rather than just limiting it to an add on for the Medeek Wall plugin.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #39 on: February 14, 2019, 09:31:10 am »
*** BETA RELEASE ***

Version 0.9.0 - 02.14.2019
- Created the Medeek Electrical Plugin, utilizing SketchUp's Ruby API.
- Added tools to create switches, outlets, low voltage outlets, load centers and lights.

Download the BETA version here:

http://design.medeek.com/resources/medeekelectricalplugin.pl


Just a reminder that this plugin is currently dependent on the Medeek Wall extension to function.  Also a new version of the Wall plugin is required in order to retain the electrical components within the wall panels.  The upgraded version of the wall plugin will be released later tonight.

Items needing further attention:

- Ceiling light fixtures.
- Parametric ability (edit menus for all fixtures).
- Combo switch/outlets 
- Estimating
- Ability to use the plugin with any wall geometry (non-plugin dependent)
- Link to purchase plugin within Account Manager (currently only a TRIAL version is available)
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #40 on: February 14, 2019, 11:55:35 pm »
There are a couple issues with embedding electrical components into unknown walls:

1.)  The Z height problem:  Since I am trying to track the height of the switch or outlet I somehow need to know where the floor is located, not absolute as much as where is it inside of the group that contains the wall geometry.  The reason for this is that the edit menu will allow the user to change this height and without knowing where the floor height is there is no way to know the height of the switch or outlet.

2.)  The other issue is rotation about the Z-axis, so that the electrical component is facing outward regardless of which side of the wall it is on.  With my own Medeek wall panels this problem is easy because the groups origin and axis are always positioned a certain way with regards to the wall, hence I am able to determine or specify a "wallside" for a given electrical component and then offset it accordingly based on the wall construction (stored attribute library).
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #41 on: February 15, 2019, 01:30:49 pm »
Version 0.9.0b - 02.15.2019
- Added additional Carlon and Raco octagon boxes into the Light Fixture module.



Per customer request I've added some additional electrical boxes. 

The full list of junction boxes available for light fixtures is:

Junction Boxes: Carlon (B518, B520, B620H), Raco (111, 112, 119, 128, 146, 164, 175, 177)

The reason I have to add these boxes in is because I need to hard code in the dimensions so that the plugin knows what the width is when the box justification is toggled to left or right.  Its not a big deal, it only takes me a couple minutes to add in a new box and its dimensions.

If you have a particular box or light fixture you would like to see added please let me know.

As far as other international standards (British, France, South Africa etc...), I would be excited to add these in as well but I don't have the time or the energy to model up quality, low poly models of typical boxes, faceplates and electrical components.  If you would like to see these added to the plugin I would need to have low poly models provided to me.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #42 on: February 16, 2019, 01:14:08 pm »
Version 0.9.1 - 02.16.2019

- Enabled the ability to draw switches with any wall geometry (removed the dependency on the Medeek Wall extension).

I've been blasted with emails the last couple of days requesting that I make the plugin work with any walls, so I figured I might as well see if I can make this happen.

This is largely experimentally at this stage since dealing with random (walls) geometry can be a bit tricky.

I've only enabled this feature with the Draw Switches tool for now.  Once I am satisfied with its performance I can easily migrate it to all the other tools. 

The wall must be a group, and its faces must be only one level deep, not nested group within group.

Please download this latest release and attempt to break it, let me know your findings.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #43 on: February 17, 2019, 03:45:50 am »
Tutorial #1 - Extension Overview:



Footnote:  The bug encountered at the 16:00 min. mark has been identified and corrected.
Nathaniel P. Wilkerson, P.E.

Offline Medeek

  • Administrator
  • Master
  • *****
  • Posts: 1346
  • Karma: +1/-0
    • View Profile
    • Medeek Design Inc.
Re: Development and Updates for the Medeek Electrical Plugin
« Reply #44 on: February 18, 2019, 05:09:20 am »
There is always more that can be done. Just remember though I am juggling four different extensions now, single handed and each one is very deep (and broad). So my time to devote to any one plugin or request is becoming much more selective.

If you would like to have a feature added I need more details:

1.) Most common configuration and manufacturer.
2.) Some indication of how much this feature would be used (does it fit the 90% rule).
3.) Commercial or Residential application.
Nathaniel P. Wilkerson, P.E.