Results 57 comments of Shing Liu

The Object Snapping Settings in E3D: Snap to element points: ![image](https://user-images.githubusercontent.com/8439181/186287754-f5cc5bc0-45d8-49be-b83c-cb74190bd775.png) Snap to graphics points: ![image](https://user-images.githubusercontent.com/8439181/186287781-bcdfbc5c-00a0-4f02-bc45-22eab76075c2.png) Firstly try to implement some simple snap function, such as Midpoint, Centre point.

Pick P-Point of cylinder: ![image](https://user-images.githubusercontent.com/8439181/186857140-ad8c81ad-5386-4344-8e52-9b6f9ec73cd7.png) Pick P-Point of box: ![image](https://user-images.githubusercontent.com/8439181/186857339-71932aec-b0eb-4de2-999a-638af00e657a.png) Pick P-Point of nozzle: ![image](https://user-images.githubusercontent.com/8439181/186857423-c4926d01-095a-4139-b4ab-03c18bae716c.png)

Pick P-Point of piping component: ![image](https://user-images.githubusercontent.com/8439181/186858257-ef9080b4-b24a-444e-9775-f03be42479ff.png)

Pick Point demo: ![PipeCAD-Pick Point](https://user-images.githubusercontent.com/8439181/186861619-bb1ae6ed-e151-4c5d-8ec4-dbffe87370d8.gif)

Use PipeCad.SnapOptions to set one or multi snap options: ![image](https://user-images.githubusercontent.com/8439181/187174352-007d6d40-c730-4730-9526-0b7d2d5f00bc.png)

Set snap options, default is snap end and ppoint: ![image](https://user-images.githubusercontent.com/8439181/187195120-136fae9b-dfa5-40bc-802e-8e4b7a61ee3b.png)

Snap center of circle/arc: ![image](https://user-images.githubusercontent.com/8439181/187327206-1dcd88ff-134a-43aa-ac38-e0e9ebea6d7e.png)

Snap middle point of segment: ![image](https://user-images.githubusercontent.com/8439181/187327456-b8dd1b72-882e-497a-b453-7a69c8d57661.png)

Query position and distance to use the same snap point options: ![image](https://user-images.githubusercontent.com/8439181/188111769-92fa840a-ce96-4353-a1b9-dd8d695b9790.png)

OpenCASCADE7.1.0 introduce AIS_Mainpulator to do this. I will update occQt by using occt7.1.0 soon.