I stuck a bit: I need to get projection to the XZ plane.
Below is the code for Viewport:
Dim vpy As New Rhino.Display.RhinoViewport()
vpy.Name = "ProY"
Dim clocY As New Point3D(0, -100, 0)
vpy.SetCameraDirection(New Vector3d(0, 1, 0), True)
Dim hld As HiddenLineDrawing = HiddenLineDrawing.Compute(drawp, True)
But the resulting curves are projected to XY plane.
What am I doing wrong?
@actually the projection is done correctly but then resulting objects are placed with XY plane. I am aiming for similar behaviour as with ProjectToPlane.
@ and I cannot see the projection from all the objects. Is it related to the size of the Viewport? do I need to settle it as well? if done through GH make2d component - everything seems to be fine… is it related to tolerance?