Commit Graph

19 Commits

Author SHA1 Message Date
wmayer
255ddb746c Surface: apply clang format 2023-09-04 07:21:32 -05:00
wmayer
93ac88bcc3 Surface: modernize C++: use equals default 2023-08-22 11:16:10 +02:00
Uwe
2ef00dc9f2 [Surface] Gui:: remove unused includes
- also some sorting
2022-12-08 01:32:38 +01:00
wmayer
c2b9eceec1 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
83ee62bca4 [Surface]: Implementation of BlenCurve. 2022-08-23 16:51:16 +02:00
luz paz
ae48d4afb2 Surface: Fix header uniformity, whitespace, and doxygen header 2020-11-19 13:41:43 +01:00
vocx-fc
e99b46de88 Surface: new icon for existing Surface_CurveOnMesh command
Add this command to the Surface toolbar.
2020-10-13 15:09:12 +02:00
vocx-fc
3ec05cefcb Surface: new Extend icon for existing Surface_ExtendFace command
The icon is added to the `.qrc` resource file.

The command is added to the Surface toolbar.
2020-10-13 14:42:20 +02:00
wmayer
db645a6ea8 Surface: [skip ci] add icon for sections command 2020-09-28 07:57:00 +02:00
wmayer
ed7cdd4c2c Surface: add command to create surface from sections 2020-09-26 16:32:42 +02:00
wmayer
a1901cb20e add feature to extend given surface 2017-12-19 13:23:39 +01:00
wmayer
389f014091 Initial task panel for filling function 2017-04-22 11:12:13 +02:00
wmayer
6f4131bece project polyline on mesh and create edge 2017-04-19 23:30:15 +02:00
wmayer
39d3fc2b69 rename SurfaceFeature to GeomFillSurface 2017-04-17 16:20:44 +02:00
wmayer
2b3c1595db + use PyCXX for module initialization 2017-04-17 16:20:44 +02:00
balazs-bamer
512671b1e2 Unified UI for Bezier and b-spline surfaces
I have unified the user interface for Bezier and b-spline surfaces.
Based on the selection contents the CmdSurfaceBSurf::isActive method
determines which one can be created, and marks it for the activate
method.

For any sort of inappropriate selection contents, including foreign
shapes or mixture of Bezier and b-spline curves, the tool remains
disabled.
2017-04-17 16:20:44 +02:00
balazs-bamer
1037cce62f B-spline surface operation enabled
I have converted Nate's b-spline generation to use my superclass
FeatureBSurf and added it to the GUI. Other half-ready operations as
filling and cut are commented out.

Missing:
- the fill type must be queried from the user. The data panel lets it
modify, but it is not user-friendly.
- b-spline surface is generated, but it covers only a fraction of the
supporting curves. It may lie on OCC error.
2017-04-17 16:20:44 +02:00
balazs-bamer
d3e12636b0 Let the Surface workbench appear and try to create a Bezier surface
Modifications for:
 - let the surface workbench appear
 - use only one Surface menu and toolbar instead of two separate ones
 - create a Bezier surface using 2..4 Bezier curves (does not work yet)
 - use enums for fill type

Signed-off-by: balazs-bamer <kolaloka@freemail.hu>
2017-04-17 16:20:44 +02:00
NateAM
59fe379f5a Added Surface module
I have added Nate's SurfaceTools module with the name changed to Surface in all files and filenames.
2017-04-17 16:20:44 +02:00