Commit graph

107 commits

Author SHA1 Message Date
themancalledjakob
99f068e4fe save fontfile metrics
remove metrics faces after saving
2024-08-08 11:32:23 +02:00
themancalledjakob
e203e46cc4 save fontfile as glb 2024-08-08 11:31:59 +02:00
themancalledjakob
27a0ebdb90 bugfix saving scene
do not modify list while iterating through it
2024-08-08 11:31:39 +02:00
themancalledjakob
f3e58b2dab font loading
filter metrics
2024-08-08 11:30:39 +02:00
themancalledjakob
0c0d8d0a7f panel features
add compensate_curvature and ignore_orientation to panel
2024-08-08 11:30:05 +02:00
themancalledjakob
4bc0ee69f1 use face_name 2024-08-08 11:28:31 +02:00
themancalledjakob
327b4161bc use face_name
theoretically enables loading faces of the same font from different
files.
needs to be tested
2024-08-08 11:24:15 +02:00
themancalledjakob
5c4ee030d3 metrics io
add functions for metrics saving and loading
we need to add and remove faces. if they don't have faces, blender gltf
loader will ignore the meshes. but we want them in the end only with
vertices and edges.
2024-08-08 11:23:08 +02:00
themancalledjakob
65605aa2c0 metrics loading
filter metrics when loading and add them for a glyph that has them as a
child
2024-08-08 11:21:34 +02:00
themancalledjakob
174754831d metrics
add custom properties to metrics
2024-08-08 11:20:20 +02:00
themancalledjakob
e5f2fc1fd9 panel
set font size and translation when placing text
2024-08-07 13:13:07 +02:00
themancalledjakob
ffc5ac0e64 cleanup
whatever
2024-08-07 13:11:51 +02:00
themancalledjakob
0750cc56e3 bugfix
make sure matrix is 3x3 for calculation
2024-08-07 13:11:35 +02:00
themancalledjakob
bae99ee4c6 refactoring
better function name
2024-08-07 13:11:05 +02:00
themancalledjakob
d8f8441871 reshuffle
easier commenting out block of code
2024-08-07 13:10:42 +02:00
themancalledjakob
d8e0d571c0 tweak curve compensation
it jitters, if the compensation is done in too rough steps
2024-08-07 13:10:11 +02:00
themancalledjakob
561f6605ee code cleanup
remove unused operator
2024-08-07 12:39:15 +02:00
themancalledjakob
c2da8c8743 metrics
add metrics panels, etc
2024-08-07 11:56:13 +02:00
themancalledjakob
7dd56b8019 cleanup
comment out possibly unused operator
2024-08-07 11:55:19 +02:00
themancalledjakob
b0dc8c8e71 metrics
add metrics functions in butils
2024-08-07 11:54:38 +02:00
themancalledjakob
1bcce247e0 improvement code cleanity
use function to completely delete objects
2024-08-07 11:53:03 +02:00
themancalledjakob
f194c4cd24 bugfix regeneration
regenerate when letters are different
2024-08-07 11:52:09 +02:00
themancalledjakob
172c92d88e bugfix
better handling of not found glyph
2024-08-07 11:51:16 +02:00
themancalledjakob
3feef9f5ab function to completely delete
add function to completely delete objects safely
2024-08-07 11:49:49 +02:00
themancalledjakob
459bf739dd improvement
expose alternate
reuse variables
2024-08-07 11:48:40 +02:00
themancalledjakob
adc5ad8ea6 cleanup
remove prints
2024-08-07 11:47:02 +02:00
themancalledjakob
97446d74e2 prepare name refactor 2024-08-05 12:59:45 +02:00
themancalledjakob
7e55f9e9bf preliminary font size and translation 2024-08-05 12:59:07 +02:00
themancalledjakob
8a63014d58 add debug timing 2024-08-05 12:58:05 +02:00
themancalledjakob
85ed21ef22 compensate for bezier curvature 2024-08-05 12:56:30 +02:00
themancalledjakob
a6e760db64 alternative bezier point calculation 2024-08-05 12:54:26 +02:00
themancalledjakob
00e49d5056 cleanup 2024-08-05 12:54:01 +02:00
themancalledjakob
4730d981fe use more descriptive variable names 2024-08-05 10:19:51 +02:00
themancalledjakob
a15c73a169 cleanup 2024-08-04 15:13:27 +02:00
themancalledjakob
b5feaa6678 include first point for bezier length 2024-08-04 15:13:05 +02:00
themancalledjakob
ad7d62d13e prefer active_object to object 2024-08-04 15:12:38 +02:00
themancalledjakob
2d8ec86edc disable placing text if not possible 2024-08-04 13:32:01 +02:00
themancalledjakob
3ecd3177c1 better infix explanation 2024-08-04 13:31:06 +02:00
themancalledjakob
9e910239ac cleanup, little fixes and improvements 2024-08-04 12:52:37 +02:00
themancalledjakob
d7a73116fd move execution_queue in butils, cleanup 2024-07-10 17:14:02 +02:00
themancalledjakob
07c38fcdaf regenerate on demand, easier orientation, various 2024-07-10 16:34:43 +02:00
themancalledjakob
846b84b6f4 add space 2024-07-10 16:08:03 +02:00
themancalledjakob
8bcb252087 autoremove text_objects and newline 2024-07-02 12:22:24 +02:00
themancalledjakob
62e6c63a61 calculate instead of follow_path 2024-07-01 14:39:07 +02:00
themancalledjakob
d081d1d42d align rotations 2024-07-01 10:25:17 +02:00
themancalledjakob
a5e45c7439 cleanup 2024-06-28 11:24:29 +02:00
themancalledjakob
066d22bfb7 remove textobjects from available_texts if they are not there anymore 2024-06-28 11:24:01 +02:00
themancalledjakob
c1a3afbd60 clean 2024-06-28 10:24:56 +02:00
themancalledjakob
5759420ff4 disable extra scene data dynamically 2024-06-28 10:24:22 +02:00
themancalledjakob
c27b53b012 save font file 2024-06-27 14:56:43 +02:00