scalegrid a b
where a and b are integers.
The scalegrid command sets the ratio of magic internal units to lambda units by rescaling the internal database and appropriate technology parameters. The values a and b are interpreted to mean that all positions in the database should be multiplied by the factor b / a. An equivalent meaning is that there should be b internal units per a lambda units in the database. For example,scalegrid 1 2means 2 internal units per lambda, or an internal grid that is twice as finely spaced as the default. The grid scaling can be queried using the tech lambda command. Grid scaling is interpreted relative to the current scale, soscalegrid 1 2results in 4 internal units per lambda.
scalegrid 1 2
scalegrid is implemented as a built-in command in magic.
snap
tech
Return to command index |
Last updated: March 7, 2020 at 1:06pm