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

    How to draw a straight line with precise length

    Scheduled Pinned Locked Moved LayOut Discussions
    layout
    23 Posts 5 Posters 10.4k Views 5 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.
    • P Offline
      Philw
      last edited by

      Nice to know,
      But if I have a scrapbook Item and want to move it precisely (let’s say an 1” or 1/8”) can I do that?
      When I type a dimension I get the invalid string message.


      Untitled.jpg

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

        @philw said:

        Nice to know,
        But if I have a scrapbook Item and want to move it precisely (let’s say an 1” or 1/8”) can I do that?

        Yes. Definitely.

        @philw said:

        When I type a dimension I get the invalid string message.

        What exactly are you typing?
        move.gif
        Click on the picture if it doesn't move.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • P Offline
          Philw
          last edited by

          I tried both typing: 1/8" and typing :1/8", 1"

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

            Are you clicking in the Measurements box?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

              That's good that you're just typing. What units have you got selected in Document Setup>Units? What is the Precision set to? What happens if you don't enter units?

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • P Offline
                Philw
                last edited by

                no,
                I am taking it like in SketchUp, just typing and return.
                I can see what i am typing show up it the box before i get the message once i hit return.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Philw
                  last edited by

                  units set to fractional
                  Precision 1/8"

                  "What happens if you don't enter units?"
                  Not sure what you mean?

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

                    @philw said:

                    "What happens if you don't enter units?"
                    Not sure what you mean?

                    Just type 1/8 or 1 or .125 and hit Enter.

                    Set precision higher, like 1/64" and see what happens.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Philw
                      last edited by

                      That works, ☀
                      that has been a thorn in my side for a while. I wonder what else I am doing wrong 😮

                      Thanks for all your help.
                      I need a doh! boook for Layout

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Philw
                        last edited by

                        I must be doing something wrong some of the time. I am old school cad. I keep wanting to pick it and start the move, then type the distant. I am just picking the object and typing the new length, this works some time and other times, not.

                        is this written down somewhere where i can read how this works or is it on the layout help sites?

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

                          @philw said:

                          That works, ☀

                          Good. You should be able to type the units but as long as they are the default, you don't need it anyway.

                          @philw said:

                          I wonder what else I am doing wrong 😮

                          I might be able to give you some idea if I saw your LO file.

                          @philw said:

                          Thanks for all your help.
                          I need a doh! boook for Layout

                          You're welcome.

                          A new book to publish. 😉

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

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

                            Hang on and we'll look at it together. I have to finish an overseas call.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              Philw
                              last edited by

                              @unknownuser said:

                              I'll try and send a file from work to

                              I'll try and send a file from work tomorrow..

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

                                Do you want to try looking at LayOut with me using a screen share. I can set that up.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Philw
                                  last edited by

                                  that would be great

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

                                    Hi Dave,

                                    thanks for your explenations!

                                    Let me just skip back to my initial question. The problem I have is that I cannot type the desired lenght while holding down the shift key to keeop the axis locked. With 'straight line' I ment locked to x or y axis.

                                    Any idea how to do that?

                                    Cheers
                                    Mikar

                                    1 Reply Last reply Reply Quote 0
                                    • pbacotP Offline
                                      pbacot
                                      last edited by

                                      If you press shift and snap to x or y directions, move the cursor in the direction you want. then while holding shift you can hit a number key on the numerical key pad and return, that should work.
                                      But it's not generally necessary to press shift. The line tool will show a red or green trace as it locks into the x or y axis. You can then hit any numbered key (or length e.g. 2'7 ) and return.

                                      I think the problem is with heavier lines at closer zooms this indicator is not very visible if at all. That may also be worse on retina displays. The line direction definitely "snaps" though.

                                      MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

                                        Well, my numberpad doesn't accept any entries while I hold down the shift key (maybe it works on your Mac, but not on my MS).

                                        However, I noticed that once the desired axis lights up (x in red, y in green) I can release the shift key and the line will stay on the desired axis, then I can enter the length.

                                        Problem solved, thank you all!

                                        Cheers
                                        Mikar

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

                                          The Line tool will naturally snap to on-axis. You really shouldn't need to hold shift to draw a line on axis if you're going to type in its length anyway. The only time I would use Shift to lock a line on axis is if I'm using something else on the page for a reference for the end of the line. As in this GIF.

                                          line.gif

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

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

                                            Tip:
                                            Don’t be afraid to “overdraw” the length of the line before entering the desired length. (often helps to show RGB axis/or highlight when parallel/perpendicular in “crowded” drawing)

                                            IE: Draw line in desired direction (RGB axis/parallel/perpendicular to exisiting) approximately 20’ and enter 1’-8”

                                            C

                                            Precision M1710/Win 7 Pro 64 bit/i-7 6920 Quad core 2.9 Ghz -3.8/16Gb ram/NVIDIA M5000M 8Gb

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

                                            Advertisement