@mrhe I would love to and that does make sense with the Display.Pipeline. I hadn’t tested anything in a large model yet but those are the kind of models I would typically be working with so performance is definitely important in that regard.
I think the community would really appreciate and benefit from such a tool. I’m only one user but I’ve always been interested in ways to “speed up” interactions with the UI/UX in Rhino. It’s a powerful software but aliases can only go so far and I find myself often wanting a contextual UI that is directly in the viewport related to what I am modeling/modifying. (just my 2 cents)
@csykes good to hear that as validation. Did you go with Eto for Crash?
Thanks Michael, I used such a type of menu with other softwares and I found it very comfortable, easy to be confused but if well structured great instrument
I created a class. I described the sequence for creation (from circle creation to sector selection) in the GPT chat. and he wrote almost 80% of the code. I only made corrections and additions. So I did everything in 2 days.
UITimer is part of Eto.Forms. We use it for animations. Nothing fancy, really. Set the interval quite low, and update the value you are animating in the Elapsed event.
No it doesn’t.
That’s why we really hope Eto can be developed to support the customization of UI controls as well as the possibility of docking the Eto.Forms.Form on the Rhino Viewport! @curtisw
Here’s a short clip of Shape’s widget that @mrhe and I are working on.
Could you try doing a similar hack as we do with WPF, but with Mono? I don’t have a Mac and can’t test this…
Something like this:
using Eto.Forms;
using Eto.Drawing;
using MonoMac.AppKit; // or using Xamarin.Mac;
void ApplyMacTransparency(Window form)
{
// This will get the native control object, which should be an NSWindow for macOS
var nativeWindow = form.ControlObject as NSWindow;
if (nativeWindow != null)
{
nativeWindow.BackgroundColor = NSColor.Clear;
nativeWindow.IsOpaque = false;
nativeWindow.AlphaValue = 0.0f;
}
}
Eto.Style.Add<Window>(
"transparent", form =>
{
ApplyMacTransparency(form);
});
It’s my mistake , when running on the mac., Could not load file or assembly ‘MonoMac, Version=0.0.4.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
I am writing with Windows. I installed MonoMaс.Standard to compile the code. this is my mistake.
I’m running a test on a macbook with an M1 arm chip. I think. I need to write code on macOS to test it. I can’t figure out how to write code on Windows to work for macOS…
I also noticed that if you write C# code through nod in Rhino8 macOs on Grasshopper there is no option to connect using MonoMac.AppKit;