Commit Graph

53 Commits

Author SHA1 Message Date
David Carter
a0fdc86948 Material: Appearance and Material inspectors
Dialogs to view the Appearance and Material properties of an object

These inspectors are intended to be used when debugging Appearance and
Material issues in a model.

The Appearance inspector displays the appearance properties of an
object. This will be more useful once PR 13792 is merged which migrates
parts to use ShapeAppearance instead of DiffuseColor. This shows each
of the appearance properties per face for the object.

The Material inspector shows the material, models, and properties
assigned to a model. It displays useful debugging information such as
the UUID and file paths associated with eacch of the items. This is
useful when finding and resolving model conflicts.

The material inspector now gives the option of copying the information
to the clipboard.
2024-05-27 10:50:35 -05:00
hlorus
74d055e11a [Part/PD] Remove measure tools 2024-04-29 09:27:22 -04:00
wmayer
309602d8e8 Part: move scale command
See https://github.com/FreeCAD/FreeCAD/pull/10583#issuecomment-1716187490
2023-09-12 21:19:33 +02:00
wandererfan
90aef60f32 [Part]add scale command & feature 2023-09-07 18:21:56 +02:00
wmayer
b9e9fe435a Part: modernize C++: use equals default 2023-08-22 15:14:03 +02:00
Kuzemko Alexsandr
3b20a28328 Crowdin Add missing menu text for translation 2022-06-01 11:12:51 -04:00
Kuzemko Alexsandr
7cab0d1a16 Part: Change contex from AttachmentEditor to Part_EditAttachment
Add menu text "Create a copy" to translation
This may fix https://github.com/FreeCAD/FreeCAD-translations/issues/64
2022-05-31 11:25:44 +02:00
Uwe
f129bd7da7 [Part] FaceMaker, Command and Extrusion: remove unused includes 2022-02-21 03:33:01 +01:00
wmayer
a769aee8b3 Part: define Part_SectionCut as permanent menu item 2022-02-14 16:48:09 +01:00
Uwe
ce2a8d00ec [PD, Part] bring section cutting feature back to the View menu
As discussed here:
https://github.com/FreeCAD/FreeCAD/pull/6213#issuecomment-1033696604
the feature makes not much sense when only available from within the Part menu.

For now, bring it at least back to the View menu for Part and PD
2022-02-14 01:34:55 +01:00
marioalexis
50478a19d1 Part: Move Part_SectionCut command to Part menu item list 2022-02-08 12:09:09 +01:00
donovaly
d65cc5c63f [Part] uniform feature sorting
at the moment the sorting is confusing, the sorting in the menu differs from the toolbars and some features even belong in the menu to another category than in the toolbars and one feature has not yet a toolbar entry

This PR implements a uniform sorting for the menu and toolbar and adds the missing toolbar icon
2021-03-25 18:04:35 +01:00
wmayer
165feeba53 Part: make changing face colors independent of edit-mode implementation of a view provider 2020-10-13 14:16:01 +02:00
vocx-fc
e369d79feb Part: activate Part_ColorPerFace in the menu and toolbar
According to the source this command was deactivated until issue #0477
and hence #1954 could be solved. However, since those issues
haven't been addressed the command has remained hidden for a long time.
This command does not work with objects that reimplement
their edit modes, meaning that it may work with Part and PartDesign
created objects but not with Draft and Arch objects.

The command is added to the standard `View` menu,
and to one `Part tools` toolbar so that it is no longer hidden.
The limitations of the command can be described in the documentation,
and then somebody else can help solve the problem
with the edit modes.

A new icon for the command is also provided.
2020-10-13 12:59:16 +02:00
vocx-fc
c0f6ecfc86 Part: move icons to measure 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
vocx-fc
eb9ba049fe Part: change command name Part_MakeTube to Part_Tube
This follows the style of the other Part commands which don't
have the word `Make` just the name of the noun, `Box`, `Cylinder`,
`Sphere`, etc.
2020-09-27 13:01:16 +02:00
wmayer
904ff6f7e1 Part: [skip ci] set proper icons for Tube feature 2020-09-03 19:18:30 +02:00
vocx-fc
669c304789 Part: rename to uppercase, Part_ProjectionOnSurface
For consistency with all other commands that start with capital letter.
2020-08-17 16:32:28 +02:00
mwganson
6be089b006 [Part workbench] add Create points object from mesh command 2019-08-27 23:40:06 +02:00
Zheng, Lei
f028ba42ff 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
MA-DEVELOP\apeltauer
f4971d723f first working ui 2019-03-22 17:18:09 +01:00
wmayer
69a85806bc fixes 0002793: tube as basic solid 2019-01-17 15:37:55 +01:00
wmayer
db393123b0 add slice apart command to sub-menu 2019-01-01 22:21:07 +01:00
DeepSOIC
9792b3c96e PartGui: add ExplodeCompound to menu and toolbars 2018-12-27 14:30:05 +01:00
Yorik van Havre
3980b63265 Part: Fixed translation issues 2018-12-27 10:51:49 -02:00
wmayer
6c7bdbb558 [WIP] add box selection to select individual faces 2018-08-04 19:37:49 +02:00
tomate44
30cac3716a add OCC defeaturing to PartWB Gui 2018-07-29 11:50:07 +02:00
wmayer
5f4a806608 fixes #0001955: Part Section not available in the Part menu 2017-10-02 01:08:28 +02:00
Bernd Hahnebach
0c445bd115 Part: code formating, white spaces 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
9c965137b1 Part: compound filter, GUI command 2017-02-18 15:57:54 +01:00
DeepSOIC
84baea5d74 PartGui: add 2D Offset feature creation command
(made offset toolbar button into a dropdown button)

Icon for 2D offset was copied from Draft workbench.
2016-09-02 16:26:02 +02:00
DeepSOIC
01c48219eb Part: add/update GUI commands
* Updated translation contexts for  Gui commands for JoinFeatures.
* Added Gui commands for Split tools: BooleanFragments, Slice, XOR.
Icons.
2016-07-29 14:20:52 +03:00
DeepSOIC
1cf0e3de02 Attacher: add command to Part workbench menu
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
wmayer
c082cc47a1 + Add parametric feature to create face from sketches 2015-11-12 19:44:24 +01:00
DeepSOIC
9e73137623 Part: new tools - JoinFeatures (Connect, Embed and Cutout)
Attributions:
Mark (quick61) - icons
Yorik - help with internationalization
Everyone who appeared in forum thread "A new Part tool is being born...
JoinFeatures!" - for endorsement!
http://forum.freecadweb.org/viewtopic.php?f=22&t=11112
2015-06-04 09:47:59 +02:00
jriegel
bbc39a885b additional places for measurement commands 2013-12-19 22:02:40 +01:00
blobfish
23a7f6e725 Part Dimension: alterations to existing files
Not sure what is happening with View3dInventorViewer.h.
    The only REAL change, beyond the addition of dim functions, is
    the removal of the member arrowrotation. It wasn't referenced anywhere.
2013-12-17 10:05:46 -05:00
wmayer
e38ef15faa Add a parametric compound command 2013-07-13 15:05:13 +02:00
wmayer
430f35cb92 0000903: V0.13 - Change Individual face color on solid is missing (finish this in 0.14) 2012-12-07 12:13:36 +01:00
wmayer
9c61558ffc Add thickness function 2012-11-26 21:10:09 +01:00
wmayer
b38b4b7159 Offset function 2012-11-25 15:56:46 +01:00
wmayer
b8ca20504a Offset function 2012-11-24 22:46:16 +01:00
tanderson
5422cec7d3 adding check geometry command 2012-09-09 11:12:04 +02:00
wmayer
8cfecfca42 Add sweep and loft to toolbar 2012-06-12 10:52:49 +02:00
wmayer
647cdf4213 0000144: Add several tools to Part module 2012-06-09 13:50:33 +02:00
wmayer
0590bf5608 0000653: Menu shortcuts for the Sketcher item overlap with the Tools menu item 2012-04-11 12:24:51 +02:00
unknown
0171a22a98 0000286: Feature request for better Fillet/Chamfer 2012-02-29 01:56:07 +01:00
wmayer
3b5c2c951f + add GUI command for shape refinement
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5307 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 13:16:44 +00:00
wmayer
978392f78a + remove Part_ShapeInfo command
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5157 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-23 09:05:06 +00:00
wmayer
8657b5f0dc + 0000450: new Icons for Part Work Bench, Ruled Surface, Shape Info, and Create Primitives
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5047 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-21 15:11:56 +00:00