[Plugin] Face2Frame - Updated 27-Mar-2014
-
You can 'metricate' it relatively easily...
@wall_type = "Ext" #unless @wall_type @stud_size = "2X4" #unless @stud_size; @stud_space=16.inch #unless @stud_space @header_size = "2X8" #unless @header_size @corner_type = "A" @thickness=0.0
could become
@wall_type = "Ext" #unless @wall_type @stud_size = "50mmX100mm" #unless @stud_size; @stud_space=400.mm #unless @stud_space @header_size = "50mmX200mm" #unless @header_size @corner_type = "A" @thickness=0.mm
Then in the html code... make similar edits so
<option value='2X2'>2x2</option>
...
<option value='16\"' selected>16\"</option>
becomes
<option value='50mmX50mm'>50mmx50mm</option>
...
<option value='400mm' selected>400mm</option>
and so on...
Now the cases for the stud sizes...
case @stud_size when "2X2" : dx = 1.500.inch; dy = 1.500.inch;
...
becomes
case @stud_size when "50mmX50mm" ; dx = 38.mm; dy = 38.mm;
OR whatever...
Fix all 8 or so of those sizes...
unless @wall_type=="Int" || (@stud_size!="2X4" && @stud_size!="2X6") case @stud_size when "2X4" case @corner_type when "A" ; studs=self.A_2X4(xa,ya,p,v,dx,dy)
...
Needs to be looked at...
unless @wall_type=="Int" || (@stud_size!="50mmX100mm" && @stud_size!="50mmX150mm") case @stud_size when "50mmX100mm" case @corner_type when "A" ; studs=self.A_50mmX100mm(xa,ya,p,v,dx,dy)
...
Then rename the matching
def A_2X4(vx,vy,p,v,dx,dy)
as
def A_50mmX100mm(vx,vy,p,v,dx,dy)
etc
The parts like1/2" plywood spacer
need0.5
replacing with12.mm
or whatever is the equivalent ?
Parts of the code likedx+0.01
which add a 1/100" spacing could be adjusted to0.25.mm
or some other small metric equivalent ?
As can [ruby:13xikt90]dx2-0.02[/ruby:13xikt90] to be [ruby:13xikt90]dx2-0.5.mm[/ruby:13xikt90]
It just a matter of steps through every line and deciding what is needed... -
Counting in multiples and intervals of 10 is sorcery... Witch craft I say! Someone get a rope and a rock.
-
What am I doing wrong? I cannot figure out how to find this
plugin to use it..
I put it in my plugins folder.. but I can't figure out how to use it...
I looked under draw and plugins...
thanks for helping a noob.. d -
Go to Plugins>SDM Tools>Face Tool>Face2Frame
-
Updated to be SU2014 compatible.
-
I've added it to the PluginStore.
http://sketchucation.com/pluginstore?pln=Face_to_Frame -
Not using 2014 yet, but thanks for the work guys...
-
Hi Sam, I note above you said you haven't considered converting this plugin for metric use and TIG has outlined how to 'metricate' it. I'm a little unsure how this is done; Do I try and open the script and edit it? A little risky given I nothing about coding....
Cheers.
-
You could try opening it in a texteditor. I use Notepad++.
Set the language to Ruby and try to find the lines described by TIG. -
@utiler said:
Hi Sam, I note above you said you haven't considered converting this plugin for metric use and TIG has outlined how to 'metricate' it. I'm a little unsure how this is done; Do I try and open the script and edit it? A little risky given I nothing about coding....
Cheers.
Better leave it to the "professionals". I'll take a look at it and PM you a copy to try.
-
@pixero said:
You could try opening it in a texteditor. I use Notepad++.
Set the language to Ruby and try to find the lines described by TIG.Thanks for the vote of confidence, Pixero but I'm likely to blow it up....
-
Hi
Is it just me or has this plug in stopped working in Sketchup Pro 2017???
-
@billmorr said:
Hi
Is it just me or has this plug in stopped working in Sketchup Pro 2017???
No it's not just you. SU2017 strikes again. I will try to fix the problem if I can.
-
@billmorr said:
Hi
Is it just me or has this plug in stopped working in Sketchup Pro 2017???
Face to Frame updated for SU2017 compatibility. Download new version for PluginStore or blog.
Advertisement