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

[Issue] Detecting contiguous object in PartDesign fails if linking object is replaced by a new one #8117

Closed
2 tasks done
ma261065 opened this issue Jan 1, 2023 · 2 comments

Comments

@ma261065
Copy link

ma261065 commented Jan 1, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

No response

Version

0.20 (Release)

Full version info

[code]
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/Australia (en_AU)
Installed mods: 
  * ExtremeProDark 2.6.4
[/code]

Subproject(s) affected?

PartDesign

Issue description

In Part Design, do the following:

  1. Create a sketch with a simple rectangle (Call it A)
  2. Use the pad tool to make it into a solid.
  3. Create a new sketch with a second rectangle (call it B) that is separated from the first (so there are now two non-contiguous objects)
  4. Try and use the pad tool to make the second rectangle into a solid. As expected, it fails because there are now multiple solids.
  5. Create a new sketch with a third rectangle (call it C) that bridges/joins the first two.
  6. Use the pad tool to make C into a solid.
  7. This then allows you to use the pad tool on B to make it into a solid as expected, because there is now one contiguous object.
  8. We now have a solid consisting of A+B+C.
  9. Create a new sketch with a fourth rectangle (call it D) that also joins the original two rectangles (A & B).
  10. Use the pad tool to make D into a solid. As expected, we now have four solids (A+B+C+D), all joined together.
  11. Delete the third pad & sketch (C), so that the first and second objects (A & B) are now only joined by the fourth rectangle (D).
  12. The pad on B now shows an error about multiple solids, even though A & B are joined together by D.
  13. The only way to fix this (that I have found) is to delete and re-create the pad on B which then seems to "notice" that D exists.

The expected behaviour would be for any subsequent "bridges" which join two non-contiguous parts to be taken into account if the original "bridge" is deleted.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@luzpaz
Copy link
Contributor

luzpaz commented Jan 3, 2023

Please add an example file for testers to quickly recreate the issue, TIA

@FlachyJoe
Copy link
Contributor

Hi,
A PartDesign feature depends on creation order, this is not an issue.
You can solve your problem by moving up the D pad in the tree.

@luzpaz luzpaz changed the title [Issue] Detecting contiguous object in Part Design fails if linking object is replaced by a new one [Issue] Detecting contiguous object in PartDesign fails if linking object is replaced by a new one Jan 6, 2023
@luzpaz luzpaz closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2023
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

No branches or pull requests

3 participants