I have some comments on the Part design draft feature.
As simple example i created a box. I add a draft on the 4 faces on the sides.
Also a vertical edge as pull direction. I see know a choped off piramid(with a bigger angle...)
When i press ok it complains about not using the neutral plane however the preview works.
So the assumption works great. Could there changed something that if the preview works and the neutral plane is not changed that his assumtion is added as neutral plane?
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14709 (Git)
Build type: Release
Branch: master
Hash: faad5ea27301cb7af393a25d317c406d3098bafe
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Dutch/Netherlands (nl_NL)
error on part design draft feature
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
error on part design draft feature
- Attachments
-
- draft_feature_with_preview .PNG (30.42 KiB) Viewed 1922 times
Re: error on part design draft feature
I remember this behaviour at least since end of 2017. So it's rather a feature request than an error.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: error on part design draft feature
the pop up is a feature request
Re: error on part design draft feature
No offense to you @Jee-Bee, but it's hard to understand what you mean because of your English.
In general, I don't think this is simple to generalize because PartDesign_Draft should work with different solid objects, not only regular bodies like cubes. For example, I tried many times to replicate this, but at some point it didn't show me the same preview. At some point it tried to pull in the direction of the Y_Axis, instead of the Z_Axis; it also showed me these errors in the Report View.
The preview pointed to the side, and not up. How is the software supposed to know that you want the draft in the Z direction, and not the other directions? It can guess, but it will not always guess what you want.
I feel that PartDesign_Draft could automatically take the XY_Plane (from the Origin of the Body) as Neutral plane, but ultimately it'd be responsibility of the user selecting the right Neutral plane and Pull direction. Defining the Pull direction automatically is a bit trickier because it really has to be an edge of the Body, it cannot be one of the Body axes.
Interestingly, in this case the Draft works if I only add the XY_Plane as Neutral plane, and leave Pull direction empty. If I add the Z_Axis as Pull direction, it doesn't accept it.
- Change to PartDesign
- Click on "Create body"
- Click on "Create an additive primitive" (PartDesign_CompPrimitiveAdditive), or "Additive box", and then OK, just to create a small box
- Ctrl+click to select the four side faces of the cube
- Then click PartDesign_Draft
- The preview will show the pyramid shape (Z_Axis is the implied pull direction). Adjust the angle to 10 degrees to really see the shape, as the original angle is only 1.5 degrees.
- When clicking OK, the message "Missing neutral plane" appears.
In general, I don't think this is simple to generalize because PartDesign_Draft should work with different solid objects, not only regular bodies like cubes. For example, I tried many times to replicate this, but at some point it didn't show me the same preview. At some point it tried to pull in the direction of the Y_Axis, instead of the Z_Axis; it also showed me these errors in the Report View.
Code: Select all
Adding face failed on Face3. Omitted
Adding face failed on Face4. Omitted
I feel that PartDesign_Draft could automatically take the XY_Plane (from the Origin of the Body) as Neutral plane, but ultimately it'd be responsibility of the user selecting the right Neutral plane and Pull direction. Defining the Pull direction automatically is a bit trickier because it really has to be an edge of the Body, it cannot be one of the Body axes.
Interestingly, in this case the Draft works if I only add the XY_Plane as Neutral plane, and leave Pull direction empty. If I add the Z_Axis as Pull direction, it doesn't accept it.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: error on part design draft feature
yes
more or less my point is that if I think the preview is right his assumption is right. If the preview is wrong i try to change it so the preview is what I want.vocx wrote: ↑Sat Oct 20, 2018 10:15 pm In general, I don't think this is simple to generalize because PartDesign_Draft should work with different solid objects, not only regular bodies like cubes. For example, I tried many times to replicate this, but at some point it didn't show me the same preview. At some point it tried to pull in the direction of the Y_Axis, instead of the Z_Axis...
The preview pointed to the side, and not up. How is the software supposed to know that you want the draft in the Z direction, and not the other directions? It can guess, but it will not always guess what you want.
If no preview FC is unable to cleate one and not enough parameters ale filled or filled wrong...