sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Please share your DWG/DXF import tips

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    17 Posts 10 Posters 5.9k Views 10 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.
    • EdsonE Offline
      Edson
      last edited by

      since many of us sketchup users import dwg/dxf files at the beginning of most models I would like to invite you to share tips or quirks you have discovered about this subject. I will start it with a few comments.

      not rarely sketchup crashes when I am importing a dwg file in macbook pro. I found out it has something to do with the fact that the sketchup file I am importing to is empty. the I draw a simple rectangle and try again the import action an voila: it works.

      another case is that sometimes there comes a message saying that the dwg is invalid or cannot be imported in any way. what I do is to change the name of the file (even changing a single character will do the trick) and it imports smoothly.

      let us have YOUR thoughts on this.

      edson mahfuz, architect| porto alegre β€’ brasil
      http://www.mahfuz.arq.br

      1 Reply Last reply Reply Quote 0
      • T Offline
        tomsdesk
        last edited by

        Save model size by wblock'ing only what you need from the dwg file to insert into the model...some of the background stuff (especially with later versions of autocad and rivet dwg exports) just can not be purged out of sketchup.

        http://www.tomsdesk.moonfruit.com/
        2.5D Trees & Shrubs!

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

          @edson said:

          another case is that sometimes there comes a message saying that the dwg is invalid or cannot be imported in any way. what I do is to change the name of the file (even changing a single character will do the trick) and it imports smoothly.

          ls.

          When this happens, I just try again. Usually works. Wonder if it is a mac thing.

          Less and less do I use the imported lines directly ( say for floor plans) . I group after imports, place on a separate layer and draw over. I make up the mass of the building with rectangles and for interior walls approach varies, but using the CAD lines is often more work than other methods.

          If you do want to import and use wall lines. Clean up, simplify, and minimize prior to import. I also import detail profiles which are easier to draw with 2d CAD tools.

          πŸ‘ Yes explode whatever you can prior to import. Some imports clog the component window.

          Peter

          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

          1 Reply Last reply Reply Quote 0
          • EdsonE Offline
            Edson
            last edited by

            i never use the CAD lines: i draw over them. but, before doing that I move all that has been imported to one single layer and delete the layers that came with the CAD import. and, as soon as I can, I delete the CAD lines and purge my skp file, as CAD imports turn the skp file too heavy.

            edson mahfuz, architect| porto alegre β€’ brasil
            http://www.mahfuz.arq.br

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

              never draw using cad lines. I always import a cad file into sketchup and draw over it. Is the only way that i can make sure the modeling is clean.

              1 Reply Last reply Reply Quote 0
              • T Offline
                tomsdesk
                last edited by

                Agreed, you do have to start with "clean" cad lines and dwgs (like mine :`)

                http://www.tomsdesk.moonfruit.com/
                2.5D Trees & Shrubs!

                1 Reply Last reply Reply Quote 0
                • andybotA Offline
                  andybot
                  last edited by

                  @edson said:

                  I draw a simple rectangle and try again the import action an voila: it works.

                  I've noticed that the dwg is not grouped if the file is empty. If I draw something (like a rectangle) or I do a second import, the dwg is grouped as a component. I've been taking to doing the rectangle bit just so I get a component in import instead of loose geometry.

                  http://charlottesvillearchitecturalrendering.com/

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Howard leslie
                    last edited by

                    Edson,
                    Some Top Tips for importing dwg / dxf into SketchUp.
                    .......
                    If you have Autocad........

                    1. If you are importing a 2d CAD file, run the FLATTEN command - this ENSURES everything is actually 2d.
                    2. Run OVERKILL command - gets rid of any duplicate data
                      (These 2 Commands are possibly Express Tool Commands).
                    3. Run PURGE command (most important Tip of the lot). Run PURGE again just to make sure !!! (PURGE ALL)

                    If you don't have Autocad, get the person who is sending you the file to do these 3 things.
                    ..........
                    Hope this Helps
                    Bye
                    Howard L'

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

                      1. In AutoCAD, copy what you want to import to SketchUp to a new file. This avoids many import issues it seems - seems like old DWG files can contain so much stale data that you get more junk in SketchUp.
                      2. Place everything around Origin
                      3. Zoom extent - to ensure there is no stray objects far off
                      4. Flip to a side view and check if some lines go up/down in an extreme distance. (I often come across drawings where lines shoot 50km into the air )
                      5. Explode Polylines and 2dPolylines (If a polyline contains Arcs SketchUp will import them as straight lines from start to end)
                      6. If drawing should be 2D, flatten to ensure it is.
                      7. Purge All

                      @edson said:

                      i never use the CAD lines: i draw over them. but, before doing that I move all that has been imported to one single layer and delete the layers that came with the CAD import. and, as soon as I can, I delete the CAD lines and purge my skp file, as CAD imports turn the skp file too heavy.

                      I find even drawing over can cause problems, as you can still inherit some tiny fraction of inaccuracy - like slightly off angle that just mess up everything later on. If anything, I try to draw with the rectangle tool as much as possible to ensure proper 90 degrees angles.

                      I often turn on Edges Color by Axis after importing to spot lines that are off axis.

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

                      1 Reply Last reply Reply Quote 0
                      • GaieusG Offline
                        Gaieus
                        last edited by

                        @thomthom said:

                        I find even drawing over can cause problems, as you can still inherit some tiny fraction of inaccuracy - like slightly off angle that just mess up everything later on. If anything, I try to draw with the rectangle tool as much as possible to ensure proper 90 degrees angles.

                        I may not work with as many cad drawings as you guys (architects) but have learned this lesson already. πŸ‘

                        Gai...

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

                          @gaieus said:

                          @thomthom said:

                          I find even drawing over can cause problems, as you can still inherit some tiny fraction of inaccuracy - like slightly off angle that just mess up everything later on. If anything, I try to draw with the rectangle tool as much as possible to ensure proper 90 degrees angles.

                          I may not work with as many cad drawings as you guys (architects) but have learned this lesson already. πŸ‘

                          It's dreadful when inaccuracy creeps into the model - it spreads like the plague. You'll find that when you split a face overlapping faces are generated. Push-pull won't work because things aren't perpendicular or parallel - even though Colour By Axis indicate so πŸ˜• .
                          I've re-modelled many models just because of this - I wasted more time trying to work with it as oppose to just rebuild cleanly.

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

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

                            @thomthom said:

                            I find even drawing over can cause problems, as you can still inherit some tiny fraction of inaccuracy - like slightly off angle that just mess up everything later on. If anything, I try to draw with the rectangle tool as much as possible to ensure proper 90 degrees angles.

                            I often turn on Edges Color by Axis after importing to spot lines that are off axis.

                            Well, what would be the point of the import? My drawings aren't THAT bad, but then, I don't use AutoCAD πŸ’š . But yes πŸ‘ and πŸ‘ to rectangle drawing and starting (and checking) models with color by axis.

                            ... Peter

                            MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                            1 Reply Last reply Reply Quote 0
                            • daleD Offline
                              dale
                              last edited by

                              One of the things I do before every import is make sure the camera is in parallel projection, top view. I can't explain why, but this has really helped to assure there are less problems down the line.
                              Since quite often I am receiving AutoCad drawings from others, I think I will compile a list from suggestions here and send it to the exporter as a to-do list before sending me the file.

                              I have also noted less problems with exports from other Cad software ie: Vectorworks, Softplan.
                              Edson, this is a great idea for a thread. πŸ‘

                              Just monkeying around....like Monsanto

                              1 Reply Last reply Reply Quote 0
                              • andybotA Offline
                                andybot
                                last edited by

                                Here's a flatten command (that I use very successfully) for using in ACAD LT. This is because flatten and overkill are available only in full ACAD.

                                http://www.cadtutor.net/forum/showthread.php?20684-Z-Co-ordinate-Flatten-command

                                http://charlottesvillearchitecturalrendering.com/

                                1 Reply Last reply Reply Quote 0
                                • EdsonE Offline
                                  Edson
                                  last edited by

                                  there are same very useful tips here: Flatten Crappy CAD Drawings.

                                  Screen shot 2012-03-09 at 2.20.12 PM.png

                                  edson mahfuz, architect| porto alegre β€’ brasil
                                  http://www.mahfuz.arq.br

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

                                    In that video Edson, the nugget is the idea (after import) to re-export a parallel projection overhead view to dwg from your SU file, then re-import into a new SU file, in order to flatten it. Something I have not heard suggested before.

                                    MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                    1 Reply Last reply Reply Quote 0
                                    • mitcorbM Offline
                                      mitcorb
                                      last edited by

                                      If you use autotoilet at all, you should use the snap functions. But, just because you can preset automatic snap to intersection, endpoint, midpoint, apparent intersection, and so on, having too many of these running is where the problem arises. There are instances where you may be in a hurry, and clicking just so, will confuse the program. It will send a vector off into either Z+ or Z-, but look like it connected with the target, and the problem becomes cumulative.
                                      In the 2007 and up versions there is a properties side window, by which you can modify a lot of values. Doing a box select without an initial command will display the grips. Expanding the properties side window will allow you to step through the entities types to verify their start and end values, their z values and so on. You can overwrite or edit in some of the fields.--Just another method.

                                      I take the slow, deliberate approach in my aimless wandering.

                                      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