Search found 203 matches
- Thu Sep 07, 2023 1:32 am
- Forum: General Issues
- Topic: Surface modification
- Replies: 1
- Views: 12175
Re: Surface modification
The surface is mesh, obviously. Have a look at the MeshMods sample. OnApply() there uses IVertex_DG to translate its position. The old normal of the vertex is a good candidate for direction of translation. Morph sample performs this also in the Current Vertex group of controls. To make a smooth modi...
- Tue Aug 08, 2023 6:16 am
- Forum: General Issues
- Topic: Rendering iDraw Triangles...
- Replies: 4
- Views: 17025
Re: Rendering iDraw Triangles...
Done.
5385 (or later) is the update number.
It works now in both native and DGKC editions.
Thanks for reporting.
5385 (or later) is the update number.
It works now in both native and DGKC editions.
Thanks for reporting.
- Mon Aug 07, 2023 5:14 am
- Forum: General Issues
- Topic: Rendering iDraw Triangles...
- Replies: 4
- Views: 17025
Re: Rendering iDraw Triangles...
Yes. The native control has also the problem. void IDraw_DGTest::Triangles() { IDraw_DGPtr iDraw = m_iModel; IEntity_DGPtr iEntity; iDraw->Begin(DrawPrimitive_DG::eTrianglesDG); iDraw->Vertex(0, 0, 0); iDraw->Vertex(1, 0, 0); iDraw->Vertex(0, 1, 0); iDraw->End(&iEntity); m_view->Reset(true, true); }...
- Mon Aug 07, 2023 2:25 am
- Forum: General Issues
- Topic: Rendering iDraw Triangles...
- Replies: 4
- Views: 17025
Re: Rendering iDraw Triangles...
My quick test does show a problem in a C# test. We will fix it shortly. It might not be related to your issue. I need to dig a little deeper to reproduce it on a native DGK. Meanwhile: IDraw_DG was intended to draw only few auxiliary items. For anything other than a tiny mesh, a direct definition us...
- Mon Aug 07, 2023 1:45 am
- Forum: General Issues
- Topic: Rendering iDraw Triangles...
- Replies: 4
- Views: 17025
Re: Rendering iDraw Triangles...
Hello
Sorry for the late answer.
It should work. I will dig a little deeper and post something here shortly.
Regards
Sorry for the late answer.
It should work. I will dig a little deeper and post something here shortly.
Regards
- Mon Jun 05, 2023 12:36 am
- Forum: General Issues
- Topic: Aligning views
- Replies: 1
- Views: 12561
Re: Aligning views
Hello The problem is not so difficult if you are familiar with the concepts. It sounds like you display the objects in the standard projections: front, top, etc. And because your surfaces are nice the bounding box (IEntity_DG.GetBoundingBox()) of the entity will give the exact dimensions. So, to ali...
- Tue May 16, 2023 9:29 am
- Forum: Bug Reports
- Topic: Problem with union on IGES objects
- Replies: 2
- Views: 23441
Re: Problem with union on IGES objects
Hi The model does not contain any solids. This must be because iges is only a set of separate faces. This is the main problem with iges. That is why .step is the preferred format to work with. There is a way to sew up faces into a solid, when they do form a nicely closed surface. Unfortunately, it i...
- Thu Apr 27, 2023 6:42 am
- Forum: General Issues
- Topic: Annotation of faces
- Replies: 1
- Views: 12028
Re: Annotation of faces
Hello Branson I think lots of what is needed is already contained in the samples. Have a look at the selection sample for face selection. There are events, which get called on user selection. You could add your handling there. Annotation could mean lots of things. If you just need a text on top, hav...
- Thu Apr 13, 2023 9:30 pm
- Forum: General Issues
- Topic: Triangulation of a 3D CAD model(B-Rep)
- Replies: 1
- Views: 11243
Re: Triangulation of a 3D CAD model(B-Rep)
DG Kernel can take .brep or .step or .iges as an input and produce the mesh in memory, working as a component of an app. You can also just use the installed Model Viewer or Data Flow sample to save as a mesh format .obj, .vrml, .stl, etc.
- Tue Mar 28, 2023 5:35 am
- Forum: General Issues
- Topic: .NET 5 apps
- Replies: 3
- Views: 14734
Re: .NET 5 apps
Thank you, Nick
.Net is open source.
The documentation is probably so poor because they are still coding bits and pieces for .net 6/7.
.Net is open source.
The documentation is probably so poor because they are still coding bits and pieces for .net 6/7.