You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The preview pane does not reliably reload it's contents. Certain events seem to trigger the preview to properly update, but I have not yet determined what triggers these. Given the nature of some of the workarounds, I suspect this is related to filesystem events under windows.
To Reproduce
Start a clean IntelliJ IDEA Project (empty)
Create test.scad
Populate a simple object - cube([5, 5, 5]); works fine for example.
Load the preview pane. The preview should load.
Update the dimensions of your element, or make another change in the file, and cause it to reload.
This can be by means of a manual regeneration, or automatically on file save
You should observe the model remaining static
Code snippet
Not Available
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 11
Jetbrains platform and version: IntelliJ IDEA 2024.1.2 (Ultimate Edition)
OpenSCAD plugin version: Version 2.4.0
Additional context
The invocation to OpenSCAD and it's regeneration of the to-be-rendered STL do indeed appear to work as expected, however this does not seem to be detected by the preview pane.
Certain events seem to cause the preview to properly reload:
Opening or Closing the OpenSCAD Application
Navigating or Listing (ls) the out/html folder in the embedded terminal
Changing the focussed pane in IDEA (Sometimes required with the LS workaround too)
The text was updated successfully, but these errors were encountered:
Describe the bug
The preview pane does not reliably reload it's contents. Certain events seem to trigger the preview to properly update, but I have not yet determined what triggers these. Given the nature of some of the workarounds, I suspect this is related to filesystem events under windows.
To Reproduce
test.scad
cube([5, 5, 5]);
works fine for example.Code snippet
Not Available
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
The invocation to OpenSCAD and it's regeneration of the to-be-rendered STL do indeed appear to work as expected, however this does not seem to be detected by the preview pane.
Certain events seem to cause the preview to properly reload:
ls
) theout/html
folder in the embedded terminalThe text was updated successfully, but these errors were encountered: