sweep() should accept closed sketches #8281
yeroca
started this conversation in
New Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I feel like sweep() ought to be able to take a closed path (profile). Otherwise, I need to make the object from two sweeps instead of one. Am I being unreasonable in this?
Here's my example:
sketch001 = startSketchOn(XZ)
profile001 = startProfile(sketch001, at = [0, 5.02])
|> yLine(length = -4.13)
|> tangentialArc(endAbsolute = [0.98, 0])
|> xLine(length = 2.04)
|> tangentialArc(end = [0.99, 1.15])
|> yLine(length = 4.01)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
sketch002 = startSketchOn(XY)
profile002 = startProfile(sketch002, at = [0, 0.11])
|> yLine(length = 24)
|> tangentialArc(end = [-5, 5])
|> xLine(length = -24)
|> tangentialArc(end = [-5, -5])
|> yLine(length = -24)
|> tangentialArc(end = [5, -5])
|> xLine(length = 24)
//|> tangentialArc(endAbsolute = [profileStartX(%), profileStartY(%)])
// |> close()
sweep([profile001], path = profile002)

but if I uncomment the tangentialArc and close, I get an error saying the Requested trajectory curve is invalid.
Beta Was this translation helpful? Give feedback.
All reactions