Author Topic: Altium Import Helper  (Read 2431 times)

0 Members and 1 Guest are viewing this topic.

Offline CrossphasedTopic starter

  • Regular Contributor
  • *
  • Posts: 129
  • Country: us
Altium Import Helper
« on: September 29, 2024, 05:51:43 pm »
Do you use UltraLibrarian symbols/footprints? If so this script is for you. The UltraLibrarian provided import script is a pain in the butt, you can only import one symbol at a time, and you have to unzip the file first.

What this script does:
    Imports EDA files:
        Unzips UltraLibrarian and SnapEda files
        Extracts IntLibs to source SchLibs and PcbLibs
        Imports UltraLibrarian text files
        Imports SchLibs and PcbLibs
        places source zip files in Archive dir
        Improves aspects of the symbols and footprints as described below
   
    Processes Symbols in SchLib:
        sets the pin font and size to constants defined below:  PIN_FONT_NAME, PIN_FONT_SIZE
        sets active low pins so an overbar is in schematic symbol on pin name
        filters symbol parameters, deletes many unecessary params, see 'FilterComponentParameters' method to edit
        sets symbol body to color defined in constant below, COLOR_SYMBOL_BODY_FILL
        sets symbol body outline to color defined in constant below, COLOR_SYMBOL_OUTLINE
        sets all text label objects to constant: DEFAULT_FONT
        changes all lines in symbol to color blue
        moves component so pin1 is at the origin, including for multipart sch symbols
        fixes UltraLib footprint previews
        makes MFR Part # visible, at bottom left of symbol body, including for multipart sch symbols
        deletes default schematic symbol Component1
               
    Processes Footprints in PcbLib:
        deletes default footprint PcbComponent1
        changes silkscreen pin 1 indicator of '*' to filled circle
        changes Mechanical Layer13 pin 1 indicator of '*' to filled circle
        changes linewidth of Mechanical13 Layer from 1 mil to 2mil
        automatically maps STEP files for SnapEDA footprints

Githup repo: https://github.com/johnpolakow/Altium_Import_Helper
 
The following users thanked this post: bugrobotics


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf