Commit Graph

4427 Commits

Author SHA1 Message Date
wmayer
7a3a2a35ec Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-05 23:04:48 +01:00
Michael Georg Hansen
330700af04 Use the FreeCAD's working directory as initial directory for FileChooser. 2015-01-05 23:01:52 +01:00
Yorik van Havre
324777b425 Draft: Finished ellipse support - fixes #1788 2015-01-05 19:23:02 -02:00
wmayer
b8bc0b57c4 + fixes #0001896: Selection View widget don't display latin characters for label. 2015-01-05 21:46:51 +01:00
wmayer
d796750cb8 + fix a couple of issues in selection view 2015-01-05 19:48:43 +01:00
wmayer
293d938d0a + fixes #0001851: Qt Assistant loads Error 404 2015-01-05 18:02:15 +01:00
wmayer
5a63f630c9 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-05 16:29:06 +01:00
wmayer
b76601b068 + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
wood galaxy
d5f15574db Draft : fix some utf8 decode
Impacted Lines : 688,2061,2972
2015-01-05 13:13:45 -02:00
wood galaxy
2a4045d328 Arch : Fix some utf8 decode 2015-01-05 13:13:45 -02:00
wood galaxy
496ec111fd Arch : Internal object name are in English.
Arch objets Label could be translated.
2015-01-05 13:13:45 -02:00
wood galaxy
6e16197ffe Arch: Fixed building label 2015-01-05 13:13:45 -02:00
wmayer
6f48bd86c3 + Implement repr() method of Python binding for ParameterGrp 2015-01-05 13:45:46 +01:00
Sebastian Hoogen
b5e9f28cd4 revise drawing dxf ellipse export 2015-01-05 12:26:51 +01:00
Sebastian Hoogen
f149b95b11 determine the angles of an arc only by the axis and paramter range 2015-01-05 12:26:50 +01:00
wmayer
0af80e83f9 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-05 11:21:06 +01:00
Stefan Tröger
f82f9628b3 + Assign the correct context id to the new render action so that correct VBOs are used 2015-01-05 11:20:28 +01:00
Yorik van Havre
37ebcd4e28 Draft: fixed #1664 again 2015-01-04 20:38:47 -02:00
wmayer
9ff69dd6dc + fixes #0001705: Download manager does not follow redirect (HTTP status 302) 2015-01-04 23:15:58 +01:00
Yorik van Havre
b26b66df89 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-04 15:34:12 -02:00
Yorik van Havre
e9dd117707 Arch: Fixed window label 2015-01-04 15:33:54 -02:00
wmayer
733299f68e Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-04 18:15:59 +01:00
wmayer
d9657d1c01 + issue #0001705: Download manager does not follow redirect (HTTP status 302) 2015-01-04 18:15:20 +01:00
Yorik van Havre
b638369034 Arch: Fixed the task panel of Windows - fixes #1835 2015-01-04 15:00:31 -02:00
wmayer
6fb8d98d3c + add try/catch block to notify() method 2015-01-04 13:26:34 +01:00
wmayer
b8529456e0 + exception handling if moving sketch fails 2015-01-04 13:02:11 +01:00
wmayer
87c8a75ba8 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-03 22:39:45 +01:00
wmayer
553ddff9c1 + fix undo/redo issues with ortho views 2015-01-03 22:39:07 +01:00
Yorik van Havre
e9d53d8451 Arch: fixed behaviour of clones of windows - fixes #1841 2015-01-03 15:40:02 -02:00
Yorik van Havre
784af53588 Draft: Added a Fuse property to Array objects - fixes #1768 2015-01-03 14:47:29 -02:00
wmayer
56234513b3 + fixes #0001678: Visibility property is ignored on drawing sheets 2015-01-03 17:09:17 +01:00
wmayer
44a7b31dc3 + close drawing view when deleting page object 2015-01-03 14:23:17 +01:00
wmayer
7ff61a13f5 + fixes #0001698: All drawing pages are opened automatically when opening a project file 2015-01-03 13:45:12 +01:00
wmayer
c1de7e3f3d + return point/facet indices as unsigned long in Python 2015-01-03 11:24:57 +01:00
Yorik van Havre
1413bcd27d Draft: Made initial Face mode dependent on fill mode pref setting - fixes #1812 2015-01-02 19:53:39 -02:00
wmayer
6af88e0ce1 + fixes #0001225: Allow User to Rotate Arc Radius Constraint Text and Leader 2015-01-02 21:26:03 +01:00
Yorik van Havre
3e791e44d0 Draft: Fixed import of DXF splines - fixes #1743 2015-01-02 17:05:27 -02:00
Yorik van Havre
a18a131113 Arch: trivial bugfix 2015-01-02 16:49:31 -02:00
Yorik van Havre
824c011aef Raytracing: added transparency to lux feature - fixes #1771 2015-01-02 16:48:35 -02:00
wmayer
821440de03 + fixes #0000498: 'Measure Distance' tool sometimes renders distances inside of solid objects 2015-01-02 14:57:14 +01:00
wmayer
d57de8c6d3 + minor optimization 2015-01-02 12:26:29 +01:00
DeepSOIC
bfe7f30ee7 Sketcher: AngleViaPoint: revert from OCC angle precalculation
Returning back to the slow temporary-sketch-based
calculateAngleViaPoint, because OCC-based version was incompatible with
always-CCW sketcher geometry. More info in "Sketch: how to handle
reversed external arcs?" forum thread
http://forum.freecadweb.org/viewtopic.php?f=10&t=9130&sid=1b994fa1236db5ac2371eeb9a53de23f
2015-01-02 11:48:34 +01:00
DeepSOIC
58cae5bfb1 Sketcher: validateConstraint update
Refactor validateConstraint and add angle-via-point and snell's law
support there.
2015-01-02 11:48:33 +01:00
DeepSOIC
fd06982d53 Sketcher Ellipse: code cleanup
deleting redundant overloaded functions involving arc-of-ellipse, a few
todo comments, not implemented methods, System(constraintlist)
constructor.
2015-01-02 11:48:33 +01:00
DeepSOIC
45fe358be8 Sketcher: solver rebranding - renamed directory
Sketcher: solver rebranding - updated references

cleanup

Sketcher: GCS: remove unused NAN and INF
2015-01-02 11:48:32 +01:00
DeepSOIC
412d59f26b Sketcher Constraints: small code refactor
Unifying first checks in grad().
2015-01-02 11:48:32 +01:00
DeepSOIC
b814105d8c Sketcher Ellipse: porting to DeriVector2
Sketcher Ellipse: porting tangent-line to DeriVector2

Replacing a ton of unreadable, sage generated math code with
easy-to-manage C++ code.

Sketcher Ellipse: porting internal align-t to DeriVector2

Sketcher Ellipse: small math refactor; const members

Moving the repeating code computing deriv+value of major radius to a
method of GCS::Ellipse.
Marking several methods of DeriVector2 as const member functions.

Sketcher Ellipse: porting arc angle rules to DeriVector2

Just porting.
Probably a complete remake of the concept is worth... Angles can be
calculated explicitly, there's no need to load the solver. I see no
benefits whatsoever on using the solver to keep track of angle values.

Sketcher Ellipse: porting equality to DeriVector2
2015-01-02 11:48:31 +01:00
DeepSOIC
cf4e9df78d OpticConstraints: Adding Snell's law
Fix AngleViaPoint to support new derivative calculation technique.

OpticConstraints: Adding Snell's law. Fix AngleViaPoint to support new derivative calculation technique.

Snell's law constraint added to GCS, but not yet exposed and cannot be
tested.
Since the way CalculateNormal() returns derivatives had changed,
AngleViaPoint constraint needed modifications. Nothing serious.

OpticConstraints: SnellsLaw progress

Addable through python. Fix math. Some quick-and-dirty visual stuff to
get rid of hangs and to see the constraint in action.

OpticConstraints: SnellsLaw: flipping logic fix

OpticConstraints: SnellsLaw progress

Added toolbar button. Allowed editing a datum by doubleclick. New error
message approach during constraint creation.

OpticConstraints: SnellsLaw

OpticConstraints: SnellsLaw: list label improvement

OpticConstraints: SnellsLaw: fix after rebase

OpticConstraints: SnellsLaw: expose helper constraints

Snell's law internally is made of three constraints: point-on-object,
coincident and the Snell's sin/sin. They were all buried under one UI
constraint. Exposing them allows to construct reflection and
birefringence on the point (attempting to do so used to result in
redundant constraints and was often not functional at all).
This commit breaks compatibility with older files.

OpticConstraints: SnellsLaw: small refactor of math

Placing the duplicated code of error and gradient calculation into a
private method.

OpticConstraints: SnellsLaw: fix datum edit unit

OpticConstraints: SnellsLaw: fix datum edit bug

After previous fix, the dimensionless value was not accepted (the
constraint's value did not change, the changes were ignored).
2015-01-02 11:48:31 +01:00
DeepSOIC
88578489fb OpticConstraints: SnellsLaw: icon 2015-01-02 11:48:30 +01:00
DeepSOIC
9e3205eb54 GCS: fundamental changes to simplify derivatives
GCS::Vector2D was morphed into a DeriVector2, a derivative-aware vector.
A bunch of vector math methods were added that implicitly calculate
respective derivatives. Now, there is no need to calculate the partials
- most is done implicitly.
2015-01-02 11:48:30 +01:00