Jump to content
Ultimaker Community of 3D Printing Experts

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

 

  • Share this post


    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.

     

  • Share this post


    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.

     

  • Share this post


    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"

     

  • Share this post


    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.

     

  • Share this post


    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

     

  • Share this post


    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?

  • Share this post


    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?

  • Share this post


    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.

  • Share this post


    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

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
         
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    ×
    ×
    • Create New...