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

    DXF 3DFaces2SuComponents

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    3 Posts 2 Posters 445 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.
    • honoluludesktopH Offline
      honoluludesktop
      last edited by

      I use a program that rewrites the closed polylines in a dxf file as 3dFaces so that ShetchUp can import them as surfaces. The program is written to preserves the layer of each surface.

      Can anyone tell me how to annotate the dxf file so that SketchUp will see each layer as a component?

      1 Reply Last reply Reply Quote 0
      • TaffGochT Offline
        TaffGoch
        last edited by

        honoluludesktop,

        When I have such questions, I study the problem in reverse.

        Create a file in SketchUp, with your components defined as you describe (including layers) and export it to a DXF file. Open the DXF file in an ASCII editor, and study the contents (keep the SketchUp model/components simple, or the DXF file gets too big/complicated.)

        I just tried the above method with 4 rectangles, each defined as a separate component, in separate layers. I then imported the DXF file I exported, and SketchUp re-created everything just as originally drawn. The components and layers were retained as originally defined. So the DXF file has been demonstrated as viable.

        I haven't studied the ASCII contents of this DXF file, but now that I know it's viable, study should reveal how the layer/component definitions are implemented.


        I'm presume I understand your query correctly. If not, my apologies.

        If you need an online DXF-standards description/definition (Appendix A is particularly useful):
        AutoCAD 2000 DXF Reference

        Taff


        Layer_component_test.zip

        "Information is not knowledge." -- Albert Einstein

        1 Reply Last reply Reply Quote 0
        • honoluludesktopH Offline
          honoluludesktop
          last edited by

          Taff,

          Thanks, I was in the process of taking a educated swing at it; just hoping that someone knew off hand. Currently, the dxf file I import is a simple entity file of 3dfaces(no blocks, etc.) and it imports into Su as a component with the file name. I am guessing that blocks may be treated as components, and was setting up a test to see if I was right. The fact is that my knowledge of dxf is very weak and while my original translator works, it was designed more by brute force them finesse.

          I looked at your file and I see lots of stuff in it that I do not use (or know how to use), but will take your approach if mine fails.

          Uploading stuff below:


          Temp11[1].jpg

          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