Chris Hennes
37a8e348c6
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
1e3179e9bc
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
02731c7816
Part: modernize type checking
2023-10-23 18:12:03 +02:00
wmayer
57057b5840
Part: modernize C++: use default member init
2023-08-23 00:55:03 +02:00
wmayer
c8abd4a6d4
Part: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
wmayer
7cb51a4980
Part: modernize C++: use range-based for loop
2023-08-16 21:56:32 -05:00
luzpaz
5b698e6b68
Fix various typos
2023-08-13 08:17:01 -07:00
luzpaz
38a01939e0
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
berniev
53ba98d636
Mod: use empty
2022-08-06 19:30:13 +02:00
Uwe
4f33fd1056
[Part] Attach*: remove unneeded includes
...
- also sort includes
2022-07-09 13:20:06 +02:00
andrea
c66aadeb60
removed references to OCC<7
2022-06-25 14:29:24 +02:00
Chris Hennes
2ecc125497
Part: PR6497 move return statement to new line
2022-03-29 12:37:00 -05:00
wmayer
6d2d45ceb7
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
marioalexis
83b55e577b
Part: Use Tools::getNormal to compute normal to surface
2022-01-20 13:01:27 +01:00
wmayer
c9f03804ed
Part: [skip ci] fixes #0004169 : DatumPoint at the intersection of a DatumPlane and DatumPoint not working correctly
2020-11-27 19:10:22 +01:00
Abdullah Tahiri
ab75a60141
Part: Attacher intersection calculation fix
...
===========================================
In OCCT 7.4 (and apparently <= 7.4 too):
A GeomAdaptor_Curve obtained directly from BRepAdaptor_Curve will not work because it won't respect the
Location/orientation of the underlying curve.
This commit proposes to create a new GeomAdaptor_Curve from an intermediary curve handle to work around
this issue.
2020-07-29 19:06:59 +02:00
wmayer
c162037476
LGTM: [skip ci] fix: Large object passed by value
2020-07-24 18:32:31 +02:00
luz.paz
17ada69518
Part: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all Part WB files
2019-12-22 00:59:47 +01:00
asapelkin
ced8100ab9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
wmayer
5746c37b7e
fix -Wcatch-value=, fix -Wpedantic
2019-09-18 14:36:23 +02:00
wmayer
e48c52c480
force strict ISO C++ (-Wpedantic)
...
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web
TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
5a326e4b50
issue #0003921 : Crash when opening document with datum point intersecting line and plane
2019-06-16 19:31:06 +02:00
Abdullah Tahiri
216926233f
Part: Make 3rd party libraries into PCH
2019-05-02 07:09:22 +02:00
wmayer
dc1720a7f2
continue PCH on Part module
2019-05-01 16:10:38 +02:00
wmayer
b2a5f47e44
PVS: V560 A part of conditional expression is always true
2019-02-17 13:56:48 +01:00
wmayer
9aa6a700d8
Replace Base::Exception with appropriate subclass
2018-11-14 19:45:20 +01:00
DeepSOIC
e7485effb4
Part, PartDesign, Attacher: fix a few problems with infinite shapes
...
To throw an error instead of returning a semi-infinite result that kills rendering.
fixes #3439
2018-09-13 13:12:55 +02:00
DeepSOIC
d91765a79c
Part: Attacher: fix flip-sides for O-X-Y-like attachment modes
...
fixes #2519
2018-09-13 13:03:06 +02:00
wmayer
cd02aac795
fix -Wparentheses
2018-08-19 12:28:05 +02:00
Markus Lampert
e13c09235f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
luz.paz
43244aa762
More misc. typos
2018-05-19 12:17:52 -04:00
luz.paz
831bf31817
Misc. typos
...
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
Peter Lama
033334474c
Rename superPlacement property to AttachmentOffset
...
The name Attachment Offset gives a better picture of what the
property does.
2017-11-05 16:41:25 +01:00
wmayer
0d03ad13da
allow to attach a sketch to any kind of planar surfaces, not only planes
2017-09-23 22:46:54 +02:00
DeepSOIC
8bf409eb74
fix warning
2017-09-10 18:32:06 +02:00
DeepSOIC
a22c1206d1
Part: Attacher3D: new modes - align axes
...
New attachment modes:
"Align O-Z-X"
"Align O-Z-Y"
"Align O-X-Y"
"Align O-X-Z"
"Align O-Y-Z"
"Align O-Y-X"
They allow to attach a sketch by picking origin point and sketch axes
directions.
2017-09-10 18:31:54 +02:00
DeepSOIC
8284e60401
Part: Attacher1D: new attachment mode "Normal to face"
...
addresses #3175
https://freecadweb.org/tracker/view.php?id=3175
Also, renames Datum Line's "Normal" attachment mode to "Normal to edge"
in Gui, for the name to be specific.
2017-09-10 18:31:25 +02:00
DeepSOIC
4277c83b20
Part: Attacher: fix normal-to-path vertex usage, #3175
...
Modes affected:
* NormalToEdge ("Z tangent to edge", "Normal to edge"),
* Tangent
In these attachment modes, if vertex is linked first, the origin was
supposed to be placed on the vertex, but it was placed on the edge
instead, due to a bug. This commit fixes the bug.
Projects will be broken, which use above mentioned attachment modes, and
link Vertex as first reference, and the vertex does not lie on the edge.
To repair a project, edit the corresponding attachments, and swap the
order of references.
2017-09-10 18:31:11 +02:00
Abdullah Tahiri
81c581b9bd
Correct copy-paste typos in exception throwing
2017-04-28 15:46:30 +02:00
Abdullah Tahiri
e3b900d0f3
Change all exceptions thrown within AttachExtension::positionBySupport from Base::Exception to a meaningful derivative
2017-04-28 15:46:13 +02:00
Kunda
9410e751e9
source typo fixes pt4 (only on py3 merged code)
2017-03-02 13:47:21 +01:00
wmayer
7d842679bd
in forward declaration replace class keyword when struct is expected
...
comment out unused parameters
2016-12-29 17:52:39 +01:00
wmayer
677ec6cd30
fix coverity issues
2016-10-08 17:43:30 +02:00
wmayer
24333d02d3
fix Coverity issues
2016-08-22 15:33:54 +02:00
wmayer
c2dd2e2b99
fix Coverity issues
2016-08-21 18:46:40 +02:00
Wolfgang E. Sanyer
d1d2f1f811
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
Mateusz Skowroński
dfed4adeff
Fix some GCC warnings.
2016-05-19 22:22:12 +02:00
DeepSOIC
cb62d49d50
AttachEngine: fix crash when referenced objects get deleted
...
... by verifying if the pointers equal to objects contained in all open
documents. Not terribly good, but I can't think of a situation where
doing this search might cause trouble.
2016-05-14 02:14:51 +03:00
DeepSOIC
13f56f04c2
Attacher: preparations for Py interface of shape type system
...
+ add getModeByName to AttachEngine
2016-05-13 19:54:44 +03:00
DeepSOIC
2ee73babcf
Attacher: fix wrong inertial calculation on solids
...
was using surface calculation instead of volume...
2016-05-13 19:54:44 +03:00