We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Export only outline/contour in SVG

Home Forums Programming Export only outline/contour in SVG

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55019
    carlsky
    Participant

    Hello! :bye:
    I am using SVG Renderer in a project, to convert 3D object to 2D, but the SVG Renderer is exporting whole wireframe.
    My goal is to convert this SVG to DXF and use it on a laser cutter, so I need only contours without inner edges/verices.
    Is there a way to export only an outline/contour of objects?

    #55096

    Hi, can you provide a link or a project to test that?

    There’s an example of using SVG renderer here: https://cdn.soft8soft.com/demo/examples/index.html?q=svg#svg_sandbox – but it only renders edges occasionally for semi-transparent objects.

    Co-founder and lead developer at Soft8Soft.

    #55098
    carlsky
    Participant

    You see,
    when we open the exported .svg in the browser the drawing is filled and we can not see the wireframe, but when we open .svg in CAD Application eg. FreeCAD then wireframe is visible (gray color inside object). See attachements.

    I have found this package:
    https://github.com/neurofuzzy/three-plotter-renderer

    but I must try to webpack it, and test it in browser. This package may be a solution ?!?! :bye:

    Attachments:
    You must be logged in to view attached files.
    #55204

    I have found this package:
    https://github.com/neurofuzzy/three-plotter-renderer

    Yeah, I tested that package and it works. I made a simple app as an example: plot_render.zip
    Unfortunately it lacks performance and can hang for a while for medium/heavy-poly objects.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead developer at Soft8Soft.

    #55236
    carlsky
    Participant

    Thank you for the response!
    I will test it out on my complicated models and check the execution time :)
    All the best !! :bye:

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.