Chris Hennes
aaa0db3867
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
8de6db3e97
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Florian Foinant-Willig
6adc675a12
PartDesign: modernize type checking
2023-10-23 18:08:16 +02:00
wmayer
4c509c03ef
PD: wrong direction determined for linear pattern
...
A selected edge of a sketch is not in local coordinates and thus its corresponding axis mustn't be multiplied with the sketch placement as
this will lead to a wrong direction vector.
Forum: https://forum.freecad.org/viewtopic.php?t=82022
2023-10-23 10:53:29 -05:00
Chris Hennes
6d37ef6609
Merge pull request #10844 from ppphp/remove_redundant_definition
...
[cmake] some definitions do not matter now
2023-10-02 14:20:49 -05:00
FEA-eng
ec4d1a95d6
Merge branch 'master' into patch-5
2023-10-02 18:14:44 +02:00
liukaiwen
4f8fe8fd4a
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
liukaiwen
aef990d440
fix: json is a 3rdparty library, move to 3rdparty
2023-08-30 16:59:25 +02: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
wmayer
5686149cd3
PD: modernize C++: use default member init
2023-08-23 00:55:03 +02:00
wmayer
ca1cb21498
PD: modernize C++: use equals default
2023-08-22 13:31:17 +02:00
Florian Foinant-Willig
b80c960077
PartDesign: Fix uptolast ends too soon
2023-08-21 11:14:24 -05:00
wmayer
0d854a56cd
Part: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
wmayer
9a1f8a11d6
PD: modernize C++: use range-based for loop
2023-08-16 21:54:56 -05:00
wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
89d529ab7b
modernize C++: use using
2023-08-06 23:17:10 +02:00
wmayer
2a88c7c7df
modernize C++: use bool literals
2023-08-06 01:35:39 +02:00
wmayer
899932cec0
Part/PD: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
luzpaz
16e083c8f3
Fix various typos
2023-08-04 19:46:12 +02:00
wmayer
7daf7c0700
Part: modernize C++: use override
2023-08-04 17:09:53 +02:00
Florian Foinant-Willig
761e807cd5
PartDesign: UpToFace check isnull
...
The next line crash if upToFace is null.
2023-07-24 14:40:15 +00:00
wmayer
d7c90d3f77
PD: fix out of scope warnings of Clone feature
...
If the BaseFeature link of the Body of a Clone feature isn't set then do not update it.
Forum thread: https://forum.freecad.org/viewtopic.php?p=675644#p675644
2023-07-24 14:35:04 +00:00
Pesc0
4a8d3853ba
[Toponaming] create ElementMap class ( #9175 )
...
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport
Co-authored-by: John Dupuy <jdupuy98@gmail.com >
2023-06-15 09:05:24 -05:00
Adrián Insaurralde Avalos
b2520d489a
PartDesign: clean redundant/incorrect length validation for pad & pocket
...
better validation is already done for both at FeatureExtrude::generatePrism instead
2023-06-13 22:53:32 -04:00
Chris Hennes
80b29d2dbf
Gui: Minor translation fixes
2023-05-11 18:31:34 -05:00
Chris Hennes
1995d84edd
PD: Add translation to error messages
2023-04-28 11:32:56 -05:00
luzpaz
129d5882a7
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
Jolbas
c001732663
PartDesign: Return directly if occurrences is 1
...
In LinearPattern and PolarPattern. Skip all checks if occurrences is 1. Allows Expressions on Length/Angle that evaluates to 0 if Occurrences is 1.
Co-Authored-By: 0penBrain <48731257+0penBrain@users.noreply.github.com >
2023-03-30 23:02:03 +02:00
Paddle
12588150c1
PartDesign: Chamfer/fillet/draft/thickness small fixes.
2023-03-28 13:30:13 +02:00
Paddle
de6038ff9b
PartDesign: Fix placement issue with thickness tool when the feature was empty.
2023-03-28 12:52:42 +02:00
Paddle
47cc265b4f
PartDesign: Fillet, Chamfer, Draft, Thickness : Enable tool to start with no selection.
2023-03-28 12:52:42 +02:00
Uwe
5a1bd28631
[PD] FeaturePipe.cpp formatting fixes
...
- remove commented includes (once mistakenly added by me)
- also fix too long lines
2023-03-28 01:56:30 +02:00
wmayer
580b775690
clang: fix -Wunused-parameter, -Wunused-variable, -Wswitch
2023-03-12 15:05:21 +01:00
mosfet80
218269bdaf
Update json ( #8830 )
...
* Update json from 3.9.1 to 3.11.2
2023-03-11 13:30:27 +01:00
luzpaz
6802bed99d
Fix various typos and whitespace
2023-03-10 14:40:46 +01:00
Uwe
d27e69bdc9
[PD] add tooltip for Hole feature
...
- tooltip makes clear what the depth means for countersinks
- add comment why a calculation cannot be performed
- shorten some long lines
2023-03-10 05:14:24 +01:00
Zheng, Lei
fac0a1740f
PartDesign: do not include transform for sub-object in Feature
2023-03-10 02:06:24 +01:00
Alexander Golubev
088f51632b
PD: Fix Loft's Closed option
...
Closes: https://github.com/FreeCAD/FreeCAD/issues/6156
2023-03-09 01:48:32 +01:00
luzpaz
62974cd4d5
PartDesign: convert indentations to spaces
2023-01-23 15:47:22 +01:00
wmayer
c26a4c7978
PD: fixes #7791 : Linear Pattern With Single Occurrence Fails
2022-12-27 14:29:16 +01:00
Uwe
94787e8afa
[PD] enable padding to touching planes
...
- this patch is from @@FlachyJoe
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=646231#p646231
it was impossible to pad to a face which is touching the sketch despite is is no parallel to the extrusion Direction
2022-12-12 13:04:05 +01:00
wwmayer
1046bd14a8
Revert "[PD] App: precompiled header fixes"
2022-12-10 00:22:55 +01:00
Uwe
454dddb8ba
[PD] App: precompiled header fixes
...
- use same naming scheme ans CMakeLists structure as for all other WBs
2022-12-09 19:26:38 +01:00
Uwe
e6b3d5aded
[PD] improve PreCompiled.h handling
2022-12-07 21:31:16 +01:00
wmayer
69aba3abe1
PD: remove parameter 'supportface' from ProfileBased::getUpToFace as it's not used any more
2022-12-05 12:46:52 +01:00
Uwe
59c1741559
[PD] Pad/pocket: fix wrong error message
...
- the error can also occur when the mode it not UpToFace (ToFirst or ToLast)
- also add note when Reversed checkbox is enabled since this is no obvious (as discussed in the forum)
- also some whitespace unification and include sorting
2022-12-04 05:37:11 +01:00
Uwe
3ded221646
[PD] FeatureSketchBased: fix orthogonal check
...
- same fix as #7879
- also fix wording on an error message and improve a variable name
2022-12-04 05:31:51 +01:00