[Plugin] Face2Frame - Updated 27-Mar-2014

[Plugin] Face2Frame - Updated 27-Mar-2014

Postby sdmitch » Sun Mar 24, 2013 7:09 pm

14-Apr-13 Face2Frame now does floors, sort of. If you pick a face on the XY plane, it is assumed to be a floor. The joist are placed perpendicular to the longest edge of the face. I leave the cross bracing to you.

The ends of each stud and/or joist are "X"ed per gullfo's request.

6-Apr-13 Apparently the sign function was causing problems for some. Thanks to TIG for the fix.

If you have been following the thread

viewtopic.php?f=15&t=51156

This is what it has all been about. Just so you know, I am not an architech or carpenter. What this plugin produces is my interpretation of what a VERTICAL stud wall looks like and does not attempt to comply with any standard building practices or codes so use with caution.

The plugin can be accessed by Plugins>SDM Tools>Face Tool>Face2Frame. There are three options. Frame It which creates the stud wall from a face, Brace It which creates a graphically defined Let In brace, and Material which displays the total count and length of the various elements that make up the stud wall.

A video demonstrating the plugin can be found here https://docs.google.com/file/d/0Bw8zdmaKDWIfVXFqNFctZWhESzg/edit?usp=sharing

Now v2014 compatible.
Please get the latest version from the PluginStore

Download

0
Last edited by sdmitch on Thu Mar 27, 2014 6:01 pm, edited 7 times in total.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby jolran » Sun Mar 24, 2013 8:13 pm

Very cool idea, Sam!

I noticed your webdialog had the same size as the last webdialog I have used in my own script. Could be a coincidence, but maybe dialog.set size could be useful?

Anyway good job! Seams to work well after some quick tests.

Edit: Hm, noticed some perculiar behavior. Dialog did not show up after 1 execution.
The dialog launches if I restart Sketchup, so it may have something to do with how you have set up @@dlg conditions, just speculating..
All geometry got lost from faceframe when performing "brace it", resulting in a infinitive line(edge), and disappearing view.

However I hold on to further comments until other people have tested it more.

(I have so much crap in my plugin folder while developping stuff it may be an unfair test if those scripts are interfering somehow.)
Just to add details, I was running "Ruby code editor" at the same time.
0
Last edited by jolran on Sun Mar 24, 2013 9:41 pm, edited 3 times in total.
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby Krisidious » Sun Mar 24, 2013 8:55 pm

I love it.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby solo » Sun Mar 24, 2013 8:59 pm

Krisidious wrote:I love it.



What a nice Birthday present he gave you. :)

Happy birthday Kris.
1
http://www.solos-art.com

I'm better with polys than words
User avatar
solo 
Global Moderator
 

Re: [Plugin] Face2Frame

Postby Krisidious » Sun Mar 24, 2013 9:14 pm

Indeeeeeed. Maybe the best I've ever gotten.

Thanks. :fro:
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby Bob James » Sun Mar 24, 2013 10:27 pm

Another winner!
0
i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60
User avatar
Bob James 
Premium Member
Premium Member
 

Re: [Plugin] Face2Frame

Postby sdmitch » Sun Mar 24, 2013 10:28 pm

Jolran, Kris reported that same problem with the webdialog early on. Don't know what he did to fix it. You might try editing the plugin and changing @@dlg, which is rather generic, to something more unique and see if that makes a difference.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby Krisidious » Sun Mar 24, 2013 11:53 pm

I didn't do anything to fix it... I came to think it was me hitting escape by habit and exiting the tool.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby jolran » Mon Mar 25, 2013 12:05 am

Hi.

Yeah, I will try couple of things. I see there is @dlg.close;@@dlg = false in both "deactivate" and "oncancel", don't know if that could be related to what Kris is mentioning. It should be sufficient with close on "deactivate" ?

Anyway, I get the feeling this issue can be quite easy to fix.

Will try some things later, unless you bet me to it.

Thanks again.
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby sadyo » Fri Mar 29, 2013 10:10 am

Really useful indeed, You are my hero Mr. Sdmitch, you save my life.... :fecstatic:
0
User avatar
sadyo 
 

Re: [Plugin] Face2Frame

Postby CarlMDB » Tue Apr 02, 2013 10:01 pm

Hello,
My first post here, as I've been a recent lurker. Thanks to all for the informative posts.

This plug in is great, and I have a couple suggestions. I have been a design/builder (in the US) for many years, and here is what I would like to see:

We use 48" x 96" plywood, always full sheathing, and I always want to make sure that sheets are installed without cutting as much as possible. So the 16" (or 24") On Center layout virtually always starts from an outside corner, and the first stud bay would be 16" from outside corner to the centerline of the first stud, as shown below. This makes sure that the plywood breaks land on the framing. Note that the second wall also has the same dimension from the corner.

Face to Frame sample 1.jpg


It would also be helpful to be able to specify that the layout started from the right side or the left. In multi story buildings, the studs need to line up.

I almost always use the corner detail shown, so I'd like to be able to change the plugin default (or know how to)

For basic materials takeoff, the most useful would be:
1: Number of studs, including trimmers at windows (length doesn't matter that much for me).
2: Total combined length of top and bottom plates.
3: Total combined length of windowsills, and the cripples underneath.
4: Total length of header material
5: Total square footage of outside sheathing divided by 32.

This how I would order the lumber, after adding in some factors.

Cheers,
Carl
0
User avatar
CarlMDB 
 

Re: [Plugin] Face2Frame

Postby Krisidious » Tue Apr 02, 2013 10:11 pm

I love it when a plugin turns a lurker into a poster. Welcome Carl...

I brought up the sheathing issue too... However if I remember correctly Mitch said it would be difficult to do, so I just let it go. I'll let him reply to your suggestions as I'm just a lurker like you.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby siim11s » Wed Apr 03, 2013 12:15 pm

Hi!
First, thanks sdmitch for a great plugin. In addition to being very promising for modelling, it has pushed me to actually try to modify a plugin myself.

jolran wrote:Hm, noticed some perculiar behavior. Dialog did not show up after 1 execution.


I think I might have fixed this by removing the lines 58 ("unless @@dlg") and 118 ("end").

This (to my understanding) makes the dialog load the defaults each time you select the Frame it option. I haven't tested this much so idk if it causes any other problems.
0
//S.

siim11s 
 

Re: [Plugin] Face2Frame

Postby sdmitch » Wed Apr 03, 2013 4:44 pm

Carl, if you would please refer back to my original post you will find this.

Just so you know, I am not an architech or carpenter. What this plugin produces is my interpretation of what a stud wall looks like and does not attempt to comply with any standard building practices or codes so use with caution.
and I have no plans to go any further with this plugin.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby sdmitch » Wed Apr 03, 2013 4:49 pm

siim11s wrote:Hi!

I think I might have fixed this by removing the lines 58 ("unless @@dlg") and 118 ("end").

This (to my understanding) makes the dialog load the defaults each time you select the Frame it option. I haven't tested this much so idk if it causes any other problems.


Line 58 was just an attempt to keep from loading multiple webdialogs but what ever works is OK with me.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby trimguy66 » Fri Apr 05, 2013 12:17 pm

Could someone please tell me what I am doing wrong.
I create a face, but when I select "Frame It" all I get are 2D lines on my face.

I have attached a screenshot of what I am talking about.

Thank You for this great plugin, I'm sure it will be very useful to me, once I figure it out.

Thanks,
Wayne
0

trimguy66 
 

Re: [Plugin] Face2Frame

Postby TIG » Fri Apr 05, 2013 12:33 pm

That's the back-face ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Face2Frame

Postby Krisidious » Fri Apr 05, 2013 1:09 pm

I can use mine on a front face or back face. That's strange behavior. Did you make any selections on the menu or just use it straight away? Did you hit enter?
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby trimguy66 » Fri Apr 05, 2013 1:26 pm

I get the same results, if I select an option, and then hit enter, or not make any selections at all.
0

trimguy66 
 

Re: [Plugin] Face2Frame

Postby Krisidious » Fri Apr 05, 2013 2:25 pm

something is broken... I don't have this issue. can you try removing all your plugins except this one and restarting SU. just as an experiment.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby TIG » Fri Apr 05, 2013 3:07 pm

Also post your option settings - it might be a units issue ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Face2Frame

Postby Krisidious » Fri Apr 05, 2013 4:17 pm

And what version of OS and SU are you running?
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby mics_54 » Fri Apr 05, 2013 5:31 pm

question regarding this tool...whats the edge tool, CorG tool and Misc tool?
Did I miss something?

Nice framer though.
0

mics_54 
 

Re: [Plugin] Face2Frame

Postby sdmitch » Fri Apr 05, 2013 5:44 pm

mics_54 wrote:question regarding this tool...whats the edge tool, CorG tool and Misc tool?
Did I miss something?

Nice framer though.



No you didn't miss anything. I created the various sub-menus as a way of seperating the vari0us plugins of mine.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby sdmitch » Fri Apr 05, 2013 5:47 pm

trimguy66 wrote:I get the same results, if I select an option, and then hit enter, or not make any selections at all.


Please open the Ruby Console and then run the plugin. An error is occurring and this will tell me what it is.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Face2Frame

Postby mics_54 » Fri Apr 05, 2013 5:52 pm

Nice blog! You have so many plugins! You now have the dubious distinction of being in my favorites under SU Ruby!
0

mics_54 
 

Re: [Plugin] Face2Frame

Postby Krisidious » Fri Apr 05, 2013 6:58 pm

He's addicted to the coding challenge... He cannot resist a challenge.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Face2Frame

Postby OSN58 » Fri Apr 05, 2013 9:11 pm

sdmitch wrote:Please open the Ruby Console and then run the plugin. An error is occurring and this will tell me what it is.

I have this error
0

OSN58 
 

Re: [Plugin] Face2Frame

Postby mwm5053 » Fri Apr 05, 2013 9:33 pm

Try downloading and installing again you shouldn't be getting that.
0
2011 iMac
SU 2015 Pro, 2017 Make
V2 Twilight
macOS Sierra 10.12.5

mwm5053 
Premium Member
Premium Member
 

Re: [Plugin] Face2Frame

Postby mics_54 » Fri Apr 05, 2013 9:58 pm

He's addicted to the coding challenge... He cannot resist a challenge.



LUCKY ME ! :ecstatic:
0

mics_54 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Carlos_3333, Google Bot, SerafimS, uinjio and 171 guests

Visit our sponsors: