wandererfan
ff1147fbae
[TD]add extensions for drag and drop
2022-12-27 19:43:44 -05:00
Yorik van Havre
c23e1d1bb3
Merge pull request #8090 from jimzim111/master
...
DRAFT: Make "draftify" type upgrades return the new object
2022-12-27 16:05:42 +01:00
wmayer
52838aa6bd
PD: fixes #7791 : Linear Pattern With Single Occurrence Fails
2022-12-27 14:29:16 +01:00
jim
9e2856348e
Make upgrades of type "draftify" return the new object (like the other
...
upgrade types do)
2022-12-26 13:32:26 -08:00
wandererfan
411bf827a7
[TD]remove debug statements
2022-12-26 12:13:34 -05:00
wandererfan
02ca0ff998
[TD]fix startup exception on empty compound
2022-12-26 12:13:34 -05:00
Adrián Insaurralde Avalos
4256a08f70
Adjust Startpage version info to new format
...
due to the changes from 0a659d9e74
2022-12-25 14:52:45 +01:00
wmayer
b1123954a9
Test: [skip ci] write results to stdout
2022-12-25 14:28:42 +01:00
Ajinkya Dahale
0c017a39f6
[Sketcher] Disallow tangent-at-knot for non-line in solver
...
This is already stopped in the GUI, but this is still possible by passing the
curve IDs through the console.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
bb8a3c8885
[Sketcher] Disallow tangent at knot with non-line in GUI
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
8a3b3537b3
Sketcher: Avoid trying to lock tangency for tangency at knot point constraint
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
062e9f75ca
Sketcher: Add convenience method to check for internal alignment type
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
0ab7d50639
[Sketcher] Do not use TangentViaPoint for tangent-at-knot
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
b015ae3f0d
[Sketcher] Separate line-tangent-at-knot from angle-at-point
...
The latter is intended for a specific solver constraint.
[Sketcher] Make further changes for tangent-at-knot separation
1. Remove code for tangent-at-knot from `addAngleAtPointConstraint`.
2. Use correct order of input.
3. Separate internal C0 knot vs end knots. The latter can still be constrained
but the user must use endpoints of the spline instead of knots.
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
e3fe3902df
Sketcher: Solver - add map for Internal Alignment geometry
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
598e86a644
[Sketcher][planegcs] Make changes as per review on #7484
...
Similar to 2715a66ff02a46f94ae3fc6527fd446e666b8e58.
Added some comments and removed some TODO's.
Return grad values directly rather than doing summation.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
322306ccf9
[Sketcher][planegcs] Use only line direction in tangent-at-knot
...
This discourages reducing the size of the line when it is more normal than
tangent.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
3f91c52b3f
[Sketcher][planegcs] Fix tangent at knot for C1 knots
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
af5bc953c9
[Sketcher][planegcs] Handle type issues with int and size_t
...
... and `unsigned int`
Suggestions thanks to @abdullahtahiriyo
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
75f2a1d69a
[Sketcher] Use tangent at B-spline knot constraint
...
Also squashes:
[Sketcher] Make tangent-at-knot with just knot and line
[Sketcher] Disallow tangent at C0 knot
If passed on to planegcs can cause segmentation fault.
[Sketcher] (Re-)Support tangent at B-spline end-knots
New code had introduced problems for non-periodic spline end-points, and
periodic spline "end-points" were not supported anyway.
(here end-points mean star/end points)
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
4c71957a97
[Sketcher] [planegcs] Add "tangent at b-spline knot" constraint
...
Also squashes:
[Sketcher] [planegcs] Support tangent at NURBS knot
...which means support rational B-splines
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
d0a30e3b11
[Sketcher] [planegcs] Calculate value at general b-spline
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
57fa3e44f4
[Sketcher] [planegcs] Evaluate lower degree B-spline factors
2022-12-24 18:22:16 -06:00
wmayer
fa6dc8d0e1
Gui: make unit tests working from command line if Gui is up
2022-12-24 19:13:40 +01:00
Ajinkya Dahale
3b8b9c3c49
[Sketcher] Fix typo
2022-12-24 16:02:52 +01:00
Roy-043
9a1f870f7a
MeshPart: Fix translation issues
2022-12-23 19:07:46 +01:00
wmayer
aeb5ea0ddf
App: [skip ci] reduce code duplication
2022-12-23 18:39:59 +01:00
wmayer
b9d88f9985
App: remove dead code and simplify code
2022-12-23 17:02:04 +01:00
wmayer
9e92ef0973
Gui: [skip ci] fix incorrect tool tip
2022-12-23 14:35:58 +01:00
wmayer
9a9cd5f048
Surface: fix crash when canceling filling dialog
2022-12-23 11:56:00 +01:00
Yorik van Havre
7463a75c1c
Merge pull request #7970 from Roy-043/Draft-improve-context-menus
...
Draft: improve context menus
2022-12-23 11:23:33 +01:00
Uwe
df8cd6009f
[Part] ViewProvider.cpp: add include needed for Qt 6
...
- as reported in #8053 , QObject has to be included to be able to compile with Qt 6
2022-12-23 01:54:36 +01:00
wmayer
d0b05c7413
Gui: fix several warnings reported by GH actions
2022-12-22 20:26:39 +01:00
wmayer
2fa66a8d63
Points: support of surface normals and fix handling with intensity
2022-12-22 20:17:49 +01:00
wmayer
124bed6957
Points: refactor E57Reader
2022-12-22 19:14:38 +01:00
wmayer
f6785a54f9
Gui: [skip ci] move widget() handling to MDIViewPyWrapImp
2022-12-22 16:48:41 +01:00
wmayer
9ce8743ff2
Gui: include header for QPrinter
2022-12-22 16:28:01 +01:00
wmayer
a986dff71a
Gui: support of MDI views written in Python that implements onMsg() or onHasMsg(): fixes #8071
2022-12-22 16:20:37 +01:00
wmayer
5657abebfc
Gui: support of QPrintSupport module in PythonWrapper
2022-12-22 16:18:18 +01:00
wmayer
3b419af9a6
Gui: default implementation of MDIView::print(), MDIView::printPdf() and MDIView::printPreview()
2022-12-22 16:17:29 +01:00
Yorik van Havre
89147ef8de
Regenerated ts files using lupdate6.6
2022-12-22 15:39:42 +01:00
Yorik van Havre
59b6970728
Fixed ts files
2022-12-22 13:34:31 +01:00
Yorik van Havre
c29d2faf52
Tools: Fixed updatets script not picking py files
2022-12-22 13:34:31 +01:00
wmayer
0de2f04dd2
Gui: [skip ci] fix build failure due to missing include
2022-12-22 11:01:23 +01:00
Yorik van Havre
635a1a1f47
Tools: Fixed minor bug in updatets
2022-12-22 10:34:34 +01:00
Yorik van Havre
3808f0656f
Merge pull request #8073 from chennes/startMacroIcon
...
Start: Add icon for FCMacro files
2022-12-22 10:21:54 +01:00
Abdullah Tahiri
477bf46f25
Solver: Pass map by const reference to avoid performance penalty
...
================================================================
Credit goes for forum user acolomitchi:
https://forum.freecadweb.org/viewtopic.php?p=648807#p648807
2022-12-22 06:26:17 +01:00
Chris Hennes
dd8b4a68ef
Start: Add icon for FCMacro files
...
Closes #7709
2022-12-21 22:51:02 -06:00
Uwe
75bdacda60
[Tux] fix orbit style display
...
- calling GetInt several times makes problems - on some PCs there is no orbit selected, on some always the same
- furthermore the action order matters
- also remove an unnecessary function call
2022-12-22 03:07:03 +01:00
Abdullah Tahiri
fdb2e1ad01
Sketcher: Split - remove unnecessary return after exception
2022-12-21 16:01:23 +01:00