Fusion360Exporter icon indicating copy to clipboard operation
Fusion360Exporter copied to clipboard

Feature: version support for non-design file export

Open raphael-bmec-co opened this issue 11 months ago • 2 comments

Non-design file export support was added here.

This feature is to add version support that matches that provided for design files.

raphael-bmec-co avatar Jan 13 '25 07:01 raphael-bmec-co

I noticed this while trying out the script today. The script addresses each version of the file (external CAM files for me), but it skips older versions:

Visiting file Amp-Board 3-Channel_V3_CNC.b#2 v3.htm
file Amp-Board 3-Channel_V3_CNC.b#2 has extension htm attempting direct download
Saved C:\Users\Juri\Desktop\Fusion360Export\Bluetooth-Boom-Box\Eagle\Amp-Board 3-Channel\Amp-Board 3-Channel_V3_CNC.b#2.htm
Visiting file Amp-Board 3-Channel_V3_CNC.b#2 v2.htm
file Amp-Board 3-Channel_V3_CNC.b#2 has extension htm attempting direct download
C:\Users\Juri\Desktop\Fusion360Export\Bluetooth-Boom-Box\Eagle\Amp-Board 3-Channel\Amp-Board 3-Channel_V3_CNC.b#2.htm already exists, skipping
Visiting file Amp-Board 3-Channel_V3_CNC.b#2 v1.htm
file Amp-Board 3-Channel_V3_CNC.b#2 has extension htm attempting direct download
C:\Users\Juri\Desktop\Fusion360Export\Bluetooth-Boom-Box\Eagle\Amp-Board 3-Channel\Amp-Board 3-Channel_V3_CNC.b#2.htm already exists, skipping

I hope that helps.

Juri-3D avatar Jan 29 '25 17:01 Juri-3D

Oh gotcha that does help; turns out we were already visiting each version but not using the version in the file name. Updated in https://github.com/aconz2/Fusion360Exporter/commit/959de5cea0fad58e472b1214dcbd6d754779971e

@Juri-3D could you try out the new code and verify you get each version?

aconz2 avatar Jan 30 '25 23:01 aconz2