ShowPoint error?

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
mangchy
Posts: 15
Joined: 08 Nov 2005, 03:06

ShowPoint error?

Post by mangchy » 24 Nov 2005, 08:23

Hi!
C++ Builder 6.0


In Viewer example ShowPoint if do x =5, y =5, scale = 22000 image come out.
this time, scrollbar range is not correct.
why?

and Can not gerber file read at this program?
Is no there schedule?

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

Post by support » 25 Nov 2005, 17:55

Hello,

This bug has been fixed. Corrected Viewer demo is available on: http://www.soft-gold.ru/download/CADImp ... O_BCB6.zip

Very soon it will be available in a updated CADImportVCL.

Segery.

please post questions to the forum or write to support@cadsofttools.com

mangchy
Posts: 15
Joined: 08 Nov 2005, 03:06

Post by mangchy » 25 Nov 2005, 18:08

Hello,

Though tried test being downloaded source, is same still.
If do IsBigScale by true and do x = 390, y = 350, scale = 22000 in show point, image does not look.
But, become exactly if do after do to do some measure zoom in by a mouse.

Because there is no space that upload image source, is inconvenient as do not upload

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by support</i>
<br />Hello,

This bug has been fixed. Corrected Viewer demo is available on: http://www.soft-gold.ru/download/CADImp ... O_BCB6.zip

Very soon it will be available in a updated CADImportVCL.

Segery.

please post questions to the forum or write to support@cadsofttools.com

<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote"><s></s>

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

Post by support » 29 Nov 2005, 18:21

Dear Jeong Kwon Lee,

The renewed CADImportVCL is available on: http://www.cadsofttools.com/download/CADImportVCL.zip

Besides the big set of the fixed bugs and improvements module SGImage.pas has been changed. New ShowPoint will work correctly.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

mangchy
Posts: 15
Joined: 08 Nov 2005, 03:06

Post by mangchy » 08 Dec 2005, 16:12

Hello,
Tried test being downed library.
Do and tried test by IsbigScale = true in Viewer example in C++ Builder 6.0.
By the way, Showpoint function does not operation.
Compiled your example gets a fine operation.

Why does example operate inaccurately with your compiled example program?

and received your license version before a week and is programing.
If your library is modified, how should be applied?

Though project that is doing present must finish in fizzing time, is delayed because of Showpoint function.
please ask fast reply because must set the due date necessarily.

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by support</i>
<br />Dear Jeong Kwon Lee,

The renewed CADImportVCL is available on: http://www.cadsofttools.com/download/CADImportVCL.zip

Besides the big set of the fixed bugs and improvements module SGImage.pas has been changed. New ShowPoint will work correctly.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

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

Post by support » 08 Dec 2005, 20:07

Hello,

Could you please describe in detail what and how are operating with Showpoint step by step for we'd try to repeat this bug and fix it. Whether this problem occures with no matter what file is loaded or with specific only. If so could you please send it to us on support@cadsofttols.com.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

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

Post by support » 09 Dec 2005, 15:19

Dear Jeong Kwon Lee,

TsgImage.ScaleMMWidth defines the order of scaling of a drawing on the screen.

property ScaleMMWidth: Double;
Description:
If it is set to ‘-1’ this property isn’t being used.
If real width in millimeters of the drawing is known then call this property with this known parameter.

Set this property after loading of the file, for example:
...
sgPaintBox->LoadFromFile(FileName);
...
FImg = dynamic_cast<TsgDXFImage *>(sgPaintBox->Picture->Graphic);
sgPaintBox->ScaleMMWidth = FImg->AbsWidth();
...
ScaleMMWidth is being used by ShowPoint for absolute scale image changing.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

Post Reply