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

Part: Create CompSolid/Compound/Shell if null before adding a sub-shape #13675

Merged
merged 1 commit into from May 6, 2024

Conversation

wwmayer
Copy link
Contributor

@wwmayer wwmayer commented Apr 27, 2024

Creating a shape with Part.CompSolid(), Part.Compound() or Part.Shell() is a null shape. In order to allow to append sub-shapes with the add() method a valid shape must be created beforehand.

This fixes #13208

Creating a shape with Part.CompSolid(), Part.Compound() or Part.Shell() is a null shape. In order to allow to append sub-shapes with the add()
method a valid shape must be created beforehand.

This fixes FreeCAD#13208
@github-actions github-actions bot added the WB Part Related to the Part Workbench label Apr 27, 2024
@chennes
Copy link
Member

chennes commented Apr 28, 2024

@bgbsww FYI

@yorikvanhavre yorikvanhavre merged commit 1febe5c into FreeCAD:main May 6, 2024
10 checks passed
@wwmayer wwmayer deleted the issue_13208 branch May 6, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WB Part Related to the Part Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python interface to Part can be used to crash the application
3 participants