Search found 130 matches

by Prashant Kande
Wed Aug 05, 2020 4:16 am
Forum: General Issues
Topic: Non-zoomable objects
Replies: 1
Views: 25

Re: Non-zoomable objects

Hi Renzo We do not have it at the moment, although the renderer can do it. We just did not get to it yet. Please get in touch, if it is important. You could code a kind of quasi functionality yourself using resizing the object. We did it for the 3D axes icon (The bottom corner of Transform sample) i...
by Prashant Kande
Fri Jul 31, 2020 12:08 am
Forum: General Issues
Topic: Modifying 2d curve by points
Replies: 6
Views: 169

Re: Modifying 2d curve by points

The sample is coded this way for simplicity. Yes you could code it in a mouse move handler. If it looks jerky, it might be better to do the modification on mouse up in the end and show a couple of straight lines during the stroke instead.
by Prashant Kande
Wed Jul 29, 2020 3:02 am
Forum: General Issues
Topic: Modifying 2d curve by points
Replies: 6
Views: 169

Re: Modifying 2d curve by points

Hi Matias The indices specify which part of the curve should be modified to pass through the new point. If the curve was created by interpolation than you can get parameters for the interpolation points before and after the point to be moved. Parameter of a point is returned by ICurve_DG.GetNearestP...
by Prashant Kande
Fri Jul 24, 2020 2:44 am
Forum: Bug Reports
Topic: Licensing problems
Replies: 1
Views: 50

Re: Licensing problems

Hello John Thank you for reporting. Please get the 5111 update. The software does quick check on every start and if the local account info is out of date (more than a week old) it queries the server behind. Your firewall might block the communication. If so, the component will start popping up messa...
by Prashant Kande
Mon Jul 13, 2020 3:17 am
Forum: General Issues
Topic: Extract geometry from brep file
Replies: 4
Views: 277

Re: Extract geometry from brep file

This change was added to the Friday's update. We have also sorted out a couple of issues in conversion brep to point set. The sample was further simplified a little as well.
Regards
by Prashant Kande
Wed Jul 08, 2020 6:17 am
Forum: General Issues
Topic: Extract geometry from brep file
Replies: 4
Views: 277

Re: Extract geometry from brep file

You are right. It should work. This is an ancient sample. We are looking into reworking it. For now please change the beginning of LoadPointCloud() from private void LoadPointCloud() { // Get extension of the model path to check that it is .csv or .xyz var strModelPath = m_kernCAD.ModelPath; strMode...
by Prashant Kande
Mon Jul 06, 2020 4:48 am
Forum: General Issues
Topic: Extract geometry from brep file
Replies: 4
Views: 277

Re: Extract geometry from brep file

Hi Fergus .brep format loads solids, etc. as bspline brep type. The loaded structures are not aware of what the object represents. It is up to the application to interpret the input. The easiest way would be to store some additional info with your app's document which would identify the objects by i...
by Prashant Kande
Fri Jun 12, 2020 12:17 am
Forum: General Issues
Topic: Wire inside another wire
Replies: 3
Views: 389

Re: Wire inside another wire

Sample the curves using ICurve_DG.GetPointAtRatio(double ratio) at a number of positions (in 0 to 1.0 range). How many? - I guess 10 would be plenty, but it is better to take it larger like 60 and tune in to reduce until you start getting wrong answers.
by Prashant Kande
Mon Jun 08, 2020 12:07 am
Forum: Bug Reports
Topic: Searching documentation
Replies: 2
Views: 1458

Re: Searching documentation

We have made some improvements. It works with an extra step. When searching, say for IEntity_DG please click one of the top results and find a link to the IEntity_DG there.
We are planning to replace the documentation site with something better soon.
Regards
by Prashant Kande
Tue Jun 02, 2020 4:41 am
Forum: General Issues
Topic: Create face from spline curves
Replies: 3
Views: 408

Re: Create face from spline curves

As per your second question, please take a look at IWireArrayToSurfaceBuilder_DG and how it is used in Surfaces sample.
Regards