Search found 203 matches

by Prashant Kande
Thu Mar 16, 2023 4:39 am
Forum: General Issues
Topic: .NET 5 apps
Replies: 3
Views: 14137

Re: .NET 5 apps

Hello

There is a significant difference between .NET v4.8 and v5.0. We plan to add support for .NET 6.0 in the next version, which, hopefully, should be ready soon. Upgrading your app from 5.0 to 6.0 should be easy.

Regards
by Prashant Kande
Sun Feb 26, 2023 10:18 pm
Forum: General Issues
Topic: Silent redistributable installation
Replies: 1
Views: 13244

Re: Silent redistributable installation

Hi MadCAM

Use /quiet switch like:
DGRedist_7_1.exe /quiet

DGRedist_7_1.exe /?
shows more options.

Regards
by Prashant Kande
Thu Dec 01, 2022 2:48 am
Forum: General Issues
Topic: Selection via contact with a polygon
Replies: 1
Views: 10222

Re: Selection via contact with a polygon

Hi Vincent If you are asking about an interactive functionality, there are selection events: Selection Overview , Selection Event It works with rectangles currently. Please get in touch if you need polygons. It is easy to add. Programmatic selection needs a bit of easy coding (and discussion). Regards
by Prashant Kande
Thu Oct 13, 2022 7:51 pm
Forum: General Issues
Topic: Cutting a face
Replies: 2
Views: 3442

Re: Cutting a face

Hi Russel There is no off the shelf api for that. You need to do a bit of coding. It can be done either by extruding somehow the curve to a surface and building a solid form it for Boolean operations. But I think it is easier to do it at low level: Get the surface of the face and use IUVSurface_DG.G...
by Prashant Kande
Thu Sep 08, 2022 1:31 am
Forum: General Issues
Topic: Removing chamfer
Replies: 1
Views: 3206

Re: Removing chamfer

Hi Martin We do not have it. DGK is kind of high level, but still is a kernel. Keeping history of modifications or other metadata kind of information is the application's business, in our view. We have lots of other staff to do where we are more useful. From the DGK point of view a chamfered solid i...
by Prashant Kande
Fri Aug 19, 2022 12:01 am
Forum: General Issues
Topic: Face from a circle
Replies: 2
Views: 3471

Re: Face from a circle

Hello Fei IModel_DG iModel = m_dgkc.GetModel(); IObjectGenerator_DG gen = iModel.As<IObjectGenerator_DG>(); IBRepWire_DG iWire = gen.Create<IBRepWire_DG>(); IBRepEdge_DG iEdge = iWire.CloseWire(); ICircle_DG iCircle = gen.Create<ICircle_DG>(); // At the origin by default iCircle.AxisDirection = new ...
by Prashant Kande
Sun Jul 24, 2022 2:01 am
Forum: General Issues
Topic: Check for overlapping faces
Replies: 2
Views: 3770

Re: Check for overlapping faces

Hello Janus Generally it is not a very common problem. The simplest way is probably to take some points inside one face and check where are they located in another. Below is more general way, which may be close to the simplest. To figure out location of one face wrt another you need first to check i...
by Prashant Kande
Thu Jul 07, 2022 5:21 am
Forum: General Issues
Topic: Face from triangulation
Replies: 2
Views: 3669

Re: Face from triangulation

Hi Joaquin. Generally mesh to brep conversion involves manual work. There is no general method. What you are asking sounds more specific. Like: Given a patch of smooth meshed surface convert it to a brep face. It still can be challenging. I will give just general pointers. If the mesh is planar it i...
by Prashant Kande
Thu Jun 23, 2022 10:35 pm
Forum: General Issues
Topic: Smooth mesh pieces
Replies: 1
Views: 3447

Re: Smooth mesh pieces

Hello Ari. Yes it was useful functionality. Try compiling the sample, or your app with v7 installed (or activated via update registration). Get in touch if you see problems. The old interface and core implementation are still there. We could update things for you. In DGK the focus has shifted to par...
by Prashant Kande
Thu Jun 16, 2022 7:48 am
Forum: General Issues
Topic: Project point to solid
Replies: 2
Views: 6714

Re: Project point to solid

Since v7.0 IMetrics has been deprecated and replaced with IMetrics_DG.
IMetrics_DG.DistPoint() is a nice shortcut for the job.