-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
Description
Describe the bug
Everything in the "main" (central ? 3D view?) pane disapear (and does not come back) when changing file.
No error are shown.
I have 2 kcl files (constants.kcl and main.kcl), if I click onto one it "voids" the main view (removes everything).
Steps to Reproduce
- Create a project with 2 files as follow
constants.kcl:
export scalingFactor = 1
export kingHeight = 95mm
export queenHeight = 86mm
export bishopHeight = 81mm
export knightHeight = 71mm
export rookHeight = 64mm
export pawnHeight = 58mm
export kingBase = 39mm
export queenBase = 38mm
export bishopBase = 34mm
export knightBase = 34mm
export rookBase = 36mm
export pawnBase = 30mm
main.kcl
import rookHeight, rookBase from "constants.kcl"
sketch001 = startSketchOn(XY)
profile001 = startProfile(sketch001, at = [0, 0])
|> xLine(length = rookBase)
|> yLine(length = rookHeight * 0.1, tag = $seg01)
|> xLine(length = -rookBase * 0.1, tag = $seg02)
// |> arc(interiorAbsolute = [33.93, 8.52], endAbsolute = [36, 6.39])
|> yLine(length = rookHeight * 0.1, tag = $seg06)
|> line(end = [-rookBase * 0.4, rookHeight * 0.5])
|> yLine(length = rookHeight * 0.3)
|> line(end = [rookBase * 0.4, rookHeight * 0.2], tag = $seg05)
|> yLine(length = rookHeight * 0.2, tag = $seg03)
|> xLine(length = rookBase * 0.1, tag = $seg04)
|> yLine(length = rookHeight * 0.2)
|> xLine(length = -rookBase * 0.2)
|> yLine(length = -rookHeight * 0.1)
|> xLine(length = -rookBase * 0.8)
|> close()
revolve001 = revolve(profile001, angle = 360deg, axis = Y)
- Click on "the other file" (by default i'm in main.kcl, so clicking on constants.kcl), but also happens with the opposite as far as I could tell ?
Expected Behavior
changing file should not "crash" or "void" the central pane completely and "irrevocably" (until restart of the app)
Screenshots and Recordings
Changing back the file does not make the view come back
Desktop OS
Linux 6.17.8-arch1-1, wayland + hyprland
Browser
No response
Version
1.1.0 (latest)
Additional Context
No response