Step 8.2: Example: Convert DXF Outline to Extrusion Elements
We want to convert the DXF Drawing to a MechDesigner sketch-elements, and then add an Extrusion.
2.Copy and convert the DXF-Entities to MechDesigner sketch-elements, as a sketch-loop.
3.Add a Profile / Extrusion to the sketch-loop
STEP 1: Select a Owner-Part
The Owner-Part is usually the Part to which the CAD-Line is a child.
However, you can also covert the DXF-Entities into a different Part.
STEP 2: Select a DXF-Entity
The DXF-Entity box refers to any of the DXF Lines or DXF Circles/Arcs in the DXF-Drawing you want to convert to a sketch-element
In the graphic-area:
The name of the DXF-Entity should be in the DXF Entity box.
The button becomes colorized.
Before you click the button, you have to choose one from each of the following...
STEP 3: Select Free Points or Lock Points
Free-Points: select if you want to edit the sketch-elements later. You can lock the Points later in the Part-Editor
Lock-Points: select to freeze the end-Points of each new sketch-element at the exact location in the part. You can unlock each Point later in the Part-Editor
STEP 4: Select Sketch-Element or Sketch-Loop
Sketch-Element : convert the DXF-Entity in the DXF Entity box into sketch-element
Sketch-Loop: convert all DXF-Entities with adjacent end-Points within the Merge-Radius. This may produce a sketch-path or a sketch-loop.
DXF-Entities AND Sketch-Loop with Locked-Points
STEP 5: Convert the DXF-Entities to a sketch-loop (if possible)
Now, the new sketch-elements AND the DXF-Entities are in the graphic-area.
The color of the DXF-Entities are different to the sketch-elements
Sketch-elmenets as Sketch-Loop with Locked-Points
It is sometimes convenient to remove the DXF-Entities from the graphic-area and CAD-Line after you click the Convert to Lines and Arcs button.
STEP 6: Delete the DXF-Entities from the CAD-Line and Part.
The new sketch-elements stay in the Part - see left.
If the Sketch-Loop option is successful, the sketch-elements are a sketch-loop.
STEP 7: Click at the top of the CAD-Line dialog-box
If Convert to Lines and Arcs did find a sketch-loop, add a Profile / Extrusion to the sketch-loop in the usual way.
If Convert to Lines and Arcs did not find a sketch-loop, edit the Part to add sketch-elements to make a sketch-loop.
STEP 7: Add a Profile to the sketch-loop
There is a new Profile / Extrusion in the graphic-area.
STEP 8: Show the Extrusion