leocad icon indicating copy to clipboard operation
leocad copied to clipboard

Blender LDraw Render 30.09.2024

Open trevorsandy opened this issue 1 year ago • 3 comments

Hello Leo - I've updated the Blender LDraw Render Python module. The latest release is v1.5.5

Your LeoCAD light updates have been incorporated.

Here are my outstanding findings:

  • POV-Ray SpotTightness is not updated on light export
  • POV_RAY render commands (see lcPOVRayOptions::SaveLDraw(...)) are never saved to file
  • ~When a model is manipulated, the ROTATION values in Properties do not match those displayed at the bottom-right message bar~

Cheers,

trevorsandy avatar Sep 30 '24 04:09 trevorsandy

  • I've fixed spot tightness today
  • There's no place to change those options, did this get lost somewhere or never implemented?
  • I'm confused, we don't display rotation in the status bar, only translation and it looks correct

leozide avatar Oct 03 '24 21:10 leozide

There's no place to change those options, did this get lost somewhere or never implemented?

Indeed, these POV-Ray settings offer some fine-grained manipulation and the option to override using LGEO. My thinking was these meta commands would be manipulated directly in the LDraw file as needed. Saving them to the file would enable this capability. If I'm not mistaken, as an example, a similar command in LeoCAD is 0 !LEOCAD MODEL BACKGROUND IMAGE [TILE] NAME <filename>. I did not implement a UI for them as I do not believe they would be commonly used.

I'm confused, we don't display rotation in the status bar, only translation and it looks correct

It looks like I was mistaken, I was certain that several times in the recent past, I observed ROTATION values changing when manipulating either a model or model pieces. However, I just built a clean clone and, just as you said, ROTATION changes are not displayed in the status bar.

With the exception of contextually saving light attributes, the other PR commits are updates to the Python modules settings.

Cheers,

trevorsandy avatar Oct 03 '24 23:10 trevorsandy

As you have removed the block that contextually saves light attributes in commit 6603de2, I've removed commit 25da3c0 from the PR.

Cheers,

trevorsandy avatar Oct 03 '24 23:10 trevorsandy