berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
fd19d1a7b0
[PD] more work to remove unused includes
2022-02-21 02:18:17 +01:00
donovaly
b9b42a52f4
[PD] fix primitives issues
...
- to avoid invalid results:
- don't allow to set equal radii for cones
- don't allow to set equal wedge parameters
- don't allow zero quantities like e.g. the box width
- use full internal precision because it must be possible to create an e.g. 23.5 um wide box and using the default 2 displayed digits
- take spinbox limits from App
- add missing tooltips
- remove disturbing commented out line from Workbench.cpp
- some coding style issues fixed automatically by the MSVC IDE
2021-04-20 19:03:40 +02:00
donovaly
7185ee93f2
[PartDesign] 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 14:35:50 +02:00
wmayer
64dbe342e1
PartDesign: for Prism feature use PrismExtension
2021-04-05 13:25:36 +02:00
wmayer
e43df16930
PartDesign: [skip ci] for PartDesign::Torus primitive use TopoShape::makeTorus
2020-12-03 15:06:22 +01:00
wmayer
8ffbabb605
Py3: suppress warnings about un-initialized/deprecated tp_print slot
2020-10-18 14:45:31 +02:00
donovaly
5abb45f7cf
[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
d4519d5aec
[PD and Part] add possibility to create skew prisms
2020-09-12 13:28:00 +02:00
Abdullah Tahiri
a415ad72e1
PartDesign: 3rdParty to PCH
2019-05-02 07:12:27 +02:00
DeepSOIC
46621a85d4
PartDesign: Refine property for primitives #3488
2018-09-11 07:16:49 +02:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
wandererfan
7e781bcfd0
Revise multiple solids message
2018-07-13 10:23:42 -03:00
wandererfan
883a726d52
Fix #3401 warning on multiple solid
...
- PartDesign only uses the first result shape
of an operation and discards the rest without
warning.
- this also fixes #1707
2018-07-13 10:23:42 -03:00
Peter Lama
926b844409
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
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
488c1a1fdf
handle exception thrown by BRepBuilderAPI_RefineModel
2017-07-23 15:46:57 +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
DeepSOIC
722ffe5ecb
PartDesign: update primitives to use PartDesign::FeaturePy
2017-03-04 19:16:39 -03:00
wmayer
eeb7dd458a
spend own type for Python wrappers of FeaturePrimitive and BodyBase
2017-01-20 15:42:50 +01:00
Stefan Tröger
bc133e4de2
PartDesign: Primitives are attachable directly
...
With the recently introduced AttachExtension the PartDesign primitives can be attachable by themself and don't need anymore the helping coordinate system datum. This simplyfies the code and the TreeView largely
2016-12-07 06:41:40 +01:00
wmayer
e0a0aa7786
fix typos
2016-11-12 17:57:14 +01:00
wmayer
81a6d4f4cc
fix some typos
2016-09-27 19:26:45 +02:00
wmayer
cb3da6ff9c
fixes #0002702 : Default cylinder angle 10 deg
2016-09-24 18:11:47 +02:00
Stefan Tröger
83ce80f133
fixes #0002512 Allow multi-face part design tools
2016-05-18 23:54:18 +02:00
wmayer
d03a8fd386
+ fix various gcc & clang warnings
2016-04-24 16:21:19 +02:00
Stefan Tröger
c5ae4530ab
add primitive preview visualization
2016-04-12 18:12:08 +02:00
Stefan Tröger
3be4939bcc
add remaining primitive features
2016-04-12 18:12:07 +02:00
Stefan Tröger
0385734339
primitive bug fixes, add cylinder and sphere
2016-04-12 18:12:07 +02:00
Stefan Tröger
8fdde38e75
add coordinate system datum
2016-04-12 18:12:07 +02:00
Stefan Tröger
cf83242f5b
fix basic additive box
2016-04-12 18:12:07 +02:00
DeepSOIC
05b9dd60e3
fix build with MSVC11 aka 2012
2016-04-12 18:12:06 +02:00
Stefan Tröger
52c8a19d4d
basic infrastructure for part design primitives
2016-04-12 18:12:06 +02:00