parent
d0c489e2cc
commit
d67f7aa3b4
|
|
@ -60,6 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Blender export:
|
- Blender export:
|
||||||
- Rotations are now applied to the current view, not just the top view
|
- Rotations are now applied to the current view, not just the top view
|
||||||
- Board/components not visible for small boards (See #484)
|
- Board/components not visible for small boards (See #484)
|
||||||
|
- Light type names (extra space) (#505)
|
||||||
- update_xml with check_pcb_parity enabled:
|
- update_xml with check_pcb_parity enabled:
|
||||||
- Avoid errors for KiCad 6 using "Exclude from BoM" components.
|
- Avoid errors for KiCad 6 using "Exclude from BoM" components.
|
||||||
This limitation isn't found on KiCad 7. (#486)
|
This limitation isn't found on KiCad 7. (#486)
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ outputs:
|
||||||
pos_y: 0
|
pos_y: 0
|
||||||
# [number|string] Z position [m]. You can use `width`, `height` and `size` for PCB dimensions
|
# [number|string] Z position [m]. You can use `width`, `height` and `size` for PCB dimensions
|
||||||
pos_z: 0
|
pos_z: 0
|
||||||
# [string='POINT'] [POINT, SUN, SPOT, HEMI, AREA] Type of light. SUN lights will illuminate more evenly
|
# [string='POINT'] [POINT,SUN,SPOT,HEMI,AREA] Type of light. SUN lights will illuminate more evenly
|
||||||
type: 'POINT'
|
type: 'POINT'
|
||||||
# [dict|list(dict)] Outputs to generate in the same run
|
# [dict|list(dict)] Outputs to generate in the same run
|
||||||
outputs:
|
outputs:
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ Parameters:
|
||||||
- ``pos_x`` :index:`: <pair: output - blender_export - options - light; pos_x>` [number|string] X position [m]. You can use `width`, `height` and `size` for PCB dimensions.
|
- ``pos_x`` :index:`: <pair: output - blender_export - options - light; pos_x>` [number|string] X position [m]. You can use `width`, `height` and `size` for PCB dimensions.
|
||||||
- ``pos_y`` :index:`: <pair: output - blender_export - options - light; pos_y>` [number|string] Y position [m]. You can use `width`, `height` and `size` for PCB dimensions.
|
- ``pos_y`` :index:`: <pair: output - blender_export - options - light; pos_y>` [number|string] Y position [m]. You can use `width`, `height` and `size` for PCB dimensions.
|
||||||
- ``pos_z`` :index:`: <pair: output - blender_export - options - light; pos_z>` [number|string] Z position [m]. You can use `width`, `height` and `size` for PCB dimensions.
|
- ``pos_z`` :index:`: <pair: output - blender_export - options - light; pos_z>` [number|string] Z position [m]. You can use `width`, `height` and `size` for PCB dimensions.
|
||||||
- ``type`` :index:`: <pair: output - blender_export - options - light; type>` [string='POINT'] [POINT, SUN, SPOT, HEMI, AREA] Type of light. SUN lights will illuminate more evenly.
|
- ``type`` :index:`: <pair: output - blender_export - options - light; type>` [string='POINT'] [POINT,SUN,SPOT,HEMI,AREA] Type of light. SUN lights will illuminate more evenly.
|
||||||
|
|
||||||
- ``outputs`` :index:`: <pair: output - blender_export - options; outputs>` [dict|list(dict)] Outputs to generate in the same run.
|
- ``outputs`` :index:`: <pair: output - blender_export - options; outputs>` [dict|list(dict)] Outputs to generate in the same run.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ class BlenderLightOptions(BlenderObjOptions):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
with document:
|
with document:
|
||||||
self.type = "POINT"
|
self.type = "POINT"
|
||||||
""" [POINT, SUN, SPOT, HEMI, AREA] Type of light. SUN lights will illuminate more evenly """
|
""" [POINT,SUN,SPOT,HEMI,AREA] Type of light. SUN lights will illuminate more evenly """
|
||||||
self.energy = 0
|
self.energy = 0
|
||||||
""" How powerful is the light. Using 0 for POINT and SUN KiBot will try to use something useful """
|
""" How powerful is the light. Using 0 for POINT and SUN KiBot will try to use something useful """
|
||||||
self.add_to_doc('name', ' light', with_nl=False)
|
self.add_to_doc('name', ' light', with_nl=False)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue