Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello Everyone,
From :
How to plot the star ?
Many thanks for your time and help in advance.
Best Regards.
Loi.
Solved! Go to Solution.
More interesting!
I will send my solution tomorrow - with animation!
PS
I learned poetry by heart as a child:
Кремлёвские звёзды
Над нами горят,
Повсюду доходит их свет!
Хорошая Родина есть у ребят,
И лучше той Родины
Нет!
Many thanks, Luc. Basic, my question almost was answered. But I still have a small query : the your "Star5" seems not being a "perfect star(5)". Say, compare your "Star7" with following figure that I would wish:
Would it be edited ?
Best Regards. Loi.
Play with the arguments to the PlotStar function.
The first defines the number of points. The second defines the size of the points, the third defines the size of the indents, the fourth turns the star.
Success!
Luc
Is there a way to describe for general case ?
Best Regards.
Loi.
I am not sure what you mean with "not perfect".
To duplicate the figure on the right of your picture you can try to replace the argument 1/3 by something larger like 0.6 or 0.7, probably 2/3 will do. The third argument is the distance of the inner points to the centre.
Hi, Werner. I would mean it as the following:
Refer to : https://www.youtube.com/watch?v=B1Bm1if8zGg or a similar.
Best Regards.
Loi.
You may use either of the following three variants - depending on how exactly you'd like to define a "perfect star". You may also distinguish between odd or even number of vertices.
BTW, why not in 3D?