tcobbs/ldview

scale option not available in export STL on linux

Closed this issue · 4 comments

Describe the bug
the scale option for STL export is not available to select on linux

To Reproduce
download linux version,
load .dat file
File/Export
Select STL
note there is no way to set scale (see screenshot)

Expected behavior
there should be a way to select the export scale (as there is in the windows build

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot from 2023-12-15 14-44-14

Platform (please complete the following information):

  • OS: [ Linux] Debian 12 under wayland
  • CPU Architecture: X86-64

Additional context
Add any other context about the problem here.

@tcobbs Added the Qt code for STL Export Options under the File menu similar to POV/3DS, but the settings list is empty. Please check the backend.

@pbartfai I suspect that your existing Qt code does not support the single ungrouped setting that is present for STL. Both POV and 3DS settings are all grouped. If you debug your populate, you should find that the LDExporterSettingList has one and only one entry, and that entry is of type TEnum. Here's what I see in macOS:

Screenshot 2023-12-15 at 9 21 53 AM

Let me know if you see something different in your settings list.

thank you. i am now able to set the pref before exporting.