Commit Graph

27262 Commits

Author SHA1 Message Date
sliptonic
a09a6fe879 black reformat 2022-01-21 10:54:34 -06:00
sliptonic
9ee01669ed fixture command fix 2022-01-21 10:54:34 -06:00
sliptonic
caaa9005b6 translation cleanup (probe)
PathLog missing import

command name
2022-01-21 10:54:31 -06:00
sliptonic
4c0e9da7e1 black reformat 2022-01-21 10:54:31 -06:00
sliptonic
1f71e170ce translation cleanup (PathInspect) 2022-01-21 10:54:31 -06:00
sliptonic
3332712bb3 black reformat 2022-01-21 10:54:31 -06:00
Wanderer Fan
cf5a14bc27 [TD]Adjust initial placement of dim text 2022-01-21 11:25:09 -05:00
Aapo
253817e3e9 [TD] Add new non-standard format specifier '%w' that truncates trailing zeros. 2022-01-21 11:24:44 -05:00
edi271
83839b6d13 [TD] add right/left baseline in Parallel Dimension tools 2022-01-21 11:22:40 -05:00
edi271
242dcd7e44 [TD] Variable line stretching distance 2022-01-21 11:22:40 -05:00
edi271
c46a4f776b [TD] Move Circulation method to DrawUtil 2022-01-21 11:22:40 -05:00
Wanderer Fan
5a40cd0ae5 [TD]Add MoveView and CopyView commands 2022-01-21 11:21:51 -05:00
Chris Hennes
d1a94de371 Addon manager: install dependencies (#5376)
Addon Manager: Dependency Installation

The Addon Manager can now attempt to use pip directly to install
required packages as specified in either metadata.txt or
requirements.txt files provided by AddOns. The packages are installed
into FreeCAD.getUserAppDataDir()/AdditionalPythonPackages directory.
Only simplified requirements.txt data is supported: any version
information is stripped out, and only packages are supported (that is,
no pip arguments, included files, etc.). Further, packages are checked
against a list of allowed packages prior to being suggested for
installation. Addon authors should submit a PR to the FreeCAD repo
adding their requirements to the allowed list, for packages that are not
already on the list (this is a malware-prevention mechanism).
2022-01-21 10:19:21 -06:00
sliptonic
39b9cd0f98 fix bug with extraoffset not stored 2022-01-21 09:21:11 -06:00
sliptonic
be772fc6c7 translation cleanup 2022-01-21 09:20:57 -06:00
wmayer
fb84f715fa Base: extend Python wrapper to allow to create a quantity with Units.Quantity(1, 'm') and add a unit test 2022-01-21 14:57:49 +01:00
0penBrain
2fef77e267 [Core] Fix Quantity construction with value as double + unit as string 2022-01-21 14:56:11 +01:00
sliptonic
bb4adc37d5 Tweaks 2022-01-20 18:24:56 -06:00
Uwe
39ed257eb4 [Part] add missing include
needed since PR #5382

- also transfer another include
2022-01-21 01:07:38 +01:00
sliptonic
5d1d1bc2a7 remove deprecated code 2022-01-20 17:41:15 -06:00
sliptonic
3dcb104461 add a material allowance property 2022-01-20 17:38:52 -06:00
sliptonic
21f31d6556 black reformat 2022-01-20 17:26:42 -06:00
sliptonic
1ff688a3ff Helix refactor for generator 2022-01-20 17:26:30 -06:00
sliptonic
3cf2a2cb69 translation fixes 2022-01-20 17:17:29 -06:00
sliptonic
4ea14101c0 helper to split arcs 2022-01-20 11:40:37 -06:00
sliptonic
69fc16d367 add helper to discretize arc gcode to G1 2022-01-20 11:40:37 -06:00
sliptonic
f9518ed42c fix typo 2022-01-20 11:40:37 -06:00
0penBrain
b3e52226fe [Sketcher] set debug as cross platform 2022-01-20 13:03:16 +01:00
marioalexis
7b23f6793c Part: Use Tools::getNormal to compute normal to surface 2022-01-20 13:01:27 +01:00
marioalexis
a888a0ac0a Part: Implement Tools::getNormal function 2022-01-20 13:01:27 +01:00
wmayer
e8162893ce Test: add unit test for face and surface normals 2022-01-20 11:15:37 +01:00
Uwe
fcaa698be8 [Part] Extrusion: just style fixes
to keep following PR diffs small

all changes were automatically done by MSVC
2022-01-20 01:08:35 +01:00
0penBrain
e4bc11d973 [GUI] Allow origin plane/axis selection with entire label bounding box 2022-01-20 00:32:24 +01:00
Ajinkya Dahale
ec00d35c5f [FEM] Add reference highlighting for FEM constraints
Following constraints affected:

`ViewProviderFemConstraint`
`ViewProviderFemConstraintDisplacement`
`ViewProviderFemConstraintFixed`
`ViewProviderFemConstraintFluidBoundary`
`ViewProviderFemConstraintForce`
`ViewProviderFemConstraintHeatflux`
`ViewProviderFemConstraintPressure`
`ViewProviderFemConstraintSpring`
`ViewProviderFemConstraintTemperature`
2022-01-19 22:22:42 +01:00
sliptonic
2b8790ac76 Merge pull request #4425 from sliptonic/feature/discreteArcs
[PATH] Add property to split arcs into G1/G0 segments
2022-01-19 14:04:14 -06:00
sliptonic
d5f17a7106 Add property to split arcs into G1/G0 segements 2022-01-19 14:00:55 -06:00
sliptonic
0dbcafa12b Merge pull request #5390 from sliptonic/feature/helix-generator
[Path] Feature/helix generator
2022-01-19 13:55:12 -06:00
sliptonic
97b9ee8c20 fix missing test import 2022-01-19 13:50:54 -06:00
sliptonic
edefffae4b basic retraction handling 2022-01-19 13:19:10 -06:00
sliptonic
a6a062a20c cleanup for readability. More forgiving of input.
Move to center if possible before retract
2022-01-19 13:19:10 -06:00
sliptonic
606e613e28 Added another test to drill generator and corresponding test case 2022-01-19 13:19:10 -06:00
sliptonic
944e74012b helix generator shouldn't assume flip.
shortend test case
2022-01-19 13:18:15 -06:00
Russell Johnson
e92a0e813f Path: Append unit tests for helix generator 2022-01-19 13:18:15 -06:00
sliptonic
c36b102e87 Helix Generator and Testing 2022-01-19 13:18:15 -06:00
sliptonic
ae0528e56e Merge pull request #5397 from luzpaz/typo/Path
Path: fix minor typo [skip ci]
2022-01-19 13:05:25 -06:00
luz paz
450dfc7970 Path: fix minor typo [skip ci] 2022-01-19 13:39:58 -05:00
sliptonic
e3bdd864be Merge pull request #5229 from sliptonic/feature/drill-refactor
[PATH]  Refactoring drilling op to use generators
2022-01-19 11:25:41 -06:00
wmayer
31e2e95203 Base: Exception handling:
* Harmonize FreeCAD with Python exception types
* Implement AbortException::getPyExceptionType() to avoid handling it in client code
* Remove catch block for plain C strings
2022-01-19 18:00:04 +01:00
wmayer
b9280ae760 App: do not hide actual exception type in DocumentObjectPy::addProperty/DocumentObjectPy::removeProperty
and throw TypeError in DynamicProperty::addDynamicProperty() if the based type id is invalid
2022-01-19 10:48:00 +01:00
wmayer
59b4f8d6d8 Test: add unit tests to test with wrong types 2022-01-19 10:19:00 +01:00