Commit Graph

33993 Commits

Author SHA1 Message Date
Kacper Donat
2d22c8f4af 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
148c497eba 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
b7da44f57b 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
wmayer
9dd4779252 Test: add more unit tests 2023-08-26 13:17:53 +02:00
wmayer
2c2347f746 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
66fb1c7777 Part: refactor ViewProviderPartExt::getDetail 2023-08-25 19:23:18 +02:00
wmayer
56ccef84c2 App: refactor ComplexGeoData::getSubElementByName 2023-08-25 19:23:18 +02:00
andrea
ad71d1c7c1 removed unused files 2023-08-25 16:06:42 +02:00
Roy-043
ac7fba867c Draft: Remove unused arguments from gui_tool_utils.get_point (#10347) 2023-08-25 03:49:06 +02:00
Roy-043
979d83a22b Draft: Housekeeping and minor improvements for some draftguitools (#10339) 2023-08-25 03:47:39 +02:00
wmayer
097d5d6fee Base: C++ core guidelines: init variables 2023-08-24 18:48:52 +02:00
Roy-043
1ed3782d4b Draft: Fix placement_from_face if vec_z matches normal of face (#10333) 2023-08-24 09:53:13 +02:00
wmayer
6beace8da6 Gui: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
1cf1a90a17 App: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
4210ab01e0 Base: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
Roy-043
292fadfb1c Draft: Fix error in PR10327 (#10329) 2023-08-23 13:32:37 +02:00
Roy-043
bfa8d79afb 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
649dde9808 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
5da3143f02 Mesh: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
57057b5840 Part: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
40042573eb MeshPart: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
3c6174e521 PD: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
769a1bb3a4 Inspection: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
38a9082546 Import: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
10ae6c06ad FEM: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
ad3a47573c Points: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
5cab6488e0 RE: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
18cffaf206 Robot: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
2ad2a0258d Sheet: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
e4239b74b6 Surface: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
20153863f8 Gui: add missing precompiled header 2023-08-22 15:45:22 +02:00
wmayer
b9e9fe435a Part: modernize C++: use equals default 2023-08-22 15:14:03 +02:00
wmayer
622e46771e PD: modernize C++: use equals default 2023-08-22 13:31:17 +02:00
wmayer
b239b57960 Robot: modernize C++: use equals default 2023-08-22 12:49:17 +02:00
wmayer
1de36fd303 RE: modernize C++: use equals default 2023-08-22 12:48:09 +02:00
wmayer
8027aed557 Sheet: modernize C++: use equals default 2023-08-22 12:45:58 +02:00
wmayer
73946faa15 Points: for E57 reader move from float to double 2023-08-22 12:44:38 +02:00
wmayer
162f480c84 Points: modernize C++: use equals default 2023-08-22 12:37:37 +02:00
wmayer
da00501288 Mod: modernize C++: use equals default 2023-08-22 11:16:49 +02:00
wmayer
93ac88bcc3 Surface: modernize C++: use equals default 2023-08-22 11:16:10 +02:00
wandererfan
ba6365f950 [TD]use original shape for section of section 2023-08-21 20:31:06 -04:00
wandererfan
858c3444d1 [TD]add preference for choice of section shape 2023-08-21 20:31:06 -04:00
bdieterm
793da1479a Core: escape filepath characters in FreeCAD.loadFile 2023-08-21 19:50:51 -04:00
sliptonic
141dd99d80 Merge pull request #10033 from jffmichi/fix_flipedge
[Path] fix flipEdge not taking into account FirstParameter and LastParameter…
2023-08-21 16:12:56 -05:00
sliptonic
e15a389681 Merge pull request #10179 from davidgilkaufman/rampNestedDressup
[Path] Make RampDressup accept other dressups as its base operation
2023-08-21 14:08:57 -05:00
qewer
dfbedc75b7 StartPage: Fix new file templates issues (#10291)
* Make StartPage new file template buttons use if instead of match

* Make StartPage Part design new file template not create a sketch

* Remove StartPage Part new file template and rename Part Design template based on community feedback

* StartPage LoadNew.py fix indentation
2023-08-21 13:58:29 -05:00
wmayer
142b86fde2 Mod: modernize C++: use equals default 2023-08-21 20:21:30 +02:00
luzpaz
09a965d595 Fix typos 2023-08-21 20:20:47 +02:00
wmayer
d11fdf3ba9 Mesh: modernize C++: use equals default 2023-08-21 18:39:59 +02:00
sliptonic
68bf28bea7 Merge pull request #9703 from FlachyJoe/arc_helper_gui
Sketcher: Add command to switch arc helpers
2023-08-21 11:20:16 -05:00