Search found 397 matches

by nickz
Mon Jul 29, 2019 5:50 am
Forum: General Issues
Topic: Indentify an extrusion
Replies: 1
Views: 4655

Re: Indentify an extrusion

Hello Felix I assume you mean linear extrusion? Yes it is doable with DG Kernel and is not that complicated. There is some coding to do. It is not very common functionality so we do not have a ready-to-use algorithm, but again, it is not that hard. I would suggest creating a simplest test case (a bo...
by nickz
Thu Jul 18, 2019 7:39 am
Forum: General Issues
Topic: Setting general orientation on object
Replies: 1
Views: 4646

Re: Setting general orientation on object

Hello Elph What you need is to get IFrame* from the entity and define it in such a way that it is an image of standard(=global) frame under your transform. Assuming the matrix is orthogonal (determinant is 1.0) and is 3x3, taking columns and copying them as axes to the frame should do the trick. If ...
by nickz
Tue Jun 25, 2019 4:46 am
Forum: General Issues
Topic: Wishes for explorer enhancements
Replies: 1
Views: 4368

Re: Wishes for explorer enhancements

Hello
Good points. Thank you. We will look into it in the coming versions
Regards
by nickz
Fri Jun 21, 2019 3:45 am
Forum: General Issues
Topic: Contact movement
Replies: 1
Views: 4237

Re: Contact movement

Hi Gab This is an interesting project. We do not have a high level solution, but we have tools to implement it in your application. What I think would be involved there is: - Collision detection (Collision Path, Collision and Metrics samples) - Obtaining surface points with surface normal (Collision...
by nickz
Wed Jun 12, 2019 2:29 am
Forum: General Issues
Topic: Shortest path
Replies: 5
Views: 9203

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: 4285

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: 10418

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: 10418

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: 10418

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: 10418

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