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

Misleading Error Message #5078

Open
nicboone8 opened this issue Jan 16, 2025 · 0 comments
Open

Misleading Error Message #5078

nicboone8 opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working coredump Issues that contain a coredump. desktop-app Issues from the desktop app.

Comments

@nicboone8
Copy link

Error message states that my angle is not defined, when it is. The error I'm making is using a startProfileAt outside of a sketch

Zoo.Modeling.App.2025-01-15.19-49-33.mp4

Note: If you are capturing from a browser there is limited support for screenshots, only captures the modeling scene.
If you are on MacOS native screenshots may be disabled by default. To enable native screenshots add Zoo Modeling App to System Settings -> Screen & SystemAudio Recording for native screenshots.

Core Dump

coredump-8ffee783-71f3-49a7-b029-01a6d3f3fccc.json

Reference ID: 8ffee783-71f3-49a7-b029-01a6d3f3fccc

KCL Code
rad = 3
rad2 = 3

angle01 = 15



sketch001 = startSketchOn('XY')
  |> startProfileAt([
       rad * cos(toRadians(-angle01 - toDegrees(atan(rad / rad2)))),
       -rad * sin(toRadians(-angle01 - toDegrees(atan(rad / rad))))
     ], %)
  |> arc({
       angleStart = 0,
       angleEnd = 180,
       radius = rad
     }, %)
  |> tangentialArc({ radius = 2, offset = -60 }, %)
  |> tangentialArc({ radius = rad, offset = 180 }, %)
  |> tangentialArc({ radius = 2, offset = -60 }, %)
  |> tangentialArc({ radius = rad, offset = 180 }, %)
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
  |> close(%)
  |> hole(circle({ center = [0, 0], radius = 1 }, %), %)

sketch002 = startSketchOn(offsetPlane("XY", 5))
  |> startProfileAt([rad, -rad], %)
  |> arc({
       angleStart = -90,
       angleEnd = 90,
       radius = rad
     }, %)
  |> tangentialArc({ radius = 2, offset = -60 }, %)
  |> tangentialArc({ radius = rad, offset = 180 }, %)
  |> tangentialArc({ radius = 2, offset = -60 }, %)
  |> tangentialArc({ radius = rad, offset = 180 }, %)
  |> tangentialArcTo([profileStartX(%), profileStartY(%)], %)
  |> close(%)
  |> hole(circle({ center = [0, 0], radius = 1 }, %), %)

loft([sketch001, sketch002])

@nicboone8 nicboone8 added bug Something isn't working coredump Issues that contain a coredump. desktop-app Issues from the desktop app. labels Jan 16, 2025
@jessfraz jessfraz added this to the v1 Modeling App Launch milestone Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coredump Issues that contain a coredump. desktop-app Issues from the desktop app.
Projects
None yet
Development

No branches or pull requests

2 participants