Jump to content

SVG generator


taskman

Recommended Posts

Posted · SVG generator

Hi

I have been looking around for a slicer to use for my DLP printer. I think I would like to use CuraEngine. Any chance of adding SVG export to it? CuraEngine seems to be extremely fast. I actually had to open the gcode file to make sure it actually did something. It only took 5 seconds to do what SkeinForge takes 15 minutes to do

 

  • Link to post
    Share on other sites

    Posted · SVG generator

    No plans for it. But, if you play around in the engine code, there are debug options to export HTML files with embedded SVG. Pretty sure those could be adapted to export proper SVG.

    I'm surprised nobody made some good software for DLP printers yet. I have some code laying around that generates slice bitmaps from 3D files using your 3D card, extremely quick. In the end it did not work for FFF printers, but it should work for DLP. Highly experimental code, but willing to share it so someone who wants to develop it.

     

  • Link to post
    Share on other sites

    Posted · SVG generator

    Cool. I will have a look. Maybe I can just read the gcode and create an image from that like what I did for the milling software I wrote. I want to have the ability to have less than 100% infill like with FDM printers so this is where CuraEngine is going to shine.

    This guy wrote something, http://www.thingiverse.com/thing:40778, but I think it is in C# so it reduces the market. He also created his own basic slicer.

     

  • Link to post
    Share on other sites

    Posted · SVG generator

    Do I need to make a code change or just a setting on the engine? My C/C++ skills are non-existent. Closest I have to C skills are to develop on the Teensy 3

    When I run the engine with -help I get this

    C:\Program Files (x86)\Cura_13.12>CuraEngine.exe -help

    Cura_SteamEngine version 13.12

    usage: CuraEngine [-h] [-v] [-m 3x3matrix] [-s <settingkey>=<value>] -o <output.gcode> <model.stl>

     

    I tried this in the hopes that it would see I want an SVG output, but I see it generated gcode

    "C:\Program Files (x86)\Cura_13.12\CuraEngine.exe" -o test.svg "herringbone 25.stl"

     

  • Link to post
    Share on other sites

    Posted · SVG generator

    It would require C++ hacking.

    Or, you could post-process the GCode into an SVG with a python script.

     

  • Link to post
    Share on other sites

    Posted · SVG generator

    Do you have documentation for the command line options somewhere?

    Does the engine use a config file by default to slice? I see when I ran the engine in a command prompt without key/values it still sliced without a problem. I assume it is looking for a config file somewhere by default

     

  • Link to post
    Share on other sites

    Posted · SVG generator

    Hello Daid,

    Could you please help me how I can post process the gcodes into an SVG using Python scripting?

  • Link to post
    Share on other sites

    Posted · SVG generator

    Why do people want SVG output? Is this for visualization? There are already 3 or 4 fantastic, free gcode visualization tools. Is anyone interested in more details about that? Or is there some printer out there that only takes SVG?

  • Link to post
    Share on other sites

    Posted · SVG generator

    It's for use in DLP/LCD resin printers that project images layer by layer to cure photopolymer resin. The desire is to share as much code in the STL and layer slicing engine so that the resin printer toolchain doesn't need to re-invent all of the STL and slice handling behavior completely independently.

  • Link to post
    Share on other sites

    Posted · SVG generator

    Any new news regarding this ? Does anyone have a code to transfer from GCode to SVG file format ?

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...