sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Export 2d dxf with layers and Components

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    3 Posts 2 Posters 365 Views 2 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.
    • G Offline
      gude
      last edited by

      Hello !
      This is my first post here!
      I've been looking for a way to export my model into 2d dxf with a script but unfortunately i couldn't get my SU layers in the export. and even all the components are exploded.

      Is there a way to maintain the layers and components on 2d export or may be a plugin?
      Please.

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

        The formats of 2D and 3D DXF exports are fundamentally different.
        The 2D format is for 'flat' 'graphics' which makes the exported DXF geometry on a single layer and explodes arcs/circles etc into individual lines.
        The 3D format is a proper DXF CAD format which keeps the geometry's layers and makes proper CAD arcs/circles etc. If you have drawn simple '2D' geometry if will export 'flat' too so the 3D DXF should work just fine too. However, if you have 3D geometry that you would like to become 'flat', then within your CAD application you might have a 'flatten' command to squish all of its 3D vertices down to one elevation; but if not, then there are ways of 'flattening' your 3D geometry in SketchUp [see Smustard 'flatten' and similar methods] - remember that these are destructive so you should work on a copy of your SKP...

        TIG

        1 Reply Last reply Reply Quote 0
        • G Offline
          gude
          last edited by

          Thank you for your quick response Tig

          I wanted a cleaner 2d geometry generated from sketchup with all my section cuts and finally to work further on cad. I would like my su model to be usable and export 2d dxf each time i update my su model. can i get something like the exportlayers2dae for dxf so that i can merge together the files to a single cad file with layers.

          @Tig
          I just Saw that you already have witten a nice script export_by_layer.rb
          is it possible to make it export 2d dxfs in different layers ?
          Thanks again.

          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