SD Card Files Connected to Windows Network Drive

Good Afternoon!
I am working on macros and figuring out the best workflow for using this machine. I am new to fluidNC but not new to the CNC world, I have built a CNC back in the day using GRBL hat with an arduino and various other machines. One thing that I am finding annoying with fluidNC is that I have to drag and drop the files into the webUI that I want to run, adding another step that I could mess up. Especially with no built in Gcode preview in the webUI. So I am wondering if there is a way to setup a network drive for windows that can view the files that are on the SD card so that I could save files directly from my CAM software to the machine. I would also be curious on what other peoples workflow looks like.

Thanks!

1 Like

Hmmm. I don’t know of a good way to do that. I know in Linux you could write a script to watch a folder and then at least call something when a new file showed up or was modified. Then you could probably use a curl call to upload the file. But I have no idea if the curl call is possible. And no idea if windows can do something similar.

What about having two sd cards that you move with you?

1 Like

You can use curl with FluidNC. I do it when working on WebUI extensions.

http://wiki.fluidnc.com/en/features/wifi_bt#upload-with-curl

I was thinking similarly with a directory watcher which you can do on Windows. That feels a bit fragile though.

At one point I had it so you could right click on a file and send to the SD card but I don’t use that anymore.

1 Like

Hmm, thanks guys. I think I will just use a PowerShell script with the right click menu for now. Kind of a bummer there isn’t a cleaner setup. I would use openbuild’s control software since it has everything I want, but streaming Gcode though it seems to be laggy and not as smooth as the SD card.

Yea you could try a different gcode sender like UGS which has good FluidNC support.

I avoid gcode senders since the connection seems like another possible point of failure.

You can also try the tablet extension for the WebUI (exists for V2 and V3) which includes a gcode preview. I don’t use it.

My solution for the time being is a powershell script that looks at a folder I tell it to and if there are any changes in the folder it uploads that file over curl.

1 Like