wmayer
684ac9db9a
make colors of measurements customizable
2019-04-05 13:33:29 +02:00
luz.paz
e7489c079c
More misc. typos
2019-03-31 11:42:37 +02:00
luz.paz
c985f9ee79
Misc typos and whitespace fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
joha2
881756079c
MeshToSolid: progress indicator and slightly modified sewing tolerance dialog
2019-03-31 11:30:03 +02:00
wmayer
741533941c
fix handling of OCC exceptions, fix -Wunused-but-set-variable, fix -Wunused-parameter
2019-03-24 02:17:54 +01:00
wmayer
3c7d5bc151
Improve project on surface dialog:
...
make function undo/redoable
work on document that was active when the dialog was opened
handle case when object or document is deleted while dialog is open
2019-03-22 17:18:12 +01:00
MA-DEVELOP\apeltauer
64957a55eb
transform sub shapes to global position
2019-03-22 17:18:12 +01:00
MA-DEVELOP\apeltauer
1ff37ee99c
improve creating the edges/wire in parametric space
2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
313a0be207
make a face copy
2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
79af25d0ab
make a explicit copy
2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
b186aea9b8
imrove the projection algorithm
2019-03-22 17:18:11 +01:00
apeltauer
54e7ab3320
Change the vector type to non const
...
I dont know why this fails on linux. On windows this works....
2019-03-22 17:18:10 +01:00
apeltauer
14b78d95e2
add gp_dir include
2019-03-22 17:18:10 +01:00
MA-DEVELOP\apeltauer
1c5ee376e6
add new feature "Projection on surface"
2019-03-22 17:18:09 +01:00
MA-DEVELOP\apeltauer
d3351496d9
first working ui
2019-03-22 17:18:09 +01:00
luz.paz
e04ba4e4a1
Add some more user-facing typo fixes
2019-03-22 10:44:14 -03:00
donovaly
c3b213e506
fix issue 0003885
...
Corrects wrong tooltips, fixes https://freecadweb.org/tracker/view.php?id=3885
2019-03-20 09:25:53 -03:00
Craig Marshall
23ecb8eace
Fix #2034 with more precision attempt 2
2019-03-14 23:16:14 +01:00
wmayer
87bf7094a5
PVS: V601 The bool type is implicitly cast to the double type
...
PVS: V668 There is no sense in testing pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error
2019-03-13 14:09:10 +01:00
wmayer
51811e4bf4
PVS: V688 A local variable possesses the same name as one of the class members, which can result in a confusion
2019-03-13 11:58:43 +01:00
wmayer
8d8255981f
PVS: V730 Not all members of a class are initialized inside the constructor
2019-03-12 18:33:25 +01:00
Craig Marshall
690774c0ef
Fixes Bug 2034. Made Part dimensional arrows proportional to line length and radius
2019-03-12 10:38:07 -03:00
wmayer
194f5d779e
fixes 0003894: Part Thickness dialog thickness field not Expressions enabled
2019-03-12 01:04:24 +01:00
wmayer
3e713d918c
fixes FreeCAD segfaults when pressing 'Clear All' in Measure tasks dialogue with no opened document
2019-03-10 12:27:20 +01:00
Yorik van Havre
dcae6d027e
Updated translations
2019-03-06 21:50:08 -03:00
Yorik van Havre
a70a82e19f
Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
...
This reverts commit 9032c4c587 .
2019-03-02 19:17:44 -03:00
Yorik van Havre
9032c4c587
Merged crowdin translations
2019-02-28 21:53:37 -03:00
wmayer
d3631968ab
add method to Python interface to get reflect lines of a shape
2019-02-25 10:50:38 +01:00
wmayer
e55b718cd6
fixes 0003694: Part->Boolean->Cut should show error message if a non-solid (Shell, etc.) is selected
2019-02-21 16:55:59 +01:00
wmayer
997d1d7d51
fixes 0003846: unexpected result in building RuledSurface
2019-02-19 15:53:39 +01:00
wmayer
90c80f83fd
PVS: V522 There might be dereferencing of a potential null pointer 'Py::Vector2d().getCxxObject()'
2019-02-18 00:00:10 +01:00
wmayer
2bb5797568
PVS: V595 The pointer was utilized before it was verified against nullptr
2019-02-17 20:55:52 +01:00
wmayer
1e343d339f
PVS: V779 Unreachable code detected. It is possible that an error is present.
2019-02-17 20:12:56 +01:00
wmayer
3845350c0a
PVS: V773 A memory leak is possible
2019-02-17 18:40:06 +01:00
wmayer
f581d5c8cb
PVS: V560 A part of conditional expression is always true
2019-02-17 13:56:48 +01:00
wmayer
36dc7b4242
issue 0003832: Editing thickness in Part or PartDesign resets join type to always being Arc
2019-02-16 16:30:46 +01:00
wmayer
506048a6f9
fixes 0003837: missing tooltip in STEP preferences dialog
2019-02-16 14:51:42 +01:00
wmayer
7d0e06c961
only allow 7-bit ASCII for IGES and STEP header information
2019-02-14 12:05:55 +01:00
triplus
43b081947f
Improved icon themes support
2019-02-13 10:42:46 -02:00
wmayer
0c3bfc4ff3
fix minor issues
2019-02-12 11:16:52 +01:00
Abdullah Tahiri
4e2ae6f408
Part: Rearrange inheritance not to use ArcPy
...
============================================
Inheritance:
Geometry
- GeomPoint
- GeomCurve (GeometryCurvePy)
- - GeomBoundedCurve (BoundedCurvePy)
- - - GeomBezierCurve (BezierCurvePy)
- - - GeomBSplineCurve (BSplineCurvePy)
- - - GeomTrimmedCurve (TrimmedCurvePy)
- - - - GeomArcOfConic (ArcOfConicPy)
- - - - - GeomArcOfCircle (ArcOfCirclePy)
- - - - - GeomArcOfEllipse (ArcOfEllipsePy)
- - - - - GeomArcOfHyperbola (ArcOfHyperbolaPy)
- - - - - GeomArcOfParabola (ArcOfParabolaPy)
- - - - GeomLineSegment (LineSegmentPy)
- - GeomConic
- - - GeomCircle
- - - GeomEllipse
- - - GeomHyperbola
- - - GeomParabola
- - GeomLine
- - GeomOffsetCurve
* Note: ArcPy is also a twinclass of c++ GeomTrimmedCurve, Python ArcPy derives from Python TrimmedCurvePy.
Same functionality as before:
>>> geometries = ActiveSketch.Geometry
>>> line = geometries[1]
>>> arc = geometries[2]
>>> line
<Line segment (-97.4389,42.4463,0) (-80.7887,44.5569,0) >
>>> arc
ArcOfCircle (Radius : 19.3111, Position : (-74.6914, -23.2165, 0), Direction : (0, 0, 1), Parameter : (1.82335, 2.71597))
>>> line.FirstParameter
0.0
>>> line.LastParameter
16.783437032695776
>>> line.setParameterRange(0,20)
>>> line.LastParameter
20.0
>>> arc.StartPoint
Vector (-79.51683708894876, -4.517938119394778, 0.0)
>>> arc.EndPoint
Vector (-92.27963885411512, -15.243140671641918, 0.0)
>>> arc.setParameterRange(1.5,3)
>>> arc
ArcOfCircle (Radius : 19.3111, Position : (-74.6914, -23.2165, 0), Direction : (0, 0, 1), Parameter : (1.5, 3))
>>> geometries[1] = line
>>> geometries[2] = arc
>>> ActiveSketch.Geometry = geometries
>>> ActiveSketch.solve()
0
>>>
2019-02-11 19:13:55 +01:00
Abdullah Tahiri
a3b93ee0eb
Part: expose geometry clone support to python
...
=============================================
>>> geometries = ActiveSketch.Geometry
>>> geo0 = geometries[0]
>>> geo0.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo1 = geo0.clone()
>>> geo1.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo1.Radius = 3
>>> geo0.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo0.Radius
30.157883192724587
>>> geo1.Tag
'a2b6883e-64d6-4348-b567-8b5e0a4896a0'
>>> geo1.Radius
3.0
2019-02-11 19:13:35 +01:00
Abdullah Tahiri
0ceae9ead4
Part: Enable trimmed curves to set their parameter range, from c++ and Python
...
=============================================================================
>>> geometries = ActiveSketch.Geometry
>>> geo2 = geometries[2]
>>> geo2
ArcOfCircle (Radius : 27.5267, Position : (-70.4702, -31.8933, 0), Direction : (0, 0, 1), Parameter : (1.34187, 2.35619))
>>> geo2.setParameterRange(1,3)
>>> geometries[2]=geo2
>>> ActiveSketch.Geometry=geometries
2019-02-11 19:13:16 +01:00
Abdullah Tahiri
6dd192eb1e
Part: Python Bounded Curve (bring in accordance with c++)
...
Inheritance correspondence:
Geometry
- GeomPoint
- GeomCurve (GeometryCurvePy)
- - GeomBoundedCurve (BoundedCurvePy)
- - - GeomBezierCurve (BezierCurvePy)
- - - GeomBSplineCurve (BSplineCurvePy)
- - - GeomTrimmedCurve (ArcPy)
- - - - GeomArcOfConic (ArcOfConicPy)
- - - - - GeomArcOfCircle (ArcOfCirclePy)
- - - - - GeomArcOfEllipse (ArcOfEllipsePy)
- - - - - GeomArcOfHyperbola (ArcOfHyperbolaPy)
- - - - - GeomArcOfParabola (ArcOfParabolaPy)
- - - - GeomLineSegment (LineSegmentPy)
- - GeomConic
- - - GeomCircle
- - - GeomEllipse
- - - GeomHyperbola
- - - GeomParabola
- - GeomLine
- - GeomOffsetCurve
2019-02-11 19:12:50 +01:00
luz.paz
604811596f
Crowdin: cont...
2019-02-11 16:22:13 +01:00
wmayer
110f6f74a4
Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg]
2019-02-11 16:12:50 +01:00
Mateusz Skowroński
317bcd59c9
Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
2019-02-11 15:39:14 +01:00
wmayer
9067d6a738
simplify creation of string
2019-02-11 13:03:51 +01:00
Yorik van Havre
7ee0e4d439
Updated master translation files
2019-02-08 19:16:21 -02:00
Yorik van Havre
f14633d182
Added untranslated 'master' .ts files where missing
2019-02-08 18:50:13 -02:00