PartDesign Hole feature
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: PartDesign Hole feature
Cant you add a check and see if the shape changed after the hole was applied? Otherwise automaticly change direction, if that fails as well throw an error message?
Re: PartDesign Hole feature
Doesn't this hint at a deeper flaw? It seems like a work around not a fix?eivindkvedalen wrote: ↑Thu Jul 27, 2017 7:53 pm No, currently there's no reverse option. I've only tested this with sketches attached to a face, and there it works as expected. But with sketches as you have tested, it doesn't work as expected. The pocket feature behaves the same way, btw. Not sure what the correct solution is; adding a reverse option doesn't feel like the right thing to do (although pocket also has it)...
"fight the good fight"
Re: PartDesign Hole feature
I don't like too much automatism.
Since sketches can be attached to datum planes which dont't even have to touch any solid I would like to see a possibility to control the direction. Think of a U-shaped solid with a datum plane in the middle.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: PartDesign Hole feature
I don't see anything wrong with such an option. The hole feature in NX has a direction option that either can be set to "normal to face" or "along vector." When it is set to "along vector," you can pick a vector by various methods and reverse it if needed.eivindkvedalen wrote: ↑Thu Jul 27, 2017 7:53 pm adding a reverse option doesn't feel like the right thing to do
Re: PartDesign Hole feature
Then we should have 10 direction configurations? I am thinking:
←|→ , →|← , →|→ , ←|← , <-|- , -|->, |→ , |← , ←| , →|
Should there be an distance offset field as well?
How about not parallell sketch/shape relations? Where the shape is in an angle relative to the hole sketch? Will the hole for the screw head start at first contact or when the 2D cut shape have full contact?
This could be solved with an offset and two length dimensions, cut head to the left and hole to the right.
But the offset will be different if several holes is in the sketch.
I guess there are no upper limit to the complexity of a hole feature...
Last edited by fosselius on Fri Jul 28, 2017 4:50 am, edited 1 time in total.
Re: PartDesign Hole feature
The workaround is simple: set the "Map Reversed" property of your sketch to true.kkremitzki wrote: ↑Thu Jul 27, 2017 10:40 am Is there a way to reverse the direction of the hole? I did some experimentation by attaching sketches to the XY, YZ, and XZ planes, making a big circle and padding it, and then making a small circle to base the hole on. In all cases, the hole only appears if the pad is reversed; with a normal pad, I just end up with a circular face with the diameter the hole should've had.
Nevermind the angled hole, I was having fun.
Eivind, I just have a very tiny critic about the wording "None" for the Hole cut type. May I suggest replacing it with "Straight"?
- Attachments
-
- FC017_angled_PD_Hole_normandc1.fcstd
- (67.8 KiB) Downloaded 65 times
-
- Posts: 602
- Joined: Tue Jan 29, 2013 10:35 pm
Re: PartDesign Hole feature
This is why I don't want to add a reverse option. However, it isn't a deeper flaw: when padding, you add material in the positive z direction, and when you attach a sketch to a face, its z direction is "away" from the face, so a new pad will add more material in positive z direction. A hole thus works in the negative z direction. When a sketch is not attached to a face, the z direction then becomes somewhat arbitrary. Specifically, because material is padded in positive direction, if the sketch used for padding and hole is at Z = 0, they will go in opposite directions, and only intersect in the plane (thus causing the circle).sgrogan wrote: ↑Thu Jul 27, 2017 9:43 pmDoesn't this hint at a deeper flaw? It seems like a work around not a fix?eivindkvedalen wrote: ↑Thu Jul 27, 2017 7:53 pm No, currently there's no reverse option. I've only tested this with sketches attached to a face, and there it works as expected. But with sketches as you have tested, it doesn't work as expected. The pocket feature behaves the same way, btw. Not sure what the correct solution is; adding a reverse option doesn't feel like the right thing to do (although pocket also has it)...
Eivind
-
- Posts: 602
- Joined: Tue Jan 29, 2013 10:35 pm
-
- Posts: 602
- Joined: Tue Jan 29, 2013 10:35 pm
-
- Posts: 602
- Joined: Tue Jan 29, 2013 10:35 pm
Re: PartDesign Hole feature
Thank you for providing a workaround (I actually think this is the propery solution, though...), and an example.
Regarding the naming, I think I will rename it, but maybe not to Straight. This profile is meant for completely custom holes (I plan to add the hex inset for this one), so maybe "Custom" is better...? When I have time to add threading, this will also be part of this profile.
Eivind