Release notes 0.21/fr

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


Autres améliorations de l'interface utilisateur

 * Le bouton pour le [[Image:Std_UserEditModeDefault.svg|24px]] Mode d'édition a été supprimé de la barre d'outils standard. Il peut être réajouté en personnalisant votre barre d'outils. Pull request #7570
 * Les boutons pour [[Image:Std_Print.svg|24px]] Imprimer, [[Image:Std_Copy.svg|24px]] Copier, [[Image:Std_Paste.svg|24px]] Coller et [[Image:Std_Cut.svg|24px]] Couper ont été supprimés de la barre d'outils standard. Ils peuvent être rajoutés en personnalisant votre barre d'outils. Pull request #7571 et commit ea9a04e
 * Les commandes pour stocker et appeler une vue de travail temporaire ont été ajoutées. Pull request #7525
 * Les changements de valeur avec la molette de la souris dans les "champs de saisie" (un type de widget utilisé pour saisir des valeurs dans les panneaux de tâches, par exemple en Draft Ligne) sont désactivés si le widget n'a pas le focus et si le paramètre ComboBoxWheelEventFilter est autorisé. Cela empêche les changements de valeur indésirables lors du défilement, comme c'était déjà le cas pour les spins et les listes déroulantes. Pull request #7561
 * Il est désormais possible de définir une transparence par défaut pour les nouveaux objets Part ou PartDesign dans les Préférences. Pull request #7103
 * Il y a le nouveau style d'orbite Free Turntable. Il peut soit être activé dans les Préférences de navigation ou en appuyant sur le bouton dans la Barre d'état puis en utilisant le menu ). Pull Request #8048
 * Le panneau de tâches de l'apparence standard a maintenant également un bouton pour définir la propriété Couleur du point. Pull request #7708
 * Un bouton a été ajouté pour changer les couleurs de la vue 3D dégradé de fond dans les Préférences. Pull request #7155
 * Tous les paramètres de transparence utilisent désormais le pas de bouton de rotation uniforme de 5 % : un clic sur le bouton dans une boîte de dialogue ou l'éditeur de propriétés modifie la transparence de 5 %. Maintenez le bouton enfoncé pour modifier plusieurs pas de 5 % à la fois. Pull request #7723
 * La fenêtre de sortie a été renommée en Vue rapport pour l'uniformité avec l'interface utilisateur. Pull Request #7739
 * L'atelier Image a été supprimé. Pour insérer un plan image, la commande Std Importer peut maintenant être utilisée. Double-cliquez sur un plan image pour modifier son orientation et son échelle. La nouvelle commande Std Charger une image remplace la commande Ouvrir Image. Pull Request #8955



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, , , as well as matrix functions , , , ,  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 dans ce menu. L'option  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 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 option in that menu. The  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


Autres améliorations de FEM

 * When performing analyses using the [[Image:FEM_SolverCalculixCxxtools.svg|24px]] 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 [[Image:FEM_SolverElmer.svg|32px]] Elmer solver. Pull request #9056
 * The [[Image:FEM_ConstraintInitialPressure.svg|24px]] initial pressure constraint was added to set the initial internal pressure of fluids. Pull request #7364
 * The [[Image:FEM_ConstraintCurrentDensity.svg|24px]] current density constraint was added to set current densities for bodies and faces. Pull request #8348
 * The [[Image:FEM_ConstraintMagnetization.svg|24px]] magnetization constraint was added to set magnetizations for bodies and faces. Pull request #8393
 * The [[Image:FEM_ConstraintFlowVelocity.svg|24px]] flow velocity constraint and [[Image:FEM_ConstraintInitialFlowVelocity.svg|24px]] 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 [[Image:FEM_ConstraintDisplacement.svg|24px]] displacement constraint displacements as equations (displacement according to the current solver time).
 * The [[Image:FEM_ConstraintBodyHeatSource.svg|24px]] 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 [[Image:FEM_ConstraintSpring.svg|24px]] 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 [[Image:FEM_PostCreateFunctionCylinder.svg|24px]] Filter function cylinder was added. Pull request #8735
 * The result mesh cut function [[Image:FEM_PostCreateFunctionBox.svg|24px]] 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
 * [[Image:FEM_FemMesh2Mesh.svg|24px]] 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

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

<span id="PartDesign_Workbench">

Atelier PartDesign
<span id="Further_PartDesign_improvements">

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

<span id="Path_Workbench">

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.

<span id="Plot_module">

Module Plot
<span id="Sketcher_Workbench">

Atelier Sketcher
<span id="Further_Sketcher_improvements">

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

<span id="Spreadsheet_Workbench">

Atelier Spreadsheet
<span id="Further_Spreadsheet_improvements">

Autres améliorations de Spreadsheet
<span id="TechDraw_Workbench">

Atelier TechDraw
<span id="Further_TechDraw_improvements">

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
<span id="External_workbenches">

Compilation
Depuis cette version, FreeCAD ne peut être compilé qu'avec Qt 5.x et Python 3.x. La version la plus basse de Python supportée est la 3.8 selon le Cycle de développement de FreeCAD 1.0 (en).

Pour compiler FreeCAD, voir les instructions pour Windows, Linux et macOS.

Les systèmes d'exploitation pris en charge sont :
 * Windows 7, 8, 10 et 11
 * Linux Ubuntu Focal Fossa (20.04) et plus récent
 * macOS : 10.12 Sierra ou plus récent

<span id="Known_Limitations">

Limitations connues
<span id="32bit_Windows">

Windows 32 bits
Depuis FreeCAD 0.19, nous ne supportons plus officiellement Windows 32 bits. FreeCAD pourrait fonctionner sur ces systèmes, mais aucun support n'est donné.

<span id="Remote_Desktop_under_Windows">

Bureau distant sous Windows
Selon les capacités graphiques OpenGL d'un ordinateur, il se peut que l'on rencontre un plantage lors de l'exécution de FreeCAD via le bureau à distance. Pour résoudre ce problème, mettez à jour votre pilote OpenGL. Si cela ne vous aide pas :
 * Téléchargez cette bibliothèque OpenGL pour Windows 64 bits et extrayez-la.
 * Renommez le fichier DLL en opengl32sw.dll et copiez-le dans le sous-dossier bin du dossier d'installation de FreeCAD (écrasez la DLL existante).

<span id="macOS:_Start_Workbench_shows_blank_page">

macOS : l'atelier Start affiche une page blanche
Si l'atelier Start n'affiche qu'une page blanche, vous devez activer l'option Utiliser le logiciel OpenGL dans le menu.