David Carter
0804d80ebf
Materials: Child ignoring parent material
...
Inherit the material from the parent object when creating a new object,
such as during a boolean operation, or when extruding a sketch.
fixes #15503
2024-10-21 18:20:20 +02:00
bgbsww
ecf7e51ab3
Toponaming: Remove all FC_USE_TNP_FIX protected old code
2024-08-26 11:12:48 -05:00
bgbsww
c8c657eefe
Fix shape color / materials issues in fuse
2024-08-22 18:53:55 -05:00
bgbsww
f0982d1d61
Toponaming: Fuse call makeElementRefine; remove deprecated refineSha… ( #15897 )
...
* Toponaming: Fuse call makeElementRefine; remove deprecated refineShapeIfActive
* Part/Toponaming: import code for MultiFuse::execute() from LS3
* added expected values of testRefine
Co-authored-by: Zheng, Lei <realthunder.dev@gmail.com >
Co-authored-by: CalligaroV <vincenzo.calligaro@gmail.com >
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2024-08-18 11:49:05 -05:00
Max Wilfinger
e490531510
Activate Part/Part Design check and refine preferences by default ( #14406 )
...
* Activate Part/Part Design check and refine preferences by default
* added bool in .ui
* Update tests
* Fix Sketcher tests
2024-07-01 10:50:42 -05:00
Konstantinos Melissaratos
35e9756389
Update FeaturePartFuse.cpp
...
Fixed typo error
2024-05-23 11:31:37 +02:00
Konstantinos Melissaratos
ead8ad8339
Adding parallel running to the multi_fuse operation
2024-05-23 11:31:37 +02:00
bgbsww
1eac717f8f
Toponaming: replace MultiFuse implementation to fix face colors
2024-05-20 12:40:43 -05:00
Chris Hennes
a55f40deea
Merge pull request #12305 from bgbsww/bgbsww-toponamingFeaturePartFuse
...
Toponaming/Part FeaturePartFuse
2024-02-19 11:16:53 -06:00
bgbsww
0065c9cce7
Toponaming/Part: Remove makeElementShape and cleanup opcode code
2024-02-18 21:57:12 -06:00
bgbsww
4959f7d140
Toponaming/Part: Clean up code
2024-02-18 17:35:15 -05:00
Zheng, Lei
56355b0215
Toponaming/Part: transfer in FeaturePartFuse
2024-02-18 17:28:25 -05:00
wmayer
a0d86224f3
Part: modernize C++: use equals default
2023-08-22 15:14:03 +02:00
wmayer
312975edba
Part: modernize C++: use range-based for loop
2023-08-16 21:56:32 -05:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
6f28ba4eb8
[Part] FeaturePart*: remove unneeded includes
...
- also sort includes
2022-07-09 16:57:06 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Zheng, Lei
6da72b9859
Part: changes to Part Module
...
* Added Part::Feature::getTopoShape/getShape() function that can obtain
shape from any object with proper implementation of getSubObject(). It
can even construct compound from group object with proper implementation
of getSubObjects().
* Modified ViewProviderExt to work on any object, because it now obtain
the shape using Part::Feature::getShape()
* Modified various Part features to obtain base/tool shapes using
Part::getShape(), which allows them to be any type of object,
including Link and groups.
* Modified various Part command to relax type requirement on selected
objects.
* Add support of link and group to dimension, and add dimension refresh
command
* Support link and group in simple command command, and add a few more
copy command variations.
* Add special handling of 'Shape' attribute in PropertyContainerPy and
use Part::Feature::getShape() to return shape for any object without
Shape property. This allows many python feature work with any object
without modification.
* GeometrySurface/CurvePy, add convenience attribute 'Rotation'
* TopoShapePy:
* Extended support of sub shape attribute, e.g. Compound1, Solid2,
SubShape3 ('SubShape' is used to access child shape of a compound)
* makeWires(), new API to sort and return wires given a list of edges.
* transformed/translated/rotated/scaled(), return a new shape with
some transformation.
* findPlane(), find the plane of a planar shape
* isCoplanar(), check if two shape are coplanar
2019-08-17 15:08:35 +02:00
wmayer
e02695b91f
Replace Base::Exception with appropriate subclass
2018-11-14 19:45:20 +01:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
DeepSOIC
478611371b
Part: add Refine property to BOPs
...
followup to PartDesign
2018-01-20 13:58:39 +01:00
wmayer
5f86bfcd65
in mult-fusion feature check if input shapes are valid
2017-10-11 13:45:38 +02: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
wmayer
1c1f0dfe49
fix various compiler warnings
2016-08-09 13:16:26 +02:00
DeepSOIC
433bd375f3
Part: make Fusion and Common able to fuse arrays
...
If Fusion or Common features get only one argument, and the shape is a
compound, the children of the compound are treated as list of arguments.
2016-08-07 12:15:08 +02:00
Sebastian Hoogen
acfafc0b2b
Use multiple tool shapes for MultiFuse Feature
...
issue #1971
2015-02-21 12:35:20 +01:00
wmayer
e8cb83a48b
+ fixes #0001429 : don't apply booleans on null shapes
2014-02-22 13:06:30 +01:00
Sebastian Hoogen
107b784d13
0000684: Check Shape after boolean before refine
2012-06-16 16:20:06 +02:00
wmayer
f8f498a4f9
0000727: Keep faces colors on boolean operations
2012-06-04 11:43:20 +02:00
wmayer
20fcef29c7
Keep faces colors on boolean operations
2012-06-01 13:07:30 +02:00
wmayer
9e872e4987
Keep faces colors on boolean operations
2012-06-01 13:07:29 +02:00
wmayer
8c3f97c98e
Keep faces colors on boolean operations
2012-06-01 13:07:28 +02:00
wmayer
db3e0cad43
0000570: App::Document::_RecomputeFeature(): Unknown exception in Feature "Fusion" thrown
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5400 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-12 09:59:28 +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