Skip to content

Commit

Permalink
Parse Fusion 360 Electronics/Eagle (.FBRD/.BRD) files
Browse files Browse the repository at this point in the history
  • Loading branch information
Funkenjaeger authored and qu1ck committed Dec 16, 2022
1 parent 39fc0c4 commit 883d0f2
Show file tree
Hide file tree
Showing 2 changed files with 852 additions and 0 deletions.
7 changes: 7 additions & 0 deletions InteractiveHtmlBom/ecad/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def get_parser_by_extension(file_name, config, logger):
return get_generic_json_parser(file_name, config, logger)
else:
return get_easyeda_parser(file_name, config, logger)
elif ext in ['.fbrd', '.brd']:
return get_fusion_eagle_parser(file_name, config, logger)
else:
return None

Expand All @@ -32,3 +34,8 @@ def get_easyeda_parser(file_name, config, logger):
def get_generic_json_parser(file_name, config, logger):
from .genericjson import GenericJsonParser
return GenericJsonParser(file_name, config, logger)


def get_fusion_eagle_parser(file_name, config, logger):
from .fusion_eagle import FusionEagleParser
return FusionEagleParser(file_name, config, logger)
Loading

0 comments on commit 883d0f2

Please sign in to comment.