• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Face2Frame - Updated 27-Mar-2014

Scheduled Pinned Locked Moved Plugins
66 Posts 19 Posters 56.1k Views
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.
  • S Offline
    sdmitch
    last edited by 3 Apr 2013, 15:49

    @siim11s said:

    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.

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

    http://sdmitch.blogspot.com/

    1 Reply Last reply Reply Quote 0
    • T Offline
      trimguy66
      last edited by 5 Apr 2013, 11:17

      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


      Face 2 Frame 2.jpg

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 5 Apr 2013, 11:33

        That's the back-face ?

        TIG

        1 Reply Last reply Reply Quote 0
        • K Offline
          Krisidious
          last edited by 5 Apr 2013, 12:09

          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?

          By: Kristoff Rand
          Home DesignerUnique House Plans

          1 Reply Last reply Reply Quote 0
          • T Offline
            trimguy66
            last edited by 5 Apr 2013, 12:26

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


            Face 2 Frame 2.1.JPG

            1 Reply Last reply Reply Quote 0
            • K Offline
              Krisidious
              last edited by 5 Apr 2013, 13:25

              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.

              By: Kristoff Rand
              Home DesignerUnique House Plans

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 5 Apr 2013, 14:07

                Also post your option settings - it might be a units issue ?

                TIG

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Krisidious
                  last edited by 5 Apr 2013, 15:17

                  And what version of OS and SU are you running?

                  By: Kristoff Rand
                  Home DesignerUnique House Plans

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mics_54
                    last edited by 5 Apr 2013, 16:31

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

                    Nice framer though.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdmitch
                      last edited by 5 Apr 2013, 16:44

                      @mics_54 said:

                      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.

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

                      http://sdmitch.blogspot.com/

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdmitch
                        last edited by 5 Apr 2013, 16:47

                        @trimguy66 said:

                        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.

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

                        http://sdmitch.blogspot.com/

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mics_54
                          last edited by 5 Apr 2013, 16:52

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

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            Krisidious
                            last edited by 5 Apr 2013, 17:58

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

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

                            1 Reply Last reply Reply Quote 0
                            • O Offline
                              OSN58
                              last edited by 5 Apr 2013, 20:11

                              @sdmitch said:

                              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


                              1.jpg

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                mwm5053
                                last edited by 5 Apr 2013, 20:33

                                Try downloading and installing again you shouldn't be getting that.

                                2011 iMac
                                SU 2015 Pro, 2017 Make
                                V2 Twilight
                                macOS Sierra 10.12.5

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mics_54
                                  last edited by 5 Apr 2013, 20:58

                                  @unknownuser said:

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

                                  LUCKY ME ! 😍

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    trimguy66
                                    last edited by 6 Apr 2013, 08:48

                                    Thanks for all the replies !!

                                    I uninstalled the plugin, and then reinstalled, by saving to my desktop and then dropping in to my plugins folder. I am still getting the same results.

                                    I am running Windows 7 / SU 8

                                    I haven't tried removing all my other plugins, and restarting SU yet.
                                    I am hoping that the ruby console will shed some light on my problem, before I go through removing all the plugins.

                                    Thanks,
                                    Wayne


                                    Face 2 Frame 2.2.JPG

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 6 Apr 2013, 08:52

                                      Wayne

                                      You have helpfully posted the RC error message BUT you have scrolled it, so the most important lines telling us what has just happened are missing. 😒
                                      Could you recreate the error and post the entire error message again.
                                      Once we know what the error says then sdmitch can probably go 💭 and see what to trap/fix...

                                      I doubt very much it is a clash - more likely a simply coding error that occurs when particular parameters are chosen for a certain form of face etc... I'd expect it to be relatively easy to fix once the full RC error is known

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 6 Apr 2013, 08:59

                                        Don't worry about the RC message...

                                        I now see that an RC screenshot that was posted earlier shows the error to be in line #433...
                                        pts<<p.offset(xa,dx/2).offset(ya,-dy).offset(za,(dx*@tpcnt+0.01)***sign**(v.z))
                                        The method ' sign' is not defined in the tool's code and it's not a standard Ruby method either BUT it is defined in DC stuff... so perhaps users with the DC extension loaded will get it working OK anyway... or maybe another tool that not all users have is making it ? No unencrypted script is making it, so it must be an rbs file ?

                                        It is only called once in the whole file...
                                        The way to find the 'sign' of a value would be work for everyone as:
                                        ...*((v.z)<=>0)

                                        OR you could add a new method into this tool's code, so if you use it more than once

                                        def sign(n=0)
                                          return n<=>0
                                        end
                                        

                                        Usage: *sign(n)

                                        Sdmitch to fix !
                                        It's easily sorted...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          trimguy66
                                          last edited by 6 Apr 2013, 10:51

                                          Tig,
                                          Thanks for your response, but I must admit coding is greek to this carpenter, I did attach a shot of the ruby console,scrolled in the proper position, in case it helps any.

                                          I also added a shot of my plugin folder, to see if anything in there would help.

                                          Thanks for everyone's help
                                          Wayne


                                          Ruby Console.JPG


                                          Plugin Folder.JPG

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

                                          Advertisement