Commit Graph

39 Commits

Author SHA1 Message Date
wmayer
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
276582b4dd [Part] Prim* to Sur*: remove unneeded includes
- also sort includes
2022-07-03 19:32:28 +02:00
wmayer
27c2dc216b Part: handle to load old project files with Part::Ellipse 2022-02-11 17:25:28 +01:00
Sebastian
a48656e5fe Ellipse variable name change to create consistency
Change variable names of the Ellipse from Angle0 to Angle1 to create consistency with all other named angle variables
2022-02-11 17:22:45 +01:00
wmayer
44eeae7286 Part: move handling of changed properties of the Primitive class to handleChangedPropertyName and handleChangedPropertyType 2021-09-15 14:45:50 +02:00
donovaly
1f0e0f3e21 [Part] add direction to cylinder primitive
We already have the possibility to create skewed prisms. I recently stumbled upon that I would need this feature for cylinders too.

This PR takes the existing prism extrude direction feature and use it for cylinders too
2021-04-05 13:59:03 +02:00
wmayer
2b09a3ebec Part: for Prism feature use PrismExtension 2021-04-05 13:25:19 +02:00
tomate44
8334a59c4b Part primitives: add SegmentLength property to helix and spiral 2021-03-10 14:23:16 +01:00
wmayer
c0578d2b55 Part: [skip ci] fix type of Rotations property of Spiral primitive 2020-11-09 09:31:16 +01:00
wmayer
f644846dcc Part: [skip ci] add missing export macro 2020-11-07 10:17:34 +01:00
donovaly
b0faf1197c [PD] fix wording for skew prisms
the UI and the property is not consistent. In the dialog we use the term angle upon user feedback while the property still has the name "skew" in it.
I simply forgot this change in my PR that implemented skew prisms.

This is now corrected by this PR.
2020-09-15 22:13:26 +02:00
donovaly
6bbab49723 [PD and Part] add possibility to create skew prisms 2020-09-12 13:28:00 +02:00
wmayer
7f4378a87e Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wpessimizing-move (Geometry::clone: moving a temporary object prevents copy elision -> remove std::move call here)
2019-08-17 19:52:32 +02:00
wmayer
bdd49f2ad5 issue #0002867: AttachExtension crash 2017-01-20 13:17:11 +01:00
Stefan Tröger
67d76b309c Port Attacher codde to the extension framework
AttachableObjects are desired in multiple occasions, and the current AttachableObject is not flexible enough to handle all cases. Hence the code is portet to an extension, which gives the needed flexibility.
2016-12-07 06:41:40 +01:00
DeepSOIC
66e8aa32ba Part: make primitives attachable 2016-05-20 00:11:16 +03:00
wmayer
7301f4ba60 + fixes #0001652: Proper support of units for all geometric primitives 2015-01-07 15:31:07 +01:00
wmayer
908c11edd7 + fixes #0001798: Support general ellipsoid with three radii 2014-10-30 18:02:18 +01:00
jriegel
aca751daf4 switch the physical Properties to Quantity and add Pressure and Force 2014-02-16 22:19:56 +01:00
jmaustpc
ce5671401e fix property names for Part RegularPolygon and Prism
Prism properties: - Polygon, Circumradius and Height
RegularPolygon  : - Polygon and Circumradius

DraftTools updated to reflect the change in property names
2013-11-18 11:08:29 +11:00
jmaustpc
1d381c6198 minor code clean ups removing previously hidden unwanted code
PrimitiveFeature.cpp
PrimitiveFeature.h
2013-11-14 13:30:25 -02:00
jmaustpc
56f8aa2889 minor error hide Height PrimitiveFeature.h 2013-11-14 13:30:25 -02:00
jmaustpc
cb540afa2e Add Part_RegularPolygon,
regular polygon edge in Part workbench "create primitives",

Add icons Part_Polygon and Part_Spline
2013-11-14 13:30:25 -02:00
wmayer
11c6b429b2 + Add new SVG icons 2013-11-08 14:36:34 +01:00
wmayer
1086dbf389 + fixes #0001247 2013-11-07 14:17:41 +01:00
wmayer
9e3a8e0f7c 0001290: Add spiral tool in Part Module 2013-10-30 14:48:42 +01:00
wmayer
0d25b68ce3 0001239: Part --> Geometric Primitives --> Regular Prism 2013-09-21 14:20:04 +02:00
jmaustpc
49bad2dc7d Tree icons now display Part Plane, Torus, Sphere, Cylinder,Cone
Created ViewProviders for the above.
Fixed a minor typo in the Part Line ViewProvider
2013-03-15 22:05:06 -03:00
jmaustpc
b327566c89 add ViewProviders & Tree icons for Part Point, Ellipse, & Helix
Add ViewProviders to select an icon for the part primitives
Point, Ellipse, Helix,
Also return Part Box tree icon to "Tree_Part.svg"
2013-03-15 22:05:06 -03:00
jmaustpc
efb2275527 new Part Primitives icons, display tree icons Part Line and Circle
New icons for Parametric Part Primitives
Point, Line, Circle, Ellipse, Helix

Display the icon in tree via independent viewproviders for
Part Parametric Line and Circle

Change Part Box tree icon to display yellow Part Box icon from the tool bar
2013-03-15 22:05:06 -03:00
wmayer
9ab58b1b76 update helix immediately 2012-05-03 17:01:09 +02:00
wmayer
2a16c7bd49 left hand helix 2012-05-01 13:17:10 +02:00
wmayer
54e4a8d5c6 0000546: Ellipse added to create primitive dialogue
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5371 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-31 18:54:45 +00:00
wmayer
0c70ddf595 + implement primitive dialog as task panel
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5367 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-30 20:49:59 +00:00
wmayer
431406a5aa 0000536: Parametric Edge in Part wb via create primitives dialogue gui
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5297 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 19:11:38 +00:00
wmayer
b005a7cf0b + 0000452: in "Part" added create "vertex" to the create primitives dialgue gui
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5049 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-21 15:50:10 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00