solvespace/test
whitequark 74cb1f589c Add two more points to the TTF text request.
These points can be used for constraining the width of the text
(or to the width of the text).

The main parts of the commit are:
  * TtfFont is restructured to be able to return the aspect ratio
    for a given string.
  * This aspect ratio is written to the savefile, such that even if
    the font is missing, the sketch would still be solved correctly.
  * The two additional points are constrained via perpendicularly
    to the two main points (which form a v vector).

The compatibility features are as follows:
  * When the font is missing in old files, 1:1 aspect ratio is used,
    which works for the replacement symbol anyhow.
  * When the two additional points are missing in old files, their
    would-be positions are calculated and they are moved there,
    avoiding 'jumping' of underconstrained sketches.
2016-11-02 09:22:18 +00:00
..
constraint Don't consider workplane origin point for bounding box calculation. 2016-11-02 02:43:45 +00:00
group Don't consider workplane origin point for bounding box calculation. 2016-11-02 02:43:45 +00:00
request Add two more points to the TTF text request. 2016-11-02 09:22:18 +00:00
CMakeLists.txt Allow creating n-dimensional arrays with translate and rotate groups. 2016-10-12 22:02:38 +00:00
Gentium-R.ttf Add basic test coverage for curve sketching tools. 2016-08-01 11:31:38 +00:00
commit.sh Disable closed contour check in the test harness. 2016-10-11 23:32:12 +00:00
harness.cpp tests: fix bugs and inefficiencies in PrepareSavefile. 2016-11-02 03:43:29 +00:00
harness.h Allow combining extrude, lathe, translate and rotate group as assemblies. 2016-10-12 22:02:38 +00:00