Yorik van Havre
9de4841d0f
Merge pull request #4291 from aapo-aapo/TD-US-MultiValueSchema-fix
...
[TD] Fix Dimension unit printing problem for US building units …
2021-01-21 13:32:48 +01:00
Yorik van Havre
6ded863f7d
Merge pull request #4292 from aapo-aapo/TD-MDIViewPage-papersizes
...
[TD] MDIViewPage: Add support for Qt5 automatic paper size handling …
2021-01-21 13:21:56 +01:00
wmayer
50a6c5ec9e
FEM: make FemMesh::getVolumesByFace() working for SMESH >= 7
2021-01-21 13:00:31 +01:00
Yorik van Havre
3a0a989d08
Merge pull request #4298 from Roy-043/ArchRoof_FixSelfRefRelProfile
...
ArchRoof.py: Fix for self referencing relative profile issue
2021-01-21 12:51:27 +01:00
wmayer
b431987ea3
smesh: port to version 9.6
2021-01-20 19:49:56 +01:00
Roy-043
b31667dbc7
Update ArchRoof.py
...
A relative profile can now be used if it references itself. This fixes a compatibility issue with the V0.18 version of ArchRoof, where the first profile initially always references itself.
2021-01-20 19:17:30 +01:00
bitacovir
67f6353046
Add SVG icons for two Part commands
2021-01-19 19:26:10 +01:00
donovaly
691eaa6e8f
[TD] make pointers to the UI std::unique_ptr
...
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.
This PR does this for all TD dialogs that don't already use a unique_ptr.
2021-01-19 19:24:27 +01:00
wmayer
73f10fab47
Gui: [skip ci] update standard cursors of 3d view when device pixel ratio changes (e.g. by moving between standard and high DPI monitor)
2021-01-19 19:19:30 +01:00
wmayer
49f4454ed3
Mesh: [skip ci] fix hot spot of mesh selection cursor
2021-01-19 19:17:54 +01:00
Aapo
ff18dec065
[TD] MDIViewPage: Support printing/exporting arbitrary custom paper sizes for Qt5.
2021-01-19 11:03:24 +02:00
Aapo
7339646638
[TD] MDIViewPage: Add support for Qt5 automatic paper size handling with many new paper sizes possible.
2021-01-19 00:49:57 +02:00
Aapo
691051e1df
[TD] Fix Dimension unit printing problem for US building units and other multivalueschema.
2021-01-18 21:52:35 +02:00
marioalexis
b263c2aa87
Part: Crash when calling SubShapes of empty shape from Python
2021-01-18 19:47:35 +01:00
marioalexis
e4535762db
Gui: Prevent crash when trying to access sub-objects of a deleted object from a SelectionObject
2021-01-18 19:46:03 +01:00
David Österberg
e6e77c7698
Update src/Mod/PartDesign/App/FeaturePipe.h
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2021-01-18 17:38:15 +01:00
David Osterberg
de5c8574d3
PartDesign: Fix small bugs in the Pipe feature
...
- Previously a subtractive pipe on a body with no solids would create a solid. Now Pipe will generate an error.
- Fix incorrect property header. Previously Pipe was identifying itself as Pad (copy paste error)
2021-01-18 17:38:15 +01:00
wmayer
8924bd4734
Gui: [skip ci] must set device pixel ratio to QBitmaps on Windows when using for cursor as otherwise garbage is shown
2021-01-18 15:20:57 +01:00
Yorik van Havre
bbfb76cd45
Merge pull request #4271 from donovaly/TD-dimension-dialog
...
[TD] add dialog to modify some dimension settings
2021-01-18 15:00:48 +01:00
Yorik van Havre
68c1e7bcc0
Merge pull request #4283 from paullee0/ArchComponent_02
...
[ArchComponent] Fix Link Of Window Hosts if empty got error as Wall Child
2021-01-18 15:00:10 +01:00
Abdullah Tahiri
a2af4ce8e2
Sketcher: increase relative size of the subindices of the constraints
...
=====================================================================
Increase the size of the subindices as per request:
https://forum.freecadweb.org/viewtopic.php?p=468144#p468144
2021-01-18 14:25:30 +01:00
Bernd Hahnebach
fdb89678ac
FEM: mesh tools, add a comment
2021-01-17 23:46:49 +01:00
Bernd Hahnebach
5fb28bdc96
FEM: utils, fix clipping FemMesh without Shape
2021-01-17 23:46:41 +01:00
paul lee
66807c7437
[ArchComponent] Fix Link Of Window Hosts if empty got error as Wall Child
2021-01-18 02:08:39 +08:00
Abdullah Tahiri
e191391384
Sketcher: Compensate for Coin not taking the dpi of the monitor into account in font pixel setting
...
==================================================================================================
Coin documentation indicates the size of a font is:
SoSFFloat SoFont::size Size of font. Defaults to 10.0.
For 2D rendered bitmap fonts (like for SoText2), this value is the height of a character in screen pixels. For 3D text, this value is the world-space coordinates height of a character in the current units setting (see documentation for SoUnits node).
However, with hdpi monitors, the coin font labels do not respect the size passed in pixels:
https://forum.freecadweb.org/viewtopic.php?f=3&t=54347&p=467610#p467610
https://forum.freecadweb.org/viewtopic.php?f=10&t=49972&start=40#p467471
Because I (abdullah) have 96 dpi logical, 82 dpi physical, and I see a 35px font setting for a "1" in a datum label as 34px,
and I see kilsore and Elyas screenshots showing 41px and 61px in higher resolution monitors for the same configuration, I think
that coin pixel size has to be corrected by the logical dpi of the monitor. The rationale is that: a) it obviously needs dpi
correction, b) with physical dpi, the ratio of representation between kilsore and me is too far away.
This means that the following correction does not have a documented basis, but appears necessary so that the Sketcher is usable in
HDPI monitors.
2021-01-16 08:00:30 +01:00
Abdullah Tahiri
952f75f979
Sketcher: fix horizontal distance constraint on external edge
...
=============================================================
Fixes:
https://forum.freecadweb.org/viewtopic.php?f=3&t=54348#p467107
2021-01-15 14:38:48 +01:00
donovaly
1a296a4006
[TD] add dialog to modify some dimension settings
...
also fix issue that tolerance could be set despite theoretically exact is true under some circumstances
also some wording improvements
also a minor fix to use 0.0 instead of DBL_MIN
2021-01-15 05:21:49 +01:00
Abdullah Tahiri
e9c22f93fd
Sketcher: Migrate old construction points as construction
...
=========================================================
Fix that construction points, which did not have the construction flag before, as construction flag was
reserved for internal alignment points, are migrated as construction points.
Fixes:
https://forum.freecadweb.org/viewtopic.php?f=8&t=53466&start=40#p467176
https://forum.freecadweb.org/viewtopic.php?p=467160#p467160
2021-01-14 19:22:15 +01:00
Abdullah Tahiri
d0859f46cb
Sketcher: Increase distance from constraints to geometry
...
========================================================
With the possibility to increase icon sizes via font configuration, the
default hardcoded 2.5 step for seeking the constraint position becomes too
small, causing constraints, specially when multi-icon, to superimpose geometry points,
removing the ability to pick them.
Changing the default gives some increased room for icon size.
2021-01-14 17:22:09 +01:00
Abdullah Tahiri
eb184db9b5
Sketcher: fix font size
2021-01-14 16:27:48 +01:00
Yorik van Havre
5e800499af
Merge pull request #4275 from realthunder/FixGetPartOf
...
App: fix Part::getPartOfObject()
2021-01-14 12:53:20 +01:00
Yorik van Havre
c8e7bccc11
Merge pull request #4276 from donovaly/TD-exact-no-tolerance
...
[TD] don't allow tolerances for exact values
2021-01-14 12:50:53 +01:00
sliptonic
6a471970ad
Merge pull request #4188 from Russ4262/fix_import_base_geometry
...
Path: Fix `Import` feature of Base Geometry
2021-01-13 15:00:17 -06:00
sliptonic
967ca5d8ee
Merge pull request #4184 from Schildkroet/leadinout_gui
...
[PATH] LeadInOut GUI
2021-01-13 14:28:28 -06:00
sliptonic
dc22199f57
Merge pull request #4227 from mlampert/feature/expose-enumerations-to-python
...
[App]: Expose PropertyEnumeration values list to python.
2021-01-13 12:27:53 -06:00
wmayer
e4573f1727
Win32: [skip ci] fix support of SpaceMouse Plus XT
2021-01-13 15:15:25 +01:00
wmayer
50f54a2f78
zipios++: [skip ci] apply bugfix on ZipLocalEntry::trailingDataDescriptor() from upstream
2021-01-13 13:22:07 +01:00
donovaly
81ff5a422f
[TD] don't allow tolerances for exact values
...
as discussed here: https://forum.freecadweb.org/viewtopic.php?f=35&t=54218
when a value is theoretically exact it must not have a tolerance
This PR
* fixes this
* also fixes the bug that OverTolerance must not be negative if the tolerances are equal
2021-01-13 04:05:31 +01:00
sliptonic
3489ebe8eb
Merge pull request #4187 from Russ4262/patch-2
...
Path: Add missing reference to thread cutter bit
2021-01-12 13:17:10 -06:00
Yorik van Havre
7b10771b7c
Draft: Don't snap to ImagePlanes
2021-01-12 15:31:55 +01:00
Yorik van Havre
f1d9c795ed
Arch: Fixed non-workng Panel tools
2021-01-12 15:10:16 +01:00
Zheng, Lei
6b527baf6a
App: fix Part::getPartOfObject()
...
Exclude link broght in by expressions
2021-01-12 09:45:59 +08:00
wmayer
8c8afe6bd1
Sketcher: [skip ci] fix segmentation fault in ViewProviderSketch::drawConstraintIcons()
...
For more details see: https://forum.freecadweb.org/viewtopic.php?f=19&t=54193
2021-01-11 15:31:41 +01:00
wmayer
9a4a025b0a
Win32: [skip ci] enable logging for SpaceMouse input events to figure out why Plus XT model stopped working
2021-01-11 13:51:19 +01:00
Yorik van Havre
acd0932bff
Merge pull request #4232 from hyarion/feature-spreadsheet-allow-removed-aliases
...
[Spreadsheet] Remove alias from dynamic properties on removeRows/Columns
2021-01-11 12:25:56 +01:00
Yorik van Havre
c50796e009
Merge pull request #4263 from donovaly/TD-tweaks
...
[TD] preferences entry and tolerance step size
2021-01-11 12:21:40 +01:00
Yorik van Havre
548bf4ff42
Merge pull request #4261 from paullee0/ArchComponent_01
...
[ArchComponent] Link of Window get opening now
2021-01-11 12:19:19 +01:00
Yorik van Havre
59692dc6d5
Merge pull request #4265 from chennes/shadowFixAndAddUnitTests
...
[Start] Shadow fix and add unit tests
2021-01-11 12:11:56 +01:00
Yorik van Havre
ed80aa314e
Merge pull request #4269 from eddyverl/Pyramids-and_Polyhedrons
...
Pyramids and polyhedrons
2021-01-11 12:09:53 +01:00
Yorik van Havre
734c12c872
Merge pull request #4272 from donovaly/TD-show-balloon
...
[TD] show balloon dialog on double-clicking
2021-01-11 11:55:34 +01:00