Converting inch to mm in dxf and dwg files

Advert

Converting inch to mm in dxf and dwg files

Home Forums CAD – Technical drawing & design Converting inch to mm in dxf and dwg files

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #21386
    Steve Bright 2
    Participant
      @stevebright2

      Converting inch to mm in dxf and dwg files

      Advert
      #600905
      Steve Bright 2
      Participant
        @stevebright2

        Hi and help please.

        I've been sent files in dxf and dwg format from the US and my local laser cutter needs them in mm. I don't have any experience with any CAD drawings, can some kind person out there convert them for me please.

        I have them in a zip file so I can email them easily.

        Thanks in advance.

        Steve

        #600917
        martin haysom
        Participant
          @martinhaysom48469

          1 inch =25.4mm

          #600918
          Gary Wooding
          Participant
            @garywooding25363

            How many of them are there? Can you post a photo of a typical one?

            #600924
            David Jupp
            Participant
              @davidjupp51506

              In the cad system that I'm familiar with, I would import the DXF (as inches), then switch display units to mm, before re-exporting to DXF.

              I'd do ONE first to check that the laser cutter can open the file and that it is correctly sized. Some systems might only accept older DXF versions.

              I'm surprised that the laser cutter can't do the conversion – either in CAD, or in the CNC control software.

              #600936
              SillyOldDuffer
              Moderator
                @sillyoldduffer
                Posted by David Jupp on 07/06/2022 09:58:49:

                I'm surprised that the laser cutter can't do the conversion – either in CAD, or in the CNC control software.

                As most CAD packages can do the conversion in one way or another, my guess is the laser cutter chooses not to take the risk of getting it wrong. Not unreasonably perhaps, they may be insisting it's the customer's responsibility to get the dimensions right. Then it's clear who pays if the cut item comes out wrong.

                Unit conversions may be somewhat speculative due to the dozens of different versions of DXF and DWG about, plus the way a CAD package might do the sum is uncertain. Some might convert correctly simply by changing the base unit, others certainly require the user to scale the whole model, 1:25.4 The safest way to do it is with the same CAD software and version number that produced the original, because then the DXF is guaranteed 100% compatible.

                Are the files simple drawings? If so wouldn't be too difficult to convert them 'best endeavours, no liability accepted' and send Steve a pdf print so he can check everything is the right size. Gets harder to do as the complexity of the drawing grows – manually checking large numbers of dimensions in a complicated plan is hard work, and fixing exceptions can take considerable time and CAD skills.

                As this must be a common requirement I thought there might be conversion software on the web. A quick search didn't find any.

                Mr Johnson's recent pledge to reintroduce Imperial Measure might help…

                Dave

                #600938
                Steve Bright 2
                Participant
                  @stevebright2

                  A screenshot of one of the files.

                  image1.jpg

                  This is a simple file viewer program and I couldn't see a conversion feature. As this is likely a one off I don't really want to have to buy a CAD program and the free ones seem very limited.

                  The local firm that has done laser cutting for me is very friendly and helpful. The stuff I bring them is very different to their normal massive projects so they deal with me as a cash sale at a discounted price. Very useful. They usually fit my bits in on the edges in the otherwise scrap areas. I can understand they don't want to tie up the programmer or take the risk of it being wrong at the end. Either way I'd be paying for the programmers time.

                  #600942
                  HOWARDT
                  Participant
                    @howardt

                    If my memory is correct the parts are created in units, 1 unit is either an inch or a millimetre, it is the drawing which interprets it and gives you a size. So if the part is created with 1 unit to be 1 inch then it will be 25.4 smaller if you set the unit to mm. The only way is to import the file into a drawing package and scale it up to get the same size part in mm as inches.

                    #600943
                    Ian P
                    Participant
                      @ianp

                      The laser cutting company (online quoting and ordering), I use has an online drawing editing feature that pops up if the DXF I submit contains any errors that might cause the cutting process to throw a wobbler. One can then correct small errors (or design simple parts from scratch)

                      The submitted DXF's must have all the cutting lines on one layer, must have no text or dimensions and all lines must be unbroken ie converted to 'polylines' (in Acad).

                      I send plain DXF files and do not need to state any units. When I first began using the company I put one major dimension in my drawing name but then did not bother because found that the website quoting software shows a little drawing of each part and states the X and Y sizes.

                      Online quoting means one can change material type, grade, thickness and other factors and immediately see the most cost effective method (where appropriate).

                      Ian P

                      #600950
                      Steve Bright 2
                      Participant
                        @stevebright2

                        Many thanks for all the help. It's been sorted now and the converted files are with the laser operator. As a test he told me the finished length which was correct.

                        Just hundreds of small holes to drill when I get the frames back.

                        Thanks again to all.

                        Steve

                        #600953
                        Ian P
                        Participant
                          @ianp

                          If the holes are much smaller diameter than the material thickness then presumably they will at least put a centre mark/divot so you dont have to mark out the positions.

                          Ian P

                          #600955
                          Steve Bright 2
                          Participant
                            @stevebright2

                            Ian, I'm not sure, but I'm not too worried as once I start I will be using my DRO and taking reference points at different points as a check.

                            The price they usually charge me isn't much more than the cost of the steel so I'll be happy not to have to cut them out using an abra file, hacksaw and lots of filing lol.

                            #600965
                            SillyOldDuffer
                            Moderator
                              @sillyoldduffer
                              Posted by Steve Bright 2 on 07/06/2022 11:17:41:

                              This is a simple file viewer program and I couldn't see a conversion feature. As this is likely a one off I don't really want to have to buy a CAD program and the free ones seem very limited.

                              Glad to hear you're sorted. If you need to do it again, or to modify the plans in other ways, QCAD is both free and full-featured. You can download a full Trial Version of the commercial product which works for 30days or so. It's reenergised by either coughing up for a full licence or by switching the application into Community Mode. Community mode is plenty good enough for most 2D purposes. Many other free or trial packages have the poke necessary to scale drawings.

                              I wouldn't recommend getting CAD in unless several drawings need converting because there's a steepish learning curve, not worth it unless the software is used for other stuff.

                              Once understood well enough to find the buttons, your conversion is done in QCAD by opening the drawing, selecting everything, and scaling by 1/25.4. Simply changing the base unit doesn't do any converting. Worse, my experiments found some issues, such as managing layers (if used), and what happens when the drawn dimensions aren't scaled with everything else. They end up 25.4 times too big!

                              Good luck with your Shay. Will you share some photos as the loco develops please? Always good to see what other folk are making.

                              Dave

                              #600970
                              David Jupp
                              Participant
                                @davidjupp51506

                                The 'how to' descriptions above are somewhat contradictory, not surprising as all CAD systems have their own foibles. For information the way the 'conversion' was done (in Alibre Design) was as follows.

                                • Open the file (it came is as inches) – check an obvious length using dimension tool
                                • Switch display units to mm (no scaling, no change of size)
                                • Delete dimensions, notes, and other extraneous items to leave a clean outline for cutting
                                • Use Analyse Tool on the drawing – to find problems
                                • Heal the multiple small gaps between figures
                                • Delete overlapping (duplicated) figures
                                • Export as DXF (2007 in this case as some CNC software may prefer older DXF versions) using a name to differentiate from the initial file.
                                • Re-import the exported DXF (as a check) – it came in as mm, and the size was correct.
                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                              Advert

                              Latest Replies

                              Viewing 25 topics - 1 through 25 (of 25 total)
                              Viewing 25 topics - 1 through 25 (of 25 total)

                              View full reply list.

                              Advert

                              Newsletter Sign-up