• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

Transfer 2D file to 3D

Scheduled Pinned Locked Moved Newbie Forum
sketchup
13 Posts 4 Posters 7.9k Views
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.
  • T Offline
    tommy77
    last edited by 5 Nov 2021, 15:11

    Hello,

    I imported a DXF-file into sketchup and I want to tranfsorm it from 2D to 3D. Is that possible and if so, how?
    You can find the file in the attachment.


    Baseplate.DXF

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 5 Nov 2021, 15:28

      Yes. It's possible.

      Import the file into SketchUp. It'll come in with just edges. Every loop of edges is going to be a component and they'll all be nesect inside a larger component. Open the parent component and explode the inner ones.
      Screenshot - 11_5_2021 , 10_19_37 AM.png

      Use the Line tool to trace an outside edge on the perimeter to get a face.
      Screenshot - 11_5_2021 , 10_19_53 AM.png

      Select all of the geometry, right click on it and choose Intersect Faces>With Selection. Then double click with Select on the large face to select it and the edges. This should leave the faces skinning the holes unselected.
      Screenshot - 11_5_2021 , 10_20_21 AM.png

      Edit>Invert Selection and the hit Delete to remove the faces in the holes.
      Screenshot - 11_5_2021 , 10_20_45 AM.png

      Then Push/Pull to thickness and soften the edges.
      Screenshot - 11_5_2021 , 10_21_12 AM.png

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • T Offline
        tommy77
        last edited by 6 Nov 2021, 11:36

        Thanks a lot!

        1 Reply Last reply Reply Quote 0
        • B Offline
          Box
          last edited by 6 Nov 2021, 13:43

          For future reference it's a pretty simple object to model in Sketchup without the trouble of importing from elsewhere.


          Quick build.gif

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dave R
            last edited by 7 Nov 2021, 13:40

            @tommy77 said:

            Now I'm lokking for a way to soften the sharp edges in the drawing. Do you have an idea how that can be done?

            Which edges? Soften how? As in put a radius on them? That could be done with the native Follow Me or using extensions like FredoCorner or RoundCorner.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • T Offline
              tommy77
              last edited by 9 Nov 2021, 15:57

              Ok, I tried to draw it myself and that worked out well thanks to you guys. Now I'm looking for a way to soften the sharp edges in the drawing. Do you have an idea how that can be done?

              1 Reply Last reply Reply Quote 0
              • T Offline
                tommy77
                last edited by 9 Nov 2021, 17:03

                Ok, Thanks.

                I wanted to smoothen the edges before handing the dxf-file over to the company that will cnc-route it, but it seems I have way too much overlap, and it takes a lifetime to use a plugin... So I'll skip that.
                Whenever I upload the dxf-file, I get an error, saying 'The string did not match the expected pattern' (when using safari) or 'Unexpected token T in JSON at position 0' when using chrome. The company that does the cnc, says that the problem lies within the dxf. Any idea what might be wrong?


                Untitled 3.dxf

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Dave R
                  last edited by 9 Nov 2021, 17:26

                  How large is thing supposed to be? It looks like you have a bunch of unneeded geometry and if it's small, probably running into SketchUp's tiny face issue. I imported it using Meters as the import units and cleaned it up.

                  Does this file behave better for you?
                  Tommy.dxf

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tommy77
                    last edited by 9 Nov 2021, 20:51

                    Thanks for the effort!

                    The size of the object is 30cm square.

                    Unfortunately it has the same error message when I upload it.
                    I'm beginning to think there is a problem with their own interface...

                    I try to upload it on this page:

                    Link Preview Image
                    Helder Polycarbonaat 10 mm

                    Kunststofplatenshop.be levert heldere polycarbonaat 10 mm platen zo snel mogelijk. Elke polycarbonaat plaat wordt op maat gezaagd.

                    favicon

                    Kunststofplaten.be (kunststofplaten.be)

                    There is a button that says 'Selecteer uw bestand' which means 'Select your file' (to upload). When I do that, the error message appears in red.

                    These are the things they demand from the uploaded file:

                    • Make a 1:1 scale drawing, using the millimeter as the unit;
                    • Keep the contour lines of your drawing as thin as possible (0.2 mm or thinner) and make sure that the lines form a closed whole;
                    • Keep your DXF simple: preferably use circle, arc and line objects;
                    • Upload a separate drawing for each plate type;
                    • Make sure your drawing is as basic as possible: no size markings, hatches, area fills or frames.
                    • The maximum size of your drawing is 2 cm smaller than the chosen plate size.
                    • Export your file in millimeters and not in pixels, inches or centimeters.
                    • Is there an inside corner in your design? Make sure you give it a radius of at least 1 mm (the higher the better). This prevents the corner from being subjected to pressure and breaking the plate.
                    • Please note that there is a deviation tolerance of approximately 0.2mm per cutting line.
                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      djh
                      last edited by 31 May 2022, 14:58

                      Edit>Invert Selection and the hit Delete to remove the faces in the holes.
                      [attachment=2:1p6dv7mk]<!-- ia2 -->Screenshot - 11_5_2021 , 10_20_45 AM.png<!-- ia2 -->[/attachment:1p6dv7mk]

                      I have SU 2019. I don't have Edit>Invert Selection.


                      I can't make a face out of these imported dwg lines.

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Box
                        last edited by 31 May 2022, 15:21

                        Not sure why you quoted the bit you did as it isn't relevant to your issue.

                        Firstly you seem to have drawn your edges on top of the closed group.

                        The edges within the group have tiny stay ends at he corners of the circles, remove them and the faces will form. The second one with the triangle shows that it would have been better if you had imported at a larger size, I skipped it in the gif but you can joint the corner to the next vertex in the circle and delete the extra triangle.


                        Tiny edges.gif

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          djh
                          last edited by 31 May 2022, 15:46

                          Box, thank you.

                          After removing the extra stray lines, why did you have to draw additional lines?

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            Box
                            last edited by 31 May 2022, 15:48

                            To make those edges cut the face, you can see they go from dark profile lines to light edge lines.

                            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