Commit Graph

9047 Commits

Author SHA1 Message Date
Abdullah Tahiri
cdbaa3a693 Hyperbola UI equality constraint representation fixed 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
6b59712292 Hyperbola solver equality constraint
The Ellipse radii solver constraint was reused generalised to MajorAxisConic class.

UI representation of the Equality sign not yet handled (appears on the origin).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
463c7f86ea Hyperbola: Support for moving the center of the hyperbola 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
31d803d46b Hyperbola PointOnObject UI Constraint
You can add a point to be on the hyperbola and it will lock to it.

The endpoints of the hyperbola go crazy because of the

HyperbolicArcRangeToEndPoints code that is the one of Ellipse <= Awaiting DeepSOIC help ;)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
cb5981fceb In Part:Geometry:
- Fixing Hyperbola classes to get CCW emulation (like Ellipse classes).

In Sketcher:
- The Sketcher representation deals with the right branch of the Hyperbola only.
- Solver model is: Center, Focus1 (focus of the right branch), minor radius (b).
- HyperbolicArcRangeToEndPoints code is the one of Ellipse <= Awaiting DeepSOIC help ;)
- ConstraintPointOnHyperbola solver constraint is now implemented and should be working.
- No InternalAligment constraints implemented yet.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
e928e418ec Sketcher: New Feature: Hyperbola/ArcOfHyperbola
===============================================

- ArcOfHyperbola creation method
- Solver representation (undefined moving)
- SketchObjectPyImp (here we still miss the Part->Partdesign conversion)
- Sketch validation for hyperbola
- Hyperbola creation method: shows the "proof of concept", but it is very buggy!!

Notes:
- Missing icons, probably missing geo normal curve implementation - rebasing -
- Fixes to adapt Hyperbola to Derivector implementation and make it compile
2016-11-27 18:45:33 +01:00
wmayer
e33e133a32 fix bottleneck in creation of sketcher grid 2016-11-27 14:36:08 +01:00
wmayer
a832640743 port TopoShape::exportStep to occ7.1 2016-11-27 11:01:15 +01:00
wmayer
86b99e55dc add method to extract pcurve from an edge 2016-11-26 19:28:06 +01:00
wwmayer
4ec78d36a8 Merge pull request #351 from triplus/AppearanceDock
Make appearance widget dockable
2016-11-26 16:02:04 +01:00
wwmayer
1bbbd7dc0d Merge pull request #350 from berndhahnebach/bhbdev057
New tool to onvert surface of FEMMeshes to a Mesh
2016-11-26 15:48:52 +01:00
wmayer
0e320ae8cf implement Line2d 2016-11-26 15:30:00 +01:00
wmayer
fca22e332b fix -Wunused-parameter 2016-11-26 14:11:30 +01:00
wmayer
f5a3c8ab48 implement Line2dSegment, fix doc strings 2016-11-26 14:08:14 +01:00
triplus
4b492d7dcb Make appearance widget dockable 2016-11-26 12:41:19 +01:00
wmayer
e841178b83 implement OffsetCurve2d 2016-11-25 23:45:14 +01:00
Bernd Hahnebach
84207aeb8e FEM: FEMMesh2Mesh, add a icon 2016-11-25 22:59:39 +01:00
Bernd Hahnebach
474c8319a9 FEM: FEMMesh2Mesh, only make the tool active on selection of a femmesh or a femmesh and a result 2016-11-25 22:59:35 +01:00
Bernd Hahnebach
468bf6dfb8 FEM: FEMMesh2Mesh, move menu to a submenu Utilities in FEM menu 2016-11-25 22:59:31 +01:00
Bernd Hahnebach
025ab5bdcc FEM: FEMMesh2Mesh, add a command to FreeCADGui 2016-11-25 22:59:27 +01:00
Bernd Hahnebach
d7d958e8b6 FEM: FEMMesh2Mesh, some small changes to work together with FreeCADGui tool 2016-11-25 22:59:21 +01:00
Bernd Hahnebach
34e9777a75 FEM: FEMMesh2Mesh, add the module to convert the surface of a FEMMesh into a Mesh 2016-11-25 22:59:18 +01:00
Bernd Hahnebach
d86a01b97b FEM: gmsh mesh tool, better handling of min and max element size 2016-11-25 22:59:14 +01:00
Bernd Hahnebach
b11df6ef02 FEM: icons, sort in qrc file by abc ... 2016-11-25 22:59:10 +01:00
Bernd Hahnebach
6c36f13f04 FEM: remove the not needed GuiUp check on GUI files 2016-11-25 22:59:03 +01:00
wmayer
58d448da34 implement ArcOfParabola2d 2016-11-25 18:11:37 +01:00
wmayer
20b801efc3 implement Hyperbola2d and ArcOfHyperbola2d 2016-11-25 17:50:52 +01:00
wmayer
5eb3e0386b implement Ellipse2d and ArcOfEllipse2d 2016-11-25 17:20:58 +01:00
wmayer
14228c5f2c implement ArcOfConic2d and ArcOfCircle2d 2016-11-25 10:07:55 +01:00
wmayer
dc23e23acd implement Circle2d 2016-11-24 23:45:05 +01:00
Yorik van Havre
6261cc114d Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-11-24 18:36:55 -02:00
Yorik van Havre
6f2029f5b9 Arch: Fixed wrong placement of sketch-based windows 2016-11-24 18:36:24 -02:00
wmayer
1b406d3a97 implement Conic2d and Parabola2d 2016-11-24 21:16:32 +01:00
Yorik van Havre
a67bdf3f9c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
WandererFan
504633b7fe Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
WandererFan
082045456f Initial DrawingViewDetail 2016-11-24 14:44:37 -02:00
wmayer
9735744b46 declare some PyCXX functions for export, add PyCXX wrapper for Vector2dPy class 2016-11-24 15:25:48 +01:00
wmayer
70240b52f4 fix build failure on Linux 2016-11-23 19:27:41 +01:00
wmayer
6cbb86cf08 create gp_Trsf2d from gp_Trsf 2016-11-23 18:53:48 +01:00
wmayer
4be07a25e5 implement methods of Geometry2dPy 2016-11-23 15:05:55 +01:00
wmayer
6b5dd05d51 use cmake's OBJECTS library option 2016-11-23 15:04:58 +01:00
wwmayer
d2fdce9fac Merge pull request #348 from jobermayr/master
ArchSite can now also use Python3 Pysolar.
2016-11-23 13:53:38 +01:00
wwmayer
d4be123c05 Merge pull request #347 from berndhahnebach/bhbdev056
FemGmshTool
2016-11-23 13:52:53 +01:00
Johannes Obermayr
9c1aea7753 ArchSite can now also use Python3 Pysolar. 2016-11-22 21:50:04 +01:00
Bernd Hahnebach
f326dc59a9 FEM: GMSH mesh tool, change icons for netgen and gmsh mesh to distingish them in toolbar 2016-11-22 19:50:51 +01:00
Bernd Hahnebach
4fdc94368c FEM: GMSH mesh tool, add a pref page for gmsh binary path 2016-11-22 19:50:51 +01:00
Bernd Hahnebach
c5216645ce FEM: GMSH mesh tool, the GMSH tool class and a task panel 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
55fcf495c8 FEM: GMSH mesh tool, add command and add it to tool bar and make a menu entry 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8839a19b61 FEM: GMSH mesh tool, new python mesh object 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
735d70bca0 FEM: extend the C++ fem mesh object to be able make python mesh object childs 2016-11-22 19:50:50 +01:00