WPF Dialog with Images

Hi!

I’m working on an opensource nesting plugin for Rhino, here the Github: https://github.com/RafaeldelM/nesting , as soon as I have the basic staff running, I will document it! :slight_smile:

I’m creating a docking panel, in order to show progress and cancel it. Based on @dale examples, (rhino-developer-samples-6\rhinocommon\cs\SampleCsWpf), but I can not add buttons with images. I was trying to do it in an standalone WPF project outside of Rhino and it works. Any idea about what can be the problem?

Thanks,

Rafa

1 Like

Hi @lucabrasi,

How are you loading the images from your assembly? Is there some code we should be looking at?

– Dale

Hi!

Fixed! Just we need to change the Build Action, and the Copy to Output Directory!

Thank you!

Great news Rafa!!
Will we be able to use it from Grasshopper or at least through some .dll assemblies?

Sorry for posting offtopic question.

Hi! :slight_smile:

Yes, I think it will be easy! Now, the solution structure is DeepNest Lib and DeepNest Plugin. Basically all the logic is on DeepNest Lib. Just we need to add a grasshopper plugin! I’m not developing of Grasshopper for 2-3 years! I will see how to do it!

If you want to participate, just let me know! :slight_smile:

Rafa

1 Like