Commit Graph

32 Commits

Author SHA1 Message Date
David Carter
ba20441935 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
f434797789 [Part Workbench]Prevent error when using link in boolean cut (#11398) 2023-11-20 14:22:25 -03:00
DeflateAwning
1e3179e9bc 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
8a44cfc970 [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
ef9936a940 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
68101ac933 removed old OCC <7 references
removed OCC <7 references
2023-08-04 21:22:40 -06:00
wmayer
abfb92cb55 Part: fixes #9549: Part Fuse not working inside Part container 2023-05-15 23:40:51 +02:00
luzpaz
38a01939e0 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
52b839a87a Part: Fix context of Part->Split commands 2023-04-20 22:44:09 -05:00
luz paz
2f1ff7928b Part: remove trailing whitespace 2022-11-15 14:19:30 -06:00
andrea
c66aadeb60 removed references to OCC<7 2022-06-25 14:29:24 +02:00
Chris Hennes
b675920e05 Part: Change _translate to translate 2022-05-31 10:05:44 -05:00
vocx-fc
ee22b487c3 Part: clean up spacing of lines in BOP JoinFeatures 2020-10-13 12:49:54 +02:00
vocx-fc
aa378e6a90 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
32a5a2dee8 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
17ada69518 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
6160d29b09 fixes 0003756: Tooltips should not start with the internal name of the tool 2019-01-01 16:54:12 +01:00
DeepSOIC
5d2fb23b68 Part: add Slice Apart command 2018-12-27 14:30:06 +01:00
Yorik van Havre
3980b63265 Part: Fixed translation issues 2018-12-27 10:51:49 -02:00
luzpaz
5973d8d67e Part: typos 2017-12-25 11:03:11 +01:00
Bernd Hahnebach
4cf205995c 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
cbf96d83a9 Part.BOPTools: fix wire making
Use Part.sortEdges instead of Part.getSortedClusters. Thanks
@realthunder!
2017-03-14 02:07:07 +03:00
DeepSOIC
a603402dc0 Part.BOPTools: drag-drop support
Drag-drop support for Connect, BooleanFragments and XOR.
2017-03-14 01:51:50 +03:00
looooo
1caeadb4ab 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
44e497f093 python3: neutral fixes 2017-01-14 19:22:15 +01:00
Lorenz Hüdepohl
be23f8654b 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
34a511174f BOPTools: Fix to work without the GUI 2016-12-28 17:00:59 -02:00
wmayer
7b631625c7 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
Bernd Hahnebach
209d96125c Part: boolean splitt tools, remove trailing whitspaces 2016-12-21 11:27:42 -02:00
Bernd Hahnebach
780d08c007 Part: boolean splitt tools, add type property to the objects 2016-12-21 11:27:42 -02:00
Yorik van Havre
a67bdf3f9c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
DeepSOIC
ca4299230a 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