Commit Graph

8875 Commits

Author SHA1 Message Date
Abdullah Tahiri
cea242d7fe Refactoring Sketcher execute() to use solve() 2017-08-19 17:14:28 +02:00
Abdullah Tahiri
3d4920e4e7 Sketcher: Extension to report redundancy, Standardisation of return codes for solve, documentation, initialisation of solver information
========================================================================================================================================

Motivation:
- Improve notifications of redundancy in the solver (Bonus effect, now the sketcher refuses to add a redundant datum constraint)
- Initialize all solver information, so that it is accurate also in corner cases.
- Provide different return codes for the different solver status/conflicting/redundant/overconstraint (also looking forward for a future refactoring)

Impact:
- Python users that are currently using the return code of solve() for detecting overconstraint/conflicting/solver error, if any, might have to adapt their scripts.
Those who are just checking for zero/non-zero will have to do nothing.
2017-08-19 17:14:28 +02:00
Abdullah Tahiri
f974fec2bc Clarify solver situation at the end of of ViewProvider::OnDelete 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
48f76bd0af Fixing unreported bug behaving like #2710 without AutoUpdate under conflicting constraints + improving documentation 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
aa43197976 Refactoring solve+recompute and reinstating initial solve+recompute behaviour 2017-08-19 17:14:27 +02:00
wmayer
2004544e57 fixes #0002710: Freecad doesn't show sketch elements added when overconstrained
issue #0002836: Crash in sketcher
2017-08-19 17:14:27 +02:00
wmayer
3d86498a43 when drawing constraint icon handle the case when view provider of sketch is not in sync with geometry 2017-08-19 17:14:27 +02:00
Yorik van Havre
aa5db283cf Arch: Fixed orienation bug in structure 2017-08-19 11:56:08 -03:00
wmayer
1de1058811 compile Path module with boost < 1.55 2017-08-19 14:30:55 +02:00
Markus Lampert
f234968191 Turned tracking off for profile. 2017-08-19 13:30:03 +02:00
Markus Lampert
a8ea8256bb Reduced ramp entry log level to info. 2017-08-19 13:30:03 +02:00
Markus Lampert
43c7406878 Removed automatic parameter emmission into output file from phillips post processor. 2017-08-19 13:30:03 +02:00
Markus Lampert
51bc693f52 Made comments real openbsp comments, instead of relying on the g-code compatibility. 2017-08-19 13:30:03 +02:00
Markus Lampert
2f1d519a6f Changed speed setting to take opensbp multiple speed rates into account - and only issues a new setting if there are any changes. From the documentation it seems we ought to use VS instead of JS and MS if we don't want the ramp-down-ramp-up procedure involved with FS and MS. Given that Path only changes these settings on a tool change it's probably OK for now. 2017-08-19 13:30:03 +02:00
Markus Lampert
fd54f7209d Fixed xy vs. z speed order for MS and JS command. 2017-08-19 13:30:03 +02:00
Markus Lampert
3b097a360f Added support for comments to opensbp 2017-08-19 13:30:03 +02:00
Markus Lampert
42e9cbcc4a Don't create step movements for vertically diagonal moves. 2017-08-19 13:30:03 +02:00
wmayer
7fbc80c11e fix crash when moving a free sketch to a body 2017-08-19 13:20:53 +02:00
Yorik van Havre
0942c150e9 Arch: Renamed Rebar -> Custom Rebar 2017-08-18 20:57:43 -03:00
Yorik van Havre
9a90d10292 Arch: Don't remove splitter if removing splitter fails 2017-08-18 12:57:22 -03:00
Yorik van Havre
b61ba45a3e AddonManager: don't close if a thread is still running 2017-08-18 11:52:31 -03:00
Abdullah Tahiri
9251691a06 CommandSketcherBSpline Increaseknot extended to comply with the convention: if not rethrowing, must report 2017-08-17 22:54:19 +02:00
Abdullah Tahiri
4ad3f9993d SketchObject Modifyknotmultiplicity written to support translatable exception messages 2017-08-17 22:45:22 +02:00
Abdullah Tahiri
3c630dc319 Exceptions: translation support 2017-08-17 22:44:11 +02:00
Yorik van Havre
a5080329d8 Draft: draft2sketch now (partially) supports bezcurves and bsplines (no constraints yet) 2017-08-16 19:25:27 -03:00
Yorik van Havre
0adf582b1c Arch: Fixed cutplane bug - fixes #3082 2017-08-16 18:31:17 -03:00
Yorik van Havre
aa82216411 Draft: Fixed wrong arc projections in TechDraw 2017-08-16 17:52:56 -03:00
Yorik van Havre
4e4da960a0 Arch: Fixed wrong IFC extrusion value 2017-08-16 16:42:51 -03:00
wmayer
7aec98ffb6 add methods to get normal and curvature information from surfaces 2017-08-14 12:24:42 +02:00
Bernd Hahnebach
ddcd7a4c99 FEM: gmsh mesh tool, fix geo tolerance value 2017-08-14 09:50:43 +02:00
Markus Lampert
576bfd2fa8 Fixed tool tip length compensation and added safeguards against invalid cutting edge angles. 2017-08-13 16:21:22 -07:00
kogolbok
3f0e8613ac Path: Drilling. Fix drillbit tip compensation. 2017-08-13 19:49:26 +03:00
Yorik van Havre
d5b554d2b6 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2017-08-12 12:39:24 -03:00
Yorik van Havre
8237b1c01f Arch: Fixed small bug in arch panel 2017-08-12 12:39:08 -03:00
wmayer
371cb0fa2a fix compiler warning 2017-08-12 17:26:11 +02:00
Yorik van Havre
a54b80ba6e Draft: Dont hide Start and End properties in Draft wires 2017-08-12 12:18:22 -03:00
Yorik van Havre
42b39b59f9 AddonManager: If using git, clicking an installed WB now says if an update is available 2017-08-12 12:08:56 -03:00
Kurt Kremitzki
7c87549e4b Fix return type 2017-08-12 14:48:57 +02:00
Kurt Kremitzki
2e92f301d6 PDN: Fix Loft claimChildren to only grab sketches 2017-08-12 14:48:40 +02:00
Kurt Kremitzki
0d3f5b114c PDN: Fix Pipe claimChildren to only grab sketches 2017-08-12 14:48:14 +02:00
Kurt Kremitzki
b6abbeb9cc PDN: Automatically activate body if document has only 1 2017-08-12 14:45:28 +02:00
Kurt Kremitzki
d29bed15d1 PDN: Add catch statements for Revolution perpendicular axis 2017-08-12 14:43:45 +02:00
Kurt Kremitzki
fdf66b3e88 PDN: Check both parallel and antiparallel cases before trying Revolve 2017-08-12 14:09:39 +02:00
pekkaroi
2a6205206e Path: possibility to add custom drill point 2017-08-12 13:46:25 +02:00
pekkaroi
40b1093bdb PATH: Clarify comment in PathDrilling 2017-08-12 13:46:25 +02:00
pekkaroi
0dce2394b4 PATH: add arc edges to drillables in PathDrilling 2017-08-12 13:46:25 +02:00
Bernd Hahnebach
2826bf0734 Arch, IFC import, code formating 2017-08-12 13:22:45 +02:00
Bernd Hahnebach
c3cdf6b228 Arch: IFC import, add pref to view fit while importing 2017-08-12 13:22:45 +02:00
Bernd Hahnebach
35b574901c FEM: gmsh mesh object, make the geometry tolerance unit less 2017-08-12 13:22:45 +02:00
Bernd Hahnebach
6fa4fb4c0a FEM: gmsh group meshing, add edges and vertexes 2017-08-12 13:22:45 +02:00