Search found 343 matches

by nickz
Wed Jun 12, 2019 2:29 am
Forum: General Issues
Topic: Shortest path
Replies: 5
Views: 3302

Re: Shortest path

Hi Eric
Not really. Those curves are called geodesics. It is a different algorithm.
For convex case two notions coincide as ESP would always lie on the surface.
Regards
by nickz
Fri May 31, 2019 2:36 am
Forum: General Issues
Topic: DIStudio.exe
Replies: 1
Views: 1606

Re: DIStudio.exe

Hi No its not a bug. We have added it recently to get debugger working for .mdg for ourselves mostly and for some advanced users. Basics like import/export, Model Explorer and debugger are working, but we do not have time to finish it properly and it was not promised in 6.0. So it is "as it is" unpu...
by nickz
Mon May 27, 2019 3:18 am
Forum: General Issues
Topic: Reverse engineering surface of revolution
Replies: 6
Views: 3822

Re: Reverse engineering surface of revolution

To make a single object SOR you would need to use KC interface: - Query IStdShape from IModel_DG or IModel. - Call IStdShape.Cylinder(double baseRadius, double topRadius, double height, ISection** cylinder), which will return ISection* cylinder - Query cylinder > IStrip > IStripTopol - Use IStripTop...
by nickz
Thu May 23, 2019 11:37 pm
Forum: General Issues
Topic: Reverse engineering surface of revolution
Replies: 6
Views: 3822

Re: Reverse engineering surface of revolution

The simplest way is to create a new cylinder using IStdShape_DG.Cylinder() http://www.dynoinsight.com/Help/V6_0/Interface/Model/Entity/IStdShape_DG.aspx#Cylinder for each section separately. It is oriented correctly by default. You need to add the new objects to the model to have it in the scene: IM...
by nickz
Thu May 16, 2019 4:37 am
Forum: General Issues
Topic: Reverse engineering surface of revolution
Replies: 6
Views: 3822

Re: Reverse engineering surface of revolution

This should be simple The main thing is to obtain the diameters and lengths of each section. - List all vertices in the mesh. See Morph sample for an example - Convert them to pairs (z, d) = (z, distance to z axis). All these points will define profile of the target SOR - determine max d in the set....
by nickz
Mon May 13, 2019 6:19 am
Forum: General Issues
Topic: Reverse engineering surface of revolution
Replies: 6
Views: 3822

Re: Reverse engineering surface of revolution

Hi Grady
Are the cylinders aligned or coaxial?

We do not have a generic functionality for that, but in this special case there are ways to get a pretty good result. More after your answer

Regards
by nickz
Tue Apr 23, 2019 3:13 am
Forum: General Issues
Topic: Shortest path
Replies: 5
Views: 3302

Re: Shortest path

Hi Vaslav The first and last are the target points to be connected with a shortest path. The intermediate ones are the initial guess. If there are additional points the output will be a modification of the initial guess. It identifies which solution is needed. For example in case of a torus there ar...
by nickz
Fri Apr 12, 2019 2:56 am
Forum: General Issues
Topic: Shortest path
Replies: 5
Views: 3302

Re: Shortest path

Hi Vaslav You need to convert the objects to mesh. See http://www.dynoinsight.com/phpBB3/viewtopic.php?f=2&t=3129 The algorithm works with mesh only currently. The output is a segmented curve. We do not do it automatically as the output contains information about the objects where points belong. Yes...
by nickz
Thu Apr 04, 2019 12:29 am
Forum: General Issues
Topic: Modification of shapes
Replies: 1
Views: 1752

Re: Modification of shapes

Hello It is easy for native KernelCAD objects (3DS/SOR/Pipes). See the MiniCAD sample for an example. It is about changing a certain number of parameters You are probably asking about BSpline BRep shapes. It is trickier there, if you do it literally. This is because a shape has edges and vertices wh...
by nickz
Mon Apr 01, 2019 11:30 pm
Forum: General Issues
Topic: Mesh to STEP
Replies: 1
Views: 1561

Re: Mesh to STEP

Hello Generally no. This explains the problem: http://www.dynoinsight.com/phpBB3/viewtopic.php?f=2&t=2869 It is possible with some coding when you know what is the expected geometry. DGK can fit a patch into mesh around a point (Diff Surface sample). So when structure of the object is known (how man...