Commit Graph

11865 Commits

Author SHA1 Message Date
Markus Lampert
19f4e8a562 Fixed Apply button misbehaviour for drilling. 2017-08-22 10:16:58 -03:00
Markus Lampert
1c4dd19590 Removed Names and added support for ArchPanels again. 2017-08-22 10:16:58 -03:00
Markus Lampert
4140bdfd06 Removed Positions and replaced Enabled with Disabled. 2017-08-22 10:16:58 -03:00
Markus Lampert
68af1f6df3 Eliminated Diameter as a property. 2017-08-22 10:16:57 -03:00
Markus Lampert
4e8d0cbea3 Converted MillFace to be based on PathAreaop. 2017-08-22 10:16:57 -03:00
Markus Lampert
6b8960d125 Renamed PathContour to PathProfileContour for consistency. 2017-08-22 10:16:57 -03:00
Markus Lampert
73b15db3e7 Consolidated UI for all profile ops. 2017-08-22 10:16:57 -03:00
Markus Lampert
99042ff626 Explicit log messages if job cannot be found or it doesn't have a base. 2017-08-22 10:16:57 -03:00
Markus Lampert
100fbe7ace Converted ProfileEdges to based off PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert
6bd53273b0 Renamed ui for ProfileFaces to match implementation names. 2017-08-22 10:16:57 -03:00
Markus Lampert
3c3c30259e Extracted common profile functionality into base class. 2017-08-22 10:16:57 -03:00
Markus Lampert
1e76c99250 Renamed PathProfile to PathProfileFaces for consistency; moved common depth calculation for ops with BaseGeometry into PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert
4c5ba38404 Refactored Commmand and ViewProvider to be data driven and moved imlementation into PathAreaOpGui. 2017-08-22 10:16:57 -03:00
Markus Lampert
50711c1ba4 Converted PathProfile to be based on PathAreaOp. 2017-08-22 10:16:57 -03:00
Markus Lampert
d07319e4d2 Fixed issues with BaseGeometry UI processing and extended interface to support multiple shapes. 2017-08-22 10:16:57 -03:00
Markus Lampert
83e5c8098b Moved pocket specific logic back into PathPocket. 2017-08-22 10:16:57 -03:00
Markus Lampert
a742c1120e Split pocket gui into its own file and based on PathAreaOpGui. 2017-08-22 10:16:57 -03:00
Markus Lampert
2884d3ac60 Moved PathPocket to use PathAreaOp. 2017-08-22 10:16:57 -03:00
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
probonopd
a4b7ade4be 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