Search found 7 matches
- 09 Jan 2015, 18:28
- Forum: CAD VCL
- Topic: Base operations with TsgCADdxfImage - please help
- Replies: 7
- Views: 34985
Re: Base operations with TsgCADdxfImage - please help
For all (maybe usefull)
When i set default Draw matrix
So 1 CAD UNIT = 1px on display device.
Peter

When i set default Draw matrix
Code: Select all
m := StdMat(MakeFPoint(1,-1,1), cnstFPointZero);
//.. draw
Peter
- 08 Jan 2015, 17:15
- Forum: CAD VCL
- Topic: Base operations with TsgCADdxfImage - please help
- Replies: 7
- Views: 34985
Re: Base operations with TsgCADdxfImage - please help
Thanks Mikhail. But Still i dont understan how i cals how much DXF units is one pixel on screen. But I will fight
Thank you for your help on our project.
with respect
Peter

with respect
Peter
- 06 Jan 2015, 21:07
- Forum: CAD VCL
- Topic: Base operations with TsgCADdxfImage - please help
- Replies: 7
- Views: 34985
Re: Base operations with TsgCADdxfImage - please help
Its true, thank you Mikhail, you are my rescuer :) Please last question, i promise :) I have a map of city in DXF/DWG. I need gets map scale 1:X of this file. I think that: _oDxf.CustomDraw := False; defM := StdMat(MakeFPoint(1,1,1), cnstFPointZero); _oDxf.SetDrawMatrix(defM); _oDxf.GetExtents; //no...
- 05 Jan 2015, 20:10
- Forum: CAD VCL
- Topic: Base operations with TsgCADdxfImage - please help
- Replies: 7
- Views: 34985
Re: Base operations with TsgCADdxfImage - please help
Hi Mikhail, beforehand thank you for quickly reply. In our company project implement time is running out :(( But.. code not work: vDrawing := TsgCADdxfImage.Create; vDrawing.LoadFromFile('map.dxf'); vDrawing.GetExtents; vDrawing.CustomDraw := False; vDrawing.SetDrawMatrix(StdMat(MakeFPoint(1, -1, 1)...
- 05 Jan 2015, 17:28
- Forum: CAD VCL
- Topic: Base operations with TsgCADdxfImage - please help
- Replies: 7
- Views: 34985
Base operations with TsgCADdxfImage - please help
Hello cadsofttools team :) Our company bought your library VCL Import 10 and please i need advice. I need prepare this operation with DXF file through TsgCADdxfImage objekt. Scale (zooming): Why not work this?: vDrawing := TsgCADdxfImage.Create; vDrawing.LoadFromFile('map.dxf'); vDrawing.GetExtents;...
- 03 Jan 2015, 13:00
- Forum: CAD VCL
- Topic: Scale DXF to map resolution.
- Replies: 3
- Views: 20855
Re: Scale DXF to map resolution.
Hello Thomas, thank you very much for reply. Really, manual for CadSoft is very pure :(( I have this library few days in hand and understand it everytihing from code is hardcore :( Yes, JTSK is special czech coording system like WGS84 etc. But this not important for solution. I´ll try your sample co...
- 30 Dec 2014, 13:54
- Forum: CAD VCL
- Topic: Scale DXF to map resolution.
- Replies: 3
- Views: 20855
Scale DXF to map resolution.
Hello, please can you help me?. I need import DXF file on which is draw MAP of plants. But i need gets actual file "map scale" and calculate new scale. Etc. I need view map in scale 1:58000 (in JTSK coords system , units are meters). I know that DXF file is in same coords system (JTSK). But i dont k...