Comments (9)
Can you create another model and apply FEM constraints when it is based on a revolution of a sketch with a BSpline, created in FC?
Good point. It turns out that I can't. I attached a FreeCAD file. But it's interesting that the same happens with STEP geometry where B-spline was used in another software.
Then the issue is more general and serious than I expected.
from freecad.
how did you model the egg, do you have the FCStd? I'm not sure if this is only FEM related?
from freecad.
how did you model the egg, do you have the FCStd? I'm not sure if this is only FEM related?
I modeled it in another software and can only export it to neutral format and recreate if needed (I've tried it 0.22 too - just downgraded in Draft and converted the wires to a sketch which I then revolved in PD - same errors occur). It seems to be FEM-specific because other operations, e.g. in Part or Part Design, work normally on this geometry.
from freecad.
I have no idea whats wrong, when downgrading and creating a sketch I can create a revolution but get the same error. When trying to change the sketch to a simple triangle I cannot add a revolution or even a pad after I've created an Analysis container. Just a bunch of errors
from freecad.
Yeah, it's really strange. I've even tried with a simple sphere exported to STEP but this one is working correctly. So either the egg shape is so specific and causes issues because of its curvature or the model is broken starting even from the sketch but it shouldn't be the case. I can use this model normally in all other ways and only can't apply FEM constraints to it.
from freecad.
Can you create another model and apply FEM constraints when it is based on a revolution of a sketch with a BSpline, created in FC?
from freecad.
Can you rephrase it then? Seems like FEM constraints can just handle plane or rounded faces, no irregular surfaces?
from freecad.
Seems like FEM constraints can just handle plane or rounded faces, no irregular surfaces?
Not exactly, padded B-spline works. Even with fillets. Maybe because there are more faces with less curvature. This is really strange. I'm surprised it has never been detected.
Since it comes from Selection.cpp, it might be a deeper issue than just related to FEM constraints. I wonder what else could trigger it. I can create e.g. a datum plane or a subshapebinder based on those problematic faces.
from freecad.
https://github.com/FreeCAD/FreeCAD/blob/main/src/Mod/Fem/App/FemConstraint.cpp#L433
A null vector cannot be normalized and OCC throws an exception that isn't handled anywhere inside the FEM module.
from freecad.
Related Issues (20)
- TD: Clean-up class GeometryMatcher
- Wrong export in STL (export with errors) HOT 1
- Start:Asking to Which Workbench Selector to Use HOT 3
- Addon Manager Locks up FreeCAD HOT 10
- Navigation cube: mouse click events are not recognized HOT 2
- Sketcher segfaults when using the symmetry tool HOT 10
- FEM: Bug when pre-selecting geometries for some constraints
- [TreeView] Incorrect Label2 view when element is hiden HOT 3
- Sketcher: "Fit All" zoom command in edit mode always includes axis origin HOT 3
- Draft: Exception during shapes editing HOT 2
- Sketcher: "Fit selection" command in edit mode does not fit view to selection HOT 3
- [Feature Request] 3D Constraint-driven sketcher/wireframe workbench HOT 3
- TechDraw: Smart dimension doesn't support thickness annotations HOT 1
- Error on create output for helical cut on fanuc code HOT 3
- Sketcher: ConstraintEqual doesn't accept Line + Arc HOT 2
- Core: "Go to selection" not working HOT 3
- FEM: Results pipeline can't handle cases when output has a single value in the whole model
- Add Favorite Properties
- OndselSolver: Failing to compile with GCC 14
- Hatch not correctly exported to PDF HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad.