Commit Graph

39 Commits

Author SHA1 Message Date
Roy-043
af667d6fd8 Part: copy_visual_attributes did not handle Draft Link arrays
Fixes #16541.
Fixes #18760.
2025-01-06 18:16:46 +01:00
wmayer
3c367b85cd Part: Fix getIcon() of several view providers to return full path name of the icon file 2024-12-20 12:19:47 -05:00
luzpaz
ed40de3e23 Fix various typos
Found via codespell.
2024-11-15 20:18:46 +01:00
mwganson
7eb1d6bd79 [Part Booleans] fix issue with copying visuals when doing Part workbench booleans using App::Part objects, see https://forum.freecad.org/viewtopic.php?t=91813&sid=eea2494d6d02882c3be7df74d7e2b689 2024-11-04 18:02:36 +01:00
Eric Price
3897ec8b39 Updated Tolerance feature to optionally restrict maximum tolerance and repair shapes (#17421)
* Updated Tolerance feature to optionally restrict maximum tolerance and repair shapes (With Refine=True)

* implement suggestion by wwmayer
2024-10-28 17:18:15 +01:00
Eric Price
42dde995db Added new Feature to force-set Tolerance on a part 2024-10-12 19:47:15 +02:00
Álvaro González Vila
a6980be400 add BOPFeatures to BOPTools __init__.py 2024-09-02 18:11:28 +02:00
David Carter
495a96a0f5 Material: Material appearance
Uses new material system for appearance

Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.

The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.

A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
Mark Ganson TheMarkster
a86ae2790b [Part Workbench]Prevent error when using link in boolean cut (#11398) 2023-11-20 14:22:25 -03:00
DeflateAwning
8de6db3e97 Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Ajinkya Dahale
4435a3974f [Part] Optimize snippet of code in ShapeMerge.py
Some notes:

Earlier, when adding to the list `connected_to`. the numbers are added in order
from `range(len(groups)`, so we are already in order and every `i_group` is unique.
2023-09-25 11:27:55 -05:00
wmayer
83d4080fe8 App: fixes #10460: App::PropertyPythonObject is not saving data
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
andrea
170c2b9957 removed old OCC <7 references
removed OCC <7 references
2023-08-04 21:22:40 -06:00
wmayer
0460563da0 Part: fixes #9549: Part Fuse not working inside Part container 2023-05-15 23:40:51 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Chris Hennes
894a3cf505 Part: Fix context of Part->Split commands 2023-04-20 22:44:09 -05:00
luz paz
6e542b6fad Part: remove trailing whitespace 2022-11-15 14:19:30 -06:00
andrea
93525ff7eb removed references to OCC<7 2022-06-25 14:29:24 +02:00
Chris Hennes
33556d8a56 Part: Change _translate to translate 2022-05-31 10:05:44 -05:00
vocx-fc
5d1d8d800b Part: clean up spacing of lines in BOP JoinFeatures 2020-10-13 12:49:54 +02:00
vocx-fc
d603136821 Part: update object and commands for BOP SplitFeatures
This includes `BooleanFragments`, `Slice to compound`,
`Slice apart`, and `Boolean XOR`.

Clean up the tooltips of properties and commands.

Clean up the spacing of the code so that lines aren't very long.
2020-10-13 12:49:54 +02:00
vocx-fc
3b671bf4a5 Part: move icons to booleans subdirectory
The path to the icons is added to `AppPartGui.cpp`
using `Gui::BitmapFactory().addPath()`, so the icons are found
automatically in their new directories.
2020-10-12 19:54:11 +02:00
luz.paz
53bb216b57 Part: [skip ci] fix header uniformity
This PR fixes header uniformity across all Part WB files
2019-12-22 00:59:47 +01:00
wmayer
70aaf3e95f fixes 0003756: Tooltips should not start with the internal name of the tool 2019-01-01 16:54:12 +01:00
DeepSOIC
407dc25dba Part: add Slice Apart command 2018-12-27 14:30:06 +01:00
Yorik van Havre
3e6e9ed690 Part: Fixed translation issues 2018-12-27 10:51:49 -02:00
luzpaz
e883cbfdf3 Part: typos 2017-12-25 11:03:11 +01:00
Bernd Hahnebach
a8fc6b39b4 Part: BOPTools and CompoundFilter, remove not needed overwrting of setEdit and unsetEdit which prevents some C++ sedEdit modes to work 2017-03-20 10:59:02 -03:00
DeepSOIC
e89e97c284 Part.BOPTools: fix wire making
Use Part.sortEdges instead of Part.getSortedClusters. Thanks
@realthunder!
2017-03-14 02:07:07 +03:00
DeepSOIC
932c31b60a Part.BOPTools: drag-drop support
Drag-drop support for Connect, BooleanFragments and XOR.
2017-03-14 01:51:50 +03:00
looooo
69828c2662 py3: Part: BOPTools:
to make the BOPTools available in python3 the way to import these tools had to be changed:
old: ```from Part import BOPTools``` -> new: ```import BOPTools```
this is also changed for python2
2017-03-01 17:12:49 +01:00
looooo
42331bde1b python3: neutral fixes 2017-01-14 19:22:15 +01:00
Lorenz Hüdepohl
b6cf0e2500 Fix non-GUI usage in BOPTools
Only define the translation related functions if the GUI is up
2017-01-06 18:25:56 +01:00
Yorik van Havre
39491713f2 BOPTools: Fix to work without the GUI 2016-12-28 17:00:59 -02:00
wmayer
f065f8eb53 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
Bernd Hahnebach
7c8b9a4b2c Part: boolean splitt tools, remove trailing whitspaces 2016-12-21 11:27:42 -02:00
Bernd Hahnebach
6378ad3aa7 Part: boolean splitt tools, add type property to the objects 2016-12-21 11:27:42 -02:00
Yorik van Havre
21dcfd442c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
DeepSOIC
87b7c86197 Part: add BOPTools package
Containing implementation of new JoinConnect, as well as new splitting
tools: BooleanFragments, Slice and XOR.
2016-07-29 14:16:54 +03:00