Search found 7 matches

by Alfio_Tr
Thu Aug 31, 2023 1:09 am
Forum: General Issues
Topic: Display points
Replies: 1
Views: 10549

Re: Display points

In case you have only few points you can get a nice display by using small spheres. Search for IStdShape_DG.Sphere() in the samples. You can set color, location, name on them after construction. If you have lots of them, have a look at the LowDim and Cloud samples. Those points are zoomable. It is b...
by Alfio_Tr
Thu Jun 16, 2022 7:41 am
Forum: General Issues
Topic: Orthogonal projection to a face
Replies: 2
Views: 3769

Re: Orthogonal projection to a face

I think you can use the method described in this thread: Project point to solid . Query IMetrics_DG from the entity of the face. If you have just a face, you can wrap it in an entity in the same way as the point is wrapped in the above topic: IEntity_DG iEntityPoint = iGener.Create("IEntity_DG") as ...
by Alfio_Tr
Fri Aug 21, 2020 3:03 am
Forum: General Issues
Topic: select a point in a cloud
Replies: 2
Views: 4250

Re: select a point in a cloud

Hi Mark I do not believe there is "off the shelf" functionality for this. It is simple to code: You probably need for a selection rectangle, which you have in pixels, to get coordinates of points which are under it in 3d? For a 3d point to check whether it is under the selection rectangle use IView_...
by Alfio_Tr
Thu Aug 13, 2020 3:43 am
Forum: General Issues
Topic: See shape in view
Replies: 2
Views: 3982

Re: See shape in view

You can just set the color via IEntity_DG.SetColor()
Or:
Use current entity set. There is a way to specify the color.
Cheers
by Alfio_Tr
Tue Jul 23, 2019 3:31 am
Forum: Bug Reports
Topic: Swapped params in object array > disk
Replies: 1
Views: 6119

Swapped params in object array > disk

Hi DInsight guys
Just wanted to let you know there seems to be a bug in Object Array example NewStandardObjectForm.buttonOK_Click()
iEnt = iStdShape.Disk(2, 1);
seems to be wrong (inner radius is greater than outer). and there is an exception. It works if I swap the params
cheers
by Alfio_Tr
Mon Aug 12, 2013 12:30 am
Forum: General Issues
Topic: KernelCAD Light
Replies: 2
Views: 10820

Re: KernelCAD Light

Thank you!
by Alfio_Tr
Fri Aug 09, 2013 9:23 am
Forum: General Issues
Topic: KernelCAD Light
Replies: 2
Views: 10820

KernelCAD Light

Hi
Normally a light edition is free. Why it is the opposite with KernelCAD?

Is KernelCAD Light going to be supported going forward?

Thank You
Alfio