Changesets: FreeCAD
master 0bd38013 2015-05-26 16:47:33 Abdullah Tahiri Committer: wmayer Details Diff |
Sketcher: UI Improvement Smart button for constraints and geometry toogle/creation ================================================================================== Geometry button: - if no object selected, the legacy toggle icon has a new functionality, switch to/from creating in construction mode - if object selected, it has the legacy functionality - the button can be clicked during "continuos creation mode" to switch from creating to/from creating in construction mode Constraint button: - The button is not selectable if nothing is selected (it would be impossible to determine the effect) - When constraints are selected, the button toggles the constraints to/from Driving. - When geometry is selected, the button switches from/to reference mode, the change is apparent from the color of the constraint icons. Continuous creation mode: - Default changed so that it is active unless you change it in settings Updated terminology |
Affected Issues 0001518 |
|
mod - src/Mod/Sketcher/Gui/CMakeLists.txt | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandAlterGeometry.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
add - src/Mod/Sketcher/Gui/GeometryCreationMode.h | Diff File | ||
mod - src/Mod/Sketcher/Gui/Workbench.cpp | Diff File | ||
master cd4952de 2015-05-26 15:20:18 Przemo Firszt Details Diff |
FEM: fix white spaces in ccxInpWriter.py Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/ccxInpWriter.py | Diff File | ||
master a1c3b942 2015-05-26 14:37:22 Abdullah Tahiri Committer: wmayer Details Diff |
Sketcher: Driving/reference creation improvements and some other fixes ====================================================================== - Changing from Driving to reference does not include unnecessary solvings. - Added some checks to avoid making Driving constraints when calling directly from python and involving only external geometry (would give redundant constraints). - New python command toggleDriving to just change the status from reference to Driving - New UI toolbar Command to toggle constraints - Fix to allow switching from/to construction mode during continuous mode creation. - Enable/Disable for constraints in constraints widget has changed to operate on multiselection and now effects "toggle" instead of enable/disable. - Disable the option to directly create a SnellsLaw non-driving constraint (this constraint does not support direct creation, it can be toggled to non-driving after creation though). |
Affected Issues 0001651, 0001890 |
|
mod - src/Mod/Sketcher/App/SketchObject.cpp | Diff File | ||
mod - src/Mod/Sketcher/App/SketchObject.h | Diff File | ||
mod - src/Mod/Sketcher/App/SketchObjectPy.xml | Diff File | ||
mod - src/Mod/Sketcher/App/SketchObjectPyImp.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/TaskSketcherConstrains.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/TaskSketcherConstrains.ui | Diff File | ||
mod - src/Mod/Sketcher/Gui/Workbench.cpp | Diff File | ||
master a2bdc366 2015-05-26 13:11:48 Details Diff |
+ make sure that Sketch.clear() doesn't allow any arguments | ||
mod - src/Mod/Sketcher/App/SketchPyImp.cpp | Diff File | ||
master b882109c 2015-05-26 12:51:39 Details Diff |
+ rename method for points of selection | ||
mod - src/Gui/SelectionObject.h | Diff File | ||
mod - src/Gui/SelectionObjectPy.xml | Diff File | ||
mod - src/Gui/SelectionObjectPyImp.cpp | Diff File | ||
master 4dfc96e1 2015-05-25 19:38:15 Abdullah Tahiri Committer: wmayer Details Diff |
Bug fix: Point was created as construction on construction mode ============================================================== Points should not be construction points. |
||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
master 7843225f 2015-05-24 20:41:03 Committer: yorik Details Diff |
Arch : Arch Section take current WorkingPlane Placement | ||
mod - src/Mod/Arch/ArchSectionPlane.py | Diff File | ||
master 97a6333f 2015-05-24 13:32:40 Przemo Firszt Details Diff |
FEM: Simplify setting FEM results when user selected None Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/MechanicalAnalysis.py | Diff File | ||
master 302dbbf0 2015-05-24 13:31:40 Przemo Firszt Details Diff |
FEM: Fix problem with Show button not reverting mesh deformation Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/MechanicalAnalysis.py | Diff File | ||
master dc7da862 2015-05-24 13:24:46 Przemo Firszt Details Diff |
FEM: Don't use bool as variable name Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/MechanicalAnalysis.py | Diff File | ||
master 6a13a51b 2015-05-24 13:18:00 Przemo Firszt Details Diff |
FEM: Don't check is Show is checked after slider has been moved. Slider is disbled is Show is not ticked, so that check is redundant. Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/MechanicalAnalysis.py | Diff File | ||
master 8685e94b 2015-05-24 12:47:22 Abdullah Tahiri Committer: wmayer Details Diff |
Bug fix: Sketcher fillet on construction lines ============================================== The fillet applied to construction lines generates normal (not construction) geometry. How to replicate? 1.Make a square and make all lines construction lines. 2.Apply fillet tool, there result will be a white line fillet connecting two blue constructions lines. |
||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
master 74234e70 2015-05-24 12:01:59 Przemo Firszt Details Diff |
FEM: Switch to reading analysis stats from AnalysisStats object Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/MechanicalAnalysis.py | Diff File | ||
master 75fa1296 2015-05-24 08:29:06 Abdullah Tahiri Committer: wmayer Details Diff |
Sketcher Driving/reference mode icons | ||
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ConstrainLock_Driven.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Toggle_Constraint_Driven.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Toggle_Constraint_Driving.svg | Diff File | ||
master d5ec8875 2015-05-24 08:16:07 Abdullah Tahiri Committer: wmayer Details Diff |
Sketcher: Construction Mode Icons | ||
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Conics_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Create3PointArc_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Create3PointCircle_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateArc_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateCircle_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateEllipse_3points_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateEllipse_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateHeptagon_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateHexagon_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateLine_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateOctagon_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreatePentagon_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreatePolyline_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateRectangle_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateSlot_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateSquare_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateTriangle_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Elliptical_Arc_Constr.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ToggleConstruction.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ToggleNormal.svg | Diff File | ||
master 81bd2cf3 2015-05-23 20:47:44 Committer: wmayer Details Diff |
Bug fix: Sketcher: "Ask for value after creating distance constraint" setting not working ======================================================================================== How to replicate: 1. Go to Preferences->Display->Sketch and disable that checkbox. 2. Create a distance constraint (radius, distance, ...) It will ask for the value regardless of whether the checkbox is clicked or not. Why? In SketcherSettings.ui the prefpath is "Mod/Sketcher" The code refered to ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Sketcher/General"); |
||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
master bb3be15f 2015-05-23 18:17:50 Details Diff |
Draft: Removed the 'Hide Draft Workbench' Draft preference since we now have full WB customization | ||
mod - src/Mod/Draft/InitGui.py | Diff File | ||
mod - src/Mod/Draft/Resources/ui/preferences-draft.ui | Diff File | ||
master f5863b6d 2015-05-23 15:14:06 Przemo Firszt Details Diff |
FEM: replace input with frd_file in ccxFrdReader.py input is a built-in function name and should not be used as variable name Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/ccxFrdReader.py | Diff File | ||
master 765b720c 2015-05-23 13:53:48 Abdullah Tahiri Committer: wmayer Details Diff |
Sketcher New Feature: Toggle Mode for Reference/Driving constraints =================================================================== It allows to create constraints directly into Reference or Driving mode. It does not include icons |
||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/Workbench.cpp | Diff File | ||
master 3c629f09 2015-05-22 22:12:53 Bernd Hahnebach Committer: wmayer Details Diff |
FEM: CLOAD, mesh face area is used for surface loads on volume faces | ||
mod - src/Mod/Fem/ccxInpWriter.py | Diff File | ||
master 1c803df7 2015-05-22 17:36:05 Abdullah Tahiri Committer: wmayer Details Diff |
Sketcher new Feature: Creation Mode of geometry =============================================== It allows to select whether the geometry will be created as construction geometry or normal geometry. This commit includes an important bug fix to reduce the number of times the sketcher solver is called when toggling geometry. It makes an important difference in the creation during construction mode and InternalAligment geometry like the ellipse. This commit does not include icons. You have a button next to toggle that after having been clicked, switches from Normal to Construction geometry and vice versa |
||
mod - src/Mod/Sketcher/App/SketchObject.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/Workbench.cpp | Diff File | ||
master 1099b235 2015-05-22 16:15:18 Details Diff |
+ raise error message when trying to mesh without netgen support | ||
mod - src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp | Diff File | ||
mod - src/Mod/Fem/Gui/TaskDlgMeshShapeNetgen.cpp | Diff File | ||
mod - src/Mod/Fem/Gui/ViewProviderFemMeshShapeNetgen.cpp | Diff File | ||
master 3231a0c9 2015-05-22 14:18:53 Abdullah Tahiri Committer: wmayer Details Diff |
Sketcher: New Feature: External Geometry Linking improvement ============================================================ It lifts the need of clicking on the external geometry icon upon importing each external geometry element. All the elements on which the user clicks are imported until the user right clicks with the mouse or presses ESC, like the Trim or Fillet tools. |
||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
master 597c9b85 2015-05-22 00:02:55 Przemo Firszt Details Diff |
FEM: Add AnalysisStats object This commit add a new object to Analysis: AnalysisStats. AnalysisStats contains list with 15 values (an example): -0.000776373 <-- minimum X displacement -7.74494e-06 <-- average X displacement 0.000774115 <-- maximum X displacement -0.00416267 <-- minimum Y displacement -0.00204191 <-- average Y displacement 0 <-- maximum Y displacement -0.000775108 <-- minimum Z displacement 1.09288e-05 <-- average Z displacement 0.000775122 <-- maximum Z displacement 0 <-- minimum Abs displacement 0.00214509 <-- average Abs displacement 0.00430481 <-- maximum Abs displacement 0.390598 <-- minimum Von Mises Stress 0.93509 <-- average Von Mises Stress 1.47765 <-- maximum Von Mises Stress Those values will be used to set field values in FEM results dialog instead of currently used values returned by setNodeColorByResult function. Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/ccxFrdReader.py | Diff File | ||
master 9c6ee0ac 2015-05-21 22:11:50 Przemo Firszt Details Diff |
FEM: simplify reading lines from frd file Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
mod - src/Mod/Fem/ccxFrdReader.py | Diff File |