If you are trying to run MatterControl 2.19 (I believe this impacts multiple versions) on Linux and the application crashes with an error about not being able to find Visual Basic, then it may be due to color, depth, or FSAA settings.
For example, this error:
exception inside UnhandledException handler: (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:FileNotFoundException member:(null)
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Change the lines in this file (/usr/lib/mattercontrol/appsettings.json )to use 4 FSAA samples or 0 (zero). It could also be related to color depth, but unless you are running on an old machine with an old version of Linux, then it is probably going to be the anti-aliasing option.
{
"Agg": {
"GraphicsMode": {
"Color": 32,
"Depth": 24,
"FSAASamples": 4
},
"ProviderTypes": {
"DialogProvider": "MatterHackers.Agg.Platform.GtkFileDialogProvider, agg_platform_gtk"
}
},
"MatterControl": {
"Slicer": {
"Debug": false
}
}
}
Categories: 3D Printing, Linux
No Comments »