Search found 11 matches

by Measure
Fri Mar 21, 2025 7:49 pm
Forum: DG Kernel discussions
Topic: STL File Size
Replies: 2
Views: 24472

STL File Size

We're having issues loading STL files over 30mb. I have a sample file I can provide of a 38mb binary sphere. Using the Model Viewer sample... - Loading STL files is slow, regardless of file size. - Turning off crease detection/normal calc does help speed things up. - Files over ~30mb result in a cra...
by Measure
Tue Mar 04, 2025 11:11 pm
Forum: DG Kernel discussions
Topic: Lofting a surface from ICircle_DG
Replies: 5
Views: 97309

Re: Lofting a surface from ICircle_DG

I know that most of this is how I am using the classes and probably how my code deviates from the VC samples when working with VB6 32bit com. I was able to figure it out, how to loft from ICircle_DG. Process was: 0) Create a new entity with iModel_DG AddNewBRepShape(eShTypeFaceDG) 1) Created a Brep ...
by Measure
Tue Mar 04, 2025 4:19 pm
Forum: DG Kernel discussions
Topic: Lofting a surface from ICircle_DG
Replies: 5
Views: 97309

Lofting a surface from ICircle_DG

Hello, I am most likely doing something wrong here. I am generating some circles and trying to loft a surface from one circle to the other into a tube like geometry. When I call Build from IWireArrayToSurfaceBuilder_DG, the entire IDE or program crashes (maybe this needs better error handling). I th...
by Measure
Tue Mar 04, 2025 4:09 pm
Forum: DG Kernel discussions
Topic: Perspective mode and Zoom values greater than 1.0
Replies: 4
Views: 119711

Re: Perspective mode and Zoom values greater than 1.0

Thank you guys, glad it was a real issue and not something I was doing incorrectly.

For now, we are setting Zoom to 1.0 to avoid the issue.
by Measure
Tue Feb 25, 2025 6:50 pm
Forum: DG Kernel discussions
Topic: Perspective mode and Zoom values greater than 1.0
Replies: 4
Views: 119711

Perspective mode and Zoom values greater than 1.0

Hello, My colleague and I are working on our code - vb6 and 5559 build. We have noticed an issue under 2 conditions: 1) IView_DG - SetProjectType(eProjectionTypeDgPerspective) 2) IView_DG - Zoom(1.5) If the zoom is set to a value greater than 1.0 in Perspective mode, the result is an inversion in th...
by Measure
Wed Feb 12, 2025 4:31 pm
Forum: DG Kernel discussions
Topic: HDC property
Replies: 2
Views: 81820

HDC property

Is there any way to access the HDC property of the control?

-Adam
by Measure
Thu Feb 06, 2025 6:50 pm
Forum: DG Kernel discussions
Topic: RenderSolid in 7.2
Replies: 6
Views: 149350

Re: RenderSolid in 7.2

Hi Prashant, I am running v5555 now. I am still having an issue calling RenderSolid = false when I have created a Mesh geometry in DG. First, I load an IGES file. Then, from the IGES, we make a mesh using the following lines: Note: IGES geometry is loaded into MyComponentEntity (As IEntity_DG) MyMod...
by Measure
Sun Feb 02, 2025 3:04 pm
Forum: DG Kernel discussions
Topic: RenderSolid in 7.2
Replies: 6
Views: 149350

RenderSolid in 7.2

Hello, I'm working with 32bit VB6 and the KerCADe.ocx version (5549 I believe). We have a button to swap between solid render and wireframe. Previously we would use the KerCADcontrol.RenderSolid boolean, however this now gives an error. I see there is a GetRenderSolid and SetRenderSolid in IControlI...
by Measure
Fri Jan 17, 2025 6:29 pm
Forum: DG Kernel discussions
Topic: Changing colour of mesh face and mesh wireframe
Replies: 9
Views: 102509

Re: Changing colour of mesh face and mesh wireframe

Thank you, we will review shortly - examples are extremely helpful thanks.
by Measure
Thu Jan 09, 2025 2:24 pm
Forum: DG Kernel discussions
Topic: Changing colour of mesh face and mesh wireframe
Replies: 9
Views: 102509

Re: Changing colour of mesh face and mesh wireframe

OK, helpful thank you. I was able to produce a similar example. 1) Use IMeshAlgor to add vertex points. 2) Use IMeshShading_KC to setShadingType and then update color for each vertex using SetVertexColor 3) Use IMeshTopol to add simplex from the verticies using AddSimplex So that works but I have to...