Equilateral triangle and heart

A tutorial for Imagine. Beginner level.

Equilateral triangle.

Here are two method. The first is useful if you want to put this shape inside a circular hole and you know its diameter. The second method is useful if you must respect a given edge length.
First, start Imagine and go to the detail editor.

1- Circle method
From "Object" menu, select "New / Primitive". The primitive panel opens.
In the primitive panel, double-clic on "Disk".
The Attribute panel opens, with the focus on the "Shape" tab.
Leave Radius to 50, set Sections to 3 and hit OK.
You have now an equilateral triangle.
Each side length should be : L = D * (sqrt(3) / 2 ) = 86.60254...
D is the diameter of the disk, 100 in this case ; sqrt means square root.

2- Coordinates
From "Object" menu, select "New /Axis". Pick it, and set its position to X=0, Y=0, Z=0 in the Transformation requester.
Further in the text, it will be written (0; 0; 0).
Switch to "Add points" mode and create 3 points.
Switch to "Add edges" mode and create the edges of the triangle.
Switch to "Pick point" mode and pick the first point, lowest left.
Set its position to (0; 0; 0) with the transformation requester.
Pick the second point, lowest right, set its position to (100; 0; 0)
Pick the last point, the top of the triangle
and set its position to (50; 0; 86.60254)
The exact height of this point should be :
Z = L * (sqrt(3) / 2 ) = 86.60254...
L is the length of the edge, 100 in this case.
Switch to "Pick object" mode, you have now an equilateral triangle.

 

Heart.

Now we know how to build an equilateral triangle, it will be useful for the next steps. In this tutorial, you will build a heart shape.


Create 3 disk objects
:radius=50
section=36
.
Place the disk centers at the summit
of an equilateral triangle
with edge length=100.
The coordinates are ;
(0; 0; 0;)
(100; 0; 0)
(50; 0; 86.60254)

In this picture, grid size=100

Select the 3 circles
with the top circle first.
Join the 3 objects.
Switch to "Pick points" mode. Select the points like in this picture.



Delete them. Select the overlapping points and Merge them.
Switch to "Pick object" mode

Add 2 new circles : radius=25 ; section=36.
Place the disk centers at these coordinates : (25; 0; 86.60254) and (75; 0; 86.60254)



Pick them and join the 2 circles.
Switch to "Pick points" mode.
Pick the 2 overlapping points at the center of the figure and Merge them.
Pick the points like in this picture and Delete them.



Switch back to "Pick object" mode.



Pick the 2 objects.
Join and Merge them.
When you build object this way, you have to check if there is no overlapping point.
You should have a nice heart shape.



Alternate Shape.

Pick all the points of the spiky part, beginning with the summit.
Join them. You get then another kind of heart.