PipeCAD icon indicating copy to clipboard operation
PipeCAD copied to clipboard

Enhancement of mechanism of P-Point selection

Open rompik opened this issue 2 years ago • 10 comments

Hello Shing, Please, can you enhance mechanism of selection of P-Points while measuring distance between 2 elements which have P-Points (piping components and primitives). Currently, it is quite difficult to get correct selection of start and end P-Points.
https://user-images.githubusercontent.com/12736532/177100463-3cae634c-48a3-489b-916b-c38b625d7e97.mp4

I think it could be different options to define mode of selections. Currently, it could be mode for selecting only P-points or P-lines or screen point (it's already released).

Form for setup mode of selection can be called by dedicated icons from Status Bar (like in E3D) image

Form itself can contain 3 check boxes for now: P-Point, P-Line( any pline w/out posibility to filter for current moment) or Screen Point. image

I can try to develop such form, but I will only need name of core methods which I can use for setup mode of selection. It will allow saving your time for another tasks.

rompik avatar Jul 04 '22 07:07 rompik

OK. Now there is a function PipeCad.PickPoint(int theMode), set theMode=1 can pick the vertex of model, this will be better. I will consider to add mode to pick P-Point.

eryar avatar Jul 04 '22 09:07 eryar

The Object Snapping Settings in E3D: Snap to element points: image Snap to graphics points: image

Firstly try to implement some simple snap function, such as Midpoint, Centre point.

eryar avatar Aug 24 '22 00:08 eryar

Pick P-Point of cylinder: image

Pick P-Point of box: image

Pick P-Point of nozzle: image

eryar avatar Aug 26 '22 08:08 eryar

Pick P-Point of piping component: image

eryar avatar Aug 26 '22 08:08 eryar

Pick Point demo: PipeCAD-Pick Point

eryar avatar Aug 26 '22 08:08 eryar

Use PipeCad.SnapOptions to set one or multi snap options: image

eryar avatar Aug 29 '22 09:08 eryar

Set snap options, default is snap end and ppoint: image

eryar avatar Aug 29 '22 11:08 eryar

Snap center of circle/arc: image

eryar avatar Aug 30 '22 01:08 eryar

Snap middle point of segment: image

eryar avatar Aug 30 '22 01:08 eryar

Query position and distance to use the same snap point options: image

eryar avatar Sep 02 '22 09:09 eryar