By donb
#343693
Hi JD,

I recently installed the new plugin and found that smoothing is turned off when I hit the Render button but not if I use Export. I hope this is on the list of future fixes. It's really cumbersome to use Export when doing test renders.

Thanks,
DonB

WinXP32
Maxwell 2.5.1
SU 7.1.686
SU/MW plugin 2.5.15
By JDHill
#343707
I believe I've found the reason for this; the last version wraps the export routine in a SketchUp API construct which prevents extraneous undo operations from appearing in the undo list. This issue is apparently due to that. To defeat it, you can open [sketchup]/Plugins/maxwell/lib/export.rb and "comment out" the following lines:

lines 81-86:
Code: Select all
86     if Env.on_su7?
87       model.start_operation("Export MXS", true, false, false)
88     else
89       model.start_operation("Export MXS")
90     end 
line 144:
Code: Select all
144    model.abort_operation
To "comment out" means to place a pound sign in front of the lines to make Ruby ignore them (this is used for putting comments in code, hence the name):
Code: Select all
86     #if Env.on_su7?
87     #  model.start_operation("Export MXS", true, false, false)
88     #else
89     #  model.start_operation("Export MXS")
90     #end 
Code: Select all
144    #model.abort_operation
Please try doing this and let me know if it takes care of the issue for you -- it does here.
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]