mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +00:00
fix typo
This commit is contained in:
@@ -248,7 +248,7 @@ class Drawing(bonsai.core.tool.Drawing):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create_camera(
|
def create_camera(
|
||||||
cls, name: str, matrix: Matrix, location_hint: Literal["PERPSECTIVE", "ORTHOGRAPHIC"]
|
cls, name: str, matrix: Matrix, location_hint: Literal["PERSPECTIVE", "ORTHOGRAPHIC"]
|
||||||
) -> bpy.types.Object:
|
) -> bpy.types.Object:
|
||||||
camera = bpy.data.objects.new(name, bpy.data.cameras.new(name))
|
camera = bpy.data.objects.new(name, bpy.data.cameras.new(name))
|
||||||
camera.location = (0, 0, 1.5) # The view shall be 1.5m above the origin
|
camera.location = (0, 0, 1.5) # The view shall be 1.5m above the origin
|
||||||
|
|||||||
Reference in New Issue
Block a user