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

    [Plugin] Dxf_In v2.2 20110517 Dxf2Skp

    Scheduled Pinned Locked Moved Plugins
    200 Posts 41 Posters 269.7k Views 41 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

      V 1.14 includes minor interface refinements, and the "help option" to save current option selections. Below is a example of an imported 3d polymesh whose definition name is created from the name of the file.dxf.


      temp00.jpg

      1 Reply Last reply Reply Quote 0
      • J Offline
        jbertke
        last edited by

        Honoluludesktop,
        How do I get a copy of your DXF importer plugin? It looks like just the thing I need.
        Thanks,
        Jim B

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

          It's here at the top of this topic.

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

            honoluludesktop

            great work!

            imported 3d polymesh from construction software(agtek)generated dxf

            the terrain looks perfect...

            1 Reply Last reply Reply Quote 0
            • L Offline
              lovebugjunkie
              last edited by

              Thank you for this plugin, very useful.

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

                Added Dxf_In v1.15 french translation thanks to D. Bur.

                LES ENTITES DXF SUPPORTEES SONT:

                1. Polylignes comme arêtes connectées.
                2. Polyligne's (fermées) comme faces sélectionnées par l'utilisateur.
                3. LWPolylignes comme arêtes connectées.
                4. Lignes comme arêtes.
                5. Cercles comme contour d'arêtes.
                6. Arcs comme contour d'arêtes.
                7. 3dFaces comme faces.
                8. Blocs comme groupes ou composants.
                9. Maillage Polyligne comme arêtes.
                10. Maillage comme faces sélectionnées.
                1 Reply Last reply Reply Quote 0
                • honoluludesktopH Offline
                  honoluludesktop
                  last edited by

                  Minor update including facing circles when user option to face polylines is selected (v15), and streamlining the readability of the code (v16).

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

                    Hello Honoluludesktop...First THANK YOU..for this great plug-in..
                    my DXF when imported to SKU8 comes flat i.e. the Z height comes at zero..yet when I imported to the 7.1 version comes with the right heights..?
                    Thanks in advance for your input..

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

                      Can you post the dxf here? The only Dxf_In entities that default to z=0 are LWPolylines.

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

                        Hmmmmm..... The dxf reference has a LWPolyline code "elevation" that I had not previously taken into account. Try the attached Dxf_In, and let me know if it works or not. Don't forget to post your dxf file.


                        my_dxf_In_v1.17.rb

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

                          HHF, This is the file as translated by an Acad Viewer. The viewer is v2000. I also read the dxf file, and couldn't find the kind of information used to update Dxf_In_v1.18 as part of the new file's entities. Perhaps you shouldn't explode the drawing, and just export it to Dxf as is. Which version of Acad did you use to make the dxf?Temp00.png

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

                            Hello Honoluludesktop..
                            Not exploding the file was good advice ...it came out nice, ..to answer your question the prefered sofware is Datacad (to me it is more powerful than Autocad..sorry guys!!). It can export any file to DWG and DXF format latest versions..in this instance DXF was saved to version 2002
                            Thanks again for this wonderful Plug-In it gave me a lot of possiblities...please enjoy your holidays!!

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

                              I tried v1.17..it did not work either..I am also attaching the DXF ..look forward for your comments...Thanks,

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

                                Aloha!..it worked ! ..however I tried a more complex file and it did not come out right (picture #2) I exploded every line before converting to DXF and may have missed something in the midst... I am attaching the the new DXF for your review..
                                Thank you again for all your input..Happy Holidays..


                                Untitled2.jpg

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  wireb
                                  last edited by

                                  First off thanks for the import utility!

                                  Been trying to import a dxf from stock drive products of a timing pulley. Unfortunately only 1 line in the drawing makes it. Did not get any errors or unsupported entities so not exactly sure what happened...

                                  Can you take a look at it?

                                  (image of the part and dxf attached.)

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

                                    Hi wireb, I do not see the image or file. Btw, what version of Dxf_In did you use?

                                    1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      wireb
                                      last edited by

                                      Version 1.18 and not sure why I cannot attach anything.

                                      Here is a link to the cad download page for the part I am trying to import.
                                      http://catalog.catalogds.com/catalog/showPart?mfid=sdp&pn=A+6Z+3-78SF03716
                                      i chose the "DXF file (.dxf)" option.
                                      I also verified I can open the file in a dxf viewer so 99% sure the copy I have is good.

                                      Thanks again for taking a look. It's a simple part so can draw from scratch if I need to. But use quite a few parts from them so would be nice if I could get them to import so I have a base to draw from.

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

                                        wireb, The dxf is a database with 2d entities created by pro/engineer as ACAD Dxf version 14.

                                        999 Pro/ENGINEER 2005030 by Parametric Technology Corporation . . $ACADVER 1 AC1014
                                        In the attached portion regarding a LINE from the Dxf file, note the sequence of tags 10, 20, 11, 21. These are probably coordinates from the start of the line x,y to its end x,y. Dxf_In supports and Acad Dxf v14 requires for LINE, 10, 20, 30, 11, 21, 31 (start at x,y,z to end at x,y,z).

                                        0 LINE 5 212 100 AcDbEntity 8 DEFAULT_2 100 AcDbLine 62 8 6 HIDDEN 10 11.9420742236 20 13.5330979028 11 11.9201184463 21 13.4944728974 0
                                        I guess the reader you used overlooks this. One Acad viewer I tried rejects the file, and another non-acad viewer produced the attached 3d view of the file. Is it correct?
                                        Temp00.png
                                        Notice how the model is floating above x=0,y=0,z=0 origin? Is that also correct? If there is any possibility for Dxf_In to accommodate this file, I need to know what it should look like. Finally, your Dxf includes the entity SPLINE, that Sketchup doesn't support. Dxf_In would have to change it into a polyline (a line segment made up of many stright lines) to import it. Is this OK?

                                        Btw, I think the reason you can not upload files is that as a new user, you are being temporarily blocked from uploading just in case you are a spam. Ask admin to turn on your privileges.

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wireb
                                          last edited by

                                          Yep that looks like the part (cog belt pulley (only 2 teeth are shown)

                                          Segmented lines are fine by me. I can go in and touch them up manually while I am turning the 2d drawing back into a 3d part.

                                          I think the z axis is undefined since this is a 2d print. You can lay it out at z=0 (or any value for that mater) The print is going to get cut down to just that center part (big circle) then pushed / pulled back into the 3d part. So will be moved around quite a bit.

                                          Thanks much for taking a look at this!!

                                          1 Reply Last reply Reply Quote 0
                                          • W Offline
                                            wireb
                                            last edited by

                                            Yep got it and it works great. Made one change so the menu item comes up as import 2D DXF so I can have both loaded at once.

                                            Looks like the spline were only used in the lettering and the isso view of the part and for some reason the set screw hole (no idea why that one is). The flat parts all imported with no issues other than the dotted hidden lines came in solid which is a non issue for what I am going to use it for.

                                            after a little pushing and pulling (and manually adding the set screw hole back)

                                            http://img585.imageshack.us/img585/4928/newbitmapimagenb.th.png

                                            Thanks again for the help!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 10 / 10
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement