Medeek Forum

SketchUp Extensions => Medeek Electrical Plugin => Topic started by: Medeek on January 24, 2019, 07:46:14 am

Title: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 24, 2019, 07:46:14 am
I am starting this new discussion thread as a fork from the Medeek Wall Plugin thread since the Medeek Electrical extension will now become a stand alone extension/plugin.

Its logo will be:

(http://design.medeek.com/resources/images/ELECTRICAL_PLUGIN_ICON_FILLED.png)

I've created a series of basic default outlets and switches which will form the basis of the plugins pre-assembled components.  There will be many to add in later but this should be enough to allow me to setup the tools for inserting switches and outlets.

https://3dwarehouse.sketchup.com/model/7944ef20-48c4-40ee-ad10-993d18156c55/Medeek-Electrical-Low-Poly-Count

This extension or plugin is designed from the outset to work directly with the Medeek Wall extension however in the future I may extend it so that it can be employed with any wall geometry.   The details on all of that are yet to be determined.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 24, 2019, 07:46:37 am
The internal details of the actual switch or receptacle are irrelevant and as you can see in my low poly models they are eliminated. Only the exterior geometry of the electrical components are represented.

I am creating the switches and outlets so that their material/color can be modified independent of the face plates. The plugin will allow the user to customize both the face plate material and the actual switch/outlet material. The electrical box will be set to the standard Carlon blue however the user can always edit this material in SU and change it to whatever they desire.

You will also notice with these models that there are two layers: electrical_rough and electrical_finish. This allows the user to quickly toggle off the finish electrical components so the rough installation can be easily inspected.

Another interesting aspect of this new plugin is the way I'm going to set it up within the wall panels of the wall plugin.  When a wall panel is regenerated the electrical components (groups) will be retained, similar to the way I already retain custom geometry.  What this allows is custom editing by the user of any of these electrical components within the wall once they are installed/inserted.  For instance let's say you want to change the material of one of the duplex receptacles to red in a 4-gang box but leave all the rest the default material specified by the plugin, you will be able to do this.

When you edit a switch or receptacle and don't change out its "style", but only its vertical position in the wall or the material of the face plate or switch/outlet then the group/component is not redraw but only modified.  Again this will allow the retention of custom mods.

The location horizontally within the wall panel is originally set when the electrical component is placed.  To modify its location the user can just jump into the wall panel group and uses SketchUp's built in move tool to alter its position.

I will probably include a delete tool for convenience however as with moving this tool is not really needed since the user can just as easily delete the components within the wall panel group.

I'm still thinking through all of the dynamics and parameters that will be required by the plugin, feel free to leave your suggestions or thoughts.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 25, 2019, 01:08:12 am
When you go to place a switch or outlet the draw tool will sense which side of the wall you are facing and place the component on the side of the wall facing you (the camera).  To place components on the other side of the wall, just spin the wall around and face the side that you want to place your electrical components.

I think this is much more intuitive than having a hotkey which toggles which side of the wall to place the component.

In the global settings I will have a parameter which allows the user to select which electrical standards to use, I will begin with the North American standard (NEMA).
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 25, 2019, 12:14:20 pm
The prototype toolbar:

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

I may also add in a (horizontal) move tool/icon, which may be easier than manually moving the electrical components.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 27, 2019, 02:34:40 pm
First look at the draw switch menu:

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

Currently there are no advanced options but I am including that parameter since I am almost 95% sure that something will come along that will dictate the use of this parameter.

This plugin seems fairly basic when compared with the other plugins but I may be missing some additional parameters here.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 29, 2019, 03:28:10 am
The draw tool is now working and able to insert switches on both sides of the walls:

(http://design.medeek.com/resources/images/electrical_switch.gif)

Now I just need to work on the edit menu and global settings.

The outlet module will be almost identical to the switch module so once I have the switch module done it is just a matter of copying and pasting and making some minor edits.

The Wall Plugin will require a minor edit to retain the electrical groups, this means that previous versions of the Wall Plugin will not work with the new Electrical Plugin.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 29, 2019, 06:09:23 am
What do we want these electrical symbols to look like?

Simple lines or filled in faces?

Any input would be greatly appreciated. 

Size of symbols?
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 29, 2019, 08:40:02 am
Here is a first look at the switch symbols, I've shown them drawn at 4.5" in height but I've set it up so that the symbol height can be determined by the user in the global settings and everything (symbol spacing etc...) should scale appropriately.

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

Also note that the symbols are with the switch group so when you move the switch in the wall the symbols move with the switch.

The symbols are also placed on the electrical_2d_layer by default (again user definable in the global settings) so they can easily be toggled on or off.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 29, 2019, 09:50:40 am
I'll probably need to add a few more icons in the toolbar.  Off the top of my head I'm thinking about:

1.)  Service Panels:  These are typically 14.5" in width and fit nicely between 16" on center studs
2.)  Exterior Service and Meter
3.)  Additional Faceplates/Media Outlets:  CAT5/6, Coax, Telephone, etc...

Another can of worms would be light fixtures.  I'm not quite sure I'm ready to jump into that one just yet.  There are so many variations on light fixtures that I would certainly need to make it so the user can create their own light fixture components that then can be used by the plugin.

Hit me up with any suggestions while my focus is on this plugin.  In about a week I'm back onto the Wall Plugin and its massive todo list.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 29, 2019, 11:21:33 am
As can be seen in the image below a gang of switches can all be different types:

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


In the image below I've turned on the "Labels" for the switch boxes.  The Switch (box) name can be edited in the switch edit menu for each switch:

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

With weatherproof switches I will need to have a different faceplate but for now it will default to the generic toggle switch.

Tomorrow I will spend a few minutes and model up a low poly version of the Leviton Decora switch and outlet series and then we will have at least two options for switch and outlet styles.

Similar to the Wall Plugin the labels are assigned by default to the Dim3 layer and can be toggled separately from the symbols, or be turned off completely in the global settings.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 30, 2019, 04:44:54 am
I'm not an electrician so bear with me, I'll probably get a few things wrong initially.

When you gang together switches you typically see the symbols ganged together as well.  However with outlets is the same symbology used or do you just put a subscript next to the outlet symbol indicating the number of outlets  and just show one outlet symbol?
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 30, 2019, 05:58:19 am
After reviewing a few more electrical plans online it looks like the convention is to show the ganged outlets similar to ganged switches.

I've added Decora switches (and outlets) as well as the option for a simple blank face plate, which I am labeling as a junction (box):

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

For junction boxes or blank face plates I am following the same convention as I am for outlets and switches and showing a symbol for each location.

I will eventually add another icon in the toolbar for Combo Outlets (ie. switch, blank, outlet combinations), however I probably won't get to this until later.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 30, 2019, 08:18:49 am
First look at some outlets with switches:

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

I now need to look at all of the various outlet types and add in those annotations.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 30, 2019, 12:42:10 pm
Here are all of the various outlet/receptacle options currently available:

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

I still need to put some logic in for the single, weatherproof and GFCI receptacles so that they display the proper outlet and corresponding face plate.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 31, 2019, 02:22:59 am
I have a 1-gang GFCI as well as a two gang GFCI-Duplex and GFCI-Decora combo.  What other combinations of GFCI/Outlets are common?  (I will handle the GFCI/switch combo later)

The possible permutations are crazy so I am trying to limit things slightly for certain outlet types, I think this makes the most sense.  Just trying to rein in the madness.

For instance I have never seen multiple GFCI outlets ganged up in a single box, only ever one with another switch or regular duplex/decora receptacles.

Also what type of weather proof outlet would you prefer I include as the default?  I'm looking at Leviton's offerings and also at Taymac, too bad I can't seem to find readily made models for any of these.  Oh well, I would probably have to remodel them anyways because the poly count would probably be obnoxious.

After digging through Leviton's website straight for the last 3-4 days I now know more about switches and receptacles than I care to really, but it certainly is an education.  I'm still amazed at all of the possible combinations of switches and outlets that are possible and how the manufacturers do their best to provide as complete coverage as possible, there are literally hundreds of face plates (configurations).
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on January 31, 2019, 10:33:05 am
It looks like I will need to add in one additional option, Weather Proof GFCI.  It seems that this combination is fairly popular:

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

My weatherproof cover is based on the Taymac MM420C, probably a little more detail than it needs but I wanted it to look somewhat recognizable.

I also have the Decora option and the standard duplex option.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 01, 2019, 12:51:21 am
Has anyone ever called out duplex receptacles with the integrated USB chargers?

(https://www.leviton.com/en/images/lc/T5632_W_5.jpg)

https://www.leviton.com/en/products/t5632-w

I'm assuming the callout would just be a standard duplex symbol with the annotation "USB" added.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 01, 2019, 10:14:56 am
These type of outlets have a small parasitic load (50 mW), but I think many people are willing to accept that loss for the convenience. My worry would be that the device fails down the road and then I need to replace it. Its one thing tossing an old adapter in the bin, its entirely different when I need to pull out the tool bag and start re-terminating receptacles, or worrying that one of these things is really going to go bad and possibly create a fire hazard.

Its not a big deal to provide a USB model of your standard USB Decora duplex receptacle, Ill just base it on the T5632 (Leviton) and if people want something different they can replace the default model in the library that I provide.

As I was eating outing this evening with the wife I noticed along the bar a line of outlets (and even a couple switches) that were mounted horizontally rather than vertical. I will need to add in the first of the advanced options which allows the user to toggle between a vertical or horizontal mount, obviously vertical will be the default.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 02, 2019, 04:18:45 am
Added the advanced option which will allow for a horizontal mount of any receptacle:

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

First look at the the following:  GFCI, USB, Simplex, Horizontally mounted Duplex

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

I will also extend this same functionality to the switch module so that they can be mounted in any orientation.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 02, 2019, 09:44:23 am
Option for weatherproof GFCI added:

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

I haven't gotten every combination but I think I now have about 85% of the most commonly used configurations added in for outlets.  I will now return to the switch module and work that over for a while until it is also about 85-90% coverage.

I also still need to add in a completely new style: 240V

This will comprise single gang outlets for clothes dryers, welders, and ranges.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 03, 2019, 09:22:32 am
I've added in the option for 240V receptacles:

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

These are limited to single gang configurations as shown (2 gang electrical box).  They can be mounted either vertical or horizontal.  The annotation allows one to specify either a dryer (D) or range (R) outlet. 

By default the color of the outlets is a dark brown (thermoplastic) but can be modified by the user as well as the wall plate material.

I was going to add in an option for a welder outlet but I'm not sure which outlet type is the most common for this application, it appear that the NEMA 6-50 is commonly used for welders but until I get more information or a direct request for this particular NEMA receptacle I will leave this one for now.

Dimensions for these outlets types are per Leviton's product lineup, as is the wall plate.  For now I've employed the standard 2-gang Carlon PVC box but for a heavier circuit like these I personally would probably go with a metal box and the appropriate mud ring and cable clamps.

https://www.hubbell.com/raco/en/Products/Electrical-Electronic/Boxes/4-in-Square-Boxes-Covers/8235/p/1670412#prod-resources-section

https://www.hubbell.com/raco/en/Products/Electrical-Electronic/Boxes/4-in-Square-Boxes-Covers/769/p/141876
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 03, 2019, 02:56:32 pm
A few more options for the switches module:

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

One of my favorite switches, the Trimatron.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 04, 2019, 04:05:20 am
I will provide the same 14-xx outlet in 30 and 50 amp without the dryer or range designation, for those applications that are something other than those two typical residential usages.

I was looking at Square D service panels (load centers) last night and I'm most familiar with their QO product, not a huge fan of the cheaper Homelite product line.  I can't seem to find any decent drawings or dimensions for these enclosures other than the overall size.  If anyone can direct me to a resource which will allow me to model these up with some accuracy I would like to add in a handful of service panels.

I'm probably not going to dive too deeply into the load center module right now, only providing a basic model and label, but eventually it would be nice if one could assign specific outlets, switch and light fixtures to a given circuit/circuit breaker.  There is a lot that can be done with this sort of thing.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 04, 2019, 11:33:37 am
For low voltage I am going to start with only one style for now and that is the Leviton Quickport system:

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

The advantage with this system in my opinion is that there will be less electrical boxes to install since you can get more than one outlet per box (max. is 6 ports for a single gang box).

My only problem now is how to show this type of port on the electrical plan.  Typically I would have a symbol for TV, Phone and/or Data.  However, what does one show when you have a situation like above where all three data types are compressed into one box.  Even worse, what if I have the 6 port version and have one phone jack, two CAT6 jacks, two coax jacks and a blank?

What is the preferred convention?  If there is one.

Additionally there is the 2-gang low voltage box (Carlon SC200AR) which can be fitted with a Quickport face plate and have a maximum of 12 separate ports, yikes.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 04, 2019, 12:59:52 pm
The low voltage components that will be utilized in the Medeek Electrical extension:

https://3dwarehouse.sketchup.com/model/14f6b680-72c6-4550-9573-cf019338a1af/Medeek-Electrical-Low-Voltage-Low-Poly

This collection is only the QuickPort components there is also the QuickPlate and Decora styles that I have not gotten to yet.

https://www.leviton.com/en/products/residential/networking/wallplates/quickplate-wallplates

https://www.leviton.com/en/products/residential/networking/wallplates/decora-wallplates
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 04, 2019, 02:53:17 pm

I've also added in the RCA QuickPort by request.

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

You will be able to assign a unique QuickPort outlet to each port of the wall plate and also assign it its own unique color if you choose (this will be important for people who are color coding network jacks).
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 05, 2019, 11:40:44 am
The updated toolbar:

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

I will leave it up to inquiring minds to figure out what all these icons mean. :)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 07, 2019, 02:22:01 am
The low voltage module is working pretty good now.  I just need to wrap up the 2D symbols and then we will see if I can put together a few typical load centers, and then its out to the public for some BETA testing.

A 2-gang, 12 port low voltage box is probably your worst case scenario:

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

Each port can be assigned one of the following:

- CAT6
- CAT5e
- COAX
- PHONE (RJ11)
- RCA (Audio/Video, gold plated)
- BLANK (Plastic Insert)

Additionally each port has its own unique material/color which by default is "White".  The faceplate can also be assigned a unique material/color.

Similar to other outlets the advanced options can be enabled which allows for vertical or horizontal mounting.

The number of possible QuickPorts is limited to the following:

1-Gang:  1, 2, 3, 4, 6
2-Gang:  8, 12

There are additional 2-Gang QuickPort wall plates that I have not added.  I will only add these if requested, since they are already covered by the 1-Gang option.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 07, 2019, 06:59:57 am
Various combinations of QuickPorts yields a number of possible 2D symbols:

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

I've tried to stay with conventional symbols as much as possible.  Please let me know what you think on this.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 07, 2019, 02:38:20 pm
Tomorrow I will finish modeling up some typical load centers (breaker boxes) like the one below (200 Amp, 40 Spaces):

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

I'm not going to put any special logic into this module yet, just a simply positioning and selection.  However at some point it would be really cool to use the plugin to setup the various breakers and identify circuits as well as assign specific elements to a circuit.

For now three sizes of breaker components are provided and it is up to the user to manually configure their panel if they so choose to do so, otherwise is is more representational than anything else.

When it comes to setting the vertical height of the load center what is the method used to measure from the floor?  Center, Top or Bottom of the panel?

I will provide some common panel sizes (spaces):  24, 30, 40, 42, 54, and 60.

My breakers are based on the SquareD QO series as are my load centers however they are considerably simplified to maintain a low poly count.

Also for now I am only going to provide flush mount and not surface mount however I will probably enable both in the future.

View model here:

https://3dwarehouse.sketchup.com/model/560f7404-63e8-4b7f-9920-eb0775ae5e34/Load-Center-Example
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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:

(http://design.medeek.com/resources/images/electrical_su19_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 10, 2019, 04:20:21 am
First look a the output of the load center or service panel module:

(http://design.medeek.com/resources/images/electrical_su20_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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:

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

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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 12, 2019, 03:28:24 pm
First look at the output of the Light Fixture Module:

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

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

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

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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 13, 2019, 06:12:37 pm
Pulling the global settings together:

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

Outlets tab:

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

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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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).
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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.

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

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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 17, 2019, 03:45:50 am
Tutorial #1 - Extension Overview:

https://youtu.be/M760uerw5ik

Footnote:  The bug encountered at the 16:00 min. mark has been identified and corrected.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek 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.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 18, 2019, 04:37:46 pm
Version 0.9.1b - 02.19.2019
- Enabled the ability to draw outlets with any wall geometry (removed the dependency on the Medeek Wall extension).
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 19, 2019, 12:18:51 pm
Version 0.9.1c - 02.19.2019
- Enabled the ability to draw low voltage outlets, load centers and light fixtures with any wall geometry (removed the dependency on the Medeek Wall extension).

The plugin is now fully independent of the Medeek Wall extension and can function as a standalone extension.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 19, 2019, 04:34:54 pm
Its funny how some of my best thinking is done when I am doing totally unrelated tasks.  While I was cleaning out my garage and mini-van on Sunday afternoon I slowly started working out how to handle ceiling mounted light fixtures, almost unconsciously before I was aware that I was working on the problem.

After giving this topic a rest for a few days and then revisiting it again this evening it is now clear to me that in order for this to work properly I really need a "Story" or "Levels" module or plugin that actually works across all of the plugins.  This Levels module is also needed for the other plugins in the mdkBIM suite, especially in relation to estimating.

This becomes critical for the electrical plugin because when you start placing fixtures into a ceiling you need to know where the floor is in relation to that ceiling.  Or to be more precise you need to know which floor to assign the light fixtures to so that the 2D symbols are drawn at the appropriate Z height and hopefully are at the same level as the rest of the electrical symbols for that level (ie. wall mounted electrical fixtures), regardless of the ceiling height.

If the absolute Z height of the Level is changed then the 2D symbols assigned to it will need to move up or down to make the adjustment.  The easiest way to do this is to place all of the 2D symbols (ceiling light fixtures only) in an over arching group that is separated from the separate light fixture groups themselves.  When the Level Z height changes you only need to move this main group and not each 2D symbol.

The potential downside with this particular system is that if you manually move one of the light fixtures in the X-Y plane or laterally then the 2D symbol does not follow it and is out of sync (out of position).  The way around this problem is to possibly setup an observer so that if a ceiling fixture is moved the 2D symbol is simply deleted and redrawn.  When a ceiling fixture is deleted a similar situation occurs, however the symbol will always belong to the appropriate main group and have a tag (instance name) that matches the ceiling fixtures so that it can be easily purged from the main group.

The draw tool will not only be looking at the group (ceiling group) but also at the face when placing the fixture.  The exact point selected on the face will determine the actual placement of the fixture.  The height parameter (fixture to floor distance) as it is currently defined has no meaning and will be greyed out however for certain suspended fixtures it can be used at the "suspended height" thereby determining the height above the fixture to place the junction box within the suspended ceiling.

There is quite a bit to consider when it comes to ceiling mounted fixtures, I'm sure I haven't considered every possibility yet and there may even be a fatal flaw in some of the organization explained above but at least I wanted to get some of my thoughts down in writing before they evaporated away like a morning mist under the noon-day sun.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 20, 2019, 05:01:47 am
Smoke Detectors and CO Detectors are also additional common ceiling mounted devices that are typically included in electrical plans.  I will need to give this one some more thought, whether to include it in the light fixture module or create a separate module for specialized items such as smoke detectors, fire alarms etc...

I'm leaning toward creating a new module called Safety Devices which would include but not be limited to:

- Exit Signs
- Emergency Lighting
- Smoke Detectors
- CO Detectors
- Horn/Strobe Unit
- Fire Alarm Pull Station
- Nurse Call
- Intercom
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: sjdorst on February 20, 2019, 06:11:24 am
While it's not usually part of a building model (at least not residentially), if you're doing safety devices, you might want to have a few fire extinguishers available
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: donney86 on February 20, 2019, 06:48:35 am
Is the dryer outlet type available in the trial version of the plugin?
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 20, 2019, 07:10:43 am
Is the dryer outlet type available in the trial version of the plugin?

Yes, all outlets and other features are available in the trial version of the plugin.  The only limitation is the number of devices or fixtures you are allowed to create.

Also the trial version will stop functioning after 30 days has expired.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 20, 2019, 07:12:41 am
While it's not usually part of a building model (at least not residentially), if you're doing safety devices, you might want to have a few fire extinguishers available

Technically fire extinguishers are not electrical components but I do see how they kind of fit into the scope of the safety module.  I will give this some consideration.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Julian Smith on February 20, 2019, 07:23:22 am
If you're doing smoke detectors, you should also have heat detectors (looks about the same, same basic function, different detection method for areas where smoke detection may be ineffective).
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 20, 2019, 07:46:28 am
Might as well throw heat detectors into the mix as well.  I'm not an expert on these devices but there appears to be two commonly used types:

1.) Rate of Rise
2.) Fixed Temp.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 22, 2019, 05:31:31 am
First look at installing light fixtures into a ceiling (versus a wall):

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

In the draw menu you change the "Location" from Wall to Ceiling and then the plugin allows one to insert light fixtures into Medeek roof and floor assemblies or into any group.

The control key toggles justification:  LEFT, RIGHT, FRONT, BACK, CENTER

When location is set to "Wall", the justification is only:  LEFT, RIGHT, CENTER

Light fixtures in ceiling mode can be inserted into any group/face that is not vertical (normal vector of the face is perpendicular to the Z axis), so any horizontal or vaulted ceilings are okay.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 22, 2019, 05:39:25 am
I would like to add in some basic fluorescent light fixtures (surface mount an recessed) however with this type of light fixture I am unclear whether or not a junction box is typically installed, or does the light fixture serve as the junction box.

When I did some electrical work a few years ago I remember distinctly that can lights typically have an integrated junction box like the image shown below, so there was no need to install a junction/octagon box:
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 22, 2019, 03:37:24 pm
Version 0.9.2 - 02.22.2019
- Added the ability to draw "ceiling" light fixtures with Medeek roof/floor assemblies or any ceiling geometry.

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

Note the placement of the 2D symbols on the floor of the garage.  The Z height of the symbols can be manually modified by moving the main group that contains all of the symbols.  I think the user will find this feature surprisingly convenient at times.

The Hampton Bay warehouse pendant shown is now also included in the default light fixture library.

This plugin is turning out to be a really fun plugin to use and I will say quite intuitive. 
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 23, 2019, 09:31:01 am
Here is a collection of exit signs that will be installed by default with the plugin, of course the user can always place their own into the library/safety/exit sub-folder.

https://3dwarehouse.sketchup.com/model/315e93b6-0c2c-42d2-852b-c8cb7baede38/Medeek-Electrical-Safety-Devices
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on February 24, 2019, 05:36:15 pm
Version 0.9.3 - 02.25.2019
- Enabled the ability to draw safety devices with Medeek wall assemblies or any wall geometry. Enabled devices include: Exit Signs, Smoke Detectors, CO Detectors and Horn/Strobe Units.
- Added the ability to draw "ceiling" safety devices with Medeek roof/floor assemblies or any ceiling geometry.
- Created 2D symbols for wall and ceiling mounted safety devices.

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

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

(http://design.medeek.com/resources/images/electrical_su35_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 01, 2019, 08:05:05 am
Version 0.9.4 - 03.01.2019
- Added a parameter into the global settings to allow for adjustment of the size of symbols and labels.
- Added a parameter into the global settings to allow for adjustment of the font for text found within symbols and labels.

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

Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 06, 2019, 02:45:08 am
Version 0.9.5 - 03.06.2019
- Parameter change highlighting enabled for all draw menus: Outlets, Switches, Lights, Low Voltage, Panels, and Safety Devices.

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

If this change is well received then I will make the same feature available with the other plugins.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 09, 2019, 03:48:56 pm
Version 0.9.6 - 03.09.2019
- Fixed bugs related to compatibility with SketchUp 2015.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 14, 2019, 12:31:18 am
Version 0.9.7 - 03.14.2019
- Updated toolbar icons to be compatible with 4k (UHD) resolution monitors.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 19, 2019, 11:35:05 am
Version 0.9.8 - 03.19.2019
- Created the HTML edit switch menu and enabled editing for switches.
- Resolved some bugs in the switch and panel modules having to do with metric templates/units.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 20, 2019, 07:23:03 am
Version 0.9.8b - 03.20.2019
- Enabled interoperability with John Brock's Framer for SketchUp extension.

http://estimatorforsketchup.com/downloads/framer-for-sketchup/ (http://estimatorforsketchup.com/downloads/framer-for-sketchup/)

I've limited the interoperability to switches only until I can further test this new feature/integration.  Once I am satisfied that there are no issues I will enable all other electrical devices.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 21, 2019, 02:08:31 pm
Version 0.9.8c - 03.21.2019
- Created the HTML edit outlet menu and enabled editing for outlets.

As part of this upgrade I'm also addressing interoperability and metric template issues and other minor fixes for outlets.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 22, 2019, 02:45:35 am
Version 0.9.8d - 03.22.2019
- Created the HTML edit low voltage outlet menu and enabled editing for low voltage outlets (data, telephone, cable, RCA).

Only three more modules (lights, safety devices and panels) to go and then we can bump it out of BETA status.  Just a heads up, I will probably be increasing the price on this plugin from $20.00 to $35.00 once I have moved it from BETA to the initial full release.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 23, 2019, 05:23:55 am
Version 1.0.0 - 03.23.2019
- The Medeek Electrical extension moved from BETA status to initial full release.
- Created the HTML edit panel menu and enabled editing for load centers (service panels).
- Created the HTML edit safety device menu and enabled editing for wall and ceiling mounted safety devices (exit signs, smoke detectors, CO detectors, horn/strobes).
- Created the HTML edit light fixture menu and enabled editing for wall and ceiling mounted light fixtures.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 23, 2019, 01:00:09 pm
Tutorial 2 - Light Fixtures (17:50 min.):

https://youtu.be/J5OkP4MDKc8
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 25, 2019, 02:26:29 pm
Since the release of Version 1.0.0 there has been a surge of new users:

http://design.medeek.com/calculator/sketchup/data/medeekelectricalpluginusermap.pl

However, I have not received very much feedback (bugs or features) with this plugin.

Please feel free to post feedback or comments in this forum or others.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 26, 2019, 01:30:26 am
Justin Geis with SketchUp Essentials just posted a review of the plugin:

https://youtu.be/K8umKSstlos

Overall I think the video is excellent however the demo was of version 0.9.6 so he was not able to demonstrate the parametric ability of the plugin.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 26, 2019, 10:19:03 am
I'm looking for some low poly florescent light fixtures to include with the plugin.  Please send me some links to any that you would recommend or would have use of.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 28, 2019, 03:11:25 pm
Version 1.0.1 - 03.28.2019
- Parameter hightlight (input) color added to General tab of global settings.
- Fixed a bug with the safety devices module.

(http://design.medeek.com/resources/images/electrical_su38_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 28, 2019, 10:36:11 pm
The light fixture module actually needs to be more like the safety device module where you have a custom library for certain classes of lights and the corresponding symbol.

I need to add in the following light types and symbol:

- Vanity

- Fluorescent (surface, suspended, recessed)

- Ceiling Fan

- Ceiling Fan w/ Light

- Canister (Can Light)

- Surface

- Suspended

I'm also debating whether to add in something for enclosed vents/fans for (bathrooms, laundry rooms, kitchens).  Technically this is part of the HVAC or mechanical system but usually gets tucked into the electrical plan, thoughts?
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 30, 2019, 03:15:10 am
I will be adding in an additional toolbar "Medeek Electrical II":

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

This toolbar will be for misc. electrical devices that do not fit neatly into the categories already provided (switches, outlets, low voltage, load centers, safety, light fixtures).

The first two items that will be added are:  Heaters, Vent (fans)

Heaters will include items such as cadet wall heaters, shop/garage ceiling mount heaters etc...

https://3dwarehouse.sketchup.com/model/94348212-06d4-45a9-84ed-cde08448e03a/Medeek-Electrical-Heaters

Vents will include typical ceiling mount vent fans for bathrooms, laundry and kitchens.  Regular ceiling fans and ceiling fans with lights will actually be included with the light fixtures module. 
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on March 31, 2019, 06:39:17 pm
Version 1.0.2 - 04.01.2019
- Created the Medeek Electrical secondary toolbar, with two additional functions/tools: Draw Heater, Draw Vent.
- Enabled the ability to draw ceiling (garage/shop) and wall mount heaters.
- Enabled the ability to draw ceiling mount exhaust fans, with or without light.

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

If you would like to see a specific piece of electrical hardware or device added to the plugin please let me know, I am very open to suggestions on how to make this plugin more useful.

I've had numerous requests for extending the plugin to encompass the British electrical standards however no one has sent me any literature (or links to literature, manufacturers etc...) or low poly models.  I am interested in making this plugin more universal and extending its coverage to other electrical standards however I don't have enough experience with these others standards yet and I will need more guidance if I am to do this correctly.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 01, 2019, 01:43:14 am
(http://design.medeek.com/resources/images/electrical_su40_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 02, 2019, 03:16:04 am

I need to add in the option for ceiling fans and ceiling fans with lights.


What would be the suggested 2D symbol for these two light fixture options, I would like to keep it fairly simple but appealing.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 02, 2019, 12:48:18 pm
Ultimately the number of included electrical devices and fixtures will probably exceed the amount of devices that I want to package as default with the plugin.  My thinking on this is that down the road I can provide "packs" that the user can drop into the appropriate plugin library sub-folder to add more pre-configured components to the plugin. 

For example the commercial electrician or designer may want a much larger selection of fire and safety devices than the average residential designer.  It doesn't make much sense to overly bloat the plugin size to include all of these specialized electrical components when most of the user base will not use them.  Rather it makes sense to provide these electrical device "packs" as an upgrade type feature where the user decides for themselves which additional devices they would like to have available for their use.

Also if enough people utilize this plugin it may also garner the interest of some of the manufacturers who then might be willing to provide some "official" models of their hardware (low poly preferably) for use within the plugin.  Looking at a number of manufacturer's websites lately and there is only a handful that provide any sort of 3D models and those are usually in Revit.  I would like to see more SketchUp models become available.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 03, 2019, 04:49:37 pm
Version 1.0.3 - 04.03.2019
- Added an advanced option for outlets to display the outlet height with the 2D symbol.

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

If this advanced option proves popular I can also add it to switches, low voltage outlets, safety devices (wall mounted), and light fixtures (wall mounted).

This advanced option is per customer request.

On my own electrical plans I typically don't call out the switch or outlet height however in some cases I have provided a height call out with GFCI outlets installed in the garage.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 04, 2019, 04:58:36 pm
First look at wall mounted (surface) fluorescent light fixtures:

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

First look at vanity light fixtures:

(http://design.medeek.com/resources/images/electrical_su44_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 06, 2019, 06:51:38 am
Version 1.0.4 - 04.06.2019
- Added the following light fixture categories and symbols: Surface, Recessed, Vanity, Ceiling Fan, Ceiling Fan w/ Light, Fluorescent (Surface Mount).

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

Now that I've reworked the light fixture module it is much more conducive to adding in additional light fixture categories/types, at some point I may even allow the user to add in custom categories.   I still need to add in the fluorescent suspended and recessed categories and their corresponding symbols.  However, I usually won't add in a category until I have a minimum of one default fixture to place into the library for that category.

Note that when you rotate a light fixture or its box the symbol does not rotate.  The exception to this rule is with the fluorescent (ceiling mounted) light fixtures.  As you can see in the image above both the symbol and label are rotated with the fixture.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 07, 2019, 11:44:29 am
Version 1.0.4b - 04.07.2019
- Added the following light fixture category and symbol: Fluorescent (Recessed).

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

Included fixtures are a 2x4 and 2x2 troffer.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 08, 2019, 07:31:17 am
Version 1.0.4c - 04.08.2019
- Added the following light fixture category and symbol: Fluorescent (Suspended).

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

The only other major type of lighting that is missing is track lighting and possibly some variants of existing lighting types that indicate they are LED rather than fluorescent or incandescent.

With fluorescent lighting there is a small text file in each library sub-folder that specifies the dimensions of the light fixture.  Technically the numbers for each light fixture can be set to any value (width, depth, length), they are only used to provide the wireframe preview and help with the placement if you toggle the fixture justification.  I will put out a tutorial on how to use these config files and setup your own custom fixtures.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 08, 2019, 10:12:12 am
There seems to be a demand for the height callout next to the various electrical devices so I'm working at adding it to all wall mounted electrical devices.

First look at the height callout for switches:

(http://design.medeek.com/resources/images/electrical_su48_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 09, 2019, 04:51:23 am
Version 1.0.4d - 04.09.2019
- Added an advanced option for switches and low voltage outlets to display the device height with the 2D symbol.

(http://design.medeek.com/resources/images/electrical_su49_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 10, 2019, 10:04:03 am
Version 1.0.4e - 04.10.2019
- Added an advanced option for wall mounted light fixtures to display the device height with the 2D symbol.

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

I also resolved a minor bug with the placement of wall mounted light fixtures so I highly recommend upgrading to this latest release.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 11, 2019, 01:53:33 pm
First look at the electrical symbols legend generated by the plugin:

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

The secondary toolbar has the icon for generating the legend:

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

The legend is parametric so every time you click the legend icon/tool it regenerates the legend based on what electrical devices are present in the model.  You can also move (x, y or z) or rotate the legend and it will retain these new coordinates when it is regenerated. 

Initially the legend is drawn at the origin but can be positioned at any location (and retained) by the user using SketchUp's native move or rotate tools.

The overall size of the legend and its text and symbol size is driven by the parameter in the global settings, as is the font of the text which will match the font used by the electrical symbols in the model.

It also appears that you can use SketchUp's native scale tool to scale the legend and it will also retain this setting when regenerated.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 12, 2019, 07:22:56 am
(http://design.medeek.com/resources/images/electrical_su53_800.jpg)

Outlets, Switches, Low Voltage and Load Centers.

I still need to add in lights, safety devices, Heaters and Vents.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 12, 2019, 04:57:22 pm
Version 1.0.5 - 04.12.2019
- Added the "Draw Legend" function to the secondary toolbar.
- Enabled the ability to automatically create an electrical symbols legend for all electrical devices within the model.

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

After working my way down through the list of possible symbols I'm surprised to see that there are so many and the legend can get quite large. 
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 13, 2019, 02:32:50 am
I think the real power in this plugin is not the ability to insert 3D components into your model, technically you don't even need a plugin to do this, just a bunch of pre-configured components (.skp files).  The real strength is the automation of the 2D symbols and the parametrics of the plugin (allowing you to swap out devices types, colors, height and rotation).  Now with the addition of a parametric symbols legend it automates yet another tedious task.

I'm fairly happy with the way the legend has come out but for future work I may include a parameter in the global settings which allows the user to enable sub-titles (divides the legend into logical sections:  outlets, switches, lights, etc...) as well as specify the number of columns that legend should be divided into, this becomes more of an issue when there are a lot of electrical symbols to display.

I think some people would argue that I go too deep with my plugins (too many settings, parameters, options etc...)  I would agree that if possible simple is often better.  The goal is to make everything as simple as possible, but not simpler.

On the flip side the addition of more options and parameters increases the amount of data or information that model contains and hence makes it more useful (BIM).  Options also allow the user to further customize their workflow with the plugin and tailor it specifically to their needs.  Many of the options I have added have been directly requested by users of the plugins
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 13, 2019, 03:26:16 am
For those that are interested I will explain how the new "Draw Legend" tool works under the hood.

First the plugin finds all of the groups in the model (active_entities, if no group or component is open for editing then this will be the same as entities at the root of the model).

It then checks inside each of these groups and identifies the electrical groups that belong to the plugin (based on the group instance name).  Once it has collected up all of the electrical groups in the model it then divides them into their appropriate categories:  Outlets, Switches, Light etc...

It then examines each sub-category and dives into the attributes library for each electrical device (group).  The attributes library tells it what 2D symbol is associated with that particular device.  It then creates a  new list of symbols to draw for the legend for each category at the same time discarding or preventing duplicates.

The symbols shown in the legend are drawn, for the most part, using the same methods as the symbols drawn for the actual devices however some of them have been altered slightly in order to customize them specifically for the legend.

As you can see there is quite a bit going on under the hood.  When a model gets large with hundreds of walls and possibly hundreds of electrical components generating the legend may take up to 30 seconds.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 15, 2019, 06:29:39 am
Version 1.0.6 - 04.15.2019
- Added additional NEMA 240V receptacles into the Outlet module: NEMA 6-30R, NEMA 6-50R.

These additional receptacles (and symbols) were per customer request.

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

(http://design.medeek.com/resources/images/electrical_su57_800.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 15, 2019, 10:34:37 am

Tutorial 3:  Electrical Symbols Legend


https://youtu.be/dpIZvXuvP5g
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 18, 2019, 07:12:59 am
Since adding the symbols legend I've had a number of requests for a tool to draw a schedule (similar to how I am drawing the legend).

Now that I've got a fairly solid routine for pulling the electrical data (I will use much of this same code for the estimating tool) it isn't too big of a leap to draw a schedule.

My question is what information do you need or want in this schedule, how do you want it laid out?  Every device listed with its parameters or do I group like devices?

Please give feedback in this regard.  Also feel free to send me any sample electrical schedules that I can utilize as references.

If I know what I want to output I can probably knock this out in 2-3 hours, most of the underlying code is already in place.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 22, 2019, 09:13:07 am
Looks like the listing is finally live in the Extension Warehouse:

https://extensions.sketchup.com/en/content/medeek-wall-plugin-1
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 24, 2019, 07:49:02 am
To celebrate the inclusion of this new extension into the Extension Warehouse and to further accelerate its uptake I will be running an Easter special. 

This special is a little different than those I have recently done in the past. 

In order to obtain a full license for the Electrical Extension at no cost all you need to do is renew one of your existing licenses for any other Medeek extension (Truss, Wall or Foundation).  Purchase of a new license for any of these three plugins is also a valid option as well.

Once you have purchased either a renewal or new license of the Truss, Wall or Foundation plugin(s) then please send me an email and I will issue you a license for the Medeek Electrical extension.  If you already own the electrical extension I will issue a renewal to your existing license, thereby extending it license expiration date an additional year.

If you renew more than one extension, only one renewal can be applied towards a free license or renewal of the Electrical extension.

This promotion is only valid for purchases and renewals from 04-24-2019 thru 05-01-2019, there will be no exceptions.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on April 28, 2019, 11:25:43 am
Version 1.0.7 - 04.28.2019
- Fixed the show_modal bug for macOS in the Materials tab of the global settings.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on July 03, 2019, 12:53:26 pm
As a celebration of the 4th of July and the full parameterization of the Foundation plugin I will be offering an incentive on new purchases or renewals of the Truss, Foundation or Wall plugins.

If you purchase or renew any of the BIM plugins on the 4th of July (tomorrow) you will be entitled to a complimentary license for the Medeek Electrical extension.  This promotion is only valid on the 4th of July.

I will be taking most of the day off tomorrow (finally) and eating some good food and watching some fireworks on the beach.

Happy 4th of July!
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on September 07, 2019, 06:50:36 am
A couple of things worth noting after working with a customer via Skype this morning:

1.) If your custom walls have reversed faces this will affect the plugin. The solution is to jump into the group, right click on the face in question and reverse the face.

2.) The plugin calculates the bottom of the wall by looking at the origin of the group that is the container for the wall geometry. If the origin of this group is below or above the bottom of the wall then the vertical distance for positioning various electrical fixtures (ie. switches, outlets, data etc) will not be correct. I may change this up to consider the lowest point of the face rather than the origin of the group, I will need to give this some additional thought.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on September 13, 2019, 02:19:22 am
For the month of September I will be running the following promotion: 

If you purchase or renew any of the BIM plugins during the month of September you will be entitled to a complimentary license for the Medeek Electrical extension.  This promotion is only valid until September 30th. 

Note, that if you already own an existing license for the electrical plugin then this promotion will allow you to further extend your license expiration of that plugin by an additional year.

If you purchased or renewed one of the other extensions in the previous two weeks (Sept 1 thru Sept 14) you are also retroactively eligible for this promotion, please contact me via email to take advantage of this offer.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on September 28, 2019, 11:00:52 am
Version 1.0.8 - 09.28.2019
- Fixed a critical performance bug that affects all the modules within the extension.


*** CRITICAL PERFORMANCE UPDATE ***

If you are noticing a slowdown of the plugin performance after multiple edits to an electrical fixture, this fix will resolve that issue.  This issue affects all previous versions of the plugin.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on November 19, 2019, 10:02:33 am
I've had a lot of requests lately for floor mounted outlets.  I've gone ahead and created some low poly models of the Leviton series:

https://www.leviton.com/en/docs/Q-916A_Floor_Box_Assemblies_PB.pdf

View model(s) here:

https://3dwarehouse.sketchup.com/model/5584e79a-c9f2-44b8-b518-a62b3079fe7d/Medeek-Floor-Outlets

If there is interest in other brands of floor outlets please let me know.  The Hubbell-Raco (6224) also interests me but I haven't had a chance to create a model of it yet and I have been unable to find any detailed dimensional data on it:

https://www.hubbell.com/raco/en/Products/Electrical-Electronic/Floor-Boxes/In-Floor/6224/p/1530397
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on November 19, 2019, 01:52:57 pm
The second toolbar will now include an icon for floor mounted outlets:

Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on November 24, 2019, 12:36:39 pm
Version 1.0.9 - 11.24.2019
- Added the "Draw Floor Outlets" and the "Draw Misc. Fixture" function to the secondary toolbar.
- Enabled the ability to draw misc. fixtures with Medeek wall assemblies or any wall geometry. Enabled misc. devices include: Thermostats, doorbell buttons, doorbell chimes, and doorbell transformers.

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

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

View model here:

https://3dwarehouse.sketchup.com/model/e1dd218c-7b6a-4883-b9df-7121f814170a/Misc-Electrical-Fixtures

Additional fixture components (ie. other manufacturer's doorbell models etc...) can easily be utilized by placing them into the appropriate sub-folder of the plugin's library/misc sub-folder.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on November 24, 2019, 05:23:20 pm
Honeywell vs. Nest
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on November 25, 2019, 05:35:09 am
Misc. fixtures added to legend tool:
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on December 01, 2019, 06:02:46 am
Version 1.1.0 - 12.01.2019
- Fixed a minor bug in the General tab of the global settings.
- Enabled the ability to draw floor and ceiling outlets.

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

The included outlets: Raco 5500, Leviton 25249 (Nickel and Brass) Series, Standard Duplex Outlet.

The plugin automatically detects whether the outlet is a floor or ceiling outlet and assigns the appropriate symbol.  This may require some further refinement for outlets mounted to slightly inclined floor or ceiling surfaces, I will be testing this particular situation further.

User defined outlets can be utilized by dropping the component files into the appropriate library sub-folders:  library/fc_rcpt/gang1 or library/fc_rcpt/gang2

The default label for floor/ceiling outlets is 'RCPT', however this can be set independently from wall mount outlets in the global settings.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on December 03, 2019, 12:28:05 pm
Has anyone ever seen or used a symbol for a duplex switch?

(https://images.homedepot-static.com/productImages/dc83dd18-43d4-4887-8ae8-4a0f70a16739/svn/white-leviton-light-switches-r62-05224-2ws-64_1000.jpg)
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on December 03, 2019, 05:36:58 pm
Version 1.1.1 - 12.04.2019
- Added additional 240V duplex and simplex outlets to the built-in library: NEMA 6-15R and NEMA 6-20R.
- Added some simplex outlets to the floor outlet built-in library.

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

I'm wondering with the undesignated 240V outlets if I should provide the NEMA number (ie. 6-20R) next to the 2D symbol.  I would assume that this would be very useful information, a 240V receptacle can take many forms and various amperages.
Title: Re: Development and Updates for the Medeek Electrical Plugin
Post by: Medeek on December 04, 2019, 07:47:09 pm
Version 1.1.1b - 12.04.2019

- Added more 20A (NEMA 5-20R) outlets to the outlet module:  GFCI, WP GFCI, USB etc...

Creating a few new electrical components gives me a much needed break from the code and is actually quite relaxing.  I'm at the most difficult part of the complex roof module, so I'm taking a couple days to clear my head so that I can take a fresh crack at it and allow myself to think outside the box if required.  I find that sometimes it helps to take a break sometimes, which effectively takes the blinders off, and then alternative (better) solutions almost magically appear.

If there are any specific outlet or fixture types you would like added please email me.

I apologize that I have not provided a solution for other electrical standards yet.  Eventually I will do this but I'm not ready to bite it off just yet.

Even if you do not purchase the plugin, I think it would be worthwhile to download the trial version just for all of the pre-built electrical components now available in the library sub-folder.  Of course, I would prefer that you purchase the plugin but if you don't need the parametrics and some of the other automated features then even the trial version and the library files might be quite useful.