Yorik van Havre
4d48b2aa38
Arch: Movig utils functions from importIFC to importIFCHelper
2020-06-02 13:39:22 +02:00
vocx-fc
20ec1fe9bd
Draft: add use_instead function to warn users about old functions
...
This can be used to deprecate older definitions
and suggest users to try a different function. This will be used
in the make functions in `draftmake`.
2020-06-02 12:29:50 +02:00
vocx-fc
d80dc23f5b
Draft: add find_object function to find objects by label in a document
...
Also add `find_doc` to be able to test the existence of an
active document before searching for the object.
These can be used in the make functions of most modifier commands.
2020-06-02 12:29:50 +02:00
vocx-fc
84529ec5bc
Draft: clean up the utils module a bit, PEP8, style
2020-06-02 12:29:50 +02:00
Harald Geyer
a6b2e11ef8
Arch: IFC import, implementation of IfcIndexedPolyCurve
...
ArchiCAD uses this entity for footprint annotations even if there are no
arc segments. Thus I need this, but couldn't test the arc part of the
patch.
2020-06-02 12:26:25 +02:00
wmayer
755c537588
Gui: [skip ci] in QuantitySpinBox first set pendingEmit to false before actually emitting the signals
2020-06-02 08:22:24 +02:00
WandererFan
79c646aa89
Merge pull request #3365 from donovaly/TD-DetailWork
...
[TD] some Detail View fixes
2020-06-01 20:43:01 -04:00
Abdullah Tahiri
ef51a169e3
Sketcher: Make setposition text unpickable
...
==========================================
fixes #4272
The setposition text string was being picked interfering with preselection of autoconstraints.
Merit for the solution goes to Werner:
https://forum.freecadweb.org/viewtopic.php?f=10&t=47092&p=404519#p404519
2020-06-01 19:56:01 +02:00
wmayer
1688654940
Gui: [skip ci] add spin box classes to widget factory
2020-06-01 19:04:06 +02:00
wmayer
e5f6b5dd81
Gui: [skip ci] make QuantitySpinBox to handle disabled keyboard tracking
2020-06-01 18:47:54 +02:00
donovaly
275d1df6fe
Merge branch 'TD-DetailWork' of github.com:donovaly/FreeCAD into TD-DetailWork
2020-06-01 14:07:26 +02:00
donovaly
d6f19b5909
Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork
2020-06-01 14:06:56 +02:00
WandererFan
b32f433c5f
Merge branch 'master' into TD-DetailWork
2020-05-31 22:34:58 -04:00
Abdullah Tahiri
45e906ed66
Sketcher: Fix undo on moving geometry
...
=====================================
fixes #3842
2020-05-31 20:53:07 +02:00
sliptonic
29b77b2857
Merge pull request #3534 from Russ4262/MillFace_Improvement
...
Path: MillFace - Add `Face Region` method to boundary shape options
2020-05-31 12:48:28 -05:00
sliptonic
3436a8be93
Merge pull request #3512 from Russ4262/Waterline_coolant
...
Path: Waterline - Add missing `CoolantMode` input to GUI
2020-05-31 12:47:30 -05:00
sliptonic
c1e21090c9
Merge pull request #3506 from gwicke/path_newlines
...
Path: Opt into automatic git newline normalization
2020-05-31 12:44:47 -05:00
sliptonic
8741856882
Merge pull request #3518 from gwicke/flake8_config
...
Path: Add .flake8 config for path module
2020-05-31 12:28:41 -05:00
Gabriel Wicke
86cd9f2124
Path: Opt into automatic git newline normalization
...
Avoid spurious diffs from inadvertent newline changes by letting git
normalize newlines in the path module as well, just as a list of other
modules including Draft already do.
This effectively standardizes all checked-in code to Unix newlines, but
checkouts might use CRLF if that is the user preference.
2020-05-31 08:33:29 -07:00
wandererfan
b937529c7c
[TD]export Svg hatch as bitmap (PDF)
2020-05-31 11:26:56 -04:00
wandererfan
7cb6ebef07
[Part]use BSpline for makeWireString instead of Bezier curves.
...
- the bezier curves from the font definitions cause checkGeometry
errors when extruded. bsplines do not have this problem.
2020-05-31 11:26:22 -04:00
Gabriel Wicke
164b278e50
Merge branch 'master' into flake8_config
2020-05-31 08:24:32 -07:00
sliptonic
2a2182e4d1
Merge pull request #3496 from gwicke/transition_fixes
...
Path: Fix step transition optimizations
2020-05-31 09:47:52 -05:00
Russell Johnson
dd1e731abc
Path: Add new Face Region boundary option.
...
New option allows access to previously inaccessible faces.
Corrected property label names in UI panel, and added `Face Region` option to boundary shape list.
2020-05-30 20:56:00 -05:00
Russell Johnson
0ed96d6a0f
Path: Extend ClearEdges to Perimeter boundary usage.
2020-05-30 20:56:00 -05:00
Russell Johnson
2f1b44997d
Path: Code cleanup
...
Fix `If ... is True:` clauses.
Remove unnecessary doc variables.
2020-05-30 20:56:00 -05:00
Russell Johnson
9ee49e389f
Path: Add missing Setup() properties; Visual organization
2020-05-30 20:56:00 -05:00
donovaly
d1b3de217b
[TD] TaskDetail: omit problematic slot issue
2020-05-31 02:14:20 +02:00
donovaly
c3c2bfef67
Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork
2020-05-31 00:24:29 +02:00
vocx-fc
b5af1f5114
FEM: fix failing unit test in Elmer meshing (SecondOrderLinear)
2020-05-30 23:30:10 +02:00
Gabriel Wicke
3dc063fe54
Merge branch 'master' into flake8_config
2020-05-30 09:35:43 -07:00
wmayer
0d4f196c60
Gui: let each coordinate use its own unit to avoid that the displayed values can become very huge
2020-05-30 17:16:32 +02:00
wmayer
c374a6faa9
Gui: implement a static function schemaTranslatePoint to avoid code duplication
2020-05-30 16:46:35 +02:00
0penBrain
01e21f2f11
[FC] Status bar preselection coordinates are aware of user unit setting ; fixes #4148
2020-05-30 12:29:58 +02:00
wmayer
fed4265cfe
Import: handle OCC versions 7.4.1 and earlier
2020-05-30 11:56:14 +02:00
Gabriel Wicke
22acaf4fdf
[import] Hotfix for build failure from bad debug code
...
Quick fix for a build failure with latest opencascade. Directly use
std::cout instead of custom streams.
2020-05-30 11:49:48 +02:00
wmayer
d3b8906dd0
Gui: [skip ci] move handling of parameter ShowAxisCross from Document to View3DInventor
2020-05-30 11:32:34 +02:00
Adrian
1f63355c06
Improve Axis Cross behavior and expose parameter to 3D View preferences
2020-05-30 11:17:38 +02:00
wandererfan
8944a9cfbe
[TD]Export Svg hatch as bitmap
2020-05-29 20:53:24 -04:00
Abdullah Tahiri
3e1746d373
Sketcher: Fix for failure of constraint substitution
...
====================================================
fixes #4105
When a constraint substitution is present, a solve must precede any call to the redundant removal to update the solver information.
2020-05-29 14:19:42 +02:00
carlopav
011a0f0764
Draft: further cleanup of Draft Edit.
2020-05-29 13:35:51 +02:00
vocx-fc
8c3705599d
Draft: small fix for older PathArray objects
...
Older PathLinkArray objects had a `useLink` attribute
which was migrated to `use_link`. A recent commit, 0db11da9cf,
made some improvements to the PathArray
object, but broke the migration of the property.
This fixes the migration, so that now all objects should
open correctly.
2020-05-29 13:34:34 +02:00
Harald Geyer
6008cbcd13
Arch: importIFCHelper: Fix crash on unsupported entity
...
When getCurveSet() is called on an unsupported entity, it runs into a
NameError exception because elts is not defined. Instead print a message
and return gracefully.
This is in line with overall behaviour of the importer: Ignore
unsupported elements instead of thowing errors.
2020-05-29 13:32:42 +02:00
vocx-fc
d8f770989c
Draft: move functions to draftgeoutils.linear_algebra
2020-05-29 13:31:28 +02:00
vocx-fc
2f41eaaf27
Draft: move functions to draftgeoutils.offsets
2020-05-29 13:31:28 +02:00
vocx-fc
851f6c02df
Draft: move functions to draftgeoutils.fillets
2020-05-29 13:31:28 +02:00
vocx-fc
09daf7cfa1
Draft: move functions to draftgeoutils.arcs
2020-05-29 13:31:28 +02:00
vocx-fc
5637c0fc12
Draft: move functions to draftgeoutils.wires
2020-05-29 13:31:28 +02:00
Yorik van Havre
b74a2ba7ef
Arch: Handle rectangle-and circle-based profiles in IFC import/export
2020-05-29 12:12:48 +02:00
Yorik van Havre
2503cf0bda
Start: Fixed loading of non-FCStd files from Start page
2020-05-29 12:04:58 +02:00