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

[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.
  • I Offline
    ideas_arte
    last edited by 19 Oct 2010, 06:53

    Thank you very much!!!!

    1 Reply Last reply Reply Quote 0
    • H Offline
      honoluludesktop
      last edited by 19 Oct 2010, 17:32

      V1.10 places a rescaled dxf model on the mouse pointer.

      Options menu
      The import file name is in the upper left. Check update take you to the top of this topic's page, and import units include metric as well as imperial scales. Import origins are placed on SU's origin, or subject to the mouse pointer. The default import is for closed polylines to faces, however this may be turned off. Dxf colors by Acad number is also the default, SU names, SU's model materials, or none may be selected.

      I think all the interface issues have been addressed. I do not intend to add other entities (perhaps only as requested).

      1 Reply Last reply Reply Quote 0
      • H Offline
        honoluludesktop
        last edited by 21 Oct 2010, 20:19

        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 29 Oct 2010, 18:24

          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
          • H Offline
            honoluludesktop
            last edited by 30 Oct 2010, 23:27

            It's here at the top of this topic.

            1 Reply Last reply Reply Quote 0
            • G Offline
              gonedata
              last edited by 2 Nov 2010, 14:52

              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 4 Nov 2010, 16:49

                Thank you for this plugin, very useful.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  honoluludesktop
                  last edited by 23 Nov 2010, 21:42

                  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
                  • H Offline
                    honoluludesktop
                    last edited by 21 Dec 2010, 14:33

                    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 22 Dec 2010, 20:33

                      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
                      • H Offline
                        honoluludesktop
                        last edited by 23 Dec 2010, 09:19

                        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
                        • H Offline
                          honoluludesktop
                          last edited by 23 Dec 2010, 10:15

                          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
                          • H Offline
                            honoluludesktop
                            last edited by 25 Dec 2010, 01:02

                            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 25 Dec 2010, 19:48

                              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 25 Dec 2010, 21:43

                                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 27 Dec 2010, 20:00

                                  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 28 Dec 2010, 22:29

                                    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
                                    • H Offline
                                      honoluludesktop
                                      last edited by 29 Dec 2010, 11:35

                                      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 29 Dec 2010, 14:34

                                        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
                                        • H Offline
                                          honoluludesktop
                                          last edited by 30 Dec 2010, 00:47

                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 9
                                          • 10
                                          • 3 / 10
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement