Commit Graph

29 Commits

Author SHA1 Message Date
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
wmayer
cc8452a545 Part: use of ShapeMapHasher for code simplification 2024-02-12 12:02:17 -06:00
bgbsww
8abd09398a Add support for OCCT 7.8.0 (#11909) 2024-01-09 19:47:25 -06:00
wmayer
88702425aa Part: [skip ci] fix build failure 2022-10-06 16:50:46 +02:00
Uwe
7a7cb8184e [Part] Step import: remove unused includes
- also sort includes
2022-10-06 02:58:23 +02:00
wmayer
5dcaa8e5bf Part: use ImportExportSettings in client code 2022-10-04 12:32:47 +02:00
Uwe
30dd4af0c3 [Part] ImportStep: rename enum to fix compilation
- because the name "IN" is already defined for the Visual Studio compiler, see d4e734282c (r85690207)
2022-10-03 15:05:50 +02:00
wmayer
bc1baa6808 Part: set default STEP import settings
according to https://forum.freecadweb.org/viewtopic.php?p=629883#p629883
2022-10-03 14:43:40 +02:00
wmayer
d4e734282c Part: add getter/setter to ImportExportSettings and simplify DlgImportExportStep 2022-10-03 14:27:42 +02:00
wmayer
e0bd6d7e2a Part: move initialization of STEP/IGES reader/writer to ImportExportSettings::initialize() 2022-07-26 22:34:20 +02:00
wmayer
70c18c8017 Part: [skip ci] change some default parameters for STEP export 2022-07-26 19:34:55 +02:00
wmayer
710e16b340 Part: implement class ImportExportSettings for consistent parameter access 2022-07-23 21:15:22 +02:00
wmayer
70a5faf327 Part: fix build failure 2022-07-04 02:21:59 +02:00
Uwe
2aac6ea1d9 [Part] Import*.cpp: remove unneeded includes
- also sort includes
2022-07-04 00:34:58 +02:00
andrea
93525ff7eb removed references to OCC<7 2022-06-25 14:29:24 +02:00
wmayer
f91eb34355 Part: link TKStepAttr, TKStepBase and TKStep209 2020-10-08 17:24:13 +02:00
wmayer
fd9cdb9de9 Part/Import: [skip ci] disable use of Message_ProgressIndicator for OCC >= 7.5 due to major API changes 2020-10-08 14:48:35 +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
Abdullah Tahiri
a56658489b Part: Make 3rd party libraries into PCH 2019-05-02 07:09:22 +02:00
luz.paz
e7489c079c More misc. typos 2019-03-31 11:42:37 +02:00
wmayer
e02695b91f Replace Base::Exception with appropriate subclass 2018-11-14 19:45:20 +01: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
3114df352d in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
f403295ca7 0000832: Original color STEP model lost in import 2012-09-29 15:50:17 +02:00
wmayer
483131e628 Fix typos, fix wronng paths to resources 2012-03-01 20:29:33 +01: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