Adding Slicing to LCNC for DLP and LCD Printers

More
16 Oct 2019 06:41 #147970 by Bari
I'm working on support for slicing 3D models into layers for DLP and LCD type printers controlled by LCNC.

The GUI will use QtPyVCP github.com/kcjengr/qtpyvcp/

I have been looking a few different ways to synchronize image layers in a SVG that are displayed in sync with Z-axis movement with a projector or LCD onto the photopolymers.

One way is to build on what Andy had proven a few years ago using Python and Cairo.




Python code that shows layers using Cairo, but it gets the Z-coordinate from LinuxCNC HAL, so is a bit specific to the application. The operative code is
def expose_cairo(win, event, data):
cr = win.window.cairo_create()
x, y, w, h = win.allocation
cr.rectangle(x, y, w, h)
cr.set_source_rgb(0,0,0)
cr.fill()
cr.scale(data, data)
print "Rendering %s" % data
data.render_cairo(cr=cr, id=data)
return True

Python Code to display a single slice of SVG file as a LinuxCNC HAL component
github.com/andypugh/SVG_Slicer

I was also considering using custom M-codes to get the SVG layers.

Wonder what ideas people have for this? Other approaches might be using ImageMagick or GraphicsMagick for slicing and display.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
16 Oct 2019 06:46 #147974 by pl7i92
nice projekt but does a CNC control realy need to be displaying all layers
the most comen Printer do not display any line of code at all
it is more a need of temps and speed
BUT i welcome this to be a improvement of the system to a full Mashine control

Please Log in or Create an account to join the conversation.

More
16 Oct 2019 06:56 #147978 by Bari
Code is not displayed. The first video shows the image layers (slices) being displayed by the projector that cure the photopolymer for each physical layer printed.

Please Log in or Create an account to join the conversation.

More
31 May 2020 05:27 #169477 by Bari
Decided to use Slic3r for slicing and a SVG widget for QTPYVCP.
forum.linuxcnc.org/show-your-stuff/39213...d-msla-mlcd-printers

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum