Ondsel-Development / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
160 stars 7 forks source link

"Part Design" You cannot leave only the new part of the mirror "body" #109

Open free777cat opened 2 months ago

free777cat commented 2 months ago

Is there an existing issue for this?

Problem description

You cannot leave only the new part of the mirror "body" Зняток екрана як 2024-07-02 19-03-23 Зняток екрана як 2024-07-02 19-03-52 So that the result would be like this Зняток екрана як 2024-07-02 19-26-42

Full version info

OS: Linux Mint 22 (MATE/mate)
Word size of Ondsel: 64-bit
Version: 2024.2.0dev.38021 (Git) AppImage
Build type: Release
Branch: flavor
Hash: a34043c4fa4efa3c871e376a4e1536dcdeb86ebc
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Ukrainian/Ukraine (uk_UA)
Installed mods: 
  * Ondsel-Lens 2024.1.22.01 (Disabled)
  * sheetmetal 0.4.21

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

free777cat commented 2 months ago

Add switch - "leave only mirror", when "transform body"

furgo16 commented 2 months ago

Original issue: https://github.com/FreeCAD/FreeCAD/issues/14117

sliptonic commented 1 month ago

Feature request. Removing the 'Bughunt' from the title. Also, I believe this functionality is possible currently. I have fully tried it but you should be able to create an App::Link to the original part. Then set the scale to -1 and adjust the scale list to control which direction to scale along. The result should be the link being mirrored.

free777cat commented 1 month ago

This "way" is very roundabout. As I understand it, it is quite simple to delete the "basic solid" (when the switch is on - "leave only mirror")

sliptonic commented 1 month ago

The workaround isn't ideal but AFAIK, it does achieve the goal.
We have to prioritize where we spend development effort. I've left the issue open and noted that it's a feature request. IMHO, if the goal can be achieved in some other way, then making a new feature to do it easier should be lower priority. Of course, if someone wants to implement it, a contribution would be gladly accepted ;-)

free777cat commented 1 month ago

Thank you. I realized. src/Mod/PartDesign/App/FeatureMirrored.cpp Зняток екрана як 2024-07-20 18-05-21 It seems to me that blocking one line from the list (when the switch is on) will solve the problem very easily. Although maybe I'm wrong. On a previous project, I took an almost similar "workaround" and got an error embodied in metal.