Commit Graph

25895 Commits

Author SHA1 Message Date
Chris Hennes
fbd10583e7 Merge pull request #10377 from kadet1090/lp-offset
PartDesign: Add offset modes for patterns
2023-08-27 15:31:15 -05:00
geolta
dbd0922578 Improve Pad/Pocket Task Dialog (#10392)
* Improve Pad/Pocket Task Dialog
- Reordering elements
- hide select face if not necessary
- improve tab stop order
2023-08-27 15:01:55 -05:00
qewer
0a093e1ed1 StartPage: Visual overhaul and CSS fixes (#10391)
* StartPage visual overhaul and CSS fixes
* Add qewer33 to CONTRIBUTORS
2023-08-27 13:27:53 -05:00
wmayer
6200150fac Drawing: fix build failure 2023-08-27 19:16:58 +02:00
wmayer
8a59350de8 Mesh: add unit tests 2023-08-27 18:55:02 +02:00
Chris Hennes
d8094b0d57 Merge pull request #10365 from chennes/wrapPyArgParseWithKeywords
Wrap PyArg_ParseTupleWithKeywords
2023-08-27 10:23:31 -05:00
kaktus Jacek
06284ede05 Cleaning code from unnecessary strings generated to Crowdin. (#10385)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-27 10:08:11 -05:00
Kacper Donat
1c70983c60 PD: Keep Length and Offset in sync for LinearPattern
As Length and Offset represents the same concept in different way it is
useful to keep them in sync when it is possible. Update to one of them
will update the other with approperiate value. This behaviour behaviour
works only if both properties are not coming from expression engine -
those will stay not touched.
2023-08-27 12:45:53 +02:00
Kacper Donat
6d7fea506c PD: Add offset / overall angle modes for PolarPatterns
This commit adds two separate modes for defining angular spacing between
elements in the PD's Polar Pattern:

1. Overall Angle - which behaves exactly like it behaved before,
2. Offset Angle - which allows user to specify separation angle between
   consecutive elements.

This change is analogue to that introduced for LinearPattern in previous
commits.
2023-08-27 12:45:53 +02:00
al
2b1108439f PD: Add offset / overall length modes for LinearPattern
This commit adds support for two separate modes of defining distance
between elements in PD's Linear Pattern.

1. Overall Length - which works exactly like it works before,
2. Spacing - which allows user to explicitly define distance (offset) between
   features.
2023-08-27 12:45:53 +02:00
Roy-043
2c317cd40a Draft: Make gui_tool_utils.get_support nesting aware (#10373)
The get_support function did not work for objects nested in, for example, Std_Parts.

Additionally improved and cleaned up the code, and reduced the docstrings.
2023-08-27 12:41:25 +02:00
Roy-043
e9294f2dbb Draft: remove superfluous code from gui_points.py (#10379) 2023-08-27 12:41:01 +02:00
Roy-043
c9975f39f8 Draft: Add wp attribute to DraftTool class (#10386)
It makes sense to have this attribute. It will also facilitate the coming work related to the Plane class.

Additionally: Removed the `not self.doc` check from `Activated` as `IsActive` already handles this.
2023-08-27 12:40:30 +02:00
wmayer
bb13c179e9 Base: fix clang-tidy warnings in BoundBox.h 2023-08-26 21:03:58 +02:00
Chris Hennes
c60944ed62 TD: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
079617a58e Robot: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
e80f05cea0 RE: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
68adfdf98c Path: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
0e8be10b90 Part: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
8fe9d7e879 MeshPart: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
363ad73908 Mesh: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
08cf226263 Import: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
8bf24a7c3f Drawing: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
wmayer
423cc42ac8 Tests: add unit tests for:
* TopoShape::getElementTypeAndIndex
* ComplexGeoData::getTypeAndIndex

and fix crashes there when passing a null pointer
2023-08-25 19:23:18 +02:00
wmayer
f6d1fe1ab3 Part: refactor ViewProviderPartExt::getDetail 2023-08-25 19:23:18 +02:00
andrea
58b5cb16ae removed unused files 2023-08-25 16:06:42 +02:00
Roy-043
602841c5f0 Draft: Remove unused arguments from gui_tool_utils.get_point (#10347) 2023-08-25 03:49:06 +02:00
Roy-043
971e74b7db Draft: Housekeeping and minor improvements for some draftguitools (#10339) 2023-08-25 03:47:39 +02:00
Roy-043
53a4fb14c3 Draft: Fix placement_from_face if vec_z matches normal of face (#10333) 2023-08-24 09:53:13 +02:00
Roy-043
a60c9c2cf1 Draft: Fix error in PR10327 (#10329) 2023-08-23 13:32:37 +02:00
Roy-043
29339d7197 Draft: Add placement_from_face to geometry.py (#10327)
Changed getPlacementFromFace function in WorkingPlane.py to a compatibility function that calls placement_from_face.
2023-08-23 12:05:34 +02:00
Roy-043
5c4d8730d9 Draft: Add placement_from_points to geometry.py
Changed getPlacementFromPoints function in WorkingPlane.py to a compatibility function that calls placement_from_points.
2023-08-23 11:17:17 +02:00
wmayer
e613167d8d Mesh: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
bc8e9f5f29 Part: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
8c2e110bfb MeshPart: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
5686149cd3 PD: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
8b8f970b27 Inspection: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
a0882fe64a Import: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
51b924fd81 FEM: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
e456b50c6e Points: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
f797e575a7 RE: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
c0323a173d Robot: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
0b0f039ef9 Sheet: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
6bdff0f477 Surface: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
a0d86224f3 Part: modernize C++: use equals default 2023-08-22 15:14:03 +02:00
wmayer
ca1cb21498 PD: modernize C++: use equals default 2023-08-22 13:31:17 +02:00
wmayer
e3809702d2 Robot: modernize C++: use equals default 2023-08-22 12:49:17 +02:00
wmayer
f336ebd1e6 RE: modernize C++: use equals default 2023-08-22 12:48:09 +02:00
wmayer
1ac09bccc3 Sheet: modernize C++: use equals default 2023-08-22 12:45:58 +02:00
wmayer
5d585de259 Points: for E57 reader move from float to double 2023-08-22 12:44:38 +02:00