wmayer
299555e0bd
reset highlighting of references if object is being deleted, fix crash with invalid sub-element names
2017-04-24 19:18:58 +02:00
wmayer
023ff6a59f
highlighting of point constraints
2017-04-24 17:20:41 +02:00
wmayer
fb3fb9643d
implement highlighting of surface in filling task panel
2017-04-24 14:43:30 +02:00
wmayer
a0ac4cf445
fix include dir on cmake
2017-04-24 11:12:12 +02:00
wmayer
ab820e4f2d
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
e65c871355
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
11d570103c
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
93c445bae4
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
0e1d0ef634
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
b63ab95bec
Extend task panel for filling function
2017-04-22 15:07:09 +02:00
wmayer
2e6345dbba
Extend task panel for filling function
2017-04-22 14:46:26 +02:00
wmayer
389f014091
Initial task panel for filling function
2017-04-22 11:12:13 +02:00
wmayer
939ee7b9a6
make EdgeSelection an internal class
2017-04-21 22:36:17 +02:00
wmayer
79c762f535
rename task panel class to be conform with the feature class
2017-04-21 19:30:03 +02:00
Peter Lama
fa4bebf2e0
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
wmayer
6f4131bece
project polyline on mesh and create edge
2017-04-19 23:30:15 +02:00
wmayer
4866d3595f
fix material binding of indexed lineset when highlighting an edge
2017-04-17 19:02:11 +02:00
wmayer
ceb519b737
fix unused variable warnings
2017-04-17 16:20:44 +02:00
wmayer
2692b7be92
set shortcut for deletion of items
2017-04-17 16:20:44 +02:00
wmayer
564d16d012
implement highlighting of references
2017-04-17 16:20:44 +02:00
wmayer
39d3fc2b69
rename SurfaceFeature to GeomFillSurface
2017-04-17 16:20:44 +02:00
wmayer
00a60a6b5b
remove superfluous classes BezierSurface and BSplineSurface
2017-04-17 16:20:44 +02:00
wmayer
c7130b568c
move handling of Bezier and BSpline surface creation into a common class to increase flexibility
2017-04-17 16:20:44 +02:00
wmayer
b697fed9f0
improve undo/redo handling
2017-04-17 16:20:44 +02:00
wmayer
15af69097e
implement Remove command in context menu
2017-04-17 16:20:44 +02:00
wmayer
92393cfbfc
remove superfluous FillType enum
2017-04-17 16:20:44 +02:00
wmayer
e106d8fede
improve usability of surface function
2017-04-17 16:20:44 +02:00
wmayer
cda9eddc8c
do not make property read-only in property editor
2017-04-17 16:20:44 +02:00
wmayer
5b77c9bfed
fix edit mode of view provider
2017-04-17 16:20:44 +02:00
wmayer
e9225fa12a
choose more comprehensive class and file names
2017-04-17 16:20:44 +02:00
wmayer
29cfb5a555
polish filling feature
2017-04-17 16:20:44 +02:00
wmayer
1005c5c765
polish sewing feature
2017-04-17 16:20:44 +02:00
wmayer
632c6e33db
port Surface module to v0.17
2017-04-17 16:20:44 +02:00
wmayer
01c193f74b
+ fix bugs in edge checking
2017-04-17 16:20:44 +02:00
wmayer
c02c90adb2
+ fix design flaw to reduce side effects
2017-04-17 16:20:44 +02:00
wmayer
cb434e517b
+ move FillType.h to App folder
2017-04-17 16:20:44 +02:00
wmayer
3bbedb1fd2
+ make surface module compile with v0.17 and occ 7
2017-04-17 16:20:44 +02:00
wmayer
2b3c1595db
+ use PyCXX for module initialization
2017-04-17 16:20:44 +02:00
wmayer
40c5fef1d0
+ delete superfluous files
2017-04-17 16:20:44 +02:00
balazs-bamer
bb6620aa85
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
dd6775e0f2
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
e47e22e395
Check for null shape before calling ShapeType
...
Check for null shape before calling ShapeType
2017-04-17 16:20:44 +02:00
balazs-bamer
073749e931
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
ef27ba2c8a
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
4e2eede777
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
85c3aa10c1
Surface properties are hidden
...
Surface properties are now hidden. Read-only made creation
2017-04-17 16:20:44 +02:00
balazs-bamer
972e024174
PropertyEnumerator for fill type
...
Fill type is now of type PropertyEnumerator, allowing enumerated names
in the Data tab. However, it has 2 problems:
1. Invalid shows up
2. The user has the illusion to see the result after changing the value.
However, the result gets updated only
2017-04-17 16:20:44 +02:00
balazs-bamer
3d70ef9ab7
Corrected feature property names
...
aBList -> BoundaryList
filltype -> FillType
2017-04-17 16:20:44 +02:00
balazs-bamer
3bceb867b7
Surface icon in the object tree
...
Bezier- and b-spline surfaces now have a surface icon in the tree.
2017-04-17 16:20:44 +02:00
balazs-bamer
901ff4a211
Warning for surfaces with 2 edges only
...
If the user creates a surface from 2 edges, a warning dialog appears.
Some refactoring in Command.cpp to make it simpler.
2017-04-17 16:20:44 +02:00