Commit Graph

6711 Commits

Author SHA1 Message Date
DeepSOIC
c1da7d6125 Sketcher: solver: Value constraint
(morphed from hyperbola arc range constraint)
(compiles, but untested)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
3c6ac70577 Conflict resolution 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
4f6374eef6 Hyperbola UI equality constraint representation fixed 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
5556228d07 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
8de37eb193 Hyperbola: Support for moving the center of the hyperbola 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
0cf0f5cc6e 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
27a76afa94 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
590e3fbec6 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
fde9bded28 fix bottleneck in creation of sketcher grid 2016-11-27 14:36:08 +01:00
wmayer
4130f845e2 port TopoShape::exportStep to occ7.1 2016-11-27 11:01:15 +01:00
wmayer
d3e0f03650 add method to extract pcurve from an edge 2016-11-26 19:28:06 +01:00
wwmayer
9bc714fd50 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
1348fe6bc1 implement Line2d 2016-11-26 15:30:00 +01:00
wmayer
3105c4b1da fix -Wunused-parameter 2016-11-26 14:11:30 +01:00
wmayer
cb1b906bd4 implement Line2dSegment, fix doc strings 2016-11-26 14:08:14 +01:00
wmayer
de8bfaafc3 implement OffsetCurve2d 2016-11-25 23:45:14 +01:00
Bernd Hahnebach
cba80757ea FEM: FEMMesh2Mesh, add a icon 2016-11-25 22:59:39 +01:00
Bernd Hahnebach
3e4cf998d7 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
04287d7aa3 FEM: FEMMesh2Mesh, move menu to a submenu Utilities in FEM menu 2016-11-25 22:59:31 +01:00
Bernd Hahnebach
f86da74e1d FEM: FEMMesh2Mesh, add a command to FreeCADGui 2016-11-25 22:59:27 +01:00
Bernd Hahnebach
52b5a776c7 FEM: FEMMesh2Mesh, some small changes to work together with FreeCADGui tool 2016-11-25 22:59:21 +01:00
Bernd Hahnebach
10273687bf 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
9e142fd156 FEM: gmsh mesh tool, better handling of min and max element size 2016-11-25 22:59:14 +01:00
Bernd Hahnebach
e57febdf7b FEM: icons, sort in qrc file by abc ... 2016-11-25 22:59:10 +01:00
Bernd Hahnebach
10431331f6 FEM: remove the not needed GuiUp check on GUI files 2016-11-25 22:59:03 +01:00
wmayer
c817c3334e implement ArcOfParabola2d 2016-11-25 18:11:37 +01:00
wmayer
ffa942486a implement Hyperbola2d and ArcOfHyperbola2d 2016-11-25 17:50:52 +01:00
wmayer
3067bd6a85 implement Ellipse2d and ArcOfEllipse2d 2016-11-25 17:20:58 +01:00
wmayer
3374737c5a implement ArcOfConic2d and ArcOfCircle2d 2016-11-25 10:07:55 +01:00
wmayer
a0fc75d619 implement Circle2d 2016-11-24 23:45:05 +01:00
Yorik van Havre
d50e3b2a53 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-11-24 18:36:55 -02:00
Yorik van Havre
6b8b3ec5cd Arch: Fixed wrong placement of sketch-based windows 2016-11-24 18:36:24 -02:00
wmayer
94248e8da1 implement Conic2d and Parabola2d 2016-11-24 21:16:32 +01:00
Yorik van Havre
21dcfd442c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
WandererFan
bcb1534391 Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
WandererFan
906bffba8f Initial DrawingViewDetail 2016-11-24 14:44:37 -02:00
wmayer
cdf45248dc fix build failure on Linux 2016-11-23 19:27:41 +01:00
wmayer
97346672ea create gp_Trsf2d from gp_Trsf 2016-11-23 18:53:48 +01:00
wmayer
8bd22e4d99 implement methods of Geometry2dPy 2016-11-23 15:05:55 +01:00
wmayer
9c720dde7b use cmake's OBJECTS library option 2016-11-23 15:04:58 +01:00
wwmayer
b8f8d61020 Merge pull request #348 from jobermayr/master
ArchSite can now also use Python3 Pysolar.
2016-11-23 13:53:38 +01:00
Johannes Obermayr
b1ae6f1eec ArchSite can now also use Python3 Pysolar. 2016-11-22 21:50:04 +01:00
Bernd Hahnebach
4bbd896d4b 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
b2827a21e8 FEM: GMSH mesh tool, add a pref page for gmsh binary path 2016-11-22 19:50:51 +01:00
Bernd Hahnebach
ae90dd0522 FEM: GMSH mesh tool, the GMSH tool class and a task panel 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
1327589045 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
c3df2e298d FEM: GMSH mesh tool, new python mesh object 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
9f8a7b8642 FEM: extend the C++ fem mesh object to be able make python mesh object childs 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
1c0920d624 FEM: rename CommandMeshFromShape into _CommandMeshNetgenFromShape 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
30e54ec0e2 FEM: FemMeshTools, some changes need for the GMSH mesh tool 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
af9d1371b9 FEM: FemMeshTools, fix input file writing if groups have non expected group names 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8d786be579 FEM: code formating, make all python module start the same way
- module info
- doxygen documentation
- imports
- code
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8fb66dcf98 FEM: code formating, cmake and init gui 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
494b508f56 FEM: ccx tools, check if the active analysis has result object before try to open results 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
10b9f686ca FEM: read frd result file, check if nodes could have been read. 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
9262303c0f FEM: catch an error if Result dialog will be opened without an result in the analysis 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
7a97948069 FEM: small change in Fem Z88 tools 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
a6f6b8de06 FEM: solver task panel, delete not used def 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
0870fcefcf FEM: do not longer open mesh at analyse creation
better make mesh last as before the constraints because of group meshing
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
bd927f71cf FEM: temporary remove not supported tools from tool bar 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
1b43a73da8 FEM: solver obj, delete not needed includes 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
2e984b5237 FEM: solver obj, remove not needed comment since all attributes are implemented in the python solver objects 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
e4b0205d85 FEM: typo in solver view providers 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
facf23a22f FEM: code formating, add brackets to prints 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8713b7b29e FEM: code formating, get flake8 quired 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8ca705c2d9 FEM: activate binary search get_femelement_by_femnodes_bin for volume meshes 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
2a5d445b26 FEM: FemMeshTools, add binary search method for get_femelements_by_femnodes, but do not make it activ 2016-11-22 19:50:50 +01:00
Bernd Hahnebach
9b023b2aef FEM: fix unit test after activating new pressure face search 2016-11-22 19:50:49 +01:00
Bernd Hahnebach
8b24da477a FEM: ccx input writer, make use of the new faster binary search method for getting the pressure faces 2016-11-22 19:50:49 +01:00
Bernd Hahnebach
894d79a57c FEM: FemMeshTools, add new methods to make a faster search for pressure faces:
- get_femnodes_ele_table()
- get_copy_of_empty_femelement_table()
- get_bit_pattern_dict()
- get_ccxelement_faces_from_binary_search()
- thanks to Ulrich Brammer for implementing the methods
2016-11-22 19:50:49 +01:00
wmayer
03ab1a4a4d fix build problems on Linux/OSX 2016-11-22 16:16:48 +01:00
wmayer
9bdad96a69 add Python wrappers for Geom2d classes 2016-11-22 14:09:19 +01:00
Markus Lampert
3ce5ea6b35 Tests and fixes for triangular shaped tags. 2016-11-21 21:53:35 -08:00
Markus Lampert
1fd4c49fca Test cases for basic path generation for tags. 2016-11-21 19:51:54 -08:00
wmayer
689d2e42a9 wrapper for Geom2d package 2016-11-21 18:17:10 +01:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
ml
f0f39f9c53 Added arguments to dialog and script call. 2016-11-20 20:07:44 -08:00
Markus Lampert
8ce9c0c305 Straight line intersection with square Tag. 2016-11-20 14:53:03 -08:00
wmayer
e008ca6f87 fix coverity issues 2016-11-20 17:47:53 +01:00
wmayer
5d27a49d87 fix coverity issues 2016-11-20 17:16:33 +01:00
wmayer
463106cb59 fix coverity issues 2016-11-20 17:11:32 +01:00
Johannes Obermayr
af62262021 Link just against required VTK modules on Linux.
Note:
If VTK is installed below /opt or anywhere else just add a path to GLOB_RECURSE.
2016-11-20 10:18:32 +01:00
WandererFan
cf22852ee3 Fix handling of BezierCurves
Replace custom bbox code with OCC/Base code
Refactor duplicate code Geometry/DrawProjectSplit
2016-11-20 10:06:00 +01:00
wmayer
a16b143664 fixes #0002782: Build error message 2016-11-19 14:27:55 +01:00
wmayer
5e3381be25 fixes #0002781: Build error message 2016-11-19 13:47:37 +01:00
wmayer
a4d33ec8ab fixes #0002779: The message of the project build error 2016-11-19 13:32:07 +01:00
Markus Lampert
74ac78276b Tests for all different shapes of Tags. 2016-11-18 17:52:29 -08:00
Markus Lampert
ca1fb1238e First Tag unit tests, including a fix for an encountered issue. 2016-11-18 17:07:20 -08:00
Markus Lampert
f4480765de Fixed linuxcnc unit test 2016-11-18 16:14:32 -08:00
ml
2aa2560529 Basic unit test for linuxcnc output. 2016-11-18 15:43:20 -08:00
ml
dce16252dc First pointless path unit test 2016-11-18 15:41:04 -08:00
Markus Lampert
a9f246b466 Moving tag processing into Tag itself. 2016-11-18 15:35:30 -08:00
Yorik van Havre
950207134f Draft: Fixed text orientation bug in SVG projections 2016-11-18 19:11:31 -02:00
Yorik van Havre
ebe6e9adfa Arch: Sites can now display a sun path diagram 2016-11-18 16:10:12 -02:00
wmayer
c99943f822 support creating Face from support face or surface and outer wire 2016-11-18 15:25:15 +01:00
WandererFan
804dc1cd85 Fix error handling 2016-11-18 10:14:59 +01:00
WandererFan
6f424c1467 Fix missing line in TaskViewSection 2016-11-18 10:14:42 +01:00
WandererFan
1f0899ef3d Improve handling of duplicate edges in projection 2016-11-18 10:14:29 +01:00
WandererFan
3797f7ebc3 Fix segfault on bad input 2016-11-18 10:14:10 +01:00
WandererFan
657264ad49 Add bavariaSHAPE's tolerance symbols 2016-11-18 10:13:55 +01:00