Commit Graph

11235 Commits

Author SHA1 Message Date
Markus Lampert
cfd2d4ca58 Cleaned up import statements. 2017-08-22 10:16:57 -03:00
Markus Lampert
442765cbb9 Corrected selection index. 2017-08-22 10:16:57 -03:00
Markus Lampert
51f0050b93 Updating cmake files. 2017-08-22 10:16:57 -03:00
Markus Lampert
f08454d01b Added alternate TaskPanel layouts, for fun. 2017-08-22 10:16:57 -03:00
Markus Lampert
9ef7a941fe Added Depths page. 2017-08-22 10:16:57 -03:00
Markus Lampert
0bb1c3b722 First cut on splitting GUI into generic part and op specifics. 2017-08-22 10:16:57 -03:00
Markus Lampert
8c81757796 Split Contour UI into it's own implementation file. 2017-08-22 10:16:57 -03:00
Markus Lampert
42f0d71d4a Split Contour op into generic PathArea part and contour specifics. 2017-08-22 10:16:57 -03:00
Markus Lampert
bb3e69fdd9 Fixed typo. 2017-08-22 10:16:57 -03:00
luzpaz
f5979d3a40 Draft: grammer fix 2017-08-22 10:09:46 +02:00
Markus Lampert
6d194a4bda Use argparse for post processor argument parsing and added preamble and postamble as arguments. 2017-08-21 14:22:08 -07:00
wmayer
012cffefe8 implement slicing for VectorPy class 2017-08-21 15:16:03 +02:00
wmayer
c4c1034e4e Py3: replace sq_slice and sq_ass_slice with mp_subscript and mp_ass_subscript because they are not used any more in Py3 2017-08-21 13:33:07 +02:00
Markus Lampert
0e81583e3f Set object's Restore flag while restoring the Path property. 2017-08-20 17:20:55 -07:00
wmayer
533a78026a add method toFormat to get number format from character 2017-08-20 18:50:13 +02:00
Oliver Oxtoby
858df142e2 Base: Make Quantity parser accept 1/[unit] as [unit]^-1 2017-08-20 16:53:57 +02:00
Oliver Oxtoby
1165d3c6e0 Base: Fixes in MKS units schema
- Change default unit for Length, if out of range of scaling, to m
- Add density scaling as in Internal schema (avoids density always displaying in kg/mm^3)
- Change velocity to m/s rather than mm/s
2017-08-20 16:50:26 +02:00
Oliver Oxtoby
38fa712032 Base: Add DynamicViscosity and SpecificEnergy units 2017-08-20 16:50:11 +02:00
Oliver Oxtoby
21fd2743a8 Base: Add properties to InputField for setting Quantity from Python
These additions are designed to allow easier interaction with the
InputField box from Python. Particularly, the ability to put the
format into scientific notation to prevent truncation of values.
There is also a need for a way to input a new value into the
text box such that it is formatted correctly.
- 'quantityString' property - allows to check, set, format and
display the underlying value. The only way to achieve this
currently from Python is to set the widget text, then hide and
re-show it to format the value.
- 'format' property: set to 'f' (fixed - default),
'e' (scientific) or 'g' (general - recommended)
to set the number format from Python or UI file
- 'precision' property: as above, number of decimals/significant
figures if it is desired to override the global default
2017-08-20 16:50:01 +02:00
Markus Lampert
71130d09ed Do not overwrite tooltips for InputFields. 2017-08-20 10:22:33 +02:00
wmayer
ca4488f438 unit test for duplicate links in a group 2017-08-19 19:36:40 +02:00
Zheng, Lei
fdce472b21 App::Document: fix breakDependency
Fixed breakDependency to handle repetitive entries inside
PropertyLinkList
2017-08-19 18:56:24 +02:00
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
wmayer
7a95962037 fixes of PR 765
remove QT_TRANSLATE_NOOP because of compiler warnings
mark _isReported as mutable to avoid removing const keyword from ReportException()
improve whitespaces
2017-08-17 22:50:01 +02:00
Abdullah Tahiri
04c09b3016 Generator script modified to first report and then ask for the python representation, so as keep track of the reported status 2017-08-17 22:47:14 +02:00
Abdullah Tahiri
572bd0ae01 Exception extension to only report once 2017-08-17 22:45:40 +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