- Tue Nov 04, 2008 12:11 am
#284074
I've got a scene I'm having trouble exporting to an mxs. Earlier version exported fine...then copied and pasted a large set of objects within the file and now it doesn't want to export.
I cleaned the file up after finding some surfaces without normals and it checks out when I run maxwell_checkandfixbadobjects.
Here's the log:
********************************
* Maxwell for Rhino 4
* Version: 1.7.31.0
********************************
* Session Log
* Date: 11/3/2008
* Time: 17:01:22.6406250
* File: file://C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\Plugins\Rhino\Logs\session_log_05_01_22_PM___11_3_2008.txt
********************************
* line 1: OnLoadPlugIn, _info, Checking required paths
* line 2: CheckRequiredPaths, _info, Maxwell root directory found at: C:\Program Files\Next Limit\Maxwell
* line 3: CheckRequiredPaths, _info, mxcl.exe found at: C:\Program Files\Next Limit\Maxwell\mxcl.exe
* line 4: CheckRequiredPaths, _info, mxed.exe found at: C:\Program Files\Next Limit\Maxwell\mxed.exe
* line 5: CheckRequiredPaths, _info, mxst.exe found at: C:\Program Files\Next Limit\Maxwell\mxst.exe
* line 6: OnServerMessage, _info, initializing Maxwell Database, using directory: 'C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\SDK\DB'
* line 7: OnServerMessage, _info, to learn about using alternate database locations, see file://C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\SDK\Config\readme.txt
* line 8: OnLoadPlugIn, _info, Creating DropTarget
* line 9: OnLoadPlugIn, _info, Retreiving user-preferences
* line 10: OnLoadPlugIn, _info, Enabling Scene events
* line 11: OnLoadPlugIn, _info, starting plugin update status thread
* line 12: OnLoadPlugIn, _info, Synchronizing cameras
* line 13: CreateCamera, _info, created camera: Perspective
* line 14: OnLoadPlugIn, _end, Plugin-load finished successfully
* line 15: RestoreViewport, _info, ActiveDoc.GetPathName is:
* line 16: set_CurrentDocumentDirectory, _info, _cd =
* line 17: OnBeginOpenDocument, _info, filename: C:\Documents and Settings\All Users\Application Data\McNeel\Rhinoceros\4.0\English\Template Files\Small Objects - Inches.3dm
* line 18: OnEndOpenDocument, _info, filename: C:\Documents and Settings\All Users\Application Data\McNeel\Rhinoceros\4.0\English\Template Files\Small Objects - Inches.3dm
* line 19: CreateCamera, _info, created camera: Perspective
* line 20: set_CurrentDocumentDirectory, _info, _cd = C:\Documents and Settings\All Users\Application Data\McNeel\Rhinoceros\4.0\English\Template Files
* line 21: OnBeginOpenDocument, _info, filename: F:\omorovicza\Bergdorf\furniture_testers_009.3dm
* line 22: ReadCompleteDocument, _begin, reading complete document: F:\omorovicza\Bergdorf
* line 23: SSSPresets.GetPresets(), _info, using SSS presets file located at file://C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\Plugins\Common\Presets\sss_presets.xml
* line 24: ReadCompleteDocument, _info, updating database with document materials
* line 25: RestoreViewport, _info, ActiveDoc.GetPathName is:
* line 26: ReadCompleteDocument, _end, finished reading complete document
* line 27: ReadDocument, _end, sucessfully read Maxwell data
* line 28: OnEndOpenDocument, _info, filename: F:\omorovicza\Bergdorf\furniture_testers_009.3dm
* line 29: PrintPathStatusReport, _info, -- BEGIN Path Status Report --
* line 30: PrintPathStatusReport, _info, Total number of Materials: 45
* line 31: PrintPathStatusReport, _info, Invalid Paths for: GREENISH BERGDORF SURFACE
* line 32: PrintPathStatusReport, _info
* line 33: PrintPathStatusReport, _info, Invalid Paths for: coldmetal
* line 34: PrintPathStatusReport, _info
* line 35: PrintPathStatusReport, _info, Invalid Paths for: bergdorf_chair_color
* line 36: PrintPathStatusReport, _info
* line 37: PrintPathStatusReport, _info, Invalid Paths for: Material1 1
* line 38: PrintPathStatusReport, _info
* line 39: PrintPathStatusReport, _info, Invalid Paths for: blue tube
* line 40: PrintPathStatusReport, _info
* line 41: PrintPathStatusReport, _info, -- END Path Status Report --
* line 42: RenderStatusReady, _notify, the .mxs file will be written to 'F:\Max\MXS\si_ormovicza_counter_001.mxs'
* line 43: RenderStatusReady, _notify, the image will be written to 'F:\Max\MXS\si_ormovicza_counter_001.png'
* line 44: WriteMxs, _info, rendering camera: Perspective
* line 45: WriteMxs, _notify, generating new MXS meshes, press CTRL+ALT+SHIFT to cancel
* line 46: ExportScene, _info, CacheMXSGeometry=True
* line 47: ExportScene, _info, ExportReferecesAsInstances=False
* line 48: ExportScene, _info, OnlyExportActiveCamera=False
* line 49: mxVersionChecker.CheckForUpdate(), _notify, checking for plugin updates...
* line 50: mesh transfer 10.0% completed (77 of 772)
* line 51: mxVersionChecker.CheckForUpdate(), _notify, the installed plugin version (1.7.31.0) is up-to-date.
* line 52: mesh transfer 19.9% completed (154 of 772)
* line 53: mesh transfer 29.9% completed (231 of 772)
* line 54: mesh transfer 39.9% completed (308 of 772)
* line 55: mesh transfer 49.9% completed (385 of 772)
* line 56: mesh export failed (see Log Viewer for details)
* line 57: BEGIN: System.Runtime.InteropServices.SEHException
* line 58: Message: External component has thrown an exception.
* line 59: Source: Maxwell
* line 60: BEGIN STACKTRACE: 'System.Runtime.InteropServices.SEHException'
* line 61: - at Cmaxwell.createMesh(Cmaxwell* , Cobject* , SByte* , UInt32 , UInt32 , UInt32 , UInt32 )
* line 62: - at Maxwell.Scenes.Scene.MeshWriter.BeginMesh(String Name, Int32 nVertexes, Int32 nNormals, Int32 nTriangles, Int32 nPositionsPerVertex)
* line 63: - at Maxwell.Rhino.mxMesher.WriteMesh()
* line 64: - at Maxwell.Rhino.mxMesher.ExportGeometry(Boolean selectedObjectsOnly)
* line 65: END STACKTRACE: 'System.Runtime.InteropServices.SEHException'
* line 66: END: System.Runtime.InteropServices.SEHException
* line 67: ExportScene, _info, total export time: 00:01:02.6093750
* line 68: OnEndWriteMxs, _notify, mesh export was cancelled
* line 69: mxLogView.OnShowWindow, _info, sz=838x555h, loc=96,215(virtual), pWnd=66360
I cleaned the file up after finding some surfaces without normals and it checks out when I run maxwell_checkandfixbadobjects.
Here's the log:
********************************
* Maxwell for Rhino 4
* Version: 1.7.31.0
********************************
* Session Log
* Date: 11/3/2008
* Time: 17:01:22.6406250
* File: file://C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\Plugins\Rhino\Logs\session_log_05_01_22_PM___11_3_2008.txt
********************************
* line 1: OnLoadPlugIn, _info, Checking required paths
* line 2: CheckRequiredPaths, _info, Maxwell root directory found at: C:\Program Files\Next Limit\Maxwell
* line 3: CheckRequiredPaths, _info, mxcl.exe found at: C:\Program Files\Next Limit\Maxwell\mxcl.exe
* line 4: CheckRequiredPaths, _info, mxed.exe found at: C:\Program Files\Next Limit\Maxwell\mxed.exe
* line 5: CheckRequiredPaths, _info, mxst.exe found at: C:\Program Files\Next Limit\Maxwell\mxst.exe
* line 6: OnServerMessage, _info, initializing Maxwell Database, using directory: 'C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\SDK\DB'
* line 7: OnServerMessage, _info, to learn about using alternate database locations, see file://C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\SDK\Config\readme.txt
* line 8: OnLoadPlugIn, _info, Creating DropTarget
* line 9: OnLoadPlugIn, _info, Retreiving user-preferences
* line 10: OnLoadPlugIn, _info, Enabling Scene events
* line 11: OnLoadPlugIn, _info, starting plugin update status thread
* line 12: OnLoadPlugIn, _info, Synchronizing cameras
* line 13: CreateCamera, _info, created camera: Perspective
* line 14: OnLoadPlugIn, _end, Plugin-load finished successfully
* line 15: RestoreViewport, _info, ActiveDoc.GetPathName is:
* line 16: set_CurrentDocumentDirectory, _info, _cd =
* line 17: OnBeginOpenDocument, _info, filename: C:\Documents and Settings\All Users\Application Data\McNeel\Rhinoceros\4.0\English\Template Files\Small Objects - Inches.3dm
* line 18: OnEndOpenDocument, _info, filename: C:\Documents and Settings\All Users\Application Data\McNeel\Rhinoceros\4.0\English\Template Files\Small Objects - Inches.3dm
* line 19: CreateCamera, _info, created camera: Perspective
* line 20: set_CurrentDocumentDirectory, _info, _cd = C:\Documents and Settings\All Users\Application Data\McNeel\Rhinoceros\4.0\English\Template Files
* line 21: OnBeginOpenDocument, _info, filename: F:\omorovicza\Bergdorf\furniture_testers_009.3dm
* line 22: ReadCompleteDocument, _begin, reading complete document: F:\omorovicza\Bergdorf
* line 23: SSSPresets.GetPresets(), _info, using SSS presets file located at file://C:\Documents and Settings\Jim\Application Data\MaxwellDotNET\Plugins\Common\Presets\sss_presets.xml
* line 24: ReadCompleteDocument, _info, updating database with document materials
* line 25: RestoreViewport, _info, ActiveDoc.GetPathName is:
* line 26: ReadCompleteDocument, _end, finished reading complete document
* line 27: ReadDocument, _end, sucessfully read Maxwell data
* line 28: OnEndOpenDocument, _info, filename: F:\omorovicza\Bergdorf\furniture_testers_009.3dm
* line 29: PrintPathStatusReport, _info, -- BEGIN Path Status Report --
* line 30: PrintPathStatusReport, _info, Total number of Materials: 45
* line 31: PrintPathStatusReport, _info, Invalid Paths for: GREENISH BERGDORF SURFACE
* line 32: PrintPathStatusReport, _info
* line 33: PrintPathStatusReport, _info, Invalid Paths for: coldmetal
* line 34: PrintPathStatusReport, _info
* line 35: PrintPathStatusReport, _info, Invalid Paths for: bergdorf_chair_color
* line 36: PrintPathStatusReport, _info
* line 37: PrintPathStatusReport, _info, Invalid Paths for: Material1 1
* line 38: PrintPathStatusReport, _info
* line 39: PrintPathStatusReport, _info, Invalid Paths for: blue tube
* line 40: PrintPathStatusReport, _info
* line 41: PrintPathStatusReport, _info, -- END Path Status Report --
* line 42: RenderStatusReady, _notify, the .mxs file will be written to 'F:\Max\MXS\si_ormovicza_counter_001.mxs'
* line 43: RenderStatusReady, _notify, the image will be written to 'F:\Max\MXS\si_ormovicza_counter_001.png'
* line 44: WriteMxs, _info, rendering camera: Perspective
* line 45: WriteMxs, _notify, generating new MXS meshes, press CTRL+ALT+SHIFT to cancel
* line 46: ExportScene, _info, CacheMXSGeometry=True
* line 47: ExportScene, _info, ExportReferecesAsInstances=False
* line 48: ExportScene, _info, OnlyExportActiveCamera=False
* line 49: mxVersionChecker.CheckForUpdate(), _notify, checking for plugin updates...
* line 50: mesh transfer 10.0% completed (77 of 772)
* line 51: mxVersionChecker.CheckForUpdate(), _notify, the installed plugin version (1.7.31.0) is up-to-date.
* line 52: mesh transfer 19.9% completed (154 of 772)
* line 53: mesh transfer 29.9% completed (231 of 772)
* line 54: mesh transfer 39.9% completed (308 of 772)
* line 55: mesh transfer 49.9% completed (385 of 772)
* line 56: mesh export failed (see Log Viewer for details)
* line 57: BEGIN: System.Runtime.InteropServices.SEHException
* line 58: Message: External component has thrown an exception.
* line 59: Source: Maxwell
* line 60: BEGIN STACKTRACE: 'System.Runtime.InteropServices.SEHException'
* line 61: - at Cmaxwell.createMesh(Cmaxwell* , Cobject* , SByte* , UInt32 , UInt32 , UInt32 , UInt32 )
* line 62: - at Maxwell.Scenes.Scene.MeshWriter.BeginMesh(String Name, Int32 nVertexes, Int32 nNormals, Int32 nTriangles, Int32 nPositionsPerVertex)
* line 63: - at Maxwell.Rhino.mxMesher.WriteMesh()
* line 64: - at Maxwell.Rhino.mxMesher.ExportGeometry(Boolean selectedObjectsOnly)
* line 65: END STACKTRACE: 'System.Runtime.InteropServices.SEHException'
* line 66: END: System.Runtime.InteropServices.SEHException
* line 67: ExportScene, _info, total export time: 00:01:02.6093750
* line 68: OnEndWriteMxs, _notify, mesh export was cancelled
* line 69: mxLogView.OnShowWindow, _info, sz=838x555h, loc=96,215(virtual), pWnd=66360