Notes de version 0.21
FreeCAD 0.21 a été publié le JJ MM 2023, téléchargez la depuis la page Téléchargement. Cette page liste toutes les nouvelles fonctionnalités et les changements.
Les notes de versions plus anciennes de FreeCAD sont disponibles dans la liste des notes de versions.
L'endroit pour une image accrocheuse sélectionnée par les administrateurs sur le forum des modèles des utilisateurs.
Général
Interface utilisateur
Les faces des coins du cube de navigation sont désormais hexagonales et plus grandes, ce qui les rend plus faciles à cliquer.
La police, la taille de la police et la couleur du bouton (les flèches autour du cube) peuvent désormais être modifiées dans les préférences. |
Coupe persistante d'objets se croisant. Cliquez sur l'image pour voir l'animation. |
L'outil Coupe persistante permet maintenant de couper des objets qui s'entrecroisent. Ceci est utile pour les assemblages où les intersections d'objets s'intersectant ne peuvent parfois pas être évitées en raison de problèmes numériques. Pull request #8252. |
Le style d'affichage des résultats de mesure créés à l'aide de l'atelier Part ou de l'atelier PartDesign peut désormais être modifié dans les Préférences. |
Le sélecteur d'ateliers peut maintenant être placé de manière optionnelle dans la barre de menu au lieu de la zone de la barre d'outils. |
Autres améliorations de l'interface utilisateur
- The button for Edit Mode has been removed from the standard toolbar. It can be re-added by customizing your toolbar. Pull request #7570
- The buttons for Print, Copy, Paste and Cut have been removed from the standard toolbar. They can be re-added by customizing your toolbar. Pull request #7571 and commit ea9a04e
- Commands to store and recall a temporary working view have been added. Pull request #7525
- Value changes with the mouse wheel in 'input fields' (a widget type used to enter values in task panels, for example by Draft Line) are disabled if the widget doesn't have the focus and the ComboBoxWheelEventFilter parameter is enabled. This prevents unwanted value changes while scrolling, as was already the case for spin and combo boxes. Pull request #7561
- It is now possible to set a default transparency for new Part or PartDesign objects in the Preferences. Pull request #7103
- There is the new orbit style Free Turntable. It can either be enabled in the Preferences or by pressing the button in the Status bar and then using the menu Settings → Orbit). Pull Request #8048
- The Std SetAppearance task panel now also has a button to set the Point Color property. Pull request #7708
- A button has been added to switch the colors of the 3D view background gradient in the Preferences. Pull request #7155
- All transparency settings use now the uniform spin button step of 5%: One click on the button in a dialog or the property editor changes the transparency by 5%. Keep the button pressed to change several 5% steps at once. Pull request #7723
- The Output window has been renamed to Report view for uniformity with the UI. Pull Request #7739
- The Image Workbench has been removed. To insert an Image Plane the Std Import command can now be used. Double-click an Image Plane to change its orientation and scale. The new Std ViewLoadImage command replaces the Image Open command. Pull Request #8955
Noyau et API
Noyau
- The function cbrt(x) for cubic roots was added for use in Expressions. Pull request #8629
- Many new Properties are available for scripting. Pull request #6717
- Added object creation functions
vector
,matrix
,rotation
,placement
as well as matrix functionsmrotate
,mrotatex
,mrotatey
,mrotatez
,mtranslate
for use in Expressions. Pull request #8603.
API
Nouvelles API en Python
- BSplineSurfacePy::scaleKnotsToBounds : met à l'échelle les listes de nœuds U et V pour les adapter aux limites spécifiées. Pull request #7258 et Pull request #7385.
- BSplineCurvePy::scaleKnotsToBounds : met à l'échelle la liste des nœuds pour s'adapter aux limites spécifiées. Pull request #7385
- ShapeFix_EdgeConnectPy: Root class for fixing operations. commit 4d4adb93
- ShapeFix_EdgePy: Fixing invalid edge. commit 4089cbfb
- ShapeFix_FaceConnectPy: Rebuilds connectivity between faces in shell. commit a0eb2e9d
- ShapeFix_FacePy: Class for fixing operations on faces. commit b6cd635c
- ShapeFix_FixSmallFacePy: Class for fixing operations on faces. commit 4c2946c8
- ShapeFix_FixSmallSolidPy: Fixing solids with small size. commit b70d8d37
- ShapeFix_FreeBoundsPy: Intended to output free bounds of the shape. commit 1ee1aee1
- ShapeFix_RootPy: Root class for fixing operations. commit f3e941a3
- ShapeFix_ShapePy: Class for fixing operations on shapes. commit 87db9dcc
- ShapeFix_ShapeTolerancePy: Modifies tolerances of sub-shapes (vertices, edges, faces). commit 125d5b63
- ShapeFix_ShellPy: Root class for fixing operations. commit f3e941a3
- ShapeFix_SolidPy: Root class for fixing operations. commit 8d568793
- ShapeFix_SplitCommonVertexPy: Class for fixing operations on shapes. commit 4b44c54c
- ShapeFix_SplitToolPy: Tool for splitting and cutting edges. commit bbecc3f2
- ShapeFix_WireframePy: Provides methods for fixing wireframe of shape. commit 6843a461
- ShapeFix_WirePy: Class for fixing operations on wires. commit 94f6279a
- ShapeFix_WireVertexPy: Fixing disconnected edges in the wire. commit 8c6ffc99
Suppression d'API Python
- FreeCAD.EndingAdd : remplacé par FreeCAD.addImportType. Pull request #7167
- FreeCAD.EndingGet : remplacé par FreeCAD.getImportType. Pull request #7167
Gestionnaire des extensions
Atelier Arch
- Plusieurs problèmes liés au mode d'édition ont été corrigés et les menus contextuels de la vue en arborescence pour les objets Arch ont été améliorés. Les objets qui peuvent être édités ont maintenant une option Éditer dans ce menu. L'option Définir les couleurs a été supprimée pour les objets sans face ou qui ne peuvent avoir qu'une seule face. Pull request #8122
Autres améliorations de Arch
- Arch Profile objects now support modification of the profile type after creation. Pull request #7217
- The Terrain of an Arch Site can now also be a solid. Pull request #8444
- An Arch Site no longer shows a phantom representation of the objects in its Group. Pull request #8444
- Arch SectionPlane objects now handle non-solid objects the same as solid objects. Pull request #8688
Atelier Draft
- The inaccuracy of Draft Snap Near when snapping to curves was fixed. In addition, Draft Snap Perpendicular can now also snap to faces and find multiple points. To snap to a vertex (e.g. a Draft Point) Draft Snap Endpoint must now be used instead of Draft Snap Near. Pull request #7132
- To make working with layers easier their drag and drop behavior was modified. If you drop an object from a Std Group, or a group-like object such as an Arch BuildingPart, on a layer, it is no longer removed from the group, and vice versa. This works without holding down the Ctrl key. Pull request #7462
- The Draft PointArray command now supports more point object types. Any object with a shape and vertices, as well as a mesh and a point cloud can be used. Pull request #7597
- The Tree view context menus for Draft objects have been improved. Objects that can be edited with the Draft Edit command, or that have a dedicated edit solution, now have an Edit option in that menu. The Set colors option was removed for objects without a face or that can only have a single face. Pull request #7970
- The properties of Draft annotation objects have been unified. Draft Text, Draft Dimension and Draft Label objects now all have a Font Name, a Font Size and a Text Color property. The Display Mode options have been made consistent as well and are now: Screen and World. Issue #7861 and Pull request #8081
- Undo/Redo did not work properly for the Draft modification commands on Windows. Pull request #8267
Autres améliorations de Draft
- Several Draft PathArray related issues have been fixed. Pull request #7506 and Pull request #7662
- The Draft Edit command has received several improvements. For wires, B-splines and Bézier curves a Close/Open option has been added to the edge context menu. For B-splines and Bézier curves a Reverse option has been added to the same menu as well. The task panels have been cleaned up. Pull request #7527 and Pull request #7541
- The Draft Snap toolbar was changed to a standard toolbar. Keyboard shortcuts can now be assigned to snaps. But using them during a command only works if none of the input boxes in the task panel has the focus as they 'catch' the so-called in-command shortcuts. Pull request #7656
- In the task panel of the Draft SetStyle command the "Texts/dims" button has been replaced by the "Annotations" button. Pressing this button will process all annotations, including Draft Labels. Several minor additional issues were also fixed. Pull request #8190, Pull request #8195 and Pull request #8196
- Several Draft AnnotationStyleEditor bugs have been fixed and a separate Text color button has been added. Pull request #8207
- Start and End Offset properties have been added to Draft PathArray objects. Pull request #8295
- A Count property has been added to the arrays that lacked this property: the non-Link versions of Draft OrthoArray, Draft PolarArray and Draft CircularArray. Pull request #8433
Atelier FEM
Iso-contours, depicting the y-component of the absolute magnetic flux density in and around a copper wire that is flown through by electric current at a frequency of 100 kHz. For more info about this model, see section 14 of the Elmer Tutorials. |
There is the new Contours filter filter that allows to draw iso-lines or iso-contours. Iso-contours are connected mesh nodes that have the same result field value. A typical example are electric field lines. |
Résultat de la simulation (de l'eau courante chauffée) avec 8 régions de maillage visibles (une pour chaque cœur de CPU utilisé). |
Il est maintenant possible d'exécuter le solveur Elmer en utilisant plusieurs cœurs de CPU. Pour plus d'informations sur les avertissements, voir ce post du forum |
Simulation result of the imaginary part of the current density in a crucible that was heated electrically by a surrounding coil. This model is available via the FEM Examples. For more info about this model, see section 16 of the Elmer Tutorials. |
The Magnetodynamic 2D equation was added. With this it is possible to perform electromagnetic simulations in 2D. |
Simulation result of the imaginary part of the magnetic flux density in and around a copper wire that is flown through by electric current at a frequency of 100 kHz. This model is available via the FEM Examples. For more info about this model, see section 14 of the Elmer Tutorials. |
The Magnetodynamic equation was added. With this it is possible to perform electromagnetic simulations. |
Résultat de la simulation d'un fil de fer en U qui est déformé en pressant les extrémités du U l'une contre l'autre. Pour plus d'informations sur ce modèle, voir la section 8 des tutoriels d'Elmer. |
L' Équation de déformation a été ajoutée. Elle permet d'effectuer des analyses d'élasticité non linéaire (déformation). |
Autres améliorations de FEM
- When performing analyses using the CalculiX solver, there is now also a results pipeline created to visualize the results. Pull request #8525 and Pull request #8903
- It is now possible to perform transient analyses when using the Elmer solver. Pull request #9056
- The initial pressure constraint was added to set the initial internal pressure of fluids. Pull request #7364
- The current density constraint was added to set current densities for bodies and faces. Pull request #8348
- The magnetization constraint was added to set magnetizations for bodies and faces. Pull request #8393
- The flow velocity constraint and initial flow velocity constraint were completely rewritten. It is now also possible to specify a velocity via a math formula (to define a velocity profile). Pull request #8963 and Pull request #8964
Note: This is a breaking change. Analyses with existing flow velocity and initial flow velocity constraints will not work anymore. You have to create new flow velocity constraints in the analysis to make existing analyses work.
Also note: until FreeCAD 0.20.3 the results of the flow solver were wrong (fluid density and viscosity were a factor 1000 too high). Therefore the necessary recreation of the velocity constraint also assures the results will be correct. - It is now possible to define in the displacement constraint displacements as equations (displacement according to the current solver time).
- The body heat source constraint has now a task panel and it is possible to set the heat for several bodies or to use several constraints for different bodies in one analysis. Pull request #7367
- The spring constraint was not used by any solver. Now it can be used by the Elmer solver via the equations Deformation and Elasticity. Pull request #9005
- The result mesh cut function Filter function cylinder was added. Pull request #8735
- The result mesh cut function Filter function box was added. Pull request #8825
- It is now possible to open (and this way visualize) *.pvtu files (partitioned VTK unstructured grid data). A *.pvtu file is also the result of an Elmer simulation, when more than one CPU core is used for calculations. Pull request #7159
- Critical Strain Ratio has been added to the VTK result pipeline. It gives an indication of ductile rupture for materials with a "MaterialMechanicalNonlinear" object. Pull request #7467
- FEM mesh to mesh has the new parameter scale to define the scale of deformed mesh using Python. Forum thread and Pull request #7715
- The preferences have a new option to define which solver should automatically be added when creating a new analysis.
- Usability improvements:
- If you are in the FEM workbench when loading a FreeCAD file containing an analysis, the analysis gets activated automatically (you have immediate access to all FEM toolbar buttons).
- The toolbar only has buttons for solvers installed on your system. Unavailable solvers are no longer displayed.
- New example files for the following equations are available via the FEM Examples: Deformation, Flow, Flux, Heat, Magnetodynamic and Magnetodynamic 2D. Pull requests #8550, #8569, #8579, #8597, #8630 and #9004.
- New material card for carbon dioxide and a titanium alloy. Pull request #8332 and Pull request #8636
Exportation
Mesh (Maillage)
Autres améliorations de Mesh
- Permet d'ajouter des transparences à un maillage. Fil de discussion du forum et Commit f88305e.
Atelier OpenSCAD
Atelier Part
Autres améliorations de Part
- La commande Part Points à partir de maillage a été étendue pour accepter n'importe quel objet géométrique. Pull request #8730
Atelier PartDesign
Un trou de contre-perçage. |
La boîte de dialogue de Perçage prend en charge le type de tête de vis Contre-perçage. |
Autres améliorations de PartDesign
- In the Hole dialog, the deprecated screw head types (cheese head, cap screw etc.) have been removed. They were deprecated since FreeCAD 0.19. Holes using these types are transformed to custom countersinks/counterbore holes with the diameter and depth used by the types. Pull request #7654
- In the Additive Loft and Subtractive Loft dialogs, the previously non-functional option Closed does now create a closed loft (like a ring). Pull request #8748
- The Validate sketch command was added to Helper toolbar. Pull request #7700
- The unusable Leave sketch and View sketch commands were removed from the menu. The Edit sketch, Merge sketches and Mirror sketch commands were added to the menu. Pull request #7700
- The involute gear profile has new properties to change the tooth length. This now allows adjustments for certain types of interferences and to use the profile to create involute splines too. Pull request #8184
- The involute gear profile now offers profile shifting. Issue #5618 and Pull request #8934
Atelier Path
- Intégration de Camotics. Si Camotics (version 1.2.2 ou ultérieure) est installé, une nouvelle icône sera ajoutée à la barre d'outils Path. Sélectionnez une Path Tâche et appuyez sur le bouton pour ouvrir la boîte de dialogue Camotics. Faites ensuite glisser le curseur pour générer un solide simulé en tout point du travail. Vous pouvez également lancer l'application Camotics complète pour exécuter la simulation animée. Cela entraîne un post-traitement silencieux de la tâche et la création d'un fichier de projet camotics. Pull request #6637
- Des chaînes de substitution supplémentaires pour le nommage automatique des sorties. Si la sortie est divisée en plusieurs fichiers, les noms de fichiers peuvent automatiquement substituer le label du contrôleur d'outil, WCS, ou le label de l'opération. Ceci s'ajoute aux autres chaînes de substitution existantes comme la date, le nom du travail, etc.
- Implémentation de l'option de brise-copeaux (Chipbreaking) pour les cycles de perçage de type débourrage. Le brise-copeaux émet un cycle G73 qui amène la commande à effectuer un très petit mouvement de rétraction pour casser le copeau sans rétracter complètement la mèche du trou. G73 est supporté nativement par LinuxCNC. D'autres postprocesseurs devront interpréter le G73 et émettre les codes de contrôle appropriés ou décomposer la rétraction en mouvements G1/G0. Le support des postprocesseurs pour la décomposition G73 a été ajouté aux postprocesseurs "refactorisés". Pull request #7469.
Module Plot
Atelier Sketcher
Déplacement des nœuds d'une B-spline. Cliquez sur l'image pour voir l'animation. |
Les nœuds des B-splines peuvent maintenant être déplacés et contraints comme tout autre point de l'esquisse. |
Déplacement d'une B-spline. Cliquez sur l'image si l'animation ne démarre pas. |
Le déplacement d'une B-spline ne déplace plus que la partie entre les nœuds. |
L'outil Joindre des courbes a été ajouté. Il permet de combiner plusieurs courbes en une seule B-spline. |
Les esquisses peuvent désormais être éditées de manière transparente à partir de l'avant ou de l'arrière. Lorsque vous travaillez de l'arrière, les sommets (et toutes les géométries et contraintes) peuvent être sélectionnés de la même manière et la vue de la section est commutée automatiquement. |
La grille de Sketcher a été retravaillée. L'outil Grille a été ajouté. L'option de mise à l'échelle automatique de la grille a été ajoutée. |
Le widget Contrainte de Sketcher a été retravaillé pour simplifier l'interface utilisateur. |
Cliquez sur l'image pour voir l'animation. |
Le widget Eléments a été retravaillé pour simplifier l'interface utilisateur et permettre une sélection plus simple des différentes parties de chaque géométrie : arête, point de départ, point d'arrivée et point central. Pull request #7567 |
Une fonction permettant de redimensionner automatiquement la grille en fonction du niveau de zoom et d'autres améliorations ont été introduites. |
La fonctionnalité de base des calques visuels a été introduite. Pour l'instant, seuls 3 calques codés en dur sont pris en charge. D'autres améliorations sont attendues dans le futur.
Ce PR supprime également les options d'ordre de rendu (qui ne sont plus nécessaires) et le widget "Modifier les contrôles" du panneau des tâches, car tout son contenu a été déplacé vers d'autres endroits ou supprimé. Pull request #8716 |
La contrainte de distance de cercle à cercle a été introduite. |
Cliquez sur l'image de gauche pour voir l'animation. |
Le gestionnaire d'aimantation, l'aimantation à l'angle et l'aimantation au point milieu ont été ajoutés. |
Contrainte de coïncidence peut désormais agir comme une contrainte concentrique lors de la sélection de 2 ou plusieurs cercles, arcs, ellipses ou arcs d'ellipses. |
Autres améliorations de Sketcher
- The toolbar button for Constrain refraction (Snell's law) has been removed. Commit ef62fc3
- The Dimensional Constraints and Quantity Spin Boxes now support the same math as Expressions (Evaluated in place). Pull Request #7124
- The toolbar buttons for Select redundant constraints and Select conflicting constraints have been removed. Pull request #7568
- The toolbar button for Stop operation has been removed. Pull request #7569
- The 'Edit controls' section in the Sketcher dialog has been made optional. Pull request #7572
- The toolbar button for Select unconstrained DoF has been removed. Pull request #7603
- The Sketcher toolbar has been split in two: 'Sketcher-edit-mode' and 'Sketcher' (i.e. 'not edit mode'). The Sketcher toolbars that are only for edit-mode are hidden in non-edit-mode, and those only for non-edit-mode are hidden in edit-mode. The Structure toolbar is also hidden in Sketcher. Pull request #7655
- Carbon copy if possible now uses constraint names in the expressions it creates instead of an index based reference, making it more reliable. Pull request #7688
- The Sketcher 'Solver Message' taskbox has been simplified. The auto-remove-redundant checkbox has been moved to the Constraint taskbox setting button menu. The auto-update checkbox has been moved to the menu of the update button. Pull request #8864
- Split now supports more curves (ellipses, parabolas, hyperbolas and B-splines). Pull request #6971
Atelier Spreadsheet
Autres améliorations de Spreadsheet
Atelier TechDraw
The SurfaceFinishSymbol tool was added to allow for the creation of surface finish symbols describing roughness, lay and waviness, but also denoting the type of surface treatment. It supports both ISO and ASME styles. As shown in the image, the existing LeaderLine tool can be used to properly refer oriented symbols to the edges of an object. | |
The ComplexSection tool was added to allow for the creation of half, offset and aligned sections. |
Autres améliorations de TechDraw
- Navigation modes have been updated to match those used in the 3D view. Pull request #7081 and Pull request #7107
- Bitmap hatching was fixed. Issue #6582 and Pull request #7121
- Support for adjustable gaps for extension lines of dimensions was added. Pull request #7133
- Multithreading was introduced for hidden line removal and face finding. Pull request #7377
- The face detection algorithm was improved. Pull request #7448
- The PrintAll tool was added. Pull request #7460
- Four tools to control the stacking order of views were added. Issue #6012 and Pull request #7460
- ActiveView now creates a screen capture instead of an SVG image. Pull request #7471
- All Latin script templates have been converted to "plain svg". Pull request #7472
- A preview was added to the task panel of the SectionView tool. Pull request #7658
- Deprecated DrawViewPart functions were removed: replaceCenterLine, replaceCosmeticEdge, replaceCosmeticVertex and replaceGeomFormat.
- The HoleShaftFit tool was added. Pull request #8455
- The AxoLengthDimension tool was added. Pull request #8359
- 3D dimensions can now be created in the same way as 2D dimensions (apart from the fact that the geometry has to be selected in a 3D view). This eliminates the need to link them manually to 3D geometry. Pull request #8141
- The DimensionRepair tool was added. Pull request #8141
Web
Ateliers externes
A2plus
Assembly3
Assembly4
FCGear
Ship
Compilation
Since this release FreeCAD can only be compiled using Qt 5.x and Python 3.x. The lowest supported Python version is 3.8 according to the FreeCAD 1.0 development goals.
The supported operating systems are:
- Windows 7, 8, 10 and 11
- Linux Ubuntu Focal Fossa (20.04) and newer
- macOS: 10.12 Sierra or newer
Known Limitations
32bit Windows
Since FreeCAD 0.19 we no longer officially support 32bit Windows. FreeCAD might work on these systems, but no support is given.
Remote Desktop under Windows
Depending on the OpenGL graphics capabilities of a computer, it might be that one encounters a crash when running FreeCAD via remote desktop. To fix this upgrade your OpenGL driver. Only if this doesn't help:
- Download this OpenGL library for 64bit Windows and extract it.
- Rename the DLL file to opengl32sw.dll and copy it to the bin subfolder of FreeCAD's installation folder (overwrite the existing DLL there).
macOS: Start Workbench shows blank page
If the Start Workbench shows only a blank page, you must enable the option Use software OpenGL in the menu FreeCAD-0.21 → Preferences → Display.