Added columns Position X, Position Y, Rotation to fields#460
Added columns Position X, Position Y, Rotation to fields#460AlexLedis wants to merge 1 commit intoopenscopeproject:masterfrom
Conversation
|
Hi, thanks for contributing.
All the configurable things will need modifications to the dialog and cli. |
|
Hi, thanks for the feedback, I will try to implement the above options, probably in the GUI first. Best regards, |
|
Question: How should I add the controls to the GUI? In "dialog_base.py", where the controls are defined, it says: "Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3) Do you have the source files for using wxFormBuilder included in the project? |
|
wxFormBuilder source file is settings_dialog.fbp |
|
You can add it to the config struct https://github.com/openscopeproject/InteractiveHtmlBom/blob/master/DATAFORMAT.md#config-struct It's passed to javascript by including fields here https://github.com/openscopeproject/InteractiveHtmlBom/blob/master/InteractiveHtmlBom/core/config.py#L38 |

I added support to export position (X, Y) and rotation. This way, you can create a combined BOM with placement information.
We needed this because we need the positioning file with added custom fields, e.g. the article number from ERP. I think this function can be really helpful. I would be delighted if you can merge this addition into the master branch.
Best regards,
Alex