Skip to content

This repo suggest a way to organize Altium's files and folders to make easier to use it with Git.

Notifications You must be signed in to change notification settings

Vinimuller/altium_project_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Altium Project Template


This repo suggests a way to organize Altium's files and folders to use them with Git.

Organization


  • project
    • .SchDoc, .PcbDoc, .PrjDoc, and .OutJob files should be in this folder.
  • finals
    • Gerber files, BOM, SCH, and PCB PDF's, and any other output generated files should be in this folder.
  • libraries
    • The libraries that you use on your project should be in this folder. (It is recommended to use libs as submodules).
  • scripts
    • Scripts should be in this folder.

.gitignore file is set to keep track of .SchDoc, .PcbDoc, .PrjDoc, .OutJob files, finals fodler, libraries and scripts.

How to use this repo


Cloning and configuring

  1. Click in "Use this template" button, it will redirect you to the page that will create a new repository from altium_project_template: 1_Use_this_template_button

  2. Give your brand new repository a name accordingly to the project you are working on. It is, also, highly recommended to describe what this repository is about in the "Description" field. Choose if this repository will be a Public ou Private repo (can be changed later) and select "Include all branches" mark box. Then click in "Create repository from template": 2_Create_new_repo_with_branches

  3. A few seconds later, your repository will be ready to be used: 3_Repo_ready_to_use

  4. Now you should clone it into your local repository. To do that, click in "Clone or download" button and then in the button to copy the repo's link: 4_copy_repo_link

  5. On GitKraken, click "File" and "Clone Repo" (Ctrl + N is the shortcut): 5_clone_repo

  6. On the new window that just popped up, paste the repo's link on the "URL" field and then click in "Clone the repo!": 6_clone_the_repo

  7. When GitKraken is finished cloning your repo, a message will be shown informing you that. Now you should click "Open Now" button: 7_succesfully_cloned

  8. And your GitKraken should be like this: 8_done_clonning

  9. If you have any component library to add as a submodule, this is the moment.

  10. Now go find the local repository on your desktop (you should know where it is). Mine is at C:\Users\Celmer\Documents\GitHub, for example. Find and open the repository you have just created: 10_local_github

  11. On this folder you can see your repository folders and files. You can explore it later. Open "project" folder: 11_local_repo

  12. Here you have .OutJob (outjob), .PcbDoc (pcb), .PrjDoc (project name), and .SchDoc (sch) files. outjob, pcb and sch files must not be renamed, but it is highly recommended to rename project name file accordingly to the project you are working on (yes, it can have the same name as the repository): 12_projects_folder

  13. After renaming "project name" file, you can open it and start working (it is assumed that you know how to use Altium);

  14. Install or Add the libraries to the project.

Using the template

Now you can start working on the project itself. Edit the pcb.PcbDoc and sch.SchDoc files with your work.

Generating output files

  1. After your work is done, on Altium, open outjob.OutJob file (it is in Settings>Output Job Files): 16_output

  2. On the outjob.OutJob file, there is a window called "Output Containers" which has all the files that we want to generate from the project. You should go one by one and click on "Generate content". There will be a little bit of loading time on each file: 17_output_containers

  3. You can check on the "finals" folder the files that were generated. It is good to use a Gerber viewer to check the Gerber files generated: 18_finals

  4. If everything is ok, you should zip the GERBER and ODB folders and delete them: 19_zip


Feel free to improve this ;)


About

This repo suggest a way to organize Altium's files and folders to make easier to use it with Git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published