Post-process DRW lines in a IPEM instructions file.
We update the item_id and item_name to match the one of their corresponding parts (we create additional lines in case there is more than one part related to the drawing).
The IPEM instructions file has been generated by an IPEM import in dry-run mode. We also parses the log of that run in order to retrieve the association between the part and its drawing.
Note: we still expect the instructions file to have been preprocessed in such a way that item ids have been assigned to PRT and ASM lines.
Optionally, with --rename, we also rename the drawing file to use
the item_id as its base name (the model_name is also updated in that
case).
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.1.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.1.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.2.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.2.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.3.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.3.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.4.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.4.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.4.1'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.4.1
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.5.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.5.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.6.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.6.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.7.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.7.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.8.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.8.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.9.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.9.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.9.1'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.9.1
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'foboha_ipem_rename_drawings', '0.9.2'
$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.9.2
This action is irreversible