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

    [Plugin] Axis components (Updated 6/12/2010)

    Scheduled Pinned Locked Moved Plugins
    27 Posts 15 Posters 30.1k Views 15 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.
    • S Offline
      sahi
      last edited by sahi

      comp.jpg

      axiscomp5.zip

      1 Reply Last reply Reply Quote 0
      • D Offline
        dedmin
        last edited by

        Yee, i was about to ask for something like this when i saw your plugin!!! Thanks!! Is there a way to position component axes on the edges of the bounding box and the centers of their sides - there is a command in Rhino that makes a bounding box of an object or group of objects that i used for centers of the blocks!
        Б ольшое спасибо!

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          Great plugin idea Sahi! I'll check it out when I get a chance. Thanks for contributing it here,

          Chris

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

          1 Reply Last reply Reply Quote 0
          • urgenU Offline
            urgen
            last edited by

            ....А-а-атлично! 👍 👍 👍 😄

            --pupil forever...------

            1 Reply Last reply Reply Quote 0
            • mitcorbM Offline
              mitcorb
              last edited by

              Do my eyes deceive me?
              Does this reset the origin of the component where you please?

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

              1 Reply Last reply Reply Quote 0
              • S Offline
                sahi
                last edited by

                comp.jpg

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dedmin
                  last edited by

                  It's Christmas!!! 😍 😍 😍 😍 😍

                  1 Reply Last reply Reply Quote 0
                  • MALAISEM Offline
                    MALAISE
                    last edited by

                    Thanks for the gift. May be could you translate or give us the file to translate Axis positionning names( it's still cyrillic written 💚 )

                    MALAISE 👍

                    La Connaissance n'a de valeur que partagée

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sahi
                      last edited by

                      @malaise said:

                      May be could you translate or give us the file to translate Axis positionning names

                      Did I translate correctly?

                      Центра компонента>>>      Center of component>>>  
                      "Центр компонента  "            "Center of component  "
                      "Низ центра компонента  "      "Bottom of center of component  "
                      "Верх центра компонента  "     "Top of center of component  "
                      "Левый дальний угол  "         "Left distant corner  "
                      "Левый ближний угол  "         "Left near corner  "
                      "Правый дальний угол  "        "Right distant corner  "
                      "Правый ближний угол  "          "Right near corner  "
                      "Центр на левой стороне   "      "Left center   "
                      "Центр на передней стороне  "    "Front center   "
                      "Центр на правой стороне         "Right center   "
                      "Центр сзади                     "Back center  " 
                      

                      axiscomp4.zip

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        marne
                        last edited by

                        A plugin like this was overdue. Thank you so for this productivity increasing plugin. Creating lots of face me components was always annoying a bit because of centering the axis, now its fun - 👍 you're great!!!!!

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Jim
                          last edited by

                          Ok, now I understand! - it seemed no different than the built-in Change-axis feature. But the preset positions are nice!

                          Hi

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            NewOne
                            last edited by

                            Nice tool! You might think to change the icon, because is already one in SU and this can be confusing. 😄

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              CADAddict
                              last edited by

                              Doesn't Right clicking the axes of the component and selecting "change axes" already do what this plugin does?
                              I don't see the difference or the need for it. Anyone can enlighten me?

                              http://www.cad-addict.com/

                              1 Reply Last reply Reply Quote 0
                              • Chris FullmerC Offline
                                Chris Fullmer
                                last edited by

                                This plguin adds some pre-defined axis locations, so you don't have to set the axis manually. If you know you want the axis set to the middle, bottom of the component, then this plugin will do it for you. Otherwise it could be tough to do, like in his first image example. That one would require drawing construction lines or temporary geometry in place to then align the axis to.

                                Chris

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

                                1 Reply Last reply Reply Quote 0
                                • pilouP Offline
                                  pilou
                                  last edited by

                                  Центра компонента>>> Centre du composant>>>
                                  "Центр компонента " "Centre du composant "
                                  "Низ центра компонента " "Centre Bas du composant "
                                  "Верх центра компонента " "Centre Haut du composant "
                                  "Левый дальний угол " "Left distant corner "
                                  "Левый ближний угол " "Left near corner "
                                  "Правый дальний угол " "Right distant corner "
                                  "Правый ближний угол " "Right near corner "
                                  "Центр на левой стороне " "Left center "
                                  "Центр на передней стороне " "Front center "
                                  "Центр на правой стороне "Right center "
                                  "Центр сзади "Back center "

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

                                  1 Reply Last reply Reply Quote 0
                                  • pilouP Offline
                                    pilou
                                    last edited by

                                    In French 😉

                                        Центра компонента>>>      Centre du composant>>> 
                                        "Центр компонента  "            "Centre du composant  "
                                        "Низ центра компонента  "      "Centre Bas du composant  "
                                        "Верх центра компонента  "     "Centre Haut du composant  "
                                        "Левый дальний угол  "         "Coin Gauche distant  "
                                        "Левый ближний угол  "         "Coin Gauche proche  "
                                        "Правый дальний угол  "        "Coin Droit distant  "
                                        "Правый ближний угол  "          "Coin Droit proche  "
                                        "Центр на левой стороне   "      "Centre Gauche   "
                                        "Центр на передней стороне  "    "Centre Face   "
                                        "Центр на правой стороне         "Centre Droit   "
                                        "Центр сзади                     "Centre Arrière  " 
                                    

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

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      alz
                                      last edited by

                                      Missed this one -- nice little addition! I hated having to add temporary lines to find corner snap locations 😄

                                      1 Reply Last reply Reply Quote 0
                                      • jason_marantoJ Offline
                                        jason_maranto
                                        last edited by

                                        Very cool plugin -- if only someone would generate something like this that used the ease of setting axis position of this ruby combined with the align scripts function to move groups and components to each other... it's actually something I've wanted since I first started working with Sketchup but was always too afraid to try 👊

                                        Anyhow I took a stab at making a clearer english version of it and while I was trying to sort that out I decided to cobble together a context menu to make switching between them quicker...
                                        just added this stuff at the end.
                                        ` if( not file_loaded?("axiscomp.rb") )

                                        UI.add_context_menu_handler {|menu|
                                        if(Sketchup.active_model.selection[0].typename == "ComponentInstance")
                                        menu.add_separator
                                        sub=menu.add_submenu("Orient Component Axis")
                                        sub.add_item("Absolute Center") { centrcomponents1 }
                                        sub.add_item("Bottom Center") { centrcomponents2 }
                                        sub.add_item("Top Center") { centrcomponents3 }
                                        sub.add_item("North-West Corner Bottom") { centrcomponentsright1 }
                                        sub.add_item("North Side Center Bottom") { centrcomponentsrightstorona }
                                        sub.add_item("North-East Corner Bottom") { centrcomponentsright2 }
                                        sub.add_item("East Side Center Bottom") { centrcomponentsperedstorona }
                                        sub.add_item("South-East Corner Bottom") { centrcomponentsleft2 }
                                        sub.add_item("South Side Center Bottom") { centrcomponentsleftstorona }
                                        sub.add_item("South-West Corner Bottom") { centrcomponentsleft1 }
                                        sub.add_item("West Side Center Bottom") { centrcomponentszadstorona }
                                        end #if ok

                                        }

                                        end`

                                        Thanks again.

                                        Best,
                                        Jason.

                                        I create video tutorial series about several 2D & 3D graphics programs.

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          alz
                                          last edited by

                                          I actually wanted a Center East option today and realized it wasn't there.

                                          Expanding the options shouldn't be hard, but the menu could get kinda crazy. Something like this would work:

                                          
                                          axis=menu.add_submenu("Orient Component Axis")
                                          
                                          	top=axis.add_submenu("Top")
                                          		top.add_item("Center") { function }
                                          		top.add_separator
                                          		top.add_item("North") { function }
                                          		top.add_item("North-East") { function }
                                          		top.add_item("East") { function }
                                          		top.add_item("South-East") { function }
                                          		top.add_item("South") { function }
                                          		top.add_item("South-West") { function }
                                          		top.add_item("West") { function }
                                          		top.add_item("North-West") { function }
                                          
                                          	middle=axis.add_submenu("Middle")
                                          		middle.add_item("Center") { function }
                                          		middle.add_separator
                                          		middle.add_item("North") { function }
                                          		middle.add_item("North-East") { function }
                                          		middle.add_item("East") { function }
                                          		middle.add_item("South-East") { function }
                                          		middle.add_item("South") { function }
                                          		middle.add_item("South-West") { function }
                                          		middle.add_item("West") { function }
                                          		middle.add_item("North-West") { function }
                                          
                                          	bottom=axis.add_submenu("Bottom")
                                          		bottom.add_item("Center") { function }
                                          		bottom.add_separator
                                          		bottom.add_item("North") { function }
                                          		bottom.add_item("North-East") { function }
                                          		bottom.add_item("East") { function }
                                          		bottom.add_item("South-East") { function }
                                          		bottom.add_item("South") { function }
                                          		bottom.add_item("South-West") { function }
                                          		bottom.add_item("West") { function }
                                          		bottom.add_item("North-West") { function }
                                          
                                          
                                          

                                          😛

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            @sahi said:

                                            @malaise said:

                                            May be could you translate or give us the file to translate Axis positionning names

                                            Did I translate correctly?

                                            Центра компонента>>>      Center of component>>>  
                                            > "Центр компонента  "            "Center of component  "
                                            > "Низ центра компонента  "      "Bottom of center of component  "
                                            > "Верх центра компонента  "     "Top of center of component  "
                                            > "Левый дальний угол  "         "Left distant corner  "
                                            > "Левый ближний угол  "         "Left near corner  "
                                            > "Правый дальний угол  "        "Right distant corner  "
                                            > "Правый ближний угол  "          "Right near corner  "
                                            > "Центр на левой стороне   "      "Left center   "
                                            > "Центр на передней стороне  "    "Front center   "
                                            > "Центр на правой стороне         "Right center   "
                                            > "Центр сзади                     "Back center  " 
                                            

                                            [attachment=0:3nck5g1d]<!-- ia0 -->axiscomp4.zip<!-- ia0 -->[/attachment:3nck5g1d]

                                            Could you post all downloads in the first post please - makes it easier to locate them.

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

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

                                            Advertisement