Search found 2 matches

by VJay
Thu Jan 29, 2026 1:40 am
Forum: DG Kernel discussions
Topic: Half length curve
Replies: 1
Views: 5044

Re: Half length curve

This should work: ICurve_DG curve; // ... definition of curve double L = curve.GetLength(); double paramMiddle = curve.GetParameterAtLength(0.5*L); RangeDg rg = curve.parameterRange; curve.SetParameterRange(rg.Min, paramMiddle); // Or curve.SetParameterRange(paramMiddle, rg.Max); for the other half ...
by VJay
Thu Aug 29, 2024 7:18 am
Forum: DG Kernel discussions
Topic: Mesh simplification
Replies: 2
Views: 35817

Mesh simplification

Hi, there. I am working on a project of processing stl data. I have a problem: In order to show a stl surface rapidly, I need to decrease the number of triangles in the mesh. For example, I have a STL file which contains 2000 triangles, but I only want 1000 triangles. How can I make the mesh smaller...