DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation Links Go to ActiveX docs Search Documentation


IEngrave_DG Interface

Properties


IEntity_DG Workpiece

The surface to be engraved upon. Querying IEngrave_DG from an entity attaches the entity as the workpiece to the result of the query.


string Text

The text to be engraved. It can have line break characters.


double Height

Geometric height of the text in modelling units.


double Thickness

Geometric length of extrusion in modelling units performed on characters before the operation.


double Spacing

Geometric space between characters in modelling units.


double LineSpacingRatio

Geometric space between lines will be computed as LineSpacingRatio*Height.


string FontName

"Arial" is the default in this version.


double Depth

Defines how deep characters will cut into the surface in modelling units.


LineDg OrientationRay

A ray, assumed to be close to the surface. It projection to the surface will define starting point and direction of the text.


 

Methods

AddTextLine
Engrave
Reset

See also Engrave Sample.


void AddTextLine(string line)


bool Engrave()

Performs engraving.


void Reset()

Removes any changes in the algorithm object and retuns the object to its default state. Any engraving performed will remain unchanged.