Commit Graph

3320 Commits

Author SHA1 Message Date
Sebastian Hoogen
4ac4347923 bugfix in dxf output of arc
regression created by 099ece5c00
2015-01-10 12:09:00 -02:00
Sebastian Hoogen
d7e4c54a1e issue #1450 2015-01-10 12:09:00 -02:00
wmayer
14bf322631 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-10 12:17:57 +01:00
Yorik van Havre
a42a3e54ad Draft: Fixed typo - fixes #1907 2015-01-09 20:46:07 -02:00
Yorik van Havre
5d96aba02e Draft: small bug in Draft GUI - fixes #1908 2015-01-09 20:43:33 -02:00
wmayer
c98655a21e + fixes #0001553: printing drawing full size (1:1) prints wrong size 2015-01-09 21:15:27 +01:00
wmayer
a701c69e4e + fixes #0000932: Unexpected scaling of a printed Drawing From FreeCAD but not always from exported SVG 2015-01-09 14:00:18 +01:00
wmayer
cb897785a0 + issue #0000932: Unexpected scaling of a printed Drawing From FreeCAD but not always from exported SVG 2015-01-07 19:35:52 +01:00
wmayer
7301f4ba60 + fixes #0001652: Proper support of units for all geometric primitives 2015-01-07 15:31:07 +01:00
wmayer
36e0ec9618 + fixes #0001669: Part operation with parts in groups splits again when moved back into group 2015-01-07 11:02:52 +01:00
wmayer
55f04de4fb Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-01-06 18:39:00 +01:00
wmayer
3cd024fa71 + fixes #0001721: PartDesign Pad 'Up to face' face selection in the 3D view not working 2015-01-06 18:38:33 +01:00
wood galaxy
8035cd394c Arch : Added mid-point to Frame Basepoint - fixes #1892 2015-01-06 13:44:44 -02:00
wmayer
b5ba874c96 + fixes #0001870: Revolution and Groove in Part-Design do not hide the sketch and parent-feature for some geometries 2015-01-06 15:00:24 +01:00
Julien Nabet
ac57af3b8a Fix some cppcheck reports:
- (error) va_list '<var>' was opened but not closed by va_end()
- (style) Same expression on both sides of '||'
- (style) Same expression on both sides of '!='
2015-01-06 11:37:44 +01:00
Yorik van Havre
324777b425 Draft: Finished ellipse support - fixes #1788 2015-01-05 19:23:02 -02: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
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
Yorik van Havre
37ebcd4e28 Draft: fixed #1664 again 2015-01-04 20:38:47 -02:00
Yorik van Havre
e9dd117707 Arch: Fixed window label 2015-01-04 15:33:54 -02:00
Yorik van Havre
b638369034 Arch: Fixed the task panel of Windows - fixes #1835 2015-01-04 15:00:31 -02: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
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