Compare commits
No commits in common. "93e4075d8902863e2c40380f833e3d9904023338" and "c869da03bf5a3d322fa1f5aee3ef2dcfadd1df0a" have entirely different histories.
93e4075d89
...
c869da03bf
2 changed files with 9 additions and 2 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
**Homepage:** https://mpxd.net/code/jan/fatamorgana
|
**Homepage:** https://mpxd.net/code/jan/fatamorgana
|
||||||
* [PyPI](https://pypi.org/project/fatamorgana)
|
* [PyPI](https://pypi.org/project/fatamorgana)
|
||||||
|
* [Github mirror](https://github.com/anewusername/fatamorgana)
|
||||||
|
|
||||||
**Capabilities:**
|
**Capabilities:**
|
||||||
* This package is a work-in-progress and is largely untested -- it works for
|
* This package is a work-in-progress and is largely untested -- it works for
|
||||||
|
|
@ -27,7 +28,12 @@
|
||||||
|
|
||||||
Install with pip from PyPi (preferred):
|
Install with pip from PyPi (preferred):
|
||||||
```bash
|
```bash
|
||||||
pip install fatamorgana
|
pip3 install fatamorgana
|
||||||
|
```
|
||||||
|
|
||||||
|
Install directly from git repository:
|
||||||
|
```bash
|
||||||
|
pip3 install git+https://mpxd.net/code/jan/fatamorgana.git@release
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
@ -38,6 +44,7 @@ To read the inline help,
|
||||||
import fatamorgana
|
import fatamorgana
|
||||||
help(fatamorgana.OasisLayout)
|
help(fatamorgana.OasisLayout)
|
||||||
```
|
```
|
||||||
|
The documentation is currently very sparse and I expect to improve it whenever possible!
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
|
||||||
|
|
@ -1434,7 +1434,7 @@ class Placement(Record):
|
||||||
size += self.name.write(stream) # type: ignore
|
size += self.name.write(stream) # type: ignore
|
||||||
if mm:
|
if mm:
|
||||||
size += write_real(stream, self.magnification) # type: ignore
|
size += write_real(stream, self.magnification) # type: ignore
|
||||||
if aq:
|
if aa:
|
||||||
size += write_real(stream, self.angle) # type: ignore
|
size += write_real(stream, self.angle) # type: ignore
|
||||||
if xx:
|
if xx:
|
||||||
size += write_sint(stream, self.x) # type: ignore
|
size += write_sint(stream, self.x) # type: ignore
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue