Skip to content

Commit

Permalink
Add support for BCF orthogonal camera scales
Browse files Browse the repository at this point in the history
  • Loading branch information
Moult committed Apr 12, 2020
1 parent 88bb7da commit c3a795c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ifcblenderexport/blenderbim/bim/operator.py
Expand Up @@ -454,6 +454,7 @@ def execute(self, context):
if viewpoint.oCamera:
camera = viewpoint.oCamera
obj.data.type = 'ORTHO'
obj.data.ortho_scale = viewpoint.oCamera.viewWorldScale
elif viewpoint.pCamera:
camera = viewpoint.pCamera
obj.data.type = 'PERSP'
Expand Down

1 comment on commit c3a795c

@IfcOpenBot
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

I've created the following builds for your commit:

Linux Win macOS
Blender py37 32bit / 64bit 32bit / 64bit 64bit
Blender py38 32bit / 64bit 32bit / 64bit 64bit
IfcConvert 32bit / 64bit 32bit / 64bit 64bit
IfcGeomServer 32bit / 64bit 32bit / 64bit 64bit
Python 27 32bit / 64bit 32bit / 64bit 64bit
Python 27u 32bit / 64bit 64bit
Python 32 32bit / 64bit 32bit / 64bit 64bit
Python 32u 32bit / 64bit 64bit
Python 33 32bit / 64bit 32bit / 64bit 64bit
Python 34 32bit / 64bit 32bit / 64bit 64bit
Python 35 32bit / 64bit 32bit / 64bit 64bit
Python 36 32bit / 64bit 32bit / 64bit 64bit
Python 37 32bit / 64bit 32bit / 64bit 64bit
Python 38 32bit / 64bit 32bit / 64bit 64bit

Kind regards,
IfcOpenBot

Please sign in to comment.