Florian Foinant-Willig
02731c7816
Part: modernize type checking
2023-10-23 18:12:03 +02:00
wmayer
b9e9fe435a
Part: modernize C++: use equals default
2023-08-22 15:14:03 +02:00
berniev
180edfa3cc
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +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
andrea
c66aadeb60
removed references to OCC<7
2022-06-25 14:29:24 +02:00
Syres916
ec2e1115ed
[Part] Helix Default Segment Length to 0.0
...
See https://github.com/FreeCAD/FreeCAD/issues/6559
2022-04-04 00:46:59 +02:00
wmayer
6d2d45ceb7
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01: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
Sebastian
04f71e02be
Update PrimitiveFeature.cpp
...
Correct upper case words equal to other tool tip hints.
2022-02-08 21:54:20 +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
c3264a7cfa
[Part] [skip ci] add a word in description
...
since we have now 3 angles for cylinders, make clear the angle property is for the rotation
2021-04-06 11:39:51 +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
f5de466ae5
Part: fixes and check input values for spiral and helix primitives
2021-03-10 14:24:01 +01:00
tomate44
8334a59c4b
Part primitives: add SegmentLength property to helix and spiral
2021-03-10 14:23:16 +01:00
tomate44
1ad246bdad
Part primitives: use makeSpiralHelix in spiral and helix primitives
2021-03-10 14:22:04 +01:00
David Osterberg
29cd1049bb
Part: Allow helix primitive with negative Angle
2021-02-14 11:53:34 +01:00
wmayer
d90b2d0acf
Part: [skip ci] for Part::Torus primitive use TopoShape::makeTorus
2020-12-03 14:52:13 +01:00
wmayer
5c35325cc0
Py3: suppress warnings about un-initialized/deprecated tp_print slot
2020-10-18 14:45:31 +02: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
tomate44
849cc77f6e
fix long spiral bug similar to #954 . Work around OCC bug #23314
2020-08-22 14:29:07 +02:00
Abdullah Tahiri
216926233f
Part: Make 3rd party libraries into PCH
2019-05-02 07:09:22 +02:00
wmayer
920a4e62b2
add missing newlines
2018-06-09 11:47:12 +02:00
luzpaz
5973d8d67e
Part: typos
2017-12-25 11:03:11 +01:00
Peter Lama
033334474c
Rename superPlacement property to AttachmentOffset
...
The name Attachment Offset gives a better picture of what the
property does.
2017-11-05 16:41:25 +01:00
wmayer
6d9886775c
fixes #0002722 : Attached cube doesn't follow support
2017-09-25 22:36:02 +02:00
wmayer
0d617f97d6
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
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
e54bd64afa
raise error if parameters of ellipse are invalid
2017-02-02 15:52:28 +01: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
cb73d010bb
+ port to OCC 7.0
2016-05-14 16:53:27 +02:00
wwmayer
6bf065c097
+ fix many minor warnings, activate -Wall for gcc
2015-08-02 22:32:18 +02:00
wmayer
7301f4ba60
+ fixes #0001652 : Proper support of units for all geometric primitives
2015-01-07 15:31:07 +01:00
WandererFan
7df59105a4
Work around for Mantis issue 0954 on Helix Primitive
...
To be removed after OCC helix bug corrected.
2014-11-17 17:45:34 -05:00
wmayer
908c11edd7
+ fixes #0001798 : Support general ellipsoid with three radii
2014-10-30 18:02:18 +01:00
wmayer
2ecdf001a4
+ Replace OCC_HEX_VERSION with OCC_VERSION_HEX
2014-07-18 14:51:54 +02:00
wmayer
f238671b8a
+ fix bug in spiral creation
2014-04-02 10:46:13 +02:00
jriegel
aca751daf4
switch the physical Properties to Quantity and add Pressure and Force
2014-02-16 22:19:56 +01:00
wmayer
a9f3b8a09f
+ Use long helix function in parametric feature
2013-12-29 14:51:25 +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
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
1086dbf389
+ fixes #0001247
2013-11-07 14:17:41 +01:00
wmayer
11ac61583d
+ Fix build failure with >= OCC 6.5.2
2013-10-31 08:58:04 +01:00
wmayer
9e3a8e0f7c
0001290: Add spiral tool in Part Module
2013-10-30 14:48:42 +01:00