Page 1 of 1

Zoomable lines

Posted: Mon Nov 30, 2020 4:00 am
by Andrey Noskov
Hello everyone!
Is there a way to draw lines with zoomable width in v6.1? So when I zoom in they should appear wider.
Any suggestions?
Thanks

Re: Zoomable lines

Posted: Tue Dec 01, 2020 4:56 am
by Mike Zubovic
Hi Andrey

If you have straight line I think drawing them as cylinders (IStdShape_DG.Cylinder()) should be fine. If you need super pretty joints you could draw spheres at the joints.

For curved lines I think you could sample the curve and approximate using the above. Pipes should also be appropriate, but I never used them.