add missing properties of cp.SegmentShape and cp.PolyShape

#1048 
There should be a bug in binding of `planes`, if comment `planes` in the test code, it will not crash.