Export all models as .stl
mihai-stanimir opened this issue · 4 comments
mihai-stanimir commented
FusionSheeter can export models for all sizes as .step files and not .stl. OctoFusion does export as .stl behind the scenes. Could this feature be brought to FusionSheeter?
Ideally the option would iterate through all sizes and export .stl files for each body.
tapnair commented
Hello, sorry for the delay. I just saw this. FYI I just added this capability. I hadmeant to add it a long time ago. Thanks for the reminder!
mihai-stanimir commented
You are awesome!
…On Thu, Feb 6, 2020 at 11:38 PM Patrick Rainsberry ***@***.***> wrote:
Closed #2 <#2>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=ABPLDOREET7NK576RGWKE73RBR7OHA5CNFSM4IVOQZY2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWO7AR2Y#event-3015575787>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPLDOQNWRXCI7QHGHM26U3RBR7OHANCNFSM4IVOQZYQ>
.
mihai-stanimir commented
I noticed the export to .stl was disabled because it was crashing. I enabled it and made this code change in FusionSheeterExportCommands from line 32 and it works now:
export_name = folder + output_name + export_extensions[i]
export_name = dup_check(export_name)
if 'stl' in export_extensions[i]:
export_options = export_functions[i](design.rootComponent, export_name)
export_options.isOneFilePerBody = True
export_options.meshRefinement = adsk.fusion.MeshRefinementSettings.MeshRefinementMedium
export_options.sendToPrintUtility = False
else:
export_options = export_functions[i](export_name)
export_mgr.execute(export_options)
Feel free to add this piece to the your repo.
tapnair commented
I actually have just recently added that back in, do you have the latest
version?
…On Thu, Mar 5, 2020 at 4:19 PM sufertashu ***@***.***> wrote:
I noticed the export to .stl was disabled because it was crashing. I
enabled it and made this code change in FusionSheeterExportCommands from
line 32 and it works now:
export_name = folder + output_name + export_extensions[i]
export_name = dup_check(export_name)
if 'stl' in export_extensions[i]:
export_options = export_functions[i](design.rootComponent, export_name)
export_options.isOneFilePerBody = True
export_options.meshRefinement = adsk.fusion.MeshRefinementSettings.MeshRefinementMedium
export_options.sendToPrintUtility = False
else:
export_options = export_functions[i](export_name)
export_mgr.execute(export_options)
Feel free to add this piece to the your repo.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=ACT5ODKGYBIBNTGCDT3K5FLRGA5CJA5CNFSM4IVOQZY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7HBGY#issuecomment-595488923>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACT5ODICDHTUIAJ7GFGOJZ3RGA5CJANCNFSM4IVOQZYQ>
.
--
Regards,
Patrick Rainsberry