Search found 55 matches

by Prashant Kande
Wed Nov 20, 2024 3:55 am
Forum: DG Kernel discussions
Topic: Sampling of a surface
Replies: 1
Views: 93

Re: Sampling of a surface

Hello Ranges of a face are basically ranges of the surface which defines geometry of the face. This includes the hole. Holes means there is a curve in uv parameters which excludes the related curved polygon out of the ranges rectangle. Unfortunately, there is no way currently to check if a uv is ins...
by Prashant Kande
Tue Oct 29, 2024 2:22 am
Forum: DG Kernel discussions
Topic: LoadFromMemory1 for IGES string buffer in VB6
Replies: 4
Views: 1236

Re: LoadFromMemory1 for IGES string buffer in VB6

Hello

We just have posted 5545 update with new set / get methods in IBlob_DG. It should work OK for VB6.

So, create IBlob_DG. Use Set() in a loop to copy all bytes of the iges data (should be same as a file on the disk). Call LoadFromMemory(theBlob, CADFormat_DG.IGES).

Regards
by Prashant Kande
Thu Oct 24, 2024 3:01 am
Forum: DG Kernel discussions
Topic: VB6 example for "Planar Clip operation"
Replies: 4
Views: 1376

Re: VB6 example for "Planar Clip operation"

A C++ version: Download
It is a restored PlanarOps sample. It is kind of dirty right now. See the PlanarOpsDlg::OnCut()
I hope we have time to add it to an update.
by Prashant Kande
Thu Oct 24, 2024 2:51 am
Forum: DG Kernel discussions
Topic: VB6 example for "Planar Clip operation"
Replies: 4
Views: 1376

Re: VB6 example for "Planar Clip operation"

We have sorted this out in today's 5544 update. The access to the operation had to change. The old way was a bad idea a while ago. It worked with old compilers, but not any longer. We have dropped support for clipping planes in v6 I think. The planar ops sample wend down with it. So, unfortunately, ...
by Prashant Kande
Fri Oct 18, 2024 1:16 am
Forum: DG Kernel discussions
Topic: VB6 example for "Planar Clip operation"
Replies: 4
Views: 1376

Re: VB6 example for "Planar Clip operation"

Hello.
Sorry, we have found a bug in this functionality. We are coding a fix. There will be an update in few days. We will post a notification on this thread.
Thanks for reporting.
by Prashant Kande
Tue Oct 08, 2024 4:31 am
Forum: DG Kernel discussions
Topic: Transforming a wire for evolve operation
Replies: 1
Views: 1011

Re: Transforming a wire for evolve operation

Hello Hugo Your code has issues, like iGeo is not used, but it is the right idea to use IGeometricObject_DG. We have found an issue with querying IGeometricObject_DG from IBRepShape_DG. It was fixed in today's 5541 update of v7.2. I have tested the transformation on v6.2 Solids sample. It works OK. ...
by Prashant Kande
Fri Oct 04, 2024 1:09 am
Forum: DG Kernel discussions
Topic: Compilation error
Replies: 1
Views: 912

Re: Compilation error

Hello Mike Yes, it was a breaking change, unfortunately. We have added this to the docs. I have fixed this in ActiveX-based Face sample (copied from v6.2 ) by replacing: Dim normal As dirAxis = New VectDg(0, 0, -1) iCircle.SetAxisDirection(dirAxis) iCircle.SetRadius(25) with Dim normal As VectDg = N...
by Prashant Kande
Thu Oct 03, 2024 3:00 am
Forum: DG Kernel discussions
Topic: Classify point relative to a solid
Replies: 1
Views: 890

Re: Classify point relative to a solid

Hi Tom Query IMetrics_DG from the entity. For BRep solids IMetrics_DG.GetPointLocation() returns a value enumerated with PointVsSurfaceLocation_DG The check is relatively tricky. You need to be sure that either the surface is closed, or the point is close enough to the object. For meshes, I believe ...
by Prashant Kande
Wed Oct 02, 2024 4:28 am
Forum: DG Kernel discussions
Topic: Unsafe download
Replies: 1
Views: 893

Re: Unsafe download

Thank you, Jon.
We have found an issue with digital signing of the installers. It should be good in the next update.

Regards
by Prashant Kande
Fri Aug 30, 2024 12:19 am
Forum: DG Kernel discussions
Topic: Mesh simplification
Replies: 2
Views: 4520

Re: Mesh simplification

Hello VJay I do not believe we have a built-in functionality for that. I suggest using some other tools. We are more focusing on parametric technologies. Plese get in touch if you really need this in DGK. It would not be a problem to add. You could also implement it yourself using mesh construction ...