Getting coordinates of next point

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

Moderators: SDS, support, admin

Post Reply
fbaumann
Posts: 8
Joined: 08 Aug 2005, 23:29
Location: Germany

Getting coordinates of next point

Post by fbaumann » 17 Jun 2006, 13:50

Hello, I am using CadImportVcl Vers. 5.2.5 (BCB 6) and like to create a function which search the next available DXF point to the mouse cursor. Can you give me some help for this. Is there a easy way to do this?

Another thing: is it possible to rotate a drawing around a user defined point (3D-Orbit rotation center)? Is there a rotation matrix I can work with?

regards Frank

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

Post by support » 19 Jun 2006, 12:19

Hello Frank,

Thank you for the questions.
We need some time to prepare exact answers.

Sergey.

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

fbaumann
Posts: 8
Joined: 08 Aug 2005, 23:29
Location: Germany

Post by fbaumann » 06 Jul 2006, 21:11

Hello Sergey,
any news to my questions? I dont need them urgent, but could you give me please an idea for your time table. Thanks.

Frank

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

Post by support » 07 Jul 2006, 20:14

Hello Frank,

<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Hello, I am using CadImportVcl Vers. 5.2.5 (BCB 6) and like to create a function which search the next available DXF point to the mouse cursor. Can you give me some help for this. Is there a easy way to do this?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
CADImportVCL v.5.2.5 includes demo Viewer (in the ..\cadimportvcl\Delphi\Demos\Viewer\.. folder). This application demonstrates snap to the nearest point (<b>Snap > Snap</b> command menu). The realisation of this feature was improper and hard in usage. That is why we had to redevelop it. We just finish working on this task. It will be available on Monday for Delphi and BCB both.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Another thing: is it possible to rotate a drawing around a user defined point (3D-Orbit rotation center)? Is there a rotation matrix I can work with?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
This task is very difficult. We have examined several ways but they didn't give us acceptable result. We still work on this problem and inform you when receive the result.

Sergey.


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

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

Post by support » 10 Jul 2006, 16:48

Hello Frank,

1. We have prepared a new package of CADImportVCL. It is available on: http://www.cadsofttools.com/download/CA ... .07.06.zip
The search of the next available DXF point can be implemented basing on FSnapControl object(function FSnapControl->GetMouseCoord(X, Y)). Demo Viewer (in the ..\CADImportVCL_site_10.07.06\CBuilder\BCB6\Viewer\.. folder) contains an example of the snap usage.

2. We still work on rotation matrix problem. We'll answer you as soon as acceptable result will be achieved.

Sergey.

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

fbaumann
Posts: 8
Joined: 08 Aug 2005, 23:29
Location: Germany

Post by fbaumann » 10 Jul 2006, 23:25

Hi Sergey,

I tested your demo. If I compile my source code my BCB6 (CadImportVcl V5.2.5) says "E2303 Typname expected". The line which is concerned in the header file: "TSnapControl *FSnapControl;"

If I compile your demo, BCB6 says: "[Linker Fataler Fehler] Fatal: Unable to open file 'WEBSNAP.LIB'". I can not find this file in my installation.

Do I need another lib, obj, ... file for my CadImportVcl?

Frank

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

Post by support » 11 Jul 2006, 11:04

Hi Frank,

It is necessary to check library paths: <b>Tools > Environment Options...</b>, tab <b>Library</b>, option <b>Library path:</b>. There there should not be the ways to your previous 5.2.5 library.

Sergey.

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

fbaumann
Posts: 8
Joined: 08 Aug 2005, 23:29
Location: Germany

Post by fbaumann » 26 Jul 2006, 22:52

Hello Sergey,

I tried everything but it did not work with my CAD Import files. I am 99% sure that in my version of CAD Import VCL V5.25 the SnapControl is missing.

I can now compile your and my example with YOUR demo files. That is working fine.

The last version I get from you was: CADImportVCL_NoSourceCode at June 13th 2006. Can you send me a more actual one? Sorry for my nerving questions.

best regards, Frank

SDS
Posts: 21
Joined: 12 Mar 2004, 11:16
Location: Russia
Contact:

Post by SDS » 28 Jul 2006, 17:18

Hello Frank!

Please contact us on info@coadsofttools.com with a reference on this topic. We'll prepare a package for you.

Dmitry.

fbaumann
Posts: 8
Joined: 08 Aug 2005, 23:29
Location: Germany

Post by fbaumann » 15 Aug 2006, 23:15

Hello,

any news on this topic?

--------------------------------------------
Another thing: is it possible to rotate a drawing around a user defined point (3D-Orbit rotation center)? Is there a rotation matrix I can work with?
--------------------------------------------

Regards Frank

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

Post by support » 16 Aug 2006, 13:24

Dear Frank!

<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">any news on this topic?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Please contact us on support@cadsofttools.com with a reference on this topic in your letter. We'll prepare for you a special issue of CADImportVCL.

<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Another thing: is it possible to rotate a drawing around a user defined point (3D-Orbit rotation center)? Is there a rotation matrix I can work with?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
This problem is under control. We'll inform you when this ability will be implemented.

Sergey.

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

fbaumann
Posts: 8
Joined: 08 Aug 2005, 23:29
Location: Germany

Post by fbaumann » 11 Sep 2006, 16:25

Hi Sergey, is this feature implemented?
Frank


<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Another thing: is it possible to rotate a drawing around a user defined point (3D-Orbit rotation center)? Is there a rotation matrix I can work with?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
This problem is under control. We'll inform you when this ability will be implemented.

Sergey.

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

Post by support » 18 Sep 2006, 15:31

Hello Frank!

Unfortunately we still have no good news for you. The problem turned out much more difficult then it seemed at the first look. We will inform you when the solution will be found.

Sergey.

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

fbaumann
Posts: 8
Joined: 08 Aug 2005, 23:29
Location: Germany

Post by fbaumann » 04 Mar 2007, 18:15

Still no solution to the question below?

Regards Frank

----------------------------------------------------------------
Another thing: is it possible to rotate a drawing around a user defined point (3D-Orbit rotation center)? Is there a rotation matrix I can work with?
----------------------------------------------------------------

Post Reply