본문 바로가기

Tool 사용법/알티움(Altium) 정보

알티움 PCB 이미지 추가하기

OSHW Alchemist님의 블로그에서 퍼왔습니다.

http://dokkodai.tistory.com/36




Importing the Image into Altium

  1. Download the Altium Example Scripts from here.
  2. Extract the Scripts folder to "C:\Program Files (x86)\Altium\AD 10\Examples\" (or whever your Altium Examples folder is located)
  3. Online Documentation for Altium Products - How to import a graph

  4. If you're going to be using this script a lot, load the PCBLogoCreator.PRJSCR Script Project into your Altium Workspace. This can be done in 1 of 2 ways:
    1. Navigate to "C:\Program Files (x86)\Altium\AD 10\Examples\Scripts\Delphiscript Scripts\PCB\PCB Logo Creator" and double click "PCBLogoCreator.PRJSCR".
    2. Start Altium, select File->Open... and navigate to PCBLogoCreator.PRJSCR and click "Open".
  5. If you only want to use it sparingly you can do the following:
    1. Start Altium
    2. Click the "DXP" button in the upper left corner & select "Run Script..."
    3. Click "Browse" in the lower right and navigate to the PCBLogoCreator.PRJSCR file. Select it and click "Open".
  6. Now, regardless of which method you just chose to use do the following
    1. Click the "DXP" button in the upper left corner & select "Run Script..."
    2. Click "RunConverterScript" and hit "OK"
  7. Now a new PcbDoc should have opened and a "PCB Logo Creator" dialog box appeared.
    1. Click "Load" and select the .BMP file you prepared above.
    2. Select the "Board Layer" (I recommend Top Overlay for most purposes).
    3. Select the "Scaling Factor" (you're going to have to experiment with this but 1000 mils = 1 inch).
    4. Choose any check box options you want (typically you won't need any).
    5. Hit "Convert" & wait a bit.
    6. Once the conversion has completed click the "Exit" button
  8. Now you have a Logo built out of Top Overlay lines! You can get it onto your chosen PCB via Copy/Paste or make it reusable by reading the next section.

Making your Imported Image reusable

  1. At this point you should a .PcbDoc with a Top Overlay instance of your Logo
  2. Hit Ctrl-A (to highlight all objects on the .PcbDoc)
  3. Hit Ctrl-C (to copy everything to the clipboard)
  4. Click somewhere near the center of the logo
  5. Open up an existing (or create a new) .PcbLib
  6. Right click on the "Components" Pane under the "PCB Library" Tab
  7. Select "New Blank Component"
  8. Click in the main PCB window & hit Ctrl-V & click to paste everything into the Component
  9. Double click the "PCBComponent_1" in the "Components" Pane and give it a meaningful "Name" and "Description"