Search found 39 matches

by Mike Zubovic
Thu May 29, 2025 10:49 pm
Forum: DG Kernel discussions
Topic: Entity Texture
Replies: 1
Views: 862

Re: Entity Texture

Hello Marcos Textures are little tricky. DGK also needs some work in this regard. I think you are the first person asking about this feature. So, it is a bit behind. We have plans to revisit this area asap. Textures have to be oriented and positioned in some way on the surface. This means it heavily...
by Mike Zubovic
Thu May 29, 2025 10:23 pm
Forum: DG Kernel discussions
Topic: Conversion 2D/3D
Replies: 2
Views: 1684

Re: Conversion 2D/3D

Hello useme

Please try something like this:
IFrameArray_DG iFrameArr = theCurve.Query<IFrameArray_DG>();

If you search for IFrameArray_DG in the samples, you will find a debuggable working example in eMotion sample.

Regards
by Mike Zubovic
Tue May 20, 2025 3:04 am
Forum: DG Kernel discussions
Topic: IEntity_DG.Clone() keeping texture
Replies: 3
Views: 8991

Re: IEntity_DG.Clone() keeping texture

Cloning a mesh with texture seems to be working OK. I think your model is rather using per vertex color: Texture vs per vertex color.
There was a problem. We have fixed it in today's 5606 update.

Thanks for reporting.
by Mike Zubovic
Tue May 20, 2025 2:46 am
Forum: DG Kernel discussions
Topic: Texture vs per vertex color
Replies: 0
Views: 1821

Texture vs per vertex color

Hello friends This is a bit of an educational thread. There are two technologies for applying images or variable color to the meshed surfaces: Texture and per vertex color. Texture paints an image embedded in the model or stored as an external file. This means there is some mapping of triangles of t...
by Mike Zubovic
Thu May 08, 2025 1:56 am
Forum: DG Kernel discussions
Topic: IEntity_DG.Clone() keeping texture
Replies: 3
Views: 8991

Re: IEntity_DG.Clone() keeping texture

Hmm. It sounds like a bug. Clone should keep the texture. We are looking into it.
Is it mesh geometry?
Thanks
by Mike Zubovic
Thu May 01, 2025 4:35 pm
Forum: DG Kernel discussions
Topic: .NET memory management
Replies: 0
Views: 3017

.NET memory management

Hello all As you know, .NET uses garbage collection for freeing memory. GC uses some complex algorithm as to when and how it does the job. It actually changes between .NET versions. From our point of view, it should be considered random. Say, you have code void f() { int sz = EstimateMeshSize(); } i...
by Mike Zubovic
Thu May 01, 2025 5:31 am
Forum: DG Kernel discussions
Topic: Memory issues loading in stl files as children entities
Replies: 9
Views: 116848

Re: Memory issues loading in stl files as children entities

We believe we have fixed the main issue with the memory leaks. Please get the 7.3.5599 or later update. We see in debugger the entities and the standalone model being destructed and large data of the mesh being deleted on IModel.RemoveAll(). Please let us know if you see any problems. This is about ...
by Mike Zubovic
Thu May 01, 2025 2:59 am
Forum: DG Kernel discussions
Topic: Exception on deleting a child in Model Explorer
Replies: 1
Views: 2583

Re: Exception on deleting a child in Model Explorer

We have posted 7.2.5597 update with a fix.
A 7.3 update is coming shortly as well.

Thanks for reporting
by Mike Zubovic
Thu May 01, 2025 2:57 am
Forum: DG Kernel discussions
Topic: Memory issues loading in stl files as children entities
Replies: 9
Views: 116848

Re: Memory issues loading in stl files as children entities

The Explore exception is unrelated, but important. I have moved the post to a separate thread
Thanks