Grasshopper

algorithmic modeling for Rhino

When I type the "Grasshopper" command in Rhino command box, this the message I am getting:

Or in text:

---------------------------
Rhinoceros 4.0  Rhino.NET Command Error
---------------------------
Exception occured during processing of command: Grasshopper
Plug-In = Grasshopper
Font 'Segoe UI' does not support style 'Regular'.

Stack trace:
   at System.Drawing.Font.CreateNativeFont()

   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet)

   at Grasshopper.GUI.GH_DocumentEditor.InitializeComponent() in C:\dev\Grasshopper\1.0\root\src\GH_DocumentEditor.Designer.vb:line 329

   at Grasshopper.GUI.GH_DocumentEditor..ctor() in C:\dev\Grasshopper\1.0\root\src\GH_DocumentEditor.vb:line 1779

   at Grasshopper.Plugin.Commands.ShowGrasshopperEditor(Boolean ShowUponLoad) in C:\dev\Grasshopper\1.0\root\src\GH_GrasshopperCommands.vb:line 22

   at Grasshopper.Plugin.Commands.Run_Grasshopper() in C:\dev\Grasshopper\1.0\root\src\GH_GrasshopperCommands.vb:line 94

   at GrasshopperPlugin.GrasshopperCommand.RunCommand(IRhinoCommandContext context)

   at RhDN_TemplateCommand<CRhinoCommand,RMA::Rhino::MRhinoCommand>.RunCommand(RhDN_TemplateCommand<CRhinoCommand\,RMA::Rhino::MRhinoCommand>* , CRhinoCommandContext* context)
---------------------------
OK   
---------------------------

I am using grasshopper 0.8.0050 and Rhino 4 SR8. I tried uninstalling it, and then installing it again. The same.
It is interesting that until yesterday, everything was fine.

What could possibly be the cause of a problem?

Thank you.

Views: 713

Replies to This Discussion

The obvious explanation would be that the font was modified. It's very strange though Segoe UI is a windows native font and it most definitely should support Regular. I attached the font, try installing it and see if it makes a difference.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

The same thing happens after installing the Segoe UI font
I am think I even got the same message:

---------------------------
Rhinoceros 4.0  Rhino.NET Command Error
---------------------------
Exception occured during processing of command: Grasshopper
Plug-In = Grasshopper
Font 'Segoe UI' does not support style 'Regular'.

Stack trace:
   at System.Drawing.Font.CreateNativeFont()

   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet)

   at Grasshopper.GUI.GH_DocumentEditor.InitializeComponent() in C:\dev\Grasshopper\1.0\root\src\GH_DocumentEditor.Designer.vb:line 329

   at Grasshopper.GUI.GH_DocumentEditor..ctor() in C:\dev\Grasshopper\1.0\root\src\GH_DocumentEditor.vb:line 1779

   at Grasshopper.Plugin.Commands.ShowGrasshopperEditor(Boolean ShowUponLoad) in C:\dev\Grasshopper\1.0\root\src\GH_GrasshopperCommands.vb:line 22

   at Grasshopper.Plugin.Commands.Run_Grasshopper() in C:\dev\Grasshopper\1.0\root\src\GH_GrasshopperCommands.vb:line 94

   at GrasshopperPlugin.GrasshopperCommand.RunCommand(IRhinoCommandContext context)

   at RhDN_TemplateCommand<CRhinoCommand,RMA::Rhino::MRhinoCommand>.RunCommand(RhDN_TemplateCommand<CRhinoCommand\,RMA::Rhino::MRhinoCommand>* , CRhinoCommandContext* context)
---------------------------
OK   
---------------------------


Any ideas?

I uninstalled all Segoe fonts (both Segoe and Segoe UI ones) - 5,6 of them.

And now the Grasshopper works.

Strange.

Thank you for the help David.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service