Maxwell Render

Maxwell Render Information Repository
It is currently Wed Jun 19, 2013 11:57 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jun 14, 2011 3:44 am 

Joined: Mon Nov 21, 2005 2:42 am
Posts: 85
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


Top
 Profile  
 
PostPosted: Tue Jun 14, 2011 3:15 pm 
User avatar

Joined: Wed Nov 16, 2005 3:02 am
Posts: 7630
Location: desk #861
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:
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:
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:
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:
144    #model.abort_operation

Please try doing this and let me know if it takes care of the issue for you -- it does here.

_________________
Next Limit Team


Top
 Profile  
 
PostPosted: Thu Jun 16, 2011 5:59 am 

Joined: Mon Nov 21, 2005 2:42 am
Posts: 85
Hi JD,

That did it. Thanks! :D

DonB


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group