butterfly.stl.ascii module

class butterfly.stl.ascii.KeywordToken[source]

Bases: str

class butterfly.stl.ascii.NumberToken[source]

Bases: float

class butterfly.stl.ascii.Scanner(file)[source]

Bases: object

get_byte()[source]
get_token()[source]
peek_byte()[source]
peek_token()[source]
require_token(token_type, required_value=None)[source]
exception butterfly.stl.ascii.SyntaxError[source]

Bases: exceptions.ValueError

butterfly.stl.ascii.parse(file)[source]
butterfly.stl.ascii.write(solid, file)[source]