Skip to content

Commit

Permalink
Merge pull request #5 from ni-m/dev
Browse files Browse the repository at this point in the history
Add dynamic resolution for preview and export
  • Loading branch information
ni-m authored Oct 30, 2023
2 parents 057d242 + 1858777 commit 654ecb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fontmachine.scad
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// @brief If the char has some internal shapes (e.g. O, A, P...), a corresponding beam will be added (if requested via config.cfg)

//resolution, used for dxf and svg export
$fa = 1;
$fs = 0.3;
$fa= $preview ? 32 : 1;
$fs= $preview ? 10 : 0.01;

//font and size; do not change!
cfgFont = "Verdana";
Expand All @@ -15,7 +15,7 @@ cfgSize = 5;
//read config file
echo("Copy fm_config_default.cfg and name it fm_config.cfg");
include <fm_config_default.cfg> // load default config file
include <fm_config.cfg> // override default config file
include <fm_config.cfg> // override default config file

//this code generates a frontplate with 150 mm* 150 mm
//scale according to cfgGridSize, base gridSize is 10mm, adjusted if needed
Expand Down

0 comments on commit 654ecb1

Please sign in to comment.