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

    Axis align by object

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 6 Posters 2.2k Views 6 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.
    • J Offline
      Jorgensen
      last edited by

      Ah, thanks - I was'nt aware of that option. But how about to align to a single line ?

      Thanks

      sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

      1 Reply Last reply Reply Quote 0
      • plot-parisP Offline
        plot-paris
        last edited by

        I don't understand what you mean. πŸ˜•

        with a 3-dimensional Cartesian coordinate system you always have three coordinate axes, that are perpendicular to each other. so when you say you want the axes to align to one single line, you can only align one axis to this line and have to choose the direction of the others by yourself. and yo can do that already with manually changing the coordinate axes.

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

          Hi

          I'm sorry. I did not describe the need I have good enough 😳

          I often need to draw a line parallel to an other line, or move an object in a parallel or perpendicular direction.

          So, actual I only need one axis to do this. Yes, I can align the axis manually, but it would be nice with faster way of doing this.

          I hope this explaines what I meant πŸ˜„

          sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

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

            Take the Protractor Draw over your line
            Move it as you want (and even draw many for construct lines)
            You will obtain a support line for all you want obtain!
            Parallel, perpendicular, any precise angle etc πŸ˜‰
            Kill it after et voila πŸ˜‰

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

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

              Why would you change the axis to move something parallel or perpendicular direction or to draw a line that way. You can use inferencing to draw parallel and perpendicular lines. You can use inferencing for some move operations, too. If you want to move and object parallel to an existing edge in the model, select the object to be moved, get the Move tool and then click on and drag along the edge you want to move parallel to. If you preselect the object you don't need to grab it with the Move tool to move it.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                So it's not possible to write such a script ?

                it's not only for moving objects, but I also need it when I wan't draw some lines or a object, that needs to be in the same direction as other lines.....

                yes I know that I can turn the axis manual, but I would like a faster way of doing it.

                I have used AutoCad for many years where it's possible.... I guess thats why I need it πŸ˜„

                sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

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

                  Why not just set guidelines parallel to whatever it is you need to use as a reference?

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    There is no API method to access the Axes in SketchUp. In other words, we can't change the Axes from Ruby.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • plot-parisP Offline
                      plot-paris
                      last edited by

                      I still don't understand what you need a script for. you can do everything you want already. for drawing lines parallel to another line, take the line tool, click once to set the starting point. then hover over the line you want to be parallel to until it shows a little tool tip 'On Edge'. then move your cursor roughly to the position where you want the line to be drawn. once you are parallel to the existing one, the line you are about to draw turns all pink and a little tool tip at your cursor tells you 'Parallel to Edge'.

                      if you want all the axes being aligned for some time do the following:

                      axes_align01.jpg
                      right-click a face that is connected to this edge

                      axes_align02.jpg
                      now use the 'Align Axes' function to get the correct orientation

                      axes_align03.jpg
                      the axes are aligned and you can draw parallel without a problem.
                      to change back to normal again, right-click one of the axes and choose the 'Reset' command to reset the axes to their original orientation

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

                        @jim said:

                        There is no API method to access the Axes in SketchUp. In other words, we can't change the Axes from Ruby.

                        What about moving and rotating the entities inside a group/component and at the same time moving and rotating the group/component to counter, effectivly changing the axis?

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

                        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