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

Sweep Path Behavior #4855

Open
nicboone8 opened this issue Dec 22, 2024 · 0 comments
Open

Sweep Path Behavior #4855

nicboone8 opened this issue Dec 22, 2024 · 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

I found an interesting sweep bug. It seems to be trying to close the path sketch, even though there's no close(%) and no g1 continuity

Zoo.Modeling.App.2024-12-22.17-52-28.mp4
Core Dump

coredump-9c0f5535-0fe7-4af9-960c-1d64bd2d4b9d.json

Reference ID: 9c0f5535-0fe7-4af9-960c-1d64bd2d4b9d

KCL Code
sweepPath = startSketchOn('XZ')
  |> startProfileAt([0, 0], %)
  |> xLine(17.5, %)
  |> tangentialArcTo([17.5, 1.5], %)
  |> xLine(-17.5, %)
  |> tangentialArcTo([0, 3], %)
  |> xLine(17.5, %)

sweepSketch = startSketchOn('YZ')
  |> startProfileAt([0, 0], %)
  |> angledLine([0, .2], %, $rectangleSegmentA001)
  |> angledLine([segAng(rectangleSegmentA001) + 90, 1.2], %, $rectangleSegmentB001)
  |> angledLine([
       segAng(rectangleSegmentA001),
       -segLen(rectangleSegmentA001)
     ], %, $rectangleSegmentC001)
  |> lineTo([profileStartX(%), profileStartY(%)], %)
  |> close(%)
//  |> hole(circle({ center = [.1, .1], radius = .06 }, %), %)
//  |> hole(circle({ center = [.1, .3], radius = .06 }, %), %)
//  |> hole(circle({ center = [.1, .5], radius = .06 }, %), %)
//  |> hole(circle({ center = [.1, .7], radius = .06 }, %), %)
//  |> hole(circle({ center = [.1, .9], radius = .06 }, %), %)
//  |> hole(circle({ center = [.1, 1.1], radius = .06 }, %), %)
  |> sweep({ path = sweepPath }, %)

@nicboone8 nicboone8 added bug Something isn't working coredump Issues that contain a coredump. desktop-app Issues from the desktop app. labels Dec 22, 2024
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

1 participant