Commit Graph

8906 Commits

Author SHA1 Message Date
Abdullah Tahiri
c57e594ad7 Sketcher: On reference constraint double click, change it to driving and enter edit mode 2017-04-22 18:16:27 +02:00
Abdullah Tahiri
e44208d56c Sketcher: Lock constraint bug fix 2017-04-22 18:16:27 +02:00
Abdullah Tahiri
0aa9438c0a Sketcher: Lock constraint relative mode and group locking 2017-04-22 18:16:27 +02:00
wmayer
a4d2a9f77f Extend task panel for filling function 2017-04-22 15:07:09 +02:00
wmayer
0335e2a21c Extend task panel for filling function 2017-04-22 14:46:26 +02:00
wmayer
a76ebbcec9 Initial task panel for filling function 2017-04-22 11:12:13 +02:00
wmayer
71de6009aa make EdgeSelection an internal class 2017-04-21 22:36:17 +02:00
wmayer
0f1c66724b rename task panel class to be conform with the feature class 2017-04-21 19:30:03 +02:00
wmayer
6e5bba3999 fix crash ExpressionDelegate::paint 2017-04-20 22:31:18 +02:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua
ea3d86b735 Fix typos 2017-04-20 09:49:19 +02:00
Sabin Iacob
e12be7aaad [path] Set ToolController before calling setup in PathDressupHoldingTags 2017-04-20 09:41:25 +02:00
Sabin Iacob
a547cebcf1 [path] Fix AttributeError when attempting to export holding tags gcode 2017-04-20 09:41:09 +02:00
wmayer
48a6bca7d8 project polyline on mesh and create edge 2017-04-19 23:30:15 +02:00
Abdullah Tahiri
ad112ca8ab Sketcher: Remove unused variable 2017-04-17 20:53:12 +02:00
Abdullah Tahiri
09d774631c Sketcher: Elements Widget add construction information 2017-04-17 20:53:12 +02:00
Abdullah Tahiri
b06150ba02 Sketcher: Hide Internal Alignment Constraints 2017-04-17 20:53:12 +02:00
Abdullah Tahiri
937c6179e2 Sketcher: Rendering order widget 2017-04-17 20:53:12 +02:00
Abdullah Tahiri
4c3ffb57ca Sketcher: Fixes #3009 error with geompoints in sketcher
=======================================================

Introduction of construction points as fixed solver entities introduced this bug, as there was no specific code to check for points as they were by default construction.
2017-04-17 20:47:30 +02:00
Abdullah Tahiri
b6833e882e Sketcher: Basic symmetry for angle constraint
Fixes #0002804
2017-04-17 19:14:42 +02:00
wmayer
b2c2e3ffda fix material binding of indexed lineset when highlighting an edge 2017-04-17 19:02:11 +02:00
wmayer
f44c2000e8 fix unused variable warnings 2017-04-17 16:20:44 +02:00
wmayer
6b391fa7f3 set shortcut for deletion of items 2017-04-17 16:20:44 +02:00
wmayer
f87c6ff2db implement highlighting of references 2017-04-17 16:20:44 +02:00
wmayer
884b8202ea rename SurfaceFeature to GeomFillSurface 2017-04-17 16:20:44 +02:00
wmayer
951bf59ef4 remove superfluous classes BezierSurface and BSplineSurface 2017-04-17 16:20:44 +02:00
wmayer
ff34c3eece move handling of Bezier and BSpline surface creation into a common class to increase flexibility 2017-04-17 16:20:44 +02:00
wmayer
3eed50918b improve undo/redo handling 2017-04-17 16:20:44 +02:00
wmayer
3857e5200a implement Remove command in context menu 2017-04-17 16:20:44 +02:00
wmayer
5689e4c13b remove superfluous FillType enum 2017-04-17 16:20:44 +02:00
wmayer
f96d374250 improve usability of surface function 2017-04-17 16:20:44 +02:00
wmayer
ffa88e559b do not make property read-only in property editor 2017-04-17 16:20:44 +02:00
wmayer
6a71dd23d3 fix edit mode of view provider 2017-04-17 16:20:44 +02:00
wmayer
39f433a410 choose more comprehensive class and file names 2017-04-17 16:20:44 +02:00
wmayer
4b25a0febc polish filling feature 2017-04-17 16:20:44 +02:00
wmayer
a5452e9363 polish sewing feature 2017-04-17 16:20:44 +02:00
wmayer
1fd27d18df port Surface module to v0.17 2017-04-17 16:20:44 +02:00
wmayer
e29636a88d + fix bugs in edge checking 2017-04-17 16:20:44 +02:00
wmayer
a303b76334 + fix design flaw to reduce side effects 2017-04-17 16:20:44 +02:00
wmayer
88b15392eb + move FillType.h to App folder 2017-04-17 16:20:44 +02:00
wmayer
d3ac517146 + make surface module compile with v0.17 and occ 7 2017-04-17 16:20:44 +02:00
wmayer
7706124df7 + use PyCXX for module initialization 2017-04-17 16:20:44 +02:00
wmayer
6bf1dc8144 + delete superfluous files 2017-04-17 16:20:44 +02:00
balazs-bamer
a8adbaa125 Fix: edges of a solid can be used as surface input
Edges of a solid can be used as surface input. The real subName is
passed instead of the constant 'Edge1'
2017-04-17 16:20:44 +02:00
balazs-bamer
307105f1ab Curve validation is done in a common ancestor of App and GUI
Curve validation is done in a common ancestor class of Surface::BSurf
and SurfaceGui::CmdSurfaceBSurf
2017-04-17 16:20:44 +02:00
balazs-bamer
d980889b3a Check for null shape before calling ShapeType
Check for null shape before calling ShapeType
2017-04-17 16:20:44 +02:00
balazs-bamer
e681dc3771 Unhide surface props and set the filltype to read-only in data tab
I made the surface property (FillType and boundary) default again.
Status bit 2 is set on fill type to hide it in data tab.
2017-04-17 16:20:44 +02:00
balazs-bamer
0af6fc0894 allow wires as surface input
Now an arbitrary mixture of edges and wires can be used as input.
However, the total count of edges together with the wire members
can only be 2, 3 or 4.

For some reason, wires do not work in Python script:
test1.BoundaryList = [(Draft.upgrade([bs1a, bs2a]), 'Wire1')]
yields an empty BoundaryList
2017-04-17 16:20:44 +02:00
balazs-bamer
724fa4fe4e try to convert non-b-splines into b-splines; further parameter check
Non b-spline curves are converted into b-splines if possible.
This means circles, lines etc are allowed.

Further parameter checks prohibiting surfaces being accepted as input.
2017-04-17 16:20:44 +02:00
balazs-bamer
05335359ea Surface properties are hidden
Surface properties are now hidden. Read-only made creation
2017-04-17 16:20:44 +02:00