Skip to content

Incorrect SVG import (Illustrator) #2713

@Hycode

Description

@Hycode

Hi!
The path in the SVG created with Illustrator is imported incorrectly in the current version (v7.14.1). When there are two decimal points in a row, the Regular Expression decodes it incorrectly.
I made the following modification in the code (GcodeFromSVG.cs, line 760): string argMatcher = @"((-|)\d+(\d+|)((((E|e)(-|+|))|.)\d+|)|((-|).\d+))"; //@"((-|)\d+(.\d+|)((((E|e)(-|+|))|.)\d+|)|((-|).\d+))"; So it looks like it works fine. Although I haven't tested it fully.
Regards: István

Image Image Image Image 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