Teigha Blog

Find out what's new and more

Using Qt with Teigha

Teigha Viewer is a free application that anyone can use to render .dwg and .dgn files and developers can use to test their custom TX modules. It’s also an example of using Qt to develop with Teigha.

Example getting started

Exporting to .dwf Files with Teigha BIM

Exporting a .dwg file to Autodesk® DWF™ is a well-known feature of Teigha Drawings, and now you can export .rvt/.rfa files to .dwf as well using Teigha BIM.

rvt rfa export getting started

What is Open Design Visualize?

The rendering capabilities of the Drawings product are well known, but there is another Open Design product (already available as a part of the basic subscription) that leverages the Drawings visualization and enhances its capabilities.

Visualize getting started

Opportunities with Teigha PRC

Teigha PRC allows you to break free from the limits of .pdf-only applications and helps you leverage all the advantages of the PRC format.

prc getting started

How to use Markups (Redlines) in Teigha Visualize

Teigha Visualize supports features that help with reviewing and editing your files, in particular, creating and saving markups (redlines).

Visualize getting started Example

Creating a NURBS Curve

With Teigha you can create Non-Uniform Rational Basis Spline (NURBS) curves using the Teigha Ge library and its classes OdGeNurbCurve2d and OdGeNurbCurve3d.

Let’s consider a 3D version of a curve (2D curves have all the same behavior). A NURBS curve is defined by its order, a set of weighted control points, and a knot vector. This data can be set to a curve using a constructor:

rendering Example getting started

Data Compression in Teigha Revision Control

When developing software, most companies use a version control system such as Git, SVN, etc. Version control makes it possible to distribute work among several people, combine the work, view the specific changes made by an individual, etc. This kind of system is convenient when creating drawings, especially when more than one person works on a single drawing.

compression/decompression Example getting started

Working with Surface Fit Polygon Meshes

A polygon mesh can be of the surface fit type, which defines the polygon mesh using an approximation method to create an object that is more smooth. In Teigha, polygon mesh surface fit is provided by the following function:

rendering Example getting started

Using Teigha Low-Level and High-Level Multithreading APIs Together

This article describes Teigha Kernel Multithreading functionality. This is addition for previous two articles about multithreading. It is describes usage of combination of low-level and high-level API’s. Previous two articles describe usage of high-level and low-level multithreading API’s separately.

performance getting started Example

Teigha Mechanical: Creating BOM Tables

Bill Of Materials (BOM) is a table that holds all parts and components with corresponding data and attributes. The logical representation is a table with rows, and each row refers to a part or component.

There are three ways that a BOM table can be created:

mechanical getting started