[Code Snippets]

[Code Snippets]

Postby Jim » Mon Jun 07, 2010 6:10 pm

This is a list of SketchUp plugins code which have been posted on the SketchUcation Developers Forum.




Contents



Updated: 2012-07-22 10:42:54 UTC.

  
Most Recently Posted Code
  
Code by Author

0
Hi

Jim 
Global Moderator
 

[Code Snippets] by Subject

Postby Dan Rathbun » Wed Apr 13, 2011 10:28 pm


BY SUBJECT
(No longer Maintained due to lack of donations.)


Animation
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=25119]//sketchucation.com/click.php?url=[Code] Animation controller[/url] (Jim)

Arcs & Curves
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=19270]//sketchucation.com/click.php?url=[Code][Plugin]ArcCurve-set_segments.rb & changearcsegments[/url] ([url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=28846&p=322175#Author_TIG]//sketchucation.com/click.php?url=TIG[/url])

Arrays
  • (Element References) [Info] [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=29975#p262832]//sketchucation.com/click.php?url=This tripped me up (again) today[/url]
  • [url=//sketchucation.com/click.php?url=http:http://www.ruby-doc.org/core-1.8.6/Array.html]//sketchucation.com/click.php?url=Core Methods of Array class[/url] (offsite)
  • [url=//sketchucation.com/click.php?url=http:http://www.ruby-doc.org/core-1.8.6/Enumerable.html]//sketchucation.com/click.php?url=Methods Mixed in from module Enumerable[/url] (offsite)
  • [url=//sketchucation.com/click.php?url=http:https://developers.google.com/sketchup/docs/ourdoc/array]//sketchucation.com/click.php?url=Methods Added by the SketchUp API[/url] (offsite)

Attributes & Dictionaries
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=30066]//sketchucation.com/click.php?url=[Info] Allowable Classes for "set_attribute"[/url] (Karen Walkerman)

C/C++ Ruby extensions & SketchUp plugins
  • see: [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=28846#p323876]//sketchucation.com/click.php?url=subpost (below)[/url]

Camera
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=25917]//sketchucation.com/click.php?url=[Code] Camera settings[/url] (chrisglasier)
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=26904]//sketchucation.com/click.php?url=[Code] Rotate Camera around Target[/url] (Jim)

Classes
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38968]//sketchucation.com/click.php?url=Checking for a group?[/url]
  • Misc:
    • [url=//sketchucation.com/click.php?url=http:http://sketchucation.com/forums/viewtopic.php?f=180&t=48066&p=431794#p431794]//sketchucation.com/click.php?url="Why use a module instead of a class ?"[/url] (Dan Rathbun)

Communications
  • Serial / USB
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=11693&p=259509]//sketchucation.com/click.php?url=Read Serial port or USB interface[/url]
  • Socket
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=31545]//sketchucation.com/click.php?url=Interest in a Networking Sockets Workaround[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=33759]//sketchucation.com/click.php?url=Clients <--> Server Communication (Sockets?)[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=36306&p=319776]//sketchucation.com/click.php?url=Requiring Socket on Mac crashes SU[/url]

Colors
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=23837]//sketchucation.com/click.php?url=[Code] Ruby Extension for Sketchup color integers[/url]

Component(s)
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=18006]//sketchucation.com/click.php?url=[Code] ComponentInstance-add_entities v1.9[/url] (TIG)
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=17962]//sketchucation.com/click.php?url=[Code] ComponentDefinition-delete[/url] (TIG)
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=18028]//sketchucation.com/click.php?url=[Code] ComponentDefinition-delete (another version!)[/url] (AlexMozg)
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38819]//sketchucation.com/click.php?url=parent instance of a component[/url]
  • [url=//sketchucation.com/click.php?url=http:http://sketchucation.com/forums/viewtopic.php?f=180&t=49571&p=445964#p445858]//sketchucation.com/click.php?url=Collecting definitions that ARE parents of component instances[/url] (TIG)
  • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=44193]//sketchucation.com/click.php?url=[Code] intersect_with?() test method[/url] (Dan Rathbun)

Construction Lines & Points

    Debugging
    • [Info] [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=34052]//sketchucation.com/click.php?url=How to debug?[/url]

    Dimension(s)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=21315]//sketchucation.com/click.php?url=[Code] entities.add_linear_dimension[/url] (TIG)

    Edge(s)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=39016]//sketchucation.com/click.php?url=Ruby How to Select All Connected[/url]

    Entity(ies)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38968]//sketchucation.com/click.php?url=Checking for a group?[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=18538]//sketchucation.com/click.php?url=[Code] entity.real_typename[/url] (Matt666)

    Execution & Error Trapping
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=36167#p318387]//sketchucation.com/click.php?url=Help with using begin, rescue, end[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=34885]//sketchucation.com/click.php?url=[Code] Error raising scriptlets for testing[/url] (Dan Rathbun)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=19372]//sketchucation.com/click.php?url=[Code] Method Model.start_operation for SketchUp 5-6[/url] (AlexMozg)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=25305]//sketchucation.com/click.php?url=Optimization Tips[/url]

    Face(s)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=3184]//sketchucation.com/click.php?url=[Code] orient_faces.rb[/url] (TIG)
    • [url=//sketchucation.com/click.php?url=http:http://sketchucation.com/forums/viewtopic.php?f=180&t=41211]//sketchucation.com/click.php?url=[Code] is an entity in a surface[/url]

    File(s)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=36234#p319024]//sketchucation.com/click.php?url=getting info from a text file[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=26185]//sketchucation.com/click.php?url=[Code] 3ds2obj.rb[/url] (Jim)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=29787]//sketchucation.com/click.php?url=[Code] reading a CSV file[/url] (Dan Rathbun)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=43007]//sketchucation.com/click.php?url=[Code] PCFileTools[/url] - Support UTF8 (TIG)

    Group(s)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=19765]//sketchucation.com/click.php?url=[Code] Group.real_parent[/url] (thomthom)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38968]//sketchucation.com/click.php?url=Checking for a group?[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38925]//sketchucation.com/click.php?url=Copy selection to new group?[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=44193]//sketchucation.com/click.php?url=[Code] intersect_with?() test method[/url] (Dan Rathbun)
    • [url=//sketchucation.com/click.php?url=http:http://sketchucation.com/forums/viewtopic.php?f=180&t=52014&view=unread#p470425]//sketchucation.com/click.php?url=[Info] Modifying geometry in freshly copied Groups (not unique)[/url] (Fredo6)

    Image(s)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=21869]//sketchucation.com/click.php?url=[Code] Image: definition, transformation, transformation=[/url] (AlexMozg)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=24876]//sketchucation.com/click.php?url=[Code] extract png thumbnail image from .skp file[/url] (Jim)

    Layer(s)
    • [Info] [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=36702]//sketchucation.com/click.php?url=Layer0 questions[/url] & answers (Al Hart/TIG)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=20086]//sketchucation.com/click.php?url=[Code] layer.delete()[/url] (TIG)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=21090]//sketchucation.com/click.php?url=[Code] layer-color= v1.2[/url] (TIG)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=20881]//sketchucation.com/click.php?url=[Code] layers.purge_unused[/url] (chrisglasier)

    Material(s)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=20085]//sketchucation.com/click.php?url=[Code] material.delete[/url] (TIG)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=20112]//sketchucation.com/click.php?url=[Code] material.name= v1.2[/url] (TIG)

    Math
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=36722]//sketchucation.com/click.php?url=[Code] Parsing arithmetic formulas[/url] (Fredo6)

    Modules
    • [url=//sketchucation.com/click.php?url=http:http://sketchucation.com/forums/viewtopic.php?f=180&t=48066&p=431794#p431794]//sketchucation.com/click.php?url="Why use a module instead of a class ?"[/url] (Dan Rathbun)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=46124&p=413623#p412101]//sketchucation.com/click.php?url=[Code] Private Mixin Module[/url] (Dan Rathbun)

    Observer(s)
    • [Info] [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=20676]//sketchucation.com/click.php?url=State of Observers[/url] (ThomThom)
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=30793]//sketchucation.com/click.php?url=State of Observers Redux — 12 September 2010[/url] (ThomThom)
      • [url=//sketchucation.com/click.php?url=http:http://www.thomthom.net/software/sketchup/observers/]//sketchucation.com/click.php?url=[link] State of Google SketchUp's Observers[/url]
    • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=21659]//sketchucation.com/click.php?url=[Code] MetaObserver[/url] (Jim)

    Pages & Scenes

      Platform (Mac/OSX vs PC/Windows)
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=28846&p=322176#p322176]//sketchucation.com/click.php?url=Issues / Differences / Specifics[/url] (goto next post)
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=34631]//sketchucation.com/click.php?url=[Code] FAQ: Detect if plugin is running on the Mac vs PC ?[/url]

      Ruby
      • $LOAD_PATH
        • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=29412&p=257058]//sketchucation.com/click.php?url=[Code] Ruby LOAD PATHs script (Win32)[/url] (Dan Rathbun / Jim Foltz)
      • Object References
        • Array : [Info] [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=29975#p262832]//sketchucation.com/click.php?url=This tripped me up (again) today[/url]
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=25305]//sketchucation.com/click.php?url=Optimization Tips[/url]

      Selection
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38925]//sketchucation.com/click.php?url=Copy selection to new group?[/url]

      SketchupExtension
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=39094]//sketchucation.com/click.php?url=[Code] SketchupExtension and rbs rubies[/url]

      Strings
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=36722]//sketchucation.com/click.php?url=[Code] Parsing arithmetic formulas[/url] (Fredo6)
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=35969#p316774]//sketchucation.com/click.php?url=JSON in Ruby[/url]
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=20657]//sketchucation.com/click.php?url=[Code] UnicodeEx - (0.2.0a) Sketchup + Character Encoding[/url] (thomthom)
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=20289]//sketchucation.com/click.php?url=[Code] file_found?(path) and to_ascii+to_unicode.rb[/url] (TIG)
      • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=34975]//sketchucation.com/click.php?url=[Code] Split a long pathstring ~in half at the nearest '/'[/url] (various)

      Styles

        Surface(s)
        • [url=//sketchucation.com/click.php?url=http:http://sketchucation.com/forums/viewtopic.php?f=180&t=41211]//sketchucation.com/click.php?url=[Code] is an entity in a surface[/url]


        Text & 3DText

          Texture(s)
          • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=23196]//sketchucation.com/click.php?url=[Code] texture_by_component.rb[/url] (honoluludesktop)
          • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=22719]//sketchucation.com/click.php?url=[Code] Real UV from UVHelper data[/url] (thomthom)

          Timer(s)
          • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=25178]//sketchucation.com/click.php?url=[Code] Timer class[/url] (MartinRinehart)

          Tool(s)
          • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=18124]//sketchucation.com/click.php?url=[Code] Tool ID Constants - Rev. 2[/url] (thomthom)

          Transform(s)
          • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=22639]//sketchucation.com/click.php?url=[Code] Transformation_Extensions[/url] (TIG)

          User Interface
          • Command(s)
            • Instructor Helpfiles
              • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=35806#p315546]//sketchucation.com/click.php?url=[Code] Load Instructor v1.0.1[/url] (Niall Campbell)
            • Menu(s)
              • [url=//sketchucation.com/click.php?url=http:http://sketchucation.com/forums/viewtopic.php?f=180&t=48350&p=433934#p433934]//sketchucation.com/click.php?url=One Submenu for many plugins[/url] (Dan Rathbun)
            • Mouse
              • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38651]//sketchucation.com/click.php?url=Mouse Capture (Win32 API)[/url]
            • Toolbar(s)
              • WebDialog
                • [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?t=23343]//sketchucation.com/click.php?url=[code] reset webdialog and toolbars .bat file[/url] (Jim)
                • [info] [url=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=180&t=38940]//sketchucation.com/click.php?url=Web Dialog not firing a JavaScript function...[/url]


              (No longer Maintained due to lack of donations.)
              COMMUNITY CONTENT
              Moderators may edit post / add links at will.
              0
              Last edited by Dan Rathbun on Fri Jul 21, 2017 9:28 pm, edited 43 times in total.
                I'm not here much anymore. But a PM will fire email notifications.
                User avatar
                Dan Rathbun 
                PluginStore Author
                PluginStore Author
                 

                [Info] Platform Issues / Differences / Specifics

                Postby Dan Rathbun » Wed Apr 13, 2011 10:29 pm


                (No longer Maintained due to lack of donations.)
                Platform Issues / Differences / Specifics

                Platform DifferencesMac / OSX SpecificPC / Win Specific

                (No longer Maintained due to lack of donations.)
                COMMUNITY CONTENT
                Moderators may edit post / add links at will.
                0
                Last edited by Dan Rathbun on Fri Jul 21, 2017 9:30 pm, edited 13 times in total.
                  I'm not here much anymore. But a PM will fire email notifications.
                  User avatar
                  Dan Rathbun 
                  PluginStore Author
                  PluginStore Author
                   

                  [Info] C/C++ Ruby extensions & SketchUp plugins

                  Postby Dan Rathbun » Fri Apr 22, 2011 10:13 pm


                  C/C++ Ruby extensions & SketchUp plugins
                  (No longer Maintained due to lack of donations.)


                  Official SketchUp SDK Developers Forum:
                  :!: okay, a dedicated C side Ruby book is also now available:

                  Ruby Source files:
                  Ruby Binary Installer(s):

                  SCF topic threads:
                  Other Forum topic threads (offsite):
                  Examples:

                  COMMUNITY CONTENT
                  (No longer Maintained due to lack of donations.)

                  Moderators may edit post / add links at will.
                  0


                  Last bumped by Dan Rathbun on Fri Apr 22, 2011 10:13 pm.
                    I'm not here much anymore. But a PM will fire email notifications.
                    User avatar
                    Dan Rathbun 
                    PluginStore Author
                    PluginStore Author
                     

                    SketchUcation One-Liner Adverts

                    by Ad Machine » 5 minutes ago



                    Ad Machine 
                    Robot
                     



                     

                    Return to Developers' Forum

                    Who is online

                    Users browsing this forum: Google Bot and 3 guests

                    Visit our sponsors: