I inserted a 3D linestring from an alignment as a reference and generated a PolyLine from it using the PolyLine node, the problem is when i try to use ProjectCurveOntoPlane and use BaseCS.XYPlane as my Plane, i get an error saying check alignment of the curve, What I'm trying to achieve is to get a 2D projection of my 3D PolyLine.
I'm using GC from OBM.
When i tried to create a polyline and then tried to us the technique Curve.ProjectCurveOntoPlane, i see the polyline getting projected on the XY Plane. so the technique is working fine. Now the only way to recreate the issue is with the file you are working with. Please send us the files for testing purposes. '
Hi Alifur,I attached the reference file, you can just attach it on your GC model and replicate what i did. Thank you
Use the 'Default-3D' model space
I had a quick look at the file, just wondering did you use a AECtrasnform to get this referenced back around the file origin? That might be the issue.
I moved the reference close to the origin and it appears to project onto the xy plane.
Hope that helps
I think Wayne is right. Working far away from origin makes it harder for the computer to do the calculations. So it is always better to work near the origin.
However, as a workaround, you may follow this.
Hi Wayne,Thanks for your input, that is what I'm thinking because from the SIG videos i watched the elements that are projected are very close to the origin, in my case my alignment is on real world coordinates. I'm quite new to GC and I didn't used a AECtransform.Do i need to move the origin/acs next to my reference? cause moving my reference next to the origin would change the coordinates and if i attach this model as a reference it would be out of place.I'm having an error whenever i try to open your file.Thanks,Cris
Hi Wayne,AnikI got it! i created another coordinate system ByUniversalTransform and moved my reference to the origin. I was able to project the curve onto the XY plane.