Skip to main content
1-Visitor
August 20, 2013
Solved

Import 2d dxf dwg into sketch mode without overlap and open lines

  • August 20, 2013
  • 1 reply
  • 41815 views

I try to import some 2D data with the option "Data from File". I tried many things in autocad like closed polylines or blocks. However when I import the sketch there are open lines and overlaps between curves and lines. So I guess it has something to do with the import routine. Then I changed some config.pro settings but this didn't helped either. I have Creo Elements Pro 5 (m170 education).

I don't know what to do after 7 hours trying to import 2D data. Could it be that this expensive professional software cannot handle 2D files? Or has somebody a solution for a better import or an after import fix?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by JonathanHodgson

Hi Christian,

Try this approach:

  • Open the DXF as a part, or alternatively you can import it directly into a part (Insert -> Shared Data -> From File in WF4).
  • Create a sketch on the same plane as the DXF.
  • Select the Use Edge tool, choose Loop, and pick each closed loop in the DXF. This should give you a fully constrained sketch which references the DXF import (although there is no parametric link to the original DXF).
  • Exit the sketch and select the Extrude tool (with the sketch still selected). Alternatively, you can create an extrude and then create an internal sketch as above.

HTH,

Jonathan

1 reply

17-Peridot
August 20, 2013

The sketcher has a solver and it is trying to solve the DXF import. Try opening it in a drawing instead. Edit it to what you want the sketch to be and then export it again to DXF. If the DXF is simple enough, the solver will only apply dimensions to the geometry. Sketcher is -not- a way to make a simple series of curves. It is a very sophisticated piece of software.

You can also open the DXF as a part. Next you create a sketch and you can project the imported curves to the sketch. the two will have an associativity until you break that associativity (such as saving that sketch to a *.sec file). But once you break the associativity, you also need to provide the data to make that sketch parametric.

Creo is -NOT- Autocad... Creo is a real CAD system

Welcome to the forum!

1-Visitor
August 21, 2013

Thank you for your answer.

Open the DXF in the drawing mode and save it as DXF or DRW for reimport to sketcher doesn't help. It looks the same and sadly my DXF is not simple.

To open it as a part and create a sketch..., there I see the curves and lines but I don't know how to project it to gain a new sketch. Or do you mean I need to redraw it and the projection is only for the support?

Maybe I think to simple for this sophisticated piece of software. I only want to extrude an existing 2D-DXF to an 3D-part. I can understand that the sketcher has a solver (and take everything apart) but it would be nice that I could configure or teach it to solve my specific problem. "It looks to me that it can translate a sentence only to single words and is not able to form a sentence again."

I can also trimm the overlapping none closed sections but there are many of them and with some it is not working. And I think a software should make the work more easy and fast and not complex and time consuming.

13-Aquamarine
August 21, 2013

Hi Christian,

Try this approach:

  • Open the DXF as a part, or alternatively you can import it directly into a part (Insert -> Shared Data -> From File in WF4).
  • Create a sketch on the same plane as the DXF.
  • Select the Use Edge tool, choose Loop, and pick each closed loop in the DXF. This should give you a fully constrained sketch which references the DXF import (although there is no parametric link to the original DXF).
  • Exit the sketch and select the Extrude tool (with the sketch still selected). Alternatively, you can create an extrude and then create an internal sketch as above.

HTH,

Jonathan