Andrew-Dickinson / photonic-etcher

Generate exposure masks for Anycubic printers from PCB Gerbers
https://andrew-dickinson.github.io/photonic-etcher
MIT License
86 stars 10 forks source link

Support for elegoo mars 2 pro #2

Open helmet86 opened 2 years ago

helmet86 commented 2 years ago

Hello,

This Project is what I have been looking for weeks now. Is there a way to support elegoo printers or export to stl file for bigger support on other printers ?

t2rtech commented 2 years ago

Great Project!! Congratulations, and thanks for sharing! +1 for STL Support, allowing use with third-party slicers like Chitubox

AABatteries commented 2 years ago

Interested in support for Elegoo Mars 3 as well, so Chitu-based printers and/or .stl export support for a more generic approach :)

Andrew-Dickinson commented 2 years ago

Hey folks, STL support is something I considered. However, I think the existing tooling is pretty close for getting you there. If you open Gerber files with Fusion 360, you can render them into 3D models and export to STL relatively easily. Thomas Sanladerer demonstrates this technique in his video on this process.

My goal with this project was a "one click" workflow for going straight from gerber to printable file, which I have achieved for the Anycubic printers (or I at least I hope to shortly). I'm happy to consider other printers if there's demand for it.

What is the file extension used by the the Elegoo Mars printers?

daxliniere commented 2 years ago

Yes, I agree Andrew, STL support seems like a step away from the underlying concept. Going from a Gerber file to a 3D model to a flat/sliced file is a bit backwards.

helmet86 commented 2 years ago

I tried the process from Thomas to convert Gerber > SVG > Fusion STL. But the particular file generated from KiCad somehow was garbage already converted to SVG. After import to Fusion 360 the sizes are not correct anymore and pads are incomplete. Also tried to use different software i could find to convert Gerber to SVG and nothing did the job right.

So if your tool could also support Elegoo printers would be very helpfull to remove the errors introduced due to rescaling etc.

Mars 2 Pro details from chitubox and attached also file example with 3D-benchy. Format is .CTB

image 3DBenchy_CTB.zip

Andrew-Dickinson commented 2 years ago

@helmet86 Does the board preview in photonic-etcher look correct for your boards? I've never tried using KiCad gerbers, maybe they have a different encoding?

Photonic-etcher uses a third-party JS library called tracespace to identify gerber layers, render board previews, and convert to SVG. I suspect tracespace handles any peculiarities of the KiCad gerber exports, but like I said, I've never tried it.

Kobaloi commented 2 years ago

Love this idea. And great work getting it to work on the anycubic machines. I'd also love to do this with the Elegoo machines.

Coffee2CodeNL commented 1 year ago

+1 for Elegoo

github-1a commented 1 year ago

+1 for Elegoo

Elegoo printers are truly wide spread, especially MARS 3 and SATURN are great for this purpose. Its really a great "one click" way. Rather I will not tell you how awkward conversion I still use for my Saturn.

melx2 commented 1 year ago

+1 for Elegoo

Support for Chitubox files would be great. I've tried the Thomas Sanladerer way and like others I found there were issues subtracting the traces to create the stencil. Your one click approach looks good.

dsmaddalena commented 1 year ago

The problem for the Saturn through Mars 4 DLP is the .ctb format, which requires requesting the SDK from Chitu Systems to break through the encryption. Elegoo has moved on to .GOO format starting the the Saturn 3/Mars 4 6k, so proper open source. The positive about opening it up to .ctb would be possible coverage for quite a few brands that were bound to the encrypted Chitu boards... Phrozen 4ks and onwards are using them. It's about 3 years worth of consumer printers.