![]() |
|
How to draw dashed LineArcVisual3D? - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9) +--- Thread: How to draw dashed LineArcVisual3D? (/showthread.php?tid=3930) |
How to draw dashed LineArcVisual3D? - hatecows - 03-31-2015 That's me again. I will fill this forum with questions =)) How to draw dashed LineArcVisual3D or any other 3DLine? Is that possible ? RE: How to draw dashed LineArcVisual3D? - abenedik - 03-31-2015 (03-31-2015, 01:09 PM)hatecows Wrote: That's me again. I will fill this forum with questions =)) That is great! Just keep questioning. It is not possible to add dashed lines with Ab3d.PowerToys. But if you really want to have it, you can add many short lines to create that effect. You can use the following code (used by LineArc) to get the 3D positions of line arc: Code: public static void AddArc3DPoints(Point3D circleCenterPosition,This will fill points collection. After that you can use the Ab3d.Models.Line3DFactory.CreateMultiLine3D method to create multiple short lines (note that the method takes positions collection that define lines with 2 Point3D position - for example line1: positions[0] to positions[1], line2: position[2] to position[3], ... |