Drag and drop, import/insert/pictureframe

unhandled

#1

It’s been a while since I’ve used Windows Rhino but seem to remember being able to add objects to the model by dragging and dropping from the file explorer (e.g. dragging in a .jpg image automatically runs the pictureframe command, a .dwg runs import etc.).

Are there plans to include this functionality in mac rhino?


(Nathan 'jesterKing' Letwory) #2

I am working on the drag&drop code for the Mac v6 version.

Dropping materials (.rmtl), environments (.renv) and image files onto the viewport works already here on my dev machine - still working out some kinks and cleaning up the code.

Once I’m confident this works well I’ll hook up also actions like importing third-party files and so on.

I don’t know when I am ready to merge my code with the master branch though, but when it is in you’ll probably read about it.


#3

Amazing! Thank you!


(Nathan 'jesterKing' Letwory) #4

Drag&Drop of image files onto Rhino partially works now. Due to a slight error the latest WIP will do only Picture, even if you select wallpaper or anything else. But dropping an image will now trigger as the Picture command.

I already fixed that, but it’ll be in the next WIP instead.

More fun I guess is that you can now also drop 3dm files, dwg files, etc. on your Rhino (viewport).


(OXII) #5

This is absolutely killer!

Will it also work with PDF files? Sometimes you get pdf technical drawings and it would be great if you can just drag and drop it into your drawing and it vectorizes it. I know it already works when you import it.

Btw: I’ve tested Rhino 6 mac WIP a bit and it seems this will be an absolutely gorgeous version. Not one step forward but two. Besides that it looks gorgeous in Mojave Dark Mode.

Thank you McNeel for all the years of work you put into the mac version of Rhino to give us this great tool to design and draw!


(Nathan 'jesterKing' Letwory) #6

It already does. If you have the latest WIP you can just drop a PDF on a viewport


(OXII) #7

Absolutely wonderful. Thanks a lot Nathan!


#8

hi @nathanletwory and @dan come here and get a hug for this. i have been waiting to see this happen for a long time and have just found out. :fireworks:

some thoughts:
would it be possible to build in a checkbox which remembers my choice? dragging and dropping materials from the finder onto objects works without bleep box. i would like the same for picture frames. maybe having it then set it in the preferences if needed and/or something like pressing alt additionally for the need of the bleep to occur again.

thanks!


(Nathan 'jesterKing' Letwory) #9

Not sure I get what the bleep here means…


#10

“bleep” box = the pop up window when dragging and dropping something onto the viewport.

bleep%20box