Skip to content

SVG - Failed to parse polyline/polygon points. #2638

@RabihKaddour

Description

@RabihKaddour

SVG - Failed to parse polygon points

Image

Points string[] contains spacing ‘ ’ and commas ‘,’.

Image

Result:

Image

To resolve the bugs, I've made some changes to the code.

The modified code is attached, "GCodeFromSVG-modified.cs".

Method: parseBasicElements(XElement svgCode, int level)

Image Image Image

Result:

Image

File:

GCodeFromSVG-modified.cs.txt

SVG Files:
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions