Giter Site home page Giter Site logo

Comments (3)

GordonLutz avatar GordonLutz commented on June 14, 2024

Here is also the picture of the SVG i attached. The Gcode correnctly adds my program begin sequence but then again makes really weird paths.
image

from svg2gcode.

sameer avatar sameer commented on June 14, 2024

Hi Gordon,

Thanks for sharing your SVG. It contains some rectangles in the defs section:

    <rect x="137.88582" y="357.08892" width="207.83468" height="35.35534" id="rect50"/>
    <rect x="313.95541" y="288.49957" width="259.50819" height="40.305087" id="rect46"/>
    <rect x="317.49094" y="246.78027" width="257.38687" height="37.476659" id="rect45"/>
    <rect x="323.1478" y="205.76807" width="279.30718" height="38.183766" id="rect44"/>
    <rect x="318.90516" y="156.2706" width="352.07062" height="36.855339" id="rect43"/>
    <rect x="10.606602" y="12.020815" width="282.39297" height="386.58131" id="rect41"/>
    <rect x="16.263456" y="30.405591" width="255.26555" height="340.82547" id="rect40"/>

With the latest release, svg2gcode now renders shapes. Because I never implemented handling for defs those shapes are just being rendered (incorrectly).

from svg2gcode.

sameer avatar sameer commented on June 14, 2024

Generated gcode for the image you shared and it looks good to me now:
image

from svg2gcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.