PCG Grammar and linear spline and sharp corners.

So no one knows how can in done with PCG Grammar directly? Well, I think, I came up with this idea. In BP make a few spline bases on the main spline but with consideration of the sharp points, and then use this small spline for Grammar. If someone knows another method, please tell.