wmayer
eb1f30d327
Surface: several improvements
...
* fix crash because of incomplete inheritance of BlendPoint and BlendCurve -> do not inherit from BaseClass
as consequebce make destructor non-virtual and remove getPyObject
* pass std::vector by const reference
* remove unneeded includes
* use more suitable Python exception types
* when returning with null from Python handler then set an exception
* harmonize file guards
* several optimizations or simplifications
* use modern C++
* harmonize command name
* fix copyright note
2022-08-23 16:51:55 +02:00
Matteo-Grellier
27bf1dff0e
[Surface]: Change to BaseClass
2022-08-23 16:51:16 +02:00
Matteo-Grellier
c85c8cfb33
[Surface]: Implementation of BlenCurve.
2022-08-23 16:51:16 +02:00
tomate44
7e69d7e38b
Surface: Various fixes
2022-08-23 16:51:16 +02:00
wmayer
2062f9ce87
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
cea60a2cb4
Surface: Fix several clazy issues:
...
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Use multi-arg instead [-Wclazy-qstring-arg]
2022-07-25 10:01:49 +02:00
Uwe
1823439195
[Robot etc.] remove superfluous nullptr checks
2022-07-18 02:54:09 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
wmayer
01572884a0
Surface: include header with export macros
2022-03-24 20:41:34 +01:00
wmayer
f19ab55b48
Surface: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
6b04215be6
[Surface] remove Python.h and Xerces
2022-03-20 22:46:47 +01:00
wmayer
0054cbddaa
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
ee311b0835
Surface: [skip ci] only try to build surface if at least two boundary curves are used
2021-10-21 18:23:03 +02:00
luz paz
d84071275a
Surface: Fix header uniformity, whitespace, and doxygen header
2020-11-19 13:41:43 +01:00
tomate44
1940f4e3b4
Surface: prevent GeomFillSurface to produce C0 rational BSpline surface
2020-11-06 07:52:40 +01:00
vocx-fc
9b4b6d4276
Surface: ViewProviderExtend for Surface::Extend object
...
This is created by the Surface_ExtendFace command.
2020-10-13 14:52:02 +02:00
wmayer
3a8a6aae1b
Surface: add command to create surface from sections
2020-09-26 16:32:42 +02:00
wmayer
16edad7afd
LGTM: [skip ci] fix: Accidental rethrow
2020-07-24 20:57:14 +02:00
wmayer
9f84186c16
Surface: replace std::mutex with a boolean to avoid extra overhead
2020-07-03 16:08:02 +02:00
wmayer
74ad645600
Surface: optimize Extend::onChanged
2020-07-03 16:08:02 +02:00
wmayer
c77828eac6
Surface: remove superfluous function call
2020-07-03 16:08:01 +02:00
wmayer
a9440d5c37
Surface: in Extend::onChanged call the function of its direct parent class Part::Spline
2020-07-03 16:08:01 +02:00
wmayer
6e5bd7bee0
Surface: handle old project files using Extend feature
2020-07-03 16:08:01 +02:00
wmayer
01edf38b9c
Surface: fix -Winconsistent-missing-override
2020-07-03 16:08:01 +02:00
MA-LAPTOP\apeltauer
88fb2fbc37
adding 4 spaces instead of 2 spaces
2020-07-03 16:08:01 +02:00
MA-LAPTOP\apeltauer
5667ff1df3
Add the possibility to set the uv values for all four sides indepented.
...
Extending the face symetric is the default behaviour.
2020-07-03 16:08:01 +02:00
luz.paz
b3e42d103d
[skip ci] fix follow-up typos
2020-03-06 14:50:35 +01:00
wmayer
7fe10182a9
[skip ci] fix header uniformity
...
Set a real email address for headers in inspection and surface module
2019-12-21 16:12:54 +01:00
luz.paz
4cfda0c3a5
Misc. typos
...
Found via `codespell`
2019-02-08 11:01:24 -02:00
wmayer
a624fee2c2
add GUI functions to flip orientation of input curves
2018-09-07 23:03:07 +02:00
wmayer
864767221d
add boolean list to handle orientation of boundary curves
2018-09-07 11:48:11 +02:00
wmayer
cd5ee548f6
CMP0050: make Surface module aware of cmake policy
2018-08-20 14:56:30 +02:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
tomate44
b5779a8610
add comments
2018-04-02 15:51:39 +02:00
tomate44
6ca441d1be
fix crash when boundary edges are not ordered
2018-04-02 15:51:16 +02:00
wmayer
011eed3a64
add feature to extend given surface
2017-12-19 13:23:39 +01:00
wmayer
58a55aeebf
set global link scope of surface features
2017-11-27 22:11:13 +01:00
luzpaz
706141b967
Make uniform the use of B-spline visible to users
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
b47805dcc6
Extend task panel for filling function
2017-04-24 11:12:12 +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
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
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
5689e4c13b
remove superfluous FillType enum
2017-04-17 16:20:44 +02:00