• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[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 28 Sept 2016, 08:50

    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
    • R Offline
      Rich O Brien Moderator
      last edited by 28 Sept 2016, 08:56

      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 28 Sept 2016, 11:06

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

          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
          • R Offline
            Rich O Brien Moderator
            last edited by 28 Sept 2016, 12:44

            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
            • R Offline
              Rich O Brien Moderator
              last edited by 28 Sept 2016, 14:00

              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 28 Sept 2016, 14:00

                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 28 Sept 2016, 14:04

                  @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
                  1 / 1
                  • First post
                    1/8
                    Last post
                  Buy SketchPlus
                  Buy SUbD
                  Buy WrapR
                  Buy eBook
                  Buy Modelur
                  Buy Vertex Tools
                  Buy SketchCuisine
                  Buy FormFonts

                  Advertisement