bgbsww
6ec676799d
Small cleanups
2024-01-22 16:14:20 -05:00
bgbsww
5586c52069
Merge branch 'main' into bgbsww-toponaming-makeElementFace
2024-01-22 12:50:13 -05:00
WandererFan
cc45b58dad
[Import]fix linkage warning on linux/gcc ( #12071 )
...
* [Import]fix linkage warning on linux/gcc
https://stackoverflow.com/questions/41167119/how-to-fix-a-wsubobject-linkage-warning
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-22 14:37:33 -03:00
Roy-043
a14e0cbbbb
Draft: ShapeString double escape backslash in string
...
Fixes 12058.
2024-01-22 14:35:34 -03:00
Roy-043
341f71ec5b
Draft: Inform user that objects without a Shape cannot be cloned
...
Fixes #11923 .
2024-01-22 12:31:02 -05:00
Roy-043
5b98a762d1
Draft: Improve layer functions
...
The current make_layer function has a `None` default for the shape color and the line color. With that value the current preference is used. This, and how the function is called, results in some confusing behaviors:
* Newly created layers will only use 2 values from the preferences when they might use 5. The latter makes more sense for the end-user IMO.
* Layers created during DXF import (for example) will have a different shape color depending on the current preferences.
* The make_layer function may reapply colors that have already been set by the view provider.
To solve this all view property related function parameter have been changed to a not None value. If a None value is supplied the view property as set by the view provider is not changed. The Layer Manager has been updated accordingly.
I realize that calling a function with 6 None values is not very convenient, but think it is the solution that is least likely to break other exiting code.
Additionally:
* Removed the makeLayer function. Layers were introduced in V0.19 when the naming scheme was changed to "make_*". Maybe it was created by mistake, or before the actual renaming operation started, but it is safe to remove it now.
* Removed overly verbose messages.
* gui_layers.py had a missing import (result of a previous V0.22 PR): `from draftutils import utils`.
2024-01-22 11:29:13 -06:00
Chris Hennes
37ec34df9d
Merge pull request #12014 from bgbsww/bgbsww-patch-29
...
Toponaming ShapeMapper
2024-01-22 11:23:56 -06:00
Chris Hennes
5f743aa36b
Merge pull request #12012 from Ondsel-Development/radius_render_fix
...
[Sketcher] Improve rendering of arc-angle, line-angle, arc-distances and fix radius
2024-01-22 11:21:53 -06:00
Paddle
b140feabaf
Sketcher: Edges pattern and width by type.
2024-01-22 11:12:42 -06:00
Adrián Insaurralde Avalos
90d3ede49a
Merge pull request #11993 from Syres916/Tux_Nav_Style_Icon_Fix
...
[Gui] [Tux] Status Bar - Fix Nav Style Icons and theme recognition
2024-01-22 14:12:07 -03:00
Chris Hennes
6dfbdfc09e
Merge pull request #11537 from Ondsel-Development/copy_paste_2023
...
[Sketcher] Add copy/cut/paste sketcher commands
2024-01-22 10:45:22 -06:00
bgbsww
31a6eb5a4a
lint / review cleanups
2024-01-22 11:01:19 -05:00
marioalexis
c6911695e7
Material: Initialize types
2024-01-22 08:53:38 -06:00
Ulices
fa0702956c
PartDesign: Update Length/Offset when Occurrences changes ( #12069 )
...
* Add 'HACK:'/`NOTE:` tags to get special highlightning
* [PD] Bugfix: Update Length/Offset when Occurrences changes
Fix #12068
2024-01-21 18:52:34 -06:00
marioalexis
629f585a15
Fem: Set PotentialEnabled to False in capacitance_two_balls example - fixes #9707
2024-01-21 16:23:29 -07:00
bgbsww
1490de0087
apply Comp to Comparator name change
2024-01-21 16:06:32 -05:00
bgbsww
541ec563e3
Merge branch 'main' into bgbsww-toponaming-makeElementFace
2024-01-21 15:52:31 -05:00
bgbsww
d4c5906c5c
Add tests, reformat to modern C++, clean
2024-01-21 15:34:46 -05:00
Chris Hennes
35e09e233c
Materials: Correct PreCompiled.h includes in Gui
2024-01-21 09:52:55 -07:00
Chris Hennes
b164457a30
Materials: Correct PreCompiled.h includes in App
2024-01-21 09:52:55 -07:00
wandererfan
562fb5114a
[TD]handle View rotation in ExtensionPack circle centerlines
2024-01-21 09:28:19 -05:00
marioalexis
674cc4b0ec
Fem: Call base class handleChangedProperyType function
2024-01-20 20:20:56 -07:00
Ajinkya Dahale
6dda56117a
[Sketcher] Visualize B-spline in edit mode
...
Instead of the control polygon, or "join the dots" for interpolated splines.
2024-01-20 18:45:18 -07:00
wandererfan
e5ae85e8fd
[TD]protect against stretch factor == 0
2024-01-20 18:58:55 -05:00
wandererfan
c15e1d3295
[TD]handle equal section line end points
2024-01-20 18:58:55 -05:00
marioalexis
9da842d884
Fem: Improve self weight constraint - fixes #11652
2024-01-20 08:57:46 -07:00
Paddle
17893d39ca
Sketcher: PythonConverter: Replace useLastGeoIdVar bool by enum class
2024-01-20 06:49:32 +01:00
sliptonic
30b907ec5d
Merge pull request #12041 from Ondsel-Development/fixorderbywidget
...
fixes #12029
2024-01-19 12:12:46 -06:00
sliptonic
ccaa636c72
fixes #12029
2024-01-19 11:31:53 -06:00
Roy-043
cb2fdeeeea
Draft: DraftGui.py make type of self.facecolor consistent
...
Since V0.19 self.facecolor had two types: integer (initial value) or QColor. With this PR it is again always a QColor.
2024-01-19 18:31:11 +01:00
Paddle
eb91978459
Sketcher : Distance constraint : introduce arc helpers for conic distances.
2024-01-19 11:50:38 +01:00
Paddle
8ed22b0fd8
Sketcher: copy paste : move from XML to python.
2024-01-19 11:13:53 +01:00
Paddle
a8b6e1e9c3
Sketcher: python converter : add possibility to add lastGeoId to the constraint process.
2024-01-19 11:13:53 +01:00
Paddle
fd2e35b7eb
Sketcher: Add copy/cut/paste sketcher commands
2024-01-19 11:13:53 +01:00
Paddle
df867a25b2
Sketcher : arc angle render improvement.
2024-01-19 11:13:09 +01:00
Paddle
dca00ec80e
Sketcher : improve single line angle rendering.
2024-01-19 11:13:09 +01:00
Paddle
64c867eb0e
Sketcher Fix radius arc helpers.
2024-01-19 11:13:09 +01:00
wandererfan
0eee1c476a
[TD]fix Complex Section scale with DPGI base
2024-01-18 13:27:29 -05:00
wandererfan
cf3189fef7
[TD]fix Section scale for DPGI base views
2024-01-18 13:27:29 -05:00
bgbsww
21b7da61b3
Lint and other cleanups
2024-01-18 11:46:15 -05:00
Roy-043
893f0fed5b
Multiply textheight by DefaultAnnoScaleMultiplier
2024-01-18 15:43:15 +01:00
Roy-043
544bd1e7ea
Arch: implement new get_param functions
...
Additionally 2 Arch_Window bugs were fixed:
* If the W1 value was changed the box tracker was not repositioned relative to the cursor.
* The WindowColor was not applied because of a typo in the code. De current default color is quite dark BTW.
Note that all dimensional values that were not really defaults, but just the last entered values, have been removed from preferences-archdefaults.ui. As a result the layout looks a bit strange. That will be improved in a next PR.
2024-01-18 15:43:15 +01:00
sliptonic
893238c2ab
Merge pull request #11939 from davidgilkaufman/restMachiningFromGcode
...
[Path] Rest machining from gcode
2024-01-18 07:49:54 -06:00
Chris Hennes
8bc54e242c
Merge pull request #11980 from 3x380V/fix_material_qt6
...
Material: fix Qt6 build failure
2024-01-17 21:36:14 -06:00
Zheng, Lei
f4cc2df2bd
Toponaming move makEFace as makeElementFace and dependencies
2024-01-17 20:38:50 -05:00
Paddle
4acff3f66f
Sketcher: polyline: fix ESC exit tool
2024-01-17 13:53:04 -03:00
Paddle
919d8c9392
Sketcher: bspline: fix ESC exit tool
2024-01-17 13:53:04 -03:00
wandererfan
80c2942c22
[Import]fix rounding errors in dxf export
2024-01-17 11:33:50 -05:00
Paddle
6db820a580
Sketcher: Define double click on edges : Select the whole wire.
2024-01-17 11:05:28 -03:00
Paddle
b0176c2d92
Sketcher: add isPeriodicBsplineCurve helper function
2024-01-17 11:05:28 -03:00