Padding issues
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 3
- Joined: Fri Jan 09, 2015 1:10 am
Padding issues
Question that someone can probably answer pretty quick, even though I can't find it probably because I don't know how to word it properly in search.
So the problem is I can't understand a certain problem with my workflow in sketching, then padding. If I sketch a shape and a circle in the middle then pad it, I get the following:
Of course, this is what I expected, but when I increase the circle size, there is a point when it pads out like this:
So my question is what is going on here, because I am trying to pad it out so I just have the outside shape. I guess I could always just make a pocket with a through all command, but that adds history into the tree, and I'm trying to avoid that, any ideas?
So the problem is I can't understand a certain problem with my workflow in sketching, then padding. If I sketch a shape and a circle in the middle then pad it, I get the following:
Of course, this is what I expected, but when I increase the circle size, there is a point when it pads out like this:
So my question is what is going on here, because I am trying to pad it out so I just have the outside shape. I guess I could always just make a pocket with a through all command, but that adds history into the tree, and I'm trying to avoid that, any ideas?
Re: Padding issues
Hello FreeEngineer523 and welcome to the forums,
We (the community) will gladly help you within our possibilities, but we're gonna need to things:
We (the community) will gladly help you within our possibilities, but we're gonna need to things:
- Your detailed FreeCAD information
- The file you are working with
Need help? Feel free to ask, but please read the guidelines first
Re: Padding issues
the problem is most likely that you have the wrong feature or features "not" hidden.
In PartDesign wb, after each operation the last step is set to "hidden" when the next step is created. When you go back and edit a previous stage of the model, you often set view on, hence you are showing two stages of your model at once. This is where accidentally forking the model history becomes more likely.
If we had you version data and the file I could test for the above and tell you if and how it may be possible for you to test it yourself.
In PartDesign wb, after each operation the last step is set to "hidden" when the next step is created. When you go back and edit a previous stage of the model, you often set view on, hence you are showing two stages of your model at once. This is where accidentally forking the model history becomes more likely.
If we had you version data and the file I could test for the above and tell you if and how it may be possible for you to test it yourself.
-
- Posts: 3
- Joined: Fri Jan 09, 2015 1:10 am
Re: Padding issues
No problem! Here is the about info page:
OS: Windows 7
Word size: 64-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.6.0
And I've attached the file with the part padded, I've just been learning that FreeCad has some not so obvious rules you have to follow in order to achieve a proper workflow.
OS: Windows 7
Word size: 64-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.6.0
And I've attached the file with the part padded, I've just been learning that FreeCad has some not so obvious rules you have to follow in order to achieve a proper workflow.
- Attachments
-
- Padding_Issues.FCStd
- (8.55 KiB) Downloaded 41 times
Re: Padding issues
Hello FreeEngineer523 and welcome to FreeCAD. Thanks for posting your about FreeCAD information.
In your posted file I noticed that your sketch was not fully constrained so I thought that might be causing you some problems. I fully constrained the sketch but when the center radius is 35.2 mm or greater the model fails. I get self intersects with Check Geometry. My version of FreeCAD has extended BOP checks that yours doesn't so I don't know if Check Geometry (found in the Part WB) would have found this. The strange thing is I don't think there are any self intersects.
I then deleted your circle. Mapped a new sketch to the remaining pad, drew a circle, and pocketed through all. It works as expected with no limit on the diameter of the circle.
I believe the two methods should be identical. So you may have found a bug in the OCC kernel that FreeCAD depends upon.
Maybe someone else has another idea. Anyways the second method works as a work around
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4435 (Git)
Branch: master
Hash: f24e216db4fb923b2571ad9d856f934e81bec797
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
In your posted file I noticed that your sketch was not fully constrained so I thought that might be causing you some problems. I fully constrained the sketch but when the center radius is 35.2 mm or greater the model fails. I get self intersects with Check Geometry. My version of FreeCAD has extended BOP checks that yours doesn't so I don't know if Check Geometry (found in the Part WB) would have found this. The strange thing is I don't think there are any self intersects.
I then deleted your circle. Mapped a new sketch to the remaining pad, drew a circle, and pocketed through all. It works as expected with no limit on the diameter of the circle.
I believe the two methods should be identical. So you may have found a bug in the OCC kernel that FreeCAD depends upon.
Maybe someone else has another idea. Anyways the second method works as a work around
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4435 (Git)
Branch: master
Hash: f24e216db4fb923b2571ad9d856f934e81bec797
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
"fight the good fight"
Re: Padding issues
Greetings FreeEngineer523, For some reason the original circle has 3 degrees of freedom, but yet I can't drag it away from the origin. The Pocket fails for me too when the edge of the original circle is close to the edge of the solid.
FreeEngineer523, just a tip here. To constrain the endpoints of two segments onto one another you should apply the "Fix a Point Onto a Point" Constraint:
and not the "Fix a Point Onto an Object" Constraint:
When the "Fix a Point Onto an Object" Constraint is applied to a point and a line segment, the point can lie anywhere in line with that segment, as though the segment is a ray. That's not what you want in that model.
OS: Ubuntu 14.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4437 (Git)
Branch: master
Hash: c5b2609974dd754fc91151d0e8ee3d5697f72d89
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
This works for me too. There's something odd about the original circle but I don't know exactly what.sgrogan wrote:I then deleted your circle. Mapped a new sketch to the remaining pad, drew a circle, and pocketed through all. It works as expected with no limit on the diameter of the circle.
FreeEngineer523, just a tip here. To constrain the endpoints of two segments onto one another you should apply the "Fix a Point Onto a Point" Constraint:
and not the "Fix a Point Onto an Object" Constraint:
When the "Fix a Point Onto an Object" Constraint is applied to a point and a line segment, the point can lie anywhere in line with that segment, as though the segment is a ray. That's not what you want in that model.
OS: Ubuntu 14.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4437 (Git)
Branch: master
Hash: c5b2609974dd754fc91151d0e8ee3d5697f72d89
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Re: Padding issues
The problem is not due to the original circle (at least not totally)
1. sketch a 76.2 mm square
2. add a circle to the sketch inside the square (it doesn't need to be exactly centered)
3. when the circle's radius exceeds 35.199mm a subsequent pad will fail with self intersect errors
1. sketch a 76.2 mm square
2. add a circle to the sketch inside the square (it doesn't need to be exactly centered)
3. when the circle's radius exceeds 35.199mm a subsequent pad will fail with self intersect errors
"fight the good fight"
-
- Posts: 3
- Joined: Fri Jan 09, 2015 1:10 am
Re: Padding issues
All right then, thanks for your input. The methods described work, so I'll have to just go ahead and manage with that. Just have to get used to this specific ways I need to work things in order to get a proper sketch. The constraining idea is still a little new to me as far as FreeCad goes, I've constrained models in solidworks but freecad does it differently and I will try to learn how to constrain my sketches better. Thanks for your time and effort!
Re: Padding issues
Another way about it would be to make the solid from one sketch and Pocket the Circle in the next operation.
This is strange - I can confirm that when one makes a 72.6 mm square with a 33.6 mm radius (67.2 mm diameter) Circle it fails. Change the radius by -0.1 (33.5 mm) and it works. Actually, on my install it fails at 33.5369 mm - 33.5368 works.
Looks to be a bug in there somewhere - maybe OCE, maybe something in FreeCAD???
Mark
OS: Kubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4437 (Git)
Branch: master
Hash: c5b2609974dd754fc91151d0e8ee3d5697f72d89
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17-dev
This is strange - I can confirm that when one makes a 72.6 mm square with a 33.6 mm radius (67.2 mm diameter) Circle it fails. Change the radius by -0.1 (33.5 mm) and it works. Actually, on my install it fails at 33.5369 mm - 33.5368 works.
Looks to be a bug in there somewhere - maybe OCE, maybe something in FreeCAD???
Mark
OS: Kubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4437 (Git)
Branch: master
Hash: c5b2609974dd754fc91151d0e8ee3d5697f72d89
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17-dev
This post made with 0.0% Micro$oft products - GOT LINUX?