Hi, everyone! I have finished working on the basic functionality of my addon and want to show the results. This addon is designed to create various gem cuts. The next thing planned is to add concave and maybe check for windowing (a window in gemstone is an area of the gem that is not returning light to the eye). I would really like to know your opinion about it!
@Victor Stepanov OK, if I understood the idea correctly, the preview function already exists. At the start, 2 transparent cubes are created that show the future cut.
@Victor Stepanov Absolutly real faceted gems. 1) Flower of life (attached stl file, I modeled it in "GemCutStudio" following the instructions on the internet), 2) Snowflake - https://pikabu.ru/story/snezhinka_20_11535372
Why did you use Toggle in 1 exercise instead of using % operator? for i in range(10): if i % 2 == 0: bpy.ops.mesh.primitive_cube_add() else: bpy.ops.mesh.primitive_uv_sphere_add() bpy.context.active_object.location.y = i * 3
@Victor Stepanov Maybe I asked the question incorrectly. As a beginner, I googled how to determine even and odd values, before the hint about toggle. And now I don't quite understand in which cases to use each one, if the result same.