メインコンテンツへスキップ

Unable to import DXF board outline

コメント

4件のコメント

  • Boss .

    I think it must be the green rectangle you show that is thw issue. A DXF viewer will only reproduse the lines a DSPCB DXF import will attempt to import the shape according to the board outline rules i.e. a continuous and non intersecting outline.
    Can you do back to the CAD system and delete the rectangle just keeping the outline boundary?

    0
  • Richard Whitlock

    Hi,

    Thanks for your reply.

    The rectangle is not there in the CAD. The only entities in the CAD are the elements of the outline you can see in the png above, and the 8 mounting holes.

    I assume the rectangle was created by DSPCB during the import process. I guess thats what the error message means when it says "Some shapes of these types have been created"

    After the initial import, the board outline shape appears correctly. Its in the right place, and is the right size. It has been converted into a set of shapes and not a board outline - even though I specified that it should be imported as a board outline.

    Here's a screenshot of the outline in a DXF viewer:

    I'll keep fighting with it and see what I can come up with.

     

    0
  • Richard Whitlock

    I've got the import to work. The problem was with the short straight horizontal line (i.e. the top and bottom edge of the green rectangle above) I guessed that was where the problem was due to the location of the shape to shape error. I tried deleting all 4 of them from the CAD and drawing them again. Of the four, this fixed one. It took me a while to work out, but it only works if I drew the line from the end of the arc to the end of the straight vertical line. Drawing in the other direction did not work. I have no idea why that fails, however, its all OK now.

     

     

    0
  • Brad Levy

    Richard, regarding the difference between drawing from the end of the arc to the end of the straight vertical line vs the opposite order, the CAD program you were using probably treated one case as continuing an existing polyline (multi-segment line), with the new segment connecting the previous "end" of the polyline to the point at the start of the polyline, completing it into a closed (not-necessarily-round "ring" of segments) polyline. In the other case, it either treated the new segment as a separate object, not as a continuation of the existing polyline, so you ended up with two open polylines, instead of one closed polyline. And the board outlines all need to be closed polylines.
    It is hard to say exactly how to insure you draw a closed polyline in your CAD program, because CAD programs vary in their tools and command structure.

    0

ログインしてコメントを残してください。