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

    Unwanted dashed lines in viewport

    Scheduled Pinned Locked Moved LayOut Bug Reporting
    12 Posts 3 Posters 67 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.
    • P Offline
      pipingguy
      last edited by pipingguy

      In layout 2024, solid edges in the model are sometimes represented as dashed lines in the layout viewport when the viewport is set to hybrid or vector. But only if those solid edges are in an object that exist above another object in the model. Changing to raster worsens the problem. Attached image is vector. I assume this is a bug.
      dashed lines.png

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

        @pipingguy Share the LayOut file so we can see what you've got going on. What version of SketchUp/LayOut? What operating system? What graphics card?

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          pipingguy @Dave R
          last edited by

          hi Dave
          SKP/LO version is 24.0.484
          video card is Nvidia GeForce RTX 4070 Ti
          OS = Win 11

          LVL 22,23,24 [sketchucation].skp

          [LVL- 22,23,24.layout](Invalid file type. Allowed types are: .png, .jpg, .bmp, .gif, .pdf, .rbz, .skp, .obj, .fbx, .dxf, .dwg, .mp4, .mov, .txt, .zip, .rb, .jpeg)

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

            why is my lo file un-uploadable??

            G Dave RD 3 Replies Last reply Reply Quote 0
            • G Offline
              Gábor @pipingguy
              last edited by

              @pipingguy Try to upload now please

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

                @pipingguy I see what the problem is from your SketchUp file. I'll be back.

                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 @pipingguy
                  last edited by

                  @pipingguy so the dashed lines in your file are basically the same as z-fighting which occurs when two face share the same place. Yyou've set up your model so the side faces of the beams are viewed edge on and in the 2D viewport that put the bottom edge and the top edge in the same place.

                  TBH there are better ways to set this up. I copied the geometry of interest out of your model and into a new .skp file. I simplified the beams so each one is a sold object the way you would model them in the first place; just boxes. I also removed the tag for the beam top and bottom faces as you don't need to complicate the model that way. I also removed all dashes in SketchUp. The scene in SketchUp looks like this.
                  Screenshot - 8_23_2024 , 8_56_57 AM.png
                  After sending to LayOut, I set up the viewport to the desired scale on the page and rendered it as Vector. I added a second layer on top of the Default and copied the viewport to that layer. (Copy, Paste to Current Layer).

                  So now I have two copies of the viewport stacked on top of each other in perfect alignment. For the top viewport I turned off all the tags except the one called "BEAMS AND COLS". I also set the style to Hidden Line. Hidden Line with Vector rendering means only the visible edges are displayed. No z-fighting of edges, either. To create some contrast I also set the edge color for the beams and columns tag to red. Of course you do what you want with that. You could show those lines with a different dash style.

                  For the bottom viewport I turned OFF the tag for the beams and columns and left the others turned on. I set a dash style for the door swing arcs and another for the clearances which I tagged separately.

                  In LayOut, then, the view looks like this.
                  Screenshot - 8_23_2024 , 9_12_50 AM.png
                  While I was screwing around I made a different version in which the style for the top viewport has Shaded or Shaded with Texture face style and Xray enabled. In the viewport I set the edge color for the beams and columns to gray. So it looks like this.
                  Screenshot - 8_23_2024 , 9_13_31 AM.png

                  Here are the SketchUp and LayOut files.
                  PG.skp
                  PG Example.layout

                  I find it easier to manage dashes in LayOut and never set dashes for tags in SketchUp. I also created a collection of different styles to use in LayOut projects which select for individual viewports as needed so my SketchUp model only has a single"working" style. I would replace all the 3D in the model is labels and text in LayOut. If you made the various units as components instead of groups, you could add the required identifiers such as AC-22-2 in the description field and then auto fill the text in labels. This would give you nicer looking text and make it simple to place it in a spot that makes it more easily read. Annotations like that would go on a separate layer higher in the Layers list than the viewports.

                  By the way, if you would control tag visibility for viewports in LayOut you could manage with a single scene in SketchUp for all of your plan views in LayOut.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    pipingguy @Gábor
                    last edited by

                    @Gábor OK......now i can apparently upload it. What did you do?

                    LVL- 22,23,24.layout

                    G 1 Reply Last reply Reply Quote 0
                    • P Offline
                      pipingguy @Dave R
                      last edited by pipingguy

                      @Dave-R Nicely done sir!!
                      Yes, I know my beam layering scheme seems like overkill, but there is a method to my madness. It allows me to quickly spot if any of my horizontal piping is penetrating the bottom of any beams while in plan view during pipe placement in the model. We generally need to hug the beams so as to minimize conflict with other trades. Looks like I need to simplify as your narrative suggests. Thank you for taking a thoughtful interest in this matter.

                      btw - how did you know those outlines projected from the unit represent "clearances"?

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

                        @pipingguy You might consider creating an object with copies of the bottom faces of the beams that you can "put away" when you don't need it. You could even set up a scene in the model that shows the object for when you need to test for collisions or at least create a viewport from your plan view scene with the beams turned off and the bottom faces of the beams shown.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          pipingguy @Dave R
                          last edited by

                          @Dave-R That's true.

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Gábor @pipingguy
                            last edited by Gábor

                            @Gábor OK......now i can apparently upload it. What did you do?

                            @pipingguy Sorry for the delay in replying. I wasn't around the computer. I added the .layout extension to the allowed extensions.

                            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