Search found 6 matches

by Mike Gershon
Tue Oct 20, 2020 2:11 am
Forum: General Issues
Topic: Face adjacency find out
Replies: 2
Views: 4557

Re: Face adjacency find out

Hello Jack i-th neighbor can be accessed via (C#): IBRepFace_DG face; IShapeArray_DG edges = face.GetEdges(); IBRepEdge_DG edge = edges.GetAt(i) as IBRepEdge_DG; IBRepFace_DG faceAdjacent = edge.GetOtherFace(face); If there is more than one wire and/or you need to be more specific, use: IBRepEdge_DG...
by Mike Gershon
Fri Sep 04, 2020 3:18 am
Forum: General Issues
Topic: Getting normals from stl
Replies: 1
Views: 3623

Re: Getting normals from stl

Once the mesh is loaded you can get face normals via ISimplex.GetFacetNormal(). See Morph sample for accessing the mesh and simplexes
Cheers
by Mike Gershon
Thu Feb 07, 2019 12:19 am
Forum: Bug Reports
Topic: Highlighting selection in Modal sample
Replies: 2
Views: 6501

Highlighting selection in Modal sample

Hello
In v5.2 in Model sample (start menu) clicking on an object was highlighting it, when the check box is on. This does not seem to be working in v6. Is this a functionality change?
Thanks
by Mike Gershon
Thu Sep 08, 2016 6:16 am
Forum: General Issues
Topic: Access to Open Cascade
Replies: 2
Views: 7563

Re: Access to Open Cascade

Awesome, Prashant
Looking forward
Tks
by Mike Gershon
Wed Sep 07, 2016 6:08 am
Forum: General Issues
Topic: Access to Open Cascade
Replies: 2
Views: 7563

Access to Open Cascade

Hi there
I am thinking about adding some changes to the Open Cascade code in version 4.4 of kernelcad. Will kernelcad work if I recompile it? I am using Visual Studio 2010.
Also: Is there a way to get the underlying TopoDS_Shape reference out of IKO_TopoDS_Face for an example?
Thank you
by Mike Gershon
Thu Nov 28, 2013 8:07 am
Forum: Bug Reports
Topic: Exceptions starting C# samples
Replies: 1
Views: 6146

Exceptions starting C# samples

Hi I have installed the latest 64 bit kernelcad. When I am trying to open Morph64 sample (and others) I get an exception on m_iSection = m_iModel.GetSection(0); line in Form1_Load(). The Collision example does not compile at all. I have: Samples\NET\C#\Collision\Collision\CollisionForm.cs(19,6): err...