• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] extrudeEdgesByEdges.rb

Scheduled Pinned Locked Moved Plugins
190 Posts 76 Posters 209.8k Views 76 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.
  • P Offline
    pilou
    last edited by 27 Nov 2009, 07:55

    It's always a delight to see your animations! ๐Ÿ˜Ž

    Frenchy Pilou
    Is beautiful that please without concept!
    My Little site :)

    1 Reply Last reply Reply Quote 0
    • M Offline
      MarkEMark
      last edited by 27 Nov 2009, 17:13

      WOW Jeff! Thanks!

      I will do what you suggest. Thanks so much.

      I am rather new to this board, and didn't realize this should have been a separate topic, so thanks for the heads up. Next time I'll know. I was thinking all things related to the 'Rails' plug in would be in the same thread, but I see your point and will post accordingly next time.

      Again, many thanks. Oh, and that video is worth a thousand words!

      Mark

      1 Reply Last reply Reply Quote 0
      • P Offline
        pilou
        last edited by 27 Nov 2009, 17:15

        @unknownuser said:

        Oh, and that video is worth a thousand words!

        Always the case! โ˜€

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • T Offline
          tamfore
          last edited by 20 Dec 2009, 19:22

          is there any links to text files or pdf that gives a description or instructions on how to use this plugin?

          Thanks
          Tamfore

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 20 Dec 2009, 19:28

            @tamfore said:

            is there any links to text files or pdf that gives a description or instructions on how to use this plugin?

            Thanks
            Tamfore

            Select two Curves and apply Extrude By Edges.

            To convert a set of edges to a Curve - use Weld: http://www.smustard.com/script/Weld

            Thomas Thomassen โ€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 20 Dec 2009, 21:38

              They don't need to be 'curves' - they must be two pre-selected groups that each contain some edges [which of course might be curves BUT they can be unconnected edges too - this is unlike it's brother 'EEbyRails' which needs curves to be selected once the tool is activated]...
              There are as usual detailed instructions at the start of these scripts - open in NotePad.exe and read them...

              TIG

              1 Reply Last reply Reply Quote 0
              • D Offline
                daemawang69
                last edited by 24 Dec 2009, 10:38

                just wonderful

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tamfore
                  last edited by 28 Dec 2009, 22:38

                  thank you!!! I will go look at those detail instructions!!!

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tamfore
                    last edited by 30 Dec 2009, 23:15

                    @tig said:

                    There are as usual detailed instructions at the start of these scripts - open in NotePad.exe and read them...

                    I could not find what you are referring to when speaking of Detailed instructions at the start of these scripts and open in NotePad.exe Confused with that... I am alittle new to plugins and do not understand that?

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 31 Dec 2009, 11:42

                      @tamfore said:

                      @tig said:

                      There are as usual detailed instructions at the start of these scripts - open in NotePad.exe and read them...

                      I could not find what you are referring to when speaking of Detailed instructions at the start of these scripts and open in NotePad.exe Confused with that... I am a little new to plugins and do not understand that?

                      OK - here's step by step guide...
                      Almost all scripts are .rb files and whilst a few are encrypted most are readily 'readable'.
                      They are just a plain-text files with an alternative suffix so that SUp knows to load them on startup.
                      I am assuming you are v7 on a Vista PC, but if it's v6, XP or a Mac then it'll still be pretty similar...
                      Open the '..\Sketchup 7\Plugins' folder and find the script you want to 'read' - in this case it's called extrudeEdgesByEdges.rb.
                      Select its icon, right-click the mouse and pick 'Open with' in the context-menu [or something equivalent].
                      If the application 'Notepad' is not listed as an option then pick 'Choose Default Program...' and find 'Notepad.exe' [typically it's located in the 'C:\Windows\System32' folder].
                      Either way you'll now be able to set 'Notepad' as the default program to always open .rb files - don't worry about doing this as it will not affect Sketchup's ability to load and run these scripts - it just means that in future when you double-click on a file ending with .rb it'll open in 'Notepad' so you can read it.
                      Note that 'Notepad.exe' is the built-in plain-text editor in Windows - there other similar suitable applications like 'Notepad++' [which is what I use] - it must be a 'plain-text-editor', BUT do not use word-processors like 'Write' or 'Word' as they can leave hidden formating inside a file if you save it and then Sketchup will have problems loading the script !
                      Anyway, you should now have the script open in a Notepad window and you can read its contents.
                      The usual convention is that at the start of the script there's a block of text that explains the script's ownership, copyright, what the script does, how to use it, versions and changes etc etc - these are added as 'comments' to help users, and the text is preceded with a # or it's within a =begin...=end block so that Ruby ignores them when it loads the code.
                      Once you get to a line saying something like require 'sketchup.rb' the code is starting and your eyes should glaze over... it might be interesting occasionally to read such code though to see what the script is doing...
                      The other usual convention is to add any menu code at the end of the script - so to see where it'll load and what it'll be called simply scroll to the end. For 'EEbyEdges' the menu is "Plugins" and it'll be called "Extrude Edges by Edges". You can change the menu to another standard one off the top bar and also any text it has, and save the file [keep a backup copy in case you mess up] - e.g. translate it into your own language. Within the code itself there will be prompts, dialogs etc, and again that text is editable if desired - just remmeber that the text is inside "" [or ''] and respect these "" etc - e.g. UI.messagebox("Select 2 Groups of Edges !\n1st is 'profile' and 2nd 'path'.") - Note that \n is a new line character and \t is a tab character.
                      You'll probably just want to read the script and then close it without saving, BUT if you do change the script and save it these changes will only become apparent when Sketchup is restarted.
                      Happy Sketchup'ing New Year ๐Ÿ’ญ

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        romain210
                        last edited by 31 Dec 2009, 14:25

                        thanks a lot

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          cupko
                          last edited by 5 Jan 2010, 23:49

                          Thanks for this!!

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            theark
                            last edited by 11 Jan 2010, 02:03

                            Fantastic!! Many thanks

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              t_gia197
                              last edited by 11 Jan 2010, 05:42

                              Great. So useful
                              Thanks alot

                              1 Reply Last reply Reply Quote 0
                              • mitcorbM Offline
                                mitcorb
                                last edited by 11 Jan 2010, 19:48

                                this post deleted and re posted at Extrude Edges by Rails

                                I take the slow, deliberate approach in my aimless wandering.

                                1 Reply Last reply Reply Quote 0
                                • mitcorbM Offline
                                  mitcorb
                                  last edited by 11 Jan 2010, 19:50

                                  This post resubmitted at Extrude Edges by Rails

                                  I take the slow, deliberate approach in my aimless wandering.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 11 Jan 2010, 19:52

                                    This post deleted and re posted at Extrude Edges by Rails

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 19 Jan 2010, 16:38

                                      This is v2.0 - it's now been deBabelized, with a combined Extrusion Tools Toolbar added and miscellaneous glitches tweaked...
                                      http://forums.sketchucation.com/viewtopic.php?p=166780#p166780

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 20 Jan 2010, 22:40

                                        Here's v2.1
                                        A typo meant that the lingvo files didn't translate properly [an ES user spotted it...]
                                        http://forums.sketchucation.com/viewtopic.php?p=166780#p166780

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 20 Jan 2010, 23:10

                                          Here's v2.2
                                          Lingvo files updated. FR=Pilou, ES=Defisto.
                                          http://forums.sketchucation.com/viewtopic.php?p=166780#p166780

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 7 / 10
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement