After convert DWG to SVG some point is different from source

I try to convert dwg to svg then some point is not same source file
image.jpg (235.1 KB)

my code is: (.net core 3.1, Aspose.CAD 21.10.0.0)

 using (var stream = file.InputStream)
            using (Aspose.CAD.Image image = Aspose.CAD.Image.Load(stream))
            {
                // Create an instance of CadRasterizationOptions
                CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();

                // Set page width & height
                rasterizationOptions.PageWidth = size;
                rasterizationOptions.PageHeight = size;
                rasterizationOptions.DrawType = CadDrawTypeMode.UseObjectColor;

                // Set Graphic Options
                rasterizationOptions.GraphicsOptions.SmoothingMode = SmoothingMode.HighQuality;
                rasterizationOptions.GraphicsOptions.TextRenderingHint = Aspose.CAD.TextRenderingHint.ClearTypeGridFit;
                rasterizationOptions.GraphicsOptions.InterpolationMode = InterpolationMode.High;


                // Create an instance of JpegOptions for the resultant image
                var optionJpg = new JpegOptions();
                var optionSvg = new SvgOptions();

                // Set rasterization options
                optionJpg.VectorRasterizationOptions = rasterizationOptions;
                optionSvg.VectorRasterizationOptions = rasterizationOptions;
                optionSvg.MinimumLinewidth = 0;


                // CAD to JPG
                //image.Save(jpgFileNameWithFullPath, optionJpg);
                image.Save(jpgFileNameWithFullPath, optionSvg);
            }

            return new ContentResult
            {
                Content = $@"\Content\cf-images\{jpgFileName}"
            };

image.jpg (235 KB)

Hello @NAMTAN

May you kindly provide source DWG file for further investigation?

Hello

I gave dwg and svg (converted) in the attachment.
My problem is that the lines in the image are missing.

Best Regards,
Phimonphan Khangkhan

ในวันที่ จ. 15 พ.ย. 2021 เวลา 13:55 Denis Demenko via Free Support Forum - aspose.com <forum@aspose.com> เขียนว่า:

(Attachment test.dwg is missing)

(Attachment ec436ed7-4ce3-42cb-92f3-22dcd9686985.svg is missing)

I gave dwg size 21KB and svg (converted) size 102 KB in the attachment. My goal is to convert dwg to svg. My problem is that the lines in the svg image are missing.

ในวันที่ อ. 23 พ.ย. 2021 เวลา 14:47 Free Support Forum - aspose.com <forum@aspose.com> เขียนว่า:

(Attachment testDWG.dwg is missing)

(Attachment c68e7b7e-81bc-40ff-a9b9-28dcec0644e0.svg is missing)

@NAMTAN
we don’t see DWG source file on attachments. Probably you can share it through a cloud storage an provide us with a link?

Hello
Try loading the file again in this link.
https://1drv.ms/u/s!AuflLXEGdxCN9BMvGZCJIdL_fRD2?e=gkzf9x](https://1drv.ms/u/s!AuflLXEGdxCN9BMvGZCJIdL_fRD2?e=gkzf9x

ในวันที่ พ. 1 ธ.ค. 2021 เวลา 12:15 Denis Demenko via Free Support Forum - aspose.com <forum@aspose.com> เขียนว่า:

@NAMTAN
Thanks for sharing. We’ve created corresponding task CADNET-8442 to investigate the issue

could you please provide some other samples of hatches you have the issues with?

The issues you have found earlier (filed as CADNET-8442) have been fixed in this Aspose.CAD for .NET 22.2 update. This message was posted using Bugs notification tool by Oleksii.Gorokhovatskyi