Changes
January, 2024: CAD VCL Multiplatform 15.0.5
- Support for Embarcadero® RAD Studio 12 Athens.
September, 2021: CAD VCL Multiplatform 15.0
- Support for FireMonkey.
- Support for Embarcadero® RAD Studio 11 Alexandria.
- Replacement of Open Cascade Technology by our own 3D kernel:
- Improved reading of the SAT, SLDPRT, X_T, X_B, OBJ, STL formats;
- Support for the FSAT, SAB, SMT, IPT formats;
- Added export to the SAT format;
- Improved export of the STEP, DWG, DXF formats.
- Improved import of DWG and DXF formats:
- Improved support for МTexts and Texts;
- Improved support for Hatches;
- Improved display of SHX fonts;
- Improved support for ACIS objects;
- Improved support for Dimensions and Multileaders;
- Improved reading of VPort and drawing extents.
- Improved export of DWG and DXF formats:
- Added saving of ACIS objects;
- Improved saving of VPort.
- Improved display of vector formats (DWF, HPGL, CGM, SVG).
- Improved export of SVG format:
- Improved export of texts and hatches.
- Improved G-code generation from DWG and DXF files.
- Bug fixes.
June, 2020: CAD VCL 14.1.1
- Support of Embarcadero® RAD Studio 10.4 Sydney.
January, 2020: CAD VCL 14.1
- Support of the X_T, X_B formats and the SLDPRT format;
- Improved import of DWG and DXF files;
- Improved import of DWF, CGM, SVG, HPGL files;
- High-quality automatic regeneration of objects;
- Improved G-code generation from DWG and DXF files;
- Bug fixes.
December, 2018: CAD VCL 14.0.5
- Support of Embarcadero® RAD Studio 10.3 Rio.
September, 2018: CAD VCL 14.0
- Improved import and export of DWG and DXF files:
- Support of annotative objects;
- Added reading of hyperlinks for entities;
- Improved Insert support;
- Improved Clipping support;
- Improved Texts and MTexts support;
- Improved display of SHX fonts;
- Improved loading of DXF files;
- Added export to AutoCAD DWG 2010.
- Improved display of 3D files:
- Added a new mode of surface display: Hidden lines;
- Added display of 3D model edges;
- Improved reading of SAT files;
- Improved reading of OBJ files;
- Improved reading of STL files.
- Improved export of HPGL files:
- Added saving of lineweights.
- Improved export of SVG files:
- Added saving of texts.
- Improved export of PDF files:
- Added saving of fonts;
- Added option for saving to raster PDF files;
- Other improvements:
- Added option for automatic regeneration;
- Improved import of DWF, HPGL, CGM and SVG files;
- Improved G-code generation from DWG and DXF files.
- Bugs fixes
May, 2017: CAD VCL 12.0
- Support of Embarcadero® RAD Studio 10.2 Tokyo
- Added import of AutoCAD® DWG 2018
- Export via Windows Metafile improved
- Export to G-code added
June, 2016: CAD VCL 11.2
- Support of Embarcadero® RAD Studio 10.1 Berlin
December, 2015: CAD VCL 11.0
- Support of Embarcadero® RAD Studio XE8, RAD Studio 10 Seattle
- Added export to AutoCAD® DWG 2004
- Improved reading of the IGES format
- Support of Big SHX Fonts (for Asian characters)
- Added import and export of the XClipFrame variable into DWG and DXF
- Added export of the
SPATIAL_FILTER
object - Added the
controlled
andpreset
properties for theTsgDXFAttdef
entity - The image fragment obtained from DWG and DXF files while converting to metafile has become more precise
- Multiline text (Mtext) import improved
- Improved color import in DWF
- Checking whether the
Ray
andXLine
entities are included into the box - Creation of the hyperlink for the
Text
andAttrib
entities - Improved DWG and DXF import and export
- Reading of DWG/DXF 3D surfaces.
- Third-party applications EED of the imported drawing is retained
June, 2014: CAD VCL 10.0
- Support of Embarcadero® RAD Studio XE6
- Increased drawings visualization speed (up to 10 times on big files)
- increased AutoCAD DWG/DXF loading speed
October, 2013: CAD VCL
- The components CAD Import VCL and CAD Export VCL are combined into one complete library that is called CAD VCL. At the same time each component can be also used separately.
- Support of Delphi XE4, XE5
- The CADExport demo application is renamed to the AddEntities
- Added the Getting Started demo with READY TO USE code examples
- Added CAD Import VCL and CAD Export VCL modules table
CAD Import VCL component
December, 2015
- The
DXFExport.pas
unit name was changed toCADExport.pas
. You should changeDXFExport
toCADExport
in theUses
section of your projects.
July, 2013
- The
Tsg2DBoundaryList
class changed ancestor fromTList
to theTsgListObject
class. - The
TsgCADCurvePolygon.BoundaryData
property is the array property now.
June, 2012
New classes:
TsgDXFObjectEntityColor
(derived fromTsgDXFObjectEntity
). As a result, the following classes changed ancestor fromTsgDXFObjectEntity
to theTsgDXFObjectEntityColor
class:TsgCADPolyPolygon
,TsgDXFPenEntity
,TsgDXFCustomVertex
,TsgFlatEntity
TsgAcadTableCell
(derived fromTPersistent
)TsgAcadTableCellStyle
(derived fromTPersistent
)TsgCADRasterVariables
(derived fromTsgDXFObjectEntity
)TsgDXFAcadTableStyle
(derived fromTsgDXFPenTableItem
)
New list classes:
TF2DPointList
TFPointList
TsgBaseList
TsgCollection
TsgDoubleList
TsgFloatList
TsgHashList
TsgInt64List
TsgIntegerList
TsgList
TsgPointerList
TsgSingleList
TsgUInt64Pairs
New
TsgDXFEntity
methods:DeleteEntity
FindEntByName
FindEntByHandle
GetExtData
IndexOfEntity
IndexOfHandle
IndexOfName
InsertEntity
RemoveEntity
Clear
SetExtData
A new
TsgDXFViewPort
methodGetBoundariesAsPoints
A new
TsgCADImage
methodGetVisibleArea
A new
TsgDXFSortEntsTable
methodSortEntities
Type of properties and procedure parameters that indicate list of items is changed from
TList
toTsgSingleList
,TsgIntegerList
orTFPointList
(depending on type of objects that are stored in the list).Type of the following properties is changed from
TColor
toTsgColorCAD
:TsgCADCurvePolygon.FillColor
TsgDXFDimension.DIMCLRD
TsgDXFDimension.DIMCLRE
TsgDXFDimension.DIMCLRT
TsgDXFTolerance.DimlineColor
Type of the following properties is changed from
Single
toDouble
:- TsgDXFLeader.ArrowSize
- TsgDXFPolyline.EndWidth
- TsgDXFPolyline.GlobalWidth
- TsgDXFPolyline.StartWidth
- TsgDXFVertex.EndWidth
- TsgDXFVertex.StartWidth
The
DeleteEntity
method in theTsgDXFConverter
class is renamed toRemoveEntity
.TsgCADGradientPolygon.GradientColor
became an array property.The declaration of the
TsgDXFXRef.Name
property includes a write specifier.
August, 2009
The procedures
TsgDXFText.GetSHXLines
,TsgDXFText.GetSHXLinesEx
,GetSHXText
,DrawSHXText
,GetSHXTextFromStyle
,GetSHXTextBox
,DrawSHXTextBox
,GetSHXTextBoxFromStyle
receive one more parameterCodePage: Integer
. It is recommended to transmit codepage value from file (Converter.CodePage
) into this parameter.The type of the text parameter is changed in the procedures:
GetSHXText
,DrawSHXText
,GetSHXTextFromStyle
,GetSHXTextBox
,DrawSHXTextBox
,GetSHXTextBoxFromStyle
. The new type issgRawByteString
.TsgDXFConvertor.HeadVarStruct
is used to receive values of header-variables;TsgDXFGroup.DeleteEntity(AEntity: TsgDXFEntity; DoFree: Boolean)
allows to remove an entity from group.The properties
LineType: TsgDXFLineType
,Block: TsgDXFBlock
,Layer: TsgDXFLayer
,Style: TsgDXFStyle
,DimStyle: TsgDXFDimensionStyle
inTsgDXFEntity
and descendant classes can be set only to values from corresponding sections ofTsgDXFConverter
, except if other indicated. There are corresponding functions for search by name:The object won't be created if doesn't exist
TsgDXFTable.FindEntByName(const AName: string)
TsgDXFConverter.LTypeByName(const AName: string)
TsgDXFConverter.BlockByName(const AName: string)
The object will be created if doesn't exist
TsgDXFConverter.LayerByName(const AName: string)
TsgDXFConverter.DimensionStyleByName(const AName: string)
TsgDXFConverter.StyleByName(const AName: string)
A new procedure
TsgDXFEntity.Clone(const Source: TsgDXFEntity)
A new properties added into
TsgDXFDimensionStyle
,TsgDXFDimension
,TsgHeadVarStruct
A new definition of
TFMatrix
record.A new class
TsgCADBasePolyline
.Following classes changed ancestors:
TsgDXFPolyline = class(TsgCADBasePolyline)
TsgDXFCircle = class(TsgCADBasePolyline)
TsgDXFSpline = class(TsgCADBasePolyline)
TsgDXFImageEnt = class(TsgCADWipeout)
TsgDXFAcadTable = class(TsgDXFInsert)
It is necessary to call Loaded after initialization when
TsgDXFLineType
is used.If
TsgLines
used out of theTsgDXFLineType
calling Loaded after initialization is necessary. OtherwiseTsgLines
object created, loaded and deleted automatically.TsgDXFEntity.SrcStart
,TsgDXFEntity.SrcEnd
became obsolete and will be removed in the future versions.TsgDXFMText.RectHeight
became obsolete. We recommend to useTsgDXFMText.LineSpacingFactor
instead of it.TsgDXFAcadTable
has only properties from ancestor, rotation angle ignored.Type of properties
MSpaceHeight
,PSpaceHeight
,PSpaceWidth
changed to double.New class
TsgCADdxfImage
for DXF files opening.TsgDXFImage
renamed toTsgCADImage
. Now it's a base class for allCAD
formats and for redraw. It is necessary to create class that corresponds format to import this format.TsgDXFImageClass
renamed toTsgCADImageClass
DWGPreview
renamed toCADPreview
Constants
sImpossiblePointerID
,sFilledArrowForLeader
,sNewBlockID
deleted.TsgCADImage.Is3D
is removed. UseTsgCADImage.Converter.Is3D
if necessary.TsgCADImage.Converter.Is3D
now is read only. It is obsolete and will be removed in the future versions.TsgDXFText.Scale
became obsolete. UseTsgDXFText.XScale
instead of it.The following properties and methods removed:
TsgDXFconverter.HeadVar()
TsgCADImage.HeadVarAsInteger()
TsgCADImage.HeadVarAsFloat()
TsgCADImage.HeadVarAsstring()
TsgDXFConverter.ImageDefCount
TsgDXFBlock.SoftPointerID
February, 2007
- The
TsgImage
component became obsolete. We recommend to useTsgDrawingNavigator
component. - The
TsgDXFLine.Thickness
,TsgDXFPenLine.Thickness
, andTsgFlatPoly.Width
properties have been removed and replaced by the propertyTsgDXFEntity.LineWeight
- The
TsgCADEntityProc = procedure(Entity: TsgDXFEntity) of object
type has been changed toTsgCADEntityProc = function(Entity: TsgDXFEntity): Integer of object
- The
TsgDXFLayout.Iterate(AConverter: TsgDXFConverter; Proc: TsgCADEntityProc)
procedure has been changed toTsgDXFLayout.Iterate(AConverter: TsgDXFConverter; Proc, FinishProc: TsgCADEntityProc)
- The
TsgDXFConverter.Iterate(Proc: TsgCADEntityProc; var Params: TsgCADIterate)
procedure has been changed toTsgDXFConverter.Iterate(Proc, FinishProc: TsgCADEntityProc; var Params: TsgCADIterate)
- The
TsgDXFPoint
class is a descendant ofTsgDXFCustomVertex
(previously it was a descendant of theTsgDXFLine
class) - The type of
TsgDXFConverter.PaperSpace
property has been changed toBoolean
. - The
TsgDXFConverter.Iterate
property became obsolete. We recommend to use the following way instead of it: Converter.Layouts[I].Iterate (I=0..Converter.LayoutsCount-1) - The
TsgDXFEntity.PaperSpace
property became obsolete. We do not recommend to use it - The
TsgDXFConverter.OnCreate
property became obsolete. Since now there is no need to callConverter.OnCreate(Entity)
when creating new entity. - The
TsgDXFEntity.OnDraw
became obsolete. We do not recommend to use it. - The following properties and methods have been removed:
TsgDXFConverter
:OnInsert
OnViewPort
TsgCADHatch
:PttBaseP
PttLineAngle
PttNumLines
PttOffset
TsgDXFInsert
:- Enters
TsgDXFLayout
:CreateEx
PaperSpaceHandle
TsgHatchPatternData
- field DashLen (multiple entries)
May, 2006
- The following type have been removed:
TsgHatchType
,PsgHElem
,TsgHElem
. - The following classes have been added:
Tsg2DCurve = class
Tsg2DArc = class(Tsg2DCurve)
Tsg2DEllipse = class(Tsg2DArc)
Tsg2DLine = class(Tsg2DCurve)
Tsg2DPolyline = class(Tsg2DCurve)
Tsg2DSpline = class(Tsg2DCurve)
- the
TsgDXFHatch
class was replaced by theTsgCADHatch
class. TsgDXFHatch.Polylines
was replaced byTsgCadHatch.Boundaries
(this property is inherited from theTsgCADPolyPolygon
class).- The mentioned above descendants of the
Tsg2DCurve
class are necessary for using instead of deletedPsgHElem
(inTsgCADCurvePolygon.BoundaryData
).
April, 2006
- The
FPointFromDXF
function renamed toMakeFPointFromDXF
December, 2005
The software supports AutoCAD SHX fonts. The Viewer demo shows how to work with SHX font paths.
CAD Import VCL 5.0 includes Scalable Vector Graphics (SVG) and Computer Graphics Metafile (CGM) support. You can easy include these formats to existing applications which use CAD Import VCL because
TsgSVGImage
andTsgCGMImage
are theTsgDXFImage
descendants. There are some obsolete functions in thesgConsts
module, we do not suggest for using.Instead of
FloatPoint(X, Y: Extended): TFPoint
andFltPoint3D(X, Y, Z: Extended): TFPoint
use theMakeFPoint(X, Y, Z: TsgFloat): TFPoint
functionInstead of
FloatRect(ALeft, ATop, ARight, ABottom: Extended): TFRect
use theMakeFRect(Left, Top, Z1, Right, Bottom, Z2: TsgFloat): TFRect
function
CAD Export VCL component
July, 2013
New export class:
TsgCADtoDWG
;TsgCADtoDXF
class changed ancestor from TsgCADExport to TsgCADDirectExport class;The following properties are obsolete:
TsgCADtoDXF.Version
TsgCADtoDXF.XDataAppName
The following methods are obsolete:
The
SaveToStream
method in the following classes:TsgCADtoCGM
,TsgCADtoDXF
,TsgCADtoSVG
,TsgCADtoSWF
,TsgHPGLExport
,TsgPDFExport
TsgCADtoDXF.ApplyParams
TsgPDFExport.SetPageSize
September, 2009
New export classes:
TsgCADExport
,TsgCADtoBIN
,TsgCADtoCGM
,TsgCADtoSVG
,TsgCADtoSWF
,TsgHPGLExport
,TsgPDFExport
New
TsgCADImage
class, entities classes.
March, 2006
- The
TdxfPoint
type has been replaced byTexpPoint
to increase an accuracy.