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

    Hidden lines problem

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    22 Posts 6 Posters 12.9k 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.
    • K Offline
      kevin_walker
      last edited by

      TIG somehow it still isn't working for me. Pictures below show simple extruded molding profile with the HIDN unchecked, but the hidden lines are still there. The second picture is a dwg file opened in Turbocad with the same result. What might I have done wrong? The molding is not a group.

      Thanks Kevin


      Skp.captured.jpg


      Turbocad-layer-off.jpg

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Can you post a bit of the file. Just that moulding'll do so I can look at it... Works for me with geomentry, groups and definitions...

        TIG

        1 Reply Last reply Reply Quote 0
        • K Offline
          kevin_walker
          last edited by

          TIG here is a skp. file with a piece or the molding along with a dwg created from skp. The script created a layer named HIDN ok, but I had to select the hidden lines manually to place on that layer.

          Thanks Kevin


          skp.molding test.zip


          dwg.molding test.zip

          1 Reply Last reply Reply Quote 0
          • AnssiA Offline
            Anssi
            last edited by

            The 3D export function to DWG exports the SU faces as 3D polyface entities, with every face as a separate entity. If you check "Edges" in the Export Options every edge in the model is added as an extra line in the export. It does apparently not support smoothing.

            I don't know about TurboCad, but in AutoCad wireframe and hidden-line views the edges of polyface entities are always visible and unseparable from the faces themselves. For smoothing to work, the export would have to consist of a triangulated 3D face mesh

            If you are exporting views for annotation and plotting, you can export 2D DWGs - no hidden lines pop up with them.

            Anssi

            securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              Your edges weren't just hidden but softened and smoothed. I've re-done the script to do that too, BUT the problem is that when you Export to DWG all hidden/softened/smoothed edges also export as Layer0 edges - I assume to keep the faces they have they need to be on a layer... It seems you can hide such edges in various view styles in CAD, BUT only the hidden things seem to move en mass...

              I'll do some more investigating and post an updated script shortly...

              TIG

              1 Reply Last reply Reply Quote 0
              • K Offline
                kevin_walker
                last edited by

                Annsi, your observations are what I had noticed concerning the 3ds export and triangulated faces are fairly useless for views for annotations and plotting. I was trying to avoid so many exports/imports using the 2d dwg's. Ideally, if the hidden lines could be controlled (turned on and off) for export using a dwg/dxf, using outside Cad programs for the layout and plotting would be nice. I have not found this part of the process to be that great using Skp.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kevin_walker
                  last edited by

                  @tig said:

                  Your edges weren't just hidden but softened and smoothed. I've re-done the script to do that too, BUT the problem is that when you Export to DWG all hidden/softened/smoothed edges also export as Layer0 edges - I assume to keep the faces they have they need to be on a layer... It seems you can hide such edges in various view styles in CAD, BUT only the hidden things seem to move en mass...

                  I'll do some more investigating and post an updated script shortly...

                  Thanks TIG

                  Kevin

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    http://www.sketchucation.com/forums/scf/viewtopic.php?p=47503#p47503 is the v1.1 file...
                    This also moves hidden + soft + smoothed edges onto layer HIDN and switches the layer off.

                    However, it's proved a little useless since the exporter to DWG/DXF makes any edges to faces on the same layer = Layer0 if that's what the face or other edges are on... SO whilst you get the 'hidden' edges etc on their own layer you also get duplicates on Layer0 !!!

                    TIG

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

                      So - just to recap - there is no way of successfully exporting a dwg that has removed the hidden lines - unless you do it manually in SU before ?

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        If the hidden lines are Coplanar and are not therefore required for face retention you can remove them using a tool like tt's CleanUp.
                        Then they don't export as they don't exist.
                        BUT if a hidden line is needed by the faces then moving them onto their own layer [ON/OFF] in the SKP lets you see them in the CAD version on a separate ON/OFF layer... BUT if they are needed by faces they'll be replicated in the faces' layer too ?

                        So if your SKP contains unneeded hidden lines you can remove them in the SKP and export to CAD.
                        BUT if your SKP's faces need those hidden lines, then even moving them onto their own OFF layer in the SKP will not prevent them from getting duplicated on the face's layer in the CAD version !
                        Just because a line is hidden it doesn't mean it is not needed !

                        If you give a clear outline of your workflow, intentions, hopes and aspirations we might advise further...

                        TIG

                        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