Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Fails to Resume #4934

Open
pbronez opened this issue Jan 6, 2025 · 3 comments
Open

Project Fails to Resume #4934

pbronez opened this issue Jan 6, 2025 · 3 comments
Labels
bug Something isn't working connection For all things involving websockets/webrtc and connection to the engine.

Comments

@pbronez
Copy link

pbronez commented Jan 6, 2025

I exported an OBJ, loaded it into my slicer, and printed it. 15 minutes later, I knew what changes I needed to make to my design. I went back to Zoo Modeling app and changed a constant. I was met with a bunch of "resuming" messages. They went away, but no object was rendered. I tried to export my new KCL, but got the error "nothing to export." After hitting this a few times, I pressed the "refresh and report button." After the refresh, the render loaded properly and I was able to export the next iteration of my design.

Screenshot

Core Dump

coredump-42be3ad0-642b-450c-9b88-185e9d717e24.json

Reference ID: 42be3ad0-642b-450c-9b88-185e9d717e24

KCL Code

// Constants
studSide = 8.8
gridLineWidth = 3.8
gridStudsPerSide = 4
studTranslation = studSide + gridLineWidth
gridSide = studTranslation * gridStudsPerSide + gridLineWidth
studDepth = 1
foundationDepth = studDepth
looseFactor = 0.05
looseAbsolute = looseFactor * gridLineWidth

// A single stud
studSketch = startSketchOn('XY')
  |> startProfileAt([0, 0], %)
  |> xLine(studSide + looseAbsolute, %)
  |> yLine(studSide + looseAbsolute, %)
  |> xLine(-studSide - looseAbsolute, %)
  |> close(%)

// Grid of studs
gridSketch = patternLinear2d({
  axis = [1, 0],
  instances = gridStudsPerSide,
  distance = studTranslation
}, studSketch)
  |> patternLinear2d({
    axis = [0, 1],
    instances = gridStudsPerSide,
    distance = studTranslation
  }, %)

// foundationSlab
foundationSketch = startSketchOn("XY")
  |> startProfileAt([-gridLineWidth, -gridLineWidth], %)
  |> xLine(gridSide, %)
  |> yLine(gridSide, %)
  |> xLine(-gridSide, %)
  |> close(%)
  |> hole(gridSketch, %)

// go 3D
gridSolid = extrude(studDepth, foundationSketch)

@jessfraz jessfraz added the bug Something isn't working label Jan 6, 2025
@pbronez
Copy link
Author

pbronez commented Jan 6, 2025

Happened again

Core Dump

coredump-c481e64e-7e7b-41ad-a836-9593b60d3c98.json

Reference ID: c481e64e-7e7b-41ad-a836-9593b60d3c98

KCL Code

// Constants
studSide = 8.8
gridLineWidth = 3.8
gridStudsPerSide = 4
studTranslation = studSide + gridLineWidth
gridSide = studTranslation * gridStudsPerSide + gridLineWidth
studDepth = 2
foundationDepth = 1
looseFactor = 0.05
looseAbsolute = looseFactor * gridLineWidth

// A single stud
studSketch = startSketchOn('XY')
  |> startProfileAt([0, 0], %)
  |> xLine(studSide + looseAbsolute, %)
  |> yLine(studSide + looseAbsolute, %)
  |> xLine(-studSide - looseAbsolute, %)
  |> close(%)

// Grid of studs
gridSketch = patternLinear2d({
  axis = [1, 0],
  instances = gridStudsPerSide,
  distance = studTranslation
}, studSketch)
  |> patternLinear2d({
    axis = [0, 1],
    instances = gridStudsPerSide,
    distance = studTranslation
  }, %)

// foundationSlab
foundationSketch = startSketchOn("XY")
  |> startProfileAt([-gridLineWidth, -gridLineWidth], %)
  |> xLine(gridSide, %)
  |> yLine(gridSide, %)
  |> xLine(-gridSide, %)
  |> close(%)

negativeGridSketch = foundationSketch
  |> hole(gridSketch, %)

// go 3D
gridSolid = extrude(studDepth, negativeGridSketch)
foundationSolid = extrude(foundationDepth, foundationSketch)

@jessfraz jessfraz added the connection For all things involving websockets/webrtc and connection to the engine. label Jan 6, 2025
@lf94
Copy link
Contributor

lf94 commented Jan 6, 2025

I was met with a bunch of "resuming" messages.

Some how, you have the power-saving "stream idle mode" toggled on. We have a PR in the pipeline that makes this much more reliable, but until then, we've had it off by default for everyone.

@pbronez
Copy link
Author

pbronez commented Jan 6, 2025

Yup, turned that on because I was working from my laptop and wanted to maximize battery life. I've turned it off, will monitor and see if the issue re-occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working connection For all things involving websockets/webrtc and connection to the engine.
Projects
None yet
Development

No branches or pull requests

3 participants