コード例 #1
0
ファイル: types.py プロジェクト: sariths/butterfly
    def write_ascii(self, file):
        """Write this object to a file in STL *ascii* format.

        ``file`` must be a file-like object (supporting a ``write`` method),
        to which the data will be written.
        """
        from stl.ascii import write
        write(self, file)
コード例 #2
0
ファイル: types.py プロジェクト: mostaphaRoudsari/Butterfly
    def write_ascii(self, file):
        """
        Write this object to a file in STL *ascii* format.

        ``file`` must be a file-like object (supporting a ``write`` method),
        to which the data will be written.
        """
        from stl.ascii import write
        write(self, file)