vika-sonne / FlatCAM

1 stars 0 forks source link

Excellon cant be panelized #1

Open MiracelVip opened 5 months ago

MiracelVip commented 5 months ago

Unfornuatly same bug like in the original version. If you try to panalize the excellon you get this error mesage:

New object with name: Gerber_BottomLayer.GBL_panelized. 0.177734 seconds executing initialize().
[SUCCESS] Panel created successfully.
[SUCCESS] Done.
Generating panel ... 
Generating panel... Spawning copies: 8
Generating panel ... Adding the source code.
[ERROR] An internal error has occurred. See shell.
**Object (excellon) failed because: 'App' object has no attribute 'export'** 

Traceback (most recent call last):
 File "C:\Users\Werkstatt\Downloads\FlatCAM_2024_4_windows_portable\FlatCAM_2024_4.zip\FlatCAM\appObjects\AppObject.py", line 160, in new_object
 return_value = initialize(obj, self.app)
 File "C:\Users\Werkstatt\Downloads\FlatCAM_2024_4_windows_portable\FlatCAM_2024_4.zip\FlatCAM\appTools\ToolPanelize.py", line 362, in job_init_excellon
 obj_fin.source_file = self.app.export.export_excellon(obj_name=self.outname, filename=None,
AttributeError: 'App' object has no attribute 'export'

[SUCCESS] Panel created successfully. image

vika-sonne commented 5 months ago

I figure out the problem. But i don't have valid Excellon PCB file for debugging. @MiracelVip Could you, please, attach simple example Excellon PCB file.

MiracelVip commented 5 months ago

Gerber_soil-moisture_PCB_soil-moisture_2024-06-06.zip

Inside this zip you can find a Dill_PTH_Through.DRL generated by easyEDA

Thank you for fixing it

vika-sonne commented 4 months ago

Please, replace FlatCAM_2024_4.zip file with new attached file. Run and check new version: 2024.4a FlatCAM_2024_4.zip

I checked Penalize tool with Gerber and Drill layers of above project: flatcam-2024 4a-1 flatcam-2024 4a-2 flatcam-2024 4a-3

Please, check new FlatCAM version 2024.4a and add comment to this issue.

MiracelVip commented 4 months ago

I have checked it and it's working! Thank you very much for fixing it. Better than original version