Commit Graph

6709 Commits

Author SHA1 Message Date
Yorik van Havre
ce00414434 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-12-02 09:58:57 -02:00
Yorik van Havre
6734525385 Draft: fixed bug when loading VisGroup from existing doc 2016-12-02 09:58:40 -02:00
wmayer
4b9d3915f4 in old mode Edge.Curve returns a line segment instead of an infinite line 2016-12-02 12:51:00 +01:00
Yorik van Havre
c1c46e1931 Draft: Minor bugfixes in wire flattening code 2016-12-01 14:42:51 -02:00
wwmayer
bc7dd1e18f Merge pull request #357 from mlampert/PathGeom
Path: Path->Wire transformation and other goemetry helpers.
2016-12-01 12:48:03 +01:00
wmayer
c74ba63283 implement Line class 2016-12-01 00:04:13 +01:00
wmayer
c3fe2de155 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
wmayer
19237df7bf add class LineSegment 2016-11-30 16:26:21 +01:00
Yorik van Havre
8cf706e1f1 Arch: fixed makePipe to return the pipe 2016-11-29 11:41:10 -02:00
Markus Lampert
a446906ca6 Some cleanup. 2016-11-29 01:31:12 -08:00
Markus Lampert
c81c81dd12 Added wire(s)ForPath functions with test. 2016-11-28 15:52:17 -08:00
Markus Lampert
a86f05071c Split out PathGeom and created test cases for it. 2016-11-28 15:11:24 -08:00
Markus Lampert
abe7c4404d Enhance makeHelix to also support helixes that spiral downwards. 2016-11-28 15:10:25 -08:00
Stefan Tröger
ee4abeea5e Extensions: "hasExtension" for python types -fix 0002785 2016-11-28 22:15:09 +01:00
Stefan Tröger
2ca8d51498 PartDesign: Fix crash on pattern abort 2016-11-28 22:13:41 +01:00
Stefan Tröger
1d1cc9cfba PartDesign: Fix origin selection for pattern 2016-11-28 22:13:41 +01:00
wwmayer
a16d862949 Merge pull request #353 from berndhahnebach/bhbdev058
FEM: GMSH tool
2016-11-28 18:04:20 +01:00
Bernd Hahnebach
aeb7c6a504 FEM: gmsh mesh tool, add different mesh element size for Shape elements 2016-11-28 01:18:08 +01:00
Bernd Hahnebach
96a3c3c506 FEM: gmsh mesh tool, fix endless loop in task panel 2016-11-28 01:17:58 +01:00
Bernd Hahnebach
aac03cc03b FEM: gmsh mesh tool, add some more properties to adjust gmsh mesh 2016-11-28 01:17:54 +01:00
Bernd Hahnebach
b2d13a0e99 FEM: gmsh mesh tool, use gmsh names for properties 2016-11-28 01:17:50 +01:00
Bernd Hahnebach
b88c7fe5a1 FEM: icons, rename some icons to better fit in FEM name scheme 2016-11-28 01:17:45 +01:00
Bernd Hahnebach
a116451c37 FEM: solver Z88, fix in object attributes 2016-11-28 01:17:36 +01:00
wmayer
3aedca451d port hyperbola branch to new tools classes 2016-11-27 22:43:58 +01:00
Abdullah Tahiri
2d063d7811 Sketcher: Fixing compilation warnings 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
3fff7c4f9a Sketcher: Hyperbola construction endpoints autoconstraints
==========================================================

Support for coincident autoconstraint for endpoints
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
bc835f37f8 Sketcher: Minor fix - hyperbolic arc icon reference 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
8107674550 Part::Geometry: ArcOfHyperbola CCW emulation support/fix
===================================================

Correction of the emulation so that arcs of hyperbola are always CCW. This fixes mismatching of end points and edge in Sketcher.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
90ac981339 Sketcher: Hyperbola added supported type
========================================

Allows to restore a saved hyperbola in a sketch.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
507f5605d9 Sketch: Hyperbola tangency to line
==================================

As a way to lock a line to hyperbola tangency to a branch has not been identified, this tangency is implemented
by adding a point at the tangency point in order to avoid the jumping.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
1fe7154c27 Sketcher: Hyperbola perpendicularity constraint
=================================================

Line perpendicular to hyperbola using via point constraint.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
47a854e2ea Sketcher: Hyperbola Tangency to Curves
======================================

Implementation of the Tangency via point for all curves to Hyperbola (no line to Hyperbola yet).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
cc17e9cd2f Sketcher: Hyperbola element widget support
==========================================

Support added to the Element widgets for hyperbola
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
599f8554a6 Sketcher Hyperbola Icons
========================

Slightly modified icons based on Jim's original proposal (with the center instead of the focus point):

http://forum.freecadweb.org/viewtopic.php?f=10&t=8038&hilit=hyperbola#p66129
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
1062ba4b09 Sketcher Hyperbola: Creation method autoconstraints
Correction of center and curve on major axis position.

Still to fix the endpoints (determination of CCW or CW drawn curve)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
0b370a52ce Sketcher hyperbola creation fix
removing line to origin during creation
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
0655976f5c Sketcher Hyperbola: Creation Method improvements
- Avoid unnecessary recomputes
- Create as construction
- Continuous mode creation
2016-11-27 18:45:33 +01:00
DeepSOIC
e61174ad00 Sketcher: Hyperbola: fix minor diameter ends swapping
Quick and dirty, but seems to work.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
27ea3fd0e2 fix partials 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
76ec75a980 fix in minor axis Expose Internal Geometry for hyperbola 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
cbfc4f02a0 Hyperbola InternalAlignment
Focus is working.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
298153aecd Solver InternalAlignment: Change to diameters instead of radii to be able to draw asymptotes
GCS and Sketch.cpp support
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
fabe61c23b Hyperbola: InternalAlignment solver constraints 2016-11-27 18:45:33 +01:00
DeepSOIC
44e814e973 Sketcher: solver: transplant all arc kinds to use CurveValue constraint
arc and arc of ellipse
2016-11-27 18:45:33 +01:00
DeepSOIC
bfb1f731fe Sketcher: solver: implement Value for all other curves
for line, circle, and ellipse.
Compiles, but untested.
2016-11-27 18:45:33 +01:00
DeepSOIC
bc1f9396f4 Sketcher: Hyperbola: fix - remove periodicity correction
Not needed, since hyperbola is not periodic, unlike circle and ellipse
2016-11-27 18:45:33 +01:00
DeepSOIC
132fd77d0f Sketcher: Hyperbola: fix major radius formula 2016-11-27 18:45:33 +01:00
DeepSOIC
6e6ded3b25 Sketcher: Hyperbola: fix crash when drawing a new one 2016-11-27 18:45:33 +01:00
DeepSOIC
0f27f81062 Sketcher: solver: Value constraint
(morphed from hyperbola arc range constraint)
(compiles, but untested)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
86e12e1e3b Conflict resolution 2016-11-27 18:45:33 +01:00