70001335 Ability to choose detail level of solid objects imported

Article 70001335
Type Wish
Product Converter
Version 7014
Date Added 5/22/2018
Fixed 7.7015.0.5 (5/23/2018)
Submitted by Robin You

Summary

Is it possible to choose the detail level of the vdPolyface that are created from .DWG solids during import?

Solution

A new property DwgMeshTessellation of vdDocument.FileProperties was added in version 7015.0.5

Specify the tessellation quality of imported dwg 3d solid circular surfaces (such as Cone, Torus, Sphere or Cylinder), in order to convert to vdPolyface objects.
It is measured in degrees. The value of this parameter determines the quantity of mesh cells (triangles) used to represent a circular surface
Valid range betrween 0 to 360.Default value is 15.

Example

document.FileProperties.DwgMeshTessellation = 45;//this will tesselate a Cylinder to 360/45 = 8 segments

Send comments on this topic.