What file format for Luban Laser?

Does anyone have a clue on how to use Luban for getting or creating files for Laser cutting/etching?! Every file format I bring in from Illustrator comes in as one layer/object with no ability to change line properties. How the hell do you use it if you have no control over anything?

Also, the reason I am bringing art in from Illustrator is because the Luban Draw app is COMPLETELY USELESS!! No drag select, no copy paste, NO UNDO. Who the hell is perfect when they are creating art?

Signed
Annoyed just like everyone else

1 Like

Donā€™t use luban, its worthless. Use Inkscape or lightburn.

1 Like

@Atom Heā€™s already made art in Illustrator, are you suggesting thereā€™s a laser control plugin for Inkscape, or youā€™re suggesting only using Lightburn? I donā€™t quite follow.

Iā€™m all for using LightBurn, but I have not installed it yet as I literally got my printer up and runningā€¦this morning. Iā€™m an illustrator guy so I use it for almost everything vector. It can save to many formats (dxf is particularly useful). The problem with Luban is, as you say, is that it is almost completely useless.

The problem I have is that i have had enough time to try other stuff out. Can you connect directly to the 2.0 from LightBurn? I saw in the chats earlier that someone had connected their 1.0, but I didnā€™t see anything yet about the 2.0.

How do I get files from LightBurn to the 2.0? what format do I use? Is there a format available in LightBurn that is not available in something like Illustrator? what format is 2.0 looking for? I have not seen much in that area.

Iā€™d love to know more about your experience with LightBurn. Tell me more, tell me more (ā€œDid you get very farā€?)

Thanks,
Annoyed

@brent113 & @gkean13

Sorry I misunderstood.
brent, I am not aware of any gcode plug-in for illustrator.

Gkean13,
Lightburn will work for 2.0. It does not connect to the printer directly as far as I am aware. But it can generate the gcode needed. And that is the difference, the SM (and most other computer controlled fabrication equipment) run on various flavors of gcode. Gcode is in short a list of directions/commands for the machine to fallow.so an analogy would be; If the .svg is a map with a marked location, gcode is turn by turn directions to get there from wherever you are (home :wink:). Then you simply put it on a flash drive and print from the touch screen. If you need more help let me know. Iā€™m a bit tired tonight but I would be more than happy to help in the morning.
Cheers,
-Atom

2 Likes

Luban actually works fine for laser as long as youā€™re prepping your files in another program. (just starting to play with Lightburn and can see itā€™s appeal)

For cutting you need to use an .svg.
For engraving you can use svg, png, jpg, jpeg, bmp or dxf.
Create your artwork as layers in Illustrator or Inkscape or any other vector program.
Then you can just export whatever layers/elements you want to have different settings for as separate files.
Export paths you want to cut as svg.
Export whatever you want to engrave as any of the above formats (I prefer png)

Hereā€™s an example of one I did as 3 parts (sorry donā€™t have a cutting one right now):


The letters are one file (svg filled) The house and laurels are png with two different powers.
I exported all of them at the same size from Affinity Designer (great Illustrator clone thatā€™s $50) and imported all 3 into luban. Adjusted their settings individually and then printed them all at once (technically they print as 3 different passes).
-S

1 Like

Luban only understands part of the SVG file format. Stick with simple filled paths only (a quick test shows that it doesnā€™t really understand stroke properties, even if it displays them correctly in some views), and donā€™t expect Luban to act as anything but an SVG to gcode converter. If you must arrange objects individually from inside Luban, try saving them to different files, then import one at a time.

(Illustrator, in my experience, also has a rather imperfect understanding of the SVG format, but hopefully that isnā€™t the problem in this case.)

If you use multiple files based on a single piece, how do you arrange for lining everything up? just write down the work location values and re-enter if you have to?

Thanks,
Annoyed

Drag them in and they should center automatically.
If not, right click and you can select ā€œreference positionā€ -> ā€œcenterā€
They should all be the same size if you exported them as the same size.
You can select them in the object list and change their size if you need to.
You might need to ā€œpreviewā€ to see them all at once - especially if any of them are on white backgrounds.
-S

And yetā€¦

This is how my file comes inā€¦

image.png

When it started out like thisā€¦ā€™

.svg AND .dxf, the only two formats this idiot program actually understands, and it gets it wrong whether in mm or inches. How can they, in good conscience, release this hopeless piece of garbage as the only application that can actually talk to this device.

Signed,
Getting Beyond Annoyed

1 Like

Share your file.

I havenā€™t had any problems with bringing in files in .svg.

BTW, I did go back to 3.8 because I was having issues with 3.9. Mainly the problem of it not showing stl sizes.

-S

It is not, any marlin console can talk to the SM2. The best i have heard of is Simplify3D (aka. S3D) It is a slicer and an interface. There are others as well such as ponterface.

Thatā€™s fine and good, but Simplify3D is, well, for 3D interaction. Does it work for managing the laser portion of the SM2? Is there a decent 2D application that can talk to the SM2? The 2D layout portion of the Luban software is virtually useless. You literally canā€™t even draw a line, only shapes.

Upon some reading, lightburn does have a machine interface, I would say download it and try

I have and I wasnā€™t able to make any kind of connection. The software looks awesome, but it didnā€™t see the SM2 when I connected to it via USB as instructed. If there is another way or some other thing I have to do, it would be greatly appreciated.

Unfortunately I have not worked with laser engravers much so I donā€™t know of any other options. Is there a reason you need it to connect directly to the printer?

Not other than Luban is a complete piece of garbage

Then donā€™t connect to it that wayā€¦ use lighrburn, save the gcode to a USB, put the USB into the SM and print from the touch screen

1 Like

Iā€™m having the same issues with file formats, itā€™s comforting to see Iā€™m not the only one. Spent HOURS just trying to get a very simple line file to open correctly in Luban. Iā€™ve tried all the ā€œcompatibleā€ file formats, from both Illustrator and Inkscape. I either get blank/white boxes, or files that are entirely too small, which then get pixelated when I increase to the correct size.

Iā€™ve tried the last 3 versions of Luban. 8 has been the best, but still doesnā€™t work. Is spending MORE money to buy something like lightburn seriously the only solution? I"m really regretting buying this machine.

And itā€™s the exact same issues with the CNC files.

Can anybody tell me what a proven path is to get an Illustrator file into Luban, or any other software I donā€™t have to pay for? Iā€™ve tried using Inkscape with no luck.

Jen

Luban has a lot of problems but the simple things it does fine.
Iā€™ve had no problems with importing svg files from both Inkscape and Affinity Designer ($50 illustrator clone) as long as they were prepared properly in those programs. (We can argue whether it shouldnā€™t matter, but Iā€™ve had the same problems in Easel and other CNC programs, so Luban isnā€™t the only one)
Sorry I donā€™t have illustrator anymore, wasnā€™t compatible with new mac and too expensive, but principleā€™s should be the same.

All the layers or elements need to be converted to paths or curves. If theyā€™re bitmap or raster than they wonā€™t be handled properly. In Designer I select the text and ā€œconvert to curvesā€. In Inkscape, I select ā€œobject to pathā€. I can tell if something is correct in Inkscape by selecting the ā€œedit path by nodesā€
Screen Shot 2020-10-10 at 12.32.16 PM
If I click on the object or text, I can then see that itā€™s a path:
Screen Shot 2020-10-10 at 12.32.49 PM

One thing that Inkscape is really great at is converting bitmap artwork or logos from a jpeg or png file to vector:


Result:

Once everything is properly converted to vector than sizes shouldnā€™t matter and you should be able to enlarge to any size without degradation.

As far as saving from Inkscape you should save as ā€˜simple svgā€™:

From Designer I make sure I select ā€œexport text as curvesā€ just to be sure, even though Iā€™ve already converted and then just save as svg.

Hopefully that helps. Luban has itā€™s limitations but once you get to know some of itā€™s quirks it works fairly well.

-S