Commit Graph

31650 Commits

Author SHA1 Message Date
Jonas Bähr
fee0d451a1 PD: Refactor InvoluteGear's Bezier Approximation
The goal of this refactor is to get rid of gear-specific knowledge from
the implementation and argument list. This is to remove the duplicate
definition of addenddum and dedendum that was hidden there.
2023-01-22 21:44:03 +01:00
Jonas Bähr
a437939b77 PD: Add tests loading InvoluteGears created with v0.20
This is in preparation for new features, to ensure we don't break
existing documents created with FreeCAD-0.20.
The fixtures have been created with the official mac build of
FreeCAD-0.20.1 using mostly default parametrization -- only the number
of teeth has been reduced in order to keep the file size low.
2023-01-22 21:44:03 +01:00
Uwe
551dfa1b11 [Draft] attempt to fix CI error after d3d2d2405e 2023-01-22 21:24:49 +01:00
luzpaz
3971ea23d1 ShowWB: fix header uniformity
Make headers uniform + remote trailing whitespace
2023-01-22 20:33:10 +01:00
luzpaz
3a6794a317 Surface: fix header uniformity 2023-01-22 20:31:45 +01:00
luzpaz
a4239ccfcf Draft: fix trailing whitespace 2023-01-22 20:26:40 +01:00
Roy-043
811fbe6e34 Draft: housekeeping: remove temporary DraftFillet module (#8233) 2023-01-22 20:03:58 +01:00
Roy-043
1eddd842f9 Draft: rotate.py: remove Placement.rotate() workaround (#8230) 2023-01-22 16:29:15 +01:00
Roy-043
96e62f07eb Draft: improve color handling in gui_setstyle.py (#8219)
Alhpa values of colors were not correct.
2023-01-22 11:18:17 +01:00
luzpaz
91a336b659 TechDraw: header uniformity + trailing whitespace 2023-01-21 20:11:08 -05:00
Ajinkya Dahale
fe90c2e9ca [Sketcher] Do not filter out point-on-B-spline when trimming
Fixes #7770.

Until Point-on-B-spline is actually merged this will result in a malformed
constraint. It will however still allow a trim of the B-spline to result in a
coincident constraint.
2023-01-21 21:42:57 +01:00
Ajinkya Dahale
56650864c4 [Sketcher][planegcs] Dynamically change piece in point-on-BSpline 2023-01-21 21:41:27 +01:00
Ajinkya Dahale
6c81ad262e [Sketcher][planegcs] Refactor ConstraintPointOnBSpline 2023-01-21 21:41:27 +01:00
Ajinkya Dahale
233f976b63 [Sketcher] [planegcs] Support point on NURBS
This change adds support for rational B-splines. Non-uniform b-splines already
supported.
2023-01-21 21:41:27 +01:00
Ajinkya Dahale
b3c4975b09 [Sketcher] Auto-constrain point on B-spline 2023-01-21 21:41:27 +01:00
Ajinkya Dahale
d5793dc0e4 [Sketcher] Enable point-on-B-spline in Sketcher and GUI
Also squashes:

[Sketcher] Allow point on external B-spline
2023-01-21 21:41:27 +01:00
Ajinkya Dahale
4f3f566423 [Sketcher] [planegcs] Add point-on-bspline constraint in planegcs
Only non-rational B-spline for now
2023-01-21 21:41:27 +01:00
Roy-043
f7a072b7c7 Draft: Fix and improve Draft_AnnotationStyleEditor (#8207)
* Draft: Fix and improve Draft_AnnotationStyleEditor

* Draft: Fix and improve Draft_AnnotationStyleEditor 2
2023-01-21 10:28:47 +01:00
luzpaz
0d7c00c3c8 Fix trailing whitespace 2023-01-20 23:26:04 -06:00
luzpaz
40f4800ab4 README: remove lgtm badges
lgtm was sunset in Dec 2022. https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/
2023-01-20 23:24:07 -06:00
Roy-043
af0ec2aec6 Draft: Improvements related to #8081 (#8211)
DisplayMode of Text was not updated. Some houskeeping
2023-01-20 20:33:35 +01:00
Bernd Hahnebach
cc1e624643 Arch: import ifc, workaround for merge materials if material colors have not been found on import 2023-01-20 15:52:55 +01:00
Bernd Hahnebach
8328b3f943 Arch: add missing import, fixes regression added with commit dd866a07be78 2023-01-20 14:45:06 +01:00
Uwe
5791e2307d .clang-format: revert two recent changes
- the option 'InsertBraces' might be helpful, however under MSVC it makes much more troubles as it helps: All the time the braces are either inserted in a wrong way or often only the opening brace.
Since we did not use this setting previously, this recent change can be safely reverted for now.

- the 'BeforeElse' change was obviously a mistake in the previous change. All the time we used a linebreak before an else
2023-01-20 03:24:02 +01:00
wandererfan
be7c12cf3c [TD]fix crash on dim create on Mac 2023-01-19 13:21:12 -05:00
wandererfan
547df2b4df [TD]apply tester feedback on DimRepair 2023-01-18 17:48:22 -05:00
wandererfan
75ceb8e03e [TD]Ungroup dimension commands 2023-01-18 17:48:22 -05:00
Ajinkya Dahale
6d59b2d28e [Sketcher] Add line tangent at knot through endpoint 2023-01-17 16:02:23 +01:00
Yorik van Havre
5033f64ce9 Merged crowdin translations 2023-01-17 09:40:31 +01:00
Yorik van Havre
28b517bf20 Merge pull request #8199 from Roy-043/Arch-ArchWindow.py-improve-invertHinge
Arch: ArchWindow.py improve invertHinge
2023-01-17 09:31:22 +01:00
Yorik van Havre
297ba756cd Merge pull request #8187 from paullee0/ArchStructure_1_Select-ArchSketch-Edges
[ArchStructure] ArchSketch Feature : Select Edges to build shape
2023-01-17 09:28:43 +01:00
Yorik van Havre
12239f7f99 Updated ts files 2023-01-17 09:24:46 +01:00
sliptonic
0523c0cd08 Merge pull request #8182 from vespakoen/opencamlib-support
Update opencamlib imports to support latest version
2023-01-16 16:50:59 -06:00
sliptonic
4318ecc0ba Merge pull request #8151 from LarryWoestman/staging
Path:  Added more tests and fixed some parameter handling, refactored axis and feed number formatting.
2023-01-16 16:33:47 -06:00
sliptonic
dead2c8584 Merge pull request #8186 from mlampert/bugfix/issue-8185-deburr-offset-calculation
[Path] Bugfix/issue 8185 deburr offset calculation
2023-01-16 16:14:25 -06:00
sliptonic
1bd839f3e9 Merge pull request #8189 from 0penBrain/PathAdapTest
Path: fix bug in Path Gui tests
Thanks OpenBrain!
2023-01-16 15:11:08 -06:00
wandererfan
fd59cd19e0 [TD]adjust font to prevent clipping of tall glyphs 2023-01-16 15:08:40 -05:00
wandererfan
721aa1422a [TD]ANSI A&B templates 2023-01-16 15:08:40 -05:00
wandererfan
58bef18aee [TD]add ANSI Y14.5 compatible font
- also add osifont-italic
- update osifont to latest version
2023-01-16 15:08:40 -05:00
Ajinkya Dahale
99696be7cf [Sketcher] Do not allow B-spline degree to be too high
...depending on number of poles (and periodic status).

NOTE: It is still possible to run the command in console with a higher degree.
2023-01-16 16:45:17 +01:00
Ajinkya Dahale
11eb9e754f [Part] Limit periodic B-spline degree to number of poles
This leads to issues down the line in Sketcher. If there is a reason this should
be permitted within Part, then Sketcher needs to be adjusted.
2023-01-16 16:45:17 +01:00
Markus Lampert
6760b0e9c4 Remove translation for h=/W= labels 2023-01-15 17:18:25 -08:00
Markus Lampert
6504eff368 Fixed offset and depth calculation for Deburr op 2023-01-15 17:18:25 -08:00
Markus Lampert
b89f2223f6 Renamed Deburr test suite 2023-01-15 17:18:25 -08:00
wmayer
712af11a4c FEM: move to new style connect() 2023-01-15 22:23:53 +01:00
Roy-043
43e74e67a8 Arch: ArchWindow.py improve invertHinge 2023-01-15 21:31:04 +01:00
wmayer
d4cb3aca0e FEM: move to new style connect() 2023-01-15 19:50:46 +01:00
wmayer
a122aa01a7 PD: move to new style connect() 2023-01-15 14:27:33 +01:00
Roy-043
6738aa8d9c Draft: gui_setstyle.py onApplyAnnot should check for doc (#8196) 2023-01-15 00:20:34 +01:00
Roy-043
b3189ccf2d Draft: Update gui_setstyle.py and gui_utils.py (#8195) 2023-01-14 20:07:59 +01:00