Continuing from:
viewtopic.php?t=5566
And as I don't want to interfere on standard scripts.
In Scale.js
Arround lines:
Code: Select all
403 // non-uniform scaling of other entities:
404 entity.scale(sv, this.focusPoint);
405 op.addObject(entity, flags);
The math for md, P3, Sagitta'' and Bulge'' with the scaled tangent is in the screengrab.
There are some signs to adapt. Lost in sqauring and square routing.
It is also possible to do this graphically:
The new arc is the arc through the scaled endpoints and tangent at the scaled tangent.
Notice that the new apex point on the scaled tangent is not the same as the scaled apex point.
Visualized in the file New Sagitta.dxf.
I leave it up to you to provide me with an adapted script for scale.js.
You only have to enclose a function call at the correct place and the empty function.
From what I understand that can be between 404 and 405.
but I don't have the complete picture.
In scope should be the Poly and the scaling factors.
The option to do this can later be included in AppPrefs.
For now I only want to it put through a firm testing phase.
Kind regards,
CVH