Is it possible to add a custom machine?

Hi,

is it possible to add a custom machine. I build a custom Snapmaker Original with three X-Extension moduls. Since Snapmaker Luban 3.15.2 i’m no longer able to add an custom machine with the specific machine settings X=221, Y=221 and Z=221.

Can i modify the Luban program?

Hope you can help me.

Personally, I’d just switch to Cura. It’s a very similar interface to Luban’s for 3D printing.

If you’re using Laser or CNC, there are other options. Search the forums.

But if you really want to stay on Luban. I recall there being some JSON files on disk that recorded the machine’s parameters. I’m having trouble finding them now though. The files I think have those parameters (I’m on mac, /Applications/Snapmaker Luban.app/Contents/Resources/app/resources/luban-case-library/printing/) appear to be binary now.

Luban is OpenSource ( GitHub - Snapmaker/Luban: An easy-to-use 3-in-1 software tailor-made for Snapmaker machines. ), but doesn’t appear to be up to date with Snapmaker’s private repo. If you’re not afraid of compiling your own, try editing:

  • src/app/machines/snapmaker-original-extended.ts
  • src/server/constants/index.js

Using those files, it appears those values are minified into Contents/Resources/app/src/app/app.20fe5fef4afa0ef7f7b0.bundle.js (it’s likely that’s hash will change). If you’re comfortable modifying minified JS, try editing that file. Make backups first. :slight_smile: Search the file for Snapmaker Original with Z-axis Extension Module, and you should see size:{x:125,y:125,z:221} somewhere nearby. It’s a pain to edit minified JS because it doesn’t have any newlines. I see it in two different places, consistent with it existing in two different source files.

1 Like