Changesets: FreeCAD

master 3b1873f1

2015-05-27 15:50:27

Abdullah Tahiri


Committer: wmayer Details Diff
Sketcher Improvement: Always enable geometry creation
==============================================================================

Now you can switch from one tool to the next just by clicking on the next tool
Affected Issues
0001518
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File

master aed303f4

2015-05-26 22:43:58

Przemo Firszt

Details Diff
FEM: Add curly brackets to one line for/if or if/if commands

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Attach Issues:
mod - src/Mod/Fem/Gui/TaskFemConstraintFixed.cpp Diff File
mod - src/Mod/Fem/Gui/TaskFemConstraintForce.cpp Diff File

master 24b71377

2015-05-26 17:55:38

wmayer

Details Diff
+ fix whitespaces
Attach Issues:
mod - src/Mod/Fem/App/FemConstraintPressure.cpp Diff File
mod - src/Mod/Fem/App/FemConstraintPressure.h Diff File
mod - src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp Diff File
mod - src/Mod/Fem/Gui/TaskFemConstraintPressure.h Diff File
mod - src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.cpp Diff File
mod - src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.h Diff File

master ca356c30

2015-05-26 16:53:13

Abdullah Tahiri


Committer: wmayer Details Diff
Sketcher Driving/Reference and Construction/Normal single buttons icons
=======================================================================
Attach Issues:
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc Diff File
mod - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_AlterConstruction.svg Diff File
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ToggleConstraint.svg Diff File

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>
Attach Issues:
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

wmayer

Details Diff
+ make sure that Sketch.clear() doesn't allow any arguments
Attach Issues:
mod - src/Mod/Sketcher/App/SketchPyImp.cpp Diff File

master b882109c

2015-05-26 12:51:39

wmayer

Details Diff
+ rename method for points of selection
Attach Issues:
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.
Attach Issues:
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp Diff File

master 7843225f

2015-05-24 20:41:03

rockn


Committer: yorik Details Diff
Arch : Arch Section take current WorkingPlane Placement
Attach Issues:
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>
Attach Issues:
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>
Attach Issues:
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>
Attach Issues:
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>
Attach Issues:
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.
Attach Issues:
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>
Attach Issues:
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
Attach Issues:
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
Attach Issues:
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

abdullah


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");
Attach Issues:
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp Diff File

master bb3be15f

2015-05-23 18:17:50

yorik

Details Diff
Draft: Removed the 'Hide Draft Workbench' Draft preference since we now have full WB customization
Attach Issues:
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>
Attach Issues:
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
Attach Issues:
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
Attach Issues:
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
Attach Issues:
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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 481 482 483 484 485 486 ... 540 ... 579 580 581  Next  Last