Topic: freepascal-code to take a QET- Element and scale the content by a fact
Hello S.DEFFAUX!
Who do you want to punish with such work?
Checking all existing QET-Elements if they show a
front-view and then scale them by hand...In the Lazarus-/freepascal-Wiki I found the beginning
of the now existing freepascal-code to take a QET-
Element and scale the content by a factor.You find the sources and pre-compiled versions for
Debian unstable and ReactOS at
https://github.com/plc-user/QET_ElementScalerThe code compiles/runs with Lazarus 2.0.10 and
FreePascal 3.2.0 on Debian/GNU Linux (unstable) and
ReactOS (0.4.15-dev-1196) (didn't try, but should run
on win7 or 10, too)In combination with a small shell-script the program
edited all front-views of "my" elements (about 800)
in 1.5 seconds.But still the main-Question is: What scaling-faktor
do we want to use for front-views of our elements.
In my opinion 100 mm -> 200 px is a good value!
That means that ${someone} has to check, if the already
existing parts use the same scaling-factor. As I wrote
in a previous message: The three examples had three
different factors and I guess there are even more in the
QET-collection ...Best regards
plc-user