- Fixed crashing when opening a source file without specifying the encoding.
- Fixed app exiting when either
kicad_python_path
oribom_path
are not found.- The
generateiBoM()
will now skip the command if either of the paths are not found.
- The
- Fixed whitespace handling in paths in
generateiBoM()
function.
- Updated Readme.
- Added
svg
command documentation.
- Added
- Added SVG generation support.
- Added
generateSvg()
function. - Added
svg
command. - Updated the JSON with SVG generation options.
- Tested and working.
- Added
- New Version
0.0.27
.
- Fixed the
rename_files()
not handling an empty extension list.- It will now rename all files when the extension list is empty.
- Thanks to
@domleblanc94
.
- Added docstring to
rename_files()
function.
- Removed unused libraries.
- Fixed the issue of the app exiting when trying to generate files from PCB-only projects that do not have a schematic file in the project folder.
- The app will now warn about the missing files (either schematic of PCB) and will skip the commands that require the missing files.
- Fixed fstring quotes mismatches.
- Updated Readme.
- Added
run
command documentation. - Updated Configuration File documentation.
- Added
- Exported EXE for version
0.0.26
.
- Updated the JSON configuration file version to
1.2
. - Updated the default configuration.
- Updated the way all of the functions read and interpret the output directories.
- Output directories are now relative to the project path.
- Absolute paths will be used always to avoid any problems.
- Updated
create_final_directory()
function.- The CLI argument
--output_dir
has now precedence over what is in the JSON configuration file.
- The CLI argument
- Added default type of "STEP" to
generate3D()
function. - Updated
run()
.- It can now generate the complete set of files using the info from the JSON configuration file.
- The directory of the configuration file should be the same as the project path.
- Tested and working correctly.
- Added documentation to
load_config()
. - Added # TODO: Check the JSON configuration file version and warn about consequences.
- Simplified
load_config()
.- Removed the extra
project_file
argument. - Now the configuration can be loaded as a relative or absolute path.
- The default configuration file name will still be
kiexport.json
.
- Removed the extra
- Added new
run
command andrun()
function.- This will generate files based on the provided JSON configuration file.
- The configuration file can be anything.
- New Version
0.0.26
- Updated Readme
- Updated documentation.
- Updated contributors list.
- Updated
generateiBoM()
kicad_python_path
andibom_path
variables are now loaded from thekiexport.json
file.- Bothe paths are now checked for existence.
- Bumped up the
kiexport.json
JSON version to1.1
. - Updated the default configuration.
- Updated
generateiBoM()
- The function now follows the same procedure as all other functions.
- Output directory is now created if it does not exist.
- The
kicad_python_path
and theibom_path
variables are now hardcoded. These need to be made configurable in the future. - Custom file name is created based on the sequence number.
- Added complete set of Interactive HTML BoM plugin command list to the
kiexport.json
file, with most of the default options. - Arguments are now fetched and passed automatically to the
generate_interactive_bom.py
script. - The
--output-dir
command will be used instead of native--dest-dir
command. - Tested and working correctly.
- New Version
0.0.25
.
- Renamed
run_kicad_ibom()
togenerateiBoM()
.
- Updated
merge_pdfs()
- Fixed indentation issues.
- Fixed styling.
- Updated debug message formats.
- Disabled (commented out) deleting of original PDF files after merging.
- Tested and working correctly.
- Updated
generatePcbPdf()
- Now creates a merged PDF file along with the individual PDF files.
- Updated the merged PDF file's name format.
- Enabled generating ZIP file with the merged PDF files.
- Tested and working correctly.
- New Version
0.0.24
.
- Created executable for version
0.0.23
. - Updated Readme.
- PCB PDF files are now saved as ZIP file also.
- New Version
0.0.23
.
- Changed the final directory date format to
"YYYY-MM-DD"
from"DD-MM-YYYY"
. This will help the directories to be sorted easily by name by default. - New Version
0.0.22
.
- Added colors to the directory name strings in the
create_final_directory()
function.
- Fixed string quotes conflicts.
- New Version
0.0.21
.
- Added JSON configuration support for
generateBom()
. - New Version
0.0.20
.
- Added JSON configuration support for
generate3D()
. - New Version
0.0.19
.
- Optimized the
generatePositions()
function. - New Version
0.0.18
.
- Added support JSON configuration for
generatePcbPdf()
. - Added color to the printed app info.
- New Version
0.0.17
.
generateGerbers()
now reads the configurationkie_include_drill
and generated the drill files first based on the value. Default value istrue
.- New Version
0.0.16
.
- Bumped up the version to
0.0.15
.
- So many changes.
- Added
Colorize
and_color
classes andcolor
object to colorize text in the terminal. - Added text colors in multiple places for error messages, file names and commands.
generateGerbers()
can now completely read the configuration from thekiexport.json
file.- Added
delete_files()
function to delete files with the specified extensions, with inclusion and exclusion options. - Added
rename_files()
to rename files in a folder. It accepts the file extensions as a list. - Replaced
zip_all_files()
withzip_all_files_2()
. The latter can now accept a list of file extensions to include in the zip file. - Updated
generateDrills()
as a standalone generator.- It saves the files to the same
Gerber
directory. - It does not create a ZIP file.
- It can use the JSON configuration file.
- It saves the files to the same
- Added
drills
command to generate drill files. - The app will now print help message when called without any arguments.
- Updated
generatePositions()
to use the JSON configuration file. - File generation is successful.
- New Version
0.0.14
.
- Added
create_final_directory()
to create target directories.
- Replaced the
--output
argument from the configuration list with--output_dir
. Since we already uses revision/date/sequence based output directories, it doesn't make sense to get--output
value for the KiCad-CLI. - The new
--output_dir
will be used as the root directory for the output files.
- Added full support for reading
sch_pdf
command related arguments from the config file.
- Added support for local JSON configuration file.
- Updated
generateSchPdf()
to use output directory from the config file. - Added
load_config()
to load the custom and default configurations. - New Version
0.0.13
.
- Added
export.bat
script. - Updated Readme.
- Added the export batch file usage.
- Added
printInfo()
to print the app information. - Added
-v
and--version
command to print the app version. - New Version
0.0.12
.
- Added
bom
command to export BoM file. Only CSV is supported at the moment. - Added
generateBom()
function. - New Version
0.0.11
.
- Added
sch_pdf
export command. This will export the schematic as a single PDF. - Added
generateSchPdf()
function. - Schematic PDF generation is successful.
- Added
ddd
command to export STEP and VRML files. - Added
generate3D()
function. - New Version
0.0.10
.
- Added
generatePcbPdf()
to export the PCB as PDF files. Layers are imported in individual files with theEdge.Cuts
as the common layer. - Added
pcb_pdf
command. - New Version
0.0.9
.
- Added
generatePositions()
to export position/centroid files. - Added new command
positions
. - New Version
0.0.8
.
- Added
generateDrills()
. - Drill files are now generated with the Gerbers.
- All files in the Gerber target directory, except ZIP files are now deleted before overwriting. This fixes the rename conflicts.
- If a ZIP file already exists, the new one will now get a new sequence number. This will keep single set of manufacturing files but multiple ZIP files.
- New Version
0.0.7
.
- Generated Gerber files are now renamed with the revision tag after the project name.
- Gerber files are now compressed into a ZIP file using
zip_all_files()
. - New Version
0.0.6
.
- Added
extract_info_from_pcb()
to extract project information from the KiCad PCB file. - Now creates Gerber output directory from project revision, current date and a sequence number.
to_overwrite
ingenerateGerbers()
function now controls whether or not to overwrite the existing Gerber files in the target directory.- Added
test
command andtest()
function. - New Version
0.0.5
.
- Output directory is now created if it does not exist, in
generateGerbers()
function. - KiCad-CLI commands will fail if the output directory does not exist.
- New Version
0.0.4
.
- Added
check_file_exists()
to check is a file exists. - Added
extract_project_name()
to extract the project name from the file name. This simply removes the extension. - Added
extract_pcb_file_name()
to extract the file name from the path. generateGerbers()
now prints the KiCad PCB project name.- Code running successfully.
- New Version
0.0.3
.
- Added CLI argument parser.
- Added
parseArguments()
. - Added
gerbers
command to export Gerber files. generateGerbers()
function now accepts the input PCB file name and the output directory path.- New Version
0.0.2
.
- Gerber files exported successfully.
- Added
generateGerbers()
function. - Added Readme and Changes.
- Added project info.
- New Version
0.0.1
.