Commit Graph

7277 Commits

Author SHA1 Message Date
Zheng, Lei
797793b4ac Path.Area: make Area.Reorder default to true 2017-01-20 18:32:57 +08:00
Zheng, Lei
298ad1eb26 libarea: fixed memory leak in CAreaOrderer 2017-01-20 18:32:30 +08:00
Zheng, Lei
2c249e8356 Part: fixed missing export declare of sort_Edges 2017-01-20 18:30:56 +08:00
Zheng, Lei
c0ba9700aa Path.Area: added support for solid
* Path.Area/FeatureArea can now section solid shapes.
* Added command to select workplane for FeatureArea
* Generalized ParamsHelper
2017-01-20 17:47:28 +08:00
Zheng, Lei
eb0f89f477 Part: exported Part::sort_Edges
Fixed export of Part::shape2pyshape
2017-01-20 17:46:47 +08:00
WandererFan
14ae74f468 Use contour area for wire size instead of bounding box 2017-01-20 00:09:38 -02:00
WandererFan
306ad7fcee Replace Vector3D ==/!= with difference < Precision::Confusion() 2017-01-20 00:09:38 -02:00
looooo
e9b5722220 python3: dict.has_key("key") --> "key" in dict 2017-01-20 00:06:58 -02:00
Yorik van Havre
67fdbfdbeb Arch: Fixed bug in Section Plane + TechDraw view when the section is empty 2017-01-19 17:54:58 -02:00
Zheng, Lei
1517418ba0 Path.Area added coplanar check parameter 2017-01-20 02:36:59 +08:00
Zheng, Lei
36423f24de Path: added Path.Area and Path.FeatureArea 2017-01-19 23:08:19 +08:00
Zheng, Lei
4a0e037893 Part: export Part::shape2pyshape 2017-01-19 23:05:30 +08:00
Zheng, Lei
a79013e7f3 libarea: added CArea::Clip to handle open wires
CArea::Clip enables ClipperLib open wire boolean operation as well as
other settings (PolyFillType) for closed wires.
2017-01-19 19:03:59 +08:00
Zheng, Lei
b58e45a04c libarea: make CArea::Record skip open wires 2017-01-19 19:03:11 +08:00
Zheng, Lei
04888f6961 libarea: split into area-native and area python 2017-01-19 19:01:48 +08:00
Zheng, Lei
9cf075a806 libarea: added OffsetWithClipper function
Also added a few extra setting variables.

OffsetWithClipper perform offset operation using
ClipperLib::ClipperOffset.
2017-01-19 18:58:09 +08:00
wwmayer
2a67c7f0ae Merge pull request #453 from qingfengxia/fluidmaterial
add air and water Fluidmaterial to FemWorkbench
2017-01-19 11:04:40 +01:00
Markus Lampert
81ae4f94aa Fixed z=0 issues; added rapid move for square tag that is at the maximum height (or higher). 2017-01-18 22:08:09 -08:00
qingfengxia
82526160af Fem: add air and water fluid material into data/Mod/Material 2017-01-19 00:08:02 +00:00
qingfengxia
a378a16b27 Fem: modify taskpanelFemMaterial to support simple Fluid Material 2017-01-18 23:32:40 +00:00
abdullahtahiriyo
3f0c9d7bc3 Merge branch 'master' into bspline_2017 2017-01-18 22:48:27 +01:00
wwmayer
c0ec75eb5a Merge pull request #449 from looooo/python3-arch
Python3 Arch
2017-01-17 13:39:24 +01:00
looooo
f3fb6762e8 py3: Arch: some more fixes 2017-01-17 12:08:16 +01:00
looooo
2bc1162193 py3: Arch: print fixes 2017-01-17 11:13:36 +01:00
looooo
1a21a4bc96 py3: cherry-picking fixes
a cherry pick for the arch module introduced problems with python2 and the start-wb.
2017-01-17 11:03:42 +01:00
looooo
31e4489518 py3: resolving diff in Arch 2017-01-17 09:28:07 +01:00
Yorik van Havre
8ad2c699f8 py3: open function is in module 'io' in py3 instead of __builtin__ 2017-01-17 09:24:59 +01:00
wmayer
4f43cfac50 py3: adapt scripts to work with Python3 2017-01-17 09:24:59 +01:00
Priit Laes
1591601654 py3: Arch: *.py: Fix syntax for python3 2017-01-17 09:24:46 +01:00
sliptonic
ed373673e8 Path: Make contour default final depth to part bottom instead of 0 2017-01-16 21:19:10 -06:00
sliptonic
c4405f8356 Path: fix missing field in profile edges 2017-01-16 21:19:10 -06:00
wmayer
987630700d fix crashes in creation of parabola or hyperbola 2017-01-16 23:07:09 +01:00
Abdullah Tahiri
46075f31ba Sketcher: Symmetry support for BSpline 2017-01-16 21:47:03 +01:00
Abdullah Tahiri
252d84ff4f Sketcher: Array/Copy/Clone support for BSpline 2017-01-16 21:28:40 +01:00
Alexander Gryson
8d81a71002 Update Metadata 2017-01-16 20:55:46 +01:00
Alexander Gryson
7744fcfa45 Align OpenSCAD icons to guidelines 2017-01-16 20:55:45 +01:00
wmayer
45b898985a set layout of text of progress bar in unit test dialog 2017-01-16 18:48:18 +01:00
Abdullah Tahiri
2e789dc523 Sketcher: BSpline SnellsLaw - unsupported 2017-01-15 22:34:14 +01:00
Abdullah Tahiri
f935f33345 Sketcher: BSpline point-on-object - unsupported 2017-01-15 22:29:21 +01:00
Abdullah Tahiri
c1decd3bb4 Sketcher: Enable relative movement of BSpline edge 2017-01-15 22:21:18 +01:00
Alexander Gryson
f35d739720 Update Page template icons 2017-01-15 21:08:08 +01:00
Alexander Gryson
df91ee5338 Don't depend on svg contents for file info 2017-01-15 21:08:08 +01:00
Alexander Gryson
8ba60dad27 Updated Metadata 2017-01-15 21:08:08 +01:00
Alexander Gryson
ce4ee4baf4 Update Drawing Workbench icons to Tango 2017-01-15 21:08:08 +01:00
Yorik van Havre
17c6921341 Draft: Fixed bug in line UI - fixes #2860 2017-01-15 17:55:11 -02:00
Yorik van Havre
c6144c218a Draft: improvements to Stretch code, added support for rectangles 2017-01-15 17:32:13 -02:00
Sebastian Stetter
0f7d4ac46c PATH: Fix for x10 input field issue in tool table 2017-01-15 17:39:37 +01:00
AjinkyaDahale
a588349173 Horizontal and Vertical Constraint creation modes 2017-01-15 17:00:45 +01:00
wwmayer
cd6c918f5a Merge pull request #443 from dev-at-stellardeath-org/path_helix
Path helix update
2017-01-15 16:07:08 +01:00
wwmayer
adb9353d27 Merge pull request #444 from looooo/python3-fixes
python3: neutral fixes
2017-01-15 16:00:19 +01:00
lorenz
67c1bcac7c Merge branch 'master' into path_helix 2017-01-15 13:52:27 +01:00
Abdullah Tahiri
4da262dd33 Sketcher: BSpline solver improvement
===================================

In the unusual event that endpoint knot multiplicity is edited, avoid trying to force the bspline end-point
to match the corresponding control point (aka pole), as this leads to unsolvable sketches.
2017-01-15 01:49:45 +01:00
Abdullah Tahiri
6b5622a661 Sketcher: BSpline - Equality not supported user indication 2017-01-15 01:40:04 +01:00
Abdullah Tahiri
2eec558ce7 Sketcher: BSpline - UI Perpendicularity 2017-01-15 01:27:46 +01:00
Abdullah Tahiri
340d33f3a5 Sketcher: BSpline - Informing the user of non-supported tangencies 2017-01-15 00:57:05 +01:00
Abdullah Tahiri
e53dc90c9a Sketcher: BSpline simplified endpoint tangency/perpendicularity solver implementation
=====================================================================================

Support for tangency/perpendicularity using angle via point for BSpline with appropriate
endpoint multiplicity so that the endpoints goes thru the first and last poles (control points).

Warning: Not applicable to periodic BSplines.
Warning: Not applicable to any non-periodic BSpline with inappropriate endpoint conditions.
2017-01-15 00:42:25 +01:00
Abdullah Tahiri
9bf1e8f4f4 Sketcher: BSpline box selection 2017-01-14 19:33:40 +01:00
looooo
42331bde1b python3: neutral fixes 2017-01-14 19:22:15 +01:00
Lorenz Hüdepohl
f2faa50802 PathHelix: Switch to QToolBox based task panel
This makes it more consistent with the other Path operations
2017-01-14 17:04:36 +01:00
WandererFan
d8afbe563e Fix 2843 DrawProjGroup Restore 2017-01-14 16:56:30 +01:00
WandererFan
2fef05c718 Revise edge & vector compare function for clarity 2017-01-14 16:56:30 +01:00
wwmayer
df82247b0e Merge pull request #441 from agryson/draft-stretch-align
Minor grid alignments
2017-01-14 16:08:18 +01:00
wwmayer
a631730caf Merge pull request #439 from agryson/spreadsheet-artwork-align
Spreadsheet artwork align
2017-01-14 16:06:34 +01:00
Bernd Hahnebach
e2b5623170 FEM: code formating, flake8 2017-01-14 10:44:20 +01:00
Bernd Hahnebach
73b9c7300c FEM: unit tests, update FreeCAD files of FEM unit tests 2017-01-14 10:44:20 +01:00
Bernd Hahnebach
4360c0b8b3 FEM: unit tests, fix some issues and save FreeCAD files of the unit tests 2017-01-14 10:44:20 +01:00
Bernd Hahnebach
eb9f1d0409 FEM: pre checks, do not allow youngs modulus and thermal conductivity (later for thermomech analysis) to be 0.0 2017-01-14 10:44:20 +01:00
Alexander Gryson
bfc3c3f509 Minor grid alignments 2017-01-14 10:16:28 +01:00
Abdullah Tahiri
512fd62c41 Sketcher: Enable BSpline edge and enpoints movement 2017-01-14 01:23:04 +01:00
Alexander Gryson
9914e41f11 Update Metadata 2017-01-13 23:46:20 +01:00
Alexander Gryson
1c7e0984c8 Align Spreadsheet icons to Tango 2017-01-13 23:46:19 +01:00
Abdullah Tahiri
1b59e74568 Sketcher: Solver Simplification for basic case
==============================================

This commit is intended to allow to early merging to master of BSpline support. Parts of it will be reverted when a more advanced solver implementation is available.

The intention is to have an advances solver implementation in the future.

This commit cripples part of the potential functionality, but allows a very simplistic solver structure (no de Boor, no recursion).

In particular:
1. Knots are not solver parameters and the solver acts as if such a parameter did not exist.
2. For non-periodic case, the start point and the endpoint coincide with the first pole and the last pole respectively. This is only valid under certain first and last
knot multiplicity. If the user manually changes this multiplicities, the sketch will remain unsolved. For the periodic case, end and start points are not even solver
parameters as an end and start point is an ilusion and we really do not care where that happens. It is not reasonable to ask the user to constrain where this point should
be.
2017-01-13 23:42:57 +01:00
Abdullah Tahiri
0ef082bcd4 Sketcher: Construction of periodic BSplines 2017-01-13 22:25:10 +01:00
Abdullah Tahiri
348d4cf320 Sketcher: Periodic bspline icons 2017-01-13 22:24:55 +01:00
sliptonic
b0abdd1c1d PATH: remove old holding tag code and GUI elements 2017-01-13 09:20:04 -06:00
Yorik van Havre
c704c28920 Draft: Added stretch tool - fixes #1163 2017-01-13 11:25:25 -02:00
Alexander Gryson
5929ad3957 correct clipping issue 2017-01-13 11:23:11 -02:00
Alexander Gryson
42a2faf05a Update Helix Metadata 2017-01-13 11:23:11 -02:00
Alexander Gryson
62b08cd4a4 Update helix icon 2017-01-13 11:23:11 -02:00
Markus Lampert
e76333f300 Fixed segmentation of xy-plane arcs, made # segments factor a property. 2017-01-12 17:42:29 -08:00
Abdullah Tahiri
671e588739 Sketcher: BSpline autoconstraints on creation 2017-01-12 23:45:03 +01:00
Abdullah Tahiri
b255ada03a Sketcher: Sketcher Elements support for BSpline 2017-01-12 22:55:31 +01:00
Abdullah Tahiri
1076b70056 Part: BSpline creation method corrected as per Werner's indication
==================================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=19700
2017-01-12 22:44:07 +01:00
wwmayer
0c34f1b749 Merge pull request #433 from agryson/arch-artwork-alignment
Arch artwork alignment
2017-01-12 22:01:59 +01:00
Abdullah Tahiri
c9de3687af Sketcher: BSpline restore internal geometry 2017-01-11 23:51:06 +01:00
Abdullah Tahiri
2a4353a940 Sketcher: BSpline delete internal geo on deletion 2017-01-11 23:44:45 +01:00
Abdullah Tahiri
d66242bd08 Sketcher: Contraint class extension
===================================

An additional index for internal geometry elements is introduced, to be stored only Internal Aligment constraint and backwards compatible.
2017-01-11 23:00:43 +01:00
Alexander Gryson
032ead09b5 fix broken shadow 2017-01-11 21:23:15 +01:00
Alexander Gryson
8e87cd6611 Revert modifications to 3rd party icon
3rd party icons will be reviewed after alignment of all other icons
See [this forum discussion for more on this issue](http://forum.freecadweb.org/viewtopic.php?f=23&t=19556&p=151812#p151812)
I'm mainting this as it's own commit for easy reversion in the future should we decide to update 3rd party icons
2017-01-11 21:23:15 +01:00
Alexander Gryson
1f43ad7943 Minor updates and polish
* New icon had been added since I started work, so aligned that
* Removed a copy/paste artefact on a clone icon
2017-01-11 21:23:15 +01:00
Alexander Gryson
4bf8b512c8 Update Arch Workbench icon metadata 2017-01-11 21:23:14 +01:00
Alexander Gryson
39e48dd10f Align Arch Workench icons to Tango 2017-01-11 21:23:14 +01:00
Markus Lampert
9d544209a8 Added support for rounded tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
126fe81689 Translation of strings. 2017-01-11 12:05:23 -08:00
Markus Lampert
3cbf1c32b4 Reduced debug logging. 2017-01-11 12:05:23 -08:00
Markus Lampert
891add9bd3 Added preferences for holding tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
70c3fc8686 Automatically disable tags if they overlap with previous tag and/or do not fall on the base wire. 2017-01-11 12:05:23 -08:00
Markus Lampert
2403890965 Minimum # tags is 2, makes sense and avoids the endless loop. 2017-01-11 12:05:23 -08:00
Markus Lampert
190aa1fc74 Retrieve colors from settings. 2017-01-11 12:05:22 -08:00
Markus Lampert
45893d7783 Fixed adding new tags - sorting required. 2017-01-11 12:05:22 -08:00