sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Face2Frame - Updated 27-Mar-2014

    Scheduled Pinned Locked Moved Plugins
    66 Posts 19 Posters 56.1k Views 19 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sdmitchS Offline
      sdmitch
      last edited by

      Just posted an update to Face2Frame. Now does floors, faces on the XY plane, and adds "X"s to ends of studs, headers and/or joist.

      Nothing is worthless, it can always be used as a bad example.

      http://sdmitch.blogspot.com/

      1 Reply Last reply Reply Quote 0
      • LAUFERONL Offline
        LAUFERON
        last edited by

        I'm french and i'd like the same famous plugin in metric units !

        A dream for woodworkers....

        1 Reply Last reply Reply Quote 0
        • sdmitchS Offline
          sdmitch
          last edited by

          @unknownuser said:

          I'm french and i'd like the same famous plugin in metric units !

          A dream for woodworkers....

          Sorry, I don't do metric.

          Nothing is worthless, it can always be used as a bad example.

          http://sdmitch.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            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 like 1/2" plywood spacer need 0.5 replacing with 12.mm or whatever is the equivalent ?
            Parts of the code like dx+0.01 which add a 1/100" spacing could be adjusted to 0.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...

            TIG

            1 Reply Last reply Reply Quote 0
            • KrisidiousK Offline
              Krisidious
              last edited by

              Counting in multiples and intervals of 10 is sorcery... Witch craft I say! Someone get a rope and a rock.

              By: Kristoff Rand
              Home DesignerUnique House Plans

              1 Reply Last reply Reply Quote 0
              • V Offline
                virtualelvis
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • KrisidiousK Offline
                  Krisidious
                  last edited by

                  Go to Plugins>SDM Tools>Face Tool>Face2Frame

                  By: Kristoff Rand
                  Home DesignerUnique House Plans

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    Updated to be SU2014 compatible.

                    Nothing is worthless, it can always be used as a bad example.

                    http://sdmitch.blogspot.com/

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      I've added it to the PluginStore.
                      http://sketchucation.com/pluginstore?pln=Face_to_Frame

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • KrisidiousK Offline
                        Krisidious
                        last edited by

                        Not using 2014 yet, but thanks for the work guys...

                        By: Kristoff Rand
                        Home DesignerUnique House Plans

                        1 Reply Last reply Reply Quote 0
                        • utilerU Offline
                          utiler
                          last edited by

                          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.

                          purpose/expression/purpose/....

                          1 Reply Last reply Reply Quote 0
                          • PixeroP Offline
                            Pixero
                            last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • sdmitchS Offline
                              sdmitch
                              last edited by

                              @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.

                              Nothing is worthless, it can always be used as a bad example.

                              http://sdmitch.blogspot.com/

                              1 Reply Last reply Reply Quote 0
                              • utilerU Offline
                                utiler
                                last edited by

                                @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.... 😆

                                purpose/expression/purpose/....

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  billmorr
                                  last edited by

                                  Hi

                                  Is it just me or has this plug in stopped working in Sketchup Pro 2017???

                                  1 Reply Last reply Reply Quote 0
                                  • sdmitchS Offline
                                    sdmitch
                                    last edited by

                                    @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.

                                    Nothing is worthless, it can always be used as a bad example.

                                    http://sdmitch.blogspot.com/

                                    1 Reply Last reply Reply Quote 0
                                    • sdmitchS Offline
                                      sdmitch
                                      last edited by

                                      @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.

                                      Nothing is worthless, it can always be used as a bad example.

                                      http://sdmitch.blogspot.com/

                                      1 Reply Last reply Reply Quote 0
                                      • 1
                                      • 2
                                      • 3
                                      • 4
                                      • 4 / 4
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement