Commit Graph

11851 Commits

Author SHA1 Message Date
Markus Lampert
c0c2fc5dfb Fixed issues with BaseGeometry UI processing and extended interface to support multiple shapes. 2017-08-22 10:16:57 -03:00
Markus Lampert
98c9c544b4 Moved pocket specific logic back into PathPocket. 2017-08-22 10:16:57 -03:00
Markus Lampert
bd83f3d776 Split pocket gui into its own file and based on PathAreaOpGui. 2017-08-22 10:16:57 -03:00
Markus Lampert
bf025123a0 Moved PathPocket to use PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert
6eee20dca8 Cleaned up import statements. 2017-08-22 10:16:57 -03:00
Markus Lampert
baa6215292 Corrected selection index. 2017-08-22 10:16:57 -03:00
Markus Lampert
56d72705b6 Updating cmake files. 2017-08-22 10:16:57 -03:00
Markus Lampert
03f79acfcd Added alternate TaskPanel layouts, for fun. 2017-08-22 10:16:57 -03:00
Markus Lampert
4863fb8884 Added Depths page. 2017-08-22 10:16:57 -03:00
Markus Lampert
45b890b308 First cut on splitting GUI into generic part and op specifics. 2017-08-22 10:16:57 -03:00
Markus Lampert
8d562e692d Split Contour UI into it's own implementation file. 2017-08-22 10:16:57 -03:00
Markus Lampert
3b2bc562cb Split Contour op into generic PathArea part and contour specifics. 2017-08-22 10:16:57 -03:00
Markus Lampert
5f40fb735c Fixed typo. 2017-08-22 10:16:57 -03:00
luzpaz
a4766ba5dd Draft: grammer fix 2017-08-22 10:09:46 +02:00
Markus Lampert
447eef0efa Use argparse for post processor argument parsing and added preamble and postamble as arguments. 2017-08-21 14:22:08 -07:00
wmayer
23863af612 implement slicing for VectorPy class 2017-08-21 15:16:03 +02:00
wmayer
f300614729 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
39d987bee3 Set object's Restore flag while restoring the Path property. 2017-08-20 17:20:55 -07:00
wmayer
dd66a9c9fc add method toFormat to get number format from character 2017-08-20 18:50:13 +02:00
Oliver Oxtoby
59cc63faea Base: Make Quantity parser accept 1/[unit] as [unit]^-1 2017-08-20 16:53:57 +02:00
Oliver Oxtoby
890a7bf814 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
f93bdfb927 Base: Add DynamicViscosity and SpecificEnergy units 2017-08-20 16:50:11 +02:00
Oliver Oxtoby
966fbf422b 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
604365a6b8 Do not overwrite tooltips for InputFields. 2017-08-20 10:22:33 +02:00
wmayer
2ae441ff9d unit test for duplicate links in a group 2017-08-19 19:36:40 +02:00
Zheng, Lei
8ffcb3215a App::Document: fix breakDependency
Fixed breakDependency to handle repetitive entries inside
PropertyLinkList
2017-08-19 18:56:24 +02:00
Abdullah Tahiri
3be1611684 Refactoring Sketcher execute() to use solve() 2017-08-19 17:14:28 +02:00
Abdullah Tahiri
395f9e1576 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
3a9e5499a6 Clarify solver situation at the end of of ViewProvider::OnDelete 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
32f868f1ca Fixing unreported bug behaving like #2710 without AutoUpdate under conflicting constraints + improving documentation 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
58210251ca Refactoring solve+recompute and reinstating initial solve+recompute behaviour 2017-08-19 17:14:27 +02:00
wmayer
5661d91371 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
e73a16e7b4 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
d8e2f8c221 Arch: Fixed orienation bug in structure 2017-08-19 11:56:08 -03:00
wmayer
31810ce05a compile Path module with boost < 1.55 2017-08-19 14:30:55 +02:00
probonopd
dabc542912 Make it pass desktop-file-validate
Reference: https://travis-ci.org/AppImage/AppImageHub/builds/266118980#L546-L550
2017-08-19 13:52:00 +02:00
Markus Lampert
8f080e54d2 Turned tracking off for profile. 2017-08-19 13:30:03 +02:00
Markus Lampert
0e794681ec Reduced ramp entry log level to info. 2017-08-19 13:30:03 +02:00
Markus Lampert
e90587c60f Removed automatic parameter emmission into output file from phillips post processor. 2017-08-19 13:30:03 +02:00
Markus Lampert
c13c4ca7fb Made comments real openbsp comments, instead of relying on the g-code compatibility. 2017-08-19 13:30:03 +02:00
Markus Lampert
39998b6645 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
75c2aadbb9 Fixed xy vs. z speed order for MS and JS command. 2017-08-19 13:30:03 +02:00
Markus Lampert
76bef6b534 Added support for comments to opensbp 2017-08-19 13:30:03 +02:00
Markus Lampert
297999c6ce Don't create step movements for vertically diagonal moves. 2017-08-19 13:30:03 +02:00
wmayer
491525f7ac fix crash when moving a free sketch to a body 2017-08-19 13:20:53 +02:00
Yorik van Havre
a3baadd80b Arch: Renamed Rebar -> Custom Rebar 2017-08-18 20:57:43 -03:00
Yorik van Havre
db56b3eca6 Arch: Don't remove splitter if removing splitter fails 2017-08-18 12:57:22 -03:00
Yorik van Havre
8894065422 AddonManager: don't close if a thread is still running 2017-08-18 11:52:31 -03:00
Abdullah Tahiri
46a8598e71 CommandSketcherBSpline Increaseknot extended to comply with the convention: if not rethrowing, must report 2017-08-17 22:54:19 +02:00
wmayer
ffac6242fd 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