Search found 54 matches

by Mike Zubovic
Wed Jan 21, 2026 7:06 pm
Forum: DG Kernel discussions
Topic: Trimmed Surface
Replies: 1
Views: 4787

Re: Trimmed Surface

Not really. This is implemented in the BRep face structure. Surfaces represent the mathematics (equations) which define its geometry. Trimming is done with wires after the surface has been wrapped into a face.

Regards
by Mike Zubovic
Fri Jan 16, 2026 1:51 am
Forum: DG Kernel discussions
Topic: Building a face from a circle
Replies: 2
Views: 11329

Re: Building a face from a circle

Another way is via IBRepBuilder_DG. Search samples for IBRepBuilder_DG to find a way to get it. IBRepEdge_DG IBRepBuilder_DG.CreateEdge4(ICircle_DG circle) > IBRepWire_DG IBRepBuilder_DG.CreateWire() > IBRepWire_DG.AddEdge(IBRepEdge_DG edge) IBRepFace_DG IBRepBuilder_DG.CreateFace7(IBRepWire_DG wire)
by Mike Zubovic
Thu Jan 15, 2026 12:38 am
Forum: DG Kernel discussions
Topic: Building a face from a circle
Replies: 2
Views: 11329

Re: Building a face from a circle

There are many ways for doing this. The minimum code way is using IStdShape_DG.Disk(). It will create a disk in the xy palne, which can be moved around. I have hacked PatchForm_Load() of the installed C# Patch sample to check: //Before m_iEntity = iStdShape.Cylinder(m_baseRadius, m_topRadius, m_heig...
by Mike Zubovic
Tue Dec 09, 2025 10:33 pm
Forum: DG Kernel discussions
Topic: Trimming an STL model
Replies: 1
Views: 44580

Re: Trimming an STL model

Certainly. There are few options. In the current v7.4 you can use planar clipping demoed in the Planar Ops sample. You could also clip by another surface defined interactively. It can be a cylindrical, spherical, etc. or like extruded prism defined using overlays with mouse clicks. Or you could buil...
by Mike Zubovic
Thu Nov 27, 2025 3:13 am
Forum: DG Kernel discussions
Topic: brep export
Replies: 1
Views: 42353

Re: brep export

Hello Augustin Not right now, but it is high in priorities. We will consider your question as a vote. .brep is the only format we support, apart from .mdg, which can handle both parametric and mesh objects. Currently objects with other than BRep geometry are skipped during .brep export. Thank you fo...
by Mike Zubovic
Thu Sep 11, 2025 6:56 am
Forum: DG Kernel discussions
Topic: Cover a 4 sided hole
Replies: 1
Views: 75902

Re: Cover a 4 sided hole

Hi Jason.
It should work if you just delete the wire.

It worked in my quick test where I added
iFace.RemoveWire(iWire);
as the last line in FaceForm.AddInnerWire() of C# Face

Regards
by Mike Zubovic
Mon Aug 11, 2025 10:24 pm
Forum: DG Kernel discussions
Topic: Overlay mode context menu
Replies: 2
Views: 184674

Re: Overlay mode context menu

We have fixed this in today's 7.3.5649 update.

The bug was only in DGKCn6. Other controls were OK.

V7.3 has no interface difference with 7.2, so upgrading is a no brainer. But still, let us know if you need a fix in 7.2 as well.

Regards
by Mike Zubovic
Mon Aug 04, 2025 3:11 am
Forum: DG Kernel discussions
Topic: Overlay mode context menu
Replies: 2
Views: 184674

Re: Overlay mode context menu

Sorry about the late reply.
We are looking into it.
Thanks for reporting
by Mike Zubovic
Thu Jul 31, 2025 7:29 pm
Forum: DG Kernel discussions
Topic: Mutiple Object Selection
Replies: 1
Views: 95255

Re: Mutiple Object Selection

We have posted a fix in update 7.3.5638.
Thanks for reporting
by Mike Zubovic
Sat Jun 07, 2025 10:34 pm
Forum: DG Kernel discussions
Topic: Conversion 2D/3D
Replies: 8
Views: 526268

Re: Conversion 2D/3D

What does the Object Browser show? Most likely VB6 interprets the count as a property. Try

Code: Select all

iPoints.Count = 3
This is what Samples\NET\VB\Lines\LinesForm.vb ln 61 does.
Or try just calling IPointArray_DG.Add(double x, double y, double z) three times without setting the count
Regards