foboha_ipem_rename_drawings

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).

Changelog


– mail to author Christian Boos – see project Home Page

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.1.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.1.0
            

...or download it

Download 0.1.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.2.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.2.0
            

...or download it

Download 0.2.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.3.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.3.0
            

...or download it

Download 0.3.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.4.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.4.0
            

...or download it

Download 0.4.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.4.1'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.4.1
            

...or download it

Download 0.4.1

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.5.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.5.0
            

...or download it

Download 0.5.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.6.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.6.0
            

...or download it

Download 0.6.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.7.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.7.0
            

...or download it

Download 0.7.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.8.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.8.0
            

...or download it

Download 0.8.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.9.0'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.9.0
            

...or download it

Download 0.9.0

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.9.1'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.9.1
            

...or download it

Download 0.9.1

DANGER - Destructive Action

This action is irreversible

Add it to your Gemfile (recommended)

source 'https://gems.bct-technology.com/'

gem 'foboha_ipem_rename_drawings', '0.9.2'

...or install it globally

$ gem sources -a https://gems.bct-technology.com/
$ gem install foboha_ipem_rename_drawings -v 0.9.2
            

...or download it

Download 0.9.2

DANGER - Destructive Action

This action is irreversible