Zoomable lines

Technical discussions
Post Reply
Andrey Noskov
Posts: 1
Joined: Mon Nov 30, 2020 3:56 am

Zoomable lines

Post 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

Mike Zubovic
Posts: 2
Joined: Sun Apr 20, 2014 3:27 am

Re: Zoomable lines

Post 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.

Post Reply