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

    [REQ] Component origin to bottom center (as default)

    Scheduled Pinned Locked Moved Plugins
    8 Posts 3 Posters 538 Views 3 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.
    • R Offline
      rv1974
      last edited by

      Currently SU puts the origins of newly created components to the bottom-left corner.
      Is it possible to permanently change (via script) this 'system variable'?

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator
        last edited by

        You want to default SketchUp to center-bottom axis location?

        That's a good suggestion. I constantly use Thomthom's axes tool to place the axis center-bottom.

        Download the free D'oh Book for SketchUp πŸ“–

        1 Reply Last reply Reply Quote 0
        • R Offline
          rv1974
          last edited by

          1. yes
          2. me do the same, but it's just stupid non-stop automatic manipulation.
          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            When you create a component the dialog offers you the option to place the insertion-point's axes.
            So you can have them anywhere you like.
            You can of course use the context menu tool to change the axes of any selected component instance too - without compromising the location of changed sibling instances.
            However, there's no simple API to re-default this.

            You could write a convoluted extension which runs in the background with an 'observer', and whenever a new definition is added to the model's definitions AND if its axes are bottom left, it then transforms the objects within the definition/entities, moving them so the component's origin is then centered on the front - also if transformed the instance then needs an inverse transformation to leave it back where it was originally...
            However, this would be annoying on the occasions you do NOT want that axis location and you'd need to change it.
            I wouldn't recommend it...

            TIG

            1 Reply Last reply Reply Quote 0
            • Rich O BrienR Offline
              Rich O Brien Moderator
              last edited by

              How about a simple 'Assign to Center-Bottom' context menu option.

              Download the free D'oh Book for SketchUp πŸ“–

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Offline
                Rich O Brien Moderator
                last edited by

                I was thinking of Right-Click > Make Component with Axis that works on raw geometry and groups/components.

                Download the free D'oh Book for SketchUp πŸ“–

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rv1974
                  last edited by

                  I've got a faster way for a component creation:
                  'G' shortcut to create a group (from pre-selected) and immediately Shift+G (someone's neat .rb) to turn it to a component. Then Cnrl+Shift+G to put the origin to the bottom-center (TT's script).
                  Not a big deal but when you do dozens times a day it kinda saddens

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rv1974
                    last edited by

                    @rich o brien said:

                    I was thinking of Right-Click > Make Component with Axis that works on raw geometry and groups/components.

                    Good πŸ‘ , but it should (if needed) also turn groups to components. Even populated groups..
                    And be a silent spartan script- no confirmation windows.
                    There's some nuance with a vertical glued component though, which should be treated right.

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

                    Advertisement