I have a PDF containing a diagram of a PCB which I intend to include in my system. Unfortunately while some dimensions are indicated on this pdf others are not.

I would like to import this diagram onto a mecahnical layer of a PCB at the correct scale so I can use it as a template for my design.


I solved this problem using inkscape with the following procedure.

  1. Import the pdf page into inkscape.
  2. Use object-ungroup and path->split path to break the diagram down into individual lines (Otherwise totally unrelated lines can be part of the same path)
  3. Copy and paste the diagram of interest into a new inkscape document.
  4. Use the toolbar to measure the locations in mm of two objects (e.g. the pick lines of a dimension marker) that will establish the scale and subtract to find the distance between them.
  5. Calculate the scale factor needed to convert the diagram to 1:1 scale by dividing the expected distance between the objects by the distance measured on the diagram. Multiply this scale factor by 100 to convert it to a percentage.
  6. Select the whole diagram, set the toolbar units to percent and turn on the aspect ratio lock.
  7. Enter your percentage scale factor using the toolbar and press enter to rescale.
  8. Save the file from inkscape as a dxf with mm units.
  9. Use file-import to import the dxf into your Altium PCB, again remember to set the units to mm. Also it's a good idea to set a reasonable line width, the default is unreasonablly small and will make the lines difficult to select.
  10. Finally use edit-move selection by x,y to move the imported diagram into the correct place on the PCB.
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.