Skip to content

Don't add location-like objects to Compound() #241

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

Merged
merged 2 commits into from
Jul 12, 2025

Conversation

andyross
Copy link
Contributor

The stack scan likes to look at iterables like lists for objects, but unlike the way it treats local variables, it tries to put them in a Compound() object. That doesn't work for elements like build123d Location/Pos/Rot which aren't shapes. Just skip them in those contexts.

The stack scan likes to look at iterables like lists for objects, but
unlike the way it treats local variables, it tries to put them in a
Compound() object.  That doesn't work for elements like build123d
Location/Pos/Rot which aren't shapes.  Just skip them in those
contexts.
@yeicor yeicor enabled auto-merge July 12, 2025 17:46
@yeicor yeicor merged commit 05a159a into yeicor-3d:master Jul 12, 2025
4 checks passed
@yeicor
Copy link
Contributor

yeicor commented Jul 12, 2025

LGTM, thanks!

I guess I've never seen this error because I prefer the builder mode over the algebra mode of build123d.

I'll release v0.9.7 with these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants