Cannot multitransform nor mirror a feature

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Cannot multitransform nor mirror a feature

Post by Matael »

Hi all!

I failed to use the multitransform tool on the last pocket to apply it to each arm.

Does anyone have an idea why? and how to fix it?

thank's all!


OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13373 (Git)
Build type: Unknown
Branch: master
Hash: 456945881c7c802c163052c0cd20fe7cba446307
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)

EDIT :
https://drive.google.com/open?id=1IUXaa ... OgjXr3xMo2

I forgot to attach the file
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Cannot multitransform nor mirror a feature

Post by chrisb »

I found some issues but it still doesn't mirror, because I had some follow-up errors. You should check the other sketches for similar issues.

A recompute shows issues with Sketch014. The symmetry + horizontal constraint is overconstraint. This is a known issue, that the solver does not always detect it. You must avoid it "manually". PLease check all your sketches for this. If you are unsure: delete the symmetry constraint. If the number of degrees of freedom (DOF) increases by 2 it's ok. If number of DOFs increases only by one, then fix it.

Furthermore you should use the horizontal distance for horizontal lines and not the general distance; the same holds for vertical constraints. Don't use more external references than necessary.

It is better to use the simplest constraint possible: use horizontal instead of parallel to the X-axis.

You should fully constrain your sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Cannot multitransform nor mirror a feature

Post by Matael »

Ok, I will have a look at this, thank's !
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Cannot multitransform nor mirror a feature

Post by Matael »

Is there a way to disable horizontal and vertical auto constraint?
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Cannot multitransform nor mirror a feature

Post by Matael »

Here is the file with your suggestions
https://drive.google.com/open?id=1lwEvY ... Am4WyO1JLn

I think I succeed to remove all symetric/horizontal constraints redundancies.

Every sketch should be fully constraints too now

But I still can't make a mirror/multitransform.

More, If I edit Skecth016, linked to "amincissement_bras" and I tried to rotate the view, it flicker/hide some pieces (but it could be only on my computer) and I have this message :

Code: Select all

Coin warning in SbDPViewVolume::getMatrices(): invalid frustum
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Cannot multitransform nor mirror a feature

Post by Matael »

same result with
OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13424 (Git)
Build type: Unknown
Branch: master
Hash: 597dbf60947067852268033c32d6b78ac9ef280c
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Cannot multitransform nor mirror a feature

Post by Matael »

Hi!

I found what was wrong : you cannot mirror a pocket with several objetc if you select "To first" or "up to face" as type.

How to reproduce :
-download the file
-try to make a mirror using a plane as reference
-It will be noticed that :

Code: Select all

Transformation succeded
but nothing appears
-change pocket type to "up to face"
-It will be noticed that :

Code: Select all

Transformation succeded
but nothing appears


How to "solve" :
Select "through all" or "dimensions" or "two dimensions" for the pocket type and it will be ok

I didn't saw it in the bug tracker. Should I make a ticket?

To easily know what my version is :
OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13424 (Git)
Build type: Unknown
Branch: master
Hash: 597dbf60947067852268033c32d6b78ac9ef280c
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Attachments
mirror_pocket_bug.fcstd
(13.09 KiB) Downloaded 23 times
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Cannot multitransform nor mirror a feature

Post by chrisb »

Matael wrote: Fri Mar 16, 2018 3:36 pm I found what was wrong : you cannot mirror a pocket with several objetc if you select "To first" or "up to face" as type.
Good to hear you got it sorted
I didn't saw it in the bug tracker. Should I make a ticket?
It would be good if you can build a very simple model which shows the same issue. Then it would be easier to see what kind of issue it is.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Cannot multitransform nor mirror a feature

Post by Matael »

chrisb wrote: Fri Mar 16, 2018 5:57 pm
Matael wrote: Fri Mar 16, 2018 3:36 pm I didn't saw it in the bug tracker. Should I make a ticket?
It would be good if you can build a very simple model which shows the same issue. Then it would be easier to see what kind of issue it is.
I already did it, cf my previous post and the mirror_pocket_bug.fcstd (a simple square pad with one pocket of 2 circles)
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Cannot multitransform nor mirror a feature

Post by chrisb »

Matael wrote: Fri Mar 16, 2018 6:48 pm
chrisb wrote: Fri Mar 16, 2018 5:57 pm It would be good if you can build a very simple model which shows the same issue. Then it would be easier to see what kind of issue it is.
I already did it, cf my previous post and the mirror_pocket_bug.fcstd (a simple square pad with one pocket of 2 circles)
Sorry, I didn't open it I had thought it was the huge example from before. I will have a look later.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply