Search found 5 matches

by arg25
Fri Aug 04, 2023 3:13 pm
Forum: VB6
Topic: DG7.1 and rendering facets in Imesh_DG
Replies: 2
Views: 26845

Re: DG7.1 and rendering facets in Imesh_DG

I've found some samples in the 5.1 version for Vb6 that pointed me to the iMeshMods and iMeshTopol to access the vertex and simplex of the IMesh class. So this is working well for small files under say, 25mb, but beyond that I begin to get memory errors and crashes. Here is my current approach, any ...
by arg25
Thu Aug 03, 2023 3:08 pm
Forum: VB6
Topic: DG7.1 and rendering facets in Imesh_DG
Replies: 2
Views: 26845

Re: DG7.1 and rendering facets in Imesh_DG

Hello, I am still having this issue... I can't seem to add vertices to my mesh with vb6... the call to iMesh.AddVertex just gives me "Function or Interface marked as Restricted, or the function uses an Automation Type not supported in Visual Basic". Any help you can provide? Dim m_gen As IObjectGene...
by arg25
Wed Aug 02, 2023 7:32 pm
Forum: General Issues
Topic: Rendering iDraw Triangles...
Replies: 4
Views: 16928

Rendering iDraw Triangles...

Hello, I am porting over some of our OpenGL code which renders some triangle facets (similar to STL). In OpenGL, we use the glBegin statement, set to triangle type, and add the 3 vertexes, and finally call glEnd statement. I'm using VB6 and DG kernel OCX, using iDraw entity. It works for Points, Lin...
by arg25
Fri Jun 02, 2023 7:41 pm
Forum: VB6
Topic: DG7.1 and rendering facets in Imesh_DG
Replies: 2
Views: 26845

DG7.1 and rendering facets in Imesh_DG

Hello, I am following the VBnet tutorials for the ActiveX control version of 7.1 (latest release). I am having trouble recreating the Morph sample, rendering individual facets and vertexes. I am having issues specifically with the iMesh_DG structure and the usage of methods/functions AddVertex() and...
by arg25
Mon May 01, 2023 3:54 pm
Forum: General Issues
Topic: DG Viewer fails to load IGES file?
Replies: 2
Views: 15561

DG Viewer fails to load IGES file?

Hello, I've been having a look at Kernel CAD / DG Kernel 7.1 I installed the package and have been using the installed Model Viewer from the start menu. Most of the files types load, but I cannot get the IGES file to work. The program just disappears without errors from the screen. I did a search an...