Sun¶
SUN entity defines properties of the sun.
Subclass of |
|
DXF type |
|
Factory function |
creating a new SUN entity is not supported |
- class ezdxf.entities.Sun¶
- dxf.version¶
Current version is
1
.
- dxf.status¶
on =
1
or off =0
- dxf.color¶
AutoCAD Color Index (ACI) value of the sun.
- dxf.true_color¶
true color value of the sun.
- dxf.intensity¶
Intensity value in the range of
0
to1
. (float)
- dxf.julian_day¶
use
calendardate()
to convertdxf.julian_day
todatetime.datetime
object.
- dxf.time¶
Day time in seconds past midnight. (int)
- dxf.daylight_savings_time¶
- dxf.shadows¶
0
Sun do not cast shadows
1
Sun do cast shadows
- dxf.shadow_type¶
- dxf.shadow_map_size¶
- dxf.shadow_softness¶