Commit Graph

27453 Commits

Author SHA1 Message Date
Chris Hennes
2dfc274637 PD: Translate wire not closed exception
This is a user-visible exception, shown in a dialog box
2024-03-04 11:40:18 +01:00
Roy-043
6df52808f2 Draft: applyConstructionStyle was missing in params.py 2024-03-04 11:33:10 +01:00
Chris Hennes
94fe97bf0d Draft: Translate annotation styles editor 2024-03-04 11:30:31 +01:00
HowThatWorks
e1e7c9ce7d Fixed minor mistakes and omissions 2024-03-04 04:14:12 +01:00
HowThatWorks
129fbe271c Added common non-title block things 2024-03-04 04:14:12 +01:00
HowThatWorks
a217fb5fea Tidied up the templates 2024-03-04 04:14:12 +01:00
HowThatWorks
35979507d2 Removed non-ISO compliant templates and replaced them with ISO-conformant templates 2024-03-04 04:14:12 +01:00
HowThatWorks
1b47fe70af Some ISO 7200 title blocks 2024-03-04 04:14:12 +01:00
HowThatWorks
0e25906832 ISO 5457 compliant bases for TechDraw templates. 2024-03-04 04:14:12 +01:00
jffmichi
04a9a5c8df Path: fix error in Tag dressup when adding a point. 2024-03-03 03:57:17 +01:00
FEA-eng
3f59036439 FEM CalculiX 2D mechanical analyses (plane stress, plane strain and axisymmetric) (#12562) 2024-03-02 11:46:18 -06:00
Zheng, Lei
d82fe1564f Part/Toponaming: Transfer PartFeature Feature::create()
* Imported Feature::create() method in Part::Feature class
2024-03-02 09:41:36 +01:00
Zheng, Lei
09a5ceca03 Toposhape/Part: Transfer in PropoertyTopoShape and related 2024-03-01 07:55:12 -05:00
Chris Hennes
d4762cd828 Part: Add BRepOffsetAPI_MakeFilling.hxx to OpenCascadeAll.h 2024-02-29 22:22:02 -06:00
Chris Hennes
b71da7c8fb Part: Add BRepOffsetAPI_MakeEvolved.hxx to OpenCascadeAll.h 2024-02-29 21:29:07 -06:00
Chris Hennes
c4b54a94a2 Update translations 2024-02-29 17:25:46 -06:00
wandererfan
44e501e5fc [TD]fix printAll formats 2024-02-29 18:06:04 -05:00
Vincenzo Calligaro
494df1d169 Part/Toponaming: Tests for flushElementMap and resetElementMap (#12471)
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Added test for resetElementMap()
 * Added test for flushElementMap()
 * restored ComplexGeoData::resetElementMap to RT fork
 * modified TopoShape::resetElementMap to match the restored signature of ComplexGeoData::resetElementMap
 * added checks in TopoShape::makeShapeWithElementMap to avoid segfaults
 * added check in TopoShape::setElementComboName to avoid segfaults
 * restored testFindSubShapesForSourceWithTypeAndIndex
 * modified test saveDocFileWithNoElementMap to match the restored signature of ComplexGeoData::resetElementMap
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Removed comments in ComplexGeoData::resetElementMap()
 * Changed TopoShape::resetElementMap():: from virtual to override
 * Removed comment in TopoShape::resetElementMap()
 * Added comments about differences between main and RT fork
 * Removed comment in test saveDocFileWithNoElementMap
 * Updated expected test result in makeElementCompoundTwoShapesGeneratesMap
 * Updated expected test result in resetElementMapTest
 * Fixed typo in test flushElementMapTest
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * updated expected tests results after previous methods modifications

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-29 13:27:27 -06:00
wandererfan
24876bec50 [TD]fix Projection Group front view position
- also fix checkbox correspondence with view position
2024-02-29 13:06:22 -05:00
Florian Foinant-Willig
b5abde373d PD: Use SuppressibleExtension 2024-02-29 18:24:27 +01:00
bgbsww
806be24fca Testing for makeElementEvolve 2024-02-29 09:26:22 -06:00
Zheng, Lei
6ee141e39e Toposhape/Part: Transfer in makEEvolve 2024-02-29 09:26:22 -06:00
Chris Hennes
76b7e0eb56 Merge pull request #12201 from bgbsww/bgbsww-toponamingGetElementName
Toponaming: transfer in getElementName and dependencies
2024-02-28 21:05:54 -06:00
Chris Hennes
4fb058f6af Toponaming/Part: Clang-format cleanup 2024-02-28 19:18:45 -06:00
Damien Miller
3141ae54a9 Fix adaptive glitch by removing coincident points
Remove adjacent coincident and nearly-coincident points from Path.

This is based on PR#5276 by sundtek, but only collapses adjacent points
on the Path. It also addresses (IMO) most of the feedback on the original
PR.

see also discussion on the forum:
https://forum.freecadweb.org/viewtopic.php?f=15&t=42755&start=10#p555566
2024-02-29 11:38:16 +11:00
bgbsww
db38a7eb7e Toposhape/Part: cleanup and test getElementName 2024-02-28 17:07:36 -05:00
Zheng, Lei
1d9fcfea9a Toponaming/Part: trasnfer in getElementName 2024-02-28 17:06:09 -05:00
bgbsww
4e1c37cd6e Toposhape/Part: Clean and test replacEShape and removEShape 2024-02-28 16:53:29 -05:00
Zheng, Lei
b5af3d38c3 Toposhape/Part: Transfer in replacEShape and removEShape 2024-02-28 16:41:07 -05:00
Chris Hennes
e17f1b5cbe Merge pull request #12628 from bgbsww/bgbsww-toponamingFeatureCompound
Toponaming/Part feature compound and revolution
2024-02-28 15:30:11 -06:00
Chris Hennes
a8897cd362 Merge pull request #12590 from bgbsww/bgbsww-toponamingMakeElementBSplineFace
Toponaming/Part make element b spline face and filled face
2024-02-28 15:29:13 -06:00
Chris Hennes
1ed69c1e66 Merge pull request #12474 from NomAnor/pd-pattern-tasks
Refactoring and cleanup of PD Pattern task panels
2024-02-28 15:10:37 -06:00
Chris Hennes
667514e21b PD: Correct typo in pattern parameters 2024-02-28 13:56:16 -06:00
André Althaus
1ee4a555da Fix reference selection code
PolarPattern was missing some classes. The code is now more consistent
between the patterns.
2024-02-28 17:29:59 +01:00
André Althaus
bd0e555e4e Use the isDerived<>() Template function 2024-02-28 17:29:59 +01:00
André Althaus
3936f49ee2 Fix linter hints 2024-02-28 17:29:59 +01:00
pre-commit-ci[bot]
b2d42e778d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-28 12:58:07 +01:00
Roy-043
ce706604e8 Sketcher: improve GUI texts for arcs and conics
The descriptions were sometimes not accurate (major/minor radius for ellipses). I have also tried to improve the constistency a little.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=85396
2024-02-28 12:58:07 +01:00
pre-commit-ci[bot]
212d5cf4a3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-28 12:55:40 +01:00
Roy-043
499539168e Sketcher: improve GUI texts for rectangles
The texts for the modes were changed to match those of the line tool.
2024-02-28 12:55:40 +01:00
pre-commit-ci[bot]
8923419440 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-28 12:54:11 +01:00
Roy-043
9563f3e580 Sketcher: Change Sketcher_CreatePointFillet button text to match menu text
The menu text is "Create corner-preserving fillet" it makes sense to use a similar text for the button and not "Constraint-preserving sketch fillet".
2024-02-28 12:54:11 +01:00
Damien Miller
f8bc271136 regress test for G43 in centroid post
Since the centroid post now support --no-tlo, we can test that
too.
2024-02-28 22:00:52 +11:00
Damien Miller
caef98406b Add G43 tool height compensation to centroid post
This adds G43 tool height compensation to the centroid CAM post-processor using
a similar approach to the G43 support in the MACH3 post.

Specifically, G43 is emitted at every tool change by default and a new
`--no-tlo` post argument can restore the old behaviour of no height
compensation being emitted. These both match how the MACH3 post does it.
2024-02-28 21:59:33 +11:00
Chris Hennes
972b7f1e61 Addon Manager: Fix scroll distance on scrollbar click 2024-02-27 22:36:16 -06:00
PaddleStroke
eaff8d5436 Sketcher: Line DSH: Harmonize width/length behavior with rectangle. 2024-02-27 21:46:41 -06:00
Ed Williams
4bb28e543c Change the calculation of the b parameter of the hyperbolic arc (#12467)
* Change the calculation of the b parameter of the hyperbolic arc
so that it does not give 0/0 when cos(phi) = 0

This gave problems if the first two points defined in the sketcher had
the same x-coordinate.
2024-02-27 14:38:05 -06:00
bgbsww
b121fa524f Toposhape/Part: Cleanup and tests for FeatureCompound and FeatureRevolution 2024-02-27 09:58:13 -06:00
Zheng, Lei
7ace1d9a66 Toposhape/Part: Transfer in FeatureCompound and FeatureRevolution 2024-02-27 09:58:13 -06:00
Ajinkya Dahale
9c774710be [Sketcher] Join curves with C1 continuity
If endpoint-to-endpoint tangent constraint exists between the connecting points
of the curves to be joined, also apply C1 continuity (i.e. a knot multiplicity
of degree-1).
2024-02-27 09:57:52 -06:00