CADimport Line start Point error

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
fmonteiro
Posts: 6
Joined: 09 Apr 2014, 18:32

CADimport Line start Point error

Post by fmonteiro » 09 Apr 2014, 19:02

hello,,

i have one problem with the reference point of x-axis(zero,zero).
i draw one line, one circle and one polyline, all with (0,0) center/start as you can see in attached image.
i have also an image (500*500) white color.

Why the (0,0) points are not on the exact position of the image?
Where can i define the (0,0) point of the CADImage?
Does the zoom affects the (0,0) point?

Image

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: CADimport Line start Point error

Post by support » 10 Apr 2014, 13:56

Hello,

The (0,0,0) point is the origin of coordinate system, so it always should be on the exact position. You can't define the (0,0,0) point. The zoom doesn't affect the coordinates of any point on the drawing as it's the CAD coordinates, not the screen coordinates.

Thus, you need to check if the base point of some object (line, polyline, circle) is (0,0,0). Unfortunately, it's not shown on your screenshot.

The point coordinates are displayed in the status bar of Add Entity application when you hover the mouse cursor over this point. You can check if the coordinates are correct this way.


Mikhail.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

fmonteiro
Posts: 6
Joined: 09 Apr 2014, 18:32

Re: CADimport Line start Point error

Post by fmonteiro » 10 Apr 2014, 15:14

thank you for your reply.
can you please clearify the (0,0) point of the image, in the picture you can see that all (0,0) points are not the corner of the blank image.

When I open a for example a 500*500 image which corner is the (0,0) point and why it is not located in the CADImage (0,0) default point.

thank you....

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: CADimport Line start Point error

Post by support » 11 Apr 2014, 16:25

Hello,

The problem is related to the drawing algorithm. The raster image is drawn not precisely on the large zoom values, so the image corner is not located in the (0,0) point. Our developers will examine this problem and try to find a solution.


Mikhail.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply